/**
 * Sections - Mobile First Design
 * Each section has a distinct visual identity
 *
 * @package Rhymefest
 * @version 3.0.0
 */

/* ============================================
   SECTIONS BASE (Mobile First)
   ============================================ */
.section {
    padding: 60px 0;
}

/* ============================================
   CHICAGO SKYLINE DIVIDER — Section Transitions
   ============================================ */
.skyline-divider {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 140px;
    z-index: 2;
    line-height: 0;
    font-size: 0;
    pointer-events: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.skyline-divider--top {
    top: -1px;
}

.skyline-divider svg {
    display: block;
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}

@media (min-width: 576px) {
    .skyline-divider {
        height: 180px;
    }
}

@media (min-width: 768px) {
    .skyline-divider {
        height: 240px;
    }
}

@media (min-width: 1200px) {
    .skyline-divider {
        height: 300px;
    }
}

.has-skyline-below {
    padding-bottom: 160px !important;
}
@media (min-width: 576px) {
    .has-skyline-below {
        padding-bottom: 200px !important;
    }
}
@media (min-width: 768px) {
    .has-skyline-below {
        padding-bottom: 260px !important;
    }
}
@media (min-width: 1200px) {
    .has-skyline-below {
        padding-bottom: 320px !important;
    }
}

.section-header {
    text-align: center;
    margin: 0 auto 2.5rem;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.875rem;
    color: var(--color-dark-blue);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-gray-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-footer {
    text-align: center;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   STATS BAND (Present & Accountable)
   ============================================ */
.stats-band-section {
    background: linear-gradient(180deg, #eaf3f9 0%, #f5f8fb 100%);
    padding: 3rem 0;
    position: relative;
}

.stats-band-header {
    text-align: center;
    margin-bottom: 2rem;
}

.stats-band-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

.stats-band-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.stats-band-card {
    background: var(--color-white);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(56, 81, 100, 0.1);
    border: 1px solid rgba(76, 185, 221, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
}

.stats-band-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue), rgba(76, 185, 221, 0.5));
    border-radius: 12px 12px 0 0;
}

.stats-band-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(56, 81, 100, 0.16);
}

.stats-band-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(76, 185, 221, 0.12) 0%, rgba(56, 81, 100, 0.08) 100%);
    color: var(--color-blue);
    margin-bottom: 1rem;
}

.stats-band-icon svg {
    width: 28px;
    height: 28px;
}

.stats-band-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-blue);
    background: linear-gradient(135deg, var(--color-blue) 0%, var(--color-dark-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

@supports not (background-clip: text) {
    .stats-band-number {
        background: none;
        -webkit-text-fill-color: var(--color-blue);
    }
}

.stats-band-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
}

.stats-band-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-blue), rgba(76, 185, 221, 0.3));
    margin: 0 auto 0.75rem;
    border-radius: 2px;
}

.stats-band-caption {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.5;
}

.stats-band-cta {
    text-align: center;
    margin-top: 2rem;
}

.stats-band-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-band-cta .btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.stats-band-cta .btn:hover svg {
    transform: translateX(3px);
}

@media (min-width: 576px) {
    .stats-band-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .stats-band-title {
        font-size: 1.5rem;
    }

    .stats-band-number {
        font-size: 3.5rem;
    }
}

@media (min-width: 768px) {
    .stats-band-section {
        padding: 4rem 0;
    }

    .stats-band-title {
        font-size: 1.625rem;
    }

    .stats-band-card {
        padding: 2rem 1.75rem;
    }

    .stats-band-number {
        font-size: 4rem;
    }

    .stats-band-label {
        font-size: 1.0625rem;
    }

    .stats-band-icon {
        width: 64px;
        height: 64px;
    }

    .stats-band-icon svg {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   BOARDROOM TO THE BLOCK (Story Block)
   ============================================ */
.boardroom-section {
    background: var(--color-white);
    padding: 3.5rem 0;
    position: relative;
}

.boardroom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.boardroom-heading {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-dark-blue);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.boardroom-subheading {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-blue);
    line-height: 1.4;
    margin-bottom: 1.25rem;
}

.boardroom-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-dark-blue);
    margin-bottom: 2rem;
}

.boardroom-subsection {
    margin-bottom: 2rem;
}

.boardroom-subsection-heading {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 0.75rem;
    padding-left: 0.75rem;
    position: relative;
}

.boardroom-subsection-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 3px;
    background: var(--color-blue);
    border-radius: 3px;
}

.boardroom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.boardroom-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4a5568;
}

.boardroom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-blue);
    opacity: 0.7;
}

.boardroom-list li strong {
    color: var(--color-dark-blue);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.boardroom-pullquote {
    margin: 2rem 0 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(76, 185, 221, 0.06) 0%, rgba(56, 81, 100, 0.04) 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.boardroom-pullquote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-blue), var(--color-dark-blue));
    border-radius: 4px 0 0 4px;
}

.boardroom-pullquote p {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    color: var(--color-dark-blue);
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.boardroom-pullquote cite {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-style: normal;
    font-weight: 600;
    color: var(--color-blue);
}

.boardroom-visual-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.from-boardroom-visual {
    width: 100%;
    min-height: 300px;
    border-radius: 16px;
    background: linear-gradient(135deg, #eaf3f9 0%, #f0f6fa 50%, #e8f0f5 100%);
    border: 1px dashed rgba(76, 185, 221, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 6rem;
}

.boardroom-visual-placeholder {
    text-align: center;
    color: rgba(56, 81, 100, 0.35);
}

.boardroom-visual-placeholder svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.boardroom-visual-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 576px) {
    .boardroom-heading {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .boardroom-section {
        padding: 5rem 0;
    }

    .boardroom-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    .boardroom-heading {
        font-size: 2.25rem;
    }

    .boardroom-subheading {
        font-size: 1.1875rem;
    }

    .boardroom-pullquote p {
        font-size: 1.375rem;
    }

    .from-boardroom-visual {
        min-height: 500px;
    }
}

/* ============================================
   IMPACT SECTION (What Showing Up Has Meant)
   ============================================ */
.impact-section {
    background: linear-gradient(180deg, #f5f8fb 0%, #eaf3f9 40%, #f0f6fa 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.impact-container {
    position: relative;
}

.impact-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.impact-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-dark-blue);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.impact-subtitle {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    color: var(--color-blue);
    font-weight: 500;
    line-height: 1.4;
}

/* Timeline container */
.impact-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}

/* Vertical center line */
.impact-timeline-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(76, 185, 221, 0.15);
    border-radius: 3px;
}

.impact-timeline-line-fill {
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, var(--color-blue), var(--color-dark-blue));
    border-radius: 3px;
    transition: height 0.1s linear;
}

/* Individual step */
.impact-step {
    position: relative;
    padding: 0 0 2.5rem 56px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.impact-step:last-child {
    padding-bottom: 0;
}

.impact-step.impact-step-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Numbered connector circle */
.impact-step-connector {
    position: absolute;
    left: 6px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid rgba(76, 185, 221, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.impact-step.impact-step-active .impact-step-connector {
    border-color: var(--color-blue);
    background: var(--color-blue);
    box-shadow: 0 0 0 6px rgba(76, 185, 221, 0.15);
}

.impact-step-number {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 800;
    color: var(--color-dark-blue);
    line-height: 1;
    transition: color 0.3s ease;
}

.impact-step.impact-step-active .impact-step-number {
    color: var(--color-white);
}

/* Content block */
.impact-step-content {
    background: var(--color-white);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 12px rgba(56, 81, 100, 0.07);
    border: 1px solid rgba(76, 185, 221, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.impact-step.impact-step-active .impact-step-content {
    box-shadow: 0 6px 24px rgba(56, 81, 100, 0.14);
    border-color: rgba(76, 185, 221, 0.3);
}

.impact-step:focus-visible .impact-step-content {
    box-shadow: 0 0 0 3px rgba(76, 185, 221, 0.4);
    border-color: var(--color-blue);
}

.impact-step:focus {
    outline: none;
}

.impact-step-title {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

.impact-step-body {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4a5568;
}

/* Tablet+ responsive */
@media (min-width: 576px) {
    .impact-title {
        font-size: 2rem;
    }

    .impact-step-connector {
        width: 36px;
        height: 36px;
    }

    .impact-step-number {
        font-size: 0.875rem;
    }
}

/* Desktop: alternating left/right */
@media (min-width: 768px) {
    .impact-section {
        padding: 5rem 0;
    }

    .impact-header {
        margin-bottom: 3rem;
    }

    .impact-title {
        font-size: 2.25rem;
    }

    .impact-subtitle {
        font-size: 1.125rem;
    }

    .impact-timeline {
        max-width: 900px;
        padding: 1.5rem 0 3rem;
    }

    .impact-timeline-line {
        left: 50%;
        transform: translateX(-50%);
    }

    .impact-step {
        width: 50%;
        padding-bottom: 3rem;
    }

    .impact-step-left {
        padding-left: 0;
        padding-right: 48px;
        text-align: right;
    }

    .impact-step-left .impact-step-connector {
        left: auto;
        right: -18px;
    }

    .impact-step-right {
        margin-left: 50%;
        padding-left: 48px;
        padding-right: 0;
        text-align: left;
    }

    .impact-step-right .impact-step-connector {
        left: -18px;
    }

    .impact-step-connector {
        width: 38px;
        height: 38px;
    }

    .impact-step-number {
        font-size: 0.9375rem;
    }

    .impact-step-content {
        padding: 1.5rem 1.75rem;
    }

    .impact-step-title {
        font-size: 1.125rem;
    }
}

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

    .impact-timeline-line-fill {
        height: 100% !important;
        transition: none;
    }
}

/* ============================================
   1. HERO SECTION
   Full-screen impact with bold gradient
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, var(--color-dark-blue) 0%, var(--color-dark-blue-deeper) 50%, var(--color-dark-blue-darkest) 100%);
    padding: 100px 0 60px;
    overflow: hidden;
}

/* Approach 2: Bold & Energetic - Animated gradient overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(76, 185, 221, 0.25) 0%, transparent 40%),
        linear-gradient(225deg, rgba(241, 93, 94, 0.2) 0%, transparent 40%);
    animation: gradient-shift 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, transparent 20%, rgba(56, 81, 100, 0.5) 100%);
    animation: pulse-vignette 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradient-shift {
    0%, 100% { 
        opacity: 1;
        filter: hue-rotate(0deg);
    }
    50% { 
        opacity: 0.6;
        filter: hue-rotate(10deg);
    }
}

@keyframes pulse-vignette {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.02); }
}


.hero-section > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    order: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(76, 185, 221, 0.2);
    border: 1px solid rgba(76, 185, 221, 0.4);
    border-radius: 50px;
    color: var(--color-blue);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 2.25rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-title span {
    color: var(--color-blue);
    display: block;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.75rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.hero-buttons .btn {
    width: 100%;
    justify-content: center;
}

.hero-image {
    order: 1;
    width: 100%;
    max-width: 280px;
    position: relative;
}

/* Hero image glow removed - was causing visual artifacts */

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    animation: hero-entrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-entrance {
    0% { 
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    100% { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ============================================
   2. ABOUT SECTION
   Clean white with blue accent stripe
   ============================================ */
.about-section {
    background-color: var(--color-white);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--color-blue), var(--color-dark-blue));
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-grid.no-image {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-grid.no-image .section-badge {
    margin-left: auto;
    margin-right: auto;
}

.about-grid.no-image .btn {
    margin-left: auto;
    margin-right: auto;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(56, 81, 100, 0.5), transparent);
    pointer-events: none;
}

.about-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-dark-blue);
}

.about-content p {
    font-size: 1rem;
    color: var(--color-gray);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-off-white);
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-blue);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* ============================================
   3. ISSUES SECTION
   Dark blue with floating white cards
   ============================================ */
.issues-section {
    background:
        linear-gradient(180deg, var(--color-dark-blue) 0%, var(--color-dark-blue) 200px, transparent 320px),
        linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-dark-blue-deeper) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 180px;
    margin-top: -1px;
}
@media (min-width: 576px) {
    .issues-section { padding-top: 220px; }
}
@media (min-width: 768px) {
    .issues-section { padding-top: 280px; }
}
@media (min-width: 1200px) {
    .issues-section { padding-top: 340px; }
}

.issues-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.issues-section .section-header {
    position: relative;
    z-index: 1;
}

.issues-section .section-badge {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-blue);
}

.issues-section .section-title {
    color: var(--color-white);
}

.issues-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.issues-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.issue-card {
    background-color: var(--color-white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Overlapping card effect on larger screens */
@media (min-width: 768px) {
    .issues-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .issue-card:nth-child(even) {
        transform: translateY(20px);
    }
    
    .issue-card:nth-child(even):hover {
        transform: translateY(15px);
    }
}

@media (min-width: 1024px) {
    .issues-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .issue-card:nth-child(3n+2) {
        transform: translateY(30px);
    }
    
    .issue-card:nth-child(3n+2):hover {
        transform: translateY(25px);
    }
}

.issue-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-blue), var(--color-red));
}

.issue-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.issue-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-blue), var(--color-dark-blue));
    border-radius: 14px;
    margin-bottom: 1.25rem;
}

.issue-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--color-white);
}

.issue-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
    color: var(--color-dark-blue);
}

.issue-card p {
    color: var(--color-gray);
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.issue-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-blue);
    transition: gap var(--transition-fast);
}

.issue-link:hover {
    gap: 0.75rem;
}

/* ============================================
   4. ENDORSEMENTS SECTION
   Light theme with campaign color accents
   ============================================ */
.endorsements-section {
    background: linear-gradient(180deg, var(--color-off-white) 0%, var(--color-white) 100%);
    position: relative;
    overflow: hidden;
}


.endorsements-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 185, 221, 0.08), transparent 70%);
    pointer-events: none;
}

.endorsements-section .section-badge {
    background-color: rgba(76, 185, 221, 0.1);
    color: var(--color-blue);
    border: 1px solid rgba(76, 185, 221, 0.2);
}

.endorsements-section .section-title {
    color: var(--color-dark-blue);
}

.endorsements-section .section-subtitle {
    color: var(--color-gray);
}

.endorsements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.endorsement-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 4;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 30px rgba(56, 81, 100, 0.15);
    border: 3px solid rgba(76, 185, 221, 0.4);
}

/* Approach 2: Bold & Energetic - More dramatic card hover */
.endorsement-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 70px rgba(56, 81, 100, 0.35), 0 0 0 3px rgba(76, 185, 221, 0.7);
    border-color: rgba(76, 185, 221, 1);
}

.endorsement-card .endorsement-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform var(--transition-normal);
}

.endorsement-card:hover .endorsement-image {
    transform: scale(1.12);
    filter: brightness(1.1) saturate(1.1);
}

.endorsement-card .endorsement-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.25rem 1.25rem;
    background: linear-gradient(to top, rgba(56, 81, 100, 0.95) 0%, rgba(56, 81, 100, 0.8) 40%, transparent 100%);
    text-align: center;
}

.endorsement-card .endorsement-initials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #2a3f4d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.endorsement-card .endorsement-initials-bg .endorsement-initials {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

/* Staggered layout for endorsement cards */
@media (min-width: 768px) {
    .endorsements-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    
    .endorsement-card:nth-child(3n+2) {
        transform: translateY(15px);
    }
    
    .endorsement-card:nth-child(3n+2):hover {
        transform: translateY(11px);
    }
}

@media (min-width: 1024px) {
    .endorsements-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.25rem;
    }
    
    .endorsement-card:nth-child(6n+2),
    .endorsement-card:nth-child(6n+4),
    .endorsement-card:nth-child(6n+6) {
        transform: translateY(15px);
    }
    
    .endorsement-card:nth-child(4n+2):hover,
    .endorsement-card:nth-child(4n+4):hover {
        transform: translateY(16px);
    }
}

.endorsement-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.375rem;
    font-family: var(--font-primary);
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.endorsement-title {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.endorsement-category {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background-color: var(--color-blue);
    color: var(--color-white);
    border-radius: 50px;
    font-size: 0.625rem;
    font-weight: 700;
    margin-top: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.endorsement-category.category-labor-union {
    background-color: var(--color-red);
    color: var(--color-white);
}

.endorsement-category.category-elected-official {
    background-color: var(--color-blue);
}

.endorsement-category.category-community-member {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
}

.endorsement-category.category-organization {
    background-color: var(--color-blue-dark);
    color: var(--color-white);
}

/* Endorsement Groups - Category-based grouping */
.endorsement-group {
    margin-bottom: 3rem;
}

.endorsement-group:last-child {
    margin-bottom: 0;
}

.endorsement-group-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark-blue);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-blue);
    text-transform: capitalize;
}

.endorsements-section .endorsement-group-title {
    color: var(--color-white);
    border-bottom-color: rgba(76, 185, 221, 0.5);
}

.endorsements-grid-archive {
    background: transparent !important;
}

.endorsement-quote {
    font-style: italic;
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-top: 0.75rem;
    padding: 0;
    border: none;
}

.no-endorsements {
    text-align: center;
    color: var(--color-gray);
    padding: 2rem;
}

.endorsements-archive .page-header {
    padding: 140px 0 90px;
}
@media (min-width: 768px) {
    .endorsements-archive .page-header {
        padding: 140px 0 140px;
    }
}
@media (min-width: 1024px) {
    .endorsements-archive .page-header {
        padding: 150px 0 180px;
    }
}

.endorsements-content {
    padding: 3rem 0;
}

/* ============================================
   5. EVENTS SECTION
   Energizing gradient with red accent
   ============================================ */
.events-section {
    background:
        linear-gradient(180deg, var(--color-dark-blue) 0%, var(--color-dark-blue) 200px, transparent 320px),
        linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-dark-blue-deeper) 50%, var(--color-dark-blue-darkest) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 180px;
    margin-top: -1px;
}
@media (min-width: 576px) {
    .events-section { padding-top: 220px; }
}
@media (min-width: 768px) {
    .events-section { padding-top: 280px; }
}
@media (min-width: 1200px) {
    .events-section { padding-top: 340px; }
}

.events-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(241, 93, 94, 0.2), transparent 70%);
    pointer-events: none;
}

.events-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 185, 221, 0.15), transparent 70%);
    pointer-events: none;
}

.events-section .section-title {
    color: var(--color-white);
}

.events-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.events-section .section-badge {
    background-color: rgba(241, 93, 94, 0.2);
    color: var(--color-red);
    border: 1px solid rgba(241, 93, 94, 0.3);
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    display: flex;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
    border: none;
}

.event-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateX(5px) translateY(-2px);
}

.event-date-box {
    min-width: 80px;
    background: linear-gradient(180deg, var(--color-red), var(--color-red-dark));
    color: var(--color-white);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.event-month {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.event-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-heading);
}

.event-content {
    padding: 1rem 1.25rem;
    flex: 1;
}

.event-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.375rem;
    color: var(--color-dark-blue);
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-gray);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-card p {
    color: var(--color-gray);
    font-size: 0.875rem;
    margin-bottom: 0;
    line-height: 1.5;
}

/* ============================================
   6. NEWS/PRESS SECTION
   Clean white editorial style
   ============================================ */
.news-section,
.press-section {
    background: linear-gradient(180deg, #f8f9fa 0%, var(--color-white) 100%);
    position: relative;
}

.news-section .section-badge,
.press-section .section-badge {
    background-color: rgba(56, 81, 100, 0.1);
    color: var(--color-dark-blue);
}

/* Magazine-style masonry grid */
.news-grid,
.press-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .press-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(180px, auto);
    }
    
    /* Featured article spans 2 columns */
    .press-card.press-card-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (min-width: 1024px) {
    .press-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(200px, auto);
        gap: 1.5rem;
    }
    
    /* Featured spans 2 columns on desktop */
    .press-card.press-card-featured {
        grid-column: span 2;
    }
    
    /* Alternating card sizes for visual interest */
    .press-card:nth-child(4) {
        grid-row: span 1;
    }
}

.news-card,
.press-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(56, 81, 100, 0.08);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, var(--color-blue), var(--color-red)) 1;
    position: relative;
}

.news-card:hover,
.press-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(56, 81, 100, 0.15);
    border-color: rgba(76, 185, 221, 0.3);
}

.news-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: var(--color-dark-blue);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.25rem;
}

.news-source {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.news-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
    color: var(--color-dark-blue);
}

.news-date {
    font-size: 0.8125rem;
    color: var(--color-gray);
}

.press-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.press-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-off-white);
    min-height: 60px;
    display: flex;
    align-items: center;
}

.press-logo {
    max-width: 140px;
    height: 32px;
    display: flex;
    align-items: center;
}

.press-logo img {
    max-width: 100%;
    max-height: 32px;
    object-fit: contain;
}

.press-logo-text {
    background-color: var(--color-dark-blue);
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
}

.press-logo-text span {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.8125rem;
}

.press-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.press-content h3 {
    font-size: 1.0625rem;
    line-height: 1.35;
    margin-bottom: 0.625rem;
    color: var(--color-dark-blue);
    transition: color var(--transition-fast);
}

.press-card:hover .press-content h3 {
    color: var(--color-blue);
}

/* Featured article styling */
.press-card-featured .press-content h3 {
    font-size: 1.375rem;
    line-height: 1.3;
}

.press-card-featured .press-excerpt {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.press-card-featured .press-logo {
    max-width: 180px;
    height: 40px;
}

.press-card-featured .press-logo img {
    max-height: 40px;
}

.press-card-featured .press-header {
    padding: 1.25rem 1.5rem;
    min-height: 70px;
}

.press-card-featured .press-content {
    padding: 1.5rem;
}

.press-excerpt {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.press-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-off-white);
}

.press-source {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--color-blue);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.press-date {
    font-size: 0.75rem;
    color: var(--color-gray);
}

.press-arrow {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    color: var(--color-gray);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.press-card:hover .press-arrow {
    opacity: 1;
    color: var(--color-blue);
}

/* ============================================
   6.5. DISTRICT MAP SECTION
   Clean white section with embedded map
   ============================================ */
.district-section {
    background-color: var(--color-white);
    position: relative;
}

.district-section .section-badge {
    background-color: rgba(76, 185, 221, 0.15);
    color: var(--color-blue);
}

.district-map-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .district-map-container {
        grid-template-columns: 2fr 1fr;
        gap: 2.5rem;
        align-items: start;
    }
}

.district-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(56, 81, 100, 0.15);
    border: 3px solid rgba(76, 185, 221, 0.3);
    background-color: var(--color-dark-blue);
}

.district-map-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 400px;
}

@media (min-width: 768px) {
    .district-map-wrapper iframe {
        min-height: 480px;
    }
}

.district-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.district-info-card {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #2a3f4d 100%);
    border-radius: 16px;
    padding: 2rem;
    color: var(--color-white);
    box-shadow: 0 8px 30px rgba(56, 81, 100, 0.2);
}

.district-icon {
    width: 56px;
    height: 56px;
    background: rgba(76, 185, 221, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-blue);
}

.district-icon svg {
    width: 28px;
    height: 28px;
}

.district-info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-white);
}

.district-info-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* ============================================
   7. BLOG SECTION
   Dark theme for contrast and visual rhythm
   ============================================ */
.blog-section {
    background: linear-gradient(180deg, var(--color-dark-blue-deeper) 0%, var(--color-dark-blue-darkest) 100%);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(76, 185, 221, 0.12), transparent 70%);
    pointer-events: none;
}

.blog-section .section-title {
    color: var(--color-white);
}

.blog-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.blog-section .section-badge {
    background-color: rgba(76, 185, 221, 0.2);
    color: var(--color-blue);
    border: 1px solid rgba(76, 185, 221, 0.3);
}

.site-main:not(.front-page) > .section:first-child {
    padding-top: 120px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.blog-card {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    transition: all var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.blog-image {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.25rem;
}

.blog-date {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.125rem;
    line-height: 1.35;
    margin-bottom: 0.625rem;
    color: var(--color-dark-blue);
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.blog-card h3 a:hover {
    color: var(--color-blue);
}

.blog-card p {
    font-size: 0.9375rem;
    color: var(--color-gray);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-blue);
    text-decoration: none;
    transition: gap var(--transition-fast);
}

.blog-read-more:hover {
    gap: 0.75rem;
}


/* News Article Card Header */
.blog-card-header {
    display: block;
    text-decoration: none;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.blog-card-header img:not(.publication-banner-logo) {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.publication-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #1e2d3a 100%);
    min-height: 160px;
}

.publication-banner-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

.publication-banner-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
}

.blog-card h3 a {
    text-decoration: none;
}

.blog-card h3 a:hover {
    text-decoration: underline;
}
.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--color-gray);
}

/* ============================================
   8. SOCIAL MEDIA SECTION
   Light theme with subtle blue accent
   ============================================ */
.social-section {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-off-white) 100%);
    position: relative;
    overflow: hidden;
}


.social-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(76, 185, 221, 0.08), transparent 60%);
    pointer-events: none;
}

.social-section .section-title {
    color: var(--color-dark-blue);
}

.social-section .section-subtitle {
    color: var(--color-gray);
}

.social-badge {
    background-color: rgba(241, 93, 94, 0.1);
    color: var(--color-red);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.social-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.social-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 0.875rem;
    transition: transform var(--transition-normal);
}

.social-facebook .social-icon {
    background-color: var(--color-blue);
    color: white;
}

.social-twitter .social-icon {
    background-color: var(--color-dark-blue);
    color: white;
}

.social-instagram .social-icon {
    background: linear-gradient(135deg, var(--color-red), var(--color-blue));
    color: white;
}

.social-youtube .social-icon {
    background-color: var(--color-red);
    color: white;
}

.social-tiktok .social-icon {
    background-color: var(--color-dark-blue);
    color: white;
}

.social-name {
    font-weight: 600;
    color: var(--color-dark-blue);
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
}

.social-cta {
    font-size: 0.75rem;
    color: var(--color-gray);
}

.social-card:hover .social-name {
    color: var(--color-blue);
}

.social-card:hover .social-icon {
    transform: scale(1.1);
}

.social-embed-wrapper {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.social-embed-container {
    max-width: 100%;
    width: 100%;
    background: var(--color-white);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

/* Elfsight widget styling */
.social-embed-container [class^="elfsight-app-"] {
    min-height: 380px;
}

.social-embed-container iframe {
    max-width: 100%;
    border-radius: 8px;
}

.follow-iframe-wrapper {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.follow-iframe-container {
    max-width: 100%;
    width: 100%;
    background: var(--color-white);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.follow-iframe-container iframe {
    max-width: 100%;
    width: 100%;
    border-radius: 8px;
    border: none;
}

/* ============================================
   9. MERCHANDISE SECTION
   Side-by-side layout with gradient and accent image
   ============================================ */
.merchandise-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.merch-layout {
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

/* Image on right (default) */
.merchandise-section.image-right .merch-layout {
    flex-direction: column;
}

/* Image on left */
.merchandise-section.image-left .merch-layout {
    flex-direction: column-reverse;
}

/* Content Side */
.merch-content-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
}

.merch-content-side::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1), transparent 60%);
    pointer-events: none;
}

.merch-content-inner {
    max-width: 500px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.merch-content-inner h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.merch-content-inner p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.merch-content-inner .btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-white);
    color: var(--color-dark-blue);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.merch-content-inner .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Image Side */
.merch-image-side {
    flex: 0 0 auto;
    background: var(--color-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.merch-image-wrapper {
    width: 100%;
    height: 100%;
}

.merch-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop: Side by side layout */
@media (min-width: 768px) {
    .merch-layout {
        flex-direction: row;
        min-height: 450px;
    }
    
    .merchandise-section.image-right .merch-layout {
        flex-direction: row;
    }
    
    .merchandise-section.image-left .merch-layout {
        flex-direction: row-reverse;
    }
    
    .merch-content-side {
        flex: 1 1 55%;
        padding: 80px 60px;
    }
    
    .merch-content-inner {
        text-align: left;
    }
    
    .merch-content-inner h2 {
        font-size: 2.25rem;
    }
    
    .merch-image-side {
        flex: 1 1 45%;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .merch-content-side {
        padding: 100px 80px;
    }
    
    .merch-content-inner h2 {
        font-size: 2.5rem;
    }
}

/* ============================================
   10. CTA SECTION
   Bold red gradient
   ============================================ */
.cta-section {
    background: linear-gradient(180deg, var(--color-red) 0%, var(--color-red) 220px, var(--color-red-dark) 100%);
    padding: 180px 0 60px;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    margin-top: -1px;
}
@media (min-width: 576px) {
    .cta-section { padding-top: 220px; }
}
@media (min-width: 768px) {
    .cta-section { padding-top: 280px; }
}
@media (min-width: 1200px) {
    .cta-section { padding-top: 340px; }
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 1.75rem;
    color: var(--color-white);
    margin-bottom: 0.875rem;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.0625rem;
    opacity: 0.9;
    margin-bottom: 1.75rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    align-items: center;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* ============================================
   11. VIDEO GALLERY SECTION
   Dark theme for video content
   ============================================ */
.video-gallery-section {
    background: linear-gradient(135deg, var(--color-dark-blue-darkest) 0%, var(--color-dark-blue) 100%);
    color: var(--color-white);
}

.video-gallery-section .section-title,
.video-gallery-section .section-subtitle {
    color: var(--color-white);
}

.video-gallery-section .section-subtitle {
    opacity: 0.85;
}

.video-badge {
    background: rgba(76, 185, 221, 0.2);
    color: var(--color-blue);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1rem 1.25rem;
}

.video-info h3 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.video-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

/* Video Showcase Layout (Featured + Thumbnails) */
.video-showcase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.video-featured {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-featured .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-featured .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-featured .video-info {
    padding: 1.25rem 1.5rem;
}

.video-featured .video-info h3 {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.video-featured .video-info p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
}

/* Video Thumbnails Grid */
.video-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.video-thumb {
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.video-thumb:hover {
    transform: translateY(-3px);
}

.thumb-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.video-thumb:hover .thumb-image img {
    transform: scale(1.05);
}

.thumb-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(76, 185, 221, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    opacity: 0.9;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.video-thumb:hover .thumb-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.thumb-play-icon svg {
    width: 18px;
    height: 18px;
    margin-left: 2px;
}

.thumb-title {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.3;
}

/* ============================================
   12. IMAGE GALLERY SECTION
   Clean white for contrast with dark video section
   ============================================ */
.image-gallery-section {
    background: var(--color-white);
    position: relative;
}

.gallery-badge {
    background: rgba(76, 185, 221, 0.15);
    color: var(--color-blue);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.gallery-cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-cols-3 { grid-template-columns: repeat(2, 1fr); }
.gallery-cols-4 { grid-template-columns: repeat(2, 1fr); }
.gallery-cols-6 { grid-template-columns: repeat(2, 1fr); }

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(76, 185, 221, 0.7) 0%, rgba(56, 81, 100, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay svg {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay svg {
    transform: scale(1);
}

.gallery-item-overlay svg {
    color: var(--color-white);
    width: 32px;
    height: 32px;
}

/* ============================================
   13. LIGHTBOX
   Full-screen image viewer
   ============================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--color-white);
    text-align: center;
}

.lightbox-caption h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.lightbox-caption p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

/* ============================================
   UTILITY CLASSES
   Replacing inline styles for maintainability
   ============================================ */
.section-relative {
    position: relative;
}

.section-overflow-visible {
    overflow: visible;
}

.section-mt-2 {
    margin-top: 2rem;
}

.endorsement-initials {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark-blue);
}

.endorsement-badge-light {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-blue);
}

/* Events page header - center on face */
.post-type-archive-event .page-header-bg {
    background-position: center 8% !important;
}

/* Inner pages: reduce CTA section top padding (large padding only needed for homepage overlap effect) */
body:not(.home) .cta-section {
    padding-top: 60px !important;
}


/* ============================================
   INSTAGRAM FEED SECTION
   ============================================ */
.instagram-feed-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    overflow: hidden;
}

.instagram-feed-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.instagram-feed-section .section-title {
    color: var(--color-dark);
}

.instagram-feed-section .elfsight-app-f8386dad-240c-4a42-bee6-28a739a6685e {
    max-width: 100%;
    overflow: hidden;
}

/* static-build fix: loose dividers flow in place instead of covering the hero */
.site-main > .skyline-divider { position: static !important; top: auto !important; }
/* heroless single templates: clear the fixed transparent header */
.single-post .site-main > article, .single-news_article .site-main > article,
.single-campaign_video .site-main > article, .single-gallery_image .site-main > article,
.single-merchandise .site-main > article { padding-top: 130px; }
/* single-issue "Other Issues": center the two remaining cards */
.single-issue .issues-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 360px)); justify-content: center; }
/* The per-page inline "rhymefest-dynamic-sections" block paints stepped section
   gradients (solid -> 100px band -> flat) with !important, which shows as banding
   under the skyline dividers. section.* beats its .cta-section specificity. */
section.cta-section { background: linear-gradient(180deg, #f15d5e 0%, #f15d5e 45%, #d94a4b 100%) !important; }
section.issues-section { background: linear-gradient(180deg, #385164 0%, #385164 45%, #2a3f4f 100%) !important; }
section.events-section { background: linear-gradient(180deg, #385164 0%, #385164 45%, #1e2d3a 100%) !important; }
/* Page headers: center title block horizontally + vertically, consistent height */
.page-header { display: flex; align-items: center; justify-content: center;
  min-height: 420px; padding: 110px 0 50px !important; }
.page-header .container { width: 100%; text-align: center; }
@media (max-width: 768px) { .page-header { min-height: 330px; padding: 100px 0 40px !important; }
  .page-header-has-bg .page-header-bg, .page-header-has-bg .page-header-bg-overlay { top: 92px !important; } }
/* the fixed white header covers the hero top — start the photo below it */
@media (min-width: 769px) { .page-header-has-bg .page-header-bg, .page-header-has-bg .page-header-bg-overlay { top: 112px !important; } }
/* Compact, logo-first footer: white chip behind the logo (its navy text was
   invisible on the navy footer), columns collapsed into centered link rows */
.site-footer { padding: 3rem 0 1.25rem !important; }
.footer-logo-centered { margin-bottom: 1.1rem !important; }
.footer-logo-centered .custom-logo-link { display: inline-block; background: #fff;
  border-radius: 14px; padding: 12px 22px; line-height: 0; }
.footer-logo-centered img { width: 190px; max-width: 190px !important; height: auto; }
.footer-tagline { margin: 0 auto 1.1rem !important; max-width: none !important; }
.site-footer .social-links { margin-bottom: 1.4rem !important; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.5rem 1.75rem; padding: 1.1rem 0 0; }
.footer-nav a { color: rgba(255,255,255,0.85); font-size: 0.95rem; text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-nav-cta { border-top: 0; padding: 0.4rem 0 1rem; }
.footer-nav-cta a { color: var(--color-blue, #4cb9dd); font-weight: 600; }
.footer-bottom { margin-top: 0.5rem !important; padding-top: 1rem !important; }
/* Subpage CTAs are compact bands (body:not(.home) forces 60px padding) but the
   theme still emits the 300px skyline divider inside them, burying the heading
   and buttons underneath. Skyline stays homepage-only. */
body:not(.home) .cta-section .skyline-divider { display: none !important; }
/* Donate (btn-secondary) was red-on-red inside the red CTA — flip to white */
.cta-section .btn-secondary { background-color: #fff; color: #e04a4b; border-color: #fff; animation: none; }
.cta-section .btn-secondary:hover { background-color: #ffe9e9; color: #c94445; }
/* Quick Facts + Leaflet district map (static-build additions) */
.quick-facts-section { background: #f7f9fb; }
.quick-facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; max-width: 1140px; margin: 0 auto; }
.quick-fact-card { background: #fff; border-radius: 12px; padding: 1.75rem; box-shadow: 0 4px 18px rgba(56,81,100,0.08); }
.quick-fact-card h3 { font-size: 1.05rem; color: var(--color-dark-blue, #385164); margin-bottom: 0.6rem; }
.quick-fact-card p { color: #5a6f7e; font-size: 0.95rem; line-height: 1.65; margin: 0; }
.quick-fact-card a { color: var(--color-blue, #4cb9dd); font-weight: 600; }
.quick-facts-updated { text-align: center; color: #8899a6; font-size: 0.85rem; margin-top: 1.75rem; }
#district-map { height: 480px; border-radius: 12px; z-index: 1; }
