:root {
    --campaign-blue: #0a3b78;
    --campaign-blue-dark: #072d5c;
    --campaign-light: #f3f6fa;
    --campaign-text: #222;
    --content-width: 1400px;
}

/* Reset */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img,
svg,
video {
    max-width: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--campaign-light);
    color: var(--campaign-text);
    min-height: 100vh;
}


/* Header */

.site-header {
    background: var(--campaign-blue);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    max-width: var(--content-width);
    margin: auto;
    padding: 1rem 2rem;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.6rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3rem;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-links a.active {
    color:#b22222;
    text-decoration: underline;
}

/* Home Grid */

.home-grid {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2rem;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "photo cta"
        "content graphic";

    gap: 1.5rem;
    min-height: calc(100vh - 180px);
}

/* Shared panel style */

.panel {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.panel:hover {
    transform: translateY(-2px);
    transition: 0.2s ease;
}

/* Quadrants */

.photo-panel {
    grid-area: photo;
    padding: 0;
    overflow: hidden;
}

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

.cta-panel {
    grid-area: cta;
    background: var(--campaign-blue);
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.cta-panel img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.cta-panel h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: normal;
}

.vote-button {
    display: inline-block;
    background: white;
    color: var(--campaign-blue);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    font-weight: bold;
}

.content-panel {
    grid-area: content;
    line-height: 1.1;
}

.content-panel h2 {
    margin-bottom: 1.0rem;
}

.content-panel h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;

    font-size: 2rem;
    line-height: .15;
}

.content-panel p {
    margin-bottom: 1.25rem;
    margin-top: 0rem;
    line-height: 1.6;
}

.content-panel h3 {
    line-height: 1.1;
}

h2.content-subtitle {
    line-height: 1.1;
}

.experience-banner {
    background: #c51f1f;
    color: white;
    text-align: center;

    padding: 1rem;
    margin-bottom: 2rem;

    border-radius: 20px;

    font-size: 2rem;
    font-weight: bold;
}

.graphic-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.graphic-panel video {
    max-width: 100%;
    height: 50% !important;
    display: block;
}

.graphic-panel img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.graphic-caption {
    background: #b22222;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 18% 18% 18% 18%;
    text-align: center;
    font-weight: bold;
    width: 100%;
}

/* Internal Pages */

.page-content {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.page-content h1 {
    margin-bottom: 1rem;
}

.page-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Footer */

.site-footer {
    background: var(--campaign-blue);
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

/* Mobile Layout */

@media (max-width: 900px) {

    .site-title {
        display: none;
    }

    .navbar {
        flex-direction: column;
        gap: .7rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a.active {
        color:#b22222;
        text-decoration: underline;
    }

    .home-grid {
        grid-template-columns: 1fr;
        padding: 0;
        margin: 0;

        grid-template-areas:
            "photo"
            "cta"
            "content"
            "graphic";
    }

    .panel {
        margin: 0.5rem;
    }

    .photo-panel img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }


    .cta-panel h1 {
        font-size: 2rem;
    }

    .cta-panel img {
        width: 100%;
        max-width: 600px;
        height: auto;
    }
}