/* Feature longform (magazine lead-photo). Brand tokens via editorial light theme. */
.ed-feature-essay{background:var(--ed-bg);color:var(--ed-text)}
.km-feature-hero{
  position:relative;isolation:isolate;min-height:min(88vh,820px);
  display:flex;align-items:center;justify-content:center;padding:110px 0 72px;overflow:hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(183,136,255,.28), transparent 58%),
    linear-gradient(165deg, #1a1233 0%, #100B22 55%, #0c0818 100%);
  color:#F7F8FC;
}
.km-feature-hero.has-photo{background:#100B22}
.km-feature-hero-media{position:absolute;inset:0;z-index:0}
.km-feature-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
.km-feature-hero-shade{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg, rgba(16,11,34,.35) 0%, rgba(16,11,34,.55) 42%, rgba(16,11,34,.92) 100%);
}
.km-feature-hero.no-photo .km-feature-hero-shade{
  background:linear-gradient(180deg, transparent 0%, rgba(16,11,34,.25) 45%, rgba(16,11,34,.55) 100%);
}
.km-feature-hero-copy{position:relative;z-index:2;width:min(920px, calc(100% - 48px));margin:0 auto;padding:0;text-align:center}
.km-feature-hero .ed-kicker{color:rgba(247,248,252,.72);margin-bottom:18px}
.km-feature-hero .ed-kicker a{color:#B788FF}
.km-feature-hero .ed-divider{color:rgba(247,248,252,.45)}
.km-feature-title{
  margin:0 auto 27px;max-width:790px;
  font-family:var(--ed-font, Inter, Arial, sans-serif);font-size:clamp(43px,4.7vw,65px);font-weight:700;
  letter-spacing:-.055em;line-height:1.05;text-wrap:balance;color:#F7F8FC;
}
.km-feature-dek{
  margin:0 auto 28px;max-width:38rem;
  font-family:var(--ed-font, Inter, Arial, sans-serif);font-size:18px;line-height:1.65;font-weight:500;
  color:rgba(247,248,252,.88);letter-spacing:-.015em;
}
.km-feature-byline{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 24px;
  font-size:12px;line-height:1.5;color:rgba(247,248,252,.7);font-weight:500;
}
.km-feature-by{color:#F7F8FC;font-weight:600;text-transform:none;letter-spacing:0}
.km-feature-note{text-transform:none;letter-spacing:0;font-weight:500;color:rgba(247,248,252,.65)}
.km-feature-byline time{opacity:.85}

.km-feature-body{width:min(720px, calc(100% - 48px));margin:0 auto;padding:56px 0 24px}
.km-feature-prose{
  font-family:var(--ed-font, Inter, Arial, sans-serif);font-size:18px;line-height:1.85;
  letter-spacing:0;color:var(--ed-body);
}
.km-feature-prose p{margin:0 0 1.25em}
.km-feature-prose h2{
  font-family:Inter,Arial,sans-serif;font-size:clamp(22px,2.2vw,28px);font-weight:700;
  letter-spacing:-.035em;line-height:1.25;color:var(--ed-text);margin:2.1em 0 .85em;
}
.km-feature-prose h3{
  font-family:Inter,Arial,sans-serif;font-size:clamp(20px,2vw,24px);font-weight:650;
  letter-spacing:-.03em;margin:1.8em 0 .75em;color:var(--ed-text);
}
.km-feature-prose blockquote{
  margin:34px 0;padding:5px 0 5px 26px;border-left:2px solid var(--ed-accent);
  font-family:var(--ed-font, Inter, Arial, sans-serif);font-size:17px;line-height:1.8;
  font-weight:400;font-style:normal;letter-spacing:0;color:var(--ed-muted);
}
.km-feature-prose blockquote p{margin:0}
.km-feature-prose hr{
  border:0;height:0;margin:3.2em auto;width:48px;
  border-top:2px solid var(--ed-accent);opacity:.7;
}
.km-feature-figure,.km-feature-prose .wp-block-image{
  margin:2.6em calc(50% - 50vw);width:100vw;max-width:100vw;
}
.km-feature-figure img,.km-feature-prose .wp-block-image img{
  width:min(1100px, calc(100% - 48px));margin:0 auto;display:block;border-radius:2px;
}
.km-feature-figure figcaption,.km-feature-prose .wp-block-image figcaption{
  width:min(720px, calc(100% - 48px));margin:12px auto 0;
  font-family:var(--ed-font);font-size:12px;line-height:1.55;color:var(--ed-muted);
}
.ed-feature-essay .ed-essay-signoff{margin-top:48px}
.ed-feature-essay .ed-next-reading{margin-top:72px}

@media(max-width:700px){
  .km-feature-hero{min-height:72vh;padding:96px 0 48px;align-items:center;justify-content:center}
  .km-feature-hero-copy{width:calc(100% - 32px)}
  .km-feature-title{max-width:none;font-size:clamp(36px,10vw,52px)}
  .km-feature-dek{font-size:17px}
  .km-feature-body{width:calc(100% - 32px);padding-top:40px}
  .km-feature-prose{font-size:18px;line-height:1.8}
  .km-feature-figure img,.km-feature-prose .wp-block-image img{width:calc(100% - 32px)}
}

/* Match daily: no oversized drop cap */
.ed-feature-essay .ed-dropcap::first-letter{float:none;font-size:inherit;line-height:inherit;padding:0;font-weight:inherit;letter-spacing:inherit}

/* Prefer daily prose tokens when both classes are present */
.ed-feature-essay .km-feature-prose.daily-prose{
  font-family:var(--ed-font, Inter, Arial, sans-serif);
  font-size:18px;line-height:1.85;letter-spacing:0;color:var(--ed-body);
}
.ed-feature-essay .km-feature-prose.daily-prose h2{
  font-family:Inter,Arial,sans-serif;font-size:clamp(22px,2.2vw,28px);font-weight:700;
  letter-spacing:-.035em;line-height:1.25;margin:2.1em 0 .85em;color:var(--ed-text);
}
.ed-feature-essay .km-feature-prose.daily-prose blockquote{
  margin:34px 0;padding:5px 0 5px 26px;border-left:2px solid var(--ed-accent);
  font-size:17px;line-height:1.8;font-style:normal;color:var(--ed-muted);font-weight:400;
}
@media(max-width:700px){
  .ed-feature-essay .km-feature-prose.daily-prose{font-size:17px;line-height:1.8}
}

/* No-photo feature hero: cream magazine header (light Longform) */
.ed-feature-essay .km-feature-hero.no-photo{
  background:var(--ed-bg);
  color:var(--ed-text);
  min-height:0;
  padding:165px 0 60px;
}
.ed-feature-essay .km-feature-hero.no-photo .km-feature-hero-shade{display:none}
.ed-feature-essay .km-feature-hero.no-photo .ed-kicker{color:var(--ed-muted)}
.ed-feature-essay .km-feature-hero.no-photo .ed-kicker a{color:var(--ed-accent)}
.ed-feature-essay .km-feature-hero.no-photo .km-feature-title{color:var(--ed-text)}
.ed-feature-essay .km-feature-hero.no-photo .km-feature-dek{color:var(--ed-muted)}
.ed-feature-essay .km-feature-hero.no-photo .km-feature-byline{color:var(--ed-muted)}
.ed-feature-essay .km-feature-hero.no-photo .km-feature-by{color:var(--ed-text)}
@media(max-width:700px){
  .ed-feature-essay .km-feature-hero.no-photo{padding:132px 0 34px}
}

.km-blog-back{display:inline-flex;align-items:center;gap:10px;margin:18px 0 0;color:rgba(247,248,252,.78);text-decoration:none;font-size:12px;font-weight:600;position:relative;z-index:2}
.km-feature-hero .km-blog-back{margin:0 0 14px}
.km-blog-back:hover{color:#fff}
