/* ----- RESET & BASE ----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    background: #ffffff;
    color: #013364;
    line-height: 1.6;
}

/* ----- CUSTOM SCROLLBAR ----- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #e8edf2;
}

::-webkit-scrollbar-thumb {
    background: #013364;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #d30b0d;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #013364 #e8edf2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ----- SCROLL REVEAL ANIMATIONS ----- */
.reveal {
    opacity: 0;
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s ease;
    transition-delay: var(--reveal-delay, 0s);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.reveal-fade-up {
    transform: translateY(48px);
}

.reveal-fade-down {
    transform: translateY(-48px);
}

.reveal-fade-left {
    transform: translateX(64px);
}

.reveal-fade-right {
    transform: translateX(-64px);
}

.reveal-zoom {
    transform: scale(0.82);
}

.reveal-flip {
    transform: perspective(1000px) rotateX(-28deg);
    transform-origin: top center;
    opacity: 0;
}

.reveal-rotate {
    transform: rotate(-5deg) translateY(40px);
}

.reveal-blur {
    filter: blur(14px);
    transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* ----- TOP BAR (phone & address) ----- */
.top-bar {
    background: #013364;
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 3px solid #d30b0d;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar .contact-info > span {
    margin-right: 25px;
}

.top-bar .contact-phones {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar .contact-phone-lines {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.top-bar .contact-phone {
    display: block;
}

.top-bar .contact-info i {
    margin-right: 6px;
    color: #428bca;
}

.top-bar .contact-phones > .fa-phone-alt {
    transform: scaleX(-1);
}

.top-bar .social-icons a {
    color: #fff;
    margin-left: 14px;
    font-size: 14px;
    transition: color 0.2s;
}

.top-bar .social-icons a:hover {
    color: #00A300;
}

/* ----- HEADER / NAVIGATION ----- */
.main-header {
    background: #ffffff;
    padding: 0;
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #d30b0d;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    color: #013364;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    padding: 20px 0;
    perspective: 400px;
}

.nav-logo {
    height: 48px;
    width: auto;
    margin-right: 10px;
    border-radius: 4px;
    transform-style: preserve-3d;
    animation: navLogoSpin 4s linear infinite;
}

@keyframes navLogoSpin {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(-360deg); }
}

.nav-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}

.main-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}

.main-nav>li {
    position: relative;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #013364;
    cursor: pointer;
    display: flex;
    align-items: stretch;
    padding: 0;
}

.main-nav>li a {
    color: inherit;
    display: flex;
    align-items: center;
    padding: 20px 14px;
    position: relative;
    transition: color 0.25s, background 0.25s;
}

.main-nav>li a:hover {
    color: #ffffff;
    background: #d30b0d;
}

.main-nav>li .dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    color: #888;
    transition: transform 0.25s;
    display: inline-block;
}

.main-nav>li.dropdown-open .dropdown-arrow,
.main-nav>li:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.main-nav>li.dropdown-open > .dropdown-menu,
.main-nav>li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    padding: 12px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-radius: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 999;
    border-top: 3px solid #013364;
}

.dropdown-menu li {
    padding: 6px 22px;
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #333;
    transition: background 0.15s;
}

.dropdown-menu li a {
    display: block;
    margin: -6px -22px;
    padding: 6px 22px;
    color: inherit;
    background: none;
}

.dropdown-menu li a:hover {
    background: none;
    color: inherit;
}

.dropdown-menu li:hover {
    background: #013364;
    color: #ffffff;
}

.dropdown-menu li:hover a,
.dropdown-menu li:hover i {
    color: #ffffff;
}

.dropdown-menu li i {
    margin-right: 10px;
    color: #428bca;
    width: 18px;
    font-size: 13px;
}

/* Second-level (nested) dropdown */
.dropdown-menu li.nav-dropdown {
    position: relative;
}

.dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin: 0;
    min-width: 230px;
}

.dropdown-menu .dropdown-menu li {
    color: #000000;
}

.dropdown-menu .dropdown-menu li a,
.dropdown-menu .dropdown-menu li i {
    color: #000000;
}

.dropdown-menu .dropdown-menu li:hover a,
.dropdown-menu .dropdown-menu li:hover i {
    color: #ffffff;
}

.dropdown-menu li.nav-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-menu li.nav-dropdown > a .dropdown-arrow {
    margin-left: 14px;
    transform: rotate(-90deg);
}

.dropdown-menu li.nav-dropdown.dropdown-open > a .dropdown-arrow,
.dropdown-menu li.nav-dropdown:hover > a .dropdown-arrow {
    transform: rotate(0deg);
}

.dropdown-menu li.nav-dropdown:hover > .dropdown-menu,
.dropdown-menu li.dropdown-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Nav CTA button */
.btn-contribute-nav {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: #d30b0d;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
}

.btn-contribute-nav:hover {
    background: #c30e13;
    transform: scale(1.05);
}

/* Mobile hamburger */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #013364;
    background: none;
    border: none;
}

/* ----- HERO SECTION ----- */
.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    min-height: 100vh;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #d30b0d;
    z-index: 2;
}

.hero-slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.hero-slide {
    flex: 0 0 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #013364;
    background-image: url('../assets/hero-bg.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform;
    backface-visibility: hidden;
    animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.12);
    }
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65vmin;
    height: 65vmin;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
    animation: heroBlur 6s ease-in-out infinite;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(1, 51, 100, 0.70) 0%, rgba(1, 51, 100, 0.50) 100%);
}

@keyframes heroBlur {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.12;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.22;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.12;
    }
}

@keyframes cloudBreathe {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.25;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.25;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeUpSolidify {
    0% {
        transform: translateY(40px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    padding: 0;
}

.hero-person {
    flex: 0 0 45%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    animation: slideInFromLeft 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-person img {
    width: auto;
    height: clamp(440px, 88svh, 92svh);
    max-width: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

.hero-content {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    padding: clamp(40px, 6vh, 80px) clamp(30px, 4vw, 50px);
    position: relative;
    animation: fadeUpSolidify 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
    opacity: 0;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: textBlur 5s ease-in-out infinite;
}

.hero-swish {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

@keyframes textBlur {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.25;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.25);
        opacity: 0.45;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.25;
    }
}

.hero-content--centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 0;
    border-radius: 0;
    border-left: none;
    margin: 0;
    position: relative;
    z-index: 1;
    text-align: left;
    width: auto;
}

.hero-content .hero-role {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    margin-top: 2px;
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

.hero-info-strips {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.hero-strip {
    padding: 8px 24px;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.hero-strip--red {
    background: #d30b0d;
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-strip-logo {
    height: 46px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.hero-strip--red .hero-strip-text {
    display: flex;
    flex-direction: column;
}

.hero-strip--blue {
    background: #013364;
}

.hero-content .hero-designation {
    font-size: 22px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    letter-spacing: 0.2px;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.slide-2 {
    background: #013364;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-2-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-3 {
    background: #013364;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-4-heading {
    position: absolute;
    top: 40px;
    left: 50px;
    z-index: 1;
}

.slide-4-heading h1 {
    font-size: 112px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    color: #ffffff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.slide-3-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-4 {
    background: #013364;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-4-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-2 .hero-content {
    flex: 0 0 auto;
    max-width: 820px;
    text-align: center;
    padding: 60px 20px;
}

.slide-2 .hero-content h1 {
    font-size: clamp(44px, 9vw, 100px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.slide-2 .hero-content h1 .highlight {
    color: #d30b0d;
}

.slide-2 .hero-content p {
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-content h1 {
    font-size: clamp(48px, 6vw, 140px);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 18px;
    letter-spacing: -2px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-title-block {
    display: inline-block;
    width: fit-content;
}

.hero-title-block h1 {
    margin-bottom: 10px;
}

.hero-content h1 .tight {
    word-spacing: 0.18em;
}

.hero-content h1 .highlight {
    color: #ffffff;
}

.goals-content p .green-text {
    color: #ffffff;
    font-weight: 700;
    display: inline-block;
    border-bottom: 3px solid #00A300;
    padding-bottom: 2px;
}

.hero-content p {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.7;
}

.hero-content--centered p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .btn-see-plan {
    background: #d30b0d;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    padding: 16px 44px;
    border-radius: 0;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(211, 11, 13, 0.3);
}

.hero-content .btn-see-plan:hover {
    background: #c30e13;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(211, 11, 13, 0.45);
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: none;
    border: none;
    font-size: 72px;
    color: #ffffff;
    cursor: pointer;
    padding: 20px 12px;
    transition: color 0.25s;
    line-height: 1;
}

.hero-arrow:hover {
    color: #00A300;
}

.hero-arrow--left {
    left: 12px;
}

.hero-arrow--right {
    right: 12px;
}

/* ----- ABOUT SECTION ----- */
.about-section {
    background: #ffffff;
    padding: 30px 0 80px;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #d30b0d;
    z-index: 1;
}

.about-section .badge {
    display: inline-block;
    background: #d30b0d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.about-section .section-title {
    font-size: 42px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.about-section .section-title .highlight {
    color: #d30b0d;
}

.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}

.about-tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 80px;
}

.about-tabs button {
    text-align: left;
    background: #f0f0f0;
    border: none;
    border-left: 4px solid transparent;
    padding: 15px 22px;
    font-family: 'Lato', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #000000;
    cursor: pointer;
    border-radius: 0;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.about-tabs button:hover {
    background: #e0e0e0;
    border-left-color: #d30b0d;
    color: #d30b0d;
}

.about-tabs button.active {
    background: #e0e0e0;
    border-left-color: #d30b0d;
    color: #d30b0d;
}

.about-panels {
    min-height: 320px;
}

.about-panel {
    display: none;
    animation: aboutFade 0.3s ease;
}

.about-panel.active {
    display: block;
}

@keyframes aboutFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-panel h3 {
    font-size: 28px;
    font-weight: 900;
    color: #000000;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

.about-panel p {
    font-size: 16px;
    color: #111111;
    line-height: 1.85;
    margin-bottom: 16px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.facts-grid > div {
    background: #f5f7fa;
    border-radius: 0;
    padding: 14px 18px;
}

.facts-grid dt {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #d30b0d;
    font-weight: 700;
    margin-bottom: 3px;
}

.facts-grid dd {
    font-weight: 700;
    color: #000000;
    font-size: 15px;
}

/* ----- VOTER COUNTER ----- */
.stats {
    background: #ffffff;
    padding: 30px 0 40px;
    position: relative;
}

.stats::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #d30b0d;
}

.stats .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.counter-item {
    text-align: center;
}

.counter-label {
    font-size: 18px;
    font-weight: 700;
    color: #d30b0d;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.counter-number {
    font-size: 80px;
    font-weight: 900;
    color: #013364;
    line-height: 1.1;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}

.counter-figures {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin-top: 14px;
}

.counter-figure {
    padding: 0 60px;
    text-align: center;
}

.counter-figure + .counter-figure {
    border-left: 2px solid #e5e5e5;
}

.counter-sublabel {
    font-size: 16px;
    font-weight: 700;
    color: #013364;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ----- FULL CONSTITUENCY RESULT CHART ----- */
.vote-chart-section {
    background: #ffffff;
    padding: 40px 0;
}

.vote-chart-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e3e7eb;
    border-radius: 8px;
    padding: 28px 28px 20px;
}

.vote-chart-title {
    font-size: 20px;
    font-weight: 700;
    color: #013364;
    margin: 0 0 2px;
}

.vote-chart-subtitle {
    font-size: 13px;
    color: #7d8b9a;
    margin: 0 0 22px;
}

.vote-chart-legend {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #7d8b9a;
    margin-bottom: 18px;
}

.vote-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vote-chart-swatch {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    display: inline-block;
}

.vote-chart-swatch.lead { background: linear-gradient(90deg, #00A300, #00c200); }
.vote-chart-swatch.second { background: linear-gradient(90deg, #d30b0d, #ee2224); }
.vote-chart-swatch.other { background: linear-gradient(90deg, #013364, #245ea3); }

.bar-row {
    display: grid;
    grid-template-columns: 168px 1fr 78px;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.bar-name {
    font-size: 13.5px;
    font-weight: 600;
    text-align: right;
    line-height: 1.25;
    color: #1c2733;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bar-name.lead { color: #00A300; }
.bar-name.second { color: #d30b0d; }

.bar-track {
    position: relative;
    background: #eef1f4;
    border-radius: 5px;
    height: 26px;
    overflow: hidden;
}

.bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    border-radius: 5px;
    background: #7d8b9a;
    transition: width 900ms cubic-bezier(.2, .8, .2, 1);
}

.bar-fill.lead { background: linear-gradient(90deg, #00A300, #00c200); }
.bar-fill.second { background: linear-gradient(90deg, #d30b0d, #ee2224); }
.bar-fill.other { background: linear-gradient(90deg, #013364, #245ea3); }

.bar-value {
    font-size: 12.5px;
    font-weight: 700;
    color: #1c2733;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.bar-value.lead { color: #00A300; }
.bar-value.second { color: #d30b0d; }

.vote-chart-axis {
    display: grid;
    grid-template-columns: 168px 1fr 78px;
    gap: 12px;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid #e3e7eb;
}

.vote-chart-ticks {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: #7d8b9a;
    font-variant-numeric: tabular-nums;
}

.vote-chart-note {
    font-size: 11px;
    color: #7d8b9a;
    margin-top: 16px;
}

.vote-chart-download-wrap {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #e3e7eb;
    text-align: center;
}

.vote-chart-download-heading {
    font-size: 16px;
    font-weight: 700;
    color: #013364;
    margin: 0 0 8px;
}

.vote-chart-download-text {
    font-size: 13px;
    line-height: 1.6;
    color: #5a6776;
    max-width: 620px;
    margin: 0 auto 18px;
}

.vote-chart-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d30b0d;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 13px 26px;
    border-radius: 6px;
    transition: background 0.15s, transform 0.15s;
}

.vote-chart-download i {
    font-size: 15px;
}

.vote-chart-download:hover {
    background: #c30e13;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .bar-row,
    .vote-chart-axis {
        grid-template-columns: 96px 1fr 56px;
        gap: 8px;
    }
    .bar-name { font-size: 11.5px; }
    .bar-value { font-size: 11px; }
    .bar-track { height: 20px; }
    .vote-chart-ticks { font-size: 9px; }
    .vote-chart-card { padding: 18px 16px 14px; }
}

/* ----- HOME VIDEO ----- */
.home-video-section {
    background: #ffffff;
    padding: 0;
    position: relative;
}

.home-video-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #d30b0d;
}

.home-video-frame {
    border: 4px solid #013364;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
}

.home-video-frame video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ----- GOALS & ACHIEVEMENTS / AMICA SECTION ----- */
.goals-section {
    background: #013364;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.goals-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #d30b0d;
}

.goals-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.goals-content {
    flex: 1 1 300px;
    min-width: 0;
    position: relative;
}

.goals-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.goals-content .badge {
    display: inline-block;
    background: #d30b0d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.goals-content h2 {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.goals-content h2 {
    color: #ffffff;
    display: inline-block;
    border-bottom: 3px solid #d30b0d;
    padding-bottom: 4px;
}

.goals-content h2 span {
    color: #ffffff;
    text-decoration: none;
    text-underline-offset: 0;
    text-decoration-thickness: 0;
}

.goals-content p span {
    color: #d30b0d;
    font-weight: 700;
}

.goals-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    max-width: 480px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.goals-content .btn-get-involved {
    background: #d30b0d;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    padding: 14px 38px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(211, 11, 13, 0.3);
}

.goals-content .btn-get-involved:hover {
    background: #c30e13;
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(211, 11, 13, 0.45);
}

/* Video embed */
.video-wrapper {
    flex: 1 1 400px;
    min-width: 0;
    max-width: 100%;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    aspect-ratio: 16 / 9;
    align-self: stretch;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

/* ----- ELECTION RESULTS ----- */
.results-section {
    background: #013364;
    padding: 30px 0 70px;
    text-align: center;
}

.results-section .section-title {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.results-section .section-title .highlight {
    color: #d30b0d;
}

.results-grid {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.result-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(1, 51, 100, 0.1);
}

.result-figure figcaption {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 14px;
    letter-spacing: 0.3px;
}

/* ----- FOOTER ----- */
.footer {
    background: #013364;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    border-top: 6px solid #d30b0d;
}

.footer a {
    color: #6bb0f5;
    transition: color 0.2s;
}

.footer a:hover {
    color: #d30b0d;
}

.footer-main {
    padding: 44px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #d30b0d;
}

.footer-col p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    transition: background 0.25s, transform 0.2s;
}

.footer-social a:hover {
    background: #00A300;
    color: #fff;
    transform: scale(1.1);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    position: relative;
    padding-left: 14px;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #00A300;
    font-size: 12px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 18px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact li i {
    width: 20px;
    color: #d30b0d;
    font-size: 14px;
    text-align: center;
}

.footer-contact .contact-phone-lines {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.footer-contact .contact-phone {
    display: block;
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    font-size: 15px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    line-height: 1;
}

.footer-bottom p,
.footer-bottom .footer-back-top {
    display: flex;
    align-items: center;
    margin: 0;
    line-height: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-back-top {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s;
}

.footer-back-top i {
    margin-right: 6px;
    font-size: 11px;
}

.footer-back-top:hover,
.footer-bottom .footer-back-top:hover {
    color: #ffffff;
}

/* ----- GALLERY PAGE ----- */
.gallery-page {
    position: relative;
    padding: 60px 0 40px;
    overflow: hidden;
}

/* Subtle themed background decorations — soft blurred blobs in the site
   colors, kept faint so the layout stays clean and professional. */
.gallery-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(1, 51, 100, 0.07) 0, rgba(1, 51, 100, 0.07) 90px, transparent 200px),
        radial-gradient(circle at 88% 12%, rgba(211, 11, 13, 0.06) 0, rgba(211, 11, 13, 0.06) 80px, transparent 190px),
        radial-gradient(circle at 78% 82%, rgba(0, 163, 0, 0.05) 0, rgba(0, 163, 0, 0.05) 110px, transparent 230px),
        radial-gradient(circle at 22% 88%, rgba(1, 51, 100, 0.06) 0, rgba(1, 51, 100, 0.06) 70px, transparent 170px);
    filter: blur(2px);
}

.gallery-page > .container {
    position: relative;
    z-index: 1;
}

.content-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 420px;
    margin: 22px 0 6px;
}

.content-search-icon {
    position: absolute;
    left: 16px;
    color: #013364;
    font-size: 15px;
    pointer-events: none;
}

.content-search-input {
    width: 100%;
    padding: 12px 42px 12px 42px;
    border: 2px solid #d5dbe1;
    border-radius: 30px;
    font-size: 15px;
    font-family: 'Lato', sans-serif;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.content-search-input:focus {
    border-color: #013364;
    box-shadow: 0 0 0 3px rgba(1, 51, 100, 0.12);
}

.content-search-clear {
    position: absolute;
    right: 10px;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #e8ecef;
    color: #013364;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.content-search-clear:hover {
    background: #d5dbe1;
}

.content-search.has-value .content-search-clear {
    display: inline-flex;
}

.content-search-empty {
    margin-top: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 72px;
    row-gap: 60px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 60px;
        row-gap: 52px;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        row-gap: 44px;
    }
}

.gallery-item {
    display: flex;
    flex-direction: column;
    background: transparent;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border: 2px solid #d30b0d;
    border-radius: 8px;
}

.gallery-caption {
    position: relative;
    background: #013364;
    color: #ffffff;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    padding: 10px 14px;
    border-left: 3px solid #d30b0d;
    border-right: 3px solid #d30b0d;
    border-radius: 0;
    margin-top: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

/* Blurred fade over the last line when the text overflows the fixed box. */
.gallery-caption::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36px;
    background: linear-gradient(to bottom, rgba(1, 51, 100, 0) 0%, rgba(1, 51, 100, 0.95) 100%);
    pointer-events: none;
}

/* ----- CLICKABLE GALLERY CARDS (single + bundle) ----- */
.gallery-single,
.gallery-bundle {
    cursor: pointer;
}

.gallery-single img,
.gallery-bundle .bundle-cover {
    transition: transform 0.4s ease;
}

.gallery-single:hover img,
.gallery-bundle:hover .bundle-cover {
    transform: scale(1.05);
}

/* Stacked look for bundle cover */
.bundle-stack {
    position: relative;
    margin: 0;
}

.bundle-stack .bundle-peek {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 210px;
    object-fit: cover;
    border: 2px solid #d30b0d;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    filter: none;
    transform-origin: bottom center;
    transition: transform 0.3s ease;
}

.bundle-stack .bundle-peek-1 {
    z-index: 0;
    transform: rotate(-6deg) translateX(-10px);
}

.bundle-stack .bundle-peek-2 {
    z-index: 0;
    transform: rotate(6deg) translateX(10px);
}

.gallery-bundle:hover .bundle-peek-1 {
    transform: rotate(-9deg) translateX(-16px);
}

.gallery-bundle:hover .bundle-peek-2 {
    transform: rotate(9deg) translateX(16px);
}

.bundle-stack .bundle-cover {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.gallery-bundle .gallery-caption {
    position: relative;
    z-index: 1;
    margin-top: 14px;
}

.bundle-count {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: rgba(1, 51, 100, 0.9);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(4px);
}

/* ----- GALLERY OVERLAY (bundle grid + detail lightbox) ----- */
.gallery-overlay {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    background: rgba(1, 51, 100, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transition: opacity 0.35s ease;
    overflow-y: auto;
    padding: 70px 24px 40px;
}

.gallery-overlay.open {
    display: block;
    opacity: 1;
}

.gallery-overlay-inner {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100%;
}

.gallery-overlay-close,
.gallery-overlay-back {
    position: fixed;
    top: 20px;
    z-index: 4100;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    cursor: pointer;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
    backdrop-filter: blur(6px);
}

.gallery-overlay-close { right: 24px; }
.gallery-overlay-back { left: 24px; display: none; }

.gallery-overlay-close:hover,
.gallery-overlay-back:hover {
    background: rgba(255, 255, 255, 0.28);
}

.gallery-overlay.mode-detail .gallery-overlay-back { display: inline-flex; }

/* Bundle grid inside overlay */
.gallery-overlay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.gallery-overlay.mode-detail .gallery-overlay-grid { display: none; }

.overlay-cell {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.overlay-cell.in {
    opacity: 1;
    transform: none;
}

.overlay-cell:hover {
    transform: translateY(-4px);
}

.overlay-cell img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.overlay-cell p {
    color: #f0f4f8;
    font-size: 13px;
    line-height: 1.5;
    padding: 10px 12px;
}

/* Detail view: image left, description right (glassmorphic) */
.gallery-overlay-detail {
    display: none;
    gap: 26px;
    align-items: stretch;
    animation: detailIn 0.4s ease;
}

.gallery-overlay.mode-detail .gallery-overlay-detail {
    display: flex;
}

@keyframes detailIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: none; }
}

.gallery-overlay-detail .detail-media {
    flex: 1 1 62%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.gallery-overlay-detail .detail-media img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.gallery-overlay-detail .detail-info {
    flex: 1 1 38%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 26px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gallery-overlay-detail .detail-caption {
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
}

.gallery-overlay-detail .detail-caption:empty::before {
    content: 'No description provided.';
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.detail-link { margin-top: 18px; }

.detail-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    padding: 11px 20px;
    border-radius: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.detail-link-btn:hover {
    background: #d30b0d;
    border-color: #d30b0d;
}

/* Vertical scroll stack (newspaper bundles) */
.gallery-overlay-grid.stack-mode {
    display: block;
    max-width: 820px;
    margin: 0 auto;
}

.stack-head {
    background: #013364;
    border: 2px solid #d30b0d;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 24px;
}

.stack-desc {
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 14px;
}

.stack-head .detail-link-btn { margin-top: 0; }

.stack-mode .stack-cell {
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stack-mode .stack-cell.in {
    opacity: 1;
    transform: none;
}

.stack-mode .stack-cell img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 2px solid #d30b0d;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.stack-mode .stack-cell p {
    color: #f0f4f8;
    font-size: 14px;
    line-height: 1.6;
    padding: 12px 4px 0;
}

@media (max-width: 768px) {
    .gallery-overlay-detail { flex-direction: column; }
    .gallery-overlay-detail .detail-media img { max-height: 55vh; }
}

/* ----- NEWSPAPER PAGE ----- */
.newspaper-page {
    position: relative;
    padding: 60px 0 80px;
    overflow: hidden;
}

.newspaper-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 85% 16%, rgba(1, 51, 100, 0.07) 0, rgba(1, 51, 100, 0.07) 95px, transparent 210px),
        radial-gradient(circle at 10% 30%, rgba(211, 11, 13, 0.05) 0, rgba(211, 11, 13, 0.05) 70px, transparent 170px),
        radial-gradient(circle at 20% 85%, rgba(0, 163, 0, 0.05) 0, rgba(0, 163, 0, 0.05) 100px, transparent 220px),
        radial-gradient(circle at 90% 82%, rgba(1, 51, 100, 0.06) 0, rgba(1, 51, 100, 0.06) 80px, transparent 190px);
    filter: blur(2px);
}

.newspaper-page > .container {
    position: relative;
    z-index: 1;
}

.newspaper-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 72px;
    row-gap: 60px;
    margin-top: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .newspaper-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 60px;
        row-gap: 52px;
    }
}

@media (max-width: 600px) {
    .newspaper-list {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 44px;
    }
}

.newspaper-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: transparent;
    transition: transform 0.25s ease;
}

.newspaper-card:hover {
    transform: translateY(-6px);
}

.newspaper-card .gallery-item:hover {
    transform: none;
}

.newspaper-caption {
    margin: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.newspaper-caption-card {
    margin-top: 14px;
    padding: 12px 20px;
    background: #013364;
    border-left: 3px solid #d30b0d;
    border-right: 3px solid #d30b0d;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(1, 51, 100, 0.12);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.newspaper-caption-card .newspaper-caption {
    position: relative;
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

/* When an "Open Article" button is present, show fewer lines so the box
   keeps a consistent height across the row. */
.newspaper-caption-card.has-link .newspaper-caption {
    -webkit-line-clamp: 3;
}

/* Blurred fade over the last line when the text overflows the fixed box. */
.newspaper-caption-card .newspaper-caption::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36px;
    background: linear-gradient(to bottom, rgba(1, 51, 100, 0) 0%, rgba(1, 51, 100, 0.95) 100%);
    pointer-events: none;
}

/* Newspaper clippings are often tall — scale the whole image to fit a fixed
   height so every card matches the image (gallery) card height. */
.newspaper-card .gallery-item img,
.newspaper-card .bundle-stack .bundle-cover {
    height: 220px;
    object-fit: contain;
    background: #f2f5f9;
}

.newspaper-card[dir="rtl"] .newspaper-caption {
    text-align: right;
    line-height: 1.9;
}

.newspaper-link-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    padding: 9px 20px;
    background: #d30b0d;
    color: #fff;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.newspaper-link-btn:hover {
    background: #b00a0c;
    transform: translateY(-1px);
}

.newspaper-card[dir="rtl"] .newspaper-link-btn {
    align-self: flex-end;
    flex-direction: row-reverse;
}

/* Newspaper read-more popup */
.news-modal {
    position: fixed;
    inset: 0;
    z-index: 4200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 12, 26, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-modal.open {
    display: flex;
    opacity: 1;
}

.news-modal-box {
    background: #fff;
    border: 2px solid #013364;
    border-radius: 14px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 28px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.3s ease;
}

.news-modal.open .news-modal-box {
    transform: translateY(0) scale(1);
}

.news-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 3px solid #d30b0d;
}

.news-modal-header h3 {
    font-size: 20px;
    color: #013364;
    margin: 0;
}

.news-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #013364;
    cursor: pointer;
    flex-shrink: 0;
}

.news-modal-body {
    font-size: 16px;
    line-height: 1.85;
    color: #2b2b2b;
    white-space: pre-wrap;
}

.news-modal-body.rtl {
    text-align: right;
    font-size: 18px;
    line-height: 2;
}

.news-modal-footer {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 2px solid #eef1f6;
}

/* ----- SECTION SWISH DECORATIONS ----- */
.section-swish {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.about-section .container,
.stats .container,
.results-section .container {
    position: relative;
    z-index: 1;
}

.about-section,
.stats,
.results-section {
    position: relative;
    overflow: hidden;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
    .counter-number {
        font-size: 64px;
    }
    .counter-label {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    /* Hero — keep side-by-side, shrink person & text gradually but stay readable */
    .hero-person {
        flex: 0 0 42%;
    }

    .hero-person img {
        height: clamp(360px, 80svh, 88svh);
    }

    .hero-content {
        flex: 0 0 58%;
        max-height: 100%;
        padding: clamp(24px, 4vh, 52px) clamp(20px, 3vw, 36px);
    }

    .hero-content h1 {
        font-size: clamp(32px, min(6vw, 8.5vh), 84px);
    }

    .hero-content .hero-designation {
        font-size: clamp(14px, min(2vw, 2.8vh), 20px);
        white-space: normal;
    }

    .hero-content .hero-role {
        font-size: clamp(12px, min(1.8vw, 2.4vh), 18px);
    }

    .hero-badge {
        font-size: clamp(11px, min(1.6vw, 2vh), 15px);
    }

    .hero-strip {
        white-space: normal;
        padding: 8px 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-wrapper {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-top: 18px;
        border-top: 1px solid #eee;
        margin-top: 12px;
    }

    .nav-wrapper.open {
        display: flex;
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
        gap: 6px;
    }

    .main-nav>li {
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .btn-contribute-nav {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: 20px;
        display: none;
        pointer-events: auto;
    }

    .main-nav>li.dropdown-open > .dropdown-menu {
        display: block;
    }

    .dropdown-menu .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid #013364;
        margin-top: 4px;
        margin-bottom: 4px;
        padding-left: 14px;
        min-width: 0;
        pointer-events: auto;
    }

    .dropdown-menu li {
        padding: 10px 22px;
    }

    .dropdown-menu li a {
        margin: -10px -22px;
        padding: 10px 22px;
    }

    .dropdown-menu li.dropdown-open > .dropdown-menu {
        display: block;
    }

    .dropdown-menu li.nav-dropdown > a .dropdown-arrow {
        transform: rotate(0deg);
    }

    .dropdown-menu li.nav-dropdown.dropdown-open > a .dropdown-arrow {
        transform: rotate(180deg);
    }

    .top-bar .contact-info > span {
        display: block;
        margin-right: 0;
        margin-bottom: 4px;
    }
    .top-bar .social-icons {
        margin-top: 4px;
    }

    /* Hero Section — stack: content centered top (justified), person below */
    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero-slide {
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
        padding-bottom: 0;
        overflow: hidden;
    }

    .hero .container {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
        gap: 0;
        padding: 0;
    }

    .hero-content {
        order: -1;
        flex: 0 0 auto;
        max-width: 680px;
        width: 100%;
        margin: 0 auto;
        text-align: justify;
        padding: clamp(28px, 5vh, 48px) 24px 20px;
    }

    .hero-content h1 {
        font-size: clamp(40px, 8vw, 64px);
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-title-block {
        display: block;
        width: 100%;
    }

    .hero-title-block h1 {
        font-size: clamp(40px, 8vw, 64px);
    }

    .hero-person {
        order: 2;
        flex: 1 1 auto;
        min-height: 34svh;
        width: 100%;
        align-items: flex-end;
        justify-content: center;
        margin-right: 0;
    }

    .hero-person img {
        width: auto;
        height: 100%;
        max-height: none;
        max-width: none;
        object-fit: contain;
        object-position: center bottom;
    }

    .hero-info-strips {
        align-items: stretch;
    }

    .hero-strip {
        width: 100%;
        text-align: left;
    }

    .hero-strip .hero-designation,
    .hero-strip .hero-role {
        font-size: 14px;
        white-space: normal;
    }

    .hero-strip .hero-badge {
        font-size: 12px;
        text-align: left;
    }

    .hero-strip--red {
        gap: 10px;
    }

    .hero-strip-logo {
        height: 34px;
        max-width: 90px;
    }

    .slide-2-img,
    .slide-3-img,
    .slide-4-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .slide-4-heading {
        top: 20px;
        left: 20px;
    }

    .slide-4-heading h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .hero-arrow {
        font-size: 48px;
        padding: 12px 8px;
    }

    .hero-arrow--left {
        left: 4px;
    }

    .hero-arrow--right {
        right: 4px;
    }

    /* Sections Mobile */
    .stats .container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .counter-number {
        font-size: 54px;
    }
    .counter-label {
        font-size: 16px;
    }

    .counter-figures {
        flex-direction: column;
        align-items: center;
    }
    .counter-figure {
        padding: 20px 0;
    }
    .counter-figure + .counter-figure {
        border-left: none;
        border-top: 2px solid #e5e5e5;
    }

    .goals-section {
        min-height: auto;
        padding: 40px 0;
    }

    .goals-section .container {
        flex-direction: column;
        align-items: stretch;
    }
    .video-wrapper {
        flex: none;
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-tabs {
        position: static;
    }

    .about-section .section-title {
        font-size: 28px;
    }

    .about-panel h3 {
        font-size: 22px;
    }

    .about-panel p {
        font-size: 15px;
    }

    .about-tabs button {
        font-size: 14px;
        padding: 13px 18px;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .results-section .section-title {
        font-size: 28px;
    }
    .result-figure img {
        border-radius: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-content {
        text-align: justify;
        padding: 26px 18px 16px;
    }

    .hero-person {
        flex: 1 1 auto;
        min-height: 30svh;
        align-items: flex-end;
    }

    .hero-person img {
        max-height: none;
    }

    .hero-content h1,
    .hero-title-block h1 {
        font-size: clamp(32px, 8.5vw, 44px);
    }

    .hero-info-strips {
        align-items: stretch;
    }

    .hero-strip {
        text-align: left;
    }

    .hero-strip .hero-designation,
    .hero-strip .hero-role {
        font-size: 13px;
    }

    .hero-strip .hero-badge {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .counter-number {
        font-size: 42px;
    }
    .counter-label {
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: clamp(30px, 8.5vw, 38px);
    }

    .hero-title-block h1 {
        font-size: clamp(30px, 8.5vw, 38px);
    }

    .slide-4-heading h1 {
        font-size: 36px;
    }

    .slide-4-heading {
        top: 15px;
        left: 15px;
    }

    .hero-strip .hero-designation {
        font-size: 12px;
    }

    .hero-strip .hero-role {
        font-size: 12px;
    }

    .hero-strip .hero-badge {
        font-size: 10px;
    }

    .hero-arrow {
        font-size: 36px;
        padding: 8px 6px;
    }

    .hero-person {
        min-height: 28svh;
        align-items: flex-end;
    }

    .hero-person img {
        width: auto;
        height: 100%;
        max-height: none;
        object-fit: contain;
    }

    .hero-content {
        padding: 22px 14px 14px;
    }

    .about-section .section-title {
        font-size: 24px;
    }

    .results-section .section-title {
        font-size: 24px;
    }

    .newspaper-page .section-title {
        font-size: 28px;
    }

    .top-bar .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        text-align: center;
    }

    .home-video-frame {
        border-width: 2px;
    }
}

/* ----- EVIDENCE BANNER (Homepage) ----- */
.evidence-banner {
    background: #ffffff;
    padding: 60px 0;
    position: relative;
    display: flex;
    align-items: center;
}

.evidence-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: #d30b0d;
}

.evidence-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.evidence-banner-text {
    flex: 1 1 400px;
}

.evidence-banner-text .badge {
    display: inline-block;
    background: #d30b0d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 16px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.evidence-banner-text h2 {
    font-size: 36px;
    font-weight: 900;
    color: #013364;
    line-height: 1.2;
    margin-bottom: 12px;
}

.evidence-banner-text h2 .highlight {
    color: #d30b0d;
}

.evidence-banner-text p {
    font-size: 16px;
    color: #333333;
    max-width: 560px;
    line-height: 1.7;
}

.evidence-banner-btn {
    display: inline-block;
    background: #d30b0d;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    padding: 16px 36px;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
    flex-shrink: 0;
}

.evidence-banner-btn:hover {
    background: #c30e13;
    transform: scale(1.05);
}

/* ----- EVIDENCE PAGE (Shared) ----- */
.evidence-page {
    padding-top: 0;
}

/* ----- EVIDENCE MASTHEAD ----- */
.evidence-masthead {
    background: #013364;
    color: #ffffff;
    padding: 100px 0 40px;
    border-bottom: 6px solid #d30b0d;
}

.evidence-masthead-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 14px;
    margin-bottom: 22px;
}

.evidence-tag {
    background: #d30b0d;
    color: #fff;
    padding: 4px 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.evidence-title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.04;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

.evidence-title em {
    font-style: italic;
    color: #d30b0d;
}

.evidence-dek {
    font-size: 18px;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 4px;
    line-height: 1.6;
}

.evidence-byline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 16px;
}

/* ----- EVIDENCE STAT STRIP ----- */
.evidence-stats {
    padding: 34px 0 6px;
    background: #ffffff;
}

.evidence-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #eeeeee;
    background: #ffffff;
}

.evidence-stat-cell {
    padding: 22px 20px;
    border-right: 1px solid #eeeeee;
}

.evidence-stat-cell:last-child {
    border-right: none;
}

.evidence-stat-num {
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.5px;
}

.evidence-stat-num.evidence-altered {
    color: #d30b0d;
}

.evidence-stat-num.evidence-verified {
    color: #00A300;
}

.evidence-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-top: 8px;
    font-weight: 700;
}

/* ----- EVIDENCE LEGEND ----- */
.evidence-legend {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #666;
    padding: 20px 0 4px;
}

.evidence-dot {
    width: 10px;
    height: 10px;
    border-radius: 2px;
    display: inline-block;
    margin-right: 7px;
    vertical-align: -1px;
}

.evidence-dot-original {
    background: #00A300;
}

.evidence-dot-altered {
    background: #d30b0d;
}

/* ----- EVIDENCE STATION GRID ----- */
.evidence-stations {
    padding: 26px 0 10px;
    background: #ffffff;
}

.evidence-stations-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid #013364;
    padding-bottom: 10px;
    margin-bottom: 22px;
}

.evidence-stations-head h2 {
    font-size: 24px;
    font-weight: 900;
    color: #013364;
    margin: 0;
}

.evidence-stations-head span {
    font-size: 13px;
    color: #666;
}

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

/* ----- EVIDENCE CARD ----- */
.evidence-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    padding: 16px 16px 18px;
    position: relative;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.evidence-card:hover {
    box-shadow: 0 6px 18px rgba(1, 51, 100, 0.08);
    transform: translateY(-1px);
}

.evidence-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.evidence-ps-num {
    font-size: 12px;
    color: #013364;
    font-weight: 700;
}

.evidence-ps-name {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.25;
    margin: 3px 0 2px;
    color: #013364;
}

.evidence-ps-area {
    font-size: 12px;
    color: #666;
}

.evidence-flag {
    font-size: 10px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: #fde8e8;
    color: #d30b0d;
    padding: 3px 8px;
    font-weight: 700;
    white-space: nowrap;
}

.evidence-cand-block {
    margin-top: 12px;
}

.evidence-cand-name {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #013364;
}

.evidence-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.evidence-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.evidence-bar-label {
    width: 52px;
    flex-shrink: 0;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    font-weight: 700;
}

.evidence-bar-track {
    flex: 1;
    background: #f0f0f0;
    height: 9px;
    position: relative;
    border-radius: 1px;
}

.evidence-bar-fill {
    height: 100%;
    border-radius: 1px;
}

.evidence-bar-original {
    background: #00A300;
}

.evidence-bar-altered {
    background: #d30b0d;
}

.evidence-bar-val {
    width: 38px;
    text-align: right;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: #013364;
}

.evidence-delta {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
}

.evidence-delta-up {
    color: #d30b0d;
}

.evidence-delta-down {
    color: #d30b0d;
}

.evidence-delta-flat {
    color: #666;
}

/* ----- EVIDENCE CTA ----- */
.evidence-cta {
    margin: 44px 0 60px;
    background: #013364;
    color: #ffffff;
}

.evidence-cta-inner {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 38px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.evidence-cta-text h3 {
    font-size: 24px;
    font-weight: 900;
    margin: 0 0 8px;
    color: #ffffff;
}

.evidence-cta-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    max-width: 520px;
    line-height: 1.6;
}

.evidence-btn {
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #013364;
    background: #ffffff;
    padding: 14px 24px;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 700;
    transition: background 0.15s ease, color 0.15s ease;
}

.evidence-btn:hover {
    background: #d30b0d;
    color: #ffffff;
}

/* ----- EVIDENCE GALLERY (Full Record) ----- */
.evidence-gallery-header {
    background: #013364;
    color: #ffffff;
    padding: 10px 0 8px;
    border-bottom: 4px solid #d30b0d;
    position: sticky;
    top: 0;
    z-index: 10;
}

.evidence-gallery-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.evidence-back-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.2s;
}

.evidence-back-link:hover {
    border-color: #ffffff;
}

.evidence-download-btn {
    color: #fff;
    background: #d30b0d;
    text-decoration: none;
    padding: 6px 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 11px;
    text-transform: uppercase;
    transition: background 0.15s;
}

.evidence-download-btn:hover {
    background: #c30e13;
}

.evidence-gallery-title {
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 4px;
    letter-spacing: -0.3px;
}

.evidence-gallery-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    line-height: 1.4;
}

.evidence-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.evidence-jump a {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    font-weight: 700;
    transition: border-color 0.2s, color 0.2s;
}

.evidence-jump a:hover {
    border-color: #d30b0d;
    color: #ffffff;
}

.evidence-gallery-main {
    padding: 36px 0 80px;
    background: #ffffff;
}

.evidence-entry {
    margin-bottom: 56px;
    scroll-margin-top: 100px;
}

.evidence-entry-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}

.evidence-entry-left {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.evidence-page-num {
    color: #013364;
    font-size: 12px;
    font-weight: 700;
}

.evidence-entry-title {
    font-weight: 900;
    font-size: 19px;
    color: #013364;
}

.evidence-entry-meta {
    font-size: 12px;
    color: #666;
}

.evidence-entry-tally {
    font-size: 13px;
    color: #d30b0d;
    font-weight: 700;
    margin-bottom: 12px;
}

.evidence-scan-frame {
    border: 1px solid #eeeeee;
    background: #ffffff;
    padding: 6px;
}

.evidence-scan-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* ----- EVIDENCE RESPONSIVE ----- */
@media (max-width: 900px) {
    .evidence-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .evidence-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .evidence-stat-cell:nth-child(2) {
        border-right: none;
    }

    .evidence-masthead {
        padding: 80px 0 30px;
    }

    .evidence-gallery-header {
        padding: 80px 0 20px;
    }

    .evidence-banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .evidence-banner-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .evidence-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .evidence-cta-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 600px) {
    .evidence-grid {
        grid-template-columns: 1fr;
    }

    .evidence-masthead-top {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .evidence-gallery-nav {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .evidence-entry-head {
        flex-direction: column;
    }
}
