/* Sunday — cover-led magazine. All colour and shadow roles are tokens. */
:root {
  --section-paper: oklch(1 0 0); --section-ink: oklch(0 0 0);
  --sd-paper: oklch(1 0 0);
  --sd-ink: oklch(0.17 0 0);
  --sd-note: oklch(0.46 0 0);
  --sd-line: oklch(0.89 0 0);
  --sd-soft: oklch(0.965 0.004 80);
  --sd-on-ink: oklch(0.985 0 0);
  --sd-on-ink-note: oklch(0.76 0 0);
  --sd-shade: oklch(0.18 0.05 248);
  --sd-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  /* Section colours (Ghost: each tag's accent colour) */
  --travel: oklch(0.36 0.1 250);
  --travel-on: oklch(0.985 0 0);
  --travel-text: oklch(0.42 0.13 250);
  --food: oklch(0.55 0.19 33);
  --food-on: oklch(0.99 0 0);
  --culture: oklch(0.19 0.01 30);
  --culture-on: oklch(0.985 0 0);
  --tone: var(--travel); --on-tone: var(--travel-on); --tone-text: var(--travel-text);
  --sd-display: var(--gh-font-heading, "Bodoni Moda"), Georgia, serif;
  --sd-serif: var(--gh-font-body, "Source Serif 4"), Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-optical-sizing: auto; overflow-wrap: anywhere; }
button, input { font: inherit; }
/* Two-tone focus stays visible on photographs and arbitrary section colours. */
:focus-visible { outline: 2px solid #fff; outline-offset: 1px; box-shadow: 0 0 0 5px #101010; }
.sd-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; box-shadow: none; }
@media (forced-colors: active) { :focus-visible { outline-color: Highlight; } }

[data-type="Caslon and Newsreader"], [data-type="Garamond and humanist"] {
  --sd-display: var(--gh-font-heading, "Libre Caslon Display"), Georgia, serif;
  --sd-serif: var(--gh-font-body, "Newsreader"), Georgia, serif;
}
[data-tone="Ivory"] { --sd-paper: oklch(0.975 0.015 90); --sd-soft: oklch(0.945 0.02 90); }
[data-tone="Bone"] { --sd-paper: oklch(0.93 0.018 85); --sd-soft: oklch(0.9 0.02 85); }
[data-tone="Noir"] { --sd-paper: oklch(0.18 0 0); --sd-ink: oklch(0.98 0 0); --sd-note: oklch(0.76 0 0); --sd-line: oklch(0.4 0 0); --sd-soft: oklch(0.23 0 0); --sd-on-ink: oklch(0.18 0 0); --sd-on-ink-note: oklch(0.4 0 0); color-scheme: dark; }

.sd { min-height: 100vh; background: var(--sd-paper); color: var(--sd-ink); font-family: var(--sd-sans); }
:where(.sd) a { color: inherit; text-decoration: none; }
.sd img { display: block; max-width: 100%; }
.sd h1, .sd h2, .sd h3, .sd p, .sd figure { margin: 0; font-weight: inherit; }
.sd ul, .sd ol { margin: 0; padding: 0; list-style: none; }
.sd-wrap { width: min(100% - 48px, 1240px); margin-inline: auto; }
.sd-meta { display: block; color: var(--sd-note); font-size: 13px; }
.sd-label { display: block; color: var(--sd-note); font-size: 15px; font-weight: 600; }
.sd-kicker { display: block; color: var(--tone-text, var(--sd-ink)); font-size: 14px; font-weight: 700; }

[data-tone="Noir"] { --tone-text: #adcff4; }
.sd-image-placeholder { --tone-soft: color-mix(in oklab, var(--tone) 8%, var(--sd-paper)); }
.sd :is(.sd-archive-head, .sd-spread, .sd-article-foot, .sd-footer-legal, .pagination, .sd-access) a:not(.sd-subscribe) { text-decoration: underline; text-underline-offset: .18em; }
.sd a:hover { text-decoration-thickness: 2px; }

/* Header */
.sd-header { position: relative; z-index: 5; background: var(--sd-paper); border-bottom: 1px solid var(--sd-ink); }
.sd-header-row { display: grid; padding-block: 6px; grid-template-columns: minmax(242px, 1fr) minmax(0, max-content) minmax(242px, 1fr); align-items: center; min-height: 76px; gap: 16px; }
.sd-header--cover .sd-header-row { grid-template-columns: minmax(0, 1fr) auto; min-height: 46px; }
.sd-header-date { color: var(--sd-note); font-size: 13px; }
.sd-header-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 14px; font-weight: 600; }
.sd .sd-subscribe { padding: 7px 14px; background: var(--sd-ink); color: var(--sd-on-ink); }
.sd .sd-subscribe:hover { background: var(--travel); color: var(--travel-on); }
.sd-wordmark { display: block; font-family: var(--sd-display); font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: 0; text-align: center; }
.sd-nav { border-top: 1px solid var(--sd-line); }
.sd-nav-inner { display: flex; justify-content: center; gap: 4px 30px; flex-wrap: wrap; }
.sd-nav a { padding: 11px 0 9px; border-bottom: 3px solid transparent; font-size: 14px; font-weight: 600; }
.sd-nav a:hover { border-bottom-color: var(--tone-text); }
.sd-sr, .sd-skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sd-skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px; background: var(--sd-paper); color: var(--sd-ink); }
.sd-icon-button { display: inline-grid; place-items: center; padding: 8px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.sd-wordmark--header img { max-width: min(240px, 100%); max-height: 52px; width: auto; }
.sd-header--cover .sd-wordmark--header { display: none; }
.sd-nav-inner .nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 30px; }
.sd-nav-inner .nav a, .sd-footer-col .nav a { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 24px; }
.sd-nav-inner .nav a { display: flex; min-height: 44px; }
.sd-nav .nav-current > a { border-color: currentColor; }
.nav .nav-icon { width: 20px; height: 20px; object-fit: contain; flex: none; }
.nav .nav-label { min-width: 0; }
.sd-nav:not(:has(a)), .sd-footer-col:not(:has(a)) { display: none; }
[data-masthead="Left with dateline"] .sd-header:not(.sd-header--cover) .sd-header-row { grid-template-columns: minmax(0, max-content) minmax(160px, 1fr) auto; }
[data-masthead="Left with dateline"] .sd-wordmark--header { text-align: left; }
[data-masthead="Left with dateline"] .sd-header:not(.sd-header--cover) .sd-header-date { order: 1; }
[data-masthead="Left with dateline"] .sd-header:not(.sd-header--cover) .sd-header-actions { order: 2; }

/* Keep cover text in the flow. Extra headlines extend the cover instead of
   overlapping the masthead or creating a nested scrolling column. */
.sd-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 44px;
  min-height: max(580px, min(100svh - 90px, 66.6vw));
  background: var(--travel);
  color: var(--travel-on);
}
.sd-cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.sd-cover-mast {
  position: relative;
  z-index: 1;
  padding: 16px 16px 0;
  text-align: center;
  color: var(--travel);
  --veil: 255 255 255;
}
.sd-cover-mast::before {
  content: "";
  position: absolute;
  inset: 0 0 -55%;
  z-index: -1;
  background: linear-gradient(rgb(var(--veil) / .8), rgb(var(--veil) / .63) 62%, transparent);
  pointer-events: none;
}
[data-cover-lettering="Light masthead"] .sd-cover-mast, .sd-cover--no-image .sd-cover-mast { color: white; --veil: 0 0 0; }
.sd-cover--no-image .sd-cover-mast::before { display: none; }
.sd .sd-cover-strap { display: flex; align-items: baseline; justify-content: center; gap: 10px; font-size: 14px; font-weight: 700; }
.sd-cover-strap span:not(:empty) + span:not(:empty)::before { content: "·"; margin-right: 10px; }
.sd .sd-cover-name { width: 100%; min-width: 0; margin: 6px auto 0; font-family: var(--sd-display); font-size: clamp(112px, 17vw, 280px); font-weight: 900; line-height: .97; text-wrap: balance; }
.sd-cover-lines {
  position: relative;
  z-index: 1;
  margin: auto 0 32px max(24px, (100% - 1240px) / 2);
  width: min(470px, 44%);
}
.sd-cover-lines::before, .sd-read-text::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -72px -55% -64px min(-24px, (1240px - 100vw) / 2);
  background: linear-gradient(90deg, rgb(5 15 26 / .8), rgb(5 15 26 / .64) calc(100% - min(21vw, 260px)), transparent);
  mask-image: linear-gradient(transparent, black 68px);
  pointer-events: none;
}
.sd-cover, .sd-read { overflow: clip; }
.sd-cover--no-image .sd-cover-lines { width: min(100% - 48px, 760px); margin-inline: auto; text-align: center; }
.sd-cover--no-image .sd-cover-lines::before, .sd-read:not(:has(img)) .sd-read-text::before { display: none; }
.sd-cover-lead { display: block; }
.sd-cover-lead-big { display: block; font-family: var(--sd-display); font-weight: 800; font-size: 56px; line-height: 1; }
.sd-cover-lead-small { display: block; margin-top: 12px; font-size: 19px; font-weight: 600; line-height: 1.3; }
.sd-cover-lead:hover .sd-cover-lead-big, .sd-cover-lines li a:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.sd-cover-lines ul { margin-top: 26px; }
.sd-cover-lines li { border-top: 1px solid color-mix(in oklab, currentColor 55%, transparent); }
.sd-cover-lines li a { display: block; padding: 11px 0 12px; }
.sd-cover-lines strong { display: block; font-size: 18px; font-weight: 700; }
.sd-cover-lines li span { display: block; margin-top: 2px; font-size: 15px; }
.sd-cover-lead-small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sd-cover-lines ul:empty { display: none; }

/* Row headings and cards */
.sd-latest { padding: 64px 0 72px; }
.sd-rowhead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; padding-top: 14px; border-top: 2px solid var(--sd-ink); }
.sd-rowhead :is(h1, h2) { font-family: var(--sd-display); font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: 0; }
.sd-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 28px; }
.sd-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.sd-card-link { display: block; }
.sd-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.sd-card .sd-kicker { margin: 16px 0 6px; }
.sd-card :is(h2, h3) { font-size: 20px; font-weight: 700; line-height: 1.22; letter-spacing: 0; }
.sd-card .sd-meta { margin-top: 10px; }
.sd-card-link:hover :is(h2, h3), .sd-band-lead:hover h3, .sd-more a:hover .sd-more-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Section bands */
.sd-band { padding: 56px 0 64px; background: var(--tone); color: var(--on-tone); }
.sd-band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 36px; padding-bottom: 12px; border-bottom: 1px solid color-mix(in oklab, currentColor 40%, transparent); }
.sd-band-head h2 { font-family: var(--sd-display); font-size: clamp(64px, 9vw, 100px); font-weight: 900; line-height: 1; letter-spacing: 0; }
.sd-band-head a { max-width: 40%; flex: 0 0 auto; font-size: 15px; font-weight: 600; }
.sd-band-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.sd-band-lead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sd-band-kicker { display: block; font-size: 15px; font-weight: 700; }
.sd-band-text h3 { margin: 10px 0 16px; font-family: var(--sd-display); font-size: clamp(34px, 3.7vw, 52px); font-weight: 700; line-height: 1.03; letter-spacing: 0; text-wrap: balance; }
.sd-band-text p { font-family: var(--sd-serif); font-size: 19px; line-height: 1.5; }
.sd-band-meta { display: block; margin-top: 16px; font-size: 14px; }
.sd .sd-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.sd-more li { padding-top: 14px; border-top: 2px solid currentColor; }
.sd-more a { display: block; }
.sd-more-title { display: block; font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
.sd-more-dek { display: block; margin-top: 6px; font-family: var(--sd-serif); font-size: 16px; line-height: 1.4; }
.sd-band:nth-child(even) .sd-band-lead { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.sd-band:nth-child(even) .sd-band-lead > :first-child { order: 2; }
.sd-image-placeholder { display: grid; place-items: center; aspect-ratio: 4 / 5; width: 100%; background: var(--tone-soft); color: var(--tone-text); font-family: var(--sd-display); font-size: 28px; overflow-wrap: anywhere; padding: 16px; }
.sd-card img { height: auto; }
.sd-band .sd-image-placeholder { aspect-ratio: 3 / 2; }
.sd .sd-more:empty { display: none; }
.sd-card-link > :is(img, .sd-image-placeholder) + :is(h2, h3) { margin-top: 16px; }
.sd-image-placeholder { text-align: center; font-size: clamp(18px, 2vw, 28px); line-height: 1.12; min-width: 0; }
.sd-image-placeholder span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }

/* Weekend read */
.sd-read { position: relative; display: flex; flex-direction: column; min-height: 700px; padding-top: 64px; background: var(--culture); color: var(--culture-on); overflow: hidden; }
.sd-read img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sd-read-text { position: relative; z-index: 1; width: min(560px, 46%); margin: auto 0 64px max(24px, (100% - 1240px) / 2); padding-top: 1px; }
.sd-read:not(:has(img)) { padding-block: 48px; min-height: 0; text-align: center; }
.sd-read:not(:has(img)) .sd-read-text { margin: 0 auto; width: min(100% - 48px, 860px); }
.sd-read-kicker { display: block; font-size: 15px; font-weight: 700; }
.sd-read h2 { margin: 12px 0 18px; font-family: var(--sd-display); font-size: clamp(50px, 6.2vw, 92px); font-weight: 800; line-height: 0.94; letter-spacing: 0; }
.sd-read p { font-family: var(--sd-serif); font-size: 20px; line-height: 1.5; }
.sd .sd-button { display: inline-block; margin-top: 28px; padding: 14px 22px; background: var(--culture-on); color: var(--culture); font-size: 15px; font-weight: 700; }
.sd .sd-button:hover { background: var(--food); color: var(--food-on); }

/* Subscribe */
.sd-subscribe-block { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: center; margin-top: 80px; margin-bottom: 80px; padding: 52px 64px; background: var(--sd-soft); }
.sd-minicover { position: relative; background: var(--travel); aspect-ratio: 4 / 5; overflow: hidden; transform: rotate(-3deg); box-shadow: 0 26px 40px -22px color-mix(in oklab, var(--sd-ink) 60%, transparent); }
.sd .sd-minicover img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.sd-minicover-mast { position: absolute; top: 5%; left: 0; right: 0; color: var(--travel); font-family: var(--sd-display); font-size: 58px; font-weight: 900; line-height: 1; letter-spacing: 0; text-align: center; }
.sd-minicover-line { position: absolute; left: 9%; bottom: 9%; width: 82%; color: var(--travel-on); font-family: var(--sd-display); font-size: 24px; font-weight: 800; line-height: 0.95; text-shadow: 0 1px 12px color-mix(in oklab, var(--sd-shade) 50%, transparent); }
.sd-subscribe-copy h2 { font-family: var(--sd-display); font-size: clamp(38px, 4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: 0; }
.sd-subscribe-copy > p { max-width: 580px; margin-top: 14px; color: var(--sd-note); font-family: var(--sd-serif); font-size: 19px; line-height: 1.5; }
.sd-subscribe-copy form { display: flex; max-width: 540px; margin-top: 26px; }
.sd-subscribe-copy input { flex: 1 1 auto; width: 0; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid var(--sd-ink); border-right: 0; background: var(--sd-paper); color: var(--sd-ink); font: inherit; font-size: 16px; }
.sd-subscribe-copy button { flex: 0 0 auto; height: 52px; padding: 0 26px; border: 0; background: var(--sd-ink); color: var(--sd-on-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.sd-subscribe-copy button:hover { background: var(--travel); color: var(--travel-on); }
.sd-subscribe-copy:only-child { grid-column: 1 / -1; }
.sd-subscribe-copy input::placeholder { color: var(--sd-note); opacity: 1; }
.sd-minicover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(255 255 255 / .8), transparent 45%, rgb(0 0 0 / .85)); }
.sd-minicover-mast, .sd-minicover-line { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.sd-minicover-mast { max-width: 96%; margin-inline: auto; -webkit-line-clamp: 3; }
.sd-minicover-line { -webkit-line-clamp: 4; }
.sd-subscribe-copy form { position: relative; flex-wrap: wrap; }
.sd-subscribe-copy .sd-form-success, .sd-subscribe-copy .sd-form-error { display: none; flex-basis: 100%; margin-top: 14px; font-size: 15px; line-height: 1.4; }
.sd-form-loading { display: none; }
.sd-subscribe-copy form.loading .sd-form-ready { display: none; }
.sd-subscribe-copy form.loading .sd-form-loading { display: inline; }
.sd-subscribe-copy form.loading button { pointer-events: none; opacity: 0.7; }
.sd-subscribe-copy form.success .sd-form-success, .sd-subscribe-copy form.error .sd-form-error { display: block; }
.sd-subscribe-copy form.success input, .sd-subscribe-copy form.success button { display: none; }

/* Footer */
.sd-footer { padding: 56px 0 28px; background: var(--sd-ink); color: var(--sd-on-ink); }
.sd-footer-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; }
.sd-wordmark--footer { font-size: 64px; text-align: left; }
.sd-footer-top p { max-width: 300px; margin-top: 14px; color: var(--sd-on-ink-note); font-family: var(--sd-serif); font-size: 16px; line-height: 1.45; }
.sd-footer-col :is(h2, h3) { margin-bottom: 14px; color: var(--sd-on-ink-note); font-size: 14px; font-weight: 700; }
.sd-footer-col li { margin-bottom: 9px; font-size: 15px; }
.sd-footer-col { min-width: 0; overflow-wrap: anywhere; }
.sd-footer-col:last-child { grid-column: -2 / -1; }
.sd-footer-legal > span { max-width: 100%; }
.sd-footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sd-footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--sd-note); color: var(--sd-on-ink-note); font-size: 12px; }
.sd-footer-col .nav { display: block; }
.sd-footer-legal a:hover { text-decoration: underline; }

/* Story: the opening spread */
.sd-spread { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: clamp(520px, 100svh - 120px, 840px); }
.sd-spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 72px; transform: translateX(-50%); pointer-events: none; background: linear-gradient(90deg, transparent 0%, color-mix(in oklab, var(--sd-ink) 22%, transparent) 50%, transparent 100%); }
.sd-spread-photo { position: relative; display: flex; flex-direction: column; min-height: 420px; }
.sd .sd-spread-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.sd-spread-photo figcaption { position: relative; margin-top: auto; align-self: start; max-width: 100%; padding: 10px 16px; background: rgb(0 0 0 / .76); color: white; font-size: 13px; line-height: 1.45; }
.sd-spread-page { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 36px 56px 32px 72px; background: var(--tone); color: var(--on-tone); }
.sd-spread-running { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid color-mix(in oklab, currentColor 45%, transparent); font-size: 13px; font-weight: 600; }
.sd-spread-title h1 { font-family: var(--sd-display); font-size: clamp(44px, 4.6vw, 70px); font-weight: 800; line-height: 1; letter-spacing: 0; text-wrap: balance; }
.sd-spread-title > p { margin-top: 22px; font-family: var(--sd-serif); font-size: 20px; line-height: 1.45; }
.sd .sd-spread-byline { margin-top: 22px; font-family: var(--sd-sans); font-size: 14px; }
.sd-spread-byline strong { font-weight: 700; }
.sd-spread-folio { display: flex; align-items: baseline; gap: 14px; font-size: 13px; }
.sd-spread--no-image { grid-template-columns: minmax(0, 1fr); }
.sd-spread--no-image::after { display: none; }
.sd-spread--no-image .sd-spread-page { padding-inline: max(24px, calc((100% - 1000px) / 2)); }
[data-feature="Full bleed"] .sd-spread, [data-feature="Framed plate"] .sd-spread { display: flex; flex-direction: column; }
[data-feature="Full bleed"] .sd-spread::after, [data-feature="Framed plate"] .sd-spread::after { display: none; }
[data-feature="Full bleed"] .sd-spread-photo { min-height: 65svh; }
[data-feature="Framed plate"] .sd-spread { width: min(100% - 48px, 1240px); margin: 40px auto 0; border: 1px solid var(--sd-line); }
[data-feature="Framed plate"] .sd-spread-photo { min-height: 560px; }
/* A more expansive display opening and double rule distinguish features. */
.sd-article.featured .sd-spread-title h1 { font-size: clamp(42px, 5.5vw, 86px); }
.sd-article.featured .sd-spread-running { border-bottom: 4px double currentColor; }
.sd-article.featured .sd-spread-title > p:not(.sd-spread-byline) { font-style: italic; }
.sd-spread--no-image, [data-feature="Full bleed"] .sd-spread, [data-feature="Framed plate"] .sd-spread { min-height: 0; }
.sd-spread--no-image .sd-spread-title { margin-block: 5vh; }

/* Not found and error pages */
.sd-status { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; text-align: center; }
.sd-status h1 { margin: 14px 0 12px; font-family: var(--sd-display); font-size: clamp(34px, 5vw, 52px); font-weight: 800; line-height: 1.05; }
.sd .sd-status-button { padding: 13px 22px; border: 1px solid var(--sd-ink); background: var(--sd-ink); color: var(--sd-on-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.sd .sd-status-button:hover { background: var(--travel); color: var(--travel-on); border-color: var(--travel); }

/* Archives, pages and pagination */
.sd-archive-head { padding-block: 64px; }
.sd-archive-head h1, .sd-empty h1 { margin: 12px 0; font-family: var(--sd-display); font-size: 72px; font-weight: 800; line-height: 1.05; overflow-wrap: anywhere; }
.sd-archive-head p { max-width: 680px; margin-top: 16px; font-family: var(--sd-serif); font-size: 20px; line-height: 1.5; }
.sd-archive-head figure { margin-top: 32px; }
.sd-archive-head img:not(.sd-author-avatar) { margin-top: 28px; max-height: 500px; width: 100%; object-fit: cover; }
.sd-author-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.sd-empty, .sd-editor { padding-block: 64px; }
.sd-editor p { max-width: 680px; margin-top: 18px; font-family: var(--sd-serif); font-size: 24px; line-height: 1.5; }
.sd-editor h2 { font-size: 18px; font-weight: 700; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--sd-line); font-size: 14px; }

/* Editor content. Use the available page width for full-bleed cards, excluding
   the scrollbar on systems where it has a physical width. */
.sd-article, .sd-page { container-type: inline-size; }
.sd-article-body { width: min(100% - 48px, 680px); margin: 64px auto 0; font-family: var(--sd-serif); }
.sd-article-body blockquote { margin: 48px 0; padding-top: 18px; border-top: 4px solid var(--tone); }
.sd-article-body blockquote cite { color: var(--sd-note); font-family: var(--sd-sans); font-size: 14px; font-style: normal; }
.sd .gh-content { display: flow-root; margin-bottom: 48px; }
.sd .gh-content > p { margin: 0 0 1.25em; font-size: 20px; line-height: 1.65; }
.sd .gh-content :is(p, li, figcaption, blockquote) a { text-decoration: underline; text-underline-offset: 3px; }
.sd .gh-content > :is(h1, h2, h3, h4, h5, h6) { margin: 40px 0 16px; font-family: var(--sd-sans); font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.sd .gh-content > h1 { font-size: 36px; }
.sd .gh-content > h2 { font-size: 28px; }
.sd .gh-content > h3 { font-size: 24px; }
.sd .gh-content > h4 { font-size: 20px; }
.sd .gh-content ul, .sd .gh-content ol { padding-left: 1.5em; margin-block: 24px; list-style: revert; font-size: 20px; line-height: 1.65; }
.sd .gh-content li + li { margin-top: 8px; }
.sd .gh-content blockquote { font-family: var(--sd-display); margin-block: 40px; color: var(--tone-text); font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; line-height: 1.2; }
.sd .gh-content blockquote p + p { margin-top: 14px; }
.sd .sd-article .gh-content > p:last-child::after { content: ""; display: inline-block; width: 10px; height: 10px; margin-left: 8px; background: var(--tone); }
[data-dropcap] .sd-article .gh-content > p:first-child::first-letter { float: left; font-family: var(--sd-display); font-size: 98px; line-height: 0.74; padding: 8px 12px 0 0; color: var(--tone-text); }
.sd .gh-content > * + * { margin-top: 28px; }
.sd .gh-content figure { margin-block: 36px; }
.sd .gh-content figcaption { padding: 10px 16px 0; text-align: center; color: var(--sd-note); font-family: var(--sd-sans); font-size: 13px; line-height: 1.4; }
.sd .gh-content .kg-image { max-width: 100%; height: auto; margin-inline: auto; }
.sd .gh-content > .kg-width-wide { width: min(1100px, 100cqi - 48px); margin-inline: calc(50% - min(550px, 50cqi - 24px)); }
.sd .gh-content > .kg-width-full { width: 100cqi; margin-inline: calc(50% - 50cqi); }
.sd .gh-content > :is(.kg-width-wide, .kg-width-full) .kg-image { width: 100%; }
.sd .gh-content :is(video, audio, embed) { max-width: 100%; }
.sd .gh-content .kg-embed-card iframe[src*="youtube"], .sd .gh-content .kg-embed-card iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16/9; }
.sd .gh-content .kg-gallery-container { display: flex; flex-direction: column; gap: 12px; }
.sd .gh-content .kg-gallery-row { display: flex; gap: 12px; }
.sd .gh-content .kg-gallery-image { flex: 1; min-width: 0; }
.sd .gh-content .kg-gallery-image img { width: 100%; height: auto; }
.sd .gh-content .kg-bookmark-card { width: 100%; }
.sd .gh-content .kg-bookmark-container { display: flex; min-height: 140px; border: 1px solid var(--sd-line); text-decoration: none; font-family: var(--sd-sans); }
.sd .gh-content .kg-bookmark-content { flex: 1; padding: 24px; min-width: 0; }
.sd .gh-content .kg-bookmark-title { font-size: 18px; font-weight: 700; }
.sd .gh-content .kg-bookmark-description { font-size: 14px; color: var(--sd-note); line-height: 1.5; margin-top: 10px; }
.sd .gh-content .kg-bookmark-metadata { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; }
.sd .gh-content .kg-bookmark-icon { width: 20px; height: 20px; }
.sd .gh-content .kg-bookmark-thumbnail { flex: 0 0 30%; }
.sd .gh-content .kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.sd .gh-content iframe { max-width: 100%; }
.sd .gh-content .kg-embed-card { display: flex; flex-direction: column; align-items: center; }
.sd .gh-content .kg-toggle-card h4, .sd .gh-content .kg-header-card h2 { margin: 0; }
.sd .gh-content .kg-callout-card, .sd .gh-content .kg-toggle-card { font-size: 18px; }
.sd .gh-content .kg-button-card a { text-decoration: none; }
.sd .gh-content .kg-product-card { width: 100%; }
.sd .gh-content pre { max-width: 100%; padding: 24px; background: var(--sd-soft); overflow: auto; font-size: 15px; }
.sd .gh-content code { overflow-wrap: anywhere; }
.sd .gh-content table { display: block; overflow: auto; width: 100%; border-collapse: collapse; font-size: 16px; }
.sd .gh-content th, .sd .gh-content td { padding: 12px; border: 1px solid var(--sd-line); text-align: left; }
.sd .gh-content hr { border: 0; border-top: 1px solid var(--sd-line); margin: 40px 0; }

/* Membership and article end matter */
.sd .gh-content .sd-access h2 { font-family: var(--sd-display); margin: 0 0 24px; font-size: clamp(28px, 4vw, 36px); font-weight: 800; }
.sd .gh-content .sd-access .sd-subscribe { text-decoration: none; color: var(--sd-on-ink); }
.sd .gh-content .sd-access .sd-subscribe:hover { color: var(--travel-on); }
.sd .gh-content .sd-access { font-family: var(--sd-sans); }
.sd .gh-content .sd-access p { margin: 0 0 18px; }
.sd-access { margin-block: 48px; padding-block: 32px; border-block: 1px solid var(--sd-line); text-align: center; }
.sd-access a { display: inline-block; padding: 14px 18px; }
.sd-article-foot { width: min(100% - 48px, 680px); margin: 48px auto; }
.sd-article-tags { padding-block: 20px; border-top: 1px solid var(--sd-line); font-size: 14px; }
.sd-author { display: flex; gap: 20px; padding-block: 24px; border-top: 1px solid var(--sd-line); }
.sd-author img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.sd-author a { font-weight: 700; }
.sd-author p { margin-top: 10px; font-family: var(--sd-serif); font-size: 17px; line-height: 1.5; }
.sd-comments { margin-block: 48px; }

/* Tablet and phone layouts */
@media (max-width: 980px) {
  .sd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
  .sd-band-lead { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sd-subscribe-block { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; padding: 40px; }
  .sd-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-footer-top > div:first-child { grid-column: 1 / -1; }
  .sd-band:nth-child(even) .sd-band-lead { grid-template-columns: minmax(0, 1fr); }
  .sd-band:nth-child(even) .sd-band-lead > :first-child { order: 0; }
  .sd-spread-page { padding: 28px; }
  .sd-cover-lead-big { font-size: 46px; }
  .sd-header:not(.sd-header--cover) .sd-header-date { display: none; }
  .sd-header:not(.sd-header--cover) .sd-header-row,
  [data-masthead] .sd-header:not(.sd-header--cover) .sd-header-row { grid-template-columns: minmax(0, 1fr) auto; }
  .sd-wordmark--header { text-align: left; }
  .sd-band-head h2 { font-size: clamp(40px, 9vw, 80px); }
}

@media (max-width: 760px) {
  .sd-wrap { width: min(100% - 32px, 1240px); }
  .sd-header-date { display: none; }
  .sd-header--cover .sd-header-row { grid-template-columns: minmax(0, 1fr); }
  .sd-wordmark--header { font-size: 38px; text-align: left; }
  .sd-nav-inner { flex-wrap: nowrap; justify-content: flex-start; gap: 22px; overflow-x: auto; scrollbar-width: none; }
  .sd-nav a { flex: 0 0 auto; }
  .sd-cover { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
  .sd-cover-mast, .sd-cover-photo { min-width: 0; grid-area: 1 / 1; align-self: start; }
  .sd-cover-photo { position: relative; height: auto; aspect-ratio: 4 / 5; object-position: 64% 50%; }
  .sd-cover-lines::before, .sd-read-text::before { display: none; }
  /* Fit a six-letter Bodoni masthead even before the sizing script runs. */
  .sd .sd-cover-name { font-size: 22vw; }
  .sd .sd-cover-lines { margin: 0; width: 100%; padding: 26px 16px 30px; background: var(--travel); color: var(--travel-on); }
  .sd-cover--no-image .sd-cover-mast { padding-block: 24px; }
  .sd .sd-cover-strap { font-size: 12px; }
  .sd-latest { padding: 44px 0 52px; }
  .sd-rowhead :is(h1, h2) { font-size: 34px; }
  .sd-grid-4 { gap: 28px 16px; }
  .sd-grid-4 .sd-card :is(h2, h3) { font-size: 17px; }
  .sd-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .sd-grid-3 .sd-card-link { display: grid; align-items: start; grid-template-columns: 112px minmax(0, 1fr); gap: 0 14px; }
  .sd-grid-3 .sd-card :is(img, .sd-image-placeholder) { grid-row: 1 / 4; aspect-ratio: 4 / 5; }
  .sd-grid-3 .sd-card-link > :is(img, .sd-image-placeholder) + :is(h2, h3) { margin-top: 0; }
  .sd-grid-3 .sd-card .sd-kicker { margin-top: 0; }
  .sd-grid-3 .sd-card :is(h2, h3) { font-size: 18px; }
  .sd-band { padding: 40px 0 44px; }
  .sd-band-head { margin-bottom: 24px; }
  .sd-band-text h3 { font-size: 34px; }
  .sd-band-text p { font-size: 18px; }
  .sd .sd-more { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 32px; }
  .sd-read { padding: 0; min-height: 0; }
  .sd-read img { position: relative; height: auto; aspect-ratio: 4 / 5; }
  .sd-read-text { position: static; margin: 0; width: 100%; padding: 28px 16px 44px; }
  .sd-read h2 { font-size: 52px; }
  .sd-read p { font-size: 18px; }
  .sd-subscribe-block { grid-template-columns: minmax(0, 1fr); gap: 32px; width: 100%; margin: 0; padding: 48px 16px; }
  .sd-minicover { width: 170px; margin: 0 auto; }
  .sd-minicover-mast { font-size: 40px; }
  .sd-minicover-line { font-size: 17px; }
  .sd-subscribe-copy form { flex-direction: column; gap: 10px; }
  .sd-subscribe-copy input { width: 100%; flex: 0 0 52px; border-right: 1px solid var(--sd-ink); }
  .sd-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sd-spread { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .sd-spread::after { display: none; }
  .sd-spread-photo { min-height: 0; width: 100%; aspect-ratio: 4 / 5; overflow: visible; }
  .sd-spread-page { gap: 28px; padding: 22px 16px 22px; }
  .sd-spread-title > p { font-size: 18px; }
  .sd-article-body { width: min(100% - 32px, 680px); margin-top: 36px; }
  .sd-header-actions { gap: 12px; }
  .sd-nav-inner .nav { flex: none; flex-wrap: nowrap; gap: clamp(12px, 3vw, 22px); }
  .sd-nav-inner .nav a { font-size: 13px; }
  .sd-nav-inner .nav li { flex-shrink: 0; max-width: calc(100vw - 32px); }
  .sd-cover-lead-big { font-size: 44px; }
  .sd-archive-head h1, .sd-empty h1 { font-size: 44px; }
  .sd .gh-content > p, .sd .gh-content ul, .sd .gh-content ol { font-size: 18px; }
  .sd .gh-content blockquote p { font-size: 30px; }
  .sd .gh-content > .kg-width-wide { width: 100%; margin-inline: 0; }
  .sd .gh-content .kg-bookmark-thumbnail { display: none; }
  [data-feature="Framed plate"] .sd-spread { width: calc(100% - 32px); }
  [data-feature="Framed plate"] .sd-spread-photo { min-height: 400px; }
  .sd-subscribe-copy button { flex-basis: auto; }
  .sd-subscribe-copy .sd-form-success, .sd-subscribe-copy .sd-form-error { flex-basis: auto; }
  .sd-spread-title h1 { font-size: 38px; }
  .sd-article.featured .sd-spread-title h1 { font-size: 44px; }
  .sd-wordmark--footer { font-size: clamp(42px, 10vw, 64px); }
  .sd-band-head h2 { font-size: clamp(36px, 11vw, 62px); }
  .sd-archive-head, .sd-editor, .sd-empty { padding-block: 36px; }
}
@media (max-width: 560px) {
  [data-masthead] .sd-header:not(.sd-header--cover) .sd-header-row { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 10px; padding-block: 12px; }
  .sd-header .sd-wordmark--header { text-align: center; }
  .sd-header-actions { justify-content: center; flex-wrap: wrap; }
  .sd-cover-lead-big, .sd-read h2 { font-size: clamp(34px, 10vw, 48px); }
  .sd-article.featured .sd-spread-title h1 { font-size: clamp(35px, 10vw, 44px); }
  .sd .gh-content .kg-gallery-row { gap: 6px; }
  .sd .gh-content .kg-bookmark-content { padding: 14px; }
  .sd .gh-content .kg-bookmark-metadata { flex-wrap: wrap; }
  .pagination { gap: 10px; text-align: center; }
}
@media (max-width: 360px) {
  .sd-footer-top { gap: 24px 16px; }
  .sd-footer-col li { font-size: 14px; }
  .sd-footer-legal { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* A publisher may require plan selection or acceptance of terms in Portal. */
.sd-subscribe-copy > .sd-subscribe { display: inline-block; margin-top: 24px; padding: 14px 22px; font-weight: 700; }
