/*
Theme Name:  Go Denty Foundation
Theme URI:   https://godentyfoundation.org
Author:      Go Denty Foundation
Author URI:  https://godentyfoundation.org
Description: Official theme for the Go Denty Foundation — In Memory of George Ogamba Denty (1984–2010). Building schools, orphanages and sporting centres for the children of Kitgum, Uganda.
Version:     1.0.0
Text Domain: godenty
Tags:        charity, nonprofit, memorial, uganda, custom-menu, featured-images, full-width-template
*/

/* ==========================================================================
   Custom Properties — Godenty Brand Tokens
   ========================================================================== */
:root {
    --forest:       #2C3E35;
    --forest-dark:  #1e2d25;
    --forest-light: #3d5546;
    --sage:         #5A7B6A;
    --sage-light:   #7a9b8a;
    --sand:         #E8D5B0;
    --sand-dark:    #d4bc8e;
    --terra:        #B5692A;
    --terra-dark:   #9a5520;
    --cream:        #F8F4EC;
    --dark:         #1A2820;
    --text:         #2C2C2C;
    --muted:        #6B6B6B;
    --white:        #FFFFFF;
    --light-gray:   #E8EDE8;

    --font-heading: 'Ubuntu', sans-serif;
    --font-body:    'Nunito', sans-serif;

    --radius:       8px;
    --radius-lg:    16px;
    --shadow-sm:    0 2px 8px rgba(26, 62, 53, 0.08);
    --shadow-md:    0 8px 32px rgba(26, 62, 53, 0.14);
    --shadow-lg:    0 20px 60px rgba(26, 62, 53, 0.20);

    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width:    1200px;
    --section-pad:  80px 24px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--terra); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--forest);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* ==========================================================================
   Accessibility
   ========================================================================== */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
    background: var(--terra);
    clip: auto !important;
    clip-path: none;
    color: var(--white);
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 8px;
    line-height: normal;
    padding: 12px 24px;
    text-decoration: none;
    top: 8px;
    width: auto;
    z-index: 100000;
    border-radius: var(--radius);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-terra {
    background: var(--terra);
    color: var(--white);
    border-color: var(--terra);
}
.btn-terra:hover {
    background: var(--terra-dark);
    border-color: var(--terra-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(181, 105, 42, 0.4);
}

.btn-forest {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}
.btn-forest:hover {
    background: var(--forest-dark);
    border-color: var(--forest-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sand {
    background: var(--sand);
    color: var(--forest);
    border-color: var(--sand);
}
.btn-sand:hover {
    background: var(--sand-dark);
    border-color: var(--sand-dark);
    color: var(--forest);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 213, 176, 0.5);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--forest);
    transform: translateY(-2px);
}

.btn-outline-sand {
    background: transparent;
    color: var(--sand);
    border-color: var(--sand);
}
.btn-outline-sand:hover {
    background: var(--sand);
    color: var(--forest);
    transform: translateY(-2px);
}

/* Dropdown toggle button (nav walker) */
.primary-nav .dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    color: rgba(232,213,176,0.7);
    display: inline-flex;
    align-items: center;
    transition: color var(--transition);
    vertical-align: middle;
}
.primary-nav .dropdown-toggle:hover,
.primary-nav .dropdown-toggle[aria-expanded="true"] { color: var(--sand); }
.primary-nav .dropdown-toggle svg { transition: transform var(--transition); }
.primary-nav .dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 12px;
}

.section-title { color: var(--forest); margin-bottom: 16px; }

.section-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 40px;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.8); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.6); opacity: 0.5; }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--forest);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(26, 40, 32, 0.4);
    backdrop-filter: blur(10px);
    background: rgba(44, 62, 53, 0.97);
}

.navbar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-logo a,
.custom-logo-link { display: flex; align-items: center; }

.custom-logo {
    width: var(--logo-width, 160px);
    height: auto;
    object-fit: contain;
}

.navbar .custom-logo { max-height: 62px; }
.site-footer .custom-logo { max-height: none; width: auto; max-width: var(--logo-width, 200px); }

.godenty-logo-link { display: flex; align-items: center; text-decoration: none; }
.godenty-logo-svg  { display: block; }

/* Primary Nav */
.primary-nav { display: flex; align-items: center; }

.primary-nav ul {
    display: flex;
    gap: 4px;
    align-items: center;
}

.primary-nav ul li a {
    color: var(--sand);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: all var(--transition);
    display: block;
    opacity: 0.85;
}

.primary-nav ul li a:hover,
.primary-nav ul li.current-menu-item > a {
    color: var(--sand);
    opacity: 1;
    background: rgba(232,213,176,0.1);
}

/* Dropdown */
.primary-nav ul li.menu-item-has-children { position: relative; }

.primary-nav ul li.menu-item-has-children > ul {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 200px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    flex-direction: column;
    gap: 2px;
}

.primary-nav ul li.menu-item-has-children:hover > ul,
.primary-nav ul li.menu-item-has-children:focus-within > ul { display: flex; }

.primary-nav ul li.menu-item-has-children > ul li a {
    color: var(--text);
    padding: 10px 14px;
    opacity: 1;
}
.primary-nav ul li.menu-item-has-children > ul li a:hover {
    background: var(--cream);
    color: var(--forest);
}

.navbar-donate { display: flex; align-items: center; gap: 12px; }
.navbar-donate .btn { padding: 10px 22px; font-size: 0.9rem; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 4px;
    border: none;
    background: none;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sand);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
    display: none;
    background: var(--forest-dark);
    border-top: 1px solid rgba(232,213,176,0.1);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 16px 24px 24px; text-align: center; }
.mobile-nav ul li a {
    display: block;
    color: var(--sand);
    padding: 12px 0;
    font-weight: 600;
    border-bottom: 1px solid rgba(232,213,176,0.07);
    text-align: center;
    opacity: 0.85;
}
.mobile-nav ul li:last-child a { border-bottom: none; }
.mobile-nav ul li a:hover { color: var(--sand); opacity: 1; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background: var(--forest);
    display: flex;
    align-items: center;
}

.hero-section .smartslider-placeholder,
.hero-section [class*="smart-slider"],
.hero-section .n2-ss-slider-wrapper { width: 100%; }

/* Static hero (Smart Slider 3 fallback) */
.hero-static {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--section-pad);
    overflow: hidden;
}

.hero-static::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(90,123,106,0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-static::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(181,105,42,0.18) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Organic leaf shapes */
.hero-leaf {
    position: absolute;
    pointer-events: none;
    opacity: 0.04;
}
.hero-leaf-1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 400px;
    background: var(--sage);
    border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
    transform: rotate(25deg);
}
.hero-leaf-2 {
    bottom: 5%;
    left: 2%;
    width: 200px;
    height: 300px;
    background: var(--sand);
    border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%;
    transform: rotate(-15deg);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-years {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--sage);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: block;
}

.hero-inner h1 {
    color: var(--sand);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-inner p {
    color: rgba(232,213,176,0.8);
    font-size: 1.15rem;
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(232,213,176,0.5);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}
.hero-scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 48px;
    background: rgba(232,213,176,0.3);
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-bar {
    background: var(--dark);
    padding: 60px 24px;
}

.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--terra);
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(232,213,176,0.75);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ==========================================================================
   Memorial Preview (homepage)
   ========================================================================== */
.memorial-preview {
    padding: var(--section-pad);
    background: var(--white);
}

.memorial-preview .container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: center;
}

.memorial-portrait {
    position: relative;
}

.memorial-portrait img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.memorial-portrait::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 55%;
    height: 55%;
    border: 3px solid var(--terra);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.memorial-portrait-placeholder {
    width: 100%;
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--forest) 0%, var(--sage) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.memorial-content .section-label { color: var(--terra); }

.george-years-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--forest);
    margin-bottom: 16px;
}

.george-passions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.passion-pill {
    background: var(--cream);
    border: 1px solid var(--sand);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--forest);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.george-bio {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.george-quote {
    border-left: 4px solid var(--terra);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--cream);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.george-quote p {
    font-style: italic;
    color: var(--forest);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Mission Pillars
   ========================================================================== */
.mission-pillars {
    padding: var(--section-pad);
    background: var(--forest);
}

.mission-pillars .section-label { color: var(--terra); }
.mission-pillars .section-title { color: var(--sand); }
.mission-pillars .section-subtitle { color: rgba(232,213,176,0.7); }

.mission-intro {
    color: rgba(232,213,176,0.8);
    font-size: 1.05rem;
    max-width: 680px;
    margin-bottom: 48px;
    line-height: 1.75;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    background: var(--forest-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(232,213,176,0.1);
    transition: all var(--transition);
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
    border-color: rgba(232,213,176,0.2);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.pillar-title {
    color: var(--sand);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.pillar-text {
    color: rgba(232,213,176,0.65);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   Project Cards Section
   ========================================================================== */
.projects-section {
    padding: var(--section-pad);
    background: var(--cream);
}

.projects-section .section-header { text-align: center; margin-bottom: 56px; }
.projects-section .section-header .section-subtitle { margin: 0 auto; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

/* Project Card */
.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terra);
}

.project-card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
}
.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}
.project-card:hover .project-card__image img { transform: scale(1.05); }

.project-card__image-placeholder {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-card__image-placeholder.phase-1 { background: linear-gradient(135deg, var(--forest) 0%, var(--sage) 100%); }
.project-card__image-placeholder.phase-2 { background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 100%); }
.project-card__image-placeholder.phase-3 { background: linear-gradient(135deg, var(--dark) 0%, var(--forest) 100%); }
.project-card__image-placeholder svg { opacity: 0.3; }

.project-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }

.project-card__badges {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.project-card__phase {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(181,105,42,0.1);
    color: var(--terra);
}

.project-card__status {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    width: fit-content;
}
.project-card__status.active    { background: rgba(90,123,106,0.12); color: var(--sage); }
.project-card__status.planned   { background: rgba(232,213,176,0.15); color: var(--sand-dark); }
.project-card__status.completed { background: rgba(44,62,53,0.08);   color: var(--forest); }

.project-card__title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--forest);
}

.project-card__excerpt {
    color: var(--muted);
    font-size: 0.95rem;
    flex: 1;
    margin-bottom: 20px;
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--forest);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.project-card__link:hover { color: var(--terra); gap: 10px; }
.project-card__link svg { transition: transform var(--transition); }
.project-card:hover .project-card__link svg { transform: translateX(4px); }

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-section {
    padding: var(--section-pad);
    background: var(--white);
}

.blog-section .section-header { text-align: center; margin-bottom: 56px; }
.blog-section .section-header .section-subtitle { margin: 0 auto; }

/* Post Card */
.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--light-gray);
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terra);
}

.post-card__image { aspect-ratio: 16/9; overflow: hidden; }
.post-card__image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform var(--transition);
}
.post-card:hover .post-card__image img { transform: scale(1.05); }

.post-card__image-placeholder {
    aspect-ratio: 16/9;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.post-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.post-card__meta {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 12px; font-size: 0.8rem; color: var(--muted);
}

.post-card__category {
    background: rgba(181,105,42,0.1);
    color: var(--terra);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-card__title {
    font-size: 1.1rem; margin-bottom: 10px; color: var(--forest);
    transition: color var(--transition);
}
.post-card:hover .post-card__title { color: var(--terra); }

.post-card__excerpt { color: var(--muted); font-size: 0.9rem; flex: 1; margin-bottom: 16px; }

.post-card__link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; color: var(--forest); font-size: 0.88rem;
    transition: all var(--transition);
}
.post-card__link:hover { color: var(--terra); gap: 10px; }

/* ==========================================================================
   Kitgum Section
   ========================================================================== */
.kitgum-section {
    padding: var(--section-pad);
    background: var(--sand);
}

.kitgum-section .section-label { color: var(--terra); }
.kitgum-section .section-title { color: var(--forest); }
.kitgum-section .section-subtitle { color: var(--forest); opacity: 0.7; }

.kitgum-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.kitgum-text p { color: var(--forest); opacity: 0.85; line-height: 1.75; }

.kitgum-map { position: relative; display: flex; align-items: center; justify-content: center; }

.kitgum-map svg { width: 100%; max-width: 380px; filter: drop-shadow(0 8px 24px rgba(44,62,53,0.2)); }

/* Pulsing Kitgum dot */
.kitgum-pulse-dot {
    animation: pulse-dot 2s ease-in-out infinite;
    transform-origin: center;
}

/* ==========================================================================
   Donate CTA Band
   ========================================================================== */
.donate-band {
    background: var(--forest);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donate-band::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(90,123,106,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.donate-band .container { position: relative; }

.donate-band h2 { color: var(--sand); margin-bottom: 16px; }
.donate-band p {
    color: rgba(232,213,176,0.75);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--dark);
    color: rgba(232,213,176,0.7);
}

.footer-main {
    padding: 72px 24px 48px;
    border-bottom: 1px solid rgba(232,213,176,0.1);
}

.footer-main .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-tagline {
    color: rgba(232,213,176,0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 16px 0 24px;
}

.social-links { display: flex; gap: 12px; }

.social-link {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(232,213,176,0.08);
    color: rgba(232,213,176,0.7);
    transition: all var(--transition);
    font-size: 1.1rem; text-decoration: none;
}
.social-link:hover {
    background: var(--terra);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-widget .widget-title {
    color: var(--sand);
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--terra);
    display: inline-block;
}

.footer-widget a { color: rgba(232,213,176,0.65); font-size: 0.9rem; }
.footer-widget a:hover { color: var(--sand); }
.footer-widget p { color: rgba(232,213,176,0.65); font-size: 0.9rem; margin-bottom: 8px; }

.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul li a {
    color: rgba(232,213,176,0.65);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-nav ul li a:hover { color: var(--sand); }

.footer-bottom { padding: 20px 24px; }

.footer-bottom .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; font-size: 0.85rem; color: rgba(232,213,176,0.4);
}

.footer-memorial {
    text-align: center;
    padding: 12px 24px;
    background: rgba(0,0,0,0.2);
    color: rgba(232,213,176,0.5);
    font-size: 0.85rem;
    font-style: italic;
}

/* ==========================================================================
   Standard Page / Content
   ========================================================================== */
.page-content-wrap {
    margin-top: 70px;
    padding: 80px 24px;
    min-height: 60vh;
}

.page-content-wrap .entry-content { max-width: 800px; margin: 0 auto; }
.page-content-wrap .entry-content h1,
.page-content-wrap .entry-content h2,
.page-content-wrap .entry-content h3 { margin: 1.5rem 0 0.75rem; }
.page-content-wrap .entry-content p { margin-bottom: 1.25rem; }
.page-content-wrap .entry-content img { border-radius: var(--radius); margin: 1rem 0; }
.page-content-wrap .entry-content ul,
.page-content-wrap .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style: disc; }

/* ==========================================================================
   Full-width Elementor
   ========================================================================== */
body.elementor-page .site-main,
body.godenty-elementor-page .site-main { margin-top: 70px; }

body.elementor-page .page-content-wrap { padding: 0; margin-top: 70px; }

/* ==========================================================================
   Page Banner
   ========================================================================== */
.page-banner {
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
    padding: 120px 24px 60px;
    text-align: center;
    margin-top: 70px;
}

.page-banner h1 { color: var(--sand); margin-bottom: 12px; }
.page-banner p { color: rgba(232,213,176,0.75); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ==========================================================================
   About Page — George Acts
   ========================================================================== */
.george-act1 {
    padding: var(--section-pad);
    background: var(--cream);
}

.george-act1-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 80px;
    align-items: start;
}

.george-act1 .george-quote { margin-top: 28px; }

.george-act2 {
    padding: 80px 0;
    background: var(--dark);
}

.george-act2 h2 { color: var(--sand); text-align: center; margin-bottom: 16px; }
.george-act2 .act-intro { color: rgba(232,213,176,0.7); text-align: center; max-width: 560px; margin: 0 auto 48px; }

.george-act3 {
    padding: var(--section-pad);
    background: var(--white);
}
.george-act3 h2 { color: var(--forest); margin-bottom: 16px; }
.george-act3 p { color: var(--text); line-height: 1.75; }

/* Team grid on About page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

/* Team Card */
.team-card {
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--light-gray);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.team-card__photo {
    width: 100px; height: 100px; border-radius: 50%;
    overflow: hidden; margin: 0 auto 20px;
    border: 3px solid var(--terra);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card__photo-placeholder {
    width: 100px; height: 100px; border-radius: 50%;
    background: var(--forest);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid var(--terra);
    font-family: var(--font-heading);
    font-size: 2rem; color: var(--sand); font-weight: 700;
}

.team-card__name { color: var(--forest); font-size: 1.1rem; margin-bottom: 6px; }
.team-card__role { color: var(--terra); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.team-card__bio { color: var(--muted); font-size: 0.9rem; }

/* ==========================================================================
   George Carousel
   ========================================================================== */
.godenty-carousel {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(26,40,32,0.85) 0%, transparent 100%);
    pointer-events: none;
}

.carousel-caption {
    position: absolute;
    bottom: 24px;
    left: 28px;
    right: 80px;
    color: var(--sand);
    font-size: 1rem;
    font-style: italic;
    z-index: 2;
    margin: 0;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44,62,53,0.7);
    border: 1px solid rgba(232,213,176,0.2);
    color: var(--sand);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition);
    z-index: 3;
}
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-prev:hover,
.carousel-next:hover {
    background: var(--terra);
    border-color: var(--terra);
    color: var(--white);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0 0;
    background: var(--dark);
}

.carousel-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--sage);
    transition: all var(--transition);
    padding: 0;
}
.carousel-dots button.active {
    background: var(--terra);
    transform: scale(1.3);
}

/* Mobile carousel: 4:3 aspect ratio */
@media (max-width: 768px) {
    .carousel-slide { aspect-ratio: 4/3; }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 56px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.contact-detail-icon {
    width: 48px; height: 48px;
    background: rgba(44,62,53,0.08);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--forest);
    font-size: 1.2rem;
}

.contact-detail-text strong { display: block; color: var(--forest); font-weight: 700; margin-bottom: 4px; }
.contact-detail-text span,
.contact-detail-text a { color: var(--muted); font-size: 0.95rem; }

/* ==========================================================================
   Single Post
   ========================================================================== */
.single-post-wrap {
    margin-top: 70px;
    padding: 60px 24px 80px;
}

.single-post-wrap .container { max-width: 800px; }

.post-header { margin-bottom: 40px; }
.post-header .post-category {
    font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--terra); margin-bottom: 12px;
}
.post-header h1 { margin-bottom: 16px; }
.post-header .post-meta { color: var(--muted); font-size: 0.9rem; }

.post-featured-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 48px; }
.post-featured-image img { width: 100%; }

.post-body { font-size: 1.05rem; line-height: 1.8; }
.post-body h2, .post-body h3, .post-body h4 { margin: 2rem 0 1rem; }
.post-body p { margin-bottom: 1.4rem; }
.post-body img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }

/* ==========================================================================
   Archive
   ========================================================================== */
.archive-wrap { margin-top: 70px; padding: 60px 24px 80px; }
.archive-header { text-align: center; margin-bottom: 56px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 56px; }

.pagination { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--radius);
    font-weight: 600; border: 2px solid var(--light-gray);
    color: var(--forest); transition: all var(--transition);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--forest); border-color: var(--forest); color: var(--white);
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.not-found-wrap {
    min-height: 100vh; background: var(--forest);
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 40px 24px;
}

.not-found-wrap .error-number {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 20vw, 12rem);
    font-weight: 700; color: var(--terra);
    line-height: 1; margin-bottom: 24px; display: block; opacity: 0.9;
}

.not-found-wrap h2 { color: var(--sand); margin-bottom: 16px; font-size: 1.75rem; }
.not-found-wrap p {
    color: rgba(232,213,176,0.65); font-size: 1.05rem;
    max-width: 460px; margin: 0 auto 40px;
}

/* ==========================================================================
   Breadcrumbs & Reading Time
   ========================================================================== */
.breadcrumbs { margin-bottom: 28px; }
.breadcrumbs ol {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 4px; list-style: none; padding: 0; margin: 0; font-size: 0.85rem;
}
.breadcrumbs ol li a { color: rgba(232,213,176,0.55); text-decoration: none; transition: color var(--transition); }
.breadcrumbs ol li a:hover { color: var(--terra); }
.breadcrumbs ol li span[aria-current="page"] { color: var(--terra); font-weight: 600; }
.breadcrumbs .breadcrumb-sep { color: rgba(232,213,176,0.3); font-size: 0.9rem; }

.archive-wrap .breadcrumbs ol li a,
.single-post-wrap .breadcrumbs ol li a { color: var(--muted); }
.archive-wrap .breadcrumbs ol li a:hover,
.single-post-wrap .breadcrumbs ol li a:hover { color: var(--forest); }
.archive-wrap .breadcrumbs ol li span[aria-current="page"],
.single-post-wrap .breadcrumbs ol li span[aria-current="page"] { color: var(--forest); }
.archive-wrap .breadcrumbs .breadcrumb-sep,
.single-post-wrap .breadcrumbs .breadcrumb-sep { color: var(--muted); }

.reading-time { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 0.85rem; }
.post-card__read-time { font-size: 0.78rem; color: var(--muted); }
.post-card__read-time::before { content: '·'; margin-right: 4px; }

/* ==========================================================================
   Social Share
   ========================================================================== */
.post-share {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    padding: 24px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    margin: 40px 0;
}
.post-share__label { font-weight: 700; font-size: 0.9rem; color: var(--forest); white-space: nowrap; }
.post-share__links { display: flex; gap: 10px; flex-wrap: wrap; }

.share-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: var(--radius);
    font-size: 0.875rem; font-weight: 600; text-decoration: none;
    transition: all var(--transition); border: 2px solid transparent;
}
.share-btn--whatsapp { background: #25D366; color: #fff; }
.share-btn--whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); }
.share-btn--facebook { background: #1877F2; color: #fff; }
.share-btn--facebook:hover { background: #0d65d9; color: #fff; transform: translateY(-2px); }
.share-btn--twitter { background: var(--text); color: #fff; }
.share-btn--twitter:hover { background: #000; color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   Related Posts
   ========================================================================== */
.related-posts { margin-top: 64px; padding-top: 48px; border-top: 2px solid var(--light-gray); }
.related-posts h2 { margin-bottom: 32px; font-size: 1.5rem; }

/* ==========================================================================
   Back to Top
   ========================================================================== */
.back-to-top {
    position: fixed; bottom: 32px; right: 32px;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--forest); color: var(--white);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    z-index: 900; opacity: 0; transform: translateY(16px);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--terra); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ==========================================================================
   WPForms brand overrides
   ========================================================================== */
.wpforms-container .wpforms-submit-container button[type="submit"],
.wpforms-container .wpforms-field-submit input[type="submit"] {
    background: var(--terra) !important;
    border-color: var(--terra) !important;
    color: var(--white) !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    border-radius: var(--radius) !important;
    padding: 14px 32px !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: background var(--transition), transform var(--transition) !important;
}
.wpforms-container .wpforms-submit-container button[type="submit"]:hover {
    background: var(--terra-dark) !important;
    border-color: var(--terra-dark) !important;
    transform: translateY(-2px) !important;
}
.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
    font-family: var(--font-body) !important;
    border: 2px solid var(--light-gray) !important;
    border-radius: var(--radius) !important;
    padding: 12px 16px !important;
    transition: border-color 0.2s !important;
}
.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field textarea:focus,
.wpforms-container .wpforms-field select:focus {
    border-color: var(--forest) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(44, 62, 53, 0.1) !important;
}
.wpforms-container .wpforms-field-label {
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    color: var(--forest) !important;
}

/* ==========================================================================
   Animate class
   ========================================================================== */
.gdt-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.gdt-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Donate Page
   ========================================================================== */
.donate-page-wrap { margin-top: 70px; padding: 80px 24px; background: var(--cream); min-height: 60vh; }
.give-form-wrap { max-width: 700px; margin: 0 auto; }

/* ==========================================================================
   Kitgum Page
   ========================================================================== */
.kitgum-page-wrap { margin-top: 70px; }
.kitgum-page-intro { padding: var(--section-pad); background: var(--cream); }
.kitgum-page-intro p { color: var(--text); font-size: 1.05rem; line-height: 1.8; max-width: 760px; }
.kitgum-page-map { padding: var(--section-pad); background: var(--sand); text-align: center; }
.kitgum-content { padding: var(--section-pad); background: var(--white); max-width: 800px; margin: 0 auto; }

/* ==========================================================================
   Projects Page
   ========================================================================== */
.projects-page-wrap { margin-top: 70px; padding: var(--section-pad); background: var(--cream); }

/* ==========================================================================
   Grids for detail pages
   ========================================================================== */
.mission-vision-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 48px;
}

/* ==========================================================================
   Responsive — 1200px
   ========================================================================== */
@media (max-width: 1200px) {
    .george-act1-grid { grid-template-columns: 320px 1fr; gap: 56px; }
    .memorial-preview .container { gap: 56px; }
}

/* ==========================================================================
   Responsive — 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    :root { --section-pad: 64px 24px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .footer-main { padding: 56px 24px 40px; }
    .footer-main .container { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-main .container > :first-child { grid-column: 1 / -1; }
    .george-act1-grid { grid-template-columns: 1fr; gap: 40px; }
    .george-act1-grid > :first-child { max-width: 380px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-vision-grid { gap: 32px; }
}

/* ==========================================================================
   Responsive — 768px
   ========================================================================== */
@media (max-width: 768px) {
    :root { --section-pad: 56px 20px; }
    .primary-nav { display: none; }
    .hamburger { display: flex; }
    .navbar-donate .btn { display: none; }
    .navbar-donate .hamburger { display: flex; }
    .mobile-nav .mobile-donate {
        display: block; padding: 16px 24px 20px;
        border-top: 1px solid rgba(232,213,176,0.1); text-align: center;
    }
    .mobile-nav .mobile-donate .btn {
        display: inline-flex; width: auto; min-width: 200px; justify-content: center;
    }
    .stats-bar { padding: 48px 20px; }
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .memorial-preview .container { grid-template-columns: 1fr; gap: 40px; }
    .memorial-portrait::after { display: none; }
    .kitgum-2col { grid-template-columns: 1fr; gap: 40px; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-main .container { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom .container { flex-direction: column; text-align: center; gap: 8px; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; max-width: 320px; justify-content: center; }
    .donate-band { padding: 56px 20px; }
    .page-banner { padding: 110px 20px 48px; }
    .page-banner h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .pillars-grid { grid-template-columns: 1fr; }
    .mission-vision-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Responsive — 600px
   ========================================================================== */
@media (max-width: 600px) {
    :root { --section-pad: 48px 16px; }
    .cards-grid { grid-template-columns: 1fr; gap: 20px; }
    .posts-grid { grid-template-columns: 1fr; gap: 20px; }
    .stats-bar .container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .navbar { padding: 0 16px; }
    .hero-scroll { display: none; }
    .footer-main { padding: 48px 16px 32px; }
    .page-content-wrap { padding: 48px 16px 64px; }
    .single-post-wrap { padding: 48px 16px 64px; }
    .archive-wrap { padding: 48px 16px 64px; }
    .team-grid { grid-template-columns: 1fr; }
    .post-share { flex-direction: column; align-items: flex-start; gap: 12px; }
    .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* ==========================================================================
   Responsive — 480px
   ========================================================================== */
@media (max-width: 480px) {
    :root { --section-pad: 40px 16px; }
    .navbar { height: 60px; }
    .hero-section { margin-top: 60px; }
    .page-banner { margin-top: 60px; padding: 90px 16px 40px; }
    .page-content-wrap { margin-top: 60px; padding: 40px 16px 56px; }
    .single-post-wrap { margin-top: 60px; padding: 40px 16px 56px; }
    .archive-wrap { margin-top: 60px; padding: 40px 16px 56px; }
    body.elementor-page .site-main,
    body.godenty-elementor-page .site-main { margin-top: 60px; }
    h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    h2 { font-size: clamp(1.35rem, 6vw, 1.8rem); }
    .stat-number { font-size: clamp(2rem, 10vw, 3rem); }
    .project-card__body { padding: 20px; }
    .post-card__body { padding: 18px; }
    .footer-bottom { padding: 16px; }
    .not-found-wrap .error-number { font-size: clamp(5rem, 25vw, 9rem); }
    .pagination { flex-wrap: wrap; gap: 6px; }
    .pagination .page-numbers { width: 40px; height: 40px; font-size: 0.85rem; }
    .stats-bar .container { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ==========================================================================
   Responsive — 360px
   ========================================================================== */
@media (max-width: 360px) {
    :root { --section-pad: 36px 12px; }
    .navbar { padding: 0 12px; }
    .container { padding: 0 12px; }
    .btn { padding: 12px 20px; font-size: 0.9rem; }
    .stat-number { font-size: 2rem; }
}
