/* CAPEX Actualités 1.1.1. All changes are scoped to the enhanced category page. */
body.ce-news {
  --ce-news-purple: #46216b;
  --ce-news-purple-hover: #32164f;
  --ce-news-ink: #302838;
  --ce-news-muted: #62586c;
  --ce-news-soft: #f3eef8;
  --ce-news-border: #dfd6e7;
}
body.ce-news #sp-main-body { background: #faf9fc; padding-block: 2.25rem 3rem; color: var(--ce-news-ink); }
body.ce-news #sp-main-body [hidden] { display: none !important; }
body.ce-news #sp-main-body .ce-news-sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; clip-path: inset(50%) !important;
  border: 0 !important; white-space: nowrap !important;
}
body.ce-news #sp-main-body .ce-news-layout {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem;
  margin: 0; align-items: start;
}
body.ce-news #sp-main-body .ce-news-layout.ce-news-has-right { grid-template-columns: minmax(0, 1fr) 17rem; }
body.ce-news #sp-main-body .ce-news-layout.ce-news-has-left { grid-template-columns: 13rem minmax(0, 1fr); }
body.ce-news #sp-main-body .ce-news-layout.ce-news-has-left.ce-news-has-right { grid-template-columns: 12rem minmax(0, 1fr) 16rem; }
body.ce-news #sp-main-body .ce-news-layout > :is(#sp-left, #sp-component, #sp-right, .ce-news-topics) {
  padding: 0; margin: 0; min-width: 0; width: auto; max-width: none; flex: none;
}
body.ce-news #sp-main-body .ce-news-layout > .ce-news-topics { grid-column: 1 / -1; }
body.ce-news #sp-main-body :is(#sp-left, #sp-right) .sp-lr { margin: 0; padding: 0; border: 0; }
body.ce-news #sp-main-body .ce-news-topics {
  background: #fff; padding: 1.25rem 1.5rem !important;
  border: 1px solid var(--ce-news-border); border-radius: 1.1rem;
}
body.ce-news #sp-main-body .ce-news-topics .sp-module { margin: 0; padding: 0; }
body.ce-news #sp-main-body .ce-news-topics-title { font-family: inherit; font-size: 1rem; font-weight: 700; line-height: 1.4; color: var(--ce-news-purple); margin: 0 0 .85rem; }
body.ce-news #sp-main-body .ce-news-topics-title::after { content: none; }
body.ce-news #sp-main-body .ce-news-topics ul {
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0;
}
body.ce-news #sp-main-body .ce-news-topics li { display: block; padding: 0; margin: 0; border: 0; }
body.ce-news #sp-main-body .ce-news-topics li::before,
body.ce-news #sp-main-body .ce-news-topics li::after { content: none !important; }
body.ce-news #sp-main-body .ce-news-topics li a {
  display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box;
  padding: .5rem .85rem; border: 1px solid #8c759f; border-radius: 999px;
  background: #fff; color: var(--ce-news-purple); font-size: .875rem; line-height: 1.4;
  font-weight: 600; white-space: normal; text-decoration: none; overflow-wrap: anywhere;
}
body.ce-news #sp-main-body .ce-news-topics li a:hover { background: var(--ce-news-soft); text-decoration: underline; }
body.ce-news #sp-main-body .ce-news-topics li a[aria-current="page"] {
  background: var(--ce-news-purple); color: #fff; border-color: var(--ce-news-purple);
  text-decoration: underline; text-underline-offset: .2em;
}
body.ce-news #sp-main-body .ce-news-topics-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  gap: .5rem; min-height: 48px; padding: .65rem .9rem; border: 1px solid #8c759f;
  border-radius: .7rem; background: #fff; color: var(--ce-news-purple);
  text-align: left; font: inherit; font-weight: 600; line-height: 1.5; white-space: normal;
}
body.ce-news #sp-main-body .ce-news-topics-toggle::after {
  content: ''; flex: 0 0 .5rem; width: .5rem; height: .5rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin: 0 .15rem .3rem;
}
body.ce-news #sp-main-body .ce-news-topics-toggle[aria-expanded="true"]::after { transform: rotate(225deg); margin-bottom: -.2rem; }
body.ce-news #sp-main-body .ce-news-topics-toggle[aria-expanded="true"] + ul { margin-top: .85rem; }

/* One readable article per row. Images are contained to preserve poster text. */
body.ce-news #sp-component .ce-news-blog :is(.items-leading, .items-row) { margin: 0; padding: 0; display: block; }
body.ce-news #sp-component .ce-news-blog .items-row > div { width: 100%; max-width: none; padding: 0; }
body.ce-news #sp-component .ce-news-card {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem;
  margin: 0 0 1.5rem; padding: 1.25rem; border: 1px solid var(--ce-news-border);
  border-radius: 1.1rem; background: #fff; box-shadow: 0 4px 16px rgb(48 24 70 / 3%);
  min-width: 0; overflow-wrap: anywhere;
}
body.ce-news #sp-component .ce-news-card.ce-news-card--image { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
body.ce-news #sp-component .ce-news-card .ce-news-media { min-width: 0; align-self: start; }
body.ce-news #sp-component .ce-news-card .intro-image {
  float: none; width: 100%; margin: 0 !important; padding: 0; min-width: 0;
  align-self: start; background: var(--ce-news-soft); border-radius: .7rem;
}
body.ce-news #sp-component .ce-news-card .intro-image a { display: block; border-radius: inherit; }
body.ce-news #sp-component .ce-news-card .intro-image img {
  width: 100%; height: auto; max-height: none; aspect-ratio: 4 / 3; object-fit: contain;
  display: block; margin: 0; float: none; border-radius: inherit;
}
body.ce-news #sp-component .ce-news-card .post_intro { padding: 0; margin: 0; width: auto; float: none; min-width: 0; }
body.ce-news #sp-component .ce-news-card .entry-header { margin: 0 0 1rem; padding: 0; }
body.ce-news #sp-component .ce-news-card .entry-header h2 {
  margin: 0 0 .75rem; padding: 0; font-family: inherit; font-size: 1.3rem;
  font-weight: 700; line-height: 1.35; letter-spacing: -.015em; border: 0; box-shadow: none; display: block;
}
body.ce-news #sp-component .ce-news-card .entry-header h2::after { content: none; }
body.ce-news #sp-component .ce-news-card .entry-header h2 a { color: var(--ce-news-ink); text-decoration: none; }
body.ce-news #sp-component .ce-news-card .entry-header h2 a:hover { color: var(--ce-news-purple); text-decoration: underline; text-underline-offset: .14em; }
body.ce-news #sp-component .ce-news-card .article-info { display: flex; flex-wrap: wrap; gap: .45rem .75rem; margin: 0; font-size: .8rem; line-height: 1.6; color: var(--ce-news-muted); }
body.ce-news #sp-component .ce-news-card .ce-news-image-info { margin: .7rem 0 0; gap: .3rem .75rem; }
body.ce-news #sp-component .ce-news-card .article-info dd { margin: 0; float: none; color: var(--ce-news-muted); }
body.ce-news #sp-component .ce-news-card .article-info .article-info-term:empty { display: none; }
body.ce-news #sp-component .ce-news-card .article-info i { color: inherit; }
body.ce-news #sp-component .ce-news-card .category-name a { color: var(--ce-news-purple); font-weight: 600; text-decoration: underline; text-underline-offset: .15em; }
body.ce-news #sp-component .ce-news-card .post_intro { font-size: .9375rem; line-height: 1.7; color: var(--ce-news-muted); }
body.ce-news #sp-component .ce-news-card .post_intro p { margin-bottom: 1rem; }
body.ce-news #sp-component .ce-news-card .capex-assemblees { padding: 0 !important; font-family: inherit !important; font-size: inherit !important; }
body.ce-news #sp-component .ce-news-card .capex-assemblees > p { padding: 0 !important; border: 0 !important; margin: 0 0 1rem !important; color: var(--ce-news-muted) !important; }
body.ce-news #sp-component .ce-news-card .ce-news-actions { display: flex; align-items: start; flex-wrap: wrap; gap: .65rem; margin-top: 1.15rem; clear: both; }
body.ce-news #sp-component .ce-news-card .readmore { margin: 0; padding: 0; }
body.ce-news #sp-component .ce-news-card .clearfix.w-100.d-flex:empty { display: none !important; }

/* Keep geometry identical at rest, hover, focus and press. */
body.ce-news #sp-component .ce-news-card .btn.btn-readmore,
body.ce-news #sp-component .ce-news-card .btn.btn-readmore:is(:hover, :focus, :focus-visible, :active) {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  box-sizing: border-box; min-height: 44px; padding: .6rem .95rem !important; margin: 0;
  border: 1px solid var(--ce-news-purple); border-radius: .65rem !important;
  background: var(--ce-news-purple); color: #fff !important;
  font-family: inherit; font-size: .9rem; font-weight: 600; line-height: 1.5;
  letter-spacing: normal; text-transform: none; white-space: normal;
  text-decoration: none; transform: none; box-shadow: none; transition: none;
}
body.ce-news #sp-component .ce-news-card .btn.btn-readmore::before,
body.ce-news #sp-component .ce-news-card .btn.btn-readmore::after { content: none; }
body.ce-news #sp-component .ce-news-card .btn.btn-readmore:is(:hover, :active) { background: var(--ce-news-purple-hover); border-color: var(--ce-news-purple-hover); text-decoration: underline; }
/* Direct sharing: three 44 px controls, immediately after Lire plus. */
body.ce-news #sp-component .ce-news-card .ce-news-actions { gap: .5rem; align-items: center; }
body.ce-news #sp-component .ce-news-card .helix-social-share,
body.ce-news #sp-component .ce-news-card .helix-social-share-blog {
  display: flex; float: none; margin: 0; padding: 0; width: auto; min-width: 0; max-width: 100%;
}
body.ce-news #sp-component .ce-news-card .helix-social-share ul {
  display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0;
  list-style: none; background: transparent;
}
body.ce-news #sp-component .ce-news-card .helix-social-share li {
  float: none; display: block; padding: 0; margin: 0; border: 0;
}
body.ce-news #sp-component .ce-news-card .helix-social-share li::before,
body.ce-news #sp-component .ce-news-card .helix-social-share li::after { content: none; }
body.ce-news #sp-component .ce-news-card .helix-social-share a,
body.ce-news #sp-component .ce-news-card .helix-social-share a:is(:hover, :focus, :focus-visible, :active) {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; margin: 0;
  border: 1px solid #8c759f; border-radius: .65rem;
  background: #fff; color: var(--ce-news-purple) !important;
  font-family: inherit; font-size: 1.1rem; font-weight: 600; line-height: 1;
  text-decoration: none; transform: none; box-shadow: none; transition: none;
}
body.ce-news #sp-component .ce-news-card .helix-social-share a:is(:hover, :active) {
  background: var(--ce-news-purple); color: #fff !important; border-color: var(--ce-news-purple);
}
body.ce-news #sp-component .ce-news-card .helix-social-share a > i {
  color: inherit; width: auto; height: auto; margin: 0; font-size: 1.1rem; line-height: 1;
}
body.ce-news #sp-component .ce-news-x { font-family: Arial, sans-serif; font-weight: 700; line-height: 1; }
body.ce-news #sp-right button.ce-news-search-submit {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; box-sizing: border-box; padding: .6rem .95rem;
  border: 1px solid #8c759f; border-radius: .65rem;
  font-family: inherit; font-size: .9rem; font-weight: 600; line-height: 1.5;
  cursor: pointer; white-space: normal; text-align: center;
}
body.ce-news #sp-component .ce-news-card .tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1rem 0 0; padding: .85rem 0 0; border-top: 1px solid #eee7f4; font-size: .75rem; }
body.ce-news #sp-component .ce-news-card .tags > span { display: none; }
body.ce-news #sp-component .ce-news-card .tags a {
  display: inline-flex; align-items: center; min-height: 30px; padding: .2rem .55rem;
  margin: 0; border: 1px solid transparent; border-radius: 999px;
  background: var(--ce-news-soft); color: var(--ce-news-purple); font-size: .75rem; line-height: 1.5;
}
body.ce-news #sp-component .ce-news-card .tags a:hover { text-decoration: underline; border-color: #8c759f; }
body.ce-news #sp-component .items-more { background: #fff; border: 1px solid var(--ce-news-border); border-radius: 1rem; padding: 1.25rem; margin-bottom: 1.5rem; }
body.ce-news #sp-component .items-more a { color: var(--ce-news-purple); text-decoration: underline; line-height: 1.7; }
body.ce-news #sp-component .pagination { flex-wrap: wrap; gap: .4rem; padding: 0; }
body.ce-news #sp-component .pagination li { margin: 0; padding: 0; }
body.ce-news #sp-component .pagination :is(a, span.page-link) { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: .5rem; border-radius: .6rem; border: 1px solid #8c759f; color: var(--ce-news-purple) !important; background: #fff; line-height: 1.4; }
body.ce-news #sp-component .pagination .active > :is(a, span.page-link) { color: #fff !important; background: var(--ce-news-purple); border-color: var(--ce-news-purple); font-weight: 700; text-decoration: underline; }
body.ce-news #sp-component .ce-news-pagination {
  display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .4rem;
  margin: 0; padding: 0; width: 100%; max-width: 100%; border: 0; list-style: none;
}
body.ce-news #sp-component .ce-news-pagination li { float: none; border: 0; margin: 0; }
body.ce-news #sp-component .ce-news-pagination li.disabled:empty { display: none; }
body.ce-news #sp-component .ce-news-pagination :is(a, span.page-link) {
  float: none; height: auto; min-height: 44px; padding: .5rem .7rem; border-radius: .6rem;
  line-height: 1.5; font-size: .9rem; white-space: normal; overflow: visible;
  transition: none; transform: none;
}
body.ce-news #sp-component .ce-news-pagination a:hover { background: var(--ce-news-soft); text-decoration: underline; }
body.ce-news #sp-component .ce-news-pagination a::before,
body.ce-news #sp-component .ce-news-pagination a::after { content: none !important; }

/* Existing right-position modules remain functional and keep their native links. */
body.ce-news #sp-right .ce-news-sidebar-block { margin: 0 0 1.25rem; padding: 1.2rem; background: var(--ce-news-soft); border: 1px solid var(--ce-news-border); border-radius: 1.1rem; }
body.ce-news #sp-right .ce-news-sidebar-block .sp-module-title { color: var(--ce-news-purple); font-family: inherit; font-size: 1.05rem; font-weight: 700; line-height: 1.4; text-transform: none; margin: 0 0 1rem; padding: 0; border: 0; box-shadow: none; }
body.ce-news #sp-right .ce-news-sidebar-block .sp-module-title::after { content: none; }
body.ce-news #sp-right .ce-news-sidebar-feed { background: var(--ce-news-purple); border-color: var(--ce-news-purple); }
body.ce-news #sp-right .ce-news-sidebar-feed .sp-module-title { color: #fff; }
body.ce-news #sp-right .latest-articles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
body.ce-news #sp-right .ce-news-feed-item { min-width: 0; padding: 0; margin: 0; }
body.ce-news #sp-right .latest-articles a.ce-news-feed-card,
body.ce-news #sp-right .latest-articles a.ce-news-feed-card:is(:hover, :focus, :focus-visible) {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center;
  gap: .7rem; padding: .7rem 0; margin: 0;
  border: 0; border-bottom: 1px solid #795b94; border-radius: 0; background: transparent;
  color: #fff !important; font-size: .875rem; line-height: 1.5;
  text-decoration: none; box-shadow: none;
  transform: none; overflow: visible;
}
body.ce-news #sp-right .latest-articles a.ce-news-feed-card .article-list-img {
  display: block; float: none; position: relative; width: 56px; height: 56px;
  margin: 0; border-radius: .5rem; overflow: hidden;
  background: #e9e1f1;
}
body.ce-news #sp-right .latest-articles a.ce-news-feed-card .article-list-img img {
  display: block; width: 100%; height: 100%; max-width: 100%; max-height: none;
  object-fit: cover; object-position: center; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: transparent; transform: none;
}
body.ce-news #sp-right .latest-articles .overlay { display: none; }
body.ce-news #sp-right .latest-articles a.ce-news-feed-card .latest-articles-title {
  display: block; min-width: 0; width: 100%; padding: 0;
  color: #fff !important; font-weight: 600; overflow-wrap: anywhere;
}
body.ce-news #sp-right .latest-articles a.ce-news-feed-card:hover .latest-articles-title {
  color: #fff !important; text-decoration: underline; text-underline-offset: .2em;
}
body.ce-news #sp-right .latest-articles .ce-news-feed-item:first-child a.ce-news-feed-card { padding-top: 0; }
body.ce-news #sp-right .latest-articles .ce-news-feed-item:last-child a.ce-news-feed-card { padding-bottom: 0; border-bottom: 0; }
body.ce-news #sp-right .latest-articles a.ce-news-feed-card:not(:has(.article-list-img:not([hidden]))) { grid-template-columns: minmax(0, 1fr); }
body.ce-news #sp-right .tagscloud { display: flex; flex-wrap: wrap; gap: .4rem; }
body.ce-news #sp-right .tagscloud a.tag-name { display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; margin: 0; padding: .3rem .6rem; background: #fff; color: var(--ce-news-purple); border: 1px solid #8c759f; border-radius: 999px; font-size: .8rem; line-height: 1.5; }
body.ce-news #sp-right .tagscloud a.tag-name:hover { text-decoration: underline; }
body.ce-news #sp-right .tagscloud a.tag-name span { display: inline-block; padding: 0 .35rem; color: var(--ce-news-purple) !important; background: #eee7f5; border-radius: 999px; font-size: .75rem; }
body.ce-news #sp-right .ce-news-search-label { position: static !important; display: block !important; width: auto !important; height: auto !important; margin: 0 0 .65rem !important; clip: auto !important; clip-path: none !important; overflow: visible !important; font-size: .9rem; color: var(--ce-news-purple); font-weight: 700; }
body.ce-news #sp-right .finder .search { display: block; margin: 0 0 .6rem; }
body.ce-news #sp-right .finder .search::before,
body.ce-news #sp-right .finder .search::after { content: none !important; }
body.ce-news #sp-right .finder input[name="q"] { width: 100%; max-width: 100%; height: auto; min-height: 44px; padding: .6rem .7rem; border: 1px solid #8c759f; border-radius: .6rem; font-family: inherit; font-size: .9rem; line-height: 1.5; background: #fff; color: var(--ce-news-ink); }
body.ce-news #sp-right .finder input[name="q"]::placeholder { color: var(--ce-news-muted); opacity: 1; }
body.ce-news #sp-right button.ce-news-search-submit { width: 100%; background: var(--ce-news-purple); color: #fff; border-color: var(--ce-news-purple); }
body.ce-news #sp-right button.ce-news-search-submit:hover { background: var(--ce-news-purple-hover); }

body.ce-news #sp-main-body :is(a, button, summary, input, select):focus-visible {
  outline: 3px solid #46216b !important; outline-offset: 3px !important;
  box-shadow: 0 0 0 3px #fff !important;
}
body.ce-news #sp-right .ce-news-sidebar-feed a:focus-visible { outline-color: #fff !important; box-shadow: 0 0 0 2px var(--ce-news-purple) !important; }
@media (max-width: 74rem) {
  body.ce-news #sp-main-body .ce-news-layout.ce-news-has-left.ce-news-has-right { grid-template-columns: minmax(0, 1fr) 16rem; }
  body.ce-news #sp-main-body .ce-news-layout.ce-news-has-left > #sp-left { grid-column: 1 / -1; }
  body.ce-news #sp-component .ce-news-card.ce-news-card--image { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 61.99rem) {
  body.ce-news #sp-main-body .ce-news-layout:is(.ce-news-has-right, .ce-news-has-left, .ce-news-has-left.ce-news-has-right) { grid-template-columns: minmax(0, 1fr); }
  body.ce-news #sp-right .sp-lr { display: block; }
  body.ce-news #sp-right .ce-news-sidebar-feed .latest-articles { grid-template-columns: minmax(0, 1fr); }
  body.ce-news #sp-right .ce-news-sidebar-block { margin: 0 0 1.25rem; }
  body.ce-news #sp-component .ce-news-card.ce-news-card--image { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); }
}
@media (max-width: 40rem) {
  body.ce-news #sp-main-body { padding-block: 1.25rem 2rem; }
  body.ce-news #sp-main-body .ce-news-layout { gap: 1.25rem; }
  body.ce-news #sp-main-body .ce-news-topics { padding: 1rem !important; }
  body.ce-news #sp-main-body .ce-news-topics-title { display: none; }
  body.ce-news #sp-component .ce-news-card.ce-news-card--image { grid-template-columns: minmax(0, 1fr); }
  body.ce-news #sp-component .ce-news-card { padding: 1rem; gap: 1rem; }
  body.ce-news #sp-component .ce-news-card .entry-header h2 { font-size: 1.2rem; }
  body.ce-news #sp-right .sp-lr { display: block; }
  body.ce-news #sp-right .ce-news-sidebar-feed .latest-articles { grid-template-columns: minmax(0, 1fr); }
  body.ce-news #sp-right .ce-news-sidebar-block { margin-bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  body.ce-news #sp-main-body * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  body.ce-news #sp-main-body :is(a, button, summary, input) { forced-color-adjust: auto; }
  body.ce-news #sp-main-body :is(a, button, summary, input):focus-visible { outline: 3px solid Highlight !important; box-shadow: none !important; }
  body.ce-news #sp-component .ce-news-card .btn.btn-readmore { color: ButtonText !important; border-color: ButtonText; }
}
