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

.agenda-header {
  background: radial-gradient(circle at 88% 0%, rgba(251,113,133,0.26), transparent 35%),
    radial-gradient(circle at 12% 18%, rgba(139,92,246,0.30), transparent 34%),
    linear-gradient(to bottom, #071022, #020713);
}

.agenda-page-content {
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.agenda-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 15%, rgba(139,92,246,0.25), transparent 34%),
    radial-gradient(circle at 10% 75%, rgba(59,163,255,0.18), transparent 38%);
}

.agenda-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.agenda-info-grid span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: rgba(255,255,255,0.9);
  font-size: 11px;
  font-weight: 900;
}

/* Filtres horizontaux : définition complète plus bas. */

.date-chip:hover, .date-chip:focus {
  color: #ffffff;
  text-decoration: none;
}

/* .pill-purple : centralisé dans actualites-agenda-common.css. */

.event-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-card:hover, .event-card:focus {
  color: #ffffff;
  text-decoration: none;
}

.event-date {
  width: 68px;
  height: 74px;
  border-radius: 21px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 68px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(0,0,0,0.22);
}

.event-date::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.event-date strong, .event-date span {
  position: relative;
  z-index: 1;
}

.event-date strong {
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.event-date span {
  margin-top: 3px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(255,255,255,0.82);
}

.event-content {
  min-width: 0;
  flex: 1;
}

.event-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  min-width: 0;
}

.event-topline small {
  color: rgba(255,255,255,0.45);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.event-arrow {
  color: rgba(255,255,255,0.35);
  font-size: 18px;
  flex-shrink: 0;
}

.agenda-filter-block, .category-block {
  margin-top: 22px;
}

.filter-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.filter-label span {
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.date-scroll, .category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 9px;
  margin-left: -2px;
  margin-right: -2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.date-scroll::-webkit-scrollbar, .category-scroll::-webkit-scrollbar {
  display: none;
}

.date-chip {
  flex: 0 0 auto;
  min-width: 116px;
  border-radius: 22px;
  padding: 13px 14px;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.date-chip:hover, .date-chip:focus, .filter-chip:hover, .filter-chip:focus {
  color: #ffffff;
  text-decoration: none;
}

.date-chip strong {
  display: block;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 5px;
}

.date-chip span {
  display: block;
  color: rgba(255,255,255,0.52);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.date-chip.active {
  color: #ffffff;
  background: radial-gradient(circle at 85% 10%, rgba(255,255,255,0.20), transparent 32%),
    linear-gradient(145deg, #8b5cf6, #4f20d8);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(79,32,216,0.28);
}

.date-chip.active span {
  color: rgba(255,255,255,0.78);
}

.filter-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.72);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.filter-chip.active {
  color: #ffffff;
  background: linear-gradient(145deg, #8b5cf6, #4f20d8);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(79,32,216,0.25);
}

.event-detail-app .event-hero-full .article-hero-content .pill-purple {
  background: linear-gradient(145deg, #8b5cf6, #4f20d8);
  color: #fff;
}

.event-detail-app .event-info-bar {
  flex-wrap: wrap;
}

.event-detail-app .event-info-chip {
  cursor: default;
  max-width: 100%;
}

.event-detail-app .event-info-chip:hover {
  transform: none;
}

.event-detail-app .event-rich-content {
  white-space: normal;
}



.agenda-highlight-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.event-detail-app .event-rich-content p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.55 !important;
  min-height: 1.55em !important;
}

.event-detail-app .event-rich-content br {
  display: initial !important;
  line-height: inherit !important;
}

.agenda-highlight {
  padding: 18px;
  overflow: hidden;
  background-image: linear-gradient(to bottom, rgba(2,7,19,0.05), rgba(2,7,19,0.92)),
    url("https://images.unsplash.com/photo-1517457373958-b7bdd4587205?auto=format&fit=crop&w=900&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  min-height: 300px;
  border-radius: 28px;
  position: relative;
}

.agenda-highlight-content .category-pill {
  margin-bottom: 12px;
}

.agenda-highlight h2 {
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: -0.4px;
  font-size: clamp(2rem,7vw,2.6rem);
  line-height: 1;
}

.agenda-highlight p {
  margin: 0 0 14px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.32;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-content h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 7px;
  font-size: 18px;
}

.event-content p {
  color: rgba(255,255,255,0.68);
  line-height: 1.25;
  margin: 0;
  font-weight: 700;
  font-size: 13px;
}

body:has(.agenda-mobile-header), .agenda-app {
  background: radial-gradient(circle at 50% -10%, rgba(139,92,246,.18), transparent 34%),
    #070d1a;
}

.agenda-app .page-header.agenda-header {
  display: none;
}

.agenda-mobile-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 18px 12px 8px;
  background: rgba(7,13,26,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

.agenda-topbar h1 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -.03em;
}

.agenda-icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: rgba(255,255,255,.88);
  text-decoration: none;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.agenda-see-all, .agenda-section-head a {
  color: #a77cff;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
}

.agenda-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
}

.agenda-section-head h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.04em;
}



.agenda-hero-date strong {
  font-size: 38px;
  line-height: .88;
  font-weight: 950;
  letter-spacing: -.05em;
}

.agenda-hero-date span {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

.agenda-event-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 7px 11px;
  margin-bottom: 12px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #8f4cff, #5630d7);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 20px rgba(0,0,0,.24);
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.agenda-hero-copy p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 94%;
  margin: 0 0 14px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

.agenda-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 850;
}

.agenda-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.agenda-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 0;
}

.agenda-slider-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.26);
}

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

.agenda-period-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 18px 2px 8px;
  margin-top: 0 !important;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.agenda-period-tabs::-webkit-scrollbar {
  display: none;
}

.agenda-list-section {
  margin-top: 18px !important;
}

.agenda-list-title {
  margin-bottom: 14px;
}

.agenda-list-title h2 {
  font-size: 23px;
}

.agenda-month-group {
  margin-top: 18px;
}

.agenda-month-group:first-of-type {
  margin-top: 0;
}

.agenda-month-group > h3 {
  margin: 0 0 10px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 950;
}

.agenda-premium-list {
  gap: 14px;
}

.event-card.agenda-event-card:hover, .event-card.agenda-event-card:focus {
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.075);
  transform: translateY(-1px);
}

.event-card.agenda-event-card .event-date strong {
  font-size: 30px;
}

.event-card.agenda-event-card .event-date span {
  font-size: 12px;
}

.event-card.agenda-event-card .mini-pill {
  min-height: 22px;
  padding: 5px 8px;
  border-radius: 7px;
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.event-card.agenda-event-card .event-arrow {
  font-size: 20px;
  color: rgba(255,255,255,.46);
}

.agenda-empty-state {
  padding: 30px 20px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.08);
}

.agenda-empty-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg,#8f4cff,#5630d7);
  box-shadow: 0 14px 30px rgba(86,48,215,.26);
  font-size: 1.65rem;
}

.agenda-empty-state h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 1.18rem;
  font-weight: 950;
}

.agenda-empty-state p {
  margin: 0 auto 16px;
  max-width: 320px;
  color: rgba(255,255,255,.64);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.agenda-empty-link {
  display: inline-flex;
  padding: 11px 15px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

.event-calendar-cta {
  display: flex;
  justify-content: center;
  margin: 0 0 26px;
}

.event-calendar-btn {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, rgba(143,76,255,.95), rgba(86,48,215,.90));
  box-shadow: 0 16px 34px rgba(86,48,215,.28), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-weight: 950;
}

.event-detail-app .article-topbar .round-btn {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.22) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

.agenda-page-content.agenda-premium-page {
  padding: 8px 8px 0;
  background: #070d1a;
  padding-top: 6px;
}

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



.agenda-period-tabs .date-chip {
  flex: 0 0 auto !important;
  min-width: auto !important;
  min-height: 38px !important;
  padding: 11px 17px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: rgba(255,255,255,.78) !important;
  background: rgba(255,255,255,.065) !important;
  border: 1px solid rgba(255,255,255,.07) !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;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

.agenda-period-tabs .date-chip strong {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  display: inline !important;
}





.agenda-featured-section {
  margin-top: 2px;
}

.agenda-featured-section .agenda-section-head {
  margin-bottom: 12px;
}

.agenda-hero-slide::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  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;
}

.agenda-hero-copy p, .agenda-hero-meta {
  text-shadow: 0 1px 8px rgba(0,0,0,.34);
}

.event-card {
  display: flex;
  gap: 13px;
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
  text-decoration: none;
  min-width: 0;
  border-radius: 24px;
  padding: 14px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  align-items: stretch;
}

.event-thumb {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.06);
  width: 72px;
  height: 110px;
  flex: 0 0 68px;
  border-radius: 21px;
  overflow: hidden;
}

.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.agenda-hero-carousel {
  touch-action: pan-y;
  box-shadow: none !important;
  position: relative !important;
  min-height: 280px !important;
  height: 280px !important;
  max-height: 280px !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  background: #070d1a !important;
  isolation: isolate !important;
  cursor: grab;
}

.agenda-hero-carousel:active {
  cursor: grabbing;
}

.agenda-hero-track {
  will-change: transform;
  align-items: stretch;
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-height: 280px !important;
  height: 280px !important;
  max-height: 280px !important;
  transform: none !important;
  transition: none !important;
}

.agenda-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1) !important;
}



.event-card.agenda-event-card .event-topline .mini-pill, .event-card.agenda-event-card .mini-pill.pill-purple {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 22px !important;
  height: 22px !important;
  padding: 5px 8px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  font-size: 8px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

.agenda-hero-date {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: 82px;
  min-height: 94px;
  padding: 12px 8px;
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, rgba(143,76,255,.92), rgba(75,35,190,.86));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 34px rgba(79,32,216,.34);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden !important;
}

.agenda-hero-date::before {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  pointer-events: none;
}

.agenda-hero-date strong, .agenda-hero-date span {
  position: relative;
  z-index: 1;
}

.event-list.agenda-premium-list {
  gap: 16px !important;
}

.event-card.agenda-event-card {
  display: grid;
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform .18s ease, background .18s ease;
  grid-template-columns: 72px 72px minmax(0, 1fr) 18px !important;
  align-items: center !important;
  gap: 15px !important;
  min-height: 116px !important;
  padding: 14px !important;
  border-radius: 22px !important;
  position: relative;
  overflow: hidden;
  isolation: isolate !important;
}

.event-card.agenda-event-card .event-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
}

.event-card.agenda-event-card .event-topline {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 22px !important;
  margin: 0 0 8px !important;
  line-height: 1 !important;
  margin-bottom: 10px !important;
}

.event-card.agenda-event-card .event-content h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -.025em;
  margin: 0 0 12px !important;
  line-height: 1.22 !important;
}

.event-card.agenda-event-card .event-content p {
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  display: none !important;
}

.event-card.agenda-event-card .event-meta-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-top: auto !important;
  min-width: 0 !important;
}

.event-card.agenda-event-card .event-meta-stack span {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  color: rgba(255,255,255,.66) !important;
  font-size: 11.5px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.event-card.agenda-event-card .event-meta-stack i {
  flex: 0 0 auto !important;
  font-size: 12px !important;
  line-height: 1 !important;
  color: rgba(255,255,255,.52) !important;
}

.event-card.agenda-event-card .event-location, .event-card.agenda-event-card .event-time {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.event-card.agenda-event-card .event-thumb {
  width: 72px !important;
  height: 110px !important;
  flex: 0 0 72px !important;
  border-radius: 16px !important;
}

.event-card.agenda-event-card .event-date {
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(96,54,216,.94), rgba(39,21,110,.94));
  width: 72px !important;
  height: 110px !important;
  flex: 0 0 72px !important;
}

.agenda-hero-slide {
  flex: 0 0 100%;
  padding: 20px;
  overflow: hidden;
  display: flex;
  color: #fff;
  text-decoration: none;
  border-radius: 22px;
  isolation: isolate;
  border: 0 !important;
  outline: 0 !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.34) !important;
  -webkit-transform: translateZ(0);
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-height: 280px !important;
  height: 280px !important;
  max-height: 280px !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015) !important;
  transition: opacity .35s ease, visibility .35s ease, transform .55s ease !important;
  align-items: flex-start !important;
}

.agenda-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  align-self: stretch !important;
  margin-top: 0 !important;
  padding-top: 126px !important;
  padding-bottom: 0 !important;
}

.agenda-hero-copy::before {
  pointer-events: none;
  display: none !important;
  content: none !important;
  height: 0 !important;
}

.agenda-hero-copy h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(2rem, 8vw, 2.65rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -.06em;
  text-shadow: 0 2px 14px rgba(0,0,0,.46);
  margin-bottom: 12px !important;
}

@media (max-width: 390px) {
  .agenda-page-content {
    padding-left: 14px;
    padding-right: 14px;
  }

  .agenda-highlight {
    min-height: 235px;
    border-radius: 28px;
  }

  .agenda-highlight h2 {
    font-size: 24px;
  }

  .agenda-info-grid span {
    font-size: 10px;
    padding: 7px 9px;
  }

  .event-card {
    gap: 11px;
    padding: 11px;
  }

  .event-date {
    width: 62px;
    height: 70px;
    flex-basis: 62px;
    border-radius: 19px;
  }

  .event-date strong {
    font-size: 24px;
  }

  .date-chip {
    min-width: 106px;
    padding: 12px 12px;
    border-radius: 20px;
  }

  .date-chip strong {
    font-size: 12px;
  }

  .date-chip span {
    font-size: 10px;
  }

  .filter-chip {
    padding: 9px 13px;
    font-size: 12px;
  }

  .event-list.agenda-premium-list {
    gap: 14px !important;
  }

  .event-card.agenda-event-card {
    grid-template-columns: 62px 58px minmax(0, 1fr) 14px !important;
    gap: 11px !important;
    min-height: 110px !important;
    padding: 12px !important;
    border-radius: 20px !important;
  }

  .event-card.agenda-event-card .event-date {
    width: 62px !important;
    height: 110px !important;
    flex-basis: 62px !important;
  }

  .event-card.agenda-event-card .event-thumb {
    width: 58px !important;
    height: 110px !important;
    flex-basis: 58px !important;
    border-radius: 14px !important;
  }

  .event-card.agenda-event-card .event-content h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px !important;
    font-size: 15px !important;
    line-height: 1.18 !important;
  }

  .event-card.agenda-event-card .event-meta-stack {
    gap: 5px !important;
  }

  .event-card.agenda-event-card .event-meta-stack span {
    font-size: 10.8px !important;
  }

  .agenda-hero-copy {
    padding-top: 112px !important;
  }
}

@media (max-width: 340px) {
  .event-card {
    gap: 9px;
    padding: 10px;
  }

  .event-date {
    width: 56px;
    height: 66px;
    flex-basis: 56px;
  }

  .event-content h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
  }

  .event-content p {
    font-size: 11px;
  }

  .event-arrow {
    display: none;
  }

  .event-card.agenda-event-card {
    grid-template-columns: 58px 52px minmax(0, 1fr) !important;
    gap: 9px !important;
  }

  .event-card.agenda-event-card .event-thumb {
    width: 52px !important;
    height: 110px !important;
    flex-basis: 52px !important;
  }
}

@media (max-width:390px) {
  .agenda-hero-slide {
    min-height: 268px;
    padding: 16px;
    border-radius: 20px;
  }

  .agenda-hero-date {
    top: 14px;
    left: 14px;
    width: 72px;
    min-height: 84px;
    border-radius: 19px;
  }

  .agenda-hero-date strong {
    font-size: 33px;
  }

  .agenda-hero-date span {
    font-size: 11px;
  }

  .agenda-hero-copy {
    padding-top: 96px;
  }

  .agenda-hero-copy h2 {
    font-size: 1.85rem;
  }

  .agenda-hero-copy p {
    font-size: 13px;
  }

  .event-card.agenda-event-card {
    grid-template-columns: 62px 64px minmax(0,1fr) 14px;
    gap: 9px;
    min-height: 94px;
    padding: 9px;
    border-radius: 18px;
  }

  .event-card.agenda-event-card .event-date {
    width: 62px;
    height: 74px;
    border-radius: 16px;
  }

  .event-card.agenda-event-card .event-date strong {
    font-size: 26px;
  }

  .event-card.agenda-event-card .event-date span {
    font-size: 10px;
  }

  .event-card.agenda-event-card .event-content h3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 15px;
  }

  .event-card.agenda-event-card .event-content p {
    font-size: 11px;
  }

  .agenda-filter-block.agenda-period-tabs {
    padding: 7px 2px 14px;
  }

  .agenda-period-tabs .date-chip {
    padding: 11px 15px !important;
  }

  .event-thumb {
    width: 62px;
    height: 110px;
    flex-basis: 62px;
    border-radius: 19px;
  }
}

@media (max-width:340px) {
  .event-card.agenda-event-card {
    grid-template-columns: 58px 58px minmax(0,1fr);
  }

  .event-card.agenda-event-card .event-arrow {
    display: none;
  }

  .event-thumb {
    width: 58px;
    height: 110px;
  }
}

@media (max-width: 360px) {
  .agenda-hero-carousel, .agenda-hero-track, .agenda-hero-slide {
    min-height: 260px !important;
    height: 260px !important;
    max-height: 260px !important;
  }

  .event-card.agenda-event-card .event-topline {
    min-height: 22px !important;
    margin-bottom: 7px !important;
  }

  .event-card.agenda-event-card .event-topline .mini-pill, .event-card.agenda-event-card .mini-pill.pill-purple {
    min-height: 22px !important;
    height: 22px !important;
    padding: 5px 8px !important;
    font-size: 8px !important;
  }

  .agenda-hero-copy {
    padding-top: 106px !important;
  }
}

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

.event-card.agenda-event-card::after {
  content: "";
  position: absolute;
  top: -65%;
  left: -42%;
  z-index: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,.05) 35%, rgba(255,255,255,0) 72%);
  transform: rotate(18deg);
  opacity: .9;
  pointer-events: none;
  right: -90px;
  bottom: -90px;
}

.event-card.agenda-event-card > * {
  position: relative;
  z-index: 1;
}

.event-card.agenda-event-card:hover::after, .event-card.agenda-event-card:focus::after {
  left: -28%;
  opacity: 1;
  transition: left .35s ease, opacity .35s ease;
}



.event-card.agenda-event-card .mini-pill, .event-card.agenda-event-card .mini-pill.pill-purple {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: max-content !important;
  min-height: 28px !important;
  height: auto !important;
  padding: 8px 12px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  font-size: .78rem !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

.agenda-premium-list .event-card.agenda-event-card .title-clamp-2, .agenda-premium-list .event-card.agenda-event-card h3.title-clamp-2, .event-card.agenda-event-card .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.08em * 2) !important;
}

.detail-bottom-safe-space {
  height: 120px;
  flex: 0 0 auto;
}






/* Uniformisation navbar haute avec Signalement/Services */









/* Correction continuité navbar haute -> background (Agenda / Événements)
   Objectif : aucune bande/cassure entre la navbar et le contenu. */






.agenda-highlight-section,
.agenda-list-section {
  position: relative;
  z-index: 1;
}

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


.agenda-mobile-header.agenda-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(139,92,246,0.36), transparent 36%),
    radial-gradient(circle at 10% 18%, rgba(59,163,255,0.22), 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;
}









.agenda-filter-block.agenda-period-tabs {
  margin: 0 !important;
  padding: 0 0 2px !important;
}

.agenda-page-content.agenda-premium-page,
.agenda-page-content {
  background: #020713 !important;
  padding-top: 14px !important;
}


