/* =========================================================
   actualites.css — styles spécifiques
   Les composants communs actualités/agenda sont dans actualites-agenda-common.css
   ========================================================= */

.dynamic-featured-news, .dynamic-news-row {
  color: inherit;
  text-decoration: none;
}

.dynamic-featured-news {
  display: block;
  min-height: 300px;
  overflow: hidden;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
}

.dynamic-news-list {
  gap: 14px;
}

.dynamic-news-row {
  cursor: pointer;
}

.dynamic-news-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255,255,255,.68);
  background: linear-gradient(135deg, rgba(255,183,3,.2), rgba(33,158,188,.16));
}

.dynamic-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.empty-news-public {
  padding: 34px 22px;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.1);
}

.empty-news-public i {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 24px;
  color: #fff;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #ffb703, #fb8500);
}

.empty-news-public h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 950;
}

.empty-news-public p, .muted-news {
  margin: 0;
  color: rgba(255,255,255,.62);
}

.empty-filter-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 28px 22px;
  border-radius: 22px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(143, 92, 255, .22), transparent 46%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 14px 32px rgba(0,0,0,.18);
}

.empty-filter-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 20px;
  color: #fff;
  font-size: 1.55rem;
  background: linear-gradient(145deg, #8f4cff, #5630d7);
  box-shadow: 0 14px 28px rgba(86,48,215,.28);
}

.empty-filter-state h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -.03em;
}

.empty-filter-state p {
  max-width: 270px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .92rem;
  line-height: 1.45;
  font-weight: 650;
}

.empty-filter-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 18px;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.13);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 900;
}

.empty-filter-action:hover, .empty-filter-action:focus {
  color: #fff;
  background: rgba(255,255,255,.15);
  text-decoration: none;
}

/* Badges/couleurs : centralisés dans actualites-agenda-common.css. */

.actualites-page-content .mini-pill-featured {
  color: #111827 !important;
  background: linear-gradient(135deg, #FDE68A, #F59E0B) !important;
  border-color: rgba(255,255,255,.16) !important;
  box-shadow: 0 6px 14px rgba(245,158,11,.22) !important;
  opacity: .85 !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  padding: 5px 8px !important;
}

body:has(.actualites-mobile-header) {
  background: radial-gradient(circle at 50% -10%, rgba(83,53,208,.18), transparent 34%),
    #070d1a;
}

.actualites-mobile-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 12px 6px;
  background: #070d1a;
}

.actualites-topbar {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 10px;
  min-height: 38px;
}

.actualites-topbar h1 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: -.02em;
}

.actualites-icon-btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  color: rgba(255,255,255,.86);
  background: transparent;
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
}

.actualites-icon-btn i {
  line-height: 1;
}

.actualites-tabs {
  display: flex !important;
  gap: 9px !important;
  overflow-x: auto !important;
  padding: 8px 4px 16px !important;
  scrollbar-width: none !important;
  margin: 0 !important;
  -webkit-overflow-scrolling: touch !important;
}



.actualites-tab {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 11px 17px !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 14px !important;
  color: rgba(255,255,255,.78) !important;
  background: rgba(255,255,255,.065) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 10px 24px rgba(0,0,0,.18) !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  min-width: auto !important;
  line-height: 1 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}



.actualites-tab.active {
  color: #fff;
  background: linear-gradient(145deg, #8f4cff 0%, #5a35e8 58%, #3c20a7 100%);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(89,57,230,.33), inset 0 1px 0 rgba(255,255,255,.22);
}

.actualites-page-content {
  padding: 8px 8px 0;
  background: #070d1a;
}

.actualites-page-content .section-block {
  margin-top: 14px;
}



.featured-news.dynamic-featured-news.actualites-hero-card {
  position: relative;
  display: block !important;
  min-height: 255px;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 16px;
  border: 0 !important;
  outline: 0 !important;
  outline-offset: -1px;
  background-position: center center !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.36);
  isolation: isolate;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-clip: padding-box !important;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.actualites-hero-card .featured-overlay-content {
  border-radius: inherit !important;
  overflow: hidden !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  width: 100%;
  height: 280px !important;
  min-height: 280px !important;
  padding: 14px 18px 18px !important;
  max-height: 280px !important;
}

.actualites-hero-card .featured-badges {
  position: absolute !important;
  top: 20px !important;
  left: 12px !important;
  z-index: 5 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.actualites-hero-card .category-pill, .actualites-page-content .mini-pill {
  min-height: 22px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 8px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(0,0,0,.22);
}

.actualites-hero-card .featured-copy {
  width: 100% !important;
  margin: auto 0 !important;
  transform: none !important;
  max-width: 100% !important;
  max-height: 190px !important;
  overflow: hidden !important;
}

.actualites-hero-card h2, .actualites-hero-card .featured-copy h2 {
  margin: 0 0 12px !important;
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.2rem) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: -.025em;
  text-shadow: 0 2px 14px rgba(0,0,0,.46);
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  text-overflow: ellipsis;
  max-width: 100%;
}

.actualites-hero-card p, .actualites-hero-card .featured-copy p {
  max-width: 94% !important;
  margin: 0 0 12px !important;
  color: rgba(255,255,255,.82);
  font-size: 1.05rem !important;
  line-height: 1.55 !important;
  font-weight: 700;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

.actualites-hero-card .news-meta {
  margin-top: 6px !important;
  color: rgba(255,255,255,.58);
  font-size: 10px;
  font-weight: 850;
  flex: 0 0 auto;
  white-space: nowrap;
}

.actualites-hero-card .news-meta i {
  display: none;
}

.actualites-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px 0 0;
}

.actualites-slider-dots span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
}

.actualites-slider-dots span.active {
  width: 7px;
  height: 7px;
  background: #8f5cff;
  box-shadow: 0 0 10px rgba(143,92,255,.75);
}

.actualites-list-section {
  margin-top: 20px !important;
}

.actualites-list-section .section-title {
  margin-bottom: 10px;
}

.actualites-list-section .section-title h2 {
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -.03em;
}

.news-list.dynamic-news-list {
  gap: 16px !important;
}

.news-row.dynamic-news-row {
  gap: 10px !important;
  padding: 12px;
  border-radius: 22px !important;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.038)) !important;
  border: 1px solid rgba(255,255,255,.09) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.045) !important;
  display: flex;
  align-items: center;
  min-height: 126px !important;
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
}

.news-row.dynamic-news-row:hover, .news-row.dynamic-news-row:focus {
  transform: translateY(-1px);
  background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.048)) !important;
}

.news-thumb.dynamic-news-thumb {
  width: 94px !important;
  height: 94px !important;
  min-height: 110px !important;
  flex: 0 0 68px;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.08);
}

.news-row-content {
  justify-content: space-between !important;
  display: flex !important;
  flex: 1;
  min-width: 0;
  min-height: 94px !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.news-row-top {
  gap: 8px !important;
  margin-bottom: 11px !important;
  display: flex !important;
  align-items: center !important;
}

.news-row-time {
  color: rgba(255,255,255,.52);
  font-size: 10px;
  font-weight: 900;
}

.news-row.dynamic-news-row h3 {
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.32 !important;
  font-weight: 950 !important;
  letter-spacing: -.025em !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: vertical !important;
  overflow: visible !important;
  white-space: normal !important;
}

.news-row.dynamic-news-row p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: rgba(255,255,255,.78) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 700;
}

.article-page-app {
  min-height: 100vh;
  padding-bottom: 0 !important;
}

.article-topbar {
  position: fixed;
  top: 14px;
  left: 50% !important;
  right: auto !important;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 28px) !important;
  max-width: 402px !important;
  transform: translateX(-50%) !important;
  pointer-events: none;
}

.article-topbar .round-btn {
  pointer-events: auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.article-detail-page, .article-detail-page.has-sticky-arrows, .article-page-app .article-detail-page, .article-page-app .article-detail-page.has-sticky-arrows {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.article-hero-full {
  display: flex;
  align-items: center;
  min-height: 54vh;
  padding: 92px 22px 30px;
  background-size: cover;
  background-position: center;
}

.article-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 760px;
  height: 100%;
}

.article-hero-content h1 {
  margin: 14px 0 12px;
  color: #fff;
  font-size: clamp(2rem, 8vw, 3.4rem);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.07em;
}

.article-hero-content p {
  margin: 0 0 14px;
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  line-height: 1.52;
  font-weight: 750;
}

.article-body-full {
  padding: 26px 22px 50px !important;
  margin-bottom: 0 !important;
  background: linear-gradient(180deg, rgba(8,13,30,.98), rgba(8,13,30,1));
}

/* .article-detail-page.has-sticky-arrows .article-body-full {
  padding-bottom: 32px !important;
} */

.article-share-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px !important;
  margin: 20px 0 24px !important;
  max-width: 760px;
  justify-content: center !important;
  align-items: center !important;
}

.article-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.article-action-btn:hover, .article-action-btn:focus {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 12px 28px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.article-icon-action {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  font-size: 1.05rem;
}

.article-icon-action i {
  line-height: 1;
}

.article-rich-content, .rich-news-content {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,.82);
  font-size: 1.02rem;
  line-height: 1.55 !important;
  white-space: normal !important;
}

.rich-news-content h2, .rich-news-content h3, .rich-news-content h4, .article-rich-content h2, .article-rich-content h3, .article-rich-content h4 {
  margin: 22px 0 10px;
  color: #fff;
  font-weight: 950;
}

.rich-news-content p, .article-rich-content p, .event-rich-content p, .preview-content p, .rich-content-field .ql-editor p, .rich-editor .ql-editor p, .ql-editor p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.55 !important;
  min-height: 0 !important;
}

.rich-news-content br, .article-rich-content br, .event-rich-content br, .preview-content br, .rich-content-field .ql-editor br, .rich-editor .ql-editor br, .ql-editor br {
  display: initial !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit !important;
}

.rich-news-content a {
  color: #ffcf4a;
  font-weight: 850;
}

.rich-news-content ul, .rich-news-content ol {
  padding-left: 22px;
}

.rich-news-content blockquote {
  margin: 16px 0;
  padding: 14px 16px;
  border-left: 4px solid #ffb703;
  border-radius: 16px;
  color: #fff;
  background: rgba(255,183,3,.10);
}

.article-rich-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 18px auto;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 26px auto 0;
  padding: 13px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  font-weight: 850;
}

.article-body-full > .article-back-link {
  display: flex;
  width: fit-content;
}

.news-detail-card {
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
}

.news-detail-cover {
  display: flex;
  align-items: flex-end;
  min-height: 260px;
  padding: 18px;
  background-size: cover;
  background-position: center;
}

.news-detail-body {
  padding: 22px;
}

.news-detail-body h2 {
  margin: 12px 0;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 950;
  letter-spacing: -.04em;
}

.news-detail-resume {
  color: rgba(255,255,255,.74);
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 750;
}

.news-gallery, .article-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.news-gallery {
  margin-top: 20px;
}

.news-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
}

.article-gallery-section {
  margin-top: 26px;
}

.article-gallery-title {
  align-items: center;
}

.article-gallery-title span {
  color: rgba(255,255,255,.58);
  font-size: .88rem;
  font-weight: 700;
}

.article-gallery-item {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  aspect-ratio: 1/1;
  background: rgba(255,255,255,.06);
}

.article-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.94);
}

.gallery-lightbox.is-open {
  display: flex;
}

body.gallery-open {
  overflow: hidden;
}

.gallery-lightbox img {
  max-width: 92vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}

.gallery-close, .gallery-arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}

.gallery-close {
  top: 18px;
  right: 18px;
}

.gallery-prev {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-next {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-counter {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.12);
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.article-prev-next, .article-nav-card, .article-navigation, .article-nav-container, .article-navigation-placeholder {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.sticky-article-arrows {
  position: fixed;
  left: 50%;
  bottom: 98px !important;
  z-index: 1200;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  width: min(410px, calc(100% - 34px));
  transform: translateX(-50%);
  pointer-events: none;
}

.sticky-article-arrow {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.sticky-article-arrow:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(0,0,0,.34);
}

.sticky-article-arrow.prev-arrow {
  border: 1px solid rgba(96,165,250,.42);
  background: linear-gradient(135deg, rgba(37,99,235,.92), rgba(59,130,246,.78));
}

.sticky-article-arrow.next-arrow {
  border: 1px solid rgba(251,146,60,.46);
  background: linear-gradient(135deg, rgba(234,88,12,.92), rgba(251,146,60,.82));
}

.sticky-article-arrow i {
  font-size: 1rem;
}

.sticky-article-arrow.is-disabled {
  opacity: .22;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(9,14,32,.54);
}

.article-page-app .bottom-nav {
  z-index: 1100;
}

.preview-mobile-frame, .preview-mobile-content, .modal-body {
  scrollbar-width: thin;
  scrollbar-color: #38bdf8 rgba(255,255,255,.08);
}

.preview-mobile-frame::-webkit-scrollbar, .preview-mobile-content::-webkit-scrollbar, .modal-body::-webkit-scrollbar {
  width: 10px;
}

.preview-mobile-frame::-webkit-scrollbar-track, .preview-mobile-content::-webkit-scrollbar-track, .modal-body::-webkit-scrollbar-track {
  background: rgba(255,255,255,.08);
  border-radius: 999px;
}

.preview-mobile-frame::-webkit-scrollbar-thumb, .preview-mobile-content::-webkit-scrollbar-thumb, .modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#38bdf8,#0ea5e9);
  border-radius: 999px;
}



.actualites-carousel {
  cursor: grab;
  position: relative;
  width: 100%;
  min-height: 255px;
  overflow: hidden;
  border-radius: 20px;
  background: #070d1a;
  isolation: isolate;
}

.actualites-carousel:active {
  cursor: grabbing;
}



@media (min-width: 431px) {
  .actualites-mobile-header, .actualites-page-content {
    border-inline: 1px solid rgba(255,255,255,.05);
  }
}

@media (min-width: 720px) {
  .article-hero-full, .article-body-full {
    padding-left: 34px;
    padding-right: 34px;
  }
}

@media (max-width: 520px) {
  .news-detail-cover {
    min-height: 210px;
  }

  .news-detail-body {
    padding: 18px;
  }

  .news-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  /* .article-body-full {
    padding-bottom: 100px !important;
  }

  .article-detail-page.has-sticky-arrows .article-body-full {
    padding-bottom: 118px !important;
  } */

  .sticky-article-arrows {
    bottom: 96px !important;
    width: calc(100% - 28px);
    gap: 10px;
  }

  .sticky-article-arrow {
    min-height: 44px;
    font-size: .82rem;
  }

  .article-page-app .sticky-article-arrows {
    bottom: 96px !important;
    width: calc(100% - 28px) !important;
    gap: 9px !important;
  }

  .article-page-app .sticky-article-arrow {
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: .8rem !important;
  }

  .article-page-app .article-topbar {
    top: 12px !important;
    width: calc(100% - 24px) !important;
  }

  .article-page-app .article-topbar .round-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 15px !important;
  }

  .article-page-app .article-topbar .round-btn i {
    font-size: 1.18rem !important;
  }

  .article-body-full .detail-bottom-safe-space {
    height: 140px !important;
    min-height: 140px !important;
  }

  .article-gallery-section + .detail-bottom-safe-space {
    height: 92px !important;
    min-height: 92px !important;
  }
}

@media (max-width: 360px) {
  .actualites-tab {
    padding-inline: 14px;
  }

  .featured-news.dynamic-featured-news.actualites-hero-card {
    min-height: 238px;
  }

  .actualites-hero-card .featured-overlay-content {
    min-height: 238px !important;
  }

  .actualites-hero-card .featured-badges {
    top: 6px !important;
    left: 10px !important;
  }

  .actualites-hero-card h2, .actualites-hero-card .featured-copy h2 {
    font-size: 1.55rem !important;
  }

  .actualites-hero-card p, .actualites-hero-card .featured-copy p {
    font-size: .92rem !important;
    -webkit-line-clamp: 3;
    max-width: 96% !important;
  }

  .news-row.dynamic-news-row {
    gap: 12px !important;
    padding: 13px !important;
    min-height: 112px !important;
    border-radius: 19px !important;
  }

  .news-thumb.dynamic-news-thumb {
    width: 80px !important;
    height: 105px !important;
    min-height: 80px !important;
    flex-basis: 80px !important;
    border-radius: 16px !important;
  }

  .news-row.dynamic-news-row h3 {
    font-size: 14px !important;
    line-height: 1.28 !important;
    margin-bottom: 10px !important;
  }

  .news-row.dynamic-news-row p {
    font-size: 11.5px !important;
    line-height: 1.38 !important;
  }

  .actualites-carousel, .actualites-carousel-track {
    min-height: 238px;
  }

  .actualites-carousel-btn {
    width: 30px;
    height: 30px;
  }

  .featured-news.dynamic-featured-news.actualites-hero-card, .actualites-carousel, .actualites-carousel-track, .actualites-carousel-slide, .actualites-hero-card .featured-overlay-content {
    min-height: 260px !important;
    height: 260px !important;
    max-height: 260px !important;
  }

  .actualites-hero-card .featured-copy {
    max-height: 178px !important;
  }

  .actualites-page-content .mini-pill-featured {
    font-size: 9px !important;
    padding: 4px 7px !important;
  }

  .news-list.dynamic-news-list {
    gap: 13px !important;
  }

  .news-row-content {
    min-height: 80px !important;
  }

  .news-row-footer .news-row-time {
    font-size: 10px !important;
  }
}

.featured-news.dynamic-featured-news.actualites-hero-card::after {
  inset: 0 !important;
  border-radius: inherit !important;
  background: linear-gradient(180deg, rgba(5,10,25,.06) 0%, rgba(5,10,25,.22) 34%, rgba(5,10,25,.68) 74%, rgba(5,10,25,.96) 100%),
    linear-gradient(90deg, rgba(5,10,25,.26) 0%, rgba(5,10,25,.06) 58%, transparent 100%) !important;
  content: "" !important;
  position: absolute !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.featured-news.dynamic-featured-news.actualites-hero-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 18px;
  border-radius: 0 0 20px 20px !important;
  background: linear-gradient(180deg, rgba(7,13,26,0), #070d1a 78%, #070d1a 100%);
  pointer-events: none;
  display: none !important;
}

.actualites-carousel-track {
  position: relative;
  min-height: 255px;
}

.actualites-carousel-slide {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity .35s ease, visibility .35s ease, transform .55s ease;
  min-height: 280px !important;
  height: 280px !important;
  max-height: 280px !important;
}

.actualites-carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.actualites-carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(7,13,26,.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(0,0,0,.24);
}

.actualites-carousel-btn.prev {
  left: 10px;
}

.actualites-carousel-btn.next {
  right: 10px;
}

.actualites-carousel-btn i {
  font-size: 1rem;
  line-height: 1;
}

.actualites-slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
}

.actualites-slider-dots button.active {
  width: 10px;
  height: 10px;
  background: #8f5cff;
  box-shadow: 0 0 10px rgba(143,92,255,.75);
}

.actualites-carousel-btn, .actualites-carousel-btn.prev, .actualites-carousel-btn.next {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.featured-news.dynamic-featured-news.actualites-hero-card, .actualites-carousel, .actualites-carousel-track {
  min-height: 280px !important;
  height: 280px !important;
  max-height: 280px !important;
}

/* .article-gallery-section, .article-gallery-full {
  margin-bottom: 90px !important;
} */

.article-page-app .sticky-article-arrows {
  bottom: 98px !important;
  gap: 10px !important;
  width: min(390px, calc(100% - 34px)) !important;
}

.article-page-app .sticky-article-arrow {
  min-height: 42px !important;
  padding: 0 14px !important;
  gap: 7px !important;
  border-radius: 999px !important;
  color: rgba(255,255,255,.94) !important;
  font-size: .82rem !important;
  font-weight: 800 !important;
  letter-spacing: -.01em !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.article-page-app .sticky-article-arrow.prev-arrow, .article-page-app .sticky-article-arrow.next-arrow {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.13) !important;
}

.article-page-app .sticky-article-arrow:hover, .article-page-app .sticky-article-arrow:focus {
  color: #fff !important;
  transform: translateY(-2px) !important;
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.20) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.14) !important;
}

.article-page-app .sticky-article-arrow i {
  font-size: .95rem !important;
  line-height: 1 !important;
  opacity: .9 !important;
}

.article-page-app .sticky-article-arrow.is-disabled {
  opacity: .28 !important;
  background: rgba(255,255,255,.045) !important;
  border-color: rgba(255,255,255,.09) !important;
  box-shadow: none !important;
}





.article-page-app .article-topbar .round-btn {
  width: 46px !important;
  height: 46px !important;
  border-radius: 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  background: rgba(255,255,255,.095) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.26),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
  backdrop-filter: blur(18px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
  text-decoration: none !important;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}

.article-page-app .article-topbar .round-btn:hover, .article-page-app .article-topbar .round-btn:focus {
  color: #ffffff !important;
  background: rgba(255,255,255,.14) !important;
  border-color: rgba(255,255,255,.26) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
  transform: translateY(-1px) !important;
}

.article-page-app .article-topbar .round-btn i {
  font-size: 1.25rem !important;
  line-height: 1 !important;
}

.news-row-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin-top: auto !important;
  padding-top: 8px !important;
}

.news-row-footer .news-row-time {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: rgba(255,255,255,.50) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
}

.news-row-footer .news-row-time i {
  font-size: 10px !important;
  opacity: .72 !important;
}



.news-row-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: 20px;
  flex: 0 0 auto;
  transition: .2s;
}

.news-row:hover .news-row-chevron {
  transform: translateX(3px);
  color: #fff;
}

.news-row.dynamic-news-row::after {
  content: "" !important;
  position: absolute !important;
  width: 180px !important;
  height: 180px !important;
  right: -90px !important;
  bottom: -90px !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,.05) 35%, rgba(255,255,255,0) 72%) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

.news-row.dynamic-news-row > * {
  position: relative !important;
  z-index: 1 !important;
}

.news-row.dynamic-news-row::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  border-radius: inherit !important;
  background: linear-gradient(
      135deg,
      rgba(255,255,255,.14) 0%,
      rgba(255,255,255,.065) 18%,
      rgba(255,255,255,0) 42%
    ) !important;
  pointer-events: none !important;
}

.actualites-under-tabs-title {
  padding: 4px 8px 0;
  margin: 0 0 10px;
}

.actualites-under-tabs-title h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.04em;
}

.article-hero-content > .category-pill, .article-hero-content > .mini-pill, .article-hero-content > .pill-purple {
  width: auto !important;
  max-width: max-content !important;
  flex: 0 0 auto !important;
  align-self: flex-start !important;
  display: inline-flex !important;
  justify-content: center !important;
}

.actualites-page-content .mini-pill,.actualites-hero-card .category-pill,.event-card.agenda-event-card .mini-pill {
  display: inline-flex !important;
  align-items: center;
  width: fit-content !important;
  max-width: max-content !important;
  border-radius: 999px !important;
  padding: 8px 12px !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.actualites-page-content .news-row.dynamic-news-row .title-clamp-2, .actualites-page-content .news-row.dynamic-news-row h3.title-clamp-2, .news-row.dynamic-news-row .title-clamp-2 {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: normal !important;
  max-height: calc(1.25em * 2) !important;
}

.article-content, .event-content, .news-content, .detail-content, .actualite-content, .evenement-content {
  padding-bottom: 120px !important;
}





/* .article-body-full .detail-bottom-safe-space {
  display: block !important;
  height: 128px !important;
  min-height: 128px !important;
  flex: 0 0 128px !important;
} */

.article-gallery-section + .detail-bottom-safe-space {
  height: 82px !important;
  min-height: 82px !important;
}


/* Uniformisation navbar haute avec Signalement/Services */









/* Correction continuité navbar haute -> background (Actualités)
   Objectif : aucune bande/cassure entre la navbar et le contenu. */






.actualites-under-tabs-title,
.actualites-featured-section {
  position: relative;
  z-index: 1;
}

/* =========================================================
   Correctif final : header imprégné, sans cassure
   ========================================================= */


.actualites-mobile-header.actualites-immersive-header {
  position: relative !important;
  top: auto !important;
  z-index: 30 !important;
  margin: 0 !important;
  padding: 22px 18px 22px !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(255,159,26,0.42), transparent 36%),
    radial-gradient(circle at 10% 18%, rgba(139,92,246,0.30), transparent 34%),
    linear-gradient(to bottom, #071022 0%, #020713 100%) !important;
  box-shadow: none !important;
  border: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}









.actualites-tabs {
  padding: 0 0 2px !important;
  margin: 0 !important;
}

.actualites-page-content {
  background: #020713 !important;
  padding: 14px 8px 0 !important;
}




/* === Correctif final demandé : halo Actualités ORANGE uniquement === */
.actualites-mobile-header.actualites-immersive-header {
  background:
    radial-gradient(circle at 90% 0%, rgba(255,159,26,0.46), transparent 36%),
    radial-gradient(circle at 10% 18%, rgba(139,92,246,0.30), transparent 34%),
    linear-gradient(to bottom, #071022 0%, #020713 100%) !important;
}
