/* The D3 foundation is enqueued locally as homepage-base.css. */

.no-break { white-space: nowrap; }
.mobile-only { display: none; }
.visually-hidden {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* D1 first view: copied dimensions, type scale, image contour and overlap. */
.d1-hero {
  max-width: 1280px;
  min-height: 680px;
  margin: 0 auto;
  padding: 70px 0 52px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 70px;
  align-items: center;
}
.d1-hero h1 { margin: 0 0 24px; font: 600 68px/1.25 var(--serif); letter-spacing: .02em; }
.d1-lead { max-width: 470px; margin: 0; color: #57494b; font-size: 16px; line-height: 2; }
.d1-lead span { display: block; }
.d1-hero-actions { margin: 34px 0; display: flex; align-items: center; gap: 25px; }
.d1-hero .button { width: auto; min-height: 54px; padding: 0 25px; gap: 24px; border-radius: 4px; font-size: 14px; font-weight: 800; }
.d1-hero .button span { font-size: 18px; }
.d1-text-link { color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 6px; }
.d1-text-link span { margin-left: 8px; color: var(--brand); }
.d1-hero-carousel { min-width: 0; position: relative; scroll-margin-top: 110px; }
.d1-hero-track { position: relative; }
.d1-hero-slide[hidden],
.d1-hero-carousel-controls[hidden] { display: none !important; }
.d1-hero-story { position: relative; padding: 0 0 85px 48px; }
.d1-hero-story::before { content: ''; position: absolute; inset: 40px 35px 35px 0; z-index: -1; border-radius: 52% 48% 38% 62% / 45% 42% 58% 55%; background: var(--surface); }
.d1-hero-story > img { width: 100%; height: 420px; object-fit: cover; border-radius: 220px 220px 26px 220px; box-shadow: 0 24px 55px color-mix(in srgb, var(--ink) 12%, transparent); }
.d1-hero-story-card { min-height: 228px; box-sizing: border-box; position: absolute; left: 0; right: 60px; bottom: 0; padding: 24px 28px 30px; display: flex; flex-direction: column; background: white; border: 1px solid var(--border-soft); box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 9%, transparent); color: inherit; text-decoration: none; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.d1-hero-story-card:hover,
.d1-hero-story-card:focus-visible { border-color: var(--brand); background: color-mix(in srgb, var(--surface) 42%, white); box-shadow: 0 22px 48px color-mix(in srgb, var(--ink) 14%, transparent); transform: translateY(-2px); }
.d1-hero-story-card:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.d1-story-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.d1-story-meta span:first-child { color: var(--action); font-weight: 900; }
.d1-story-kind { color: var(--muted) !important; font-weight: 400 !important; }
.d1-hero-story-card h2 { margin: 10px 0 7px; font: 600 21px/1.55 var(--serif); }
.d1-hero-story-card p { margin: 0; color: var(--muted); font-size: 12px; }
.d1-card-cta { display: inline-block; margin-top: 14px; color: var(--action); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.d1-hero-story-card > .d1-card-cta,
.d1-card-body > .d1-card-cta { margin-top: auto; padding-top: 14px; align-self: flex-start; }
.d1-hero-stamp { width: 86px; height: 86px; position: absolute; right: -10px; top: 12px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 8px 20px rgba(150,100,20,.13); transform: rotate(7deg); }
.d1-hero-stamp b { font: 600 28px/1 var(--serif); }
.d1-hero-stamp span { font-size: 8px; line-height: 1.2; font-weight: 900; }
.d1-hero-carousel-controls {
  position: relative;
  min-height: 44px;
  margin: 10px 60px 0 48px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: var(--action);
}
.d1-slider-accessibility-toggle {
  min-height: 40px;
  position: absolute;
  z-index: 5;
  right: 0;
  top: -44px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: var(--action);
  color: white;
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
}
.d1-slider-accessibility-toggle:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  outline: 3px solid var(--action);
  outline-offset: 2px;
}
.d1-slider-arrow,
.d1-slider-dots button {
  min-width: 40px;
  height: 40px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--action);
  cursor: pointer;
  appearance: none;
}
.d1-slider-arrow {
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  background: white;
  font-size: 15px;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.d1-slider-arrow:hover { border-color: var(--brand); background: var(--surface); transform: translateY(-1px); }
.d1-slider-dots { display: flex; align-items: center; }
.d1-slider-dots button span {
  width: 6px;
  height: 6px;
  display: block;
  border-radius: 999px;
  background: var(--border);
  transition: width .18s ease, background .18s ease;
}
.d1-slider-dots button[aria-current="true"] span { width: 20px; background: var(--brand); }
.d1-slider-arrow:focus-visible,
.d1-slider-dots button:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }

/* Cross-category editorial picks: four compact entries. */
.timely-reads {
  padding: 76px 32px 84px;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 104px;
  border-block: 1px solid var(--border-soft);
  background:
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--brand) 7%, transparent) 0 150px, transparent 151px),
    var(--surface);
}
.timely-reads__inner { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.timely-reads__header {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 54px;
  align-items: end;
}
.timely-reads__eyebrow { margin: 0 0 10px; color: var(--action); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.timely-reads__eyebrow span { margin-left: 12px; padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; letter-spacing: .08em; }
.timely-reads__header h2 { margin: 0; font: 600 38px/1.4 var(--serif); }
.timely-reads__header > p { max-width: 520px; margin: 0 0 3px auto; color: var(--muted); font-size: 13px; line-height: 1.9; }
.timely-reads__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.timely-card { min-width: 0; background: white; border: 1px solid var(--border-soft); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.timely-card:hover { border-color: var(--border); box-shadow: 0 16px 38px color-mix(in srgb, var(--ink) 8%, transparent); transform: translateY(-2px); }
.timely-card > a { height: 100%; display: grid; color: inherit; text-decoration: none; }
.timely-card__image { min-width: 0; overflow: hidden; background: white; }
.timely-card__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.timely-card:hover .timely-card__image img { transform: scale(1.015); }
.timely-card__body { min-width: 0; position: relative; display: flex; flex-direction: column; }
.timely-card__meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.timely-card__meta span { color: var(--action); }
.timely-card__meta b { font-size: 10px; }
.timely-card h3 { margin: 11px 0 9px; font: 600 18px/1.55 var(--serif); text-wrap: balance; }
.timely-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.timely-card__cta { margin-top: auto; padding-top: 16px; align-self: flex-start; color: var(--action); font-size: 11px; font-style: normal; font-weight: 900; text-decoration: underline; text-underline-offset: 5px; }
.timely-card__cta i { margin-left: 8px; font-style: normal; }
.timely-card--compact { min-height: 180px; }
.timely-card--compact > a { grid-template-columns: 176px minmax(0, 1fr); }
.timely-card--compact .timely-card__body { padding: 22px 24px; }
.timely-card--compact .timely-card__cta { position: absolute; right: 22px; bottom: 18px; padding: 0; text-decoration: none; }
.timely-card > a:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }

.scene-related { margin-top: 14px; }
.scene-related > p { margin: 0 0 5px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.scene-related ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; }
.scene-related li { min-width: 0; }
.scene-related a { min-height: 44px; padding: 7px 9px; display: grid; grid-template-columns: minmax(0, 1fr) 14px; gap: 5px; align-items: center; border: 1px solid var(--border-soft); border-radius: 4px; background: color-mix(in srgb, var(--surface) 52%, white); color: var(--action); font-size: 10px; font-weight: 800; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.scene-related a span { justify-self: end; }
.scene-related a:hover,
.scene-related a:focus-visible { border-color: var(--action); background: var(--surface); }
.scene-related a:focus-visible { outline: 3px solid var(--action); outline-offset: 2px; }
.scene-related--light > p { color: var(--muted); }
.scene-related--light a { border-color: var(--border); background: color-mix(in srgb, var(--white) 82%, transparent); color: var(--action); }
.scene-related--light a:hover,
.scene-related--light a:focus-visible { border-color: var(--action); background: var(--white); }
.scene-related--light a:focus-visible { outline-color: var(--action); }

.water-number {
  position: absolute;
  z-index: 1;
  top: 72px;
  right: max(40px, calc((100% - var(--max))/2));
  color: rgba(255,255,255,.18);
  font: 700 124px/1 var(--serif);
  pointer-events: none;
}
html[data-distribution="bright"][data-direction="d3"] .water-number {
  color: color-mix(in srgb, var(--brand) 16%, transparent);
}

@media (min-width: 901px) and (max-width: 1100px) {
  .timely-reads__header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }
}

/* D2 Seasonal Check: original 1240px module and control scale. */
.d2-monthly { width: min(calc(100% - 64px), 1240px); margin: 0 auto; padding: 128px 0 112px; }
.d2-monthly-card { min-height: 550px; display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--border-soft); box-shadow: 0 18px 55px color-mix(in srgb, var(--ink) 7%, transparent); }
.d2-monthly-image { position: relative; overflow: hidden; }
.d2-monthly-image img { width: 100%; height: 100%; object-fit: cover; }
.d2-monthly-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 65%, rgba(51,38,40,.08)); }
.d2-monthly-image > p { position: absolute; left: 24px; top: 22px; z-index: 1; margin: 0; padding: 10px 14px; background: white; font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: .1em; }
.d2-monthly-image > p span { display: block; color: var(--brand); font: 600 33px/.9 Georgia, serif; letter-spacing: 0; }
.d2-monthly-content { padding: 58px 64px; background: var(--surface); }
.d2-section-label { margin: 0 0 14px; color: var(--action); font-family: Arial, sans-serif; font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .18em; }
.d2-monthly-content h2 { margin: 0 0 30px; font-size: 18px; }
.d2-monthly-content h3 { margin: 0 0 28px; font: 600 34px/1.55 'Hiragino Mincho ProN', 'Yu Mincho', serif; letter-spacing: .04em; }
.d2-monthly-checklist { margin: 0 0 32px; padding: 0; list-style: none; }
.d2-monthly-checklist li { padding: 10px 0; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border-soft); font-size: 13px; }
.d2-monthly-checklist li span { width: 20px; height: 20px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--success-fill, #5F963A); color: var(--on-success, #FFFFFF); font-size: 10px; font-weight: 800; box-shadow: 0 0 0 3px color-mix(in srgb, var(--success-fill, #5F963A) 12%, transparent); }
.d2-primary-button { min-height: 46px; padding: 11px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; border: 1px solid var(--control-fill, var(--action)); border-radius: 8px; background: var(--control-fill, var(--action)); color: white; font-size: 13px; font-weight: 800; text-decoration: none; box-shadow: 0 7px 18px color-mix(in srgb, var(--action) 16%, transparent); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.d2-primary-button:hover,
.d2-primary-button:focus-visible { background: var(--action); border-color: var(--action); transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--action) 24%, transparent); }

/* D1 Seasonal Comfort: original card treatment, extended only to three columns. */
.d1-season { max-width: 1280px; margin: 0 auto; padding: 105px 0 112px; }
.d1-section-heading { margin-bottom: 42px; display: flex; justify-content: space-between; align-items: end; gap: 48px; }
.d1-section-heading > div > p { margin: 0 0 7px; color: var(--brand); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.d1-section-heading h2 { margin: 0; font: 600 38px/1.4 var(--serif); }
.d1-section-intro { max-width: 440px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.d1-season-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }
.d1-season-card { min-width: 0; display: flex; flex-direction: column; }
.d1-season-card__link { height: 100%; min-width: 0; flex: 1; display: flex; flex-direction: column; border: 1px solid var(--border-soft); background: white; color: inherit; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.d1-season-card__link:hover,
.d1-season-card__link:focus-visible { border-color: var(--brand); box-shadow: 0 16px 38px color-mix(in srgb, var(--ink) 9%, transparent); transform: translateY(-2px); }
.d1-season-card__link:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.d1-image-wrap { height: 300px; overflow: hidden; }
.d1-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.d1-card-body { padding: 28px 30px 30px; display: flex; flex: 1; flex-direction: column; }
.d1-card-body h3 { margin: 11px 0; font: 600 22px/1.55 var(--serif); }
.d1-card-body > p { margin: 0; color: var(--muted); font-size: 12px; }

/* The illustrated rest area now works as the site's theme index. */
.rest-story { min-height: 0; }
.rest-symbol { right: 20px; }
.rest-theme-explorer {
  max-width: 1120px;
  margin-left: auto;
  position: relative;
  z-index: 1;
  scroll-margin-top: 104px;
}
.rest-theme-group {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}
.rest-theme-group + .rest-theme-group {
  margin-top: 58px;
  padding-top: 58px;
  border-top: 1px solid var(--border-soft);
}
.rest-theme-group--tags { scroll-margin-top: 104px; }
.rest-theme-heading { padding-top: 5px; }
.rest-theme-heading h2 {
  margin: 12px 0 0;
  font: 600 34px/1.55 var(--serif);
  text-wrap: balance;
}
.rest-theme-intro {
  max-width: 300px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}
.rest-theme-list {
  margin: 0;
  background: color-mix(in srgb, white 50%, transparent);
}
.rest-theme-list a:hover,
.rest-theme-list a:focus-visible {
  background: color-mix(in srgb, white 76%, transparent);
}

@media (min-width: 901px) and (max-width: 1320px) {
  .d1-hero,
  .d1-season { margin-inline: 32px; }
  .timely-card--compact > a { grid-template-columns: 142px minmax(0, 1fr); }
  .timely-card--compact .timely-card__body { padding-inline: 20px; }
  .timely-card--compact h3 { font-size: 16px; }
}

@media (min-width: 901px) and (max-width: 1220px) {
  .d1-hero { grid-template-columns: .88fr 1.12fr; gap: 44px; }
  .d1-hero h1 { font-size: clamp(50px, 4.8vw, 58px); }
  .d1-hero-story-card { min-height: 238px; }
  .d2-monthly-content { padding-inline: 42px; }
  .d2-monthly-content h3 { font-size: 29px; }
}

@media (max-width: 1099px) and (min-width: 901px) {
  .d1-hero-slide > img {
    object-fit: contain;
    object-position: center top;
    background: color-mix(in srgb, var(--surface) 45%, white);
  }
  .d1-season-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .d1-season-card:last-child { grid-column: 1 / -1; }
  .d1-season-card:last-child .d1-season-card__link { display: grid; grid-template-columns: 1fr 1fr; }
  .d1-season-card:last-child .d1-image-wrap { height: 100%; min-height: 300px; }
}

@media (max-width: 900px) {
  .mobile-only { display: block; }

  .water-number { top: 305px; right: 18px; font-size: 82px; color: rgba(255,255,255,.15); }

  .d1-hero { min-height: 0; padding: 35px 20px 42px; display: flex; flex-direction: column; gap: 34px; }
  .d1-hero-copy { width: 100%; }
  .d1-hero h1 { margin: 0 0 18px; font-size: 43px; }
  .d1-lead { font-size: 14px; line-height: 1.9; }
  .d1-hero-actions { margin: 25px 0; gap: 18px; }
  .d1-hero .button { width: auto; min-height: 50px; padding: 0 18px; }
  .d1-hero-carousel { width: 100%; scroll-margin-top: 82px; }
  .d1-hero-story { width: 100%; padding: 0 0 102px; }
  .d1-hero-story::before { inset: 28px -10px 58px 25px; }
  .d1-hero-story > img { height: 260px; border-radius: 145px 145px 18px 145px; }
  .d1-hero-story-card { left: 14px; right: 14px; padding: 19px 18px 24px; }
  .d1-hero-story-card h2 { font-size: 16px; }
  .d1-hero-story-card p { display: none; }
  .d1-hero-stamp { width: 64px; height: 64px; right: -3px; top: -8px; }
  .d1-hero-stamp b { font-size: 21px; }
  .d1-hero-carousel-controls { margin: 8px 14px 0; justify-content: center; }

  .timely-reads { padding: 68px 20px 74px; scroll-margin-top: 82px; }
  .timely-reads__header { margin-bottom: 30px; display: block; }
  .timely-reads__header h2 { font-size: 29px; }
  .timely-reads__header > p { margin: 16px 0 0; font-size: 12px; }
  .d2-monthly { width: 100%; padding: 78px 16px; }
  .d2-monthly-card { min-height: 0; display: flex; flex-direction: column; }
  .d2-monthly-image { aspect-ratio: 4/3; }
  .d2-monthly-image img { object-position: 46% center; }
  .d2-monthly-content { padding: 36px 25px 32px; }
  .d2-monthly-content h2 { margin-bottom: 21px; font-size: 15px; }
  .d2-monthly-content h3 { margin-bottom: 23px; font-size: 27px; }
  .d2-primary-button { width: 100%; }

  .d1-season { padding: 75px 20px; }
  .d1-section-heading { margin-bottom: 42px; display: block; }
  .d1-section-heading h2 { font-size: 29px; }
  .d1-section-intro { margin-top: 16px; font-size: 12px; }
  .d1-season-grid { grid-template-columns: 1fr; gap: 18px; }
  .d1-image-wrap { height: 200px; }
  .d1-card-body { padding: 22px 20px; }
  .d1-card-body h3 { font-size: 18px; }

  .rest-theme-explorer { margin: 0; }
  .rest-theme-group { display: block; }
  .rest-symbol {
    width: min(510px, calc(100vw - 24px));
    height: auto;
    aspect-ratio: 1197 / 507;
    right: 4px;
    top: 38px;
  }
  .rest-theme-heading h2 { font-size: 29px; }
  .theme-title-break { display: none; }
  .rest-theme-list { margin-top: 30px; }
  .rest-theme-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rest-theme-list a:nth-child(odd) { border-right: 1px solid #e3d8d5; }

}

@media (min-width: 601px) and (max-width: 900px) {
  .rest-theme-explorer { margin: 0; }
  .rest-theme-intro { max-width: 520px; }

  .d1-hero-story { padding-bottom: 148px; }
  .d1-hero-story > img {
    height: clamp(294px, 39vw, 330px);
    object-fit: contain;
    object-position: center top;
    background: color-mix(in srgb, var(--surface) 45%, white);
  }
  .d1-hero-story-card { min-height: 168px; }
  .d1-hero-stamp { width: 52px; height: 52px; right: 2px; top: -34px; }
  .d1-hero-stamp b { font-size: 18px; }
  .d1-hero-stamp span { font-size: 7px; }

  .timely-reads { padding-inline: 28px; }
  .timely-reads__grid { gap: 20px; }
  .timely-card--compact { min-height: 310px; }
  .timely-card--compact > a { grid-template-columns: 1fr; grid-template-rows: 150px 1fr; }
  .timely-card--compact .timely-card__body { padding: 20px; }
  .timely-card--compact h3 { font-size: 16px; }

  .d1-season { padding: 82px 28px 88px; }
  .d1-section-heading { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: end; }
  .d1-section-intro { margin: 0; }
  .d1-season-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
  .d1-season-card:last-child { grid-column: 1 / -1; }
  .d1-season-card:last-child .d1-season-card__link { display: grid; grid-template-columns: .9fr 1.1fr; }
  .d1-season-card:last-child .d1-image-wrap { height: 100%; min-height: 260px; }

  .rest-theme-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .rest-theme-list a:nth-child(odd) { border-right: 1px solid #e3d8d5; }
}

@media (min-width: 720px) and (max-width: 900px) {
  .scene,
  .scene.reverse {
    padding: 88px 28px 92px;
    display: grid;
    grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr);
    gap: 32px;
    align-items: center;
  }
  .scene.reverse { grid-template-columns: minmax(0,1.04fr) minmax(0,.96fr); }
  .scene.reverse .scene-media { grid-column: 2; grid-row: 1; }
  .scene.reverse .scene-copy { grid-column: 1; grid-row: 1; }
  .scene-media img { height: 330px; }
  .scene-copy h2 { font-size: 30px; }
  .scene-description { margin-bottom: 18px; line-height: 1.8; }
  .article-link { padding: 12px 0; }
  .article-link b { font-size: 12px; }

  .rest-story { padding: 82px 28px 90px; }
  .rest-theme-group { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 30px; }
  .rest-theme-list { margin-top: 0; }

  .d2-monthly { padding: 88px 28px; }
  .d2-monthly-card { min-height: 500px; display: grid; grid-template-columns: 1.03fr .97fr; }
  .d2-monthly-image { aspect-ratio: auto; }
  .d2-monthly-content { padding: 40px 28px; }
  .d2-monthly-content h3 { font-size: 27px; }
  .d2-primary-button { width: auto; }
}

@media (max-width: 600px) {
  .rest-theme-explorer { margin: 0; }
  .rest-theme-group { display: block; }
  .rest-theme-intro { max-width: none; }
  .rest-theme-group + .rest-theme-group { margin-top: 42px; padding-top: 42px; }
  .rest-theme-list { grid-template-columns: 1fr; }
  .rest-theme-list a:nth-child(odd) { border-right: 0; }

  .scene-related ul { grid-template-columns: 1fr; gap: 6px; }
  .d1-season-card:last-child .d1-season-card__link { display: flex; }
  .d1-hero-story { padding-bottom: clamp(102px, 31vw, 170px); }
  .d1-hero-story > img {
    height: 260px;
    object-fit: contain;
    object-position: center top;
    background: color-mix(in srgb, var(--surface) 45%, white);
  }
  .d1-hero-story-card { min-height: 188px; }
  .d1-hero-stamp { width: 52px; height: 52px; right: 2px; top: -34px; }
  .d1-hero-stamp b { font-size: 18px; }
  .d1-hero-stamp span { font-size: 7px; }
  .d1-hero-carousel-controls { margin-inline: 0; gap: 2px; }
  .d1-slider-dots button { min-width: 32px; width: 32px; }

  .timely-reads { padding: 56px 16px 62px; background: var(--surface); }
  .timely-reads__eyebrow span { display: inline-block; margin: 8px 0 0; }
  .timely-reads__grid { grid-template-columns: 1fr; gap: 14px; }
  .timely-card--compact { min-height: 132px; }
  .timely-card--compact > a { grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto; }
  .timely-card--compact .timely-card__body { padding: 15px 16px; }
  .timely-card--compact h3 { margin: 7px 0 0; font-size: 14px; line-height: 1.55; }
  .timely-card--compact p { display: none; }
  .timely-card--compact .timely-card__cta { right: 14px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .d1-slider-arrow,
  .d1-slider-dots button span { transition: none; }
}
