/* ================================================================
   PAGE DETAIL AGENDA (ed-* uniquement)
   ================================================================ */

.ed-hero {
  --ed-accent: #697277;
  margin-top: -128px;
  background: radial-gradient(
    ellipse 120% 80% at 50% 20%,
    #fffef9 0%,
    #faf6f2 45%,
    #f5eef5 100%
  );
  position: relative;
  overflow: hidden;
}

.ed-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 8% 40%, color-mix(in srgb, var(--ed-accent) 18%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 50% 65% at 92% 40%, rgba(235, 220, 200, 0.45) 0%, transparent 55%);
}

.ed-hero-breadcrumb-row {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: 0.75rem;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
  box-sizing: border-box;
}

.ed-breadcrumb {
  font-size: 0.8125rem;
  color: #9b9b9b;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.ed-breadcrumb a {
  color: #9b9b9b;
  text-decoration: none;
  transition: color 0.2s;
}

.ed-breadcrumb a:hover {
  color: #4a4a4a;
}

.ed-breadcrumb-sep {
  margin: 0 0.2rem;
  color: #c4c4c4;
}

.ed-breadcrumb-current {
  color: #4a4a4a;
  font-weight: 600;
}

.ed-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1rem;
  padding-bottom: 3rem;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
  align-items: center;
}

.ed-hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ed-hero-title {
  text-align: left;
  font: italic normal bold 60px/60px 'Neo Sans Std', sans-serif;
  letter-spacing: 0;
  color: #697277;
}

.ed-hero-excerpt {
  text-align: left;
  font: normal normal normal 20px/30px 'Neo Sans Std', sans-serif;
  letter-spacing: 0;
  color: #697277;
  margin-top: 18px;
}

.ed-hero-img-wrap {
  border-radius: 50px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

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

.ed-color-band-wrap {
  padding: 0 max(3rem, env(safe-area-inset-left));
  position: relative;
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.ed-color-band {
  height: 75px;
  border-radius: 210px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(clamp(3rem, 12vw, 7rem));
}

.ed-page-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 max(1.5rem, env(safe-area-inset-left)) 4rem;
  position: relative;
  z-index: 2;
}

.ed-content-card {
  background: #ffffff;
  box-shadow: 5px 3px 13px #0000001c;
  border-radius: 50px;
  padding: 2.5rem 2rem 3rem;
  margin-top: -14px;
  margin-bottom: 3rem;
}

.ed-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.ed-main-col {
  min-width: 0;
}

.ed-article-body {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 2rem;
}

.ed-article-body p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: #374151;
}

.ed-article-body h1,
.ed-article-body h2,
.ed-article-body h3,
.ed-article-body h4,
.ed-article-body h5,
.ed-article-body h6 {
  color: #697277;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.ed-article-body ul,
.ed-article-body ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.ed-article-body ul {
  list-style-type: disc;
}

.ed-article-body ol {
  list-style-type: decimal;
}

.ed-article-body li {
  margin-bottom: 0.4rem;
}

.ed-article-body a,
.ed-info-link {
  color: #2563eb;
  text-decoration: underline;
}

.ed-article-body blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6b7280;
}

.ed-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 50px;
  margin: 1.5rem 0;
}

.ed-article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.ed-article-body th,
.ed-article-body td {
  border: 1px solid #e5e7eb;
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.ed-article-body th {
  background: #f9fafb;
  font-weight: 600;
}

.ed-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 6rem;
}

.ed-side-card,
.ed-related-card {
  background: #fff;
  border-radius: 50px;
  box-shadow: 5px 3px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.ed-side-card-body {
  padding: 1.5rem 2rem 1.75rem;
  text-align: center;
}

.ed-side-title,
.ed-sidebar-title {
  text-align: center;
  font: normal normal 400 20px/26px 'Neo Sans Std', sans-serif;
  color: #697277;
}

.ed-sidebar-title {
  margin-top: 0.35rem;
  margin-bottom: 0.25rem;
}

.ed-side-lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1rem 0 1.15rem;
}

.ed-side-lines-stack {
  text-align: left;
  gap: 1rem;
}

.ed-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #4b5563;
}

.ed-line strong {
  color: #1f2937;
}

.ed-alert {
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
}

.ed-alert-success {
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.ed-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.ed-alert-warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.ed-btn {
  display: block;
  width: 100%;
  border-radius: 999px;
  padding: 0.68rem 1rem;
  border: 0;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.ed-btn:hover {
  opacity: 0.92;
}

.ed-btn-primary {
  background: #2563eb;
}

.ed-btn-danger {
  background: #dc2626;
}

.ed-btn-dark {
  background: #374151;
}

/* CTA aligné hero / bandeau : rouge → orange */
.ed-btn-gradient {
  background: transparent linear-gradient(86deg, #e50c2a 0%, #ee731c 100%) 0% 0% no-repeat padding-box;
  font-weight: 600;
}

.ed-info-key {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ed-info-val {
  font-size: 0.9rem;
  color: #1f2937;
  font-weight: 700;
  margin: 0;
}

.ed-info-sub {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0.15rem 0 0;
}

.ed-related-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}

.ed-related-body {
  padding: 1.5rem 2.25rem 1.875rem;
  text-align: center;
}

.ed-related-title {
  font-size: 1rem;
  font-weight: 800;
  color: #697277;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}

.ed-related-desc {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.55;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-related-link {
  display: inline-block;
  padding-top: 28px;
  font-size: 0.75rem;
  color: #9b9b9b;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.ed-related-link:hover {
  color: #d31224;
}

.ed-empty-related {
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

@media (max-width: 900px) {
  .ed-layout {
    grid-template-columns: 1fr;
  }

  .ed-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .ed-hero-inner {
    grid-template-columns: 1fr;
  }

  .ed-hero-title {
    font: italic normal bold 36px/40px 'Neo Sans Std', sans-serif;
  }

  .ed-hero-excerpt {
    font: normal normal normal 18px/28px 'Neo Sans Std', sans-serif;
  }
}
