:root { --paper: #f7f9fc; --ink: #213b67; --muted: #647187; --line: #d5dce7; --accent: #bd5843; }
body { background: #fbfcfe; }
.mast { background: #f1f5fb; border-image: linear-gradient(90deg,#203d73 0 76%,#c45a43 76% 100%) 1; }
header.mast > a { color: var(--ink); }
footer { background: #edf1f7; }
.article-ad { background: #eef2f8; border-color: #a8b4c8; color: var(--ink); }

.home-feature,
.latest-articles,
.category-index,
.membership-band { margin: 42px auto 58px; }
.home-feature { max-width: 1120px; }
.membership-promo-strip { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 18px; margin:10px 0 30px; padding:12px 20px; border-radius:6px; color:#fff; background:linear-gradient(105deg,#1f3f79,#ca5842); font:700 14px/1.5 Arial,sans-serif; text-align:center; box-shadow:0 2px 8px #1d315126; }
.membership-promo-strip:hover { color:#fff; }
.membership-promo-strip strong { padding:4px 10px; border:1px solid #ffffff90; border-radius:999px; background:#ffffff20; }
.feature-kicker,
.mag-category { margin: 0 0 10px; color: var(--accent); font: 700 11px/1.5 Arial,sans-serif; letter-spacing: 1.6px; text-transform: uppercase; }
.feature-image-link { display: block; }
.feature-image-link img { display: block; width: 100%; height: min(52vw, 510px); min-height: 280px; object-fit: cover; background: #e8e9e1; }
.feature-copy { max-width: 880px; margin: 24px auto 0; }
.feature-copy h1 { max-width: 900px; margin: 0 0 18px; font: clamp(38px,5.2vw,68px)/1.06 Georgia,serif; letter-spacing: -1.8px; }
.feature-copy h1 a { text-decoration: none; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0 8px; color: var(--muted); font: 13px/1.8 Arial,sans-serif; }
.feature-deck { max-width: 820px; margin: 18px 0; font: 20px/1.65 Georgia,serif; color: var(--ink); }
.edition-note { margin-top: 22px; color: var(--muted); font-size: 14px; }
.latest-grid,.category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-top: 24px; }
.category-shelf { margin-top: 38px; }
.category-shelf .section-head { margin-top: 0; }
.shelf-link { font: 12px/1.5 Arial,sans-serif; color: var(--accent); }
.mag-card { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.mag-card .article-image-link { display: block; margin-bottom: 15px; }
.mag-card .article-image-link img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; background: #e8e9e1; }
.mag-card-copy h3 { margin: 0 0 10px; font: clamp(20px,2.1vw,27px)/1.16 Georgia,serif; letter-spacing: -.4px; }
.mag-card-copy h3 a { text-decoration: none; }
.mag-card-copy .article-meta { margin: 0 0 10px; font-size: 11px; }
.mag-card-copy .article-excerpt { margin: 0 0 13px; color: var(--muted); font: 15px/1.55 Georgia,serif; }
.mag-card-copy .text-link { display: inline-block; }
.membership-band { padding: 32px clamp(20px,4vw,48px); color: var(--paper); background: var(--ink); }
.membership-band > div { max-width: 800px; margin-inline: auto; }
.membership-band h2 { margin: 0 0 10px; font: clamp(28px,3.5vw,42px)/1.15 Georgia,serif; }
.membership-band p:not(.feature-kicker) { color: #d6dbd0; }
.membership-band .feature-kicker { color: #d6b29c; }
.join-link { display: inline-block; margin-top: 10px; padding: 12px 18px; color: var(--ink); background: var(--paper); font: 700 13px/1.5 Arial,sans-serif; }
html[lang="dv"] .feature-copy,
html[lang="dv"] .category-index,
html[lang="dv"] .latest-articles,
html[lang="dv"] .membership-band { text-align: right; }
html[lang="dv"] .feature-copy h1,
html[lang="dv"] .mag-card-copy h3 { letter-spacing: 0; line-height: 1.6; }
html[lang="dv"] .feature-kicker,
html[lang="dv"] .mag-category,
html[lang="dv"] .shelf-link,
html[lang="dv"] .join-link { font-family: 'JOS Faseyha','JOS Faruma',serif; letter-spacing: 0; }
html[lang="dv"] .feature-deck,
html[lang="dv"] .mag-card-copy .article-excerpt { font-family: 'JOS Faruma',serif; line-height: 1.8; }
html[lang="dv"] .feature-copy h1,
html[lang="dv"] .mag-card-copy h3,
html[lang="dv"] .membership-band h2 { font-family: 'JOS Waheed','JOS Faruma',serif; }
html[lang="dv"] .article-meta { font-family: 'JOS Faseyha','JOS Faruma',serif; font-size: 16px; }
html[lang="dv"] .mag-card-copy h3 { text-align: right; }
@media (max-width: 950px) { .latest-grid,.category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) {
  .home-feature,.latest-articles,.category-index,.membership-band { margin-block: 28px 42px; }
  .feature-image-link img { height: auto; min-height: 0; max-height: 380px; object-fit: cover; }
  .feature-copy { margin-top: 20px; }
  .feature-copy h1 { font-size: clamp(34px,9vw,43px); line-height: 1.08; }
  .feature-deck { font-size: 17px; }
  .latest-grid,.category-grid { grid-template-columns: 1fr; gap: 26px; }
  .mag-card .article-image-link img { aspect-ratio: 1.5; }
  .mag-card-copy h3 { font-size: 28px; }
  .section-head h2 { font-size: 25px; }
}

.category-page { max-width: 1120px; margin: 42px auto 64px; }
.category-page > h1 { margin: 0 0 14px; font: clamp(38px,5.2vw,64px)/1.08 Georgia,serif; }
.category-intro { max-width: 780px; color: var(--muted); font: 19px/1.7 Georgia,serif; }
.category-page-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; margin-top: 30px; }
html[lang="dv"] .category-page { text-align: right; }
html[lang="dv"] .category-page > h1 { font-family: 'JOS Waheed','JOS Faruma',serif; line-height: 1.5; }
html[lang="dv"] .category-intro { font-family: 'JOS Faruma',serif; line-height: 1.8; }
html[lang="dv"] .feature-copy h1:lang(en), html[lang="dv"] .mag-card-copy h3:lang(en) { text-align: left; direction: ltr; }
html[lang="dv"] .membership-promo-strip { font-family:'JOS Faseyha','JOS Faruma',serif; letter-spacing:0; }
nav { border-color:var(--ink); }
.mobile-nav-toggle { color:var(--ink); }
@media (max-width:950px) { .category-page-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { .category-page { margin-block: 28px 42px; } .category-page-grid { grid-template-columns: 1fr; } .category-page > h1 { font-size: 36px; } }

/* PFR-style three-column home hero, with a single-column phone reading flow. */
.home-hero-grid { display:grid; grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr)); gap:24px; align-items:start; max-width:1320px; margin:42px auto 56px; }
.home-feature { min-width:0; max-width:none; margin:0; }
.home-feature .feature-image-link img { width:100%; height:auto; min-height:0; max-height:none; aspect-ratio:1.55; object-fit:cover; }
.home-feature .feature-copy { max-width:none; margin:18px 0 0; }
.home-feature .feature-copy h1 { margin-bottom:12px; font-size:clamp(32px,3.5vw,52px); }
.home-feature .feature-deck { margin:14px 0; font-size:17px; line-height:1.55; }
.feature-separator { width:100%; height:4px; margin-top:22px; background:var(--accent); }
.feature-date,.card-date { display:block; margin-top:8px; color:var(--muted); font:12px/1.5 Arial,sans-serif; }
.hero-image-latest,.hero-title-latest { min-width:0; }
.hero-image-latest > h2,.hero-title-latest > h2 { margin:0 0 18px; padding-bottom:10px; border-bottom:1px solid var(--line); font:700 18px/1.3 Arial,sans-serif; }
.hero-image-list { display:grid; gap:24px; }
.hero-image-latest .mag-card { border-bottom:1px solid var(--line); padding-bottom:16px; }
.hero-image-latest .mag-card .article-image-link { margin-bottom:10px; }
.hero-image-latest .mag-card .article-image-link img { aspect-ratio:1.45; height:auto; }
.hero-image-latest .mag-card-copy h3 { margin:0; font-size:clamp(17px,1.6vw,22px); line-height:1.2; }
.hero-title-latest ol { margin:0; padding:0; list-style:none; }
.hero-title-latest li { padding:0 0 16px; margin:0 0 16px; border-bottom:1px solid var(--line); }
.hero-title-latest li > a { display:block; font:700 clamp(17px,1.6vw,21px)/1.25 Georgia,serif; }
.headline-category { display:block; margin-top:7px; color:var(--muted); font:11px/1.4 Arial,sans-serif; }
.mobile-latest { display:none; }
.desktop-archive { max-width:1320px; margin:32px auto 56px; }
.desktop-archive .latest-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.mobile-latest .section-head { margin-bottom:18px; }
html[lang="dv"] .home-hero-grid { text-align:right; }
html[lang="dv"] .hero-image-latest > h2,html[lang="dv"] .hero-title-latest > h2 { font-family:'JOS Waheed','JOS Faruma',serif; line-height:1.6; }
html[lang="dv"] .headline-category,html[lang="dv"] .card-date,html[lang="dv"] .feature-date { font-family:'JOS Faseyha','JOS Faruma',serif; }
html[lang="dv"] .home-feature h1:lang(en),html[lang="dv"] .mag-card-copy h3:lang(en) { direction:ltr; text-align:left; }
@media (max-width:950px) and (min-width:601px) {
  .home-hero-grid { grid-template-columns:minmax(0,2fr) minmax(0,1fr); }
  .hero-title-latest { grid-column:1 / -1; }
  .hero-title-latest ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; }
}
@media (max-width:600px) {
  .home-hero-grid { grid-template-columns:1fr; gap:0; margin:28px auto 34px; }
  .home-feature .feature-copy h1 { font-size:clamp(34px,9vw,43px); line-height:1.08; }
  .home-feature .feature-deck { font-size:17px; }
  .hero-image-latest,.hero-title-latest,.desktop-archive { display:none; }
  .mobile-latest { display:block; margin:28px auto 42px; }
  .mobile-latest .latest-grid { grid-template-columns:1fr; gap:26px; }
  .mobile-latest .mag-card .article-image-link img { aspect-ratio:1.5; height:auto; }
  .mobile-latest .mag-card-copy h3 { font-size:28px; }
}

/* Tighter section rhythm and a quieter supporter control. */
.membership-promo-strip { margin-block:8px 18px; padding-block:9px; }
.home-hero-grid { gap:16px; margin-block:24px 30px; }
.hero-image-list { gap:14px; }
.hero-image-latest > h2,.hero-title-latest > h2 { margin-bottom:12px; padding-bottom:7px; }
.hero-title-latest li { padding-bottom:10px; margin-bottom:10px; }
.headline-category { margin-top:4px; }
.desktop-archive,.latest-articles { margin-block:24px 32px; }
.mobile-latest { margin-block:18px 26px; }
.mobile-latest .latest-grid { gap:18px; }
.membership-band { margin-block:24px 32px; padding-block:24px; }
.category-page { margin-block:26px 36px; }
.category-page-grid { gap:16px; margin-top:20px; }
html body :is(.top.edition-tools, header.mast) > .header-membership {
  padding-inline:7px;
  font-size:12px !important;
  text-transform:none !important;
}
.top.edition-tools > .header-membership { min-inline-size:116px; min-block-size:30px; }
.header-membership .member-label { font-size:12px !important; text-transform:none !important; }
html[lang="dv"] .header-membership .member-label { font-size:13px !important; }
@media (max-width:600px) {
  .home-hero-grid { margin-block:20px 24px; }
  .mobile-latest { margin-block:16px 22px; }
  .mobile-latest .latest-grid { gap:18px; }
  .membership-band { margin-block:20px 24px; }
  .category-page { margin-block:20px 28px; }
  .category-page-grid { gap:14px; }
}
.mobile-latest .mag-card,.desktop-archive .mag-card { padding-bottom:9px; }
.mobile-latest .mag-card .article-image-link,.desktop-archive .mag-card .article-image-link { margin-bottom:5px; }
.mobile-latest .mag-card-copy .mag-category,.desktop-archive .mag-card-copy .mag-category { margin:0 0 3px; line-height:1.3; }
.mobile-latest .mag-card-copy h3,.desktop-archive .mag-card-copy h3 { margin:0; }
.mobile-latest .latest-grid { gap:12px; }
@media (max-width:600px) { .mobile-latest .latest-grid { gap:12px; } }


/* Tighter post rhythm and page headings below the masthead title. */
.mobile-latest .latest-grid { row-gap: 7px; }
.desktop-archive .latest-grid { gap: 14px 20px; }
.mobile-latest .mag-card { padding-bottom: 5px; }
html body main h1 { font-size: clamp(28px,4vw,46px) !important; }
html[lang="dv"] body main h1 { font-size: clamp(25px,3.5vw,36px) !important; letter-spacing: .06em !important; }
@media (max-width:600px) { .mobile-latest .latest-grid { row-gap: 7px; } }


/* === JOS 2026-11-26: tighter spacing between homepage sections (both editions) === */
html body #main > .membership-promo-strip { margin-top: 8px !important; margin-bottom: 12px !important; }
html body #main > .home-hero-grid { margin-top: 12px !important; margin-bottom: 0 !important; }
html body #main > .desktop-category-index { margin-top: 24px !important; margin-bottom: 24px !important; }
html body #main > .desktop-archive { margin-top: 24px !important; margin-bottom: 0 !important; }
html body #main:has(> .home-hero-grid) ~ .article-ad { margin-top: 16px !important; margin-bottom: 16px !important; }
html body #main:has(> .home-hero-grid) ~ .membership-band { margin-top: 16px !important; margin-bottom: 20px !important; }
@media (max-width: 700px) {
  /* Hairline under the hero on phones. */
  html body #main > .home-hero-grid { margin-top: 10px !important; padding-bottom: 18px !important; border-bottom: 1px solid #cbb77f !important; }
  html body #main > .mobile-latest { margin-top: 18px !important; margin-bottom: 0 !important; }
}
