/* =========================================================
   ETC – Empowered Thriving Communities
   Shared stylesheet for every page of etc-stl.org
   ========================================================= */

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Maven Pro', sans-serif; color: #333; line-height: 1.6; font-size: 18px; background-color: #f5f5f5; }
a { color: #808080; }
a:hover { color: #777777; }
img { max-width: 100%; }
[id] { scroll-margin-top: 80px; }
h1, h2, h3 { font-family: 'Oswald', sans-serif; font-weight: 700; color: #FFFFFF; }
.container { max-width: 1200px; margin: 0 auto; padding: 5px 20px 0; }

.text-link { color: #00555A; font-weight: 600; text-decoration: none; }
.text-link:hover { color: #00796b; text-decoration: underline; }
.divider { border: 0; height: 1px; background-color: #ccc; margin: 60px 0; }

/* ---------- Buttons ---------- */
.button { display: inline-block; padding: 10px 25px; background-color: #777; color: #fff; text-decoration: none; border-radius: 6px; font-weight: 700; text-align: center; transition: background-color .2s, transform .15s; }
.button:hover { background-color: #555; color: #fff; }
.button-gold { background: #efb42e; color: #000; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.button-gold:hover { background: #d88134; color: #000; transform: translateY(-2px); }
.button-teal { background: #00555A; color: #fff; }
.button-teal:hover { background: #00796b; color: #fff; transform: translateY(-2px); }
.button-light { background: #fff; color: #bb2033; }
.button-light:hover { background: #fff3cd; color: #bb2033; transform: translateY(-2px); }
.button-lg { padding: 13px 30px; font-size: 1.1em; }

/* ---------- Navigation ---------- */
.navbar { background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.1); padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; }
.navbar-logo img { height: 40px; display: block; }
.navbar-menu { display: flex; gap: 20px; align-items: center; }
.navbar-menu a { text-decoration: none; color: #333; font-weight: 700; font-size: 14px; padding: 5px 0; border-bottom: 2px solid transparent; transition: color .3s; }
.navbar-menu a:hover { color: #777; }
.navbar-menu a.current { color: #00555A; border-bottom-color: #f4c921; }
.navbar-menu a.nav-donate { background: #efb42e; color: #000; padding: 6px 16px; border-radius: 20px; border-bottom: 0; }
.navbar-menu a.nav-donate:hover { background: #d88134; color: #000; }
.hamburger { display: none; cursor: pointer; border: none; background: none; z-index: 1001; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all .3s ease-in-out; background-color: #333; }

@media (max-width: 900px) {
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .navbar-menu { position: fixed; left: -100%; top: 60px; gap: 0; flex-direction: column; background: #fff; width: 100%; text-align: center; transition: left .3s ease-in-out; box-shadow: 0 10px 10px rgba(0,0,0,.1); padding: 20px 0; }
    .navbar-menu.active { left: 0; }
    .navbar-menu a { margin: 10px 0; font-size: 1.2em; display: block; width: 100%; border-bottom: 0; }
    .navbar-menu a.current { text-decoration: underline; text-decoration-color: #f4c921; text-underline-offset: 6px; }
    .navbar-menu a.nav-donate { display: inline-block; width: auto; margin: 14px auto 4px; padding: 8px 30px; }
}

/* ---------- Page headers ---------- */
.header-section { position: relative; width: 100%; min-height: 350px; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; }
.header-section.tall { min-height: 650px; }
.header-section::before { content: ""; position: absolute; inset: 0; background: var(--header-img) center center / cover no-repeat; z-index: 1; }
.header-section::after { content: ""; position: absolute; inset: 0; background-color: rgba(0,0,0,.35); z-index: 2; }
.header-section .container { position: relative; z-index: 3; padding-top: 40px; padding-bottom: 40px; }
.header-section h1 { font-size: 3.5em; line-height: 1.2; }
.header-section .tagline { font-size: 1.3em; margin-top: 20px; }
.photo-credit { margin-top: 200px; text-align: right; font-size: .8em; }
.photo-credit a { color: inherit; text-decoration: none; }

/* In-page jump links */
.jump-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 10px; }
.jump-nav a { background: #fff; border: 1px solid #e0e0e0; color: #00555A; padding: 8px 18px; border-radius: 20px; text-decoration: none; font-weight: 600; font-size: .95em; transition: all .2s; }
.jump-nav a:hover { border-color: #00555A; background: #d1ebe5; color: #00555A; }

/* ---------- Home slideshow ---------- */
.slideshow-container { position: relative; max-height: 700px; margin: 40px auto; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.slideshow-container .slide { display: none; width: 100%; }
.slideshow-container .slide.active { display: block; animation: fadeIn 1s ease-in-out; }
.slideshow-container .slide img { width: 100%; height: 500px; object-fit: cover; display: block; }
@keyframes fadeIn { from { opacity: .3; } to { opacity: 1; } }
.slide-controls { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.slide-dot { width: 12px; height: 12px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .3s; border: 2px solid #fff; }
.slide-dot.active { background: #fff; }
.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,.5); color: #fff; border: none; font-size: 24px; padding: 15px 20px; cursor: pointer; transition: background .3s; z-index: 10; }
.slide-arrow:hover { background: rgba(0,0,0,.8); }
.slide-arrow.prev { left: 10px; }
.slide-arrow.next { right: 10px; }

/* ---------- Crisis ---------- */
.crisis { margin: 40px 0; background: linear-gradient(135deg, #bb2033 0%, #c24234 100%); color: #fff; padding: 35px 40px; border-radius: 12px; box-shadow: 0 8px 24px rgba(187,32,51,.3); border: 4px solid #d88134; position: relative; overflow: hidden; }
.crisis::before { content: ""; position: absolute; top: -20px; right: -20px; width: 150px; height: 150px; background: rgba(239,180,46,.15); border-radius: 50%; }
.crisis::after { content: ""; position: absolute; bottom: -30px; left: -30px; width: 180px; height: 180px; background: rgba(209,235,229,.1); border-radius: 50%; }
.crisis-inner { position: relative; z-index: 1; }
.crisis-badge { display: inline-block; background: #efb42e; color: #000; padding: 8px 20px; border-radius: 25px; font-weight: 700; font-size: .9em; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 1px; }
.crisis h2 { font-size: 2em; margin-bottom: 20px; line-height: 1.3; }
.crisis-lead { font-size: 1.1em; margin-bottom: 22px; max-width: 850px; }
.crisis sup a { color: #fff3cd; }
.crisis-panel { background: #fff3cd; color: #000; padding: 20px 25px; border-radius: 8px; margin-bottom: 20px; border-left: 5px solid #efb42e; font-size: 1.05em; }
.crisis-panel p + p { margin-top: 15px; }
.crisis-panel .label { color: #a8521a; }
.crisis-panel sup a { color: #bb2033; }
.crisis-cta { text-align: center; border-left: 0; margin-bottom: 0; }
.crisis-cta .cta-title { font-size: 1.2em; font-weight: 700; margin-bottom: 15px; }
.crisis-cta .cta-note { margin-top: 15px; }
.crisis-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Rapid response ---------- */
.response-box { background: #f4c921; color: #000; padding: 40px 30px; margin: 40px 0; border-radius: 8px; }
.response-box h2 { color: #000; font-size: 2em; margin-bottom: 10px; }
.response-box .intro { font-size: 1.15em; font-weight: 700; margin-bottom: 25px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.stat { background: #fff; border-radius: 10px; padding: 22px; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.stat-number { font-family: 'Oswald', sans-serif; font-size: 2.4em; color: #00555A; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 1em; margin-top: 6px; }
.response-box .after { margin-top: 25px; font-size: 1.05em; }

/* ---------- Vouchers / program cards ---------- */
.voucher-section { background: #fff; padding: 40px 30px; margin: 40px 0; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.08); border-top: 6px solid #f4c921; }
.voucher-section.healthy { border-top-color: #5c94a0; }
.voucher-section h2 { color: #00555A; font-size: 2em; margin-bottom: 25px; line-height: 1.25; }
.voucher-columns { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.voucher-text { flex: 1 1 52%; min-width: 280px; }
.voucher-text p { margin-bottom: 18px; }
.voucher-text p:last-child { margin-bottom: 0; }
.voucher-image { flex: 1 1 38%; min-width: 260px; text-align: center; }
.voucher-image img { width: 100%; max-width: 480px; height: auto; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.voucher-image figcaption { font-size: .9em; color: #555; margin-top: 10px; }
.voucher-support { background: #fff3cd; border-left: 5px solid #efb42e; padding: 20px 25px; border-radius: 8px; margin-top: 30px; }
.voucher-support p { margin-bottom: 15px; font-weight: 600; color: #000; }
.section-note { margin-top: 25px; font-size: 1.05em; }

/* ---------- "Keep exploring" crosslink cards ---------- */
.explore { margin: 60px 0; }
.explore > h2 { color: #00555A; text-align: center; font-size: 2em; margin-bottom: 25px; }
.explore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.explore-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.06); text-decoration: none; color: #333; transition: transform .18s ease, box-shadow .18s ease; }
.explore-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.12); color: #333; }
.explore-card img { width: 100%; height: 170px; object-fit: cover; display: block; background: #d1ebe5; }
.explore-card .body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.explore-card h3 { color: #00555A; font-size: 1.2em; margin-bottom: 6px; }
.explore-card p { font-size: .95em; margin: 0; flex: 1; }
.explore-card .more { margin-top: 12px; font-weight: 700; color: #00555A; }

/* ---------- Who we are ---------- */
.intro-grid { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; padding: 40px 30px; background: #fff; border-radius: 8px; margin: 40px 0; }
.intro-text, .intro-images { flex: 1 1 45%; min-width: 280px; }
.intro-text h2 { color: #00555A; font-size: 2em; margin-bottom: 15px; }
.intro-text p { margin-bottom: 15px; }
.intro-images img { width: 100%; max-height: 500px; object-fit: cover; display: block; border-radius: 5px; }

/* ---------- Recognition / video ---------- */
.recognition { background: #00555A; color: #fff; padding: 40px 30px; margin: 40px 0; border-radius: 8px; text-align: center; }
.recognition h2 { font-size: 2em; margin-bottom: 15px; }
.recognition p { font-size: 1.1em; max-width: 850px; margin: 0 auto 10px; }
.recognition sup a, .recognition .light-link { color: #f4c921; }
.video-frame { display: block; width: 100%; max-width: 700px; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 5px; margin: 20px auto 0; }

/* ---------- Timeline (Our Journey, In the News) ---------- */
.journey { background: linear-gradient(135deg, #5c94a0 0%, #d1ebe5 100%); padding: 50px 30px; margin: 40px 0; border-radius: 12px; }
.journey > h2 { text-align: center; font-size: 2.5em; margin-bottom: 50px; }
.journey-list { max-width: 900px; margin: 0 auto; }
.journey-item { display: flex; gap: 20px; margin-bottom: 30px; align-items: flex-start; }
.journey-item:last-child { margin-bottom: 0; }
.journey-marker { flex-shrink: 0; width: 30px; height: 30px; background: var(--c); border-radius: 3px; box-shadow: 0 4px 8px rgba(0,0,0,.2); }
.journey-card { flex: 1; background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.1); }
.journey-card h3 { color: var(--c); font-size: 1.5em; margin-bottom: 10px; line-height: 1.3; }
.journey-card p { color: #333; margin: 0; }
.journey-card p + p { margin-top: 10px; }
.journey-card ol { margin: 6px 0 0 24px; }

/* ---------- Coordinated by / sponsorship ---------- */
.coordinated { background: linear-gradient(135deg, #5c94a0 0%, #00555A 100%); padding: 50px 30px; margin: 40px 0; border-radius: 8px; text-align: center; }
.coordinated h2 { font-size: 2.5em; margin-bottom: 30px; }
.coordinated img { max-width: 400px; width: 100%; height: auto; margin: 0 auto; display: block; background: #fff; padding: 20px; border-radius: 8px; }
.coordinated p { max-width: 800px; margin: 25px auto 0; line-height: 1.7; color: rgba(255,255,255,.95); }
.coordinated .light-link { color: #f4c921; font-weight: 700; text-decoration: none; }
.coordinated .light-link:hover { text-decoration: underline; }

/* ---------- Team lead cards ---------- */
.section-banner { color: #00555A; text-align: center; font-size: 2.5em; margin: 50px 0 30px; }
.etc-cards { display: flex; gap: 20px; align-items: stretch; justify-content: space-between; margin: 30px 0; }
.etc-card { background: #fff; border-radius: 12px; box-shadow: 0 6px 18px rgba(0,0,0,.06); overflow: hidden; display: flex; flex-direction: column; flex: 1 1 0; min-width: 200px; transition: transform .18s ease, box-shadow .18s ease; }
.etc-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.etc-card-media { aspect-ratio: 1 / 1; width: 100%; max-width: 220px; margin: 18px auto 0; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,.06); background: #f4c921; }
.etc-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.etc-card-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.etc-card h2 { color: #00555A; font-size: 1.4em; margin-top: 8px; }
.etc-card h3 { margin: 0; font-size: 1.15rem; color: #00555A; }
.etc-card p { margin: 0; font-size: .98rem; color: #333; line-height: 1.4; }
.etc-card p a { color: #00555A; font-weight: 600; }

/* ---------- Headshots ---------- */
.promise-zone-section { background: #fff; padding: 50px 30px; margin: 60px 0; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.promise-zone-section > h2 { color: #00555A; font-size: 2.5em; margin-bottom: 40px; text-align: center; }
.headshots-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.headshot-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.1); transition: transform .3s ease, box-shadow .3s ease; }
.headshot-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.headshot-card img { width: 100%; height: auto; display: block; aspect-ratio: 700 / 850; object-fit: cover; }
.headshot-caption { padding: 15px; text-align: center; }
.headshot-caption h4 { color: #00555A; font-size: 1em; margin-bottom: 5px; font-weight: 600; }
.headshot-caption p { color: #333; font-size: .9em; margin: 0; }
.headshot-caption a { color: #00555A; text-decoration: none; }
.headshot-caption a:hover { color: #777; text-decoration: underline; }

/* ---------- Coalition partners ---------- */
.partners-section { background: linear-gradient(135deg, #00555A 0%, #00796b 100%); padding: 60px 0; margin: 60px 0; border-radius: 12px; }
.partners-intro { text-align: center; margin-bottom: 50px; padding: 0 20px; }
.partners-intro h2 { font-size: 2.5em; margin-bottom: 20px; }
.partners-intro img { width: 100%; max-width: 900px; height: auto; border-radius: 12px; margin: 20px auto 30px; display: block; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.partners-intro p { font-size: 1.2em; color: rgba(255,255,255,.9); max-width: 800px; margin: 0 auto; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.partner-card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.1); transition: transform .3s ease, box-shadow .3s ease; }
.partner-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.partner-card ul { list-style: none; }
.partner-card li { padding: 12px 0; border-bottom: 1px solid #f0f0f0; transition: padding-left .3s ease; }
.partner-card li:hover { padding-left: 10px; }
.partner-card li:last-child { border-bottom: none; }
.partner-card a { color: #333; text-decoration: none; font-weight: 500; }
.partner-card a:hover { color: #00555A; }

/* ---------- Photos & Media page ---------- */
.toc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; padding: 30px 0; max-width: 1000px; margin: 0 auto; }
.toc-card { background: #f9f9f9; padding: 18px 15px; border-radius: 6px; text-decoration: none; text-align: center; border: 1px solid #e0e0e0; display: block; transition: all .2s; }
.toc-card:hover { background: #f0f0f0; border-color: #00555A; }
.toc-card .icon { font-size: 1.8em; margin-bottom: 8px; }
.toc-card h3 { color: #00555A; font-size: 1em; margin-bottom: 5px; font-family: 'Maven Pro', sans-serif; font-weight: 600; }
.toc-card p { color: #666; font-size: .85em; margin: 0; }

.fade-slideshow { margin: 50px 0; }
.fade-slideshow > h2 { color: #00555A; text-align: center; margin-bottom: 30px; font-size: 2.2em; }
.slideshow-wrapper { position: relative; width: 100%; margin: 0 auto; background: #111; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.3); height: 560px; }
.slideshow-wrapper .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease-in-out; }
.slideshow-wrapper .slide.active { opacity: 1; }
.slideshow-wrapper .slide img { width: 100%; height: 510px; object-fit: contain; display: block; background: #111; }
.slide-caption { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.72); color: #fff; padding: 12px 20px; font-size: 14px; text-align: center; min-height: 50px; display: flex; align-items: center; justify-content: center; }
.slideshow-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; flex-wrap: wrap; padding: 0 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #ccc; cursor: pointer; transition: background .3s, transform .2s; border: none; padding: 0; flex-shrink: 0; }
.dot.active { background: #00555A; transform: scale(1.4); }
.dot:hover { background: #5c94a0; }
.slideshow-controls { text-align: center; margin-top: 12px; }
.slideshow-controls button { background: none; border: 2px solid #00555A; color: #00555A; padding: 6px 18px; border-radius: 20px; cursor: pointer; font-family: 'Maven Pro', sans-serif; font-size: 13px; font-weight: 600; transition: all .2s; }
.slideshow-controls button:hover { background: #00555A; color: #fff; }

.video-section { background: #00555A; color: #fff; padding: 40px 30px; margin: 40px 0; border-radius: 8px; text-align: center; }
.video-section.gradient { background: linear-gradient(135deg, #5c94a0 0%, #00555A 100%); padding: 50px 30px; }
.video-section h2 { font-size: 2em; margin-bottom: 15px; }
.video-section p { font-size: 1.05em; margin: 0 auto 10px; max-width: 900px; }
.video-section .light-link { color: #f4c921; font-weight: 600; }

.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.resource-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.1); display: flex; flex-direction: column; }
.resource-card > a { display: block; overflow: hidden; }
.resource-card img { width: 100%; height: 300px; object-fit: cover; display: block; }
.resource-card .body { padding: 20px; flex: 1; }
.resource-card h4 { color: #00555A; font-size: 1.2em; margin-bottom: 10px; font-weight: 600; }
.resource-card p { color: #333; font-size: .95em; }
.resource-card p a { color: #00555A; }
.resource-card p a.download { font-weight: 600; text-decoration: none; }

.activity { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 40px 30px; background: #fff; border-radius: 8px; margin: 40px 0; }
.activity h4 { color: #00555A; font-size: 1.2em; margin-bottom: 10px; font-weight: 600; }
.activity a { color: #00555A; }
.activity img { width: 100%; max-height: 500px; object-fit: cover; border-radius: 5px; display: block; }

.farmers-market-recap { background: #fff; margin: 60px 0; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.1); overflow: hidden; }
.event-header { background: linear-gradient(135deg, #5c94a0 0%, #00555A 100%); color: #fff; padding: 50px 30px; text-align: center; }
.event-header .event-title { font-size: 2.5em; margin-bottom: 15px; line-height: 1.25; }
.event-header .event-subtitle { font-size: 1.6em; margin-bottom: 10px; color: #f4c921; font-weight: 600; line-height: 1.3; }
.event-header .event-date { font-size: 1.2em; margin-top: 20px; opacity: .95; }
.event-content { padding: 40px 30px; }
.event-content > h3, .photo-gallery > h3 { color: #00555A; font-size: 2em; margin-bottom: 20px; border-bottom: 3px solid #f4c921; padding-bottom: 10px; }
.photo-gallery > h3 { text-align: center; border-bottom: 0; }
.event-content p { margin-bottom: 20px; font-size: 1.1em; }
.event-content a { color: #00555A; font-weight: 600; }
.featured-image { margin: 30px 0; text-align: center; }
.featured-image img { width: 100%; max-width: 800px; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.featured-image img.flyer { max-width: 400px; transition: transform .3s; }
.featured-image img.flyer:hover { transform: scale(1.02); }
.featured-image p { margin-top: 15px; font-style: italic; color: #666; font-size: 1em; }
.photo-gallery { margin: 40px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 20px 0; }
.gallery-item { overflow: hidden; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,.1); transition: transform .3s; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.gallery-item img { width: 100%; height: 250px; object-fit: cover; display: block; }

/* ---------- Pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 50px 0 30px; }
.pagination a { color: #000; display: inline-block; padding: 8px 16px; text-decoration: none; transition: background-color .3s; border-radius: 4px; }
.pagination a.active { background-color: #00555A; color: #fff; }
.pagination a:hover:not(.active) { background-color: #ddd; }
.pagination .pg-arrow { color: #00555A; font-weight: 600; }

/* ---------- Donate CTA (bottom of every page) ---------- */
.donate-cta { position: relative; margin: 20px 0 40px; border-radius: 8px; overflow: hidden; }
.donate-cta img { width: 100%; height: 500px; object-fit: cover; filter: brightness(55%); display: block; }
.donate-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: #fff; padding: 20px; }
.donate-overlay h2 { font-size: 2.5em; margin-bottom: 15px; }
.donate-overlay p { font-size: 1.2em; margin-bottom: 25px; }

/* ---------- Footer ---------- */
footer.site-footer { background-color: #000; color: #fff; padding: 40px 20px; text-align: center; }
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-logo { max-width: 500px; width: 100%; height: auto; margin-bottom: 20px; }
.footer-lead { font-size: 1.1em; margin-bottom: 25px; }
footer.site-footer a { color: #f4c921; text-decoration: none; }
.contact-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; text-align: center; margin: 20px 0; }
.contact-item { flex: 1 1 300px; min-width: 250px; }
.footer-rule { border: 0; height: 1px; background-color: #333; margin: 30px auto; width: 80%; }
.references { margin: 30px auto 0; font-size: .9em; color: #ccc; text-align: left; max-width: 700px; }
.references ol { margin: 8px 0 0 20px; }
.references li { margin-bottom: 12px; }
.footer-sitemap { background: #111; padding: 40px 20px 20px; margin-top: 20px; border-radius: 6px; text-align: left; }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 30px; margin: 0 auto 10px; }
.sitemap-column h3 { color: #f4c921; font-size: 1.1em; margin-bottom: 15px; border-bottom: 2px solid #333; padding-bottom: 8px; }
.sitemap-column ul { list-style: none; }
.sitemap-column li { margin-bottom: 8px; line-height: 1.35; }
footer.site-footer .sitemap-column a { color: #999; font-size: .9em; transition: color .3s; }
footer.site-footer .sitemap-column a:hover { color: #f4c921; }
.copyright { font-size: .85em; color: #777; }
footer.site-footer .copyright a { color: #7e7e7e; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .headshots-grid { grid-template-columns: repeat(3, 1fr); gap: 25px; }
}
@media (max-width: 768px) {
    .header-section h1 { font-size: 2.3em; }
    .header-section.tall { min-height: 480px; }
    .photo-credit { margin-top: 100px; }
    .slideshow-container .slide img { height: 300px; }
    .crisis { padding: 28px 22px; }
    .crisis h2 { font-size: 1.6em; }
    .etc-cards { flex-direction: column; gap: 16px; }
    .etc-card-media { max-width: 160px; margin-top: 14px; }
    .headshots-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .partners-intro h2, .journey > h2, .coordinated h2, .promise-zone-section > h2, .section-banner { font-size: 2em; }
    .partners-grid { grid-template-columns: 1fr; }
    .voucher-section { padding: 30px 20px; }
    .voucher-section h2 { font-size: 1.6em; }
    .voucher-text, .voucher-image { flex: 1 1 100%; }
    .journey { padding: 40px 18px; }
    .journey-item { gap: 15px; }
    .journey-marker { width: 20px; height: 20px; }
    .donate-cta img { height: 400px; }
    .donate-overlay h2 { font-size: 1.8em; }
    .slideshow-wrapper { height: 340px; }
    .slideshow-wrapper .slide img { height: 290px; }
    .slide-caption { font-size: 12px; padding: 8px 12px; }
    .event-header .event-title { font-size: 1.8em; }
    .event-header .event-subtitle { font-size: 1.3em; }
    .gallery-item img { height: 200px; }
    .activity { grid-template-columns: 1fr; }
    .pagination .pg-label { display: none; }
}
@media (max-width: 480px) {
    .headshots-grid { grid-template-columns: 1fr; }
    .partners-intro h2 { font-size: 1.5em; }
}
