/*!
 * Charity CMS — public theme
 * -----------------------------------------------------------------------------
 * Pre-built stylesheet, used automatically whenever public/build/manifest.json
 * is absent. It is the plain-CSS equivalent of resources/css/app.css, so the
 * website looks right on a shared host with no Node.js and no build step.
 *
 * To regenerate the Tailwind build instead:  npm install && npm run build
 * (the layout prefers public/build output when it exists).
 */

/* ==========================================================================
   Reset & tokens
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; border-width: 0; border-style: solid; }
* { margin: 0; }

/* The hidden attribute must beat component classes, otherwise a panel styled
   with "display: block" — the mobile menu — can never be hidden by script. */
[hidden] { display: none !important; }

:root {
    --brand-50: #fff4ef;
    --brand-100: #ffe4d7;
    --brand-200: #fcc7ac;
    --brand-400: #f6874f;
    --brand-500: #f26839;
    --brand-600: #dd4f1c;
    --brand-700: #b93d16;
    --brand-800: #933218;
    --brand-900: #6f2915;

    --accent-500: #f26839;
    --accent-600: #d94f1d;

    --ink-900: #1c1512;
    --ink-700: #443a34;
    --ink-500: #6d605a;

    --surface-muted: #faf6f3;
    --border: #eee4dc;

    --radius: 0.875rem;
    --shadow-sm: 0 1px 2px rgb(38 24 18 / 0.06);
    --shadow-md: 0 6px 24px -8px rgb(38 24 18 / 0.18);
    --shadow-lg: 0 24px 60px -24px rgb(38 24 18 / 0.28);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: #fff;
    color: var(--ink-700);
    font-family: Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink-900);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    font-size: inherit;
}

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); }

img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; background: none; }
button { cursor: pointer; }
table { border-collapse: collapse; }

:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: 1.25rem; }
.container-narrow { width: 100%; max-width: 46rem; margin-inline: auto; padding-inline: 1.25rem; }

.section { padding-block: 3.5rem; }
.section-lg { padding-block: 5rem; }
.section-muted { background: var(--surface-muted); }
.section-brand { background: var(--brand-700); color: #ffe8dc; }
.section-brand h1, .section-brand h2, .section-brand h3 { color: #fff; }
.section-brand p { color: #cbe5d9; }

.section-head { margin-bottom: 2.5rem; max-width: 42rem; }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: 2rem; }
.section-head p { margin-top: .75rem; font-size: 1.125rem; color: var(--ink-500); }
.section-brand .section-head p { color: #f7d3bd; }

.eyebrow {
    display: inline-block; margin-bottom: .75rem;
    font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
    color: var(--brand-500);
}

.grid-2, .grid-3, .grid-4 { display: grid; gap: 2rem; }
.grid-4 { gap: 1.5rem; }

@media (min-width: 640px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.cols-2 { display: grid; gap: 2rem; }
.cols-3 { display: grid; gap: 2rem; }
@media (min-width: 768px) { .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.split.is-reversed > :first-child { order: 2; }

.stack > * + * { margin-top: 1.25rem; }
.center { text-align: center; }
.muted { color: var(--ink-500); }
.divider { margin-block: 2.5rem; border-top: 1px solid var(--border); }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.5rem; border-radius: 9999px;
    font-size: .875rem; font-weight: 600; line-height: 1.2;
    border: 1px solid transparent; text-align: center;
    transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--accent-500); color: #fff; }
.btn-accent:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: var(--border); color: var(--ink-900); }
.btn-outline:hover { border-color: var(--brand-400); color: var(--brand-700); }
.btn-light { background: rgb(255 255 255 / .14); color: #fff; border-color: rgb(255 255 255 / .35); }
.btn-light:hover { background: rgb(255 255 255 / .24); color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .75rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card {
    display: flex; flex-direction: column; height: 100%; overflow: hidden;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-media { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-muted); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex: 1 1 auto; flex-direction: column; gap: .75rem; padding: 1.5rem; }
.card-title { font-size: 1.125rem; font-weight: 700; line-height: 1.35; }
.card-title a { color: var(--ink-900); }
.card-title a:hover { color: var(--brand-600); }
.card-text { font-size: .875rem; color: var(--ink-500); }
.card-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem;
    margin-top: auto; padding-top: .5rem; font-size: .75rem; color: var(--ink-500);
}

/* ==========================================================================
   Badges
   ========================================================================== */
.badge {
    display: inline-flex; align-items: center; gap: .25rem;
    padding: .25rem .75rem; border-radius: 9999px;
    font-size: .75rem; font-weight: 600;
    background: var(--brand-50); color: var(--brand-700);
}
.badge-accent { background: #fff1e8; color: var(--accent-600); }
.badge-neutral { background: var(--surface-muted); color: var(--ink-500); }
.badge-success { background: #e7f6ee; color: #17663f; }
.badge-warning { background: #fff4e0; color: #92590c; }
.badge-danger { background: #fdeaea; color: #a72020; }

/* ==========================================================================
   Progress bars
   ========================================================================== */
.progress { width: 100%; height: .625rem; border-radius: 9999px; overflow: hidden; background: var(--brand-100); }
.progress-bar {
    height: 100%; border-radius: 9999px;
    background: linear-gradient(90deg, var(--brand-500), var(--brand-400));
    transition: width .6s ease;
}
.progress-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: .5rem; font-size: .875rem; }
.progress-raised { font-weight: 700; color: var(--ink-900); }
.progress-goal { color: var(--ink-500); }

/* ==========================================================================
   Hero & page header
   ========================================================================== */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--brand-800); }
.hero-media { position: absolute; inset: 0; z-index: -10; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0; z-index: -10;
    background: linear-gradient(100deg, rgba(58,24,12,.92), rgba(58,24,12,.55));
}
.hero-inner { position: relative; padding-block: 6rem; max-width: 40rem; }
.hero-inner.is-centered { max-width: 48rem; margin-inline: auto; text-align: center; }
@media (max-width: 767px) { .hero-inner { padding-block: 4rem; } }
.hero h1 { font-size: clamp(2.15rem, 5vw, 3.25rem); color: #fff; }
.hero .eyebrow { color: #ffc9a8; }
.hero p { margin-top: 1.25rem; font-size: 1.125rem; color: #fbdccb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-inner.is-centered .hero-actions { justify-content: center; }

.page-header { padding-block: 3rem; background: var(--surface-muted); border-bottom: 1px solid var(--border); }
.page-header h1 { font-size: clamp(1.85rem, 4vw, 2.5rem); }
.page-header p { margin-top: .75rem; font-size: 1.125rem; color: var(--ink-500); max-width: 46rem; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-500); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--brand-600); }

/* ==========================================================================
   Statistics
   ========================================================================== */
.stat { padding: 1.5rem; border-radius: 1rem; text-align: center; background: var(--surface-muted); }
.stat-value { display: block; font-size: clamp(1.85rem, 4vw, 2.35rem); font-weight: 800; color: var(--brand-600); line-height: 1.1; }
.stat-label { display: block; margin-top: .5rem; font-size: .875rem; font-weight: 500; color: var(--ink-500); }
.section-brand .stat { background: rgb(255 255 255 / .08); }
.section-brand .stat-value { color: #fff; }
.section-brand .stat-label { color: #f7d3bd; }

/* ==========================================================================
   Rich text
   ========================================================================== */
.prose { color: var(--ink-700); }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; }
.prose p { line-height: 1.75; }
.prose ul { list-style: disc; padding-left: 1.5rem; }
.prose ol { list-style: decimal; padding-left: 1.5rem; }
.prose li + li { margin-top: .5rem; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: .75rem; }
.prose strong { font-weight: 700; color: var(--ink-900); }
.prose blockquote {
    padding: .5rem 1rem .5rem 1.25rem; font-style: italic;
    border-left: 4px solid var(--brand-400); border-radius: 0 .75rem .75rem 0;
    background: var(--surface-muted);
}
.prose table { width: 100%; font-size: .875rem; text-align: left; }
.prose th, .prose td { padding: .5rem .75rem; border-bottom: 1px solid var(--border); }
.prose hr { margin-block: 2rem; border-top: 1px solid var(--border); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-field { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: .375rem; font-size: .875rem; font-weight: 600; color: var(--ink-900); }
.form-label .req { color: var(--accent-600); }
.form-input, .form-select, .form-textarea {
    width: 100%; padding: .75rem 1rem; border-radius: .75rem;
    border: 1px solid var(--border); background: #fff; color: var(--ink-900);
    transition: border-color .15s, box-shadow .15s;
}
.form-select { appearance: none; padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235b6b64'%3E%3Cpath d='M5.5 7.5 10 12l4.5-4.5'  stroke='%235b6b64' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .85rem center; background-size: 1.15rem;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--brand-400); box-shadow: 0 0 0 4px rgb(242 104 57 / .15); outline: none;
}
.form-textarea { min-height: 8rem; resize: vertical; }
.form-help { display: block; margin-top: .375rem; font-size: .75rem; color: var(--ink-500); }
.form-error { display: block; margin-top: .375rem; font-size: .875rem; font-weight: 500; color: #a72020; }
.is-invalid { border-color: #d46a6a !important; }
.form-check { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; }
.form-check input { width: 1rem; height: 1rem; margin-top: .25rem; flex: none; accent-color: var(--brand-600); }
.form-check-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) { .form-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-row { display: grid; gap: 0 1.25rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.honeypot { position: absolute !important; left: -9999px !important; width: 0; height: 0; opacity: 0; }

.amount-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.amount-option {
    padding: .75rem .5rem; border-radius: .75rem; text-align: center;
    font-size: .875rem; font-weight: 700; cursor: pointer;
    border: 1.5px solid var(--border); background: #fff; color: var(--ink-900);
    transition: border-color .15s, background-color .15s, color .15s;
}
.amount-option:hover { border-color: var(--brand-400); }
.amount-option.is-selected { border-color: var(--brand-600); background: var(--brand-50); color: var(--brand-700); }

.form-panel { padding: 1.75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-panel h2 { font-size: 1.25rem; margin-bottom: 1.25rem; }

/* ==========================================================================
   Alerts
   ========================================================================== */
.alert { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-radius: .75rem; font-size: .875rem; border: 1px solid transparent; }
.alert-success { background: #e7f6ee; border-color: #bde3cd; color: #17663f; }
.alert-error { background: #fdeaea; border-color: #f4c9c9; color: #a72020; }
.alert-info { background: var(--brand-50); border-color: var(--brand-200); color: var(--brand-800); }
.alert ul { list-style: disc; padding-left: 1.25rem; margin-top: .5rem; }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgb(255 255 255 / .95); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1rem; }
.site-logo { display: flex; align-items: center; gap: .625rem; font-size: 1.125rem; font-weight: 800; color: var(--ink-900); }
.site-logo img { height: 2.25rem; width: auto; }
.site-logo span { line-height: 1.15; }
/* The charity name is real text rather than part of the logo image, so it stays
   legible at small sizes and wraps instead of squeezing the navigation. */
.site-logo-name { max-width: 12rem; font-size: 1rem; line-height: 1.15; letter-spacing: -.01em; }
@media (min-width: 640px) { .site-logo-name { font-size: 1.0625rem; max-width: 13.5rem; } }

.site-nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .site-nav { display: flex; } }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex; align-items: center; gap: .25rem;
    padding: .5rem .75rem; border-radius: 9999px;
    font-size: .875rem; font-weight: 600; color: var(--ink-700);
    transition: background-color .15s, color .15s;
}
.nav-link:hover { background: var(--surface-muted); color: var(--brand-700); }
.nav-link.is-active { background: var(--brand-50); color: var(--brand-700); }
.nav-dropdown {
    position: absolute; left: 0; top: 100%; z-index: 40; min-width: 14rem;
    padding: .5rem; border: 1px solid var(--border); border-radius: .75rem;
    background: #fff; box-shadow: var(--shadow-lg);
    visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s;
}
.nav-item:hover > .nav-dropdown, .nav-item:focus-within > .nav-dropdown { visibility: visible; opacity: 1; }
.nav-dropdown a { display: block; padding: .5rem .75rem; border-radius: .5rem; font-size: .875rem; font-weight: 500; color: var(--ink-700); }
.nav-dropdown a:hover { background: var(--surface-muted); color: var(--brand-700); }

.site-header-actions { display: flex; flex-shrink: 0; align-items: center; gap: .75rem; }
.lang-switch { display: inline-flex; align-items: center; gap: .125rem; padding: .125rem; border: 1px solid var(--border); border-radius: 9999px; }
.lang-switch a { padding: .25rem .625rem; border-radius: 9999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-500); transition: color .15s, background-color .15s; }
.lang-switch a:hover { color: var(--brand-700); }
.lang-switch a.is-active { background: var(--brand-50); color: var(--brand-700); }
.nav-toggle { display: inline-flex; padding: .5rem; border: 1px solid var(--border); border-radius: .5rem; }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }

.mobile-nav { display: block; padding: 1rem 1.25rem; background: #fff; border-top: 1px solid var(--border); }
@media (min-width: 1024px) { .mobile-nav { display: none; } }
.mobile-nav a { display: block; padding: .625rem .75rem; border-radius: .5rem; font-size: 1rem; font-weight: 600; color: var(--ink-900); }
.mobile-nav a:hover { background: var(--surface-muted); }
.mobile-nav .sub a { padding-left: 1.75rem; font-size: .875rem; font-weight: 500; color: var(--ink-500); }
.mobile-nav .btn { margin-top: .75rem; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 100;
    padding: .5rem 1rem; border-radius: .5rem;
    background: var(--brand-700); color: #fff; font-size: .875rem; font-weight: 600;
    transition: top .15s;
}
.skip-link:focus { top: 1rem; color: #fff; }

.donate-sticky { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .donate-sticky { display: none; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { padding-top: 4rem; background: var(--brand-900); color: #e8d6cb; }
/* The mark's hands are cut out, so it sits on a light chip over the dark band. */
.site-footer .site-logo img { background: #fff; border-radius: .5rem; padding: .25rem; }
.site-footer h3 { margin-bottom: 1rem; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.site-footer a { color: #e8d6cb; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: .9375rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-links li + li { margin-top: .5rem; }
.footer-links a { font-size: .9375rem; }
.footer-bottom {
    display: flex; flex-direction: column; gap: .75rem;
    padding-block: 1.5rem; font-size: .875rem;
    border-top: 1px solid rgb(255 255 255 / .12);
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

.social-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-links a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.5rem; height: 2.5rem; border-radius: 9999px;
    background: rgb(255 255 255 / .08); transition: background-color .15s;
}
.social-links a:hover { background: var(--brand-500); }
.social-links svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }

.newsletter-form { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.newsletter-form input {
    flex: 1 1 12rem; padding: .7rem 1rem; border-radius: 9999px;
    border: 1px solid rgb(255 255 255 / .2); background: rgb(255 255 255 / .08); color: #fff;
}
.newsletter-form input::placeholder { color: #9fc0b2; }
.newsletter-form input:focus { border-color: var(--brand-400); outline: none; }

/* ==========================================================================
   Lists, empty states, pagination
   ========================================================================== */
.empty-state { padding: 4rem 1.5rem; border-radius: 1rem; text-align: center; background: var(--surface-muted); }
.empty-state h2 { font-size: 1.25rem; margin-bottom: .5rem; }

.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.5rem; height: 2.5rem; padding-inline: .75rem;
    border: 1px solid var(--border); border-radius: .5rem;
    font-size: .875rem; font-weight: 600; color: var(--ink-700); background: #fff;
}
.pagination a:hover { border-color: var(--brand-400); color: var(--brand-700); }
.pagination .is-current { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.pagination .is-disabled { opacity: .45; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-chip {
    padding: .45rem 1rem; border-radius: 9999px; font-size: .8125rem; font-weight: 600;
    border: 1px solid var(--border); background: #fff; color: var(--ink-700);
}
.filter-chip:hover { border-color: var(--brand-400); color: var(--brand-700); }
.filter-chip.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* ==========================================================================
   Content components
   ========================================================================== */
.timeline { padding-left: 1.5rem; border-left: 2px solid var(--brand-100); }
.timeline-item { position: relative; }
.timeline-item + .timeline-item { margin-top: 1.5rem; }
.timeline-item::before {
    content: ""; position: absolute; left: -1.9rem; top: .45rem;
    width: .75rem; height: .75rem; border-radius: 9999px; background: var(--brand-500);
}

.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
    .gallery-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gallery-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: .75rem; }

.faq-item { padding-block: 1rem; border-bottom: 1px solid var(--border); }
.faq-question {
    display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem;
    text-align: left; font-size: 1rem; font-weight: 600; color: var(--ink-900);
}
.faq-question svg { flex: none; width: 1.25rem; height: 1.25rem; transition: transform .2s; }
.faq-answer { padding-top: .75rem; font-size: .9375rem; color: var(--ink-500); }

.quote-card { padding: 1.75rem; border-radius: var(--radius); background: var(--surface-muted); height: 100%; display: flex; flex-direction: column; gap: 1rem; }
.quote-card blockquote { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-700); }
.quote-card blockquote::before { content: "\201C"; }
.quote-card blockquote::after { content: "\201D"; }
.quote-author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.quote-author img { width: 3rem; height: 3rem; border-radius: 9999px; object-fit: cover; }
.quote-author strong { display: block; color: var(--ink-900); font-size: .9375rem; }
.quote-author span { font-size: .8125rem; color: var(--ink-500); }

.team-card { text-align: center; }
.team-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 1rem; margin-bottom: 1rem; }
.team-card .avatar-fallback {
    display: flex; align-items: center; justify-content: center;
    width: 100%; aspect-ratio: 1 / 1; border-radius: 1rem; margin-bottom: 1rem;
    background: var(--brand-50); color: var(--brand-600); font-size: 2rem; font-weight: 800;
}
.team-card h3 { font-size: 1.0625rem; }
.team-card p { font-size: .875rem; color: var(--ink-500); }

.info-list { display: grid; gap: 1rem; }
.info-list dt { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); }
.info-list dd { margin-top: .125rem; color: var(--ink-900); font-weight: 500; }

.sidebar-card { padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.sidebar-card + .sidebar-card { margin-top: 1.5rem; }
.sidebar-card h3 { font-size: 1rem; margin-bottom: 1rem; }

.detail-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .detail-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
@media (min-width: 1024px) { .detail-layout .sidebar { position: sticky; top: 6rem; } }

.receipt { max-width: 44rem; margin-inline: auto; padding: 2.5rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.receipt-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--brand-600); }
.receipt-total { padding: 1.25rem; margin-block: 1.5rem; border-radius: .75rem; background: var(--brand-50); text-align: center; }
.receipt-total strong { display: block; font-size: 2rem; color: var(--brand-700); }
.receipt table { width: 100%; font-size: .9375rem; }
.receipt table th { width: 45%; padding: .625rem 0; text-align: left; color: var(--ink-500); font-weight: 500; }
.receipt table td { padding: .625rem 0; text-align: right; font-weight: 600; color: var(--ink-900); }
.receipt table tr + tr th, .receipt table tr + tr td { border-top: 1px solid var(--border); }

/* Screen-reader-only text */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}

/* Print: receipts should come out clean */
@media print {
    .site-header, .site-footer, .donate-sticky, .no-print { display: none !important; }
    body { background: #fff; }
    .receipt { border: none; padding: 0; max-width: none; }
}
