/* =========================================================
   VOTE SMART KE
   CONSTITUENCY PAGE
   constituency.css

   Applies ONLY to the constituency template.

   Main wrapper:
   .vsk-constituency-page

   Hero:
   .vsk-constituency-hero

   Content:
   .vsk-constituency-content

   Main:
   .vsk-constituency-main

   Sidebar:
   .vsk-constituency-sidebar

   ========================================================= */


/* =========================================================
   1. PAGE FOUNDATION
   ========================================================= */

.vsk-constituency-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: #1f2933;
    overflow-x: hidden;
}

.vsk-constituency-page *,
.vsk-constituency-page *::before,
.vsk-constituency-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   2. GLOBAL CONTAINER
   ========================================================= */

.vsk-constituency-page .vsk-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}


/* =========================================================
   3. HERO SECTION
   ========================================================= */

/*
   CONSTITUENCY HERO
   ---------------------------------------------------------
   Structure:

   LEFT  → Overview / constituency information
   RIGHT → Constituency image

   Scoped specifically to the constituency template.
   Does NOT affect candidate.css.
*/

/* ---------------------------------------------------------
   HERO WRAPPER
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-hero {
    position: relative;
    width: 100%;
    background: #ffffff;
    color: #1f2933;
    overflow: hidden;
    padding: 48px 0 56px;
}


/* ---------------------------------------------------------
   HERO GRID
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-hero-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;

    align-items: stretch;
}


/* ---------------------------------------------------------
   LEFT CARD — OVERVIEW
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    padding: 48px;

    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}


/* ---------------------------------------------------------
   COUNTY / EYEBROW
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-eyebrow {
    margin: 0 0 12px;

    color: #b8860b;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;

    text-transform: uppercase;
}


/* ---------------------------------------------------------
   CONSTITUENCY TITLE
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-title {
    margin: 0;

    color: #102a43;

    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
}


/* ---------------------------------------------------------
   CONSTITUENCY SUMMARY
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-summary {
    max-width: 680px;

    margin: 22px 0 0;

    color: #52606d;

    font-size: 1.02rem;
    line-height: 1.75;
}


.vsk-constituency-page .vsk-constituency-summary p {
    margin: 0 0 14px;
}


.vsk-constituency-page .vsk-constituency-summary p:last-child {
    margin-bottom: 0;
}


/* ---------------------------------------------------------
   EMPTY SUMMARY
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-summary-empty {
    margin: 22px 0 0;

    color: #7b8794;

    font-size: 1rem;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   RIGHT CARD — IMAGE
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-hero-image {
    position: relative;

    min-width: 0;
    min-height: 360px;

    overflow: hidden;

    background: #f3f4f6;

    border: 1px solid #e5e7eb;
    border-radius: 18px;

    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}


/* ---------------------------------------------------------
   HERO IMAGE
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-hero-image img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 360px;

    object-fit: cover;

    border: 0;
    border-radius: 18px;
}


/* ---------------------------------------------------------
   IMAGE PLACEHOLDER
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 360px;

    background: #f3f4f6;

    color: #7b8794;

    font-size: 0.9rem;
    font-weight: 600;
}


/* ---------------------------------------------------------
   SUBTLE GOLD ACCENT
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-hero::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: #d4a72c;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .vsk-constituency-page .vsk-constituency-hero {
        padding: 40px 0 48px;
    }

    .vsk-constituency-page .vsk-constituency-hero-grid {
        gap: 22px;
    }

    .vsk-constituency-page .vsk-constituency-hero-content {
        padding: 36px;
    }

    .vsk-constituency-page .vsk-constituency-title {
        font-size: clamp(2.1rem, 5vw, 3.2rem);
    }

    .vsk-constituency-page .vsk-constituency-hero-image {
        min-height: 320px;
    }

    .vsk-constituency-page .vsk-constituency-hero-image img {
        min-height: 320px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .vsk-constituency-page .vsk-constituency-hero {
        padding: 28px 0 40px;
    }


    .vsk-constituency-page .vsk-constituency-hero-grid {
        grid-template-columns: 1fr;
        gap: 18px;

        padding: 0 16px;
    }


    /* Overview first */

    .vsk-constituency-page .vsk-constituency-hero-content {
        grid-column: 1;
        padding: 30px 24px;
    }


    /* Image second */

    .vsk-constituency-page .vsk-constituency-hero-image {
        grid-column: 1;

        min-height: 260px;
    }


    .vsk-constituency-page .vsk-constituency-hero-image img {
        min-height: 260px;
    }


    .vsk-constituency-page .vsk-constituency-title {
        font-size: 2.25rem;
    }


    .vsk-constituency-page .vsk-constituency-summary {
        font-size: 0.98rem;
        line-height: 1.7;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .vsk-constituency-page .vsk-constituency-hero-content {
        padding: 26px 20px;
    }


    .vsk-constituency-page .vsk-constituency-title {
        font-size: 2rem;
    }


    .vsk-constituency-page .vsk-constituency-eyebrow {
        font-size: 0.72rem;
    }


    .vsk-constituency-page .vsk-constituency-hero-image {
        min-height: 220px;
    }


    .vsk-constituency-page .vsk-constituency-hero-image img {
        min-height: 220px;
    }

}

/* =========================================================
   VSK QUICK CONSTITUENCY NAVIGATION
   ========================================================= */

.vsk-constituency-page .vsk-quick-nav {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    z-index: 100;
}


/* Inner navigation */

.vsk-constituency-page .vsk-quick-nav-inner {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}


/* "Explore" label */

.vsk-constituency-page .vsk-quick-nav-label {
    flex: 0 0 auto;
    margin-right: 24px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}


/* Links container */

.vsk-constituency-page .vsk-quick-nav-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


/* Individual links */

.vsk-constituency-page .vsk-quick-nav-links a {
    display: inline-block;
    padding: 8px 12px;
    margin-right: 4px;
    color: #102a43;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
    border-radius: 6px;
    transition: background-color 0.2s ease,
                color 0.2s ease;
}


/* Hover */

.vsk-constituency-page .vsk-quick-nav-links a:hover {
    background: #f1f5f9;
    color: #0f766e;
}


/* =========================================================
   FIXED STATE
   ========================================================= */

.vsk-constituency-page .vsk-quick-nav.vsk-nav-fixed {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--vsk-site-header-height, 0px);
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #dfe4ea;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    z-index: 999;
}


/* =========================================================
   PAGE SPACER WHEN NAV BECOMES FIXED
   ========================================================= */

.vsk-constituency-page.vsk-nav-is-fixed
.vsk-constituency-content {
    padding-top: 58px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .vsk-constituency-page .vsk-quick-nav-inner {
        display: block;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .vsk-constituency-page .vsk-quick-nav-label {
        margin-right: 0;
        margin-bottom: 6px;
    }

    .vsk-constituency-page .vsk-quick-nav-links {
        display: block;
        width: 100%;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 2px;
    }

    .vsk-constituency-page .vsk-quick-nav-links a {
        margin-right: 5px;
        font-size: 0.82rem;
    }

    .vsk-constituency-page.vsk-nav-is-fixed
    .vsk-constituency-content {
        padding-top: 74px;
    }

}

/* =========================================================
   4. MAIN CONTENT AREA
   ========================================================= */

.vsk-constituency-page .vsk-constituency-content {
    width: 100%;
    padding: 72px 0 90px;
    background: #f7f9fb;
}

.vsk-constituency-page .vsk-constituency-layout {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 42px;
}

.vsk-constituency-page .vsk-constituency-main {
    flex: 1 1 auto;
    min-width: 0;
}

.vsk-constituency-page .vsk-constituency-sidebar {
    flex: 0 0 320px;
    width: 320px;
}


/* =========================================================
   5. GENERAL SECTION SPACING
   ========================================================= */

.vsk-constituency-page .vsk-constituency-main > section {
    margin: 0 0 78px;
}

.vsk-constituency-page .vsk-constituency-main > section:last-child {
    margin-bottom: 0;
}


/* =========================================================
   6. SECTION HEADINGS
   ========================================================= */

.vsk-constituency-page .vsk-constituency-section-heading {
    margin-bottom: 28px;
}

.vsk-constituency-page .vsk-section-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #1f7a5c;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.vsk-constituency-page .vsk-constituency-section-heading h2 {
    margin: 0;
    color: #102a43;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.vsk-constituency-page .vsk-section-intro {
    max-width: 760px;
    margin: 14px 0 0;
    color: #52606d;
    font-size: 0.98rem;
    line-height: 1.75;
}


/* =========================================================
   7. ESTABLISHED DATE
   ========================================================= */

.vsk-constituency-page .vsk-constituency-established {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 17px;
    padding: 8px 13px;
    border-radius: 999px;
    background: #eef6f2;
    color: #1f7a5c;
    font-size: 0.84rem;
}

.vsk-constituency-page .vsk-constituency-established span {
    font-weight: 500;
}

.vsk-constituency-page .vsk-constituency-established strong {
    font-weight: 800;
}


/* =========================================================
   8. HISTORY & ORIGIN
   ========================================================= */

.vsk-constituency-page .vsk-constituency-history {
    width: 100%;
}

.vsk-constituency-page .vsk-history-card {
    width: 100%;
    margin-bottom: 18px;
    padding: 28px 30px;
    background: #ffffff;
    border: 1px solid #e4e9ee;
    border-left: 4px solid #1f7a5c;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.05);
}

.vsk-constituency-page .vsk-history-card:last-child {
    margin-bottom: 0;
}

.vsk-constituency-page .vsk-history-card-content {
    width: 100%;
}

.vsk-constituency-page .vsk-history-card h3 {
    margin: 0 0 13px;
    color: #102a43;
    font-size: 1.12rem;
    font-weight: 750;
    line-height: 1.35;
}

.vsk-constituency-page .vsk-history-text {
    color: #52606d;
    font-size: 0.96rem;
    line-height: 1.8;
}

.vsk-constituency-page .vsk-history-text p {
    margin: 0 0 14px;
}

.vsk-constituency-page .vsk-history-text p:last-child {
    margin-bottom: 0;
}

.vsk-constituency-page .vsk-history-text ul,
.vsk-constituency-page .vsk-history-text ol {
    margin: 12px 0;
    padding-left: 22px;
}

.vsk-constituency-page .vsk-history-text li {
    margin-bottom: 7px;
}


/* =========================================================
   9. POLITICS & REPRESENTATION
   ========================================================= */

.vsk-constituency-page .vsk-constituency-politics {
    width: 100%;
}

.vsk-constituency-page .vsk-politics-card {
    width: 100%;
    margin-bottom: 18px;
    padding: 28px 30px;
    background: #ffffff;
    border: 1px solid #e4e9ee;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.05);
}

.vsk-constituency-page .vsk-politics-card:last-child {
    margin-bottom: 0;
}

.vsk-constituency-page .vsk-politics-card-content {
    width: 100%;
}

.vsk-constituency-page .vsk-politics-card h3 {
    margin: 0 0 13px;
    color: #102a43;
    font-size: 1.12rem;
    font-weight: 750;
    line-height: 1.35;
}

.vsk-constituency-page .vsk-politics-text {
    color: #52606d;
    font-size: 0.96rem;
    line-height: 1.8;
}

.vsk-constituency-page .vsk-politics-text p {
    margin: 0 0 14px;
}

.vsk-constituency-page .vsk-politics-text p:last-child {
    margin-bottom: 0;
}

.vsk-constituency-page .vsk-politics-text ul,
.vsk-constituency-page .vsk-politics-text ol {
    margin: 12px 0;
    padding-left: 22px;
}

.vsk-constituency-page .vsk-politics-text li {
    margin-bottom: 7px;
}

.vsk-constituency-page .vsk-swing-card {
    background: #fffdf4;
    border-color: #eadca8;
    border-left: 4px solid #d4a72c;
}


/* =========================================================
   10. ELECTION HISTORY
   ========================================================= */

.vsk-constituency-page .vsk-election-history {
    width: 100%;
}

.vsk-constituency-page .vsk-election-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #dfe5eb;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.05);
    -webkit-overflow-scrolling: touch;
}

.vsk-constituency-page .vsk-election-table {
    width: 100%;
    min-width: 760px;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    background: #ffffff;
}

.vsk-constituency-page .vsk-election-table thead {
    background: #102a43;
}

.vsk-constituency-page .vsk-election-table th {
    padding: 15px 16px;
    color: #ffffff;
    border: 0;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}

.vsk-constituency-page .vsk-election-table td {
    padding: 17px 16px;
    color: #52606d;
    border-top: 1px solid #e8edf1;
    font-size: 0.91rem;
    line-height: 1.5;
    vertical-align: middle;
}

.vsk-constituency-page .vsk-election-table tbody tr:hover {
    background: #f8fafb;
}

.vsk-constituency-page .vsk-election-year strong,
.vsk-constituency-page .vsk-election-mp strong {
    color: #102a43;
    font-weight: 750;
}

.vsk-constituency-page .vsk-election-party-badge,
.vsk-constituency-page .vsk-election-result-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
}

.vsk-constituency-page .vsk-election-party-badge {
    background: #eef2f5;
    color: #334e68;
}

.vsk-constituency-page .vsk-election-result-badge {
    background: #e9f6ef;
    color: #1f7a5c;
}

.vsk-constituency-page .vsk-election-muted {
    color: #9aa5b1;
}


/* =========================================================
   11. ECONOMY & DEVELOPMENT
   ========================================================= */

.vsk-constituency-page .vsk-constituency-economy {
    width: 100%;
}

.vsk-constituency-page .vsk-economy-card {
    width: 100%;
    margin-bottom: 18px;
    padding: 28px 30px;
    background: #ffffff;
    border: 1px solid #e4e9ee;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.05);
}

.vsk-constituency-page .vsk-economy-card:last-child {
    margin-bottom: 0;
}

.vsk-constituency-page .vsk-economy-card-content {
    width: 100%;
}

.vsk-constituency-page .vsk-economy-card h3 {
    margin: 0 0 13px;
    color: #102a43;
    font-size: 1.12rem;
    font-weight: 750;
    line-height: 1.35;
}

.vsk-constituency-page .vsk-economy-text {
    color: #52606d;
    font-size: 0.96rem;
    line-height: 1.8;
}

.vsk-constituency-page .vsk-economy-text p {
    margin: 0 0 14px;
}

.vsk-constituency-page .vsk-economy-text p:last-child {
    margin-bottom: 0;
}

.vsk-constituency-page .vsk-economy-text ul,
.vsk-constituency-page .vsk-economy-text ol {
    margin: 12px 0;
    padding-left: 22px;
}

.vsk-constituency-page .vsk-economy-text li {
    margin-bottom: 7px;
}


/* =========================================================
   12. DEVELOPMENT & PUBLIC INVESTMENT
   ========================================================= */

.vsk-constituency-page .vsk-constituency-development {
    width: 100%;
}

.vsk-constituency-page .vsk-development-card {
    width: 100%;
    margin-bottom: 18px;
    padding: 28px 30px;
    background: #ffffff;
    border: 1px solid #e4e9ee;
    border-left: 4px solid #2c7a7b;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.05);
}

.vsk-constituency-page .vsk-development-card:last-child {
    margin-bottom: 0;
}

.vsk-constituency-page .vsk-development-card-content {
    width: 100%;
}

.vsk-constituency-page .vsk-development-card h3 {
    margin: 0 0 13px;
    color: #102a43;
    font-size: 1.12rem;
    font-weight: 750;
    line-height: 1.35;
}

.vsk-constituency-page .vsk-development-text {
    color: #52606d;
    font-size: 0.96rem;
    line-height: 1.8;
}

.vsk-constituency-page .vsk-development-text p {
    margin: 0 0 14px;
}

.vsk-constituency-page .vsk-development-text p:last-child {
    margin-bottom: 0;
}

.vsk-constituency-page .vsk-development-text ul,
.vsk-constituency-page .vsk-development-text ol {
    margin: 12px 0;
    padding-left: 22px;
}

.vsk-constituency-page .vsk-development-text li {
    margin-bottom: 7px;
}


/* =========================================================
   13. KEY ISSUES
   ========================================================= */

.vsk-constituency-page .vsk-constituency-key-issues {
    width: 100%;
}

.vsk-constituency-page .vsk-key-issues-grid {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: -9px;
}

.vsk-constituency-page .vsk-key-issue-card {
    flex: 1 1 calc(50% - 18px);
    width: calc(50% - 18px);
    min-width: 0;
    margin: 9px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 17px;
    background: #ffffff;
    border: 1px solid #e4e9ee;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.vsk-constituency-page .vsk-key-issue-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5dc;
    box-shadow: 0 9px 25px rgba(16, 42, 67, 0.08);
}

.vsk-constituency-page .vsk-key-issue-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef6f2;
    font-size: 1.35rem;
    line-height: 1;
}

.vsk-constituency-page .vsk-key-issue-content {
    flex: 1 1 auto;
    min-width: 0;
}

.vsk-constituency-page .vsk-key-issue-content h3 {
    margin: 0 0 10px;
    color: #102a43;
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.35;
}

.vsk-constituency-page .vsk-key-issue-text {
    color: #52606d;
    font-size: 0.92rem;
    line-height: 1.7;
}

.vsk-constituency-page .vsk-key-issue-text p {
    margin: 0 0 12px;
}

.vsk-constituency-page .vsk-key-issue-text p:last-child {
    margin-bottom: 0;
}

.vsk-constituency-page .vsk-key-issue-text ul,
.vsk-constituency-page .vsk-key-issue-text ol {
    margin: 10px 0;
    padding-left: 20px;
}

.vsk-constituency-page .vsk-key-issue-text li {
    margin-bottom: 6px;
}


/* =========================================================
   14. SIDEBAR FOUNDATION
   ========================================================= */

.vsk-constituency-page .vsk-constituency-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vsk-constituency-page .vsk-constituency-sidebar > * {
    width: 100%;
}


/* =========================================================
   15. SIDEBAR GENERIC CARDS

   These selectors support common sidebar structures
   without touching candidate templates.
   ========================================================= */

.vsk-constituency-page .vsk-sidebar-card {
    width: 100%;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e1e7ec;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.05);
}

.vsk-constituency-page .vsk-sidebar-card h2,
.vsk-constituency-page .vsk-sidebar-card h3 {
    margin: 0 0 14px;
    color: #102a43;
    font-weight: 750;
    line-height: 1.35;
}

.vsk-constituency-page .vsk-sidebar-card h2 {
    font-size: 1.25rem;
}

.vsk-constituency-page .vsk-sidebar-card h3 {
    font-size: 1.05rem;
}

.vsk-constituency-page .vsk-sidebar-card p {
    margin: 0 0 12px;
    color: #52606d;
    font-size: 0.91rem;
    line-height: 1.7;
}

.vsk-constituency-page .vsk-sidebar-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   16. ABOUT CONSTITUENCY SIDEBAR
   ========================================================= */

.vsk-constituency-page .vsk-sidebar-about {
    background: #ffffff;
}

.vsk-constituency-page .vsk-sidebar-about h2,
.vsk-constituency-page .vsk-sidebar-about h3 {
    color: #102a43;
}

.vsk-constituency-page .vsk-sidebar-about p {
    color: #52606d;
    line-height: 1.75;
}


/* =========================================================
   17. CURRENT MP CARD
   ========================================================= */

.vsk-constituency-page .vsk-current-mp-card {
    width: 100%;
    overflow: hidden;
    background: #102a43;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(16, 42, 67, 0.14);
}

.vsk-constituency-page .vsk-current-mp-photo {
    width: 100%;
    background: #dfe5eb;
}

.vsk-constituency-page .vsk-current-mp-photo img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.vsk-constituency-page .vsk-current-mp-content {
    padding: 25px;
}

.vsk-constituency-page .vsk-current-mp-label {
    margin-bottom: 7px;
    color: #d4a72c;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.vsk-constituency-page .vsk-current-mp-name {
    margin: 0;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
}

.vsk-constituency-page .vsk-current-mp-party,
.vsk-constituency-page .vsk-current-mp-position {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.87rem;
    line-height: 1.5;
}

.vsk-constituency-page .vsk-current-mp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.vsk-constituency-page .vsk-current-mp-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}


/* =========================================================
   18. SIDEBAR INFORMATION LISTS
   ========================================================= */

.vsk-constituency-page .vsk-sidebar-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vsk-constituency-page .vsk-sidebar-list li {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f2;
    color: #52606d;
    font-size: 0.88rem;
    line-height: 1.5;
}

.vsk-constituency-page .vsk-sidebar-list li:last-child {
    border-bottom: 0;
}

.vsk-constituency-page .vsk-sidebar-list strong {
    color: #102a43;
    font-weight: 750;
    text-align: right;
}


/* =========================================================
   19. SIDEBAR LINKS / BUTTONS
   ========================================================= */

.vsk-constituency-page .vsk-sidebar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 15px;
    border-radius: 7px;
    background: #1f7a5c;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.vsk-constituency-page .vsk-sidebar-link:hover {
    background: #176149;
    color: #ffffff;
    transform: translateY(-1px);
}


/* =========================================================
   20. LINKS INSIDE CONTENT
   ========================================================= */

.vsk-constituency-page .vsk-constituency-main a {
    color: #1f7a5c;
}

.vsk-constituency-page .vsk-constituency-main a:hover {
    color: #155e47;
}


/* =========================================================
   21. CONTENT FORMATTING
   ========================================================= */

.vsk-constituency-page .vsk-history-text strong,
.vsk-constituency-page .vsk-politics-text strong,
.vsk-constituency-page .vsk-economy-text strong,
.vsk-constituency-page .vsk-development-text strong,
.vsk-constituency-page .vsk-key-issue-text strong {
    color: #334e68;
    font-weight: 750;
}

.vsk-constituency-page .vsk-history-text blockquote,
.vsk-constituency-page .vsk-politics-text blockquote,
.vsk-constituency-page .vsk-economy-text blockquote,
.vsk-constituency-page .vsk-development-text blockquote,
.vsk-constituency-page .vsk-key-issue-text blockquote {
    margin: 18px 0;
    padding: 14px 18px;
    border-left: 3px solid #d4a72c;
    background: #faf8ef;
    color: #52606d;
}


/* =========================================================
   22. TABLET
   ========================================================= */

@media (max-width: 1024px) {

    .vsk-constituency-page .vsk-constituency-hero-inner {
        gap: 35px;
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .vsk-constituency-page .vsk-constituency-hero-image {
        flex-basis: 360px;
        max-width: 360px;
    }

    .vsk-constituency-page .vsk-constituency-hero-image img {
        height: 260px;
    }

    .vsk-constituency-page .vsk-constituency-layout {
        gap: 30px;
    }

    .vsk-constituency-page .vsk-constituency-sidebar {
        flex-basis: 290px;
        width: 290px;
    }

    .vsk-constituency-page .vsk-constituency-content {
        padding-top: 60px;
    }

}


/* =========================================================
   23. MOBILE / SMALL TABLET
   ========================================================= */

@media (max-width: 800px) {

    .vsk-constituency-page .vsk-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .vsk-constituency-page .vsk-constituency-hero-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
        padding-top: 42px;
        padding-bottom: 48px;
    }

    .vsk-constituency-page .vsk-constituency-hero-content {
        width: 100%;
    }

    .vsk-constituency-page .vsk-constituency-hero-image {
        width: 100%;
        max-width: none;
    }

    .vsk-constituency-page .vsk-constituency-hero-image img {
        height: 280px;
    }

    .vsk-constituency-page .vsk-constituency-layout {
        flex-direction: column;
        gap: 45px;
    }

    .vsk-constituency-page .vsk-constituency-main,
    .vsk-constituency-page .vsk-constituency-sidebar {
        width: 100%;
        flex: 0 0 100%;
    }

    .vsk-constituency-page .vsk-constituency-sidebar {
        display: flex;
        flex-direction: column;
    }

    .vsk-constituency-page .vsk-key-issue-card {
        flex-basis: calc(50% - 18px);
        width: calc(50% - 18px);
    }

}


/* =========================================================
   24. MOBILE PHONE
   ========================================================= */

@media (max-width: 600px) {

    .vsk-constituency-page .vsk-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .vsk-constituency-page .vsk-constituency-content {
        padding-top: 45px;
        padding-bottom: 60px;
    }

    .vsk-constituency-page .vsk-constituency-hero-inner {
        min-height: 0;
        padding: 38px 15px 45px;
    }

    .vsk-constituency-page .vsk-constituency-hero-title {
        font-size: 2.35rem;
        line-height: 1.08;
    }

    .vsk-constituency-page .vsk-constituency-hero-summary {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .vsk-constituency-page .vsk-constituency-hero-image img {
        height: 220px;
        border-radius: 10px;
    }

    .vsk-constituency-page .vsk-constituency-main > section {
        margin-bottom: 58px;
    }

    .vsk-constituency-page .vsk-constituency-section-heading {
        margin-bottom: 22px;
    }

    .vsk-constituency-page .vsk-constituency-section-heading h2 {
        font-size: 1.75rem;
    }

    .vsk-constituency-page .vsk-section-intro {
        font-size: 0.91rem;
    }

    .vsk-constituency-page .vsk-history-card,
    .vsk-constituency-page .vsk-politics-card,
    .vsk-constituency-page .vsk-economy-card,
    .vsk-constituency-page .vsk-development-card {
        padding: 22px;
    }

    .vsk-constituency-page .vsk-history-text,
    .vsk-constituency-page .vsk-politics-text,
    .vsk-constituency-page .vsk-economy-text,
    .vsk-constituency-page .vsk-development-text {
        font-size: 0.92rem;
        line-height: 1.72;
    }

    .vsk-constituency-page .vsk-key-issues-grid {
        display: block;
        margin: 0;
    }

    .vsk-constituency-page .vsk-key-issue-card {
        width: 100%;
        margin: 0 0 14px;
        padding: 21px;
    }

    .vsk-constituency-page .vsk-key-issue-card:last-child {
        margin-bottom: 0;
    }

    .vsk-constituency-page .vsk-key-issue-text {
        font-size: 0.9rem;
    }

    .vsk-constituency-page .vsk-current-mp-photo img {
        height: 260px;
    }

    .vsk-constituency-page .vsk-current-mp-content {
        padding: 22px;
    }

    .vsk-constituency-page .vsk-sidebar-card {
        padding: 21px;
    }

}


/* =========================================================
   25. VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .vsk-constituency-page .vsk-constituency-hero-title {
        font-size: 2rem;
    }

    .vsk-constituency-page .vsk-section-label {
        font-size: 0.68rem;
    }

    .vsk-constituency-page .vsk-constituency-section-heading h2 {
        font-size: 1.55rem;
    }

    .vsk-constituency-page .vsk-key-issue-card {
        gap: 13px;
        padding: 18px;
    }

    .vsk-constituency-page .vsk-key-issue-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }

}


/* =========================================================
   26. ACCESSIBILITY
   ========================================================= */

.vsk-constituency-page a:focus-visible,
.vsk-constituency-page button:focus-visible {
    outline: 3px solid rgba(212, 167, 44, 0.65);
    outline-offset: 3px;
}


/* =========================================================
   27. REDUCE MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .vsk-constituency-page *,
    .vsk-constituency-page *::before,
    .vsk-constituency-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}


/* =========================================================
   END OF CONSTITUENCY CSS
   ========================================================= */
   
   /* =========================================================
   CONSTITUENCY CONTENT LAYOUT
   ========================================================= */

/*
   DESKTOP
   ---------------------------------------------------------
   Main constituency content on the left.
   Sidebar on the right.
*/

.vsk-constituency-page .vsk-constituency-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
}


/* ---------------------------------------------------------
   MAIN CONTENT
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-main {
    min-width: 0;
}


/* ---------------------------------------------------------
   SIDEBAR
--------------------------------------------------------- */

.vsk-constituency-page .vsk-constituency-sidebar {
    min-width: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .vsk-constituency-page .vsk-constituency-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 24px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    /*
       Change from two columns to one column.
    */

    .vsk-constituency-page .vsk-constituency-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }


    /*
       SIDEBAR FIRST
       --------------------------------------------------
       This is the important part.

       The sidebar appears immediately after the hero
       and before the long constituency content.
    */

    .vsk-constituency-page .vsk-constituency-sidebar {
        order: 1;
        width: 100%;
    }


    /*
       MAIN CONTENT SECOND
    */

    .vsk-constituency-page .vsk-constituency-main {
        order: 2;
        width: 100%;
    }


    /*
       Add some breathing room between the sidebar
       and the beginning of the main content.
    */

    .vsk-constituency-page .vsk-constituency-main {
        margin-top: 24px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .vsk-constituency-page .vsk-constituency-main {
        margin-top: 20px;
    }

}

/* =========================================================
   CONSTITUENCY SIDEBAR — SNAPSHOT
   ========================================================= */

/*
   Snapshot card
--------------------------------------------------------- */

.vsk-constituency-page .vsk-sidebar-snapshot {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}


/*
   Snapshot heading
--------------------------------------------------------- */

.vsk-constituency-page .vsk-sidebar-snapshot h2 {
    margin: 6px 0 20px;
    color: #102a43;
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.25;
}


/*
   Snapshot list
--------------------------------------------------------- */

.vsk-constituency-page .vsk-snapshot-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}


/*
   Individual statistic
--------------------------------------------------------- */

.vsk-constituency-page .vsk-snapshot-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding: 15px 0;

    border-top: 1px solid #edf0f2;
}


/*
   Remove unnecessary border from first item
--------------------------------------------------------- */

.vsk-constituency-page .vsk-snapshot-item:first-child {
    border-top: 0;
    padding-top: 0;
}


/*
   Last item
--------------------------------------------------------- */

.vsk-constituency-page .vsk-snapshot-item:last-child {
    padding-bottom: 0;
}


/*
   Statistic label
--------------------------------------------------------- */

.vsk-constituency-page .vsk-snapshot-item span {
    color: #697586;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}


/*
   Statistic value
--------------------------------------------------------- */

.vsk-constituency-page .vsk-snapshot-item strong {
    color: #102a43;
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.4;
    text-align: right;
}


/*
   County value
--------------------------------------------------------- */

.vsk-constituency-page .vsk-snapshot-item:first-child strong {
    color: #b8860b;
}


/* =========================================================
   SNAPSHOT — MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .vsk-constituency-page .vsk-sidebar-snapshot {
        padding: 22px;
    }

    .vsk-constituency-page .vsk-sidebar-snapshot h2 {
        font-size: 1.25rem;
        margin-bottom: 18px;
    }

    .vsk-constituency-page .vsk-snapshot-item {
        padding: 14px 0;
    }

}


/* =========================================================
   SNAPSHOT — SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .vsk-constituency-page .vsk-sidebar-snapshot {
        padding: 20px;
    }

    .vsk-constituency-page .vsk-snapshot-item span {
        font-size: 0.84rem;
    }

    .vsk-constituency-page .vsk-snapshot-item strong {
        font-size: 0.9rem;
    }

}

/* =========================================================
   CONSTITUENCY SIDEBAR — WARDS
   ========================================================= */

.vsk-constituency-page .vsk-sidebar-wards {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05);
}


/* ---------------------------------------------------------
   WARDS HEADING
--------------------------------------------------------- */

.vsk-constituency-page .vsk-sidebar-wards h2 {
    margin: 6px 0 20px;

    color: #102a43;

    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.25;
}


/* ---------------------------------------------------------
   WARD LIST
--------------------------------------------------------- */

.vsk-constituency-page .vsk-wards-list ul {
    margin: 0;
    padding: 0;

    list-style: none;
}


/* ---------------------------------------------------------
   INDIVIDUAL WARD
--------------------------------------------------------- */

.vsk-constituency-page .vsk-wards-list li {
    position: relative;

    margin: 0;
    padding: 12px 0 12px 22px;

    border-top: 1px solid #edf0f2;

    color: #52606d;

    font-size: 0.92rem;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   FIRST WARD
--------------------------------------------------------- */

.vsk-constituency-page .vsk-wards-list li:first-child {
    border-top: 0;
}


/* ---------------------------------------------------------
   SMALL BULLET
--------------------------------------------------------- */

.vsk-constituency-page .vsk-wards-list li::before {
    content: "";

    position: absolute;
    left: 3px;
    top: 19px;

    width: 7px;
    height: 7px;

    background: #d4a72c;

    border-radius: 50%;
}


/* ---------------------------------------------------------
   HOVER
--------------------------------------------------------- */

.vsk-constituency-page .vsk-wards-list li:hover {
    color: #102a43;
}


/* ---------------------------------------------------------
   EMPTY STATE
--------------------------------------------------------- */

.vsk-constituency-page .vsk-wards-empty {
    margin: 0;

    color: #7b8794;

    font-size: 0.9rem;
    line-height: 1.6;
}


/* =========================================================
   WARDS — MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .vsk-constituency-page .vsk-sidebar-wards {
        padding: 22px;
    }

    .vsk-constituency-page .vsk-sidebar-wards h2 {
        font-size: 1.25rem;
    }

}

/* =========================================================
   CONSTITUENCY SIDEBAR — WARDS
   ========================================================= */

.vsk-constituency-page .vsk-sidebar-wards {
    width: 100%;
}


/* Wards two-column layout */

.vsk-constituency-page .vsk-wards-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 10px;
    margin-top: 20px;
}


/* Individual ward */

.vsk-constituency-page .vsk-ward-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    padding: 8px 0;
    border-bottom: 1px solid #edf1f5;
}


/* Bullet */

.vsk-constituency-page .vsk-ward-bullet {
    flex: 0 0 auto;
    color: #d4a72c;
    font-size: 1.15rem;
    line-height: 1.35;
}


/* Ward name */

.vsk-constituency-page .vsk-ward-name {
    color: #263746;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}


/* Remove unnecessary bottom border from the final items */

.vsk-constituency-page .vsk-ward-item:last-child {
    border-bottom: 0;
}

@media (max-width: 600px) {

    .vsk-constituency-page .vsk-wards-list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

}

/* =========================================================
   CIVIC INFORMATION SIDEBAR
   ========================================================= */

.vsk-constituency-page .vsk-sidebar-text ul {
    margin: 14px 0 0;
    padding-left: 20px;
}

.vsk-constituency-page .vsk-sidebar-text li {
    margin-bottom: 8px;
    color: #263746;
    line-height: 1.55;
}

.vsk-constituency-page .vsk-sidebar-text li:last-child {
    margin-bottom: 0;
}


/* Did You Know */

.vsk-constituency-page .vsk-sidebar-did-you-know {
    border-left: 4px solid #d4a72c;
}


/* Before You Vote */

.vsk-constituency-page .vsk-sidebar-before-vote {
    border-left: 4px solid #102a43;
}

/* =========================================================
   VOTE SMART KE — CONSTITUENCY PAGE
   FINAL VISUAL / UX POLISH
   ========================================================= */


/* =========================================================
   1. PAGE FOUNDATION
   ========================================================= */

.vsk-constituency-page {
    background: #ffffff;
    color: #263746;
}

.vsk-constituency-page .vsk-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   2. MAIN CONTENT AREA
   ========================================================= */

.vsk-constituency-page .vsk-constituency-content {
    padding: 64px 0 80px;
}

.vsk-constituency-page .vsk-constituency-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 48px;
    align-items: start;
}

.vsk-constituency-page .vsk-constituency-main {
    min-width: 0;
}


/* =========================================================
   3. MAIN SECTION SPACING
   ========================================================= */

.vsk-constituency-page .vsk-constituency-main > section {
    margin-bottom: 76px;
}

.vsk-constituency-page .vsk-constituency-main > section:last-child {
    margin-bottom: 0;
}


/* =========================================================
   4. SECTION HEADINGS
   ========================================================= */

.vsk-constituency-page .vsk-constituency-section-heading {
    margin-bottom: 30px;
}

.vsk-constituency-page .vsk-section-label {
    margin-bottom: 9px;
    color: #b2871b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.vsk-constituency-page .vsk-constituency-section-heading h2 {
    margin: 0;
    color: #102a43;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.vsk-constituency-page .vsk-section-intro {
    max-width: 720px;
    margin: 14px 0 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
}


/* =========================================================
   5. CONTENT CARDS
   ========================================================= */

.vsk-constituency-page .vsk-history-card,
.vsk-constituency-page .vsk-politics-card,
.vsk-constituency-page .vsk-economy-card,
.vsk-constituency-page .vsk-development-card {
    margin-bottom: 18px;
    padding: 28px 30px;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.05);
}

.vsk-constituency-page .vsk-history-card:last-child,
.vsk-constituency-page .vsk-politics-card:last-child,
.vsk-constituency-page .vsk-economy-card:last-child,
.vsk-constituency-page .vsk-development-card:last-child {
    margin-bottom: 0;
}


/* Card headings */

.vsk-constituency-page .vsk-history-card h3,
.vsk-constituency-page .vsk-politics-card h3,
.vsk-constituency-page .vsk-economy-card h3,
.vsk-constituency-page .vsk-development-card h3 {
    margin: 0 0 12px;
    color: #102a43;
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.35;
}


/* Card text */

.vsk-constituency-page .vsk-history-text,
.vsk-constituency-page .vsk-politics-text,
.vsk-constituency-page .vsk-economy-text,
.vsk-constituency-page .vsk-development-text {
    color: #526475;
    font-size: 0.97rem;
    line-height: 1.75;
}


/* Paragraph spacing */

.vsk-constituency-page .vsk-history-text p,
.vsk-constituency-page .vsk-politics-text p,
.vsk-constituency-page .vsk-economy-text p,
.vsk-constituency-page .vsk-development-text p {
    margin: 0 0 12px;
}

.vsk-constituency-page .vsk-history-text p:last-child,
.vsk-constituency-page .vsk-politics-text p:last-child,
.vsk-constituency-page .vsk-economy-text p:last-child,
.vsk-constituency-page .vsk-development-text p:last-child {
    margin-bottom: 0;
}


/* Lists inside cards */

.vsk-constituency-page .vsk-history-text ul,
.vsk-constituency-page .vsk-politics-text ul,
.vsk-constituency-page .vsk-economy-text ul,
.vsk-constituency-page .vsk-development-text ul {
    margin: 12px 0;
    padding-left: 22px;
}

.vsk-constituency-page .vsk-history-text li,
.vsk-constituency-page .vsk-politics-text li,
.vsk-constituency-page .vsk-economy-text li,
.vsk-constituency-page .vsk-development-text li {
    margin-bottom: 7px;
}


/* =========================================================
   6. ESTABLISHED BADGE
   ========================================================= */

.vsk-constituency-page .vsk-constituency-established {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 7px 12px;
    background: #f8f5ea;
    border: 1px solid #eadfb9;
    border-radius: 999px;
    font-size: 0.82rem;
}

.vsk-constituency-page .vsk-constituency-established span {
    color: #64748b;
}

.vsk-constituency-page .vsk-constituency-established strong {
    color: #8b6914;
}


/* =========================================================
   7. ELECTION HISTORY
   ========================================================= */

.vsk-constituency-page .vsk-election-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.05);
}

.vsk-constituency-page .vsk-election-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.vsk-constituency-page .vsk-election-table th {
    padding: 15px 16px;
    background: #f5f7fa;
    color: #526475;
    border-bottom: 1px solid #e1e7ed;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

.vsk-constituency-page .vsk-election-table td {
    padding: 16px;
    color: #526475;
    border-bottom: 1px solid #edf1f5;
    font-size: 0.92rem;
    vertical-align: middle;
}

.vsk-constituency-page .vsk-election-table tbody tr:last-child td {
    border-bottom: 0;
}

.vsk-constituency-page .vsk-election-table tbody tr:hover {
    background: #fafbfd;
}

.vsk-constituency-page .vsk-election-year strong,
.vsk-constituency-page .vsk-election-mp strong {
    color: #102a43;
}


/* Election badges */

.vsk-constituency-page .vsk-election-party-badge,
.vsk-constituency-page .vsk-election-result-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
}

.vsk-constituency-page .vsk-election-party-badge {
    background: #eef3f7;
    color: #3f5568;
}

.vsk-constituency-page .vsk-election-result-badge {
    background: #eef7f1;
    color: #26734d;
}

.vsk-constituency-page .vsk-election-muted {
    color: #9aa7b3;
}


/* =========================================================
   KEY ISSUES — FINAL CARD LAYOUT
   ========================================================= */

/*
 * Two-column layout on desktop.
 * Cards are allowed to use the full width available.
 * Nothing here should force headings or text outside cards.
 */

.vsk-constituency-page .vsk-key-issues-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin-top: 28px;
}


/* =========================================================
   KEY ISSUE CARD
   ========================================================= */

.vsk-constituency-page .vsk-key-issue-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    width: 100%;
    min-width: 0;
    box-sizing: border-box;

    padding: 24px;

    background: #ffffff;
    border: 1px solid #e6e9ed;
    border-radius: 14px;

    box-shadow: 0 6px 18px rgba(16, 42, 67, 0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}


.vsk-constituency-page .vsk-key-issue-card:hover {
    transform: translateY(-2px);

    border-color: #d4a72c;

    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.09);
}


/* =========================================================
   ICON
   ========================================================= */

.vsk-constituency-page .vsk-key-issue-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f4f7f9;

    border-radius: 12px;

    font-size: 1.45rem;
    line-height: 1;
}


/* =========================================================
   CONTENT AREA
   ========================================================= */

.vsk-constituency-page .vsk-key-issue-content {
    flex: 1 1 auto;

    width: auto;
    min-width: 0;

    overflow-wrap: anywhere;
    word-wrap: break-word;
}


/* =========================================================
   ISSUE TITLE
   ========================================================= */

.vsk-constituency-page .vsk-key-issue-content h3 {
    margin: 0 0 8px;

    color: #102a43;

    font-size: 1.05rem;
    font-weight: 750;

    line-height: 1.3;

    overflow-wrap: anywhere;
    word-break: normal;
}


/* =========================================================
   ISSUE TEXT
   ========================================================= */

.vsk-constituency-page .vsk-key-issue-text {
    margin: 0;

    color: #52606d;

    font-size: 0.94rem;
    line-height: 1.65;

    overflow-wrap: anywhere;
    word-break: normal;
}


/* Paragraphs generated by the WYSIWYG editor */

.vsk-constituency-page .vsk-key-issue-text p {
    margin: 0 0 10px;
}

.vsk-constituency-page .vsk-key-issue-text p:last-child {
    margin-bottom: 0;
}


/* Lists inside an issue */

.vsk-constituency-page .vsk-key-issue-text ul,
.vsk-constituency-page .vsk-key-issue-text ol {
    margin: 8px 0 0 20px;
    padding: 0;
}

.vsk-constituency-page .vsk-key-issue-text li {
    margin-bottom: 5px;
}


/* =========================================================
   SECTION SPACING
   ========================================================= */

.vsk-constituency-page .vsk-constituency-key-issues {
    margin-top: 64px;
    margin-bottom: 64px;
}


/* =========================================================
   SECTION INTRO
   ========================================================= */

.vsk-constituency-page .vsk-constituency-key-issues
.vsk-section-intro {
    max-width: 760px;
    margin-top: 12px;

    color: #52606d;

    font-size: 1rem;
    line-height: 1.7;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .vsk-constituency-page .vsk-key-issues-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .vsk-constituency-page .vsk-key-issue-card {
        padding: 20px;
        gap: 14px;
    }

    .vsk-constituency-page .vsk-key-issue-icon {
        flex-basis: 44px;

        width: 44px;
        height: 44px;

        font-size: 1.3rem;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .vsk-constituency-page .vsk-key-issues-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .vsk-constituency-page .vsk-key-issue-card {
        padding: 18px;
        gap: 14px;
    }

    .vsk-constituency-page .vsk-key-issue-icon {
        flex: 0 0 42px;

        width: 42px;
        height: 42px;

        font-size: 1.2rem;
    }

    .vsk-constituency-page .vsk-key-issue-content h3 {
        font-size: 1rem;
    }

    .vsk-constituency-page .vsk-key-issue-text {
        font-size: 0.92rem;
        line-height: 1.6;
    }

}

/* =========================================================
   9. SIDEBAR FOUNDATION
   ========================================================= */

.vsk-constituency-page .vsk-constituency-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}


/* Sidebar cards */

.vsk-constituency-page .vsk-sidebar-card {
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(16, 42, 67, 0.045);
}

.vsk-constituency-page .vsk-sidebar-card h2 {
    margin: 0 0 14px;
    color: #102a43;
    font-size: 1.2rem;
    font-weight: 750;
    line-height: 1.3;
}

.vsk-constituency-page .vsk-sidebar-text {
    color: #5d6d7c;
    font-size: 0.92rem;
    line-height: 1.7;
}

.vsk-constituency-page .vsk-sidebar-text p {
    margin: 0 0 12px;
}

.vsk-constituency-page .vsk-sidebar-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   10. CURRENT MP
   ========================================================= */

.vsk-constituency-page .vsk-mp-photo {
    margin: 0 0 18px;
}

.vsk-constituency-page .vsk-mp-photo img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
}

.vsk-constituency-page .vsk-mp-name {
    margin-bottom: 5px !important;
}

.vsk-constituency-page .vsk-mp-position {
    color: #64748b;
    font-size: 0.88rem;
}

.vsk-constituency-page .vsk-mp-party {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 9px;
    background: #eef3f7;
    border-radius: 6px;
    color: #3f5568;
    font-size: 0.76rem;
    font-weight: 700;
}

.vsk-constituency-page .vsk-mp-profile-link {
    display: inline-block;
    margin-top: 18px;
    color: #102a43;
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
}

.vsk-constituency-page .vsk-mp-profile-link:hover {
    color: #b2871b;
}


/* =========================================================
   11. CIVIC INFORMATION
   ========================================================= */

.vsk-constituency-page .vsk-sidebar-did-you-know {
    border-left: 4px solid #d4a72c;
}

.vsk-constituency-page .vsk-sidebar-before-vote {
    border-left: 4px solid #102a43;
}

.vsk-constituency-page .vsk-sidebar-landmarks {
    border-left: 4px solid #64748b;
}


/* =========================================================
   12. MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .vsk-constituency-page .vsk-constituency-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .vsk-constituency-page .vsk-constituency-sidebar {
        order: 1;
    }

    .vsk-constituency-page .vsk-constituency-main {
        order: 2;
    }

    .vsk-constituency-page .vsk-constituency-content {
        padding: 48px 0 60px;
    }

}


@media (max-width: 700px) {

    .vsk-constituency-page .vsk-container {
        width: min(100% - 28px, 1200px);
    }

    .vsk-constituency-page .vsk-constituency-main > section {
        margin-bottom: 56px;
    }

    .vsk-constituency-page .vsk-key-issues-grid {
        grid-template-columns: 1fr;
    }

    .vsk-constituency-page .vsk-history-card,
    .vsk-constituency-page .vsk-politics-card,
    .vsk-constituency-page .vsk-economy-card,
    .vsk-constituency-page .vsk-development-card {
        padding: 22px;
    }

}


@media (max-width: 600px) {

    .vsk-constituency-page .vsk-sidebar-card {
        padding: 21px;
    }

    .vsk-constituency-page .vsk-constituency-section-heading {
        margin-bottom: 24px;
    }

    .vsk-constituency-page .vsk-constituency-section-heading h2 {
        font-size: 1.75rem;
    }

    .vsk-constituency-page .vsk-section-intro {
        font-size: 0.94rem;
    }

    .vsk-constituency-page .vsk-key-issue-card {
        padding: 20px;
    }

    .vsk-constituency-page .vsk-mp-photo img {
        height: 220px;
    }

}

/* =========================================================
   CONSTITUENCY CIVIC ACTION CTA
   ========================================================= */

.vsk-constituency-page .vsk-constituency-cta {
    position: relative;

    width: 100%;
    margin: 72px 0 20px;

    box-sizing: border-box;

    background: #102a43;
    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 12px 30px rgba(16, 42, 67, 0.12);
}


/* Gold accent line */

.vsk-constituency-page .vsk-constituency-cta::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: #d4a72c;
}


/* CTA content */

.vsk-constituency-page .vsk-constituency-cta-content {
    max-width: 820px;

    margin: 0 auto;

    padding: 52px 40px;

    text-align: center;

    box-sizing: border-box;
}


/* Label */

.vsk-constituency-page .vsk-constituency-cta
.vsk-section-label {
    margin-bottom: 12px;

    color: #d4a72c;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.14em;
    line-height: 1.4;

    text-transform: uppercase;
}


/* Heading */

.vsk-constituency-page .vsk-constituency-cta h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(1.8rem, 3vw, 2.6rem);

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -0.02em;
}


/* Description */

.vsk-constituency-page .vsk-constituency-cta p {
    max-width: 680px;

    margin: 18px auto 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 1rem;

    line-height: 1.7;
}


/* =========================================================
   CTA BUTTONS
   ========================================================= */

.vsk-constituency-page .vsk-constituency-cta-actions {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 28px;
}


/* Primary */

.vsk-constituency-page .vsk-cta-primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 22px;

    box-sizing: border-box;

    background: #d4a72c;
    color: #102a43;

    border: 1px solid #d4a72c;
    border-radius: 8px;

    font-size: 0.92rem;
    font-weight: 750;

    line-height: 1.2;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.vsk-constituency-page .vsk-cta-primary:hover {
    background: #e2b83f;
    border-color: #e2b83f;

    color: #102a43;

    transform: translateY(-2px);
}


/* Secondary */

.vsk-constituency-page .vsk-cta-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 12px 22px;

    box-sizing: border-box;

    background: transparent;
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;

    font-size: 0.92rem;
    font-weight: 700;

    line-height: 1.2;

    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.vsk-constituency-page .vsk-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);

    border-color: rgba(255, 255, 255, 0.75);

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .vsk-constituency-page .vsk-constituency-cta {
        margin-top: 52px;

        border-radius: 14px;
    }


    .vsk-constituency-page .vsk-constituency-cta-content {
        padding: 40px 22px;
    }


    .vsk-constituency-page .vsk-constituency-cta h2 {
        font-size: 1.75rem;
    }


    .vsk-constituency-page .vsk-constituency-cta p {
        font-size: 0.94rem;
        line-height: 1.65;
    }


    .vsk-constituency-page .vsk-constituency-cta-actions {
        flex-direction: column;

        width: 100%;
    }


    .vsk-constituency-page .vsk-cta-primary,
    .vsk-constituency-page .vsk-cta-secondary {
        width: 100%;
    }

}

/* =========================================================
   CONSTITUENCY CONCLUSION
   ========================================================= */

.vsk-constituency-page .vsk-constituency-conclusion {
    margin: 72px 0 30px;
    padding: 40px;

    background: #f7f9fb;

    border: 1px solid #e3e8ed;
    border-radius: 16px;

    box-sizing: border-box;
}


/* Label */

.vsk-constituency-page .vsk-constituency-conclusion
.vsk-section-label {
    margin-bottom: 10px;

    color: #d4a72c;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


/* Heading */

.vsk-constituency-page .vsk-constituency-conclusion h2 {
    margin: 0 0 18px;

    color: #102a43;

    font-size: clamp(1.7rem, 3vw, 2.3rem);

    font-weight: 800;

    line-height: 1.2;

    letter-spacing: -0.02em;
}


/* Conclusion text */

.vsk-constituency-page .vsk-constituency-conclusion-text {
    max-width: 780px;

    color: #52606d;

    font-size: 1rem;

    line-height: 1.8;
}


.vsk-constituency-page .vsk-constituency-conclusion-text p {
    margin: 0 0 14px;
}


.vsk-constituency-page .vsk-constituency-conclusion-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   NEXT CONSTITUENCY
   ========================================================= */

.vsk-constituency-page .vsk-constituency-next {
    margin-top: 32px;

    padding-top: 24px;

    border-top: 1px solid #dfe5ea;
}


.vsk-constituency-page .vsk-next-label {
    margin-bottom: 9px;

    color: #7b8794;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;
}


/* Next constituency link */

.vsk-constituency-page .vsk-next-constituency {
    display: flex;

    align-items: center;

    gap: 10px;

    width: fit-content;
    max-width: 100%;

    color: #102a43;

    text-decoration: none;

    line-height: 1.3;

    flex-wrap: wrap;
}


.vsk-constituency-page .vsk-next-constituency span:first-child {
    color: #52606d;

    font-size: 0.88rem;
}


.vsk-constituency-page .vsk-next-constituency strong {
    color: #102a43;

    font-size: 1rem;
    font-weight: 800;
}


.vsk-constituency-page .vsk-next-arrow {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    margin-left: 4px;

    background: #d4a72c;

    border-radius: 50%;

    color: #102a43;

    font-size: 1rem;
    font-weight: 800;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.vsk-constituency-page .vsk-next-constituency:hover
.vsk-next-arrow {
    transform: translateX(4px);

    background: #e2b83f;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .vsk-constituency-page .vsk-constituency-conclusion {
        margin-top: 52px;

        padding: 28px 20px;

        border-radius: 14px;
    }


    .vsk-constituency-page .vsk-constituency-conclusion h2 {
        font-size: 1.65rem;
    }


    .vsk-constituency-page .vsk-constituency-conclusion-text {
        font-size: 0.94rem;
        line-height: 1.7;
    }


    .vsk-constituency-page .vsk-next-constituency {
        align-items: flex-start;
    }

}

/* =========================================================
   JAVASCRIPT STICKY NAVIGATION
   ========================================================= */

.vsk-constituency-page .vsk-constituency-quick-nav.vsk-nav-stuck {
    position: fixed;

    left: 0;
    right: 0;

    width: 100%;

    z-index: 9999;

    background: #ffffff;

    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;

    box-shadow: 0 3px 12px rgba(16, 42, 67, 0.08);
}


/*
 * Prevent the page from jumping when the navigation
 * changes from normal flow to fixed positioning.
 */

.vsk-constituency-page .vsk-constituency-quick-nav.vsk-nav-stuck::after {
    content: "";
    display: block;
    height: 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .vsk-constituency-page
    .vsk-constituency-quick-nav.vsk-nav-stuck {

        width: 100%;
    }

}