/* Editorial dossiers: reuse the existing StylewithGee reading layout. */
.editorial-dossier { width: min(100% - 2rem, 50rem); font-size: 1rem; }
.editorial-dossier > .text-link { display: inline-block; margin-bottom: .9rem; }
.editorial-dossier .eyebrow { font-size: .875rem; margin-top: .5rem; }
.editorial-dossier h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); max-width: 15ch; }
.editorial-dossier .dossier-date { font-size: .875rem; margin-block: 1rem; }
.editorial-dossier .dossier-basis { display: inline-block; padding: .7rem .9rem; border: 1px solid var(--line); color: var(--ink); font-size: .875rem; }
.editorial-dossier section { margin-block: 2rem; }
.editorial-dossier h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.editorial-dossier .dossier-portrait { margin-block: 1.8rem 2.2rem; }
.editorial-dossier .dossier-portrait img { display: block; width: min(100%, 30rem); height: auto; margin-block: 0 .8rem; }
.editorial-dossier .dossier-portrait figcaption { max-width: 57ch; font-size: .875rem; line-height: 1.6; }
.dossier-source-links, .dossier-footer { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; }
.editorial-dossier .text-link { font-size: 1rem; line-height: 1.5; padding-block: .3rem; }
.editorial-dossier .dossier-source-note { font-size: .875rem; }
@media (max-width: 600px) { .editorial-dossier { padding-top: 2rem; } .editorial-dossier h1 { max-width: none; } }

/* Existing stills can be compared without cropping or upscaling low-resolution images. */
.editorial-dossier .dossier-portrait img { width: min(100%, 30rem, var(--image-native-width, 30rem)); }
.dossier-image-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; margin-block: 1.8rem 2.2rem; }
.editorial-dossier .dossier-image-pair .dossier-portrait { margin: 0; min-width: 0; }
@media (max-width: 600px) { .dossier-image-pair { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; } }

/* Lead with the actual reference or still, retaining its complete framing. */
.editorial-dossier:has(.dossier-hero) { width: min(100% - 6rem, 76rem); padding-top: clamp(2rem, 4.5vw, 4rem); }
.dossier-hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-bottom: clamp(2rem, 4vw, 3.5rem); margin-bottom: clamp(2rem, 4vw, 3.5rem); border-bottom: 1px solid var(--line); }
.dossier-opening { min-width: 0; }
.dossier-opening > .text-link { margin-bottom: 1.4rem; }
.editorial-dossier .dossier-opening h1 { max-width: 15ch; font-size: clamp(2.6rem, 5.3vw, 5.3rem); line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.editorial-dossier .dossier-opening .editorial-lead { max-width: 35ch; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.45; text-wrap: pretty; }
.editorial-dossier .dossier-opening .dossier-basis { padding: .3rem 0; border: 0; color: var(--accent); font-size: .875rem; line-height: 1.6; }
.editorial-dossier .dossier-hero > .dossier-portrait { margin: 0; min-width: 0; }
.editorial-dossier .dossier-hero .dossier-portrait img { display: block; width: min(100%, var(--image-native-width, 100%)); height: auto; max-height: 34rem; object-fit: contain; object-position: center; margin: 0 0 .8rem; }
.editorial-dossier .dossier-hero figcaption { font-size: .875rem; line-height: 1.6; }
.editorial-dossier .dossier-hero > .dossier-image-pair { margin: 0; gap: .85rem; align-items: start; }
.editorial-dossier .dossier-hero .dossier-image-pair img { max-height: 26rem; }
.editorial-dossier:has(.dossier-hero) > section,
.editorial-dossier:has(.dossier-hero) > .dossier-footer { max-width: 46rem; margin-inline: auto; }
.editorial-dossier > section > p,
.editorial-dossier > section li { font-size: 1.0625rem; line-height: 1.8; }
.editorial-dossier > section + section { margin-top: 2.8rem; }
.editorial-dossier h2 { line-height: 1.18; }
.editorial-dossier .dossier-source-links { gap: .1rem; margin-block: .7rem; }
.editorial-dossier .dossier-footer { margin-top: 3rem; }
@media (max-width: 850px) {
  .editorial-dossier:has(.dossier-hero) { width: calc(100% - 2.5rem); }
  .dossier-hero { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .editorial-dossier .dossier-opening h1 { max-width: 22ch; font-size: clamp(2.6rem, 8.5vw, 4.5rem); }
  .editorial-dossier .dossier-hero > .dossier-portrait { width: min(100%, 27rem); justify-self: center; }
  .editorial-dossier .dossier-hero > .dossier-image-pair { width: min(100%, 40rem); justify-self: center; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-dossier .dossier-hero .dossier-image-pair img { max-height: 22rem; }
}
@media (max-width: 430px) {
  .editorial-dossier .dossier-hero > .dossier-image-pair { grid-template-columns: minmax(0, 1fr); max-width: 24rem; gap: 1.5rem; }
}
