/* Direction éditoriale aérienne */
body.editorial-page {
  --air-bg: #faf9f6;
  --air-surface: #fff;
  --air-soft: #f3f1ec;
  --air-line: #dfddd7;
  --air-ink: #23211e;
  --air-muted: #69655f;
  --air-accent: #9b7a3d;
  background: var(--air-bg);
  color: var(--air-ink);
}

.editorial-page > header {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  box-shadow: none;
}

/* Listes d'articles et de situations */
.editorial-listing .wrap {
  width: min(1160px, 90%);
  margin-top: 72px;
}

.editorial-listing .wrap > .eyebrow {
  display: table;
  margin: 0 auto 12px;
  color: var(--air-accent);
  text-align: center;
}

.editorial-listing .wrap > .eyebrow::before { display: none; }

.editorial-listing .wrap > h1 {
  display: block;
  max-width: 850px;
  margin: 0 auto 24px;
  padding: 0;
  background: transparent;
  color: var(--air-ink);
  box-shadow: none;
  text-align: center;
  letter-spacing: -.045em;
}

.editorial-listing .intro {
  max-width: 760px;
  margin: 0 auto 52px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--air-muted);
  text-align: center;
}

.editorial-listing .grid {
  gap: 28px;
  margin-top: 48px;
}

.editorial-listing .card {
  overflow: hidden;
  border: 1px solid var(--air-line);
  border-radius: 12px;
  background: var(--air-surface);
  box-shadow: 0 9px 30px rgba(35, 31, 25, .045);
}

.editorial-listing .card:hover {
  border-color: #d1cdc5;
  box-shadow: 0 17px 42px rgba(35, 31, 25, .085);
  transform: translateY(-4px);
}

.editorial-listing .image {
  border: 0;
  border-bottom: 1px solid var(--air-line);
  background: var(--air-soft);
}

.editorial-listing .body { background: var(--air-surface); }

.editorial-listing .body h2 {
  margin: 12px 0 10px;
  padding: 0;
  background: transparent;
  color: var(--air-ink);
  line-height: 1.35;
}

.editorial-listing .body p { color: var(--air-muted); }
.editorial-listing .date,
.editorial-listing .tag { color: var(--air-accent); }

.editorial-listing .more {
  width: auto;
  padding-top: 0;
  border: 0;
  color: #6f5628;
}

/* Page d'article : titre libre, image ample, colonne de lecture étroite */
.editorial-article main {
  width: min(1040px, 92%);
  margin: 68px auto 110px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: editorial-arrival .45s ease both;
}

.editorial-article .date {
  display: table;
  margin: 0 auto 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--air-accent);
  font-weight: 700;
  text-align: center;
}

.editorial-article h1,
.editorial-story h1 {
  max-width: 900px;
  margin: 0 auto 25px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--air-ink);
  box-shadow: none;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -.048em;
  text-align: center;
}

.editorial-article .lead,
.editorial-story .lead {
  max-width: 730px;
  margin: 0 auto 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--air-muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  text-align: center;
}

.editorial-article .hero,
.editorial-story .hero {
  display: block;
  width: 100%;
  max-height: 590px;
  margin: 0 auto 58px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 15px 45px rgba(35, 31, 25, .08);
}

.editorial-article .content {
  width: min(690px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #34312d;
  font-size: 1.075rem;
  line-height: 1.86;
}

.editorial-article .content > p:first-child::first-letter {
  float: left;
  margin: .12em .13em 0 0;
  color: var(--air-ink);
  font-family: Georgia, serif;
  font-size: 3.6em;
  line-height: .72;
}

.editorial-article .content h2 {
  margin: 2.5em 0 .8em;
  padding: 1.1em 0 0;
  border-top: 1px solid var(--air-line);
  background: transparent;
  color: var(--air-ink);
}

.editorial-article .content h3 {
  margin-top: 2em;
  padding: 0;
  border: 0;
  color: var(--air-ink);
}

.editorial-article .content blockquote {
  margin: 2.2em -5% 2.2em 4%;
  padding: 1.25em 1.5em;
  border: 0;
  border-left: 2px solid #b8a98e;
  border-radius: 0;
  background: var(--air-soft);
  color: #57524b;
  font-size: 1.18rem;
}

.editorial-article .back,
.editorial-story .back {
  display: table;
  margin: 55px auto 0;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid #b8a98e;
  background: transparent;
  color: #5f4b29 !important;
  text-decoration: none;
}

/* Situations : succession de chapitres doux, sans cadres lourds */
.editorial-story .wrap {
  width: min(980px, 92%);
  margin-top: 68px;
  animation: editorial-arrival .45s ease both;
}

.editorial-story .wrap > .tag {
  display: table;
  margin: 0 auto 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--air-accent);
  text-align: center;
}

.editorial-story .meta {
  justify-content: center;
  margin: -20px 0 48px;
}

.editorial-story .meta span {
  padding: 5px 10px;
  border: 1px solid var(--air-line);
  border-radius: 999px;
  background: transparent;
  color: var(--air-muted);
  box-shadow: none;
}

.editorial-story .part,
.editorial-story .part:nth-of-type(even) {
  margin: 0;
  padding: clamp(34px, 5vw, 58px) clamp(22px, 6vw, 70px);
  border: 0;
  border-top: 1px solid var(--air-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-story .part:nth-of-type(even) { background: rgba(239, 237, 231, .48); }

.editorial-story .part h2 {
  margin: 0 0 22px;
  padding: 0;
  background: transparent;
  color: var(--air-ink);
  line-height: 1.22;
}

.editorial-story .part-content {
  max-width: 720px;
  color: #3d3934;
  line-height: 1.82;
}

.editorial-story .part .part-content h2 {
  margin: 1.8em 0 .7em;
  padding: 0;
  background: transparent;
  color: var(--air-ink);
  font-size: 1.4rem;
}

.editorial-story .part.comment {
  border: 0;
  border-top: 1px solid #d8d1c3;
  background: #f1eee7;
}

.editorial-story .cta {
  margin-top: 45px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 14px 38px rgba(35, 31, 25, .1);
}

@keyframes editorial-arrival {
  from { opacity: 0; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 850px) {
  .editorial-listing .wrap { width: min(94%, 680px); margin-top: 48px; }
  .editorial-listing .grid { gap: 20px; }
  .editorial-listing .card { box-shadow: 0 8px 25px rgba(35, 31, 25, .05); }
  .editorial-listing .body h2 { margin-inline: 0; }
  .editorial-article main,
  .editorial-story .wrap { width: 92%; margin-top: 48px; }
  .editorial-article h1,
  .editorial-story h1 { box-shadow: none; }
  .editorial-article .content,
  .editorial-story .part { box-shadow: none; }
  .editorial-article .content blockquote { margin-inline: 0; }
  .editorial-story .part { padding-inline: 8px; }
  .editorial-story .part:nth-of-type(even) { margin-inline: -4%; padding-inline: calc(4% + 8px); }
}

@media (prefers-reduced-motion: reduce) {
  .editorial-article main,
  .editorial-story .wrap { animation: none; }
}
