/* DM Sans and DM Serif Text are distributed under the SIL Open Font License (see fonts/). */
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/dm-sans-v17-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/dm-sans-v17-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "DM Serif Text"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/dm-serif-text-v13-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "DM Serif Text"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/dm-serif-text-v13-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "DM Serif Text"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/dm-serif-text-v13-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "DM Serif Text"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/dm-serif-text-v13-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
:root {
  color-scheme: light;
  --paper: #faf5ed;
  --ink: #2d1023;
  --accent: #a70d48;
  --rule: #cbb8bc;
  --blush: #f4e2dc;
  --serif: "DM Serif Text", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.45 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .wordmark { font-family: var(--serif); font-weight: 400; line-height: 1.02; }
.wrap { width: min(100% - 64px, 1320px); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--paper); padding: .65rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.masthead { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: clamp(16px, 3vw, 42px); padding-block: 12px 17px; }
.wordmark { font-size: clamp(2.65rem, 6.6vw, 6.5rem); letter-spacing: -.078em; white-space: nowrap; }
.wordmark span { color: var(--accent); margin-left: .04em; }
.masthead nav { display: flex; gap: clamp(14px, 2.05vw, 32px); font-weight: 700; }
.masthead nav a:hover, .masthead nav [aria-current], .masthead nav a[href="/scandals/"] { color: var(--accent); }
.masthead nav [aria-current] { text-decoration: underline; text-underline-offset: .35em; }
.search-button { display: grid; place-items: center; border: 0; border-left: 1px solid var(--rule); color: var(--ink); background: none; width: 49px; height: 42px; }
.search-icon { width: 18px; height: 18px; border: 2px solid; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; width: 9px; height: 2px; background: currentColor; position: absolute; right: -7px; bottom: -3px; transform: rotate(47deg); }

.edition { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; background: var(--accent); color: #fff; padding: 8px 15px; }
.edition strong, .kicker { font-size: .73rem; text-transform: uppercase; font-weight: 700; letter-spacing: .11em; }
.edition a { border-left: 1px solid #ffffff80; padding-left: 20px; font-size: .88rem; }
.edition a:hover { text-decoration: underline; }
.front-page { display: grid; grid-template-columns: 1.85fr 1fr; gap: clamp(18px, 2.15vw, 30px); padding-block: 19px 23px; border-bottom: 1px solid var(--ink); }
.secondary { display: grid; align-content: start; gap: 16px; }
.story-card { min-width: 0; }
.story-link { display: block; }
.story-link:hover h1, .story-link:hover h2, .story-link:hover h3 { color: var(--accent); }
.media { overflow: hidden; background: var(--blush); }
.media img { height: 100%; object-fit: cover; }
.media.file-photo { position: relative; }
.media.file-photo img, .media img[src^="/media/"] { object-fit: contain; }
.file-photo-label { position: absolute; right: 0; bottom: 0; padding: 3px 6px; font-size: .65rem; color: #fff; background: #292128; }
.lead .media { aspect-ratio: 1.9; }
.secondary .media { aspect-ratio: 2.7; }
.metadata { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 7px; }
.kicker { color: var(--accent); }
.spoiler { font-size: .71rem; font-weight: 700; color: #614753; }
.story-date { font-size: .71rem; color: #614753; }
.card-copy { padding-top: 9px; }
.lead h1 { font-size: clamp(2.05rem, 4.05vw, 4.4rem); letter-spacing: -.043em; }
.secondary h2 { font-size: clamp(1.55rem, 2.4vw, 2.45rem); letter-spacing: -.025em; }
.card-copy p { margin-top: 6px; }
.secondary p { font-size: .94rem; }

.front-lower { display: grid; grid-template-columns: 1.85fr 1fr; align-items: start; gap: clamp(18px, 2.15vw, 30px); margin-top: 24px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 12px; }
.section-heading h2, .sidebar h2, .newsletter h2, .related > h2, .hub-section > h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); letter-spacing: -.035em; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button { border: 1px solid var(--rule); border-radius: 3px; background: transparent; padding: 6px 9px; color: var(--ink); font-size: .78rem; font-weight: 700; }
.filters button:hover { border-color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--accent); color: white; border-color: var(--accent); }
.row { border-top: 1px solid var(--rule); padding-block: 12px; }
.row .story-link { display: grid; grid-template-columns: clamp(102px, 19vw, 210px) 1fr; gap: 14px; align-items: center; }
.row.no-card-image .story-link { display: block; }
.row .media { aspect-ratio: 1.75; }
.story-card .media.trailer-poster { aspect-ratio: 16 / 9; }
.row .card-copy { padding: 0; }
.row :is(h2, h3) { font-size: clamp(1.2rem, 2.25vw, 1.85rem); letter-spacing: -.02em; }
.row p { font-size: .9rem; }

.sidebar { display: grid; gap: 16px; }
.schedule, .receipts { padding: 16px; border: 1px solid var(--rule); }
.schedule ul { list-style: none; margin: 10px 0 0; padding: 0; }
.schedule li { display: flex; flex-direction: column; gap: 1px; padding-block: 8px; border-top: 1px solid var(--rule); }
.schedule li:last-child { padding-bottom: 0; }
.schedule li a { font-weight: 700; }
.schedule li a:hover, .receipts a:hover { text-decoration: underline; text-underline-offset: .17em; }
.schedule li :is(span,time) { color: #614753; font-size: .88rem; }
.schedule h3 { margin-top: 16px; }
.receipts { background: var(--blush); }
.receipts h2 { color: var(--accent); font-style: italic; margin: 4px 0 8px; }
.receipts a { font-weight: 700; }
.newsletter { margin-top: 24px; padding: 20px; background: var(--blush); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.newsletter p { margin-top: 4px; }
.newsletter a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.footer { border-top: 1px solid var(--rule); margin-top: 30px; padding-block: 20px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; }
.footer .wordmark { font-size: 2rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; }
.footer nav a:hover { text-decoration: underline; }

.page-heading { border-top: 1px solid var(--rule); padding: 26px 0 20px; }
.page-heading h1, .show-header h1 { font-size: clamp(2.75rem, 6vw, 5.3rem); letter-spacing: -.04em; }
.page-heading p, .show-header p { margin-top: 10px; font-size: 1.1rem; }
.show-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.show-card { display: flex; flex-direction: column; background: var(--ink); color: var(--paper); }
.show-card img, .show-header img { aspect-ratio: 16 / 9; object-fit: cover; }
.show-card-copy { flex: 1; padding: 15px 18px 18px; border-top: 2px solid #df859f; }
.show-card .kicker { color: #f5adbf; }
.show-card h2 { font-size: clamp(1.55rem, 2.7vw, 2.35rem); margin-block: 6px 9px; letter-spacing: -.025em; }
.show-card p { color: #efdde3; font-size: .88rem; }
.show-card:hover h2 { text-decoration: underline; text-underline-offset: .15em; }
.show-header { display: grid; grid-template-columns: 1fr 1.25fr; gap: 26px; align-items: center; padding-block: 15px; border-top: 1px solid var(--rule); }
@media (641px <= width <= 950px) {
  .show-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.section-nav { display: flex; gap: 20px; flex-wrap: wrap; border-block: 1px solid var(--rule); padding-block: 12px; font-weight: 700; color: var(--accent); }
.hub-section { margin-top: 24px; }
.hub-section > h2, .related > h2 { margin-bottom: 14px; }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: .15em; display: inline-block; margin-top: 8px; font-weight: 700; }
.article { width: min(100%, 930px); margin-inline: auto; padding-block: 15px; border-top: 1px solid var(--rule); }
.backlink { display: inline-block; margin-bottom: 15px; color: var(--accent); font-weight: 700; }
.backlink:hover { text-decoration: underline; }
.article h1 { font-size: clamp(2.55rem, 5.3vw, 5.15rem); letter-spacing: -.045em; }
.dek { font-size: clamp(1.1rem, 2vw, 1.4rem); margin-top: 12px; }
.byline, figcaption { color: #614753; font-size: .83rem; margin-top: 8px; }
.byline a { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: .18em; }
.article figure { margin-block: 18px 24px; }
.official-video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.youtube-video { min-height: 200px; }
.article figure img { width: auto; max-width: 100%; height: auto; max-height: min(70vh, 640px); aspect-ratio: auto; object-fit: contain; }
.article-copy { width: min(100%, 680px); font-size: 1.07rem; line-height: 1.6; }
.article-copy h2 { font-size: 1.75rem; margin-bottom: 7px; }
.article-copy section { margin-bottom: 22px; }
.story-takeaways { border-block: 1px solid var(--rule); padding: 16px 0; }
.story-takeaways ul { margin: 0; padding-left: 1.3em; }
.sources { border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 20px; }
.sources ul { padding-left: 18px; margin-top: 0; }
.timeline { padding: 0 0 0 20px; border-left: 2px solid var(--accent); list-style: none; }
.timeline li { position: relative; margin-bottom: 22px; }
.timeline li::before { content: ""; width: 9px; height: 9px; background: var(--accent); border-radius: 50%; position: absolute; left: -25.5px; top: 9px; }
.related { width: min(100%, 930px); margin: 20px auto 0; }
.guide-links { padding-left: 1.2em; margin-block: 0; }
.author-page { width: min(100%, 930px); margin-inline: auto; }
.breadcrumbs { margin-block: 12px; font-size: .875rem; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: 8px; }
.breadcrumbs a { color: var(--accent); text-decoration: underline; text-underline-offset: .15em; }
.season-guide p { max-width: 68ch; margin-block: .6em 1em; }

dialog { background: var(--paper); border: 1px solid var(--rule); color: var(--ink); padding: 22px; width: min(540px, 100% - 32px); max-height: 85vh; }
dialog::backdrop { background: #2d1023a6; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 8px; }
.dialog-head h2 { font-size: 2rem; }
.dialog-head button { background: none; border: 0; color: var(--ink); font-size: 1.6rem; min-width: 40px; }
dialog label { font-size: .9rem; }
dialog input { width: 100%; margin-top: 4px; border: 1px solid var(--rule); padding: 8px 10px; color: var(--ink); background: #fff; }
#search-status { font-size: .82rem; margin-top: 8px; }
#search-results { list-style: none; margin: 8px 0 0; padding: 0; }
#search-results a { display: block; border-top: 1px solid var(--rule); padding: 8px 0; font-weight: 700; }
#search-results a:hover { color: var(--accent); }
#search-results small { display: block; color: #614753; font-weight: 500; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { gap: 6px 16px; }
  .masthead nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; }
  .search-button { grid-column: 3; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  .masthead { padding-bottom: 12px; }
  .masthead nav { gap: 4px 16px; font-size: .9rem; }
  .masthead nav a { padding: 4px 0; }
  .edition { padding: 7px 10px; }
  .edition a { border: 0; padding-left: 0; }
  .front-page, .front-lower, .show-grid, .show-header { grid-template-columns: minmax(0, 1fr); }
  .lead .media { aspect-ratio: 1.55; }
  .secondary { gap: 14px; }
  .secondary .media { aspect-ratio: 2.1; }
  .row p { display: none; }
  .front-lower { margin-top: 18px; }
  .latest { display: contents; }
  .section-heading { margin-bottom: 0; }
  .show-header { gap: 12px; }
}
