:root {
    --bg: #F6F4EF;
    --card: #ffffff;
    --text: #222222;
    --muted: #777777;
    --gold: #E8CF82;
    --soft-border: rgba(0,0,0,0.06);
    --shadow: 0 18px 45px rgba(0,0,0,0.08);
}

* {
    box-sizing: border-box;
}

/* 2026-11-22: the old global `body` rule here (Arial font + cream background)
   leaked into the shared site header/footer and made this page's top bar look
   different from every other page. Background/color now live on .partners-page
   only; the page inherits the site font and body styling like all other pages. */

.partners-header {
    max-width: 1480px;
    margin: 26px auto 0;
    padding: 0 24px;
}

.nav-card {
    background: rgba(255,255,255,0.8);
    border-radius: 28px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 50%;
}

.nav-card nav {
    background: #fff;
    padding: 14px 24px;
    border-radius: 999px;
    display: flex;
    gap: 30px;
}

.nav-card nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
}

.gold-btn {
    background: var(--gold);
    color: #111;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
}

.partners-page {
    max-width: 1480px;
    margin: 22px auto 80px;
    padding: 0 24px;
}

.hero-card {
    background: linear-gradient(135deg, #fff 0%, #fbfaf7 55%, #eef3ef 100%);
    border-radius: 28px;
    min-height: 440px;
    padding: 70px;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--shadow);
}

.eyebrow {
    color: #948352;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
}

.hero-card h1 {
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.02;
    margin: 18px 0 24px;
    letter-spacing: -0.04em;
}

.hero-card p {
    max-width: 850px;
    color: #666;
    font-size: 18px;
    line-height: 1.65;
}

.hero-badge {
    background: #111;
    color: white;
    border-radius: 32px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: var(--shadow);
}

.hero-badge span {
    display: block;
    font-size: 30px;
    font-family: Georgia, serif;
    color: var(--gold);
}

.hero-badge strong {
    display: block;
    font-size: 42px;
    margin-top: 8px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 28px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border: 6px solid white;

    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: scale(1.03);
}

.category-section {
    margin-top: 70px;
}

.category-section h2 {
    font-size: 36px;
    margin-bottom: 8px;
}

.category-section p {
    color: var(--muted);
    margin-bottom: 30px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 26px;
}

.category-card {
    background: var(--card);
    border-radius: 26px;
    padding: 22px;
    text-align: center;
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 22px 55px rgba(0,0,0,0.12);
}

.category-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 22px;
}

.category-card h3 {
    margin: 18px 0 6px;
    font-size: 20px;
}

.category-card span {
    color: var(--muted);
    font-size: 14px;
}

.category-hero {
    background: linear-gradient(135deg, #fff 0%, #fbfaf7 70%, #f1eee7 100%);
    border-radius: 28px;
    padding: 42px;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 34px;
    align-items: center;
    box-shadow: var(--shadow);

    margin-bottom: 40px; /* 👈 THIS is the fix */
}

.category-hero img {
    width: 170px;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.category-hero h1 {
    font-size: clamp(34px, 5vw, 60px);
    margin: 8px 0 12px;
    letter-spacing: -0.04em;
}

.category-hero p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
    max-width: 900px;
}

.back-link {
    color: #948352;
    text-decoration: none;
    font-weight: 800;
}

.year-banner {
    margin: 54px 0 26px;
    background: #111;
    color: #fff;
    border-radius: 22px;
    padding: 18px 28px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.year-banner.secondary {
    background: #fff;
    color: #111;
    box-shadow: var(--shadow);
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 32px;
    margin-top: 30px; /* 👈 ADD THIS LINE */
}

.featured-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    justify-content: center;
    align-items: start;
}

.sponsor-card {
    display: block;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sponsor-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.14);
}

.sponsor-card img {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.featured-card {
    width: 100%;
    max-width: none;
}

@media (max-width: 800px) {
    .nav-card {
        flex-wrap: wrap;
        gap: 16px;
    }

    .nav-card nav {
        order: 3;
        width: 100%;
        justify-content: center;
        overflow-x: auto;
    }

    .hero-card {
        grid-template-columns: 1fr;
        padding: 38px 24px;
    }

    .category-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .category-hero img {
        margin: 0 auto;
    }

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

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