:root {
    --brand-red: #bb0000;
    --ink: #1f1f1f;
    --muted: #6d6d6d;
    --line: #d6d6d6;
    --soft: #f6f6f6;
    --paper: #ffffff;
    --max: 1232px;
    --radius: 8px;
    --text: #4a4a4a;
    --border: #d6d6d6;
    --bn-party: #0168b7;
    --ph-party: #9845B7;
    --pn-party: #F13F21;
    --ind-party: #939393;
    --yellow: #FFB753;
    --global-bar-height: 36px;
    --masthead-sticky-offset: 67px;
    --election-nav-height: 49px;
    --mobile-masthead-height: 48px;
    --state-nav-height: 38px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Lato, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    max-width: 100%;
    display: block;
}

button,
input,
select {
    font: inherit;
}

h1, h2, h3, h4, h5 {
    margin: 0;
}



/*=============================
   HEADER
==============================*/
.network-bar {
    min-height: 31px;
    background: #1c1c1c;
    color: #fff;
    font-size: 12px;
}

.network-links {
    display: flex;
    gap: 17px;
    overflow-x: auto;
    width: min(1310px, calc(100% - 50px));
    padding: 6px 0 7px;
    white-space: nowrap;
}

.election-masthead {
    background: #fff;
    color: #111;
    border-bottom: 1px solid var(--line);
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 52px;
    padding: 8px 0;
    flex-wrap: nowrap;
}

.masthead-brand {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.brand-home {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.brand-prime {
    display: inline-flex;
    flex: 0 0 auto;
    width: clamp(112px, 11vw, 150px);
    height: auto;
    align-items: center;
    overflow: visible;
}

    .brand-prime .icon,
    .brand-logo {
        display: block;
        width: 100%;
        height: auto;
        max-width: none;
    }

.star-logo {
    display: inline-flex;
    width: 149px;
    height: 50px;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    font-size: 31px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.brand-mark {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-height: 34px;
    text-transform: uppercase;
    letter-spacing: 0;
    line-height: 1.1;
    white-space: nowrap;
}

.brand-state {
    font-size: 22px;
    font-weight: 900;
    color: #4a4a4a;
}

.brand-year {
    font-size: 14px;
    font-weight: 900;
}

.masthead-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 15px;
    font-size: 12px;
    text-transform: none;
}

.masthead-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #555;
}

    .masthead-action .material-symbols-rounded {
        font-size: 24px;
        font-weight: 400;
        line-height: 1;
    }

.masthead-menu {
    display: none;
    cursor: pointer;
}

    .masthead-menu .material-symbols-rounded::before {
        content: "menu";
    }

    .masthead-menu .material-symbols-rounded {
        font-size: 0;
    }

.nav-toggle:checked ~ .election-masthead .masthead-menu .material-symbols-rounded::before {
    content: "close";
}

.masthead-menu .material-symbols-rounded::before {
    font-size: 24px;
    font-family: "Material Symbols Rounded";
    font-weight: 400;
    line-height: 1;
}

.powered {
    color: #222;
}

    .powered strong {
        text-transform: uppercase;
    }

.language-switch {
    display: inline-flex;
    gap: 6px;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

    .language-switch a + a::before {
        content: "";
        display: inline-block;
        width: 1px;
        height: 12px;
        margin: 0 8px 0 0;
        background: #d6d6d6;
        vertical-align: -2px;
    }

    .language-switch a {
        padding: 0;
        color: #000;
        font-size: 14px;
        font-weight: 700;
    }

    .language-switch .is-active {
        color: var(--brand-red);
        background: transparent;
    }

.nav-language-switch {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}




/*=============================
   NAVIGATION
 ==============================*/
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--election-nav-height);
}

.nav-scroll {
    display: flex;
    align-items: center;
    align-self: stretch;
    overflow: visible;
    white-space: nowrap;
}

    .nav-scroll a,
    .nav-dropdown summary,
    .nav-star-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: var(--election-nav-height);
        padding: 0 10px;
        color: #333;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.2;
    }

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: stretch;
}

    .nav-dropdown summary {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        cursor: pointer;
        list-style: none;
    }

        .nav-dropdown summary::-webkit-details-marker {
            display: none;
        }

        .nav-dropdown summary::after {
            content: "expand_more";
            font-family: "Material Symbols Rounded";
            font-size: 16px;
            font-weight: 400;
            line-height: 1;
        }

    .nav-dropdown[open] summary::after {
        content: "expand_less";
    }

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 30;
    display: grid;
    min-width: 120px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.nav-dropdown:not([open]) .nav-dropdown-menu {
    display: none;
}

.nav-dropdown-menu a {
    padding: 10px 14px;
}

.nav-scroll .nav-dropdown-menu a:hover {
    margin-bottom: 0;
    padding: 10px 14px;
}

.nav-star-link {
    margin-left: auto;
}

    .nav-scroll a.is-active,
    .nav-scroll a:hover,
    .nav-dropdown summary:hover,
    .nav-star-link:hover {
        color: var(--paper);
        background: var(--brand-red);
    }

        .nav-scroll a.is-active::after {
            display: none;
        }

.election-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.state-nav {
    background: #FFF0DB;
}

.state-nav-inner {
    display: flex;
    align-items: center;
    min-height: 38px;
    gap: 12px;
}

.state-nav-label {
    flex: 0 0 auto;
    color: #333;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
}

.state-nav-scroll {
    display: flex;
    min-width: 0;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

    .state-nav-scroll::-webkit-scrollbar {
        display: none;
    }

    .state-nav-scroll a {
        flex: 0 0 auto;
        padding: 0 14px;
        border-right: 1px solid var(--line);
        color: #555;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.2;
    }


        .state-nav-scroll a:last-child {
            border-right: 0;
        }

        .state-nav-scroll a.is-active {
            color: var(--brand-red);
            font-weight: 900;
        }

@media (min-width: 768px) {
    .site-header {
        position: sticky;
        top: calc(var(--global-bar-height) - var(--masthead-sticky-offset));
        z-index: 100;
        background: #fff;
    }

    .election-nav {
        position: relative;
        top: auto;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .site-header {
        top: calc(var(--global-bar-height) - var(--mobile-masthead-height) - 4px);
    }
}

@media (max-width: 767px), (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .state-nav {
        position: sticky;
        top: calc(var(--global-bar-height) + var(--mobile-masthead-height));
        z-index: 95;
        box-shadow: 0 1px 0 var(--line);
    }

    .state-nav-inner {
        min-height: var(--state-nav-height);
    }
}

@media (max-width: 767px) {

    .state-nav-label {
        margin: 0;
    }
}



/*=============================
   FOOTER
==============================*/
.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
    color: #555;
    padding: 8px 0 10px;
}

    .site-footer .wrap {
        position: relative;
    }

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-align: center;
}

    .footer-grid p {
        margin: 0;
        font-size: 12px;
        line-height: 1.35;
    }

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-size: 12px;
    font-weight: 700;
}

    .footer-links a {
        color: #1b72bd;
    }

        .footer-links a + a::before {
            content: "|";
            display: inline-block;
            margin: 0 8px;
            color: #999;
            font-weight: 400;
        }

.back-to-top {
    position: absolute;
    right: 10px;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e5e5e5;
}

    .back-to-top::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 15px;
        width: 6px;
        height: 6px;
        border-top: 2px solid #555;
        border-left: 2px solid #555;
        transform: translateX(-50%) rotate(45deg);
    }

    .back-to-top::after {
        display: none;
    }

    .back-to-top:hover,
    .back-to-top:focus-visible {
        background: #d9d9d9;
        color: #707070;
    }

@media (max-width: 767px) {
    .back-to-top {
        top: -20px;
    }
}
/*=============================
   GENERAL
==============================*/
.wrap {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
}


.page {
    padding: 0 0 60px;
}

.page-kicker,
.eyebrow {
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-title {
    margin: 8px 0 18px;
    font-size: 36px;
    line-height: 1.1;
}

.section-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.stack {
    display: grid;
    gap: 24px;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.two-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.card,
.candidate-card,
.party-card,
.result-panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.candidate-card,
.party-card {
    padding: 16px;
}

.candidate-party,
.party-meta {
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.news-card h2,
.news-card h3,
.candidate-card h3,
.party-card h3 {
    margin: 6px 0;
    font-size: 18px;
    line-height: 1.25;
}

.news-card p,
.candidate-card p,
.party-card p {
    margin: 0;
    color: var(--muted);
}

/*=============================
   AD SLOT
==============================*/
.ad-strap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: min(820px, 100%);
    min-height: 50px;
    margin: 30px auto;
    border: 1px dashed #c9c9c9;
    background: #fafafa;
    color: #777;
    font-size: 13px;
    padding: 0 20px;
    height: 50px;
    position: relative;
}

    .ad-strap span {
        font-size: 14px;
        color: var(--text);
    }

    /* RIGHT LOGO */
    .ad-strap img {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        height: 28px;
        width: auto;
        display: block
    }

.inline-sponsored {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #555;
    font-size: 14px;
}

    .inline-sponsored strong {
        color: #333;
        font-size: 16px;
    }

.ad-box {
    display: flex;
    min-height: 96px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6d6d6;
    background: #f5f5f5;
    color: #555;
    font-weight: 700;
}

.sponsor-strip span,
.sponsor-strip strong {
    display: inline-block;
    margin: 0 6px;
}

.sponsor-strip small {
    display: block;
    margin-top: 4px;
    color: #555;
    font-size: 13px;
}

.sponsor-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(var(--max), calc(100% - 32px));
    min-height: 70px;
    margin: 0 auto;
    margin-top: 30px;
    border: 1px solid var(--line);
    background: #c4c4c4;
    color: #555;
    text-align: center;
}


/*=============================
   RESPONSIVE
==============================*/

.placeholder-area {
    min-height: 520px;
}


.search-panel {
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    width: 100%
}

.field {
    min-height: 44px;
    width: 100%;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    padding: 0 12px;
}

.btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 4px;
    background: var(--brand-red);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.map-shell {
    position: sticky;
    top: calc(var(--global-bar-height) + var(--election-nav-height));
    z-index: 15;
    border-bottom: 1px solid var(--line);
    background: #fff;
    transition: box-shadow .2s ease;
}

    .map-shell.is-compact {
        box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    }

.map-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 24px;
    align-items: center;
    xpadding: 18px 0;
    transition: padding .2s ease;
}

.dummy-map {
    display: grid;
    min-height: 390px;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f1f1f1;
    padding: 14px;
    transition: min-height .2s ease;
}

.map-region {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d2d2d2;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font-size: 12px;
    font-weight: 900;
}

    .map-region:nth-child(3n) {
        background: #ffe8e8;
        border-color: #f0b4b4;
        color: var(--brand-red);
    }

.map-summary h1 {
    margin: 0 0 8px;
    font-size: 32px;
    line-height: 1.1;
}

.map-summary p {
    margin: 0 0 18px;
    color: var(--muted);
}

.map-shell.is-compact .map-inner {
    grid-template-columns: 180px minmax(0, 1fr);
    padding: 8px 0;
}

.map-shell.is-compact .dummy-map {
    min-height: 88px;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 6px;
}

.map-shell.is-compact .map-region {
    min-height: 28px;
    border-radius: 3px;
    font-size: 0;
}

.map-shell.is-compact .map-summary h1 {
    margin: 0;
    font-size: 18px;
}

.map-shell.is-compact .map-summary p,
.map-shell.is-compact .search-panel {
    display: none;
}

.seat-list {
    display: grid;
    gap: 12px;
}

.home-lead {
    padding: 68px 0 36px;
}

.home-title {
    margin: 0 0 34px;
    font-size: 32px;
    line-height: 1.1;
}

.home-dun {
    background: #e5e5e5;
    padding: 24px 0 48px;
}

.home-dun-grid {
    display: grid;
    grid-template-columns: 345px minmax(0, 1fr);
    gap: 63px;
    align-items: start;
}

.home-dun-sidebar {
    display: grid;
    gap: 26px;
}

    .home-dun-sidebar .section-title {
        margin: 0;
    }

.state-card {
    position: relative;
}

    .state-card .result-tag {
        position: absolute;
        right: 20px;
    }

    .state-card .seat-progress {
        margin: 30px 0;
    }


    .state-card .seat-card-content {
        padding: 10px 20px 30px 20px;
    }

.seat-result-card {
    border: 1px solid #d6d6d6;
    background: var(--paper);
    border-radius: 8px;
    display: grid;
    gap: 16px;
    width: 100%;
}


.seat-card-content {
    padding: 0 20px 20px 20px;
}

/* TOP BAR */
.seat-top-bar {
    height: 10px;
    background: #0168b7;
    border-radius: 8px 8px 0 0;
}


/* LOCATION */
.seat-state {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

/* TITLE */
.seat-title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

    .seat-title span {
        font-size: 14px;
        font-weight: 400;
    }

    .seat-title::after {
        xcontent: "chevron_right";
        font-family: "Material Symbols Rounded";
        font-size: 20px;
        line-height: 1;
    }

/* ACTIONS */
.seat-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* HOT BUTTON */
.hot-seat-btn,
.pin-btn {
    width: 28px;
    xheight: 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
}

    /* HOT */
    .hot-seat-btn::after {
        content: "local_fire_department";
        font-family: "Material Symbols Rounded";
        font-size: 24px;
        color: #f2a93b;
    }

    /* PIN */
    .pin-btn::after {
        content: "keep";
        font-family: "Material Symbols Rounded";
        font-size: 22px;
        color: #555;
        transform: rotate(22deg);
        display: block;
    }


/* STATS BOX */
.seat-stats-box {
    background: #fff1dd;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* STAT */
.seat-stat {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text);
}

    .seat-stat strong {
        font-weight: 700;
    }

/* INCUMBENT */
.incumbent-text {
    font-size: 14px;
    color: var(--text);
    margin: 15px;
}

    .incumbent-text strong {
        color: var(--text);
    }


/* BUTTON */
.seat-share-btn {
    margin: 0 auto;
    border: 1px solid var(--brand-red);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-red);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 8px 24px;
    background: transparent;
    height: 35px;
}

.seat-result-card h3 {
    margin: 0;
    font-size: 19px;
}

.candidate-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
}

    .candidate-row strong {
        display: block;
    }

    .candidate-row span {
        color: var(--muted);
        font-size: 13px;
    }

    .candidate-row .votes {
        color: #111;
        font-size: 20px;
        font-weight: 900;
        text-align: right;
    }

.home-map-area {
    position: sticky;
    top: calc(var(--global-bar-height) + var(--election-nav-height));
    z-index: 15;
    background: #e5e5e5;
    transition: padding .2s ease, box-shadow .2s ease;
}

    .home-map-area.is-compact {
        box-shadow: 0 10px 22px rgba(0, 0, 0, .14);
    }

.home-map-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

    .home-map-topline .search-panel {
        width: 345px;
        padding: 0;
        border: 1px solid #d6d6d6;
        background: #fafafa;
    }

.dummy-map.home-map {
    min-height: 510px;
    grid-template-columns: repeat(7, 1fr);
    border: 0;
    background: var(--brand-red);
    padding: 26px;
}

.home-map-area.is-compact .home-map-topline {
    margin-bottom: 8px;
}

    .home-map-area.is-compact .home-map-topline .section-title,
    .home-map-area.is-compact .home-map-topline .search-panel {
        display: none;
    }

.home-map-area.is-compact .dummy-map.home-map {
    min-height: 88px;
    grid-template-columns: repeat(10, 1fr);
    padding: 8px;
}

.home-map-area.is-compact .map-region {
    min-height: 25px;
    font-size: 0;
}

.seat-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.seat-code {
    color: var(--brand-red);
    font-weight: 900;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

    .result-table th,
    .result-table td {
        padding: 12px;
        border-bottom: 1px solid var(--line);
        text-align: left;
    }

    .result-table th {
        background: var(--soft);
        font-size: 12px;
        text-transform: uppercase;
    }


@media (max-width: 900px) {
    .footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }

    .masthead-inner {
        gap: 14px;
        padding: 0;
    }

    .masthead-tools {
        align-self: center;
        align-items: center;
        padding: 0;
    }

    .footer-grid {
        align-items: center;
    }

    .content-grid,
    .map-inner,
    .home-dun-grid {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .two-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .map-shell {
        top: calc(var(--global-bar-height) + var(--mobile-masthead-height));
    }

        .map-shell.is-compact .map-inner {
            grid-template-columns: 112px minmax(0, 1fr);
        }

    .map-summary h1 {
        font-size: 28px;
    }

    .home-map-area {
        top: calc(var(--global-bar-height) + var(--mobile-masthead-height));
    }
}

@media (max-width: 640px) {
    .wrap {
        width: min(100% - 24px, var(--max));
    }

    .sponsor-strip {
        width: min(100% - 24px, var(--max));
    }

    .masthead-inner {
        min-height: 48px;
        gap: 8px;
    }

    .brand-prime {
        width: clamp(74px, 23vw, 92px);
        height: auto;
    }

        .brand-prime .icon {
            width: 100%;
            height: auto;
        }

    .brand-state {
        font-size: clamp(10px, 4.5vw, 12px);
    }

    .brand-year {
        font-size: clamp(9px, 4vw, 11px);
    }

    .page-title {
        font-size: 30px;
    }

    .search-panel,
    .card-grid,
    .two-grid {
        grid-template-columns: 1fr;
    }

    .brand-home {
        gap: clamp(6px, 1.9vw, 9px);
    }

    .star-logo {
        width: 118px;
        height: 42px;
        font-size: 25px;
    }

    .home-lead {
        padding: 40px 0 28px;
    }

    .home-map-topline {
        align-items: flex-start;
        flex-direction: column;
    }

        .home-map-topline .search-panel {
            width: 100%;
        }

    .dummy-map.home-map {
        min-height: 320px;
        grid-template-columns: repeat(4, 1fr);
    }

    .dummy-map {
        min-height: 280px;
        grid-template-columns: repeat(4, 1fr);
    }

    .seat-card {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 767px) {
    .site-header {
        position: sticky;
        top: var(--global-bar-height);
        z-index: 100;
        background: #fff;
    }

    .election-masthead {
        border-bottom: 1px solid var(--line);
    }

    .masthead-inner {
        align-items: center;
    }

    .masthead-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .brand-home {
        max-width: 100%;
    }

    .brand-mark {
        min-height: 0;
        min-width: 0;
    }

    .masthead-tools {
        margin-left: auto;
        flex: 0 0 auto;
        align-items: center;
        gap: clamp(14px, 2.3vw, 11px);
    }

    .masthead-action {
        width: clamp(19px, 4.8vw, 22px);
        height: clamp(19px, 4.8vw, 22px);
    }



    .language-switch {
        display: none;
    }

    .masthead-menu {
        display: inline-flex;
    }

    .election-nav {
        display: none;
        position: static;
        border-top: 0;
    }

    .state-nav {
        border-top: 0;
    }

    .state-nav-inner {
        width: 100%;
        min-height: 42px;
        padding: 0 8px;
        gap: 10px;
    }

    .state-nav-scroll {
        flex: 1 1 auto;
    }


        .state-nav-scroll a:first-child {
            padding-left: 0;
        }

    .nav-toggle:checked ~ .election-nav {
        display: block;
    }

    .nav-bar {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .nav-scroll {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
        padding: 0;
        overflow: visible;
    }

        .nav-scroll a {
            display: flex;
            align-items: center;
            width: 100%;
            min-height: auto;
            padding: 14px 18px;
            font-size: 13px;
            text-align: left;
        }

    .nav-dropdown {
        width: 100%;
        display: block;
    }

        .nav-dropdown summary {
            width: 100%;
            min-height: auto;
            justify-content: space-between;
            padding: 14px 18px;
            font-size: 13px;
        }

    .nav-dropdown-menu {
        position: static;
        display: block;
        width: 100%;
        min-width: 0;
        border: 0;
        box-shadow: none;
        padding: 0 0 8px;
        background: transparent;
    }

        .nav-dropdown-menu a {
            width: 100%;
            border-bottom: 0;
            padding: 9px 18px 9px 40px;
            color: #999;
        }

    .nav-scroll .nav-dropdown-menu a:hover {
        padding: 9px 18px 9px 40px;
    }

    .nav-scroll a.is-active {
        background: var(--brand-red);
        color: var(--paper);
    }

    .nav-dropdown summary:hover,
    .nav-star-link:hover,
    .nav-scroll .nav-dropdown-menu a:hover {
        background: transparent;
        color: #333;
    }

    .nav-star-link {
        display: flex;
        width: 100%;
        margin-left: 0;
        min-height: auto;
        padding: 18px;
        border-bottom: 1px solid var(--line);
        font-size: 13px;
        text-align: left;
    }

    .nav-language-switch {
        display: inline-flex;
        align-self: stretch;
        margin-top: 0;
        padding: 16px 18px;
    }

        .nav-language-switch a {
            font-size: 13px;
        }

    .nav-scroll a.is-active::after {
        display: none;
    }
}


/* WINNER */
.winner-icon::before {
    content: "editor_choice";
    font-family: "Material Symbols Rounded";
    font-size: 20px;
    color: #f2a93b;
}

/* TAG */
.result-tag {
    padding: 2px 6px;
    border-radius: 100px;
    background: #ff9500;
    display: inline-flex;
    align-items: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--paper);
}
