/* Match the live site: warm ivory reading areas framed by compact navy bands. */
body.theme-quiet-luxury.template-homepage { background: var(--yb-ivory); color: var(--yb-ink); }
.template-homepage :is(.home-section-inner, .home-intro__inner, .home-newsletter__inner) { width: min(var(--yb-content), calc(100% - 2 * var(--yb-gutter))); margin: 0 auto; }
.template-homepage main :is(h1,h2,h3,p) { overflow-wrap: anywhere; }
.template-homepage .home-intro { padding: clamp(32px, 4vw, 60px) 0 clamp(32px, 4vw, 50px); color: var(--yb-ivory); background: var(--yb-ink); }
.template-homepage .home-kicker { margin: 0 0 12px; color: #245c70; font: 650 11px/1.5 var(--yb-sans); letter-spacing: .13em; text-transform: uppercase; }
.template-homepage .home-intro h1 { max-width: 1200px; margin: 0; color: var(--yb-ivory); font: 400 clamp(38px, 4.5vw, 65px)/1.08 var(--yb-display); letter-spacing: -.04em; }
.template-homepage .home-intro__lede { max-width: 1050px; margin: 18px 0 0; color: #bbc9ce; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; }
.template-homepage .home-stories { padding: clamp(36px, 4vw, 56px) 0 clamp(48px, 5vw, 72px); background: var(--yb-paper); }
.template-homepage .home-news-section { padding: clamp(36px, 4vw, 56px) 0 clamp(48px, 5vw, 72px); border-top: 3px solid #245c70; background: var(--yb-ivory-deep); }
.template-homepage .home-feature-empty { padding: clamp(22px, 2.5vw, 34px); border: 1px solid var(--yb-line-light); background: var(--yb-ivory); }
.template-homepage .home-feature-empty h3 { margin: 0; color: var(--yb-ink); font: 400 clamp(26px, 2.5vw, 36px)/1.2 var(--yb-display); letter-spacing: -.025em; }
.template-homepage .home-feature-empty p { margin: 14px 0 0; color: var(--yb-slate); font-size: 15px; line-height: 1.7; }
.template-homepage .home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.template-homepage .home-section-heading h2 { margin: 0; color: var(--yb-ink); font: 400 clamp(28px, 2.6vw, 38px)/1.2 var(--yb-display); letter-spacing: -.025em; }
.template-homepage .home-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #245c70; font: 600 13px/1.5 var(--yb-sans); text-decoration: none; }
.template-homepage .home-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.template-homepage .home-story-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.template-homepage .home-story-grid--single { grid-template-columns: minmax(0, 1fr); }
.template-homepage .home-story { min-width: 0; }
.template-homepage .home-story h3 { margin: 0; color: var(--yb-ink); font: 400 clamp(26px, 2.5vw, 37px)/1.14 var(--yb-display); letter-spacing: -.025em; }
.template-homepage .home-story h3 a { color: inherit; text-decoration: none; }
.template-homepage .home-story h3 a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.template-homepage .home-story--lead { display: flex; flex-direction: column; border: 1px solid var(--yb-line-light); background: var(--yb-ivory); }
.template-homepage .home-story--lead .home-story__copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.5vw, 34px); }
.template-homepage .home-story--lead h3 { font-size: clamp(29px, 3.15vw, 46px); }
.template-homepage .home-story__summary { margin: 16px 0 0; color: var(--yb-slate); font-size: 16px; line-height: 1.65; }
.template-homepage .home-story--lead .home-text-link { margin-top: auto; padding-top: 16px; }
.template-homepage .home-story__image { display: block; min-width: 0; overflow: hidden; background: var(--yb-ivory-deep); }
.template-homepage .home-story__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.template-homepage .home-story--lead .home-story__image { aspect-ratio: 16 / 9; flex-shrink: 0; }
/* Equal supporting rows fill the same grid height as the lead, without fixed card heights. */
.template-homepage .home-supporting-stories { min-width: 0; display: grid; grid-auto-rows: 1fr; gap: 24px; }
.template-homepage .home-story--supporting { display: flex; flex-direction: column; border: 1px solid var(--yb-line-light); }
.template-homepage .home-story--supporting .home-story__copy { min-width: 0; padding: 20px; }
.template-homepage .home-story--supporting .home-story__image { width: 100%; height: clamp(150px, 13vw, 190px); flex-shrink: 0; }
.template-homepage .home-story--supporting .home-story__image img { object-fit: cover; }
.template-homepage .home-story--supporting:only-child .home-story__image { height: auto; aspect-ratio: 16 / 9; }
.template-homepage .home-story--supporting:only-child .home-story__image img { object-fit: contain; }
.template-homepage .home-story--supporting h3 { font-size: clamp(24px, 1.9vw, 29px); }
.template-homepage .home-story--supporting .home-kicker { margin-bottom: 10px; font-size: 10px; }
.template-homepage .home-story--supporting .home-story__summary { margin-top: 12px; font-size: 14px; line-height: 1.55; }
.template-homepage .home-library-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); }
.template-homepage .home-latest, .template-homepage .home-libraries { min-width: 0; }
.template-homepage .home-news-list { list-style: none; margin: 0; padding: 0; }
.template-homepage .home-news-list li { padding: 24px 0; border-top: 1px solid var(--yb-line-light); }
.template-homepage .home-news-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; color: var(--yb-ink); text-decoration: none; }
.template-homepage .home-news-item--image { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); align-items: start; }
.template-homepage .home-news-item__image { min-width: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--yb-ivory-deep); }
.template-homepage .home-news-item__image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.template-homepage .home-news-item__copy { min-width: 0; }
.template-homepage .home-news-list time { display: block; margin-top: 14px; color: var(--yb-slate); font-size: 12px; }
.template-homepage .home-news-list h3 { margin: 0; color: var(--yb-ink); font: 400 clamp(22px, 1.8vw, 28px)/1.25 var(--yb-display); letter-spacing: -.015em; }
.template-homepage .home-news-item:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.template-homepage .home-news-list .home-kicker { margin-bottom: 10px; font-size: 10px; }
.template-homepage .home-library { padding: clamp(22px, 2.5vw, 34px); border: 1px solid var(--yb-line-light); background: var(--yb-paper); }
.template-homepage .home-library + .home-library { margin-top: 24px; }
.template-homepage .home-library h2 { margin: 0; color: var(--yb-ink); font: 400 clamp(26px, 2.5vw, 36px)/1.18 var(--yb-display); letter-spacing: -.025em; }
.template-homepage .home-library > p:not(.home-kicker), .template-homepage .home-muted { color: var(--yb-slate); font-size: 14px; line-height: 1.7; }
.template-homepage .home-domains { margin-top: 12px; border-top: 1px solid var(--yb-line-light); }
.template-homepage .home-domains summary { padding: 16px 0; color: var(--yb-ink); font-size: 13px; cursor: pointer; }
.template-homepage .home-domains summary span { color: var(--yb-slate); }
.template-homepage .home-domains nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.template-homepage .home-domains nav a { padding: 12px 0; color: var(--yb-slate); font-size: 12px; line-height: 1.5; text-decoration: none; border-top: 1px solid var(--yb-line-light); overflow-wrap: anywhere; }
.template-homepage .home-domains nav a:hover { color: #245c70; text-decoration: underline; }
.template-homepage .home-resource-links { padding-left: 18px; color: var(--yb-slate); font-size: 13px; }
.template-homepage .home-resource-links a { display: inline-block; padding: 8px 0; text-underline-offset: 3px; }
.template-homepage .home-newsletter { color: var(--yb-ivory); background: var(--yb-ink-soft); }
.template-homepage .home-newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 0 50px; }
.template-homepage .home-newsletter__inner > div { min-width: 0; }
.template-homepage .home-newsletter h2 { margin: 0; color: var(--yb-ivory); font: 400 clamp(28px, 3vw, 40px)/1.2 var(--yb-display); letter-spacing: -.03em; }
.template-homepage .home-newsletter p:not(.home-kicker) { max-width: 700px; margin: 14px 0 0; color: #bbc9ce; font-size: 15px; }
body.template-homepage .home-newsletter .button { flex-shrink: 0; font-size: 11px; }
.template-homepage .home-editorial :is(a,button,summary):focus-visible { outline: 2px solid #245c70; outline-offset: 4px; }
@media (max-width: 1000px) {
  .template-homepage .home-story-grid { grid-template-columns: minmax(0, 1fr); }
  .template-homepage .home-supporting-stories { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .template-homepage .home-story--supporting:only-child { grid-column: 1 / -1; }
  .template-homepage .home-library-layout { grid-template-columns: minmax(0, 1fr); }
  .template-homepage .home-libraries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
  .template-homepage .home-library + .home-library { margin-top: 0; }
  .template-homepage .home-newsletter__inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 760px) {
  .template-homepage .home-story-grid, .template-homepage .home-library-layout { grid-template-columns: minmax(0, 1fr); }
  .template-homepage .home-supporting-stories { grid-template-columns: minmax(0, 1fr); }
  .template-homepage .home-story--supporting .home-story__image { height: auto; aspect-ratio: 16 / 9; }
  .template-homepage .home-story--supporting .home-story__image img { object-fit: contain; }
  .template-homepage .home-story--supporting h3 { font-size: clamp(24px, 4vw, 30px); }
  .template-homepage .home-libraries { grid-template-columns: minmax(0, 1fr); }
  .template-homepage .home-section-heading { align-items: flex-start; }
}
@media (max-width: 560px) {
  .template-homepage .home-news-item--image { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .template-homepage .home-section-heading { flex-wrap: wrap; gap: 4px 16px; }
}
@media (max-width: 380px) {
  .template-homepage .home-domains nav { grid-template-columns: minmax(0, 1fr); }
  body.template-homepage .home-newsletter .button { white-space: normal; width: 100%; }
}

.template-homepage :is(.home-intro, .home-newsletter) .home-kicker { color: var(--yb-cyan-bright); }
