:root {
    --green: #2f8f46;
    --deep: #173b28;
    --leaf: #79b545;
    --gold: #f3c13a;
    --soil: #3c2b1d;
    --ink: #1e2a24;
    --muted: #66746c;
    --line: #e5eadf;
    --paper: #fbfcf7;
    --white: #fff;
    --shadow: 0 18px 45px rgba(23, 59, 40, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1140px, calc(100% - 36px)); margin: 0 auto; }
.topbar { background: var(--soil); color: #f8edd4; font-size: 13px; }
.topbar-inner { min-height: 42px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; box-shadow: 0 8px 20px rgba(0,0,0,.04); }
.nav-wrap { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--deep); }
.brand img { width: 62px; height: 62px; object-fit: cover; border-radius: 50%; border: 3px solid #eef5e7; }
.brand strong { display: block; font-size: 21px; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 12px 13px; color: var(--deep); font-weight: 700; font-size: 14px; }
.main-nav a:hover { color: var(--green); }
.donate-link, .btn.gold { background: var(--gold); color: #4c3b0f !important; border-radius: 3px; }
.nav-toggle { display: none; border: 0; background: var(--green); color: white; width: 42px; height: 42px; border-radius: 4px; font-size: 22px; }
.hero { min-height: 680px; display: grid; align-items: center; position: relative; isolation: isolate; color: white; background: url('../images/gerz-hero-opt.jpg') center/cover no-repeat; }
.hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,35,24,.9), rgba(13,35,24,.58) 45%, rgba(13,35,24,.12)); z-index: -1; }
.hero-content { max-width: 720px; padding: 70px 0; }
.eyebrow { color: var(--gold); text-transform: uppercase; font-weight: 800; letter-spacing: .08em; font-size: 13px; }
h1, h2, h3 { line-height: 1.18; margin: 0 0 16px; color: var(--deep); }
.hero h1 { color: white; font-size: clamp(42px, 7vw, 78px); max-width: 760px; }
.hero p { font-size: 19px; max-width: 680px; color: #f2f7ee; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 3px; background: var(--green); color: white; border: 0; font-weight: 800; cursor: pointer; }
.btn.outline { background: transparent; border: 2px solid rgba(255,255,255,.7); color: white; }
.section { padding: 78px 0; }
.section.white { background: white; }
.section.deep { background: var(--deep); color: white; }
.section.deep h2, .section.deep h3 { color: white; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 34px; }
.section-head p { max-width: 680px; color: var(--muted); margin: 0; }
.section.deep .section-head p { color: #d7e6d9; }
.grid { display: grid; gap: 24px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.service-band { background: var(--soil); color: #efe6d2; border-top: 5px solid #4c3a25; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service { min-height: 248px; padding: 38px 32px; display: grid; grid-template-columns: 80px 1fr; gap: 18px; align-items: start; }
.service:nth-child(2) { background: #4a3924; }
.service h3 { color: white; font-size: 21px; }
.service p { margin: 0; color: #d8ccb8; }
.card { background: white; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,.04); }
.card img { width: 100%; height: 230px; object-fit: cover; }
.card-body { padding: 24px; }
.tag { display: inline-flex; background: #edf6e8; color: var(--green); padding: 4px 9px; border-radius: 3px; font-weight: 800; font-size: 12px; text-transform: uppercase; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.image-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.image-stack img { width: 100%; min-height: 280px; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); }
.image-stack img:first-child { min-height: 360px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 24px; border-radius: 5px; }
.stat strong { display: block; font-size: 38px; color: var(--gold); line-height: 1; }
.cta { background: linear-gradient(90deg, rgba(23,59,40,.94), rgba(47,143,70,.78)), url('../images/gerz-volunteer-banner-opt.jpg') center/cover; color: white; }
.cta h2 { color: white; font-size: clamp(32px, 5vw, 54px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
input, textarea, select { width: 100%; border: 1px solid var(--line); background: white; padding: 13px 14px; border-radius: 4px; font: inherit; }
textarea { min-height: 130px; resize: vertical; }
label { display: grid; gap: 6px; font-weight: 700; color: var(--deep); }
.notice { padding: 14px 16px; background: #edf8ea; color: var(--deep); border-left: 4px solid var(--green); margin-bottom: 20px; }
.page-hero { background: linear-gradient(90deg, rgba(23,59,40,.92), rgba(23,59,40,.45)), url('../images/gerz-water-governance-opt.jpg') center/cover; color: white; padding: 110px 0; }
.page-hero h1 { color: white; font-size: clamp(38px, 6vw, 62px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .7fr .9fr; gap: 44px; padding: 58px 0; }
.site-footer { background: #18261f; color: #d9e6dd; }
.site-footer h3 { color: white; }
.site-footer a { display: block; color: #d9e6dd; margin-bottom: 9px; }
.footer-logo { width: 82px; height: 82px; object-fit: cover; border-radius: 50%; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 18px; color: #adbbaf; font-size: 14px; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; background: #f5f7f1; }
.admin-side { background: var(--deep); color: white; padding: 24px; }
.admin-side img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; }
.admin-side a { display: block; padding: 11px 12px; margin: 5px 0; border-radius: 4px; color: #eaf4eb; }
.admin-side a:hover { background: rgba(255,255,255,.12); }
.admin-main { padding: 28px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.table { width: 100%; border-collapse: collapse; background: white; border: 1px solid var(--line); }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { background: #edf4e7; color: var(--deep); }
.admin-card { background: white; border: 1px solid var(--line); border-radius: 6px; padding: 22px; box-shadow: 0 8px 20px rgba(0,0,0,.04); }
.login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(120deg, var(--deep), var(--green)); padding: 24px; }
.login-box { width: min(430px, 100%); background: white; padding: 34px; border-radius: 7px; box-shadow: var(--shadow); }
@media (max-width: 900px) {
    .nav-toggle { display: inline-block; }
    .main-nav { display: none; position: absolute; top: 86px; left: 0; right: 0; background: white; padding: 14px 18px; border-bottom: 1px solid var(--line); }
    .main-nav.open { display: grid; }
    .service-grid, .grid.three, .grid.four, .grid.two, .split, .stat-grid, .footer-grid, .admin-shell { grid-template-columns: 1fr; }
    .hero { min-height: 560px; }
    .section-head { display: block; }
    .admin-side { position: static; }
}

/* Practical admin modules and modals */
.module-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    background: white;
    border: 1px solid rgba(47,143,70,.12);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(23, 59, 40, .08);
}
.module-toolbar h2 {
    margin: 8px 0 4px;
}
.module-toolbar p {
    margin: 0;
    color: var(--muted);
}
.table-thumb {
    width: 92px;
    height: 62px;
    object-fit: cover;
    border-radius: 12px;
}
.pro-table small {
    color: var(--muted);
}
.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.mini-btn {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 0;
    border-radius: 999px;
    background: #edf7ea;
    color: var(--deep);
    font-weight: 900;
    cursor: pointer;
    font-size: 13px;
}
.mini-btn.danger {
    background: #fff0ed;
    color: #b53b27;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #edf7ea;
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
    text-transform: capitalize;
}
.status-pill.draft,
.status-pill.new {
    background: #fff4cc;
    color: #8a6500;
}
.status-pill.contacted {
    background: #e9f0ff;
    color: #2e5aac;
}
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(10, 31, 20, .56);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.modal.open {
    opacity: 1;
    visibility: visible;
}
.modal-panel {
    width: min(620px, 100%);
    max-height: min(82vh, 820px);
    overflow-y: auto;
    background: white;
    border-radius: 22px;
    border: 1px solid rgba(47,143,70,.16);
    padding: 24px;
    box-shadow: 0 30px 90px rgba(10, 36, 22, .35);
    transform: translateY(10px) scale(.98);
    transition: transform .2s ease;
}
.modal.open .modal-panel {
    transform: translateY(0) scale(1);
}
.wide-modal {
    width: min(880px, 100%);
}
.modal-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    margin-bottom: 18px;
}
.modal-head h2 {
    margin: 8px 0 0;
}
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.message-box {
    background: #f7faf3;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    color: #34443b;
}
.stat-admin-card {
    min-height: 190px;
}
@media (max-width: 700px) {
    .module-toolbar {
        display: grid;
    }
    .modal {
        padding: 12px;
    }
}

/* Public first-visit image announcement */
.site-announcement {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(10,31,20,.62);
    backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s ease, visibility .24s ease;
}
.site-announcement.open {
    opacity: 1;
    visibility: visible;
}
.site-announcement-panel {
    width: min(760px, 100%);
    max-height: 88vh;
    overflow: hidden;
    border-radius: 24px;
    background: white;
    box-shadow: 0 30px 90px rgba(10, 36, 22, .38);
    position: relative;
    transform: translateY(12px) scale(.98);
    transition: transform .24s ease;
}
.site-announcement.open .site-announcement-panel {
    transform: translateY(0) scale(1);
}
.site-announcement-panel img {
    width: 100%;
    height: min(520px, 64vh);
    object-fit: contain;
    background: #eef5e8;
}
.announcement-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    color: var(--deep);
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,.16);
}
.announcement-body {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 22px;
}
.announcement-body h2 {
    margin: 0;
}
@media (max-width: 620px) {
    .announcement-body {
        display: grid;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 26px 0 0;
}
.pagination a {
    min-width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(47,143,70,.16);
    background: white;
    color: var(--deep);
    font-weight: 900;
    box-shadow: 0 10px 26px rgba(23,59,40,.06);
}
.pagination a.active,
.pagination a:hover {
    background: var(--green);
    color: white;
}
@media (max-width: 560px) {
    .topbar-inner, .form-grid, .image-stack { grid-template-columns: 1fr; display: grid; }
    .hero h1 { font-size: 38px; }
    .service { grid-template-columns: 1fr; }
    .image-stack img, .image-stack img:first-child { min-height: 240px; }
}

/* Modern UI refresh */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: grid;
    place-items: center;
    background: rgba(251, 252, 247, .94);
    backdrop-filter: blur(12px);
    transition: opacity .35s ease, visibility .35s ease;
}
.preloader-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 4px solid #dfe9d8;
    border-top-color: var(--green);
    animation: spin .8s linear infinite;
}
.logo-preloader {
    background: rgba(16, 45, 28, .96);
}
.logo-preloader .admin-loader {
    width: 98px;
    height: 98px;
}
.logo-preloader .admin-loader img {
    width: 70px;
    height: 70px;
}
body.is-loaded .preloader {
    opacity: 0;
    visibility: hidden;
}
@keyframes spin { to { transform: rotate(360deg); } }
.icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}
.topbar {
    background: linear-gradient(90deg, #153924, #2f6f3c);
}
.site-header {
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(18px);
}
.nav-wrap {
    min-height: 78px;
}
.brand img {
    box-shadow: 0 8px 22px rgba(47, 143, 70, .22);
}
.main-nav {
    gap: 8px;
}
.main-nav a {
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 15px;
}
.main-nav a:hover {
    background: #edf7ea;
}
.donate-link {
    padding-inline: 18px !important;
    box-shadow: 0 12px 24px rgba(243, 193, 58, .28);
}
.nav-toggle {
    display: none;
    border: 0;
    background: var(--green);
    color: white;
    min-width: 70px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 800;
}
.hero {
    min-height: 720px;
}
.hero:before {
    background:
        radial-gradient(circle at 16% 24%, rgba(243, 193, 58, .23), transparent 28%),
        linear-gradient(90deg, rgba(11, 35, 22, .93), rgba(17, 61, 33, .64) 46%, rgba(17, 61, 33, .13));
}
.btn {
    border-radius: 999px;
    gap: 8px;
    box-shadow: 0 12px 26px rgba(47, 143, 70, .18);
}
.btn.ghost {
    background: #eff7eb;
    color: var(--deep);
}
.card, .admin-card {
    border: 1px solid rgba(47, 143, 70, .12);
    box-shadow: 0 18px 45px rgba(23, 59, 40, .08);
}
.card {
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(23, 59, 40, .14);
}
.tag {
    border-radius: 999px;
}

/* Admin dashboard */
.admin-shell {
    grid-template-columns: 280px 1fr;
    background:
        radial-gradient(circle at top right, rgba(121, 181, 69, .16), transparent 34%),
        #f4f7ef;
}
.admin-side {
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(180deg, #123321, #1f5d34);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: white;
}
.admin-brand img {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    object-fit: cover;
    margin: 0;
    border: 2px solid rgba(255,255,255,.28);
}
.admin-brand strong {
    display: block;
    font-size: 23px;
    line-height: 1;
}
.admin-brand small {
    display: block;
    opacity: .72;
    margin-top: 4px;
}
.admin-nav {
    display: grid;
    gap: 7px;
}
.admin-side a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 12px;
    color: #eaf4eb;
}
.admin-side a:hover,
.admin-side a.active {
    background: rgba(255, 255, 255, .14);
    color: white;
}
.admin-logout {
    margin-top: auto !important;
    background: rgba(255,255,255,.08);
}
.admin-main {
    padding: 0;
}
.admin-topbar {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 30px;
    background: rgba(255,255,255,.82);
    border-bottom: 1px solid rgba(47, 143, 70, .12);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 12;
}
.admin-topbar h1 {
    margin: 2px 0 0;
    font-size: clamp(26px, 3vw, 36px);
}
.admin-kicker {
    color: var(--green);
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.admin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.icon-button {
    width: 46px;
    height: 46px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    color: var(--deep);
    position: relative;
}
.notification-button span {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #e4443a;
    color: white;
    font-size: 12px;
    display: grid;
    place-items: center;
    border: 2px solid white;
}
.admin-user {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px 12px 8px 8px;
}
.admin-user small {
    display: block;
    color: var(--muted);
    line-height: 1.1;
}
.avatar {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--green), var(--leaf));
    color: white;
    font-weight: 900;
}
.admin-content {
    padding: 30px;
}
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    gap: 18px;
}
.metric-card {
    background: white;
    border: 1px solid rgba(47, 143, 70, .12);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(23, 59, 40, .08);
    display: grid;
    gap: 16px;
}
.metric-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--green);
    background: #edf7ea;
}
.metric-card strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    color: var(--deep);
}
.metric-card span {
    color: var(--muted);
    font-weight: 800;
}
.spotlight-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,247,235,.96)),
        url('../images/gerz-volunteer-banner-opt.jpg') center/cover;
}
.table {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(47, 143, 70, .12);
}
.table th {
    background: #eff7eb;
}
@media (max-width: 1100px) {
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-actions .btn { display: none; }
}
@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .admin-side { position: static; height: auto; }
    .admin-topbar, .spotlight-card { flex-direction: column; align-items: flex-start; }
    .admin-actions { width: 100%; justify-content: space-between; }
}
@media (max-width: 620px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .admin-content { padding: 18px; }
    .admin-user div { display: none; }
}

/* Full story view */
.read-more-link {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    color: var(--green);
    font-weight: 900;
}
.read-more-link:hover {
    color: var(--deep);
}
.story-hero {
    min-height: 430px;
    display: grid;
    align-items: end;
    color: white;
    background-position: center;
    background-size: cover;
    padding: 110px 0 72px;
}
.story-hero h1 {
    color: white;
    font-size: clamp(38px, 6vw, 68px);
    max-width: 900px;
}
.story-hero p {
    max-width: 760px;
    color: #eef6ed;
    font-size: 19px;
}
.story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    align-items: start;
}
.story-article {
    background: white;
    border: 1px solid rgba(47, 143, 70, .12);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 18px 45px rgba(23, 59, 40, .08);
}
.story-main-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 20px;
}
.story-meta {
    color: var(--muted);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 20px;
}
.story-body {
    font-size: 18px;
    color: #304139;
}
.story-sidebar {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 118px;
}
.sidebar-panel {
    background: white;
    border: 1px solid rgba(47, 143, 70, .12);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(23, 59, 40, .08);
}
.sidebar-panel h2 {
    font-size: 22px;
}
.side-story {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.side-story:last-child {
    border-bottom: 0;
}
.side-story img {
    width: 86px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}
.side-story strong {
    display: block;
    color: var(--deep);
    line-height: 1.25;
}
.side-story small {
    color: var(--green);
    font-weight: 800;
}
.dark-panel {
    color: white;
    background: linear-gradient(135deg, var(--deep), var(--green));
}
.dark-panel h2 {
    color: white;
}
@media (max-width: 980px) {
    .story-layout {
        grid-template-columns: 1fr;
    }
    .story-sidebar {
        position: static;
    }
}

/* Homepage hero slider */
.hero-slider {
    position: relative;
    min-height: 720px;
    color: white;
    overflow: hidden;
    background: var(--deep);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    background-size: cover;
    background-position: center;
    transition: opacity .8s ease, transform 6.5s ease;
    transform: scale(1.04);
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.hero-slide:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(10,31,20,.94), rgba(16,54,31,.74) 43%, rgba(16,54,31,.2) 72%),
        radial-gradient(circle at 20% 20%, rgba(243,193,58,.2), transparent 26%);
}
.hero-slide-inner {
    position: relative;
    z-index: 2;
    min-height: 720px;
    display: grid;
    align-items: center;
    padding: 96px 0 150px;
}
.hero-copy {
    max-width: 720px;
    padding-top: 18px;
}
.hero-copy h1 {
    color: white;
    font-size: clamp(42px, 5.6vw, 72px);
    line-height: 1.02;
    max-width: 760px;
    margin-bottom: 20px;
}
.hero-copy p {
    max-width: 650px;
    font-size: clamp(17px, 1.7vw, 21px);
    color: #edf6ed;
}
.hero-slider-ui {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}
.hero-dots {
    display: flex;
    gap: 10px;
    padding-bottom: 12px;
}
.hero-dots button {
    width: 38px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.38);
    cursor: pointer;
}
.hero-dots button.active {
    background: var(--gold);
}
.hero-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 12px;
    width: min(560px, 58vw);
}
.hero-mini-stats div {
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
}
.hero-mini-stats strong {
    display: block;
    color: var(--gold);
    font-size: 26px;
    line-height: 1;
}
.hero-mini-stats span {
    display: block;
    color: #edf6ed;
    font-size: 13px;
    font-weight: 800;
    margin-top: 7px;
}
.vision-strip {
    background: #f3f8ed;
    border-bottom: 1px solid rgba(47, 143, 70, .13);
    padding: 38px 0;
}
.vision-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 34px;
    align-items: center;
}
.vision-grid h2 {
    margin: 6px 0 0;
}
.vision-grid p {
    color: #42554a;
    margin: 0;
    font-size: 18px;
}
@media (max-width: 980px) {
    .hero-slider,
    .hero-slide-inner {
        min-height: 650px;
    }
    .hero-slider-ui {
        display: block;
    }
    .hero-mini-stats {
        width: 100%;
        margin-top: 16px;
    }
    .vision-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 680px) {
    .hero-copy h1 {
        font-size: 42px;
    }
    .hero-mini-stats {
        grid-template-columns: 1fr;
    }
    .hero-slider,
    .hero-slide-inner {
        min-height: 760px;
    }
}

/* Admin login */
.admin-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        linear-gradient(120deg, rgba(16,45,28,.9), rgba(35,107,58,.7)),
        url('../images/gerz-hero-opt.jpg') center/cover;
}
.admin-preloader {
    background: #102d1c;
}
.admin-loader {
    position: relative;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
}
.admin-loader img {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    object-fit: cover;
    z-index: 2;
    box-shadow: 0 14px 40px rgba(0,0,0,.24);
}
.admin-loader span {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 3px solid rgba(255,255,255,.14);
    border-top-color: var(--gold);
    animation: spin .9s linear infinite;
}
.login-shell {
    width: min(500px, 100%);
}
.login-panel {
    width: 100%;
    background: rgba(255,255,255,.93);
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 30px 90px rgba(10, 36, 22, .35);
    backdrop-filter: blur(18px);
}
.signin-logo {
    width: 102px;
    height: 102px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 28px;
    background: white;
    box-shadow: 0 18px 45px rgba(23, 59, 40, .16);
}
.signin-logo img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 22px;
}
.login-panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.login-panel-head.centered {
    display: block;
    text-align: center;
}
.login-panel h2 {
    margin: 3px 0 0;
    font-size: 34px;
}
.login-panel-head p {
    margin: 10px auto 0;
    max-width: 360px;
    color: var(--muted);
}
.login-avatar {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #edf7ea;
    color: var(--green);
}
.login-panel label {
    margin-bottom: 16px;
}
.login-panel input {
    min-height: 52px;
    border-radius: 14px;
    background: #f8fbf4;
}
.login-submit {
    width: 100%;
    margin-top: 6px;
}
.login-links {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    font-weight: 800;
}
.login-links a {
    color: var(--green);
}
@media (max-width: 900px) {
    .login-shell {
        grid-template-columns: 1fr;
    }
    .login-panel {
        padding: 34px;
    }
}
@media (max-width: 560px) {
    .admin-login-page {
        padding: 14px;
    }
    .login-panel h2 { font-size: 30px; }
}

/* Professional admin shell polish */
.admin-shell {
    grid-template-columns: 292px minmax(0, 1fr);
    background: #f6f8f2;
}
.admin-side {
    background:
        linear-gradient(180deg, rgba(11, 40, 25, .98), rgba(22, 86, 44, .96)),
        radial-gradient(circle at 20% 0%, rgba(243,193,58,.18), transparent 30%);
    padding: 24px 18px;
    box-shadow: 20px 0 50px rgba(15, 46, 31, .12);
}
.admin-brand {
    padding: 8px 10px 22px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.admin-brand img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
}
.admin-nav {
    gap: 4px;
}
.admin-nav-label {
    display: block;
    color: rgba(255,255,255,.46);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 18px 12px 7px;
}
.admin-side a {
    min-height: 46px;
    padding: 11px 13px;
    border-radius: 14px;
    font-weight: 800;
}
.admin-side a .icon {
    opacity: .9;
}
.admin-side a.active {
    background: rgba(255,255,255,.16);
    box-shadow: inset 3px 0 0 var(--gold);
}
.admin-side a:hover {
    transform: translateX(2px);
}
.admin-logout {
    margin-top: auto !important;
    background: rgba(255,255,255,.1);
}
.admin-topbar {
    min-height: 86px;
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto;
    padding: 18px 28px;
    gap: 18px;
    background: rgba(255,255,255,.9);
}
.admin-titlebar {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.admin-titlebar h1 {
    margin: 0;
    font-size: clamp(25px, 2.4vw, 34px);
}
.admin-menu-toggle {
    display: none;
}
.admin-actions {
    justify-content: flex-end;
}
.admin-view-site {
    min-height: 50px;
    padding-inline: 20px;
    background: #edf7ea;
    box-shadow: none;
}
.admin-user {
    min-height: 50px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(23,59,40,.06);
}
.avatar {
    border-radius: 999px;
}
.admin-content {
    padding: 28px;
}
.dashboard-grid {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 16px;
}
.metric-card {
    position: relative;
    overflow: hidden;
    min-height: 154px;
    border-radius: 18px;
    padding: 20px;
}
.metric-card:after {
    content: "";
    position: absolute;
    inset: auto -24px -42px auto;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(47,143,70,.08);
}
.metric-icon {
    width: 44px;
    height: 44px;
}
.metric-card strong {
    font-size: 34px;
}
.spotlight-card {
    min-height: 150px;
    padding: 28px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.96), rgba(239,247,235,.9)),
        url('../images/gerz-volunteer-banner-opt.jpg') center/cover;
}
.spotlight-card h2 {
    font-size: clamp(25px, 2.5vw, 34px);
}
.spotlight-card .actions {
    margin-top: 0;
    justify-content: flex-end;
}
.admin-shell.sidebar-collapsed {
    grid-template-columns: 92px minmax(0, 1fr);
}
.admin-shell.sidebar-collapsed .admin-brand span,
.admin-shell.sidebar-collapsed .admin-nav-label,
.admin-shell.sidebar-collapsed .admin-side a span {
    display: none;
}
.admin-shell.sidebar-collapsed .admin-brand,
.admin-shell.sidebar-collapsed .admin-side a {
    justify-content: center;
}
@media (max-width: 1250px) {
    .admin-topbar {
        grid-template-columns: 1fr auto;
    }
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .admin-shell,
    .admin-shell.sidebar-collapsed {
        grid-template-columns: 1fr;
    }
    .admin-side {
        display: none;
        height: auto;
        position: static;
    }
    .admin-shell.sidebar-collapsed .admin-side {
        display: flex;
    }
    .admin-menu-toggle {
        display: inline-grid;
    }
    .admin-topbar {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 620px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    .admin-actions {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* Admin sidebar, profile dropdown, footer */
.admin-side {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.22) transparent;
}
.admin-side::-webkit-scrollbar {
    width: 8px;
}
.admin-side::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.22);
    border-radius: 999px;
}
.admin-nav {
    flex: 1 0 auto;
}
.admin-logout {
    flex: 0 0 auto;
    margin-top: 18px !important;
    background: rgba(255,255,255,.14) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.12);
}
.admin-logout:hover {
    background: rgba(243,193,58,.2) !important;
}
.admin-profile {
    position: relative;
}
.admin-user {
    border: 1px solid var(--line);
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--deep);
}
.admin-user:hover {
    border-color: rgba(47,143,70,.28);
    box-shadow: 0 14px 36px rgba(23,59,40,.1);
}
.profile-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 280px;
    background: white;
    border: 1px solid rgba(47,143,70,.14);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 24px 70px rgba(23,59,40,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 40;
}
.admin-profile.open .profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.profile-menu-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 6px;
}
.profile-menu-head small {
    display: block;
    color: var(--muted);
    line-height: 1.2;
}
.profile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 10px;
    border-radius: 12px;
    color: var(--deep);
    font-weight: 800;
}
.profile-menu a .menu-count {
    margin-left: auto;
    min-width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #edf7ea;
    color: var(--green);
    font-size: 12px;
}
.notification-menu {
    width: 310px;
}
.profile-menu a:hover {
    background: #edf7ea;
}
.admin-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 18px 28px;
    color: var(--muted);
    border-top: 1px solid rgba(47,143,70,.12);
    background: rgba(255,255,255,.72);
    font-size: 14px;
}
.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
}
.profile-card,
.profile-help {
    border-radius: 20px;
}
.profile-summary {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.large-avatar {
    width: 72px;
    height: 72px;
    font-size: 28px;
}
.profile-summary h2 {
    margin: 8px 0 4px;
}
.profile-summary p {
    margin: 0;
    color: var(--muted);
}
.profile-form .btn {
    margin-top: 18px;
}
.error-notice {
    background: #fff0ed;
    border-left-color: #d94b35;
}
@media (max-width: 980px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .admin-profile {
        width: 100%;
    }
    .profile-menu {
        left: 0;
        right: auto;
        width: min(320px, 100%);
    }
    .admin-footer {
        padding: 18px;
    }
}

/* Fixed admin app shell: only content scrolls */
body:has(.admin-shell) {
    overflow: hidden;
}
.admin-shell {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}
.admin-main {
    min-height: 0;
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
}
.admin-topbar {
    position: relative;
    top: auto;
}
.admin-scroll-area {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(47,143,70,.35) transparent;
}
.admin-scroll-area::-webkit-scrollbar {
    width: 9px;
}
.admin-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(47,143,70,.35);
    border-radius: 999px;
}
.admin-content {
    min-height: 100%;
}
.admin-footer {
    flex: 0 0 auto;
}
@media (max-width: 900px) {
    body:has(.admin-shell) {
        overflow: auto;
    }
    .admin-shell,
    .admin-main {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .admin-scroll-area {
        overflow: visible;
    }
}
