:root {
    --bg: #edf3f7;
    --card: #ffffff;
    --ink: #122638;
    --muted: #587084;
    --brand: #0d3f67;
    --brand2: #0a2e4c;
    --accent: #c69435;
    --line: #d5e0e8;
    --shadow: 0 22px 50px rgba(10, 46, 76, .12);
    --radius: 24px;
    --max: 1220px;

    /* --bg: #f5f7fb; */
    --panel: #ffffff;
    --panel-soft: #eef3ff;
    --text: #111827;
    --muted: #5b6475;
    --line: #dde5f1;
    --brand: #1459ff;
    --brand-dark: #0f43bf;
    --accent: #13b981;
    --shadow: 0 20px 50px rgba(17, 24, 39, 0.10);
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --container: 1220px;

    --rect-x: 175px;
    --rect-y: 175px;
    --rect-w: 150px;
    --rect-h: 150px;
    --rect-color: #e11d48;
    --handle-size: 10px;
    --cursor-size: 12px;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: inherit
}

.wrap {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto
}

.topbar {
    background: var(--brand2);
    color: rgba(255, 255, 255, .9);
    padding: 12px 0;
    font-size: .95rem
}

.topbar .wrap,
.header .wrap,
.hero,
.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap
}

.site-nav a {
    font-weight: 700;
    color: var(--muted);
    margin-left: 22px
}

.site-nav a:hover {
    color: var(--brand)
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(248, 251, 253, .9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(213, 224, 232, .9)
}

.header .wrap {
    padding: 16px 0
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px
}

.logo {
    width: clamp(230px, 28vw, 320px);
    height: auto;
    display: block
}

.logo img {
    width: 100%;
    height: auto;
    display: block
}

.brand-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    font-weight: 500
}

h1,
h2,
h3,
h4 {
    margin: 0 0 10px;
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    letter-spacing: -.03em;
    line-height: 1.05
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: .2s transform, .2s box-shadow
}

.button:hover {
    transform: translateY(-1px)
}

.button:disabled {
    cursor: wait;
    opacity: .72;
    transform: none
}

.button-primary {
    background: linear-gradient(135deg, var(--brand), #1b5a8d);
    color: #fff;
    box-shadow: 0 14px 28px rgba(13, 63, 103, .24)
}

.button-secondary {
    background: #fff;
    color: var(--brand);
    border: 1px solid var(--line)
}

.hero-wrap {
    padding: 34px 0 28px
}

.hero {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 28px;
    align-items: stretch
}

.panel {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 30px;
    box-shadow: var(--shadow)
}

.hero-copy {
    padding: 44px
}

.eyebrow {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(13, 63, 103, .08);
    border: 1px solid rgba(13, 63, 103, .12);
    font-size: .84rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--brand)
}

.hero-copy h2 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    margin-top: 18px
}

.hero-copy p {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 60ch
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 28px 0
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none
}

.hero-points li {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    color: var(--muted);
    font-weight: 700
}

.hero-summary {
    padding: 22px;
    display: grid;
    gap: 16px
}

.hero-image,
.media {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(13, 63, 103, .07), rgba(198, 148, 53, .13)), #fff
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px
}

.stat {
    padding: 18px 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #f8fbfd
}

.stat strong {
    display: block;
    font-size: 1.9rem;
    line-height: 1;
    color: var(--brand);
    margin-bottom: 8px
}

.stat span {
    color: var(--muted);
    font-size: .95rem;
    font-weight: 700
}

section {
    padding: 28px 0
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 22px
}

.section-head h3 {
    font-size: clamp(1.9rem, 3vw, 2.9rem)
}

.section-head p {
    margin: 0;
    max-width: 70ch;
    color: var(--muted)
}

.grid-4,
.grid-3,
.grid-2 {
    display: grid;
    gap: 20px
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.card {
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(18, 38, 56, .07)
}

.card.pad {
    padding: 24px
}

.kicker {
    display: inline-block;
    margin-bottom: 14px;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand)
}

.card p,
.card li,
.note {
    color: var(--muted)
}

.card ul {
    margin: 14px 0 0;
    padding-left: 18px
}

.showcase {
    overflow: hidden
}

.showcase .copy {
    padding: 24px
}

.promo {
    padding: 28px;
    display: grid;
    gap: 20px
}

.placeholder {
    min-height: 220px;
    border-radius: 20px;
    border: 1px dashed rgba(13, 63, 103, .35);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 18px;
    color: var(--brand);
    font-weight: 800;
    background: linear-gradient(135deg, rgba(13, 63, 103, .08), rgba(198, 148, 53, .14)), #fff
}

.vectormaps-demo .hero-card {
    --rect-x: 175px;
    --rect-y: 175px;
    --rect-w: 150px;
    --rect-h: 150px;
    --rect-color: #e11d48;
    --handle-size: 10px;
    --cursor-size: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    border: 1px solid rgba(221, 229, 241, .9);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(17, 24, 39, .1)
}

.vectormaps-demo .demo-shell {
    padding: 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    border: 1px solid #dde7fb
}

.vectormaps-demo .demo-wrap {
    display: grid;
    gap: 16px;
    place-items: center
}

.vectormaps-demo .map-frame {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 18px;
    overflow: hidden;
    background: #e9edf3;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18)
}

.vectormaps-demo .map-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover
}

.vectormaps-demo .selection-rect {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--rect-w);
    height: var(--rect-h);
    transform: translate(var(--rect-x), var(--rect-y));
    border: 2px solid var(--rect-color);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 3
}

.vectormaps-demo .handle {
    position: absolute;
    width: var(--handle-size);
    height: var(--handle-size);
    background: #fff;
    border: 2px solid var(--rect-color);
    box-sizing: border-box
}

.vectormaps-demo .handle.tl {
    top: calc(var(--handle-size)*-.5);
    left: calc(var(--handle-size)*-.5)
}

.vectormaps-demo .handle.tr {
    top: calc(var(--handle-size)*-.5);
    right: calc(var(--handle-size)*-.5)
}

.vectormaps-demo .handle.bl {
    bottom: calc(var(--handle-size)*-.5);
    left: calc(var(--handle-size)*-.5)
}

.vectormaps-demo .handle.br {
    bottom: calc(var(--handle-size)*-.5);
    right: calc(var(--handle-size)*-.5)
}

.vectormaps-demo .preview-content {
    position: absolute;
    inset: 2px;
    background: #fff;
    overflow: hidden;
    opacity: 0;
    transition: opacity .3s ease
}

.vectormaps-demo .preview-content.is-visible {
    opacity: 1
}

.vectormaps-demo .preview-content img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover
}

.vectormaps-demo .spinner {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 4
}

.vectormaps-demo .spinner.is-visible {
    opacity: 1
}

.vectormaps-demo .spinner::after {
    content: "";
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 5px solid rgba(0, 0, 0, .2);
    border-top-color: #111;
    animation: vectormaps-spin 1s linear infinite
}

.vectormaps-demo .cursor {
    position: absolute;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border-radius: 50%;
    background: #111;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .6)
}

.vectormaps-demo .cursor.is-visible {
    opacity: 1
}

.footer {
    margin-top: 30px;
    background: linear-gradient(180deg, #10283f 0%, #0b1d2f 100%);
    color: rgba(255, 255, 255, .9);
    padding: 34px 0 14px
}

.footer-grid {
    align-items: flex-start
}

.footer-col p,
.footer-col a,
.copyright {
    color: rgba(255, 255, 255, .72)
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0
}

.footer-col li {
    margin-bottom: 10px
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 18px;
    padding-top: 14px
}

@keyframes vectormaps-spin {
    to {
        transform: rotate(360deg)
    }
}

@media (max-width:1100px) {

    .hero,
    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr
    }

    .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media (max-width:760px) {
    .site-nav a {
        margin: 0 18px 0 0
    }

    .hero-copy,
    .hero-summary,
    .card.pad,
    .promo {
        padding: 22px
    }

    .hero-points,
    .stats {
        grid-template-columns: 1fr
    }

    .brand h1 {
        font-size: 1.55rem
    }

    .logo {
        width: 230px
    }

    .vectormaps-demo .map-frame {
        width: min(100%, 500px);
        height: auto;
        aspect-ratio: 1/1
    }

    .vectormaps-demo .demo-shell {
        padding: 10px
    }
}

/* **************************************** */
/* * Ward Detail Page */
/* **************************************** */
body.ward-detail-body {
    background: white;
}

body.ward-detail-body .header {
    background: white;
}

.ward-page {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    padding: 34px 0 66px
}

.ward-page h1,
.ward-page h2,
.ward-page h3,
.ward-page h4 {
    color: var(--ink);
    letter-spacing: 0
}

.ward-page a {
    color: #0f5fa8
}

.ward-page a:hover {
    color: #0a2e4c
}

.ward-page :where(a, button):focus-visible {
    outline: 3px solid rgba(224, 49, 64, .38);
    outline-offset: 3px
}

.ward-page .breadbrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 6px 0 20px;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 700
}

.ward-page .breadbrumbs a {
    color: #315e83
}

.ward-page .breadrumb-chevron {
    display: inline-flex;
    width: 16px;
    color: #9aacbb
}

.ward-page .directory-h1 {
    max-width: 920px;
    margin: 0 0 12px;
    font-size: clamp(2.45rem, 5vw, 4.85rem);
    line-height: .98
}

.ward-page .directory-h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin-top: 18px;
    border-radius: 999px;
    background: #e03140
}

.ward-page .directory-intro {
    max-width: 820px;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.35vw, 1.18rem);
    line-height: 1.68
}

.ward-page .ward-image-purchase-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
    padding: 14px 0 42px
}

.ward-page .ward-image-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(220px, .8fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    aspect-ratio: 16 / 9
}

.ward-page .ward-image-grid > img,
.ward-page .ward-protected-image-wrap {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(13, 63, 103, .07), rgba(224, 49, 64, .06)), #eef3f7;
    color: transparent;
    font-size: 0
}

.ward-page .ward-protected-image-wrap {
    position: relative;
    cursor: default;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none
}

.ward-page .ward-sample-image {
    grid-column: 2;
    grid-row: 1
}

.ward-page .ward-sample-enlarge-button {
    position: absolute;
    z-index: 3;
    right: 10px;
    bottom: 10px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 6px;
    background: rgba(15, 23, 42, .88);
    color: #fff;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    cursor: zoom-in
}

.ward-page .ward-sample-enlarge-button:hover,
.ward-page .ward-sample-enlarge-button:focus-visible {
    background: var(--brand);
    outline: 3px solid rgba(26, 99, 212, .45);
    outline-offset: 2px
}

.ward-page .ward-detail-image {
    position: relative;
    display: block;
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #eef3f7;
    color: var(--ink);
    font: inherit;
    text-align: left;
    cursor: zoom-in
}

.ward-page .ward-detail-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease
}

.ward-page .ward-detail-image:hover img,
.ward-page .ward-detail-image:focus-visible img {
    transform: scale(1.035)
}

.ward-page .ward-detail-image:focus-visible {
    outline: 3px solid rgba(26, 99, 212, .45);
    outline-offset: 3px
}

.ward-page .ward-detail-image-label {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    gap: 2px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 6px;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    font-size: .76rem;
    line-height: 1.2;
    pointer-events: none
}

.ward-page .ward-detail-image-label strong {
    font-size: .84rem
}

.ward-page .ward-detail-image-label span {
    color: var(--brand);
    font-weight: 800
}

.ward-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, .76);
    backdrop-filter: blur(6px)
}

.ward-detail-modal.is-open {
    display: flex
}

body.ward-detail-modal-open {
    overflow: hidden
}

.ward-detail-modal-card {
    position: relative;
    width: min(1120px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: clamp(18px, 3vw, 30px);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .32)
}

.ward-detail-modal-card h2 {
    margin: 0 52px 6px 0;
    font-size: clamp(1.35rem, 2.6vw, 2rem)
}

.ward-detail-modal-card p {
    margin: 0 52px 18px 0;
    color: var(--muted)
}

.ward-detail-modal-card img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 220px);
    object-fit: contain;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px
}

.ward-sample-modal-image {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
}

.ward-detail-modal-card .ward-sample-modal-image img {
    max-height: calc(100vh - 220px);
    border: 0;
    border-radius: 0
}

.ward-detail-modal-card.constituency-landscape-modal-card {
    width: min(1460px, calc(100vw - 48px), calc(141.36vh - 308px))
}

.constituency-landscape-modal-card .ward-sample-modal-image {
    width: min(100%, 1400px, calc(141.36vh - 368px));
    aspect-ratio: 7000 / 4952;
    margin: 0 auto;
    background: #fff
}

.ward-detail-modal-card.constituency-landscape-modal-card .ward-sample-modal-image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain
}

.ward-detail-modal-card.constituency-detail-modal-card {
    width: min(1010px, calc(100vw - 48px), calc(105.06vh - 213px))
}

.constituency-detail-modal-card .ward-sample-modal-image {
    width: min(100%, 950px, calc(105.06vh - 273px));
    aspect-ratio: 4378 / 4167;
    margin: 0 auto;
    background: #fff
}

.ward-detail-modal-card.constituency-detail-modal-card .ward-sample-modal-image img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain
}

.constituency-image-protection {
    -webkit-touch-callout: none;
    user-select: none
}

.ward-sample-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    gap: 3px;
    width: max-content;
    color: #00000063;
    font-weight: 900;
    letter-spacing: .14em;
    line-height: .9;
    text-align: center;
    pointer-events: none;
    transform: translate(-50%, -50%);
    font-size: clamp(4.2rem, 10vw, 10.5rem);
}

.ward-sample-watermark span {
    font-size: .2em;
    letter-spacing: .22em
}

.ward-sample-image-protection {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent
}

.ward-sample-modal-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-top: 18px
}

.ward-sample-modal-actions button {
    min-height: 52px;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    cursor: pointer
}

.ward-sample-modal-actions .buy-print-btn {
    border: 1px solid #cfdbe4;
    background: #fff;
    color: var(--ink)
}

.ward-sample-modal-actions span {
    display: inline-flex;
    align-items: center;
    gap: 9px
}

.ward-sample-modal-actions span:last-child {
    display: flex;
    flex-direction: column;
    gap: 0;
    justify-content: flex-end;
    font-size: 1.22rem;
    line-height: 1.05;
    white-space: nowrap
}

.ward-sample-modal-actions sup {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase
}

.ward-sample-modal-actions svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px
}

.ward-detail-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 26px;
    line-height: 1.4;
    cursor: pointer
}

.ward-detail-modal-close:hover,
.ward-detail-modal-close:focus-visible {
    border-color: var(--brand);
    background: #eef4ff;
    outline: none
}

.ward-page .ward-protected-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none
}

.ward-page .ward-image-protection {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent
}

.ward-page .ward-boundary-map {
    position: relative;
    z-index: 0;
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
    height: 100%;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(13, 63, 103, .06), rgba(198, 148, 53, .1)), #eef3f7;
}

.ward-page .ward-boundary-map.leaflet-container {
    background: #f2eedf
}

.ward-page .ward-boundary-map .leaflet-control-container {
    display: none
}

.ward-page .ward-boundary-map .leaflet-tile {
    max-width: none !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: 0;
    background: transparent !important
}

.ward-page .ward-boundary-map .leaflet-pane,
.ward-page .ward-boundary-map .leaflet-top,
.ward-page .ward-boundary-map .leaflet-bottom {
    z-index: 1
}

.ward-page .ward-image-grid-sample-left .ward-boundary-map {
    grid-column: 2;
    grid-row: 1;
    min-height: 0
}

.ward-page .ward-image-grid-sample-left .ward-sample-image {
    grid-column: 1;
    grid-row: 1 / 3
}

.ward-page .constituency-primary-image {
    object-fit: contain;
    background: #fff
}

.ward-page .ward-image-grid-sample-missing .ward-boundary-map {
    grid-column: 1;
    grid-row: 1 / 3;
    min-height: 430px
}

.ward-page .ward-image-grid-sample-missing .ward-sample-image {
    visibility: hidden;
    pointer-events: none
}

.ward-page .ward-image-grid > img:first-child {
    grid-row: 1 / 3
}

.ward-page .ward-image-grid > img[src=""] {
    visibility: hidden;
    pointer-events: none
}

.ward-page .purchase-setion {
    position: sticky;
    top: 116px;
    display: grid;
    gap: 13px;
    padding: 24px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
}

.ward-page .purchase-setion h2 {
    margin: 0;
    font-size: clamp(1.38rem, 2vw, 1.85rem)
}

.ward-page .purchase-setion p {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: .94rem;
    line-height: 1.45
}

.ward-page .purchase-setion button,
.ward-page .regular-btn,
.ward-page .secondary-btn {
    min-height: 52px;
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease
}

.ward-page .purchase-setion button:hover,
.ward-page .regular-btn:hover,
.ward-page .secondary-btn:hover {
    transform: translateY(-1px)
}

.buy-files-btn,
.buy-print-btn,
.custom-map-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 13px 16px;
    text-align: left
}

.buy-files-btn {
    border: 1px solid #b91c2b;
    background: #dc2436;
    color: #fff;
}

.ward-page .buy-print-btn {
    border: 1px solid #cfdbe4;
    background: #fff;
    color: var(--ink)
}

.ward-page .custom-map-btn {
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--brand);
    padding: 0;
}

.ward-page .buy-files-btn span,
.ward-page .buy-print-btn span,
.ward-page .custom-map-btn span {
    display: inline-flex;
    align-items: center;
    gap: 9px
}

.ward-page .buy-files-btn span:last-child,
.ward-page .buy-print-btn span:last-child {
    font-size: 1.22rem;
    line-height: 1.05;
    white-space: nowrap;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    gap: 0;
}

.ward-page .buy-print-btn sup {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase
}

.ward-page .purchase-setion svg,
.ward-page .regular-btn svg,
.ward-page .secondary-btn svg,
.ward-page .authority-profile svg,
.ward-page .figure-tab svg,
.ward-page .trust-icon svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px
}

.ward-page .purchase-trust-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--line)
}

.ward-page .trust-icon {
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    line-height: 1.25
}

.ward-page .trust-icon svg {
    color: var(--brand)
}

/* **************************************** */
/* * Clacton By-Election Purchase Details */
/* **************************************** */
.clacton-download-includes {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--ink);
    font-size: .82rem;
    line-height: 1.45
}

.clacton-download-includes strong {
    display: block;
    margin-bottom: 5px
}

.clacton-download-includes ul {
    display: grid;
    gap: 2px;
    margin: 0;
    padding-left: 18px
}

.clacton-by-election-page {
    padding-bottom: 86px
}

.constituency-sticky-purchase {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    padding: 10px 22px;
    border-top: 1px solid #d5e0e8;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 28px rgba(15, 23, 42, .14);
    backdrop-filter: blur(10px)
}

.constituency-sticky-purchase-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, 100%);
    margin: 0 auto
}

.constituency-sticky-purchase-copy {
    display: grid;
    gap: 2px;
    color: var(--ink)
}

.constituency-sticky-purchase-copy strong {
    font-size: .96rem
}

.constituency-sticky-purchase-copy span {
    color: var(--muted);
    font-size: .78rem
}

.constituency-sticky-purchase-actions {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 10px
}

.constituency-sticky-purchase-actions button {
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 8px;
    font: inherit;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer
}

.constituency-sticky-purchase-download {
    border: 1px solid #b91c2b;
    background: #dc2436;
    color: #fff
}

.constituency-sticky-purchase-print {
    border: 1px solid #cfdbe4;
    background: #fff;
    color: var(--ink)
}

.ward-detail-modal-card.custom-map-contact-modal-card {
    width: min(560px, calc(100vw - 48px));
    padding: 30px
}

.custom-map-contact-modal-card > p {
    margin-right: 0
}

.custom-map-contact-form {
    display: grid;
    gap: 14px
}

.custom-map-contact-field {
    display: grid;
    gap: 6px;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 800
}

.custom-map-contact-field input,
.custom-map-contact-field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cfdbe4;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-weight: 400
}

.custom-map-contact-field textarea {
    min-height: 130px;
    resize: vertical
}

.custom-map-contact-field input:focus,
.custom-map-contact-field textarea:focus {
    border-color: var(--brand);
    outline: 2px solid rgba(20, 89, 255, .15)
}

.custom-map-contact-submit {
    min-height: 48px;
    padding: 11px 16px;
    border: 1px solid #b91c2b;
    border-radius: 8px;
    background: #dc2436;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer
}

.custom-map-contact-submit:disabled {
    cursor: wait;
    opacity: .65
}

.custom-map-contact-modal-card .custom-map-contact-status {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 800
}

.custom-map-contact-status:empty {
    display: none
}

.custom-map-contact-status.is-success {
    color: #166534
}

.custom-map-contact-status.is-error {
    color: #b91c2b
}

.custom-map-contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden
}

/* **************************************** */
/* * Ward Download Payment */
/* **************************************** */
.ward-download-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, .58);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.ward-download-payment-modal.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.ward-download-payment-modal[hidden] {
    display: none;
}

body.ward-download-payment-open {
    overflow: hidden;
}

.ward-download-payment-card {
    position: relative;
    width: min(980px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
}

.ward-download-payment-close {
    position: absolute;
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #4b5563;
    font-size: 44px;
    font-weight: 300;
    line-height: .8;
    cursor: pointer;
}

.ward-download-payment-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(360px, 1fr);
    gap: 35px;
    padding: 36px 34px 32px;
}

.ward-download-payment-details h2 {
    margin: 0;
    color: #050505;
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0;
}

.ward-download-payment-subtitle {
    margin: 14px 0 30px;
    color: #59606a;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.35;
}

.ward-download-payment-summary h3,
.ward-download-payment-complete h3 {
    margin: 0 0 18px;
    color: #111111;
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: 1.34rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
}

.ward-download-payment-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 15px 0;
    color: #373d45;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.ward-download-payment-row strong {
    flex: 0 0 auto;
    color: #111111;
    font-weight: 900;
}

.ward-download-payment-total {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 2px solid #e5e7eb;
    color: #111111;
    font-size: 1.42rem;
    font-weight: 900;
}

.ward-download-payment-total strong {
    font-size: 1.64rem;
}

.ward-download-payment-points {
    display: flex;
    gap: 10px;
    margin-top: 32px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.ward-download-payment-point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #44515f;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.35;
}

.ward-download-payment-point svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: var(--brand);
}

.ward-download-payment-checkout {
    min-width: 0;
}

.ward-download-payment-section-title {
    margin: 0 0 14px;
    color: #111111;
    font-size: 1.34rem;
    font-weight: 900;
    line-height: 1.2;
}

.ward-download-payment-status {
    min-height: 20px;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.35;
}

.ward-download-payment-status:empty {
    display: none;
}

#wardDownloadPaymentElement,
#wardPrintPaymentElement {
    margin-bottom: 18px;
    margin-top: 18px;
}

.ward-download-payment-submit,
.ward-download-payment-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    border-radius: 8px;
    font: inherit;
    font-size: 1.06rem;
    font-weight: 900;
    cursor: pointer;
}

.ward-download-payment-submit {
    gap: 12px;
    border: 0;
    background: #ff9a00;
    color: #ffffff;
}

.ward-download-payment-submit:disabled {
    opacity: .72;
    cursor: not-allowed;
}

.ward-download-payment-submit svg {
    width: 19px;
    height: 19px;
}

.ward-download-payment-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.ward-download-payment-secondary {
    margin-top: 14px;
    border: 1px solid #d6dbe2;
    background: #ffffff;
    color: #111111;
}

.ward-download-payment-message {
    margin-top: 12px;
    color: #b42318;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.35;
}

.ward-download-payment-message[hidden],
.ward-download-payment-complete[hidden],
.ward-download-payment-spinner[hidden],
#wardDownloadPaymentButtonText[hidden],
#wardPrintPaymentButtonText[hidden],
#wardPrintPaymentCheckout[hidden] {
    display: none;
}

.ward-download-payment-complete {
    margin-top: 12px;
    padding: 18px;
    border: 1px solid #a9dabf;
    border-radius: 8px;
    background: #fcfffd;
}

.ward-download-payment-complete p {
    margin: 0;
    color: #44515f;
    font-weight: 700;
}

.ward-download-payment-secure {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 30px 0 0;
    color: #5f6670;
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.45;
    justify-content: center;
}

.ward-download-payment-secure svg {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
}

.ward-download-payment-secure strong {
    color: #333941;
    font-size: 1.04rem;
    font-weight: 900;
}

.ward-print-payment-modal .ward-download-payment-card {
    width: min(1040px, calc(100vw - 48px));
}

.ward-print-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ward-print-field {
    display: block;
    margin: 12px 0;
}

.ward-print-field span,
.ward-print-checkbox span {
    display: block;
    margin-bottom: 5px;
    color: #334155;
    font-size: .8rem;
    font-weight: 900;
    line-height: 1.2;
}

.ward-print-field input,
.ward-print-field select {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 9px 10px;
    background: #ffffff;
    color: #111827;
    font: inherit;
    font-size: .95rem;
}

.ward-print-field input:focus,
.ward-print-field select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand);
}

.ward-print-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0;
}

.ward-print-switcher-btn {
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    font: inherit;
    font-size: .92rem;
    font-weight: 900;
    cursor: pointer;
}

.ward-print-switcher-btn.is-active {
    border-color: #176b4d;
    background: #176b4d;
    color: #ffffff;
}

.ward-print-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 20px;
    color: #334155;
    font-size: .9rem;
    font-weight: 800;
}

.ward-print-checkbox input {
    flex: 0 0 auto;
}

.ward-print-checkbox span {
    margin: 0;
}

.ward-print-address-fields {
    margin-bottom: 10px;
}

#wardPrintEditDetailsBtn,
#wardPrintBackToPreview {
    margin-bottom: 14px;
}

#wardPrintBackToPreview {
    margin-bottom: 0;
}

.ward-page .ward-facts-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
    gap: 18px;
    align-items: flex-start;
    padding: 36px 0 44px;
    border-top: 1px solid var(--line)
}

.ward-page .ward-facts-row.constituency-custom-map-row {
    grid-template-columns: 1fr
}

.ward-page .constituency-custom-map-row .facts-box {
    width: min(100%, 760px);
    margin: 0 auto
}

.ward-page .facts-box,
.ward-page .election-box,
.ward-page .questions-box,
.ward-page .related-wards {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none
}

.ward-page .facts-box {
    padding: 22px;
    /* border: 1px solid #11170e1a; */
    border-radius: 8px;
    background: #fff;
}

.ward-page .facts-box h2,
.ward-page .election-box > h2,
.ward-page .questions-box h2 {
    font-size: clamp(1.32rem, 2.1vw, 1.95rem)
}

.ward-page .facts-box p,
.ward-page .election-box p,
.ward-page .questions-box p,
.ward-page .candidate-info h4 {
    color: var(--muted)
}

.ward-page .section-copy {
    max-width: 860px;
    margin: 8px 0 18px;
    color: #4f6475;
    font-size: .98rem;
    line-height: 1.62
}

.ward-page .facts-box .section-copy {
    margin-bottom: 16px
}

.ward-page .election-chart-box .section-copy {
    margin: 6px 0 16px
}

.ward-page .facts-box img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin: 16px 0;
    border: 1px dashed rgba(13, 63, 103, .26);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(13, 63, 103, .07), rgba(224, 49, 64, .06)), #eef3f7;
    color: transparent;
    font-size: 0
}

.ward-page .regular-btn,
.ward-page .secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(13, 63, 103, .22);
    background: #fff;
    color: var(--brand);
    padding: 0 18px
}

.ward-page .authority-box {
    display: grid;
    gap: 18px
}

.ward-page .authority-box-row {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.ward-page .authority-box h2 {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 0;
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1.2
}

.ward-page .authority-box h2 span {
    color: var(--brand)
}

.ward-page .authority-profile {
    display: flex;
    gap: 18px;
    align-items: flex-start
}

.ward-page .authority-profile h3 {
    margin-bottom: 10px;
    color: #1265d8;
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.25
}

.ward-page .authority-profile p {
    margin: 0
}

.ward-page .stripe-tbl {
    width: 100%;
    border: 1px solid #e4edf3;
    border-collapse: separate;
    border-radius: 8px;
    border-spacing: 0;
    overflow-wrap: anywhere;
    overflow: hidden;
    background: #fff;
    font-size: .98rem
}

.ward-page .stripe-tbl th,
.ward-page .stripe-tbl td {
    padding: 14px 15px;
    border-bottom: 1px solid #e7eef4;
    text-align: left;
    vertical-align: middle
}

.ward-page .stripe-tbl th {
    color: #36536a;
    background: #f7fafc;
    font-size: .84rem;
    font-weight: 900;
    text-transform: uppercase
}

.ward-page .stripe-tbl td:first-child {
    color: #36536a;
    font-weight: 800
}

.ward-page .stripe-tbl tr:last-child td {
    border-bottom: 0
}

.ward-page .facts-box > .stripe-tbl {
    border: 0;
    border-radius: 0
}

.ward-page .election-box {
    padding: 44px 0;
    margin-top: 4px;
    border-top: 1px solid var(--line)
}

.ward-page .no-election-data {
    margin-top: 20px;
    padding: 22px;
    border: 0;
    border-left: 4px solid var(--brand);
    border-radius: 8px;
    background: #f8fbfd
}

.ward-page .no-election-data h3 {
    margin-bottom: 8px;
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: 1.05rem;
    font-weight: 900
}

.ward-page .no-election-data p {
    max-width: 74ch;
    margin: 0
}

.ward-page .election-box > h2:not(:first-child) {
    margin-top: 46px;
    padding-top: 38px;
    border-top: 1px solid var(--line)
}

.ward-page .election-stats-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 20px 0 4px
}

.ward-page .elected-candidate-split {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
}

.ward-page .candidate-info h3 {
    margin-bottom: 5px;
    font-size: 1.22rem
}

.ward-page .candidate-info h4 {
    margin-bottom: 10px;
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: .98rem;
    font-weight: 800
}

.ward-page .candidate-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px
}

.ward-page .stripe-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap
}

.ward-page .badge-good {
    color: #116534;
    background: #dcfce7;
    border: 1px solid #b8ebc9
}

.ward-page .badge-neutral {
    color: #4f6375;
    background: #eef4f8;
    border: 1px solid #d7e3eb
}

.ward-page .candidate-tbl {
    width: 100%;
    overflow-x: auto;
    margin-top: 16px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
}

.ward-page .candidate-tbl .stripe-tbl {
    min-width: 760px;
    border: 0;
    border-radius: 0
}

.ward-page .figures-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px
}

.ward-page .figure-tab {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
}

.ward-page .figure-tab h4 {
    margin: 0 0 6px;
    color: var(--muted);
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase
}

.ward-page .electorate-figure {
    display: block;
    color: var(--brand);
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    font-weight: 900;
    line-height: 1.05
}

.ward-page .election-availability-note {
    margin-top: 28px;
    padding: 18px 20px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-left: 4px solid var(--brand);
    border-radius: 8px;
    background: #fff;
}

.ward-page .election-availability-note h3 {
    margin-bottom: 6px;
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: 1rem;
    font-weight: 900
}

.ward-page .election-availability-note p {
    max-width: 82ch;
    margin: 0
}

.ward-page .history-tbl .stripe-tbl {
    min-width: 860px
}

.ward-page .election-charts-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 18px;
    margin-top: 28px;
    padding-top: 38px;
    border-top: 1px solid var(--line)
}

.ward-page .election-chart-box {
    min-width: 0;
    padding: 22px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
}

.ward-page .election-chart-box h2 {
    margin-bottom: 14px;
    font-size: clamp(1.25rem, 2vw, 1.7rem)
}

.ward-page .election-chart-box canvas {
    width: 100% !important;
    height: 300px !important
}

.ward-page .party-performance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px
}

.ward-page .party-performance-item {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
}

.ward-page .party-performance-item h3 {
    margin-bottom: 8px;
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: .88rem;
    font-weight: 900;
    text-transform: uppercase
}

.ward-page .party-performance-item strong {
    display: block;
    color: var(--brand);
    font-size: clamp(1.35rem, 2.1vw, 1.85rem);
    font-weight: 900;
    line-height: 1.05
}

.ward-page .party-performance-item span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 800
}

.ward-page .previous-winners-list {
    display: grid;
    gap: 10px;
    margin-top: 16px
}

.ward-page .previous-winner-row {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff
}

.ward-page .previous-winner-row strong {
    color: var(--brand);
    font-size: 1.05rem;
    font-weight: 900
}

.ward-page .previous-winner-row span {
    color: var(--muted);
    font-weight: 700
}

.ward-page .questions-box {
    max-width: 920px;
    margin: 34px auto 0;
    padding: 40px 0 0;
    border-top: 1px solid var(--line)
}

.ward-page .questions-box h2:not(:first-child) {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line)
}

.ward-page .questions-box p {
    max-width: 72ch;
    margin: 0
}

.ward-page .related-wards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
    padding: 36px 0 0;
    border-top: 1px solid var(--line)
}

.ward-page .related-itm a {
    display: block;
    min-height: 122px;
    padding: 18px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
    color: var(--brand);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease
}

.ward-page .related-itm a:hover {
    border-color: rgba(13, 63, 103, .24);
    box-shadow: 0 14px 30px rgba(18, 38, 56, .08);
    transform: translateY(-1px)
}

.ward-page .related-itm h3 {
    margin-bottom: 12px;
    font-size: 1.12rem
}

.ward-page .related-itm h4 {
    margin: 0;
    color: var(--muted);
    font-family: "Aptos", "Segoe UI", "Trebuchet MS", sans-serif;
    font-size: .9rem;
    font-weight: 800
}

/* **************************************** */
/* * Constituency Detail Page */
/* **************************************** */
.ward-page.constituency-page .constituency-map-placeholder {
    display: grid;
    place-items: center;
    isolation: isolate
}

.ward-page.constituency-page .constituency-map-placeholder img {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .5
}

.ward-page.constituency-page .constituency-map-overlay {
    max-width: min(480px, calc(100% - 36px));
    padding: 18px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: rgba(255, 255, 255, .9);
    color: var(--ink);
    text-align: center
}

.ward-page.constituency-page .constituency-map-overlay strong {
    display: block;
    margin-bottom: 6px;
    font-size: clamp(1.35rem, 2.4vw, 2.25rem);
    font-weight: 900;
    line-height: 1.08
}

.ward-page.constituency-page .constituency-map-overlay span {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 800
}

.ward-page.constituency-page .constituency-placeholder-btn:disabled,
.ward-page.constituency-page .constituency-placeholder-btn:disabled:hover {
    cursor: not-allowed;
    opacity: .72;
    transform: none
}

.ward-page.constituency-page .constituency-figures-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.ward-page.constituency-page .constituency-wards-section {
    padding-bottom: 10px
}

.ward-page.constituency-page .related-itm p {
    margin: 8px 0 0;
    color: var(--muted);
    font-weight: 700
}

.ward-page.wards-directory-page {
    padding-bottom: 80px
}

.ward-page .wards-directory-summary {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    margin: 10px 0 34px
}

.ward-page .wards-directory-stat,
.ward-page .wards-directory-copy {
    padding: 22px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(18, 38, 56, .06)
}

.ward-page .wards-directory-stat {
    display: grid;
    align-content: center;
    gap: 8px
}

.ward-page .wards-directory-stat strong {
    color: var(--brand);
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-size: clamp(2.4rem, 4vw, 3.7rem);
    line-height: 1
}

.ward-page .wards-directory-stat span {
    color: var(--muted);
    font-weight: 800
}

.ward-page .wards-directory-copy h2 {
    font-size: clamp(1.38rem, 2.2vw, 1.95rem)
}

.ward-page .wards-directory-copy p {
    max-width: 84ch;
    margin: 0;
    color: var(--muted)
}

.ward-page .wards-pagination {
    display: grid;
    gap: 14px;
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(18, 38, 56, .04)
}

.ward-page .wards-directory-grid + .wards-pagination {
    margin: 24px 0 0
}

.ward-page .wards-pagination p {
    margin: 0;
    color: var(--muted);
    font-weight: 800
}

.ward-page .wards-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.ward-page .wards-page-links a,
.ward-page .wards-page-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
    color: var(--brand);
    font-weight: 800;
    line-height: 1
}

.ward-page .wards-page-links a:hover {
    border-color: rgba(13, 63, 103, .24);
    box-shadow: 0 8px 18px rgba(18, 38, 56, .08);
    transform: translateY(-1px)
}

.ward-page .wards-page-links .is-current {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff
}

.ward-page .wards-page-links .is-disabled {
    color: #9aacbb;
    background: #f5f8fa
}

.ward-page .wards-directory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px
}

.ward-page .ward-directory-itm a {
    min-height: 168px
}

.ward-page .ward-directory-itm p {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.35
}

.ward-page .ward-directory-itm span {
    display: block;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.35
}

@media (max-width:1050px) {
    .ward-page .ward-image-purchase-row {
        grid-template-columns: 1fr
    }

    .ward-page .purchase-setion {
        position: static
    }

    .ward-page .ward-facts-row,
    .ward-page .election-stats-split,
    .ward-page .election-charts-grid,
    .ward-page .party-performance-grid,
    .ward-page .related-wards,
    .ward-page .wards-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ward-page .wards-directory-summary {
        grid-template-columns: 1fr
    }

    .ward-page .authority-box-row {
        grid-column: 1 / -1
    }

    .ward-page .figures-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ward-download-payment-grid {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 40px 32px 34px;
    }

    .ward-download-payment-checkout {
        padding-top: 0;
    }
}

@media (max-width:760px) {
    .ward-page {
        width: min(calc(100% - 28px), var(--max));
        padding-top: 24px
    }

    .clacton-by-election-page {
        padding-bottom: 78px
    }

    .constituency-sticky-purchase {
        padding: 8px 11px
    }

    .constituency-sticky-purchase-copy {
        display: none
    }

    .constituency-sticky-purchase-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%
    }

    .constituency-sticky-purchase-actions button {
        min-height: 50px;
        padding: 8px 10px;
        font-size: .8rem;
        line-height: 1.15
    }

    .ward-page .directory-intro {
        font-size: 1.03rem
    }

    .ward-page .ward-image-purchase-row {
        gap: 18px;
        padding-bottom: 28px
    }

    .ward-page .ward-image-grid,
    .ward-page .ward-facts-row,
    .ward-page .authority-box-row,
    .ward-page .election-stats-split,
    .ward-page .election-charts-grid,
    .ward-page .related-wards,
    .ward-page .wards-directory-grid,
    .ward-page .purchase-trust-icons {
        grid-template-columns: 1fr
    }

    .ward-page .figures-tabs,
    .ward-page .party-performance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .ward-page .party-performance-grid {
        gap: 10px
    }

    .ward-page .party-performance-item {
        padding: 14px
    }

    .ward-page .party-performance-item h3 {
        font-size: .76rem
    }

    .ward-page .purchase-setion {
        padding: 20px
    }

    .ward-page .election-box,
    .ward-page .questions-box {
        padding-left: 0;
        padding-right: 0
    }

    .ward-page .election-box {
        padding-top: 36px;
        padding-bottom: 38px
    }

    .ward-page .election-box > h2:not(:first-child) {
        margin-top: 34px;
        padding-top: 28px
    }

    .ward-page .facts-box {
        padding: 18px
    }

    .ward-page .elected-candidate-split,
    .ward-page .figure-tab,
    .ward-page .authority-profile {
        align-items: flex-start
    }

    .ward-page .related-wards {
        padding-left: 0;
        padding-right: 0
    }

    .ward-page .ward-image-grid {
        aspect-ratio: auto
    }

    .ward-page .ward-image-grid > img,
    .ward-page .ward-image-grid > img:first-child,
    .ward-page .ward-protected-image-wrap,
    .ward-page .ward-detail-image,
    .ward-page .ward-image-grid-sample-left .ward-boundary-map,
    .ward-page .ward-image-grid-sample-left .ward-sample-image,
    .ward-page .ward-boundary-map {
        grid-column: auto;
        grid-row: auto;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3
    }

    .ward-download-payment-modal {
        align-items: flex-start;
        padding: 12px;
    }

    .ward-download-payment-card {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
    }

    .ward-download-payment-grid {
        padding: 34px 20px 24px;
    }

    .ward-download-payment-close {
        top: 16px;
        right: 16px;
    }

    .ward-download-payment-subtitle {
        margin-bottom: 22px;
    }

    .ward-download-payment-total {
        font-size: 1.24rem;
    }

    .ward-download-payment-total strong {
        font-size: 1.4rem;
    }

    .ward-print-field-row,
    .ward-print-switcher {
        grid-template-columns: 1fr;
    }
}

@media (max-width:520px) {
    .ward-page {
        width: min(calc(100% - 22px), var(--max))
    }

    .ward-page .breadbrumbs {
        font-size: .85rem
    }

    .ward-page .directory-h1 {
        font-size: 2.25rem
    }

    .ward-page .buy-files-btn,
    .ward-page .buy-print-btn,
    .ward-page .custom-map-btn {
        align-items: flex-start;
        flex-direction: column
    }

    .ward-page .candidate-tbl .stripe-tbl {
        min-width: 680px
    }

    .ward-page .candidate-tbl:not(.history-tbl) {
        overflow: visible;
        border: 0;
        background: transparent
    }

    .ward-page .candidate-tbl:not(.history-tbl) .stripe-tbl {
        display: block;
        min-width: 0;
        background: transparent
    }

    .ward-page .candidate-tbl:not(.history-tbl) thead {
        display: none
    }

    .ward-page .candidate-tbl:not(.history-tbl) tbody {
        display: grid;
        gap: 10px
    }

    .ward-page .candidate-tbl:not(.history-tbl) tr {
        display: grid;
        gap: 8px;
        padding: 14px;
        border: 1px solid rgba(213, 224, 232, .95);
        border-radius: 8px;
        background: #fff
    }

    .ward-page .candidate-tbl:not(.history-tbl) td {
        display: grid;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
        padding: 0;
        border-bottom: 0;
        font-size: .94rem
    }

    .ward-page .candidate-tbl:not(.history-tbl) td::before {
        color: #36536a;
        font-size: .72rem;
        font-weight: 900;
        line-height: 1.45;
        text-transform: uppercase
    }

    .ward-page .candidate-tbl:not(.history-tbl) td:nth-child(1)::before {
        content: "Name"
    }

    .ward-page .candidate-tbl:not(.history-tbl) td:nth-child(2)::before {
        content: "Party"
    }

    .ward-page .candidate-tbl:not(.history-tbl) td:nth-child(3)::before {
        content: "Votes"
    }

    .ward-page .candidate-tbl:not(.history-tbl) td:nth-child(4)::before {
        content: "Vote Share"
    }

    .ward-page .candidate-tbl:not(.history-tbl) td:nth-child(5)::before {
        content: "Gender"
    }

    .ward-page .candidate-tbl:not(.history-tbl) td:nth-child(6)::before {
        content: "Incumbent"
    }

    .ward-page .candidate-tbl:not(.history-tbl) td:nth-child(7)::before {
        content: "Result"
    }

    .ward-page .constituency-candidate-tbl:not(.history-tbl) td:nth-child(5)::before {
        content: "Vote Change"
    }

    .ward-page .constituency-candidate-tbl:not(.history-tbl) td:nth-child(6)::before {
        content: "Majority"
    }

    .ward-page .history-tbl .stripe-tbl {
        min-width: 760px
    }

    .ward-page .previous-winner-row {
        grid-template-columns: 1fr;
        gap: 6px
    }
}

section.local-authority-row {
    padding: 36px 0 44px;
    border-top: 1px solid var(--line);
}

@media (max-width:760px) {
    section.local-authority-row {
        padding: 28px 0 30px
    }
}
/* **************************************** */





/* **************************************** */
/* * Ward Detail Page */
/* **************************************** */
.demo-card-actions {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.demo-enlarge-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #c7d6ee;
    border-radius: 999px;
    background: #fff;
    color: #0f43bf;
    font: inherit;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
    cursor: pointer;
}

.demo-enlarge-button:hover,
.demo-enlarge-button:focus-visible {
    border-color: var(--brand);
    background: #eef4ff;
    outline: none;
}

.demo-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.demo-topbar strong {
    font-size: 15px;
}

.demo-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dbe4f2;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.demo-wrap {
    display: block;
    place-items: center;
    margin-bottom: 20px;
}

.map-frame {
    position: relative;
    width: 500px;
    height: 500px;
    border-radius: 18px;
    overflow: hidden;
}

.map-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.selection-rect {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--rect-w);
    height: var(--rect-h);
    transform: translate(var(--rect-x), var(--rect-y));
    border: 2px solid var(--rect-color);
    box-sizing: border-box;
    pointer-events: none;
    z-index: 3;
}

.handle {
    position: absolute;
    width: var(--handle-size);
    height: var(--handle-size);
    background: #fff;
    border: 2px solid var(--rect-color);
    box-sizing: border-box;
}

.handle.tl { top: calc(var(--handle-size) * -0.5); left: calc(var(--handle-size) * -0.5); }
.handle.tr { top: calc(var(--handle-size) * -0.5); right: calc(var(--handle-size) * -0.5); }
.handle.bl { bottom: calc(var(--handle-size) * -0.5); left: calc(var(--handle-size) * -0.5); }
.handle.br { bottom: calc(var(--handle-size) * -0.5); right: calc(var(--handle-size) * -0.5); }

.preview-content {
    position: absolute;
    inset: 2px;
    overflow: hidden;
    opacity: 0;
    transition: opacity 300ms ease;
}

.preview-content.is-visible { opacity: 1; }
.preview-content img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.spinner {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 4;
}

.spinner.is-visible { opacity: 1; }
.spinner::after {
    content: "";
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 5px solid rgba(0, 0, 0, 0.2);
    border-top-color: #111;
    animation: spin 1s linear infinite;
}

.cursor {
    position: absolute;
    width: var(--cursor-size);
    height: var(--cursor-size);
    border-radius: 50%;
    background: #111;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.6);
}

.cursor.is-visible { opacity: 1; }
.demo-caption {
    font-size: 14px;
    color: #475569;
    text-align: center;
    max-width: 500px;
}

.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
}

.demo-modal.is-open {
    display: flex;
}

body.demo-modal-open {
    overflow: hidden;
}

.demo-modal-card {
    position: relative;
    width: min(880px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
    padding: clamp(18px, 3vw, 30px);
}

.demo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dbe4f2;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

.demo-modal-close:hover,
.demo-modal-close:focus-visible {
    border-color: var(--brand);
    background: #eef4ff;
    outline: none;
}

.demo-modal-title {
    margin: 0 52px 18px 0;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.2;
}

.demo-modal .map-frame {
    width: min(820px, calc(100vw - 84px), calc(100vh - 210px));
    height: auto;
    aspect-ratio: 1 / 1;
}

.demo-modal-actions {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}


#wardDownloadPaymentButtonText {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}





/* **************************************** */
/* * Find Your Ward */
/* **************************************** */
.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
}

.find-ward-page {
    max-width: 940px;
    padding-top: 54px
}

.find-ward-page .find-ward-hero {
    text-align: center
}

.find-ward-page .directory-h1 {
    margin-right: auto;
    margin-left: auto;
    text-align: center
}

.find-ward-page .directory-h1::after {
    margin-right: auto;
    margin-left: auto
}

.find-ward-page .directory-intro {
    margin-right: auto;
    margin-left: auto;
    text-align: center
}

.find-ward-page .find-ward-form {
    display: flex;
    max-width: 760px;
    margin: 32px auto 0;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 4px rgb(10 46 76 / 3%);
}

.find-ward-page .find-ward-input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    padding: 0 18px;
    font: inherit;
    font-size: 1.08rem
}

.find-ward-page .find-ward-input::placeholder {
    color: #8092a1
}

.find-ward-page .find-ward-submit,
.find-ward-page .find-ward-actions .button {
    border-radius: 8px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    border: 1px solid #b91c2b;
    background: #dc2436;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 16px;
    text-align: center;
    white-space: nowrap;
    color: #fff;
}

.find-ward-page .find-ward-submit:hover,
.find-ward-page .find-ward-actions .button:hover {
    border-color: #b91c2b;
    background: #b91c2b;
    transform: translateY(-1px)
}

.find-ward-page .find-ward-example {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: .92rem
}

.find-ward-page .find-ward-result {
    max-width: 760px;
    margin: 28px auto 0;
    padding: 28px;
    border: 1px solid rgba(13, 63, 103, .18);
    border-radius: 12px;
    background: #f8fbfd;
    text-align: center
}

.find-ward-page .find-ward-result.is-error {
    border-color: rgba(224, 49, 64, .28);
    background: #fff8f8
}

.find-ward-page .find-ward-result-label {
    margin: 0 0 7px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.find-ward-page .find-ward-result h2 {
    margin-bottom: 10px;
    font-size: clamp(1.9rem, 4vw, 3rem)
}

.find-ward-page .find-ward-result-message {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted)
}

.find-ward-page .find-ward-boundary-map {
    grid-column: auto;
    grid-row: auto;
    height: 360px;
    min-height: 360px;
    margin-top: 22px
}

.find-ward-page .find-ward-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px
}

.find-ward-page .find-ward-explainer {
    min-height: 1px;
    margin-top: 72px
}

.who-uses-grid {
    /* 2 column, 2 row grid using flex */
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.who-uses-item {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(213, 224, 232, .95);
    border-radius: 8px;
    background: #fff;
}

.who-uses-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    border-radius: 999px;
    background: #eef4ff;
    color: var(--brand);
    font-size: 1.2rem
}

.who-uses-grid .who-uses-item h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900
}

.who-uses-item p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}

@media (max-width: 600px) {
    .find-ward-page {
        padding-top: 34px
    }

    .find-ward-page .find-ward-form,
    .find-ward-page .find-ward-actions {
        flex-direction: column
    }

    .find-ward-page .find-ward-input {
        min-height: 54px
    }

    .find-ward-page .find-ward-boundary-map {
        height: 300px;
        min-height: 300px
    }

    .find-ward-page .find-ward-submit,
    .find-ward-page .find-ward-actions .button {
        width: 100%
    }
}
