body.post-edition {
  --post-width: 1160px;
  --post-reading: 68ch;
  --post-gap: clamp(.85rem, 2vw, 1.5rem);
  --post-space: clamp(1.3rem, 3.2vw, 2.55rem);
  --post-section: clamp(2.6rem, 5.2vw, 4.7rem);
  --post-radius: .75rem;
  --post-rule: #59455d;
  --post-card: #302439;
  --post-screen: #19131f;
  --post-text: #e7d9e7;
}

body.post-edition > header {
  width: min(var(--post-width), 92%);
  max-width: none;
  padding: .85rem 0;
  min-height: 3.65rem;
}

.post-edition main:is([data-post="02"], [data-post="03"], [data-post="04"], [data-post="05"]),
body.post-edition > footer {
  width: min(var(--post-width), 92%);
}

.post-edition main article {
  max-width: 1280px;
  padding-inline: clamp(16px, 3.75vw, 60px);
}

.post-edition main .post-hero {
  --hero-frame: min(1360px, calc(100vw - 42px));
  margin-bottom: var(--post-space);
}

.post-edition .post-hero figure {
  border: 1px solid #fff3e82a;
  border-radius: var(--post-radius);
}

.post-edition .post-hero .post-hero-caption {
  color: var(--post-text);
  margin: .65rem auto 0;
  width: min(100%, var(--post-width));
  padding: 0;
}

.post-edition .copy > :is(p, ul, ol) {
  max-width: var(--post-reading);
  margin-block: .85em;
  line-height: 1.62;
  overflow-wrap: break-word;
}

.post-edition .copy > :first-child { margin-block-start: 0; }
.post-edition .copy > :last-child { margin-block-end: 0; }
.post-edition .copy li a { white-space: normal; }
.post-edition:not(.studio-on) .copy > [data-field]:empty { display: none; }

.post-edition main > #keys-field-notes,
.post-edition article > .jumper {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1rem;
  border-block: 1px solid var(--post-rule);
  padding-block: .7rem;
  margin: var(--post-space) 0;
  max-width: none;
  font-size: .88rem;
}

.post-edition main > .music {
  max-width: 760px;
  margin-bottom: 1.25rem;
}

.post-edition main:is([data-post="02"],[data-mission-comparisons]) :is(.place-story,.keys-coda) {
  margin-block: var(--post-section);
}

.post-edition .place-heading {
  margin-block-end: 1.1rem;
  padding-block-start: 1.15rem;
  border-color: var(--post-rule);
}
.post-edition .place-heading :is(h2,h3) { text-wrap: balance; }
.post-edition .place-story > .copy { margin: 0 0 1.3rem; }
.post-edition .place-story > .copy:not(:first-child) + .copy { margin-top: -.25rem; }
.post-edition .place-story > .place-sources { margin-top: .65rem; }
.post-edition .next-chapter-hero a { border-radius: var(--post-radius); }

.post-edition main:is([data-post="02"],[data-mission-comparisons]) .spread-list {
  margin-block: var(--post-space);
}
.post-edition main:is([data-post="02"],[data-mission-comparisons]) .spread-list > .keys-pair + .keys-pair {
  margin-top: clamp(1.85rem, 4vw, 3.65rem);
  padding-top: 0;
  border-top: 0;
}
.post-edition main:is([data-post="02"],[data-mission-comparisons]) .keys-pair .spread-row {
  gap: var(--post-gap) !important;
}
.post-edition main:is([data-post="02"],[data-mission-comparisons]) .keys-pair .spread-panel {
  border-radius: var(--post-radius);
  box-shadow: 0 6px 18px #130d1721;
}
.post-edition main:is([data-post="02"],[data-mission-comparisons]) .keys-pair .panel-label {
  text-wrap: pretty;
}
.post-edition main:is([data-post="02"],[data-mission-comparisons]) .keys-pair .spread-row:not(.keys-split-row) .panel-view {
  background: var(--post-screen);
}
.post-edition main:is([data-post="02"],[data-mission-comparisons]) .keys-pair :is(.spread-caption,.spread-note) {
  color: var(--post-text);
  padding: 0;
}
.post-edition main:is([data-post="02"],[data-mission-comparisons]) .keys-pair :is(.keys-split,.intro-compare) {
  border: 1px solid #fff3e825;
  border-radius: var(--post-radius);
}

@media (min-width: 681px) {
  .post-edition main:is([data-post="02"],[data-mission-comparisons]) .keys-pair .spread-row:not(.keys-split-row) .spread-panel {
    grid-template-rows: minmax(4.5rem, auto) auto;
  }
  .post-edition main:is([data-post="02"],[data-mission-comparisons]) .post-pair--landscape .spread-row:not(.keys-split-row) .panel-view {
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .post-edition main:is([data-post="02"],[data-mission-comparisons]) .post-pair--portrait-left .spread-row:not(.keys-split-row) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  }
  .post-edition main:is([data-post="02"],[data-mission-comparisons]) .post-pair--portrait-right .spread-row:not(.keys-split-row) {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
}

.post-edition .post-photo-grid {
  display: grid;
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--post-gap);
  width: 100%;
  max-width: none;
  margin: var(--post-space) 0;
}
.post-edition :is(.place-secondary,.post-photo-grid--two,.takeover-photo-duo).post-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.post-edition .post-photo {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  max-width: none;
  overflow: hidden;
  border: 1px solid var(--post-rule);
  border-radius: var(--post-radius);
  background: var(--post-card);
}
.post-edition figure.post-photo:not(.post-photo-grid > *) {
  width: min(100%, var(--post-photo-width, 610px));
  margin-block: 1.1rem var(--post-space);
}
.post-edition figure.post-photo.glades-room { --post-photo-width: 720px; }
.post-edition .keys-booking figure.post-photo { margin: 0; }
.post-edition .post-photo-grid > .post-photo { width: 100%; }

.post-edition .post-photo-tag {
  display: flex;
  align-items: center;
  align-self: flex-start;
  min-height: 1.48rem;
  margin: .58rem .72rem;
  padding: .15rem .48rem;
  border: 1px solid #ffd1de66;
  border-radius: 4px;
  background: #472b44;
  color: #ffcae0;
  font: 760 .66rem/1.12 system-ui, sans-serif;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.post-edition .post-photo--florida .post-photo-tag {
  border-color: #9faf9e;
  background: #f9f0d9;
  color: #205744;
  box-shadow: inset 0 0 0 2px #fff9eb;
}
.post-edition .post-photo--florida .post-photo-tag::after {
  content: "";
  width: .44rem;
  height: .44rem;
  margin-inline-start: .36rem;
  border-radius: 50%;
  background: #e28d2c;
}
.post-edition .post-photo--archive .post-photo-tag {
  border-color: #eab77866;
  background: #47303a;
  color: #ffe0af;
}
.post-edition .post-photo > a:has(img) {
  display: block;
  width: 100%;
  background: var(--post-screen);
  border-radius: 0;
}
.post-edition .post-photo > a:focus-visible { outline-offset: -3px; }
.post-edition .post-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(68svh, 560px);
  aspect-ratio: var(--post-thumbnail, auto);
  object-fit: contain;
  border-radius: 0;
  background: var(--post-screen);
}
.post-edition .post-photo-grid .post-photo { --post-thumbnail: 4 / 3; }
.post-edition .post-photo-grid .post-photo--portrait { --post-thumbnail: 5 / 4; }
.post-edition .post-photo-grid .post-photo--uncropped { --post-thumbnail: auto; }
.post-edition .post-photo-grid .post-photo--fill img { object-fit: cover; }
.post-edition .post-photo figcaption {
  max-width: none;
  margin: 0;
  padding: .65rem .8rem .85rem;
  color: var(--post-text);
  font: 440 clamp(.82rem, 1.3vw, .98rem)/1.48 system-ui, sans-serif;
  overflow-wrap: break-word;
}
.post-edition .post-photo figcaption strong {
  display: block;
  margin-bottom: .2rem;
  color: #fff3e8;
  font-weight: 720;
  line-height: 1.22;
}
.post-edition .post-photo .post-caption--inline strong { display: inline; }
.post-edition .post-photo figcaption a { color: #ffc2d8; }
.mission-edition.post-edition main > section:has(> .post-photo-grid) > h2 {
  font: 400 clamp(1.7rem, 3.65vw, 3.15rem)/1.07 "Archivo Black", system-ui, sans-serif;
  letter-spacing: -.04em;
}
.post-edition:not(.studio-on) .post-photo figcaption:empty { display: none; }
.post-edition .post-photo-grid:has(> .post-photo:only-child) { grid-template-columns: minmax(0, 620px); }

@media (min-width: 1000px) {
  .post-edition .post-photo-grid:has(> .post-photo:nth-child(4):last-child) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 761px) and (max-width: 999px) {
  .post-edition .post-photo-grid:has(> .post-photo:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 356px) and (max-width: 760px) {
  .post-edition .post-photo-grid:has(> .post-photo:nth-child(3):last-child) > .post-photo:last-child {
    grid-column: 1 / -1;
  }
}


.post-edition :is(.place-film,.hamlet-film,.takeover-film) {
  border-radius: var(--post-radius);
}
.post-edition :is(.place-film,.hamlet-film,.takeover-film) video {
  display: block;
  max-width: 100%;
  border-radius: .4rem;
  background: var(--post-screen);
}
.post-edition :is(.place-film,.hamlet-film,.takeover-film) figcaption {
  color: var(--post-text);
  line-height: 1.5;
}
.post-edition .hamlet-film figcaption { margin-top: .7rem; }
.post-edition .place-story .keys-console { margin-top: 0; }
.post-edition .place-story .word-still:has(.keys-console) { max-width: min(100%, 880px); }

.intro-edition.post-edition .headline { padding-bottom: 1.15rem; }
.intro-edition.post-edition .intro-highlights-opening { margin-bottom: var(--post-space); }
.intro-edition.post-edition .intro-teaser {
  margin-block: var(--post-section);
  padding-top: var(--post-space);
}
.intro-edition.post-edition .intro-teaser h2 {
  font-size: clamp(2.8rem, 7vw, 6.35rem);
  margin-bottom: .85rem;
  text-wrap: balance;
}
.intro-edition.post-edition .intro-teaser-copy {
  max-width: var(--post-reading);
  margin-block: .75rem .8rem;
}
.intro-edition.post-edition .intro-radio { margin: 0; }
.intro-edition.post-edition .intro-teaser > .spread-list { margin: 1.15rem 0; }
.intro-edition.post-edition .spread-row { gap: var(--post-gap); }
.intro-edition.post-edition .spread-panel {
  overflow: hidden;
  border: 1px solid var(--post-rule);
  border-radius: var(--post-radius);
  background: var(--post-card);
}
.intro-edition.post-edition .panel-view img {
  border-radius: 0;
  background: var(--post-screen);
}
.intro-edition.post-edition .spread-panel .panel-label {
  margin: .55rem .65rem .7rem;
  font-size: .88rem;
  line-height: 1.35;
}
.intro-edition.post-edition .intro-compare { border-radius: var(--post-radius); }
.intro-edition.post-edition .spread-row:has(.intro-compare) .panel-view { margin: .45rem .65rem 0; }
.intro-edition.post-edition .intro-chapter-link { border-radius: .45rem; }

.takeover-edition.post-edition .takeover-chapter > .chapter { margin-block: var(--post-section); }
.takeover-edition.post-edition .takeover-subhead { margin-bottom: .75rem; }
.takeover-edition.post-edition .takeover-chapter > header { width: auto; }
.takeover-edition.post-edition .takeover-chapter-heading { border-radius: var(--post-radius); }
.takeover-edition.post-edition .takeover-chapter-heading h2 {
  font-family: "Archivo Black", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.8vw, 4rem);
}
.takeover-edition.post-edition .pair-special {
  max-width: none;
  margin: var(--post-space) 0;
}
.takeover-edition.post-edition .keys-pair figcaption { padding: 0; }
.takeover-edition.post-edition .takeover-film {
  width: min(100%, 670px);
  border: 1px solid var(--post-rule);
  background: var(--post-card);
}
.takeover-edition.post-edition .takeover-film--portrait { width: min(100%, 485px); }
.takeover-edition.post-edition .takeover-feature-media {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--post-gap);
  margin-block: var(--post-space);
}
.takeover-edition.post-edition .takeover-feature-media > .takeover-film { width: 100%; margin: 0; }
.takeover-edition.post-edition .takeover-feature-media > .post-photo-grid { margin: 0; }
.takeover-edition.post-edition .takeover-feature-media .post-photo-grid { grid-template-columns: minmax(0,1fr); }
.takeover-edition.post-edition .takeover-hotel-stills .post-photo {
  --post-thumbnail: auto;
}
.takeover-edition.post-edition .takeover-hotel-stills .post-photo img { max-height: none; }
@media (min-width: 761px) {
  .takeover-edition.post-edition .takeover-hotel-stills .post-photo--portrait {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    align-items: start;
  }
  .takeover-edition.post-edition .takeover-hotel-stills .post-photo--portrait > a {
    grid-area: 1 / 1 / 4 / 2;
  }
  .takeover-edition.post-edition .takeover-hotel-stills .post-photo--portrait .post-photo-tag { grid-area: 1 / 2; }
  .takeover-edition.post-edition .takeover-hotel-stills .post-photo--portrait figcaption {
    grid-area: 2 / 2;
    padding-top: .12rem;
  }
}
.takeover-edition.post-edition .post-photo-grid :is(.takeover-home-loot, .burger-flight) {
  grid-column: 1 / -1;
}
.takeover-edition.post-edition .burger-flight .takeover-home-loot {
  width: min(100%, 660px);
  justify-self: center;
}
.takeover-edition.post-edition .post-photo-grid figure.burger-flight {
  width: 100%;
  margin: 0;
}
.takeover-edition.post-edition .takeover-photo-duo > figcaption {
  margin: 0;
  padding: 0;
}
.takeover-edition.post-edition #miami-recreations {
  border-top: 1px solid var(--post-rule);
  padding-top: var(--post-space);
}
.takeover-edition.post-edition #comparison-takeover-wall .panel-label a { color: #205744; }

@media (max-width: 760px) {
  .post-edition .post-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .takeover-edition.post-edition .takeover-feature-media { grid-template-columns: minmax(0,1fr); }
  .takeover-edition.post-edition .takeover-feature-media .post-photo-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .takeover-edition.post-edition .takeover-hotel-stills .post-photo {
    --post-thumbnail: 1;
  }
}

@media (max-width: 670px) {
  .post-edition main .post-hero { --hero-frame: calc(100vw - 24px); }
  .post-edition .post-hero:not(.post-hero--illustration) figure { border-radius: var(--post-radius) var(--post-radius) 0 0; }
  .post-edition .post-hero .post-hero-caption { margin: 0; padding: 0 18px 14px; }
  .post-edition .post-photo-tag { margin: .45rem .5rem; }
  .post-edition .post-photo figcaption { padding: .55rem .56rem .7rem; }
  .intro-edition.post-edition .headline { padding-top: 1.35rem; }
}

@media (max-width: 355px) {
  .post-edition .post-photo-grid:has(> .post-photo) {
    grid-template-columns: minmax(0,1fr);
  }
}
.post-edition figure.garage-promo {
  --post-photo-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--post-space);
}
.post-edition figure.garage-promo img { max-height: none; }
@media (min-width: 681px) {
  .post-edition main[data-mission-comparisons] .takeover-portrait-pair .panel-view { height: clamp(320px, 42vw, 550px); }
}
