/* =====================================================================
   Al-Amal — design v2 (PREVIEW)
   Loaded after theme.css and only overrides it: deleting this file
   (and the preview layout that links it) restores the current look.
   Colours stay the institute's own: navy, the logo's gold arc, logo blue.
   ===================================================================== */

:root {
  --bg: #f7f5ef;              /* warm off-white page background */
  --soft: #f3f0e8;
  --line: #e9e3d5;
  --cut: 6px 18px 6px 18px;   /* button corners */
  --radius: 16px;
  --shadow: 0 10px 30px rgba(18, 48, 77, .06);
  --shadow-lg: 0 24px 50px rgba(18, 48, 77, .12);
  --header-bg: rgba(255, 255, 255, .98);
  --block-bg: #fff;
  --eyebrow: var(--gold-dark);
}
:root[data-theme="dark"] { --block-bg: var(--surface); --eyebrow: var(--gold); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --block-bg: var(--surface); --eyebrow: var(--gold); }
}

/* ---------- Top contact bar ---------- */
.topbar { background: var(--navy-deep); color: #c9d6e2; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.topbar-contact a, .topbar-contact > span { display: inline-flex; align-items: center; gap: 7px; color: #c9d6e2; transition: color .2s; }
.topbar-contact a:hover { color: var(--gold); }
.topbar .icon { color: var(--gold); }
.topbar .social-links { margin: 0; gap: 6px; }
.topbar .social-links a { width: 30px; height: 30px; border-color: rgba(255, 255, 255, .14); }
.topbar .social-links .icon { color: #fff; }
@media (max-width: 760px) {
  .topbar-addr, .topbar .social-links { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-contact { justify-content: center; gap: 4px 16px; }
}

/* ---------- Header ---------- */
.site-header { box-shadow: 0 6px 24px rgba(18, 48, 77, .06); }
.header-inner { min-height: 84px; }
.main-nav > a, .nav-dropdown > summary { font-size: 15px; background: transparent; }
.main-nav > a:hover, .nav-dropdown > summary:hover { background: transparent; color: var(--gold-dark); }
.nav-dropdown--services > summary { background: transparent; color: var(--ink); }
.nav-dropdown--services > summary:hover, .nav-dropdown--services[open] > summary { background: transparent; color: var(--gold-dark); }
.theme-toggle, .lang-switch { border: 1px solid var(--line); border-radius: 50%; background: var(--surface); }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--cut); font-weight: 800; }
.btn-primary, .btn.primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover, .btn.primary:hover { background: var(--gold-dark); color: var(--navy-deep); }
.btn-outline { border-color: var(--gold); color: var(--heading); }
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }

/* ---------- Hero ---------- */
.hero { min-height: min(76vh, 640px); }
[dir="rtl"] .hero-overlay { background: linear-gradient(to left, rgba(11, 28, 46, .88) 0%, rgba(11, 28, 46, .55) 48%, rgba(11, 28, 46, .15) 100%); }
[dir="ltr"] .hero-overlay { background: linear-gradient(to right, rgba(11, 28, 46, .88) 0%, rgba(11, 28, 46, .55) 48%, rgba(11, 28, 46, .15) 100%); }
.hero-eyebrow { border-color: rgba(233, 185, 73, .6); background: rgba(11, 28, 46, .35); color: var(--gold); }
.hero-arrow { background: rgba(255, 255, 255, .92); color: var(--navy); }
.hero-arrow:hover { background: var(--gold); color: var(--navy-deep); }

/* ---------- Stats ---------- */
.stats-bar { border-radius: 22px; }
.stat-icon { border-radius: 50%; background: var(--tint-gold); color: var(--gold-dark); }

/* ---------- Section headings ---------- */
.eyebrow { color: var(--eyebrow); }
.eyebrow::before { width: 36px; background: var(--gold); }

/* ---------- Home: full-width sections, each in its own white box ---------- */
.home-layout { gap: 32px; padding-block: 56px 8px; }
.home-layout.has-aside { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "aside"; }
.home-main { display: grid; gap: 32px; min-width: 0; }
.has-aside .center-grid, .has-aside .story-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.has-aside .story-card { min-height: 0; }
.home-main > .home-block:not(#centers) { padding: 44px; background: var(--block-bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.home-block.about { padding-top: 44px; }

/* Announcements: a full-width box of cards instead of a sticky sidebar */
.home-layout.has-aside .ann-sidebar { position: static; max-height: none; overflow: visible; padding: 36px 40px; background: var(--block-bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.ann-sidebar .ann-head { padding: 0 0 20px; background: transparent; color: var(--heading); }
.ann-sidebar .ann-head h2 { color: var(--heading); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.ann-sidebar .ann-head h2 .icon { color: var(--gold-dark); }
.ann-sidebar .ann-all { color: var(--gold-dark); }
.ann-sidebar .ann-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; padding: 0; overflow: visible; }
.ann-card { border-radius: 16px; }

/* ---------- About ---------- */
.about-panel { border-radius: 999px 999px 28px 28px; outline: 2px dashed rgba(233, 185, 73, .55); outline-offset: 10px; }
.value-card { background: var(--soft); border-radius: 18px; }
.value-card h3 { display: flex; align-items: center; gap: 8px; }
.value-card h3::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

/* ---------- Centers: dark full-width band with round gold icons ---------- */
#centers.home-panel { position: relative; padding: 64px 0; color: #fff; background: var(--navy); border: 0; border-radius: 0; box-shadow: 0 0 0 100vmax var(--navy); clip-path: inset(0 -100vmax); }
#centers .eyebrow { color: var(--gold); }
#centers .section-title { color: #fff; }
#centers .section-sub { color: #bccbd9; }
#centers .section-head .btn-outline { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
#centers .center-grid { position: relative; gap: 20px; }
#centers .center-grid::before { content: ''; position: absolute; inset-inline: 10%; top: 65px; border-top: 2px dashed rgba(233, 185, 73, .4); }
#centers .center-card { position: relative; z-index: 1; flex-direction: column; align-items: center; gap: 14px; padding: 30px 20px 22px; text-align: center; color: #fff; background: var(--navy); border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; }
#centers .center-card:hover { border-color: var(--gold); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
#centers .icon-box { width: 70px; height: 70px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); }
#centers .center-card-text { display: flex; flex-direction: column; gap: 6px; }
#centers .center-card-text strong { color: #fff; font-size: 18px; }
#centers .center-card-text small { color: #bccbd9; }
#centers .center-card-arrow { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: auto; padding: 10px 12px; border-radius: var(--cut); background: var(--gold); color: var(--navy-deep); font-size: 14px; font-weight: 800; }
[dir="rtl"] #centers .center-card-arrow::before { content: 'استكشف المركز'; }
[dir="ltr"] #centers .center-card-arrow::before { content: 'Explore'; }

/* ---------- News / projects: white cards, photo on top ---------- */
.story-card { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; color: var(--ink); background: var(--block-bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.story-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.story-card::after { display: none; }
.story-card picture { display: block; overflow: hidden; }
.story-card .story-img { position: relative; inset: auto; z-index: 0; display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.story-card--brand { background: var(--block-bg); }
.story-card--brand::before { content: ''; display: block; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #eef6fb 0%, #d7e9f3 100%); }
.story-card--brand .story-mark { top: 28px; width: 110px; z-index: 1; }
.story-body { gap: 10px; padding: 18px 20px 22px; }
.story-body strong { color: var(--heading); }
.story-summary { color: var(--muted); }

/* ---------- Other ---------- */
.donate-band { border-radius: 28px; }
.campaign-card { border-radius: 20px; }
.site-footer { border-top: 4px solid var(--gold); }
.back-to-top { background: var(--gold); color: var(--navy-deep); }
:root[data-theme="dark"] .back-to-top { background: var(--gold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .back-to-top { background: var(--gold); } }

/* Preview notice (only exists in the preview layout) */
.design-preview-pill { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 90; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--navy-deep); color: #fff; font-size: 13px; font-weight: 700; box-shadow: var(--shadow-lg); }
.design-preview-pill a { color: var(--gold); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .has-aside .center-grid, .has-aside .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #centers .center-grid::before { display: none; }
}
@media (max-width: 900px) {
  .home-layout.has-aside .ann-sidebar { padding: 28px 22px; }
}
@media (max-width: 680px) {
  .has-aside .center-grid, .has-aside .story-grid { grid-template-columns: 1fr; }
  .home-main > .home-block:not(#centers) { padding: 26px 18px; border-radius: 20px; }
  #centers.home-panel { padding: 44px 0; }
  .home-layout.has-aside .ann-sidebar { padding: 22px 16px; border-radius: 20px; }
  .ann-sidebar .ann-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .design-preview-pill { bottom: 80px; font-size: 12px; }
}

/* fix 1 */
#centers .center-card-arrow { opacity: 1; }
#centers .center-card:hover .center-card-arrow { background: #f3c85d; }
.section { padding-block: 64px; }

/* =====================================================================
   v2 — inner pages (about, news, centers, campaigns, reports, history,
   partners, contact, sponsorship, Gaza orphans …)
   ===================================================================== */

/* Page header: a rounded navy panel inside the page width */
.page-header { padding: 28px 0 0; background: none; color: #fff; }
.page-header > .container, .page-header > .container.narrow {
  position: relative; overflow: hidden;
  width: min(var(--container), 100% - 40px);
  padding: 52px 48px 48px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 15%, rgba(233, 185, 73, .22), transparent 32%),
    radial-gradient(circle at 95% 115%, rgba(10, 134, 191, .38), transparent 42%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 62%, #164a70 100%);
  box-shadow: var(--shadow-lg);
}
.page-header > .container::after {
  content: ''; position: absolute; top: -70px; inset-inline-start: -70px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 2px dashed rgba(233, 185, 73, .35); pointer-events: none;
}
.page-header h1 { position: relative; font-size: clamp(28px, 4vw, 46px); font-weight: 800; color: #fff; }
.page-header .page-intro { position: relative; max-width: 760px; margin-top: 12px; color: #c9d6e2; }
.page-header .eyebrow-light { color: var(--gold); }
.breadcrumb {
  position: relative; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 18px; padding: 5px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13px; color: #c9d6e2;
}
.breadcrumb a:hover { color: var(--gold); text-decoration: none; }
.breadcrumb [aria-current] { color: var(--gold); font-weight: 700; }

/* Body: text pages and single items sit in one white box */
.page-body { padding-block: 32px 72px; }
.page-body > .container.narrow {
  width: min(1000px, 100% - 40px);
  padding: 48px 56px;
  background: var(--block-bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}

/* Rich text */
.prose h2 { margin: 1.4em 0 .5em; font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; color: var(--eyebrow); }
.prose h3 { margin: 1.2em 0 .4em; font-size: 20px; font-weight: 800; color: var(--heading); }
.prose hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }
.prose a { color: var(--link); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-inline-start: 4px solid var(--gold); border-radius: 12px; background: var(--soft); }
.prose li::marker { color: var(--gold-dark); }
.prose img { border-radius: 18px; }

/* Single item */
.entry-cover { border-radius: 22px; box-shadow: var(--shadow-lg); }
.entry-summary { border: 0; border-inline-start: 4px solid var(--gold); border-radius: 14px; background: var(--tint-gold); color: var(--heading); font-weight: 600; }
.page-date { padding: 4px 14px; }
.share { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

/* "Learn more" links as pills */
.related-links { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-links h2 { margin-bottom: 14px; font-size: 20px; color: var(--heading); }
.related-links ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.related-links a { display: inline-flex; align-items: center; padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 700; color: var(--heading); transition: border-color .2s, color .2s, background .2s; }
.related-links a:hover { border-color: var(--gold); background: var(--tint-gold); color: var(--heading); }

/* Pagination */
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.pager > span { padding: 6px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--muted); }

/* Listings on cream background: white cards */
.report-card, .partner-card, .timeline-card, .faq-item, .landing-box { border-radius: 20px; border-color: var(--line); box-shadow: var(--shadow); }
.report-card .icon-box, .campaign-card .icon-box { border-radius: 50%; background: var(--tint-gold); color: var(--gold-dark); }
.report-card:hover, .partner-card:hover { border-color: var(--gold); }

/* Long landing pages (أيتام غزة …): alternate sections become white boxes */
main:has(> .page-header) .section-soft { background: transparent; }
main:has(> .page-header) .section-soft > .container:not(:has(> .donate-band)) {
  padding: 44px; background: var(--block-bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
}
.landing-toc { margin-top: 24px; padding: 24px 28px; background: var(--block-bg); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); }
.landing-toc ol { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 10px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.landing-toc li { counter-increment: toc; }
.landing-toc li a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--heading); }
.landing-toc li a::before { content: counter(toc); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-size: 12px; }
.landing-toc li a:hover { border-color: var(--gold); }
.landing-note { border-radius: 20px; }

@media (max-width: 680px) {
  .page-header { padding-top: 16px; }
  .page-header > .container, .page-header > .container.narrow { padding: 34px 22px 30px; border-radius: 22px; }
  .page-body > .container.narrow { padding: 28px 20px; border-radius: 20px; }
  main:has(> .page-header) .section-soft > .container:not(:has(> .donate-band)) { padding: 26px 18px; border-radius: 20px; }
}

/* fix 3 */
.landing-toc li { list-style: none; }
.landing-toc li::marker { content: none; }
.icon-box { border-radius: 50%; background: var(--tint-gold); color: var(--gold-dark); }
.report-tabs a { border-radius: 999px; }
.report-tabs a.is-active, .report-tabs a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* fix 4 */
.landing-toc li::before { content: none; display: none; }
.breadcrumb [aria-current] { display: inline-block; max-width: min(40ch, 60vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* =====================================================================
   v2 — home page layout (preview home.blade.php)
   ===================================================================== */
.home-v2 { display: grid; gap: 32px; margin-block: 56px 32px; }
.home-v2 > .home-block:not(#centers) { padding: 44px; background: var(--block-bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.home-v2 > #centers.home-panel { margin-block: 16px; }
.section-sub { color: var(--muted); }

/* "View all" links */
.link-all { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; color: var(--heading); white-space: nowrap; }
.link-all:hover { color: var(--gold-dark); }
[dir="rtl"] .link-all .icon { transform: scaleX(-1); }
.home-more { margin: 26px 0 0; text-align: end; }

/* Campaign cards, project-card style */
.home-showcase .campaign-grid, .campaign-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.campaign-card--v2 { position: relative; gap: 0; padding: 0; overflow: hidden; border-radius: 22px; }
.campaign-card--v2 .cc-cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(160deg, #eef6fb 0%, #d7e9f3 100%); }
.campaign-card--v2 .cc-cover picture { display: block; height: 100%; }
.campaign-card--v2 .cc-cover img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; transition: transform .5s; }
.campaign-card--v2:hover .cc-cover img { transform: scale(1.05); }
.campaign-card--v2 .cc-cover img.cc-mark { position: absolute; inset: 0; width: 120px; height: auto; margin: auto; object-fit: contain; }
.campaign-card--v2:hover .cc-cover img.cc-mark { transform: scale(1.06); }
.campaign-card--v2 .status-badge { position: absolute; top: 12px; inset-inline-start: 12px; }
.campaign-card--v2 .cc-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 18px 20px 20px; }
.cc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: var(--tint-gold); color: var(--heading); font-size: 12px; font-weight: 800; }
.cc-tag .icon { color: var(--gold-dark); }
.campaign-card--v2 strong { margin-top: 0; font-size: 18px; color: var(--heading); }
.cc-summary { font-size: 14px; line-height: 1.7; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 11px 14px; border-radius: var(--cut); background: var(--gold); color: var(--navy-deep); font-size: 15px; font-weight: 800; transition: background .2s; }
.campaign-card--v2:hover .cc-btn { background: var(--gold-dark); }
[dir="rtl"] .cc-btn .icon { transform: scaleX(-1); }

/* About: on the page background, value chips, founding badge */
.home-about { padding-block: 72px 48px; }
.home-about .about-grid { align-items: center; }
.value-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; margin: 26px 0 30px; }
.value-chip { display: flex; align-items: flex-start; gap: 12px; }
.value-chip .icon-box { width: 46px; height: 46px; border-radius: 14px; }
.value-chip strong { display: block; margin-bottom: 2px; font-size: 16px; color: var(--heading); }
.value-chip small { display: block; font-size: 13px; line-height: 1.7; color: var(--muted); }
.about-visual { position: relative; }
.about-badge { position: absolute; bottom: 28px; inset-inline-end: -16px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 18px; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); }
.about-badge .icon-box { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); }
.about-badge b { display: block; font-size: 26px; line-height: 1.1; }
.about-badge small { display: block; font-size: 12px; color: #c9d6e2; }

/* News section tabs */
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pills a, .filter-pills span { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 700; color: var(--heading); transition: border-color .2s; }
.filter-pills .is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-pills a:hover { border-color: var(--gold); }

/* Announcements as a full-width box on the new home */
.home-v2 > .ann-sidebar { position: static; max-height: none; overflow: visible; padding: 36px 40px; background: var(--block-bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }

/* Footer: lighter navy, like the reference */
.site-footer { background: radial-gradient(circle at 0% 100%, rgba(233, 185, 73, .12), transparent 40%), var(--navy); }

@media (max-width: 900px) {
  .home-v2 > .ann-sidebar { padding: 28px 22px; }
  .about-badge { inset-inline-end: 10px; bottom: 14px; }
}
@media (max-width: 680px) {
  .home-v2 { gap: 24px; margin-block: 36px 20px; }
  .home-v2 > .home-block:not(#centers) { padding: 26px 18px; border-radius: 20px; }
  .home-v2 > .ann-sidebar { padding: 22px 16px; border-radius: 20px; }
  .value-chips { grid-template-columns: 1fr; }
  .home-about { padding-block: 48px 32px; }
}

/* Sponsorship call-to-action card next to the campaigns */
.cc-cta { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px 28px; border: 0; border-radius: 22px; background: radial-gradient(circle at 100% 0%, rgba(233, 185, 73, .22), transparent 45%), var(--navy); color: #c9d6e2; }
.cc-cta .icon-box { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); }
.cc-cta strong { margin: 0; font-size: 24px; color: #fff; }
.cc-cta > span:not(.icon-box):not(.cc-btn) { font-size: 15px; line-height: 1.8; }
.cc-cta .cc-btn { margin-top: 8px; }
.cc-cta:hover .cc-btn { background: var(--gold-dark); }

/* No sideways scrolling on phones: the testimonials slider stays inside its own box */
.testimonial-track { contain: paint; }

/* Tighter vertical rhythm on the home page (less empty space between sections) */
.home-v2 { gap: 24px; margin-block: 32px 0; }
.stats-wrap + .home-v2 { margin-top: 40px; }
.home-v2 > .home-block:not(#centers) { padding: 32px 36px; }
.home-v2 > #centers.home-panel { margin-block: 0; padding-block: 44px; }
.home-v2 .section-head, .stats-wrap ~ .section .section-head { margin-bottom: 24px; }
.stats-wrap ~ .section { padding-block: 40px; }
.stats-wrap ~ .section + .section { padding-top: 0; }
.home-about { padding-block: 48px 8px; }
.home-about .about-grid { gap: 48px; }
.home-about .about-visual { padding-bottom: 0; }
.value-chips { margin: 20px 0 22px; }
.home-about .btn-row { margin-top: 18px; }
.home-more { margin-top: 18px; }
.section + .home-v2 { margin-top: 0; }
/* Fill rows instead of leaving holes: centred last row of centres, reports and partners stretch to the full width */
#centers .center-grid { display: flex; flex-wrap: wrap; justify-content: center; }
#centers .center-grid > .center-card { flex: 0 1 calc(25% - 15px); }
#reports .report-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
#partners .partner-grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
@media (max-width: 1100px) { #centers .center-grid > .center-card { flex-basis: calc(50% - 10px); } }
@media (max-width: 600px) { #centers .center-grid > .center-card { flex-basis: 100%; } }
@media (max-width: 680px) {
  .home-v2, .stats-wrap + .home-v2 { gap: 18px; margin-block: 24px 0; }
  .home-v2 > .home-block:not(#centers) { padding: 22px 16px; }
  .home-v2 > #centers.home-panel { padding-block: 32px; }
  .stats-wrap ~ .section { padding-block: 28px; }
  .home-about { padding-block: 32px 28px; }
  .home-about .about-grid { gap: 28px; }
}

/* Accessibility: darker gold text on light backgrounds (WCAG AA contrast) */
html:not([data-theme="dark"]) { --eyebrow: #8a6410; }
.cc-cta .cc-btn { color: var(--navy-deep); }
/* Hero: the poster is a real image (fast LCP); the video sits above it and is transparent until it plays */
.hero-media > .hero-poster, .hero-media > .hero-poster img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-media > .hero-video { background: transparent; }
/* Speed (LCP): the testimonials slider must not snap-scroll on load; an automatic scroll stops Chrome from recording the page's LCP */
.testimonial-track { padding-inline: 2px; scroll-padding-inline: 2px; }
a.campaign-card.cc-cta span.cc-btn { color: #0b1c2e; }
html:not([data-theme="dark"]) .ann-all { color: #8a6410; }

/* Inner pages: headings and lists built from editor text (ProseFormat) */
.prose h2.prose-label { display: flex; align-items: center; gap: 10px; margin: 30px 0 10px; font-size: 20px; line-height: 1.5; color: var(--heading); }
.prose h2.prose-label::before { content: ""; flex: none; width: 6px; height: 22px; border-radius: 3px; background: var(--gold); }
.prose h2.prose-label:first-child { margin-top: 0; }
.prose ul.prose-list { margin: 0 0 18px; padding-inline-start: 22px; list-style: disc; }
.prose ul.prose-list li { margin: 6px 0; }
.prose ul.prose-list li::marker { color: var(--gold-dark); }
/* Gold small titles stay bright on the navy bands */
.eyebrow.eyebrow-light, #centers .eyebrow, .home-panel .eyebrow, .donate-band .eyebrow { color: #e9b949; }
/* No half-empty rows: centres centre their last row, campaigns are centred, reports fill the width */
.center-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.center-grid > .center-card { flex: 0 1 calc(25% - 15px); }
@media (max-width: 1100px) { .center-grid > .center-card { flex-basis: calc(50% - 10px); } }
@media (max-width: 600px) { .center-grid > .center-card { flex-basis: 100%; } }
.campaign-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); justify-content: center; }
.report-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Plain-text pages (about, sponsorship, contact…) rendered as paragraphs, headings and lists */
.prose.prose-text { white-space: normal; }
.prose.prose-text p { margin: 0 0 16px; }
.prose ol.prose-list { margin: 0 0 18px; padding-inline-start: 24px; list-style: decimal; }
.prose ol.prose-list li { margin: 6px 0; }
.prose ol.prose-list li::marker { color: var(--gold-dark); font-weight: 800; }
.prose h3.prose-sub { margin: 22px 0 8px; font-size: 17px; line-height: 1.6; color: var(--heading); }

/* contact cards on the contact page */
.page-body .landing-contact{margin-bottom:32px}

/* ── Footer v3: donate band, five columns, full contact details ── */
.site-footer { padding-top: 48px; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 32px; margin-bottom: 52px; padding: 28px 34px; border-radius: 24px; color: #0b1c2e;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .35), transparent 45%), linear-gradient(120deg, #f3ca60 0%, #e9b949 50%, #d9a238 100%); box-shadow: 0 18px 40px rgba(0, 0, 0, .2); }
.footer-cta-text { display: grid; gap: 6px; max-width: 640px; }
.footer-cta-text strong { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; color: #0b1c2e; }
.footer-cta-text span { font-size: 15px; line-height: 1.8; color: #3d3320; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-cta .footer-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 24px; border: 2px solid #0b1c2e; border-radius: 999px; background: #0b1c2e; color: #fff; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.footer-cta .footer-cta-btn:hover { background: #12304d; border-color: #12304d; transform: translateY(-1px); }
.footer-cta .footer-cta-btn--ghost { background: transparent; color: #0b1c2e; }
.footer-cta .footer-cta-btn--ghost:hover { background: rgba(11, 28, 46, .08); color: #0b1c2e; }
.footer-grid { grid-template-columns: 1.45fr 1fr 1fr 1.05fr 1.35fr; gap: 36px; }
.footer-portals { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-portals a { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .09); border-radius: 12px; background: rgba(255, 255, 255, .05); color: #fff; font-weight: 700; text-decoration: none; transition: background .2s; }
.footer-portals a:hover { background: rgba(255, 255, 255, .1); }
.footer-portals small { font-size: 12.5px; font-weight: 500; color: #9fb3c6; }
.footer-contact { gap: 12px; }
.footer-contact li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.footer-bottom { padding-inline-end: 80px; }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; max-width: 640px; }
}
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta { padding: 24px; margin-bottom: 40px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-cta-actions, .footer-cta .footer-cta-btn { width: 100%; }
  .footer-bottom { padding-inline-end: 0; padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) { .footer-cta .footer-cta-btn:hover { transform: none; } }

/* Footer v3 widths */
@media (min-width: 1101px) { .footer-grid { grid-template-columns: 1.3fr .9fr .8fr 1.1fr 1.55fr; gap: 32px; } }

/* ── Testimonials v2: two cards per view, author on top, auto-advance with dots and a pause button ── */
.testimonials { position: relative; overflow: hidden; }
.testimonials::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 12% 20%, rgba(233, 185, 73, .12), transparent 38%), radial-gradient(circle at 90% 85%, rgba(10, 134, 191, .08), transparent 40%); }
.testimonials > .container { position: relative; }
.testimonial-track { grid-auto-columns: calc((100% - 22px) / 2); gap: 22px; align-items: stretch; padding: 8px 2px 10px; scrollbar-width: none; }
.testimonial-track::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .testimonial-track { grid-auto-columns: 88%; gap: 14px; } }
.testimonial-card { position: relative; gap: 14px; padding: 26px 28px 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 14px 34px rgba(18, 48, 77, .08); overflow: hidden; }
.testimonial-card::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), #f3ca60, var(--gold)); }
.testimonial-card::after { content: '\201D'; position: absolute; inset-inline-end: 18px; bottom: -46px; font: 800 170px/1 Georgia, serif; color: var(--gold); opacity: .09; pointer-events: none; }
[dir="rtl"] .testimonial-card::after { content: '\201C'; }
.testimonial-card .testimonial-head { display: flex; align-items: center; gap: 14px; padding: 0 0 14px; border: 0; border-bottom: 1px dashed var(--line); }
.testimonial-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.testimonial-name { font-style: normal; font-size: 16.5px; font-weight: 800; line-height: 1.5; color: var(--heading); }
.testimonial-role { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.testimonial-source { align-self: flex-start; font-size: 13px; }
.testimonial-photo, .testimonial-card picture img, .testimonial-initial { width: 64px; height: 64px; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px rgba(233, 185, 73, .65); }
.testimonial-card .testimonial-mark { display: grid; place-items: center; flex-shrink: 0; align-self: flex-start; width: 40px; height: 40px; border-radius: 50%; background: rgba(233, 185, 73, .16); color: var(--gold-dark); }
.testimonial-card blockquote { flex: 0 0 auto; margin: 0; }
.testimonial-card blockquote p { font-size: 16.5px; line-height: 1.95; color: var(--ink); }
.t-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; }
.t-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.t-dot { position: relative; width: 30px; height: 30px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.t-dot::before { content: ''; position: absolute; inset: 11px 7px; border-radius: 99px; background: rgba(18, 48, 77, .22); transition: background .25s, inset .25s; }
.t-dot[aria-current="true"]::before { inset: 11px 1px; background: var(--gold-dark); }
.t-dot:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; border-radius: 8px; }
.t-play { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--heading); cursor: pointer; }
.t-play:hover { border-color: var(--link); color: var(--link); }
:root[data-theme="dark"] .t-dot::before { background: rgba(255, 255, 255, .25); }
:root[data-theme="dark"] .testimonial-card { box-shadow: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .t-dot::before { background: rgba(255, 255, 255, .25); } :root:not([data-theme="light"]) .testimonial-card { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .t-dot::before { transition: none; } }

/* ── UX polish v4 (UI/UX audit 2026-12-01) ── */
/* Buttons placed inside rich text / page bodies kept the link colour and underline (3:1 on gold, 1.07:1 in dark mode). */
:is(.prose, .entry-summary, .page-body p, .translation-note) a.btn { text-decoration: none; }
:is(.prose, .entry-summary, .page-body p, .translation-note) a.btn-primary,
:is(.prose, .entry-summary, .page-body p, .translation-note) a.btn-primary:hover { color: var(--navy-deep); }
:is(.prose, .entry-summary, .page-body p, .translation-note) a.btn-outline { color: var(--heading); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* Small text links reach the 24 px minimum target size (WCAG 2.2, 2.5.8). */
.topbar-contact a, .breadcrumb a, .ann-all, .ann-more, .testimonial-source { display: inline-flex; align-items: center; min-height: 24px; }
.brand-text small { font-size: 12px; }
@media (max-width: 640px) {
  /* The contact strip repeats the footer and pushed the header down on phones. */
  .topbar { display: none; }
  /* Centers: one compact row per center instead of a tall card with a full-width button. */
  #centers .center-grid > .center-card { flex-basis: 100%; }
  #centers .center-card { flex-direction: row; align-items: center; gap: 14px; padding: 16px; text-align: start; }
  #centers .icon-box { width: 52px; height: 52px; flex-shrink: 0; }
  #centers .center-card-text strong { font-size: 16px; }
  #centers .center-card-arrow { width: 40px; height: 40px; flex-shrink: 0; margin: 0; margin-inline-start: auto; padding: 0; border-radius: 50%; }
  [dir] #centers .center-card-arrow::before { content: none; }
  /* Filters stay on one swipeable line. */
  .filter-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .filter-pills::-webkit-scrollbar { display: none; }
  .filter-pills a, .filter-pills span { flex: 0 0 auto; white-space: nowrap; }
  /* Campaigns without a photo: a short logo band instead of a tall empty cover. */
  .campaign-card--v2 .cc-cover:has(.cc-mark) { aspect-ratio: 16 / 7; }
  .campaign-card--v2 .cc-cover img.cc-mark { width: 92px; }
}
@media (max-width: 768px) {
  .back-to-top { width: 42px; height: 42px; bottom: 14px; inset-inline-end: 14px; }
}
/* UX polish v4b: the swipeable filter row must not widen its (shrink-to-fit) parent. */
@media (max-width: 640px) { .filter-pills { max-width: 100%; min-width: 0; } }
/* UX polish v4c: home grid items may shrink below their content (the swipeable rows scroll inside instead of widening the page). */
.home-v2 > * { min-width: 0; }

/* ── Page images v1 (2026-12-01): photos in page headers and center cards ── */
.page-header.page-header--photo > .container,
.page-header.page-header--photo > .container.narrow {
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  background: linear-gradient(to left, rgba(11, 28, 46, .96) 0%, rgba(11, 28, 46, .86) 38%, rgba(11, 28, 46, .45) 72%, rgba(11, 28, 46, .2) 100%), var(--ph-img) center / cover no-repeat, var(--navy-deep);
}
[dir="ltr"] .page-header.page-header--photo > .container,
[dir="ltr"] .page-header.page-header--photo > .container.narrow {
  background: linear-gradient(to right, rgba(11, 28, 46, .96) 0%, rgba(11, 28, 46, .86) 38%, rgba(11, 28, 46, .45) 72%, rgba(11, 28, 46, .2) 100%), var(--ph-img) center / cover no-repeat, var(--navy-deep);
}
.page-header.page-header--photo > .container::after { display: none; }
.page-header--photo h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.center-card-photo { display: block; overflow: hidden; }
.center-card-photo picture, .center-card-photo img { display: block; width: 100%; height: 100%; }
.center-card-photo img { object-fit: cover; transition: transform .5s; }
.center-card:hover .center-card-photo img { transform: scale(1.05); }
#centers .center-card:has(.center-card-photo) { padding-top: 0; overflow: hidden; }
#centers .center-card-photo { align-self: stretch; margin-inline: -20px; aspect-ratio: 16 / 10; }
#centers .center-card:has(.center-card-photo) .icon-box { position: relative; z-index: 1; margin-top: -48px; border: 4px solid var(--navy); }
.page-body .center-card:has(.center-card-photo) { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.page-body .center-card-photo { aspect-ratio: 16 / 10; }
.page-body .center-card:has(.center-card-photo) > .icon-box { display: none; }
.page-body .center-card:has(.center-card-photo) .center-card-text { padding: 16px 18px 6px; }
.page-body .center-card:has(.center-card-photo) .center-card-arrow { align-self: flex-end; padding: 0 18px 14px; }
@media (max-width: 640px) {
  [dir] .page-header.page-header--photo > .container,
  [dir] .page-header.page-header--photo > .container.narrow {
    min-height: 260px;
    background: linear-gradient(180deg, rgba(11, 28, 46, .35) 0%, rgba(11, 28, 46, .9) 72%), var(--ph-img) center / cover no-repeat, var(--navy-deep);
  }
  #centers .center-card:has(.center-card-photo) { padding: 12px; }
  #centers .center-card-photo { width: 64px; height: 64px; aspect-ratio: auto; margin: 0; border-radius: 14px; flex-shrink: 0; align-self: center; }
  #centers .center-card:has(.center-card-photo) .icon-box { display: none; }
}
@media (prefers-reduced-motion: reduce) { .center-card-photo img { transition: none; } }

/* ── Home: History Corner feature beside the announcements (v1) ── */
.home-duo { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.home-duo--solo { grid-template-columns: minmax(0, 1fr); }
.home-duo > * { min-width: 0; }
.home-duo > .ann-sidebar { position: static; max-height: none; overflow: visible; padding: 36px 40px; background: var(--block-bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.home-duo:not(.home-duo--solo) > .ann-sidebar { padding: 32px 28px; }
.home-duo:not(.home-duo--solo) > .ann-sidebar .ann-list { grid-template-columns: minmax(0, 1fr); }
.hist-feature { position: relative; overflow: hidden; isolation: isolate; padding: 32px 36px; background: var(--block-bg); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.hist-feature::before { content: ""; position: absolute; inset-block-start: -100px; inset-inline-end: -100px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 151, 42, .18), transparent 70%); z-index: -1; pointer-events: none; }
.hist-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.hist-head h2 { display: inline-flex; align-items: center; gap: 10px; margin: 0; color: var(--heading); font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.hist-head h2 .icon { color: var(--gold-dark); }
.hist-all { color: var(--eyebrow); font-weight: 700; font-size: 14px; white-space: nowrap; }
.hist-all:hover { text-decoration: underline; }
.hist-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: center; }
.hist-photo { position: relative; display: block; aspect-ratio: 4 / 3.4; border-radius: 18px; overflow: hidden; background: #2a2418; box-shadow: 0 18px 36px rgba(18, 48, 77, .18); transform: rotate(-1.2deg); transition: transform .35s ease; }
[dir="ltr"] .hist-photo { transform: rotate(1.2deg); }
.hist-card:hover .hist-photo, [dir="ltr"] .hist-card:hover .hist-photo { transform: rotate(0); }
.hist-photo picture, .hist-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hist-photo img { filter: sepia(.38) saturate(.85) contrast(1.06); transition: filter .5s ease, transform .6s ease; }
.hist-card:hover .hist-photo img { filter: none; transform: scale(1.04); }
.hist-photo::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 12px; pointer-events: none; }
.hist-photo-icon { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gold); }
.hist-year { position: absolute; z-index: 1; inset-block-end: 18px; inset-inline-start: 18px; display: grid; justify-items: center; padding: 8px 14px 7px; background: var(--navy); color: var(--gold); border-radius: 14px; font-size: 28px; font-weight: 800; line-height: 1; box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.hist-year small { margin-bottom: 4px; color: rgba(255, 255, 255, .8); font-size: 11px; font-weight: 600; }
.hist-count { position: absolute; z-index: 1; inset-block-start: 18px; inset-inline-end: 18px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; background: rgba(11, 28, 46, .72); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hist-body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.hist-eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 4px 12px; background: rgba(201, 151, 42, .12); color: var(--eyebrow); border-radius: 999px; font-size: 13px; font-weight: 700; }
.hist-body h3 { margin: 0; color: var(--heading); font-size: clamp(18px, 1.7vw, 22px); font-weight: 800; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hist-body h3 a { color: inherit; }
.hist-body h3 a:hover { color: var(--link); }
.hist-body p { margin: 0; color: var(--muted, #5d6b78); font-size: 15px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hist-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 10px 20px; background: var(--gold); color: var(--navy); border-radius: var(--cut); font-size: 15px; font-weight: 800; transition: transform .2s, box-shadow .2s; }
.hist-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(201, 151, 42, .35); }
.hist-decades { position: relative; display: flex; justify-content: space-between; gap: 8px; margin-top: 28px; }
.hist-decades::before { content: ""; position: absolute; z-index: 0; inset-inline: 10px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.hist-decades a { position: relative; z-index: 1; flex-shrink: 0; padding: 4px 12px; background: var(--block-bg); border: 1px solid var(--line); border-radius: 999px; color: var(--heading); font-size: 13px; font-weight: 700; transition: background .2s, color .2s, border-color .2s; }
.hist-decades a:hover { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.home-duo--solo .hist-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; }
@media (max-width: 1100px) {
  .home-duo { grid-template-columns: minmax(0, 1fr); }
  .home-duo:not(.home-duo--solo) > .ann-sidebar .ann-list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}
@media (max-width: 991px) { .home-duo > .ann-sidebar, .home-duo:not(.home-duo--solo) > .ann-sidebar, .hist-feature { padding: 28px 22px; } }
@media (max-width: 680px) {
  .home-duo { gap: 18px; }
  .home-duo > .ann-sidebar, .home-duo:not(.home-duo--solo) > .ann-sidebar, .hist-feature { padding: 22px 16px; border-radius: 20px; }
  .hist-head { margin-bottom: 16px; }
  .hist-card, .home-duo--solo .hist-card { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hist-photo, [dir="ltr"] .hist-photo { aspect-ratio: 16 / 10; transform: none; }
  .hist-year { inset-block-end: 12px; inset-inline-start: 12px; font-size: 22px; }
  .hist-decades { justify-content: flex-start; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
}
@media (prefers-reduced-motion: reduce) { .hist-photo, .hist-photo img, .hist-cta { transition: none; } .hist-card:hover .hist-photo img { transform: none; } }
.home-duo > .ann-sidebar, .home-duo > .hist-feature { align-self: stretch; height: auto; }
