/* Ready, Willing & Working — WordPress theme styles.
   Layout after doe.org: photo hero with rotating quotes, bold uppercase
   section headings, story cards, an "at a glance" stats band, navy chrome.
   Colors come from the RWW logo and the Men & Women in Blue uniforms. */

:root {
  --navy: #0a2240;
  --navy-2: #12305a;
  --blue: #1257b8;        /* RWW royal blue */
  --blue-dark: #0d4593;
  --blue-light: #e9f1fc;
  --red: #d9232e;         /* the logo's check mark; used for Donate */
  --red-dark: #b51c26;
  --ink: #1d2733;
  --muted: #5b6776;
  --line: #d9e0e8;
  --bg-alt: #f3f6fa;
  --white: #fff;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(10, 34, 64, .08);
  --wrap: 1320px;
  --head: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 17px/1.65 var(--body); color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid #f6b73c; outline-offset: 2px; }
h1, h2, h3, h4, .h3 { font-family: var(--head); line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 900; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
h3, .h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.hint { font-size: .88rem; color: var(--muted); }
.meta { font-size: .85rem; color: var(--muted); margin-bottom: .4em; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-block; font: 800 .9rem/1 var(--head); text-transform: uppercase; letter-spacing: .06em;
  padding: .95em 1.5em; border-radius: var(--radius); border: 2px solid var(--blue); background: var(--blue);
  color: #fff; text-decoration: none; cursor: pointer; text-align: center; transition: background .15s, border-color .15s; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-lg { font-size: 1rem; padding: 1.05em 1.8em; }
.btn-block { display: block; width: 100%; }
.btn-donate { background: var(--red); border-color: var(--red); }
.btn-donate:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-light); border-color: var(--blue-light); color: var(--navy); }
.more { font: 800 .85rem var(--head); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.more::after { content: " →"; }

/* Utility bar + header */
.util { background: var(--navy); color: #c9d6e8; font-size: .82rem; }
.util-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.util a { color: #fff; text-decoration: none; }
.util a:hover { text-decoration: underline; }
.util-links { display: flex; align-items: center; gap: 1.1rem; }
.util .social svg { width: 16px; height: 16px; }
.social { display: inline-flex; color: inherit; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 108px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo img { width: 64px; height: 64px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font: 900 1.5rem var(--head); color: var(--blue); white-space: nowrap; }
.logo-sub { font: 700 .78rem var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-top: .25em; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.site-nav a { display: block; padding: .75em .65em; font: 700 1rem var(--head); white-space: nowrap; text-transform: uppercase; letter-spacing: .04em;
  color: var(--navy); text-decoration: none; border-radius: 4px; }
@media (min-width: 1201px) and (max-width: 1300px) { .site-nav a { font-size: .92rem; } }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.menu-item-has-children { position: relative; }
.sub-menu { list-style: none; margin: 0; padding: .4rem 0; position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--blue); box-shadow: var(--shadow); display: none; }
.sub-menu a { text-transform: none; letter-spacing: 0; font-size: .95rem; padding: .55em 1.1em; white-space: normal; }
.menu-item-has-children:hover .sub-menu, .menu-item-has-children:focus-within .sub-menu { display: block; }
.nav-donate { margin-left: .5rem; }
.site-nav .btn-donate { color: #fff; padding: .85em 1.4em; border-radius: var(--radius); }
.site-nav .btn-donate:hover { color: #fff; }
.menu-btn { display: none; align-items: center; gap: .5em; font: 800 .85rem var(--head); text-transform: uppercase; letter-spacing: .06em;
  background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: var(--radius); padding: .6em .9em; cursor: pointer; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }

@media (max-width: 1200px) {
  .util-tag { display: none; }
  .util-in { justify-content: center; }
  .menu-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--blue);
    box-shadow: var(--shadow); max-height: calc(100vh - 108px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; padding: .5rem 20px 1.2rem; }
  .site-nav > ul > li > a[aria-current="page"] { box-shadow: none; }
  .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 .4rem 1rem; min-width: 0; }
  .nav-donate { margin: .8rem 0 0; }
  .site-nav .btn-donate { display: block; }
}
@media (max-width: 560px) {
  .util-links a[href^="mailto"] { display: none; }
  .logo-name { font-size: 1rem; white-space: normal; }
  .logo-sub { font-size: .62rem; }
  .logo img { width: 40px; height: 40px; }
  .menu-btn { padding: .55em .7em; flex-shrink: 0; }
  .quotes { min-height: 0; }
}

/* Home hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero-img, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,34,64,.92) 0%, rgba(10,34,64,.7) 45%, rgba(10,34,64,.25) 100%); }
.hero-in { position: relative; z-index: 1; padding: 5.5rem 20px 5rem; max-width: var(--wrap); }
.hero-in > * { max-width: 640px; }
.quotes { min-height: 7.5rem; margin-bottom: 1.4rem; }
.quote { margin: 0; animation: quote-in .6s ease; }
.quote blockquote { margin: 0; font: italic 600 clamp(1.25rem, 2.6vw, 1.7rem)/1.35 var(--body); }
.quote figcaption { margin-top: .5em; font: 700 .85rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: #a9c4ea; }
@keyframes quote-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quote { animation: none; } }
.hero-title { color: #fff; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.3rem); }
.hero-text { font-size: 1.15rem; color: #e3ebf6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.mission { background: var(--blue); color: #fff; }
.mission p { margin: 0; padding: 2.2rem 0; text-align: center; font: 700 clamp(1.1rem, 2.2vw, 1.45rem)/1.45 var(--head); max-width: 900px; margin-inline: auto; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-blue { background: var(--blue); color: #fff; }
.section-title { text-transform: uppercase; letter-spacing: .02em; position: relative; padding-bottom: .5em; margin-bottom: .9em; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--blue); }
.section-title.center::after { left: 50%; transform: translateX(-50%); }
.section-title.light { color: #fff; }
.section-title.light::after { background: #fff; }
.section-intro { color: var(--muted); max-width: 700px; margin: -.4em auto 2rem; font-size: 1.05rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.section-note { margin-top: 1.5rem; }
.eyebrow { font: 800 .8rem var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: .6em; }
.eyebrow a { color: inherit; text-decoration: none; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-wide { grid-template-columns: 3fr 2fr; align-items: start; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; gap: 2rem; } .section { padding: 3.2rem 0; } }

/* Page header */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page-hero-in { position: relative; z-index: 1; padding: 3.6rem 20px 3.2rem; }
.page-hero h1 { color: #fff; text-transform: uppercase; max-width: 860px; }
.page-hero .eyebrow { color: #9cc2f5; }
.page-intro { font-size: 1.15rem; color: #dfe8f4; max-width: 760px; margin: 0; }
.page-intro a { color: #fff; }
.page-hero .meta { color: #b9c9de; }
.page-hero-photo .page-hero-in { padding: 6rem 20px 4rem; }
.page-hero-img, .page-hero-photo picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,34,64,.9) 0%, rgba(10,34,64,.6) 60%, rgba(10,34,64,.35) 100%); }

/* Prose */
.prose { max-width: 760px; overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.prose img { margin: 1.4rem 0; border-radius: var(--radius); }
.prose h2 { margin-top: 1.6em; }
.prose blockquote { margin: 1.5rem 0; padding: .4rem 0 .4rem 1.3rem; border-left: 4px solid var(--blue); color: var(--navy); font-style: italic; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose table { border-collapse: collapse; }
.prose .video { margin: 1.5rem 0; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-bottom: 2rem; }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.story-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); border-bottom: 4px solid var(--blue); transition: transform .15s; }
.story-card:hover { transform: translateY(-3px); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .story-card:hover { transform: none; } }
.story-card-photo { aspect-ratio: 4 / 3; background: var(--blue-light); overflow: hidden; }
.story-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.story-card-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.story-card-name { font: 900 1.25rem var(--head); color: var(--navy); text-transform: uppercase; }
.story-card-role { font-size: .85rem; color: var(--muted); }
.story-card-quote { font-style: italic; margin: .3rem 0 .6rem; flex: 1; }
.story-card .more { color: var(--blue); }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.news-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.news-card h3 { font-size: 1.08rem; }
.news-card h3 a { color: var(--navy); text-decoration: none; }
.news-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.news-card p:last-child { margin: 0; font-size: .95rem; color: var(--muted); }
.highlight { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.highlight > img, .highlight > picture img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.highlight-body { padding: 1.3rem 1.4rem 1.2rem; }

/* Stats */
.stats-band { background: var(--navy); color: #fff; padding: 4.5rem 0; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-value { display: block; font: 900 clamp(2.4rem, 5vw, 3.4rem)/1 var(--head); color: #fff; margin-bottom: .4rem; font-variant-numeric: tabular-nums; }
.stat-label { display: block; font: 700 .82rem/1.45 var(--head); text-transform: uppercase; letter-spacing: .06em; color: #a9c4ea; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Sponsor teaser (home) */
.sponsor-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .sponsor-teaser { grid-template-columns: 1fr; } }
.breakdown { list-style: none; margin: 0; padding: 1.4rem 1.6rem; background: var(--blue-light); border-radius: var(--radius); }
.breakdown li { display: flex; gap: 1rem; align-items: baseline; padding: .55rem 0; border-bottom: 1px solid #cddcf1; }
.breakdown-amt { font: 900 1.2rem var(--head); color: var(--blue); min-width: 4.2rem; }
.breakdown-total { border-bottom: 0 !important; font-weight: 700; }
.breakdown-total .breakdown-amt { color: var(--red); font-size: 1.5rem; }

/* Features, partners, people */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid, .feature-grid-2 { grid-template-columns: 1fr; } }
.feature { border-top: 4px solid var(--blue); padding-top: 1rem; }
.feature p { margin: 0; color: var(--muted); }
.feature-card { background: #fff; padding: 1.4rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-card p { color: var(--ink); }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.partner-list li { background: var(--bg-alt); border-left: 4px solid var(--blue); padding: .9rem 1.1rem; font: 700 .98rem var(--head); color: var(--navy); }
.people { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.2rem; }
.people li { background: #fff; padding: 1.2rem 1.3rem; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.people-pos { font: 800 .75rem var(--head); text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.people-name { font: 900 1.15rem var(--head); color: var(--navy); }
.people-aff { font-size: .9rem; color: var(--muted); }
.callout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.callout > div { max-width: 700px; }
.callout p { margin: 0; color: #e3ebf6; }

/* Profile (founder, stories) */
.profile { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } .profile-photo { max-width: 360px; } }
.profile-photo { margin: 0; position: sticky; top: 100px; }
@media (max-width: 860px) { .profile-photo { position: static; } }
.profile-photo img { border-radius: var(--radius); width: 100%; }
.profile-photo figcaption { margin-top: .8rem; font-size: .95rem; color: var(--muted); }
.profile-quote { font: italic 600 1.15rem/1.45 var(--body) !important; color: var(--navy) !important; border-left: 4px solid var(--blue); padding-left: 1rem; }
.pull-quote { margin: 0; background: var(--blue); color: #fff; padding: 2rem; border-radius: var(--radius); }
.pull-quote blockquote { margin: 0 0 1rem; font: italic 600 1.15rem/1.5 var(--body); }
.pull-quote figcaption { font: 700 .82rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: #cfe0f7; }
.testimony { margin: 0 0 3rem; padding: 2rem; background: var(--bg-alt); border-radius: var(--radius); border-top: 4px solid var(--blue); }
.testimony-photo { width: 160px; border-radius: var(--radius); float: right; margin: 0 0 1rem 1.5rem; }
.testimony blockquote { margin: 0; font-style: italic; }
.testimony figcaption { clear: both; font: 800 .85rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
@media (max-width: 600px) { .testimony-photo { float: none; margin: 0 0 1rem; } }

/* Benefits bars */
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; align-items: center; }
.bar-label { grid-column: 1 / -1; font-weight: 600; }
.bar-track { background: var(--bg-alt); border-radius: 4px; height: 26px; overflow: hidden; }
.bar { display: block; height: 100%; background: var(--navy-2); min-width: 6px; }
.bar-rww { background: var(--red); }
.bar-amt { font: 900 1.25rem var(--head); color: var(--navy); min-width: 5.5rem; text-align: right; }

/* Gala timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--blue-light); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; padding: 0 0 1.6rem 1.4rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: .35rem; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); }
.timeline-year { font: 900 1.2rem var(--head); color: var(--blue); }
.timeline h3 { margin-bottom: .2em; }
.timeline h3 a { color: var(--navy); }
.timeline p { margin: 0; color: var(--muted); }
.events-on-blue { margin-top: 2rem; }
.events-on-blue .event { background: #fff; color: var(--ink); }

/* Events */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.event { display: grid; grid-template-columns: 76px 1fr; gap: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.event-date { background: var(--blue); color: #fff; border-radius: var(--radius); text-align: center; padding: .6rem 0; align-self: start; }
.event-date .m { display: block; font: 800 .8rem var(--head); text-transform: uppercase; letter-spacing: .1em; }
.event-date .d { display: block; font: 900 1.8rem/1 var(--head); }
.event-body h3 { margin-bottom: .2em; }
.event-body p:last-child { margin-bottom: 0; }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.video-vertical { aspect-ratio: 9 / 16; max-width: 340px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--navy), var(--blue)); }
.video-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: var(--red); box-shadow: 0 4px 18px rgba(0,0,0,.35); transition: transform .15s; }
.video-play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.video-btn:hover .video-play { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .video-btn:hover .video-play { transform: none; } }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.6rem; align-items: start; }
@media (max-width: 960px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }
.video-card h2 { margin: 1rem 0 .4rem; font-size: 1.05rem; }
.video-card p { font-size: .95rem; color: var(--muted); }
.video-card .video-vertical { max-width: none; aspect-ratio: 16 / 9; }
.video-card .video-vertical .video-btn img { object-fit: contain; background: #000; }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.gallery-item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--bg-alt); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.gallery-item:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .gallery-item:hover img { transform: none; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 15, 30, .9); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 94vw; max-height: 82vh; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { color: #fff; text-align: center; padding: .8rem; }
.lb-btn { position: fixed; background: rgba(255,255,255,.15); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255,255,255,.3); }
.lb-prev { left: 16px; top: 50%; } .lb-next { right: 16px; top: 50%; } .lb-close { right: 16px; top: 16px; }

/* Donate */
.donate-hero .page-hero-in { padding-bottom: 4.5rem; }
.campaign { background: var(--red); color: #fff; }
.campaign-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.campaign p { margin: 0; }
.campaign-name { font: 900 1.2rem var(--head); text-transform: uppercase; }
.countdown { display: flex; gap: .6rem; }
.countdown span { background: rgba(0,0,0,.18); border-radius: var(--radius); padding: .4rem .7rem; text-align: center; font: 700 .7rem var(--head); text-transform: uppercase; letter-spacing: .08em; min-width: 62px; }
.countdown b { display: block; font: 900 1.6rem/1.1 var(--head); font-variant-numeric: tabular-nums; }
.donate-grid { display: grid; grid-template-columns: 1fr 440px; gap: 3.5rem; align-items: start; }
@media (max-width: 960px) { .donate-grid { grid-template-columns: 1fr; } }
.sponsor-price { margin: 0; font: 700 1.1rem var(--head); color: var(--navy); }
.sponsor-amt { font: 900 3rem/1 var(--head); color: var(--red); margin-right: .2rem; }
.sponsor-day { color: var(--muted); }
.breakdown-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; }
.breakdown-table th, .breakdown-table td { padding: .75rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.breakdown-table td { text-align: right; font: 900 1.15rem var(--head); color: var(--blue); white-space: nowrap; padding-left: 1rem; }
.breakdown-table tfoot th { font-weight: 700; color: var(--navy); }
.breakdown-table tfoot td { color: var(--red); font-size: 1.35rem; }
.breakdown-table tfoot th, .breakdown-table tfoot td { border-bottom: 0; border-top: 3px solid var(--navy); }
.receive { background: var(--blue-light); border-left: 4px solid var(--blue); padding: 1.2rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; }
.receive p { margin: 0; }
.builder { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(10, 34, 64, .12); padding: 1.8rem; position: sticky; top: 130px; scroll-margin-top: 130px; }
@media (max-width: 960px) { .builder { position: static; } }
.builder-title { font-size: 1.35rem; text-transform: uppercase; }
.builder fieldset { border: 0; margin: 0 0 1.3rem; padding: 0; min-width: 0; }
.builder legend { font: 800 .8rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: .6rem; padding: 0; }
.builder input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-alt); border-radius: var(--radius); padding: 4px !important; }
.seg span { display: block; text-align: center; padding: .6rem; border-radius: 4px; font: 800 .85rem var(--head); text-transform: uppercase; letter-spacing: .05em; cursor: pointer; color: var(--muted); }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span, .level input:focus-visible ~ span, .qty-row input:focus-visible + span { outline: 3px solid #f6b73c; outline-offset: 1px; }
.levels { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.levels legend { grid-column: 1 / -1; }
.level { display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: var(--radius); padding: .7rem .9rem; cursor: pointer; position: relative; }
.level:has(input:checked) { border-color: var(--blue); background: var(--blue-light); }
.level-name { font: 700 .8rem var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.level-amt { font: 900 1.4rem var(--head); color: var(--navy); }
.level-amt small { font-size: .8rem; color: var(--muted); font-weight: 700; }
.qty-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.qty-row label span { display: inline-block; min-width: 48px; text-align: center; padding: .55rem .8rem; border: 2px solid var(--line); border-radius: var(--radius); font: 800 1rem var(--head); cursor: pointer; color: var(--navy); }
.qty-row input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.qty-input { width: 80px; padding: .55rem; border: 2px solid var(--blue); border-radius: var(--radius); font: 800 1rem var(--head); }
.big-note { margin: .7rem 0 0; }
.other { margin-bottom: 1.3rem; }
.other label { display: block; font: 800 .8rem var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--navy); margin-bottom: .5rem; }
.money-input { display: flex; align-items: center; border: 2px solid var(--line); border-radius: var(--radius); padding-left: .8rem; }
.money-input:focus-within { border-color: var(--blue); }
.money-input span { font: 800 1.1rem var(--head); color: var(--muted); }
.money-input input { border: 0; outline: 0; padding: .65rem .5rem; font: 700 1.05rem var(--body); width: 100%; background: transparent; }
.builder.is-other .levels, .builder.is-other .qty { opacity: .45; }
.summary { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.summary p { margin: 0; }
.summary-line { font-size: .92rem; color: #cbd8ea; }
.summary-total .total { font: 900 2.3rem/1.1 var(--head); font-variant-numeric: tabular-nums; }
.summary-total .total-per { font: 700 1rem var(--head); color: #cbd8ea; }
.paypal-steps { margin-top: .9rem; }
.gift-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 960px) { .gift-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gift-grid { grid-template-columns: 1fr; } }
.gift { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; display: flex; flex-direction: column; gap: .5rem; border-top: 4px solid var(--blue); }
.gift-amt { font: 900 2rem/1 var(--head); color: var(--blue); }
.gift-outcome { flex: 1; }
.gift-btn { margin-top: .6rem; }
.alloc-bar { display: flex; height: 22px; border-radius: 11px; overflow: hidden; margin: 1rem 0; }
.alloc-1 { background: var(--blue); } .alloc-2 { background: var(--navy); } .alloc-3 { background: var(--red); } .alloc-4 { background: #8aa4c8; }
.alloc-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.alloc-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .4rem; }
.share { display: flex; flex-wrap: wrap; gap: .6rem; }
.share .btn { font-size: .78rem; padding: .8em 1.1em; }
.other-ways { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
@media (max-width: 860px) { .other-ways { grid-template-columns: 1fr; } }
.donor-list { columns: 2 220px; column-gap: 2rem; padding: 0; list-style: none; margin: 0; }
.donor-list li { break-inside: avoid; padding: .3rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { background: var(--bg-alt); padding: 2rem; border-radius: var(--radius); border-top: 4px solid var(--blue); }
.form label { display: block; font-weight: 600; margin-bottom: 1rem; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: .35rem; padding: .7rem .8rem; border: 1px solid #b9c4d1; border-radius: 4px; font: 400 1rem var(--body); background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: 2px solid var(--blue-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* Publications, news */
.doc-list { list-style: none; padding: 0; margin: 0 0 2.5rem; }
.doc-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.doc-list a { font-weight: 600; }
.pager { display: flex; justify-content: center; align-items: center; gap: 1.5rem; font-weight: 600; }
.article-image { margin: 0 0 2rem; }
.article-image img { border-radius: var(--radius); }
.article-foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* Closing donate band + footer */
.cta-band { background: var(--blue); color: #fff; }
.cta-band-in { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-top: 2.2rem; padding-bottom: 2.2rem; }
.cta-band-text { margin: 0; font: 900 clamp(1.25rem, 2.6vw, 1.7rem)/1.25 var(--head); text-transform: uppercase; }
.site-footer { background: var(--navy); color: #c9d6e8; font-size: .95rem; padding-top: 3.5rem; }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
/* Columns size to their text and spread edge to edge, so the last column lines up with the right margin. */
.footer-grid { display: grid; grid-template-columns: minmax(0, 340px) auto auto auto; justify-content: space-between; gap: 2.5rem 3rem; padding-bottom: 2.5rem; }
.footer-contact p { margin: 0 0 .8rem; line-height: 1.6; }
.footer-contact .nowrap { white-space: nowrap; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; justify-content: stretch; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.logo-footer { margin-bottom: 1rem; }
.logo-footer img { background: #fff; border-radius: 6px; padding: 3px; }
.logo-footer .logo-name { color: #fff; }
.logo-footer .logo-sub { color: #a9c4ea; }
.footer-social { display: flex; gap: 1rem; }
.contact-info .footer-social a { color: var(--navy); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.2rem; padding-bottom: 1.6rem; font-size: .82rem; }
.footer-legal p { margin: 0; }
