/* Reset & base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #0f0f12;
    --color-surface: #1a1a20;
    --color-text: #e8e8ed;
    --color-text-muted: #8b8b9a;
    --color-accent: #6366f1;
    --color-accent-hover: #818cf8;
    --font-sans: 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'Cascadia Code', 'Fira Code', monospace;
    --radius: 8px;
    --transition: 0.2s ease;
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Full-height dark sides (match nav – narrow strips) */
.page-side {
    position: fixed;
    top: 0;
    bottom: 0;
    width: max(0px, min(80px, calc((100vw - 1200px) / 2)));
    background: var(--color-bg);
    z-index: 50;
    pointer-events: none;
}
.page-side-left {
    left: 0;
}
.page-side-right {
    right: 0;
}
@media (max-width: 1200px) {
    .page-side {
        display: none;
    }
}

/* Header – ONE size for ALL pages (no page-specific overrides). Same bar everywhere. */
.header {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 18, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 100;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.375rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
}

.logo-img {
    height: 48px;
    width: auto;
    max-width: 300px;
    min-width: 0;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
    display: block;
}

.logo-text {
    display: inline-block;
    font-size: 1rem;
    line-height: 1;
}

.logo:has(.logo-img) .logo-text {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1;
    padding: 0;
    display: inline-block;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
}

/* Main content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    width: 100%;
}

.hero {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 10rem 2rem;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('assets/hero/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 18, 0.35);
    z-index: 0;
}

.hero-card {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100% - 2rem));
    padding: 2.25rem 2.5rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
}

.hero-card h1,
.hero-card p,
.hero-card .social-icons {
    position: relative;
    z-index: 1;
}

.hero-card h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e8e8ed;
    background: linear-gradient(135deg, #e8e8ed 0%, #a5a5b5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-card p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Social icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    color: var(--color-text-muted);
    transition: color var(--transition), transform var(--transition);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background var(--transition), transform var(--transition);
}

.social-icons a:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.social-icons a:hover .social-icon {
    color: var(--color-accent);
    transform: scale(1.1);
}

.content {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* Page header */
.page-header {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* Calendar page */
.calendar-wrap {
    max-width: 960px;
    margin: 0 auto;
}

.calendar-intro {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.125rem;
}

.calendar-switcher {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.calendar-tab {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}

.calendar-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.calendar-tab.active {
    background: var(--color-accent, #fbbf24);
    color: #000;
    border-color: var(--color-accent, #fbbf24);
}

.calendar-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.calendar-embed {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.calendar-embed iframe {
    display: block;
    width: 100%;
    height: 600px;
    min-height: 480px;
    border: 0;
    vertical-align: top;
}

/* Rules & Regulations / CMSA */
.rules-cmsa-card {
    max-width: 560px;
    padding: 2rem;
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rules-cmsa-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.rules-cmsa-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent, #fbbf24);
}

.rules-cmsa-link:hover {
    text-decoration: underline;
}

/* Program grid */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.programs-intro {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Programs page: outdoor only Spring/Fall × U5–U6, U7–U10 */
.programs-matrix.programs-outdoor-only {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
}

/* Programs page: 2 rows (Indoor, Outdoor) × 3 columns (U6, U8, U10) */
.programs-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-top: 2rem;
}

.programs-matrix .program-meta {
    font-size: 0.9375rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

@media (max-width: 900px) {
    .programs-matrix {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

.program-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform var(--transition), border-color var(--transition);
}

.program-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
}

.program-card-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.program-card h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--color-text);
}

.program-card-dates {
    font-size: 0.95rem;
    color: var(--color-accent);
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.program-card-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 1rem;
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

.program-card-dl dt {
    color: var(--color-text-muted);
    font-weight: 500;
}

.program-card-dl dd {
    margin: 0;
    color: var(--color-text);
    font-weight: 600;
}

.program-card-addons {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.program-card p {
    color: var(--color-text-muted);
}

/* Contact form */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info-standalone {
    max-width: 480px;
}

.contact-info a,
.contact-card a {
    color: var(--color-accent);
    text-decoration: none;
}

.contact-info a:hover,
.contact-card a:hover {
    text-decoration: underline;
}

/* Contact page: single card in site style */
.contact-card {
    max-width: 480px;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow-wrap: break-word;
}

.contact-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.contact-card p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* Contact page: two-card layout */
.contact-page-main .contact-page-header {
    margin-bottom: 2rem;
}

.contact-page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

.contact-cards-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.contact-card-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 400px;
    padding: 2rem 2rem 2.25rem;
    background: var(--color-surface);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.contact-card-link:hover {
    border-color: #dc2626;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.contact-card-link .contact-card-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.contact-card-link .contact-card-email {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.contact-card-link .contact-card-hint {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.contact-form {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
}

/* Button */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--color-accent);
    color: var(--color-text);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 500;
    transition: background var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: var(--font-sans);
}

.btn:hover {
    background: var(--color-accent-hover);
}

.form-fallback-note {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 1rem;
}

.form-fallback-note a {
    color: var(--color-accent);
    text-decoration: none;
}

.form-fallback-note a:hover {
    text-decoration: underline;
}

.registration-cta {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Google Form container */
.form-container {
    margin-top: 2rem;
    background: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.form-container iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: var(--radius);
}

/* Program Section */
.program-section {
    padding: 0;
    background: var(--color-bg);
    overflow: hidden;
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.program-section + .program-section {
    margin-top: 3rem;
}

.program-section:last-of-type {
    margin-bottom: 0;
}

.program-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    min-height: 600px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.program-left {
    background: #dc2626;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.program-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.program-divider {
    width: 80px;
    height: 4px;
    background: #fbbf24;
    margin-bottom: 2rem;
}

.program-offering {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.program-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.program-dates {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
}

.program-ages {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
}

.program-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.program-block {
    background: rgba(0, 0, 0, 0.15);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #fbbf24;
}

.program-block-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fbbf24;
    margin: 0 0 0.75rem 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.program-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1.25rem;
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
}

.program-dl dt {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.program-dl dd {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
}

.program-addons {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.program-label-alt {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.program-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #fbbf24;
    color: #000000;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
}

.program-center {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    background: #dc2626;
}

.program-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


@media (max-width: 1024px) {
    .program-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .program-left {
        padding: 2rem 1.5rem;
    }
    
    .program-center {
        min-height: 400px;
    }
    
    .program-title {
        font-size: 2.5rem;
    }
}

/* Info Section */
.info-section {
    background: #ffffff;
    padding: 5rem 1.5rem;
    margin-top: 6rem;
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.info-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.info-block-reverse {
    direction: rtl;
}

.info-block-reverse > * {
    direction: ltr;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a20;
    margin: 0;
}

.info-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0;
}

.info-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: #dc2626;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s ease;
    align-self: flex-start;
}

.info-btn:hover {
    background: #b91c1c;
}

.info-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .info-section {
        padding: 3rem 1.5rem;
    }
    
    .info-container {
        gap: 3rem;
    }
    
    .info-block,
    .info-block-reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-heading {
        font-size: 2rem;
    }
}

/* Sponsors Section */
.sponsors-section {
    background: #000000;
    padding: 4rem 1.5rem;
    border-top: 0.5px solid rgba(255, 255, 255, 0.1);
}

.sponsors-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sponsors-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #1a1a20;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform var(--transition), border-color var(--transition);
    width: 100%;
    max-width: 380px;
    height: 220px;
}

.sponsor-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.sponsor-item:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.sponsor-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter var(--transition), opacity var(--transition);
}

.sponsor-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Volunteer page – same 1200px width as rest of site, centered */
.volunteer-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(520px, 65vh) auto;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.volunteer-hero-image {
    grid-row: 1;
    grid-column: 1;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background: transparent;
}

.volunteer-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.volunteer-hero-text {
    position: absolute;
    top: 50%;
    left: 65%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: rgba(15, 15, 18, 0.55);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
    box-sizing: border-box;
}

.volunteer-hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-align: center;
    line-height: 1.3;
}

.volunteer-hero-text p {
    font-size: 1.35rem;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.volunteer-hero-green {
    grid-row: 2;
    grid-column: 1 / 3;
    background: linear-gradient(180deg, #2d5016 0%, #c0392b 100%);
    padding: 2rem 2.5rem;
    text-align: center;
}

.volunteer-hero-green p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.volunteer-hero-green p.volunteer-intro-text {
    font-size: 1.125rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.volunteer-hero-green .volunteer-positions-heading {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.volunteer-hero-green .volunteer-two-column-box {
    margin-top: 3rem;
    text-align: left;
    padding: 0;
    gap: 2rem;
    background: transparent;
    box-shadow: none;
}

.volunteer-hero-green .volunteer-column {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.volunteer-hero-green .volunteer-column h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a20;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.volunteer-hero-green .volunteer-column p {
    font-size: 0.9375rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

.volunteer-hero-green .volunteer-cards-in-block {
    margin-top: 3rem;
}

.volunteer-two-column-box {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.volunteer-cards {
    padding: 4rem 1.5rem;
}

.volunteer-cards-red {
    background: linear-gradient(180deg, #8b4513 0%, #c0392b 100%);
}

.volunteer-cards-green {
    background: linear-gradient(180deg, #4a5d23 0%, #6b4423 100%);
}

.volunteer-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.volunteer-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.volunteer-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a20;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.volunteer-card p {
    font-size: 0.9375rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .volunteer-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        min-height: auto;
    }

    .volunteer-hero-image {
        grid-row: 1;
        grid-column: 1;
        min-height: 400px;
    }

    .volunteer-hero-text {
        grid-row: 2;
        grid-column: 1;
    }

    .volunteer-hero-green {
        grid-row: 3;
        grid-column: 1;
    }

    .volunteer-two-column-box {
        grid-template-columns: 1fr;
    }

    .volunteer-cards-container {
        grid-template-columns: 1fr;
    }
}

.volunteer-cta-inline {
    text-align: center;
    padding: 3rem 1.5rem 4rem;
    margin-top: 2rem;
}

.volunteer-register-btn {
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    background: #2d5016;
    color: #ffffff;
}

.volunteer-register-btn:hover {
    background: #3d7c2c;
}

/* About Us page – wider white content area, centered */
.about-main {
    --about-img-size: 380px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
    color: #1a1a20;
    font-size: 1.0625rem;
}

.about-hero {
    position: relative;
    width: 100%;
    line-height: 0;
    max-height: 55vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.about-banner {
    background: #3d3d3d;
    padding: 1.5rem 1.5rem;
    text-align: center;
}

.about-banner h2 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-mission {
    max-width: 720px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.about-mission-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.about-mission-logo {
    width: 120px;
    flex-shrink: 0;
}

.about-mission-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.about-mission-text {
    max-width: 58ch;
}

.about-mission-text p {
    color: #4a4a4a;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
}

.about-mission-text p:last-child {
    margin-bottom: 0;
}

/* Wrapper so the flag can sit behind the section and extend above/below */
.about-red-bars-flag-wrap {
    position: relative;
    width: 100%;
}

.about-red-bars {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 3.25rem 3.5rem;
}

.about-red-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #dc2626;
}

.about-red-bar-left {
    left: 0;
}

.about-red-bar-right {
    right: 0;
    width: 12px;
}

.about-red-bars-content {
    position: relative;
    z-index: 1;
    background: #f8f8f8;
    padding: 3rem 3.25rem 3.5rem;
    margin: -3rem -3.25rem -3.5rem -3.25rem;
    box-sizing: content-box;
}

.about-red-bars-content p {
    color: #4a4a4a;
    margin-bottom: 1.35rem;
    line-height: 1.75;
}

.about-red-bars-content p:last-child {
    margin-bottom: 0;
}

/* Polish flag behind the gray box: extends above and below it, full width of white page */
.about-polish-flag {
    position: absolute;
    top: -4rem;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100% + 8rem);
    z-index: 0;
    border: 2px solid #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.about-polish-flag-white {
    flex: 1;
    background: #fff;
    min-height: 0;
    position: relative;
}

.about-flag-logo {
    position: absolute;
    top: 50%;
    left: 5rem;
    transform: translateY(-50%);
    width: 7rem;
    height: auto;
    max-height: 65%;
    object-fit: contain;
}

.about-polish-flag-red {
    flex: 1;
    background: #dc2626;
    min-height: 0;
}

.about-history {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    margin-top: 3rem;
}

.about-history-title {
    text-align: center;
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a20;
    margin: 0 0 2.5rem 0;
    letter-spacing: -0.02em;
}

.about-history-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #dc2626;
    margin: 1rem auto 0;
}

.about-history-grid {
    display: grid;
    grid-template-columns: 1fr minmax(var(--about-img-size), var(--about-img-size));
    gap: 3rem;
    align-items: start;
}

.about-history-text p {
    color: #4a4a4a;
    margin-bottom: 1.35rem;
    line-height: 1.75;
}

.about-history-photo {
    justify-self: start;
    min-width: 0;
}

.about-history-photo figure {
    margin: 0;
    width: var(--about-img-size);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.about-history-photo figure > img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-history-photo figcaption {
    display: block;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a20;
    margin-top: 0.75rem;
    letter-spacing: 0.02em;
}

.about-history-2 {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    background: #fafafa;
}

.about-history-2-grid {
    display: grid;
    grid-template-columns: 1fr minmax(var(--about-img-size), var(--about-img-size));
    gap: 3rem;
    align-items: start;
}

.about-history-2-text p {
    color: #4a4a4a;
    margin-bottom: 1.35rem;
    line-height: 1.75;
}

.about-history-2-photo {
    justify-self: start;
    min-width: 0;
}

.about-history-2-photo figure {
    margin: 0;
    width: var(--about-img-size);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.about-history-2-photo figure > img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-history-2-photo figcaption {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a20;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}

.about-history-3 {
    max-width: 960px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.about-timeline-row {
    display: grid;
    grid-template-columns: repeat(2, var(--about-img-size));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.about-timeline-row:last-of-type {
    margin-bottom: 0;
}

.about-timeline-row figure {
    margin: 0;
    width: var(--about-img-size);
    max-width: var(--about-img-size);
    min-width: 0;
    box-sizing: border-box;
}

.about-timeline-row figure > img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #f0f0f0;
}

.about-timeline-row figcaption {
    display: block;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1a20;
    margin-top: 0.75rem;
    letter-spacing: 0.02em;
}

.about-timeline-text {
    color: #4a4a4a;
    line-height: 1.75;
    margin: 2.5rem auto 2.5rem;
    padding: 0 0.5rem;
    max-width: 52ch;
    text-align: center;
}

.about-timeline-text strong {
    color: #1a1a20;
    font-weight: 700;
}

.about-history-4 {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 1.5rem 5rem;
    background: #fafafa;
}

.about-final-grid {
    display: grid;
    grid-template-columns: 1fr minmax(var(--about-img-size), var(--about-img-size));
    gap: 3rem;
    align-items: start;
}

.about-final-right {
    justify-self: start;
    min-width: 0;
}

.about-final-left figure,
.about-final-right figure {
    margin: 0 0 1rem 0;
    width: var(--about-img-size);
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.about-final-left figure > img,
.about-final-right figure > img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.about-final-left figcaption,
.about-final-right figcaption {
    display: block;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a20;
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
}

.about-final-left p {
    color: #4a4a4a;
    margin-bottom: 1.35rem;
    line-height: 1.75;
}

.about-final-left p:last-child {
    margin-bottom: 0;
}

.about-final-right {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

@media (max-width: 900px) {
    .about-hero {
        max-height: none;
    }

    .about-mission,
    .about-history,
    .about-history-2,
    .about-history-3,
    .about-history-4 {
        padding: 2.5rem 1.25rem;
    }

    .about-mission-inner {
        gap: 1.5rem;
    }

    .about-mission-logo {
        width: 100px;
    }

    .about-mission-text {
        max-width: none;
    }

    .about-red-bars {
        padding: 2rem 1.5rem 2.5rem;
    }

    .about-history-title {
        font-size: 1.625rem;
        margin-bottom: 2rem;
    }

    .about-history-grid,
    .about-history-2-grid,
    .about-final-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-timeline-row {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 2rem 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-surface);
        padding: 1.5rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
}
