        :root {
    --site-bg: #f3f5f8;
    --surface: #ffffff;

    --text: #1f2937;
    --heading: #0f172a;
    --muted: #5b6b7c;

    --border: #d9e2ec;

    --navy: #0f2a4d;
    --navy-soft: #163d6b;

    --red: #c8102e;
    --red-dark: #a30d26;

    --shadow-soft: 0 6px 18px rgba(15, 42, 77, 0.06);
}

html,body {
height:100%;
}

body {
    display:flex;
    flex-direction:column;
    color: #1a2433;
    background:
        radial-gradient(circle at top, rgba(200,16,46,0.04), transparent 35%),
        var(--site-bg);
}

.main-content {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
}

h1, h2 {
    letter-spacing: -0.01em;
}

h1, h2, h3 {
    color: #0f2a4d; /* ties into nav + brand */
}

p {
    color: var(--text);
}

a {
    color: var(--red);
    text-decoration: none;
}

a:hover {
    color: var(--red-dark);
}

.btn-primary {
    background-color: var(--red);
    border-color: var(--red);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--red-dark);
    border-color: var(--red-dark);
}

.btn-outline-primary {
    color: var(--red);
    border-color: var(--red);
}

.btn-outline-primary:hover {
    background-color: var(--red);
    color: #ffffff;
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.6);
    color: #ffffff;
}

.btn-outline-light:hover {
    background-color: #ffffff;
    color: var(--navy);
}

.supporter-card,
.member-panel,
.dashboard-card,
.dashboard-panel {
    box-shadow: var(--shadow-soft);
}

/* =========================
   NAVIGATION
========================= */
/* =========================
  NAVIGATION - BLUE VARIANT
========================= */
.navbar {
    background: linear-gradient(180deg, #0f2a4d 0%, #0c2340 100%) !important;

    border-top: 3px solid #c8102e; /* ? key change */
    border-bottom: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 6px 18px rgba(15, 42, 77, 0.10);
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-brand:hover {
    color: #ffffff !important;
    opacity: 0.95;
}

.navbar .nav-link {
    position: relative;
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #ffffff !important;
    background: rgba(255,255,255,0.06);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 2px;
    height: 2px;
    background: #c8102e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.navbar .nav-link:hover::after {
    transform: scaleX(1);
}

.navbar .nav-link.active {
    background: rgba(255,255,255,0.12);
    color: #ffffff !important;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.25);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* =========================
   NAVIGATION - RED VARIANT
========================= */

.navbar {
    background: linear-gradient(180deg, #7a0f1d 0%, #5c0b16 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 6px 18px rgba(92, 11, 22, 0.25);
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-brand:hover {
    color: #ffffff !important;
    opacity: 0.95;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #ffffff !important;
    background: rgba(255,255,255,0.10);
}

.navbar .nav-link.active {
    background: rgba(255,255,255,0.14);
    color: #ffffff !important;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.25);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* =========================
   HOMEPAGE ONLY
========================= */

.home-hero {
    background:
        linear-gradient(135deg, #0f2a4d 0%, #163d6b 100%);
    position: relative;
    overflow: hidden;
}

.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(200,16,46,0.15), transparent 40%);
    pointer-events: none;
}

.home-hero h1,
.home-hero p {
    color: #ffffff;
}

.hero-text {
    max-width: 600px;
    opacity: 0.9;
}

.hero-actions {
    margin-top: 1.2rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.home-card {
    position:relative;
    height: 100%;

    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 12px;
    padding: 1.5rem;

    backdrop-filter: blur(6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);

    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* subtle lift */
.home-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    border-color: rgba(255,255,255,0.18);
}

.home-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #c8102e;
}

/* =========================
   HOMEPAGE HERO ONLY
========================= */

.home-hero {
    background: linear-gradient(135deg, #0f2a4d 0%, #163d6b 100%);
    color: #ffffff;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    color: #ffffff;
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text {
    color: rgba(255,255,255,0.9);
    max-width: 520px;
}

.hero-actions {
    margin-top: 1.4rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-panel {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 1.2rem;
    border-top: 3px solid var(--red);
}

.hero-panel h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.hero-panel p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
}

/* Mobile */

@media (max-width: 991px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* =========================
   HOMEPAGE SECTIONS ONLY
========================= */

.home-section-header {
    margin-bottom: 2rem;
}

.home-section-header p {
    color: rgba(255,255,255,0.78);
    margin-bottom: 0;
}

.home-callout {
    background: linear-gradient(180deg, rgba(15,42,77,0.03) 0%, rgba(15,42,77,0.08) 100%);
    border-top: 1px solid rgba(15,42,77,0.06);
    border-bottom: 1px solid rgba(15,42,77,0.06);
}

.home-callout-inner {
    display: flex;
    justify-content: space-between; /* key */
    align-items: center;

    gap: 1.5rem;
    flex-wrap: wrap;

    background: #ffffff;

    border-left: 3px solid var(--navy);
    border-right: 3px solid var(--navy);
    border-top: 3px solid var(--red);

    border-radius: 12px;
    padding: 1.75rem 1.5rem;

    box-shadow: 0 10px 24px rgba(15, 42, 77, 0.06);
}

.home-callout-inner h2 {
    margin-bottom: 0.75rem;
}

.home-callout-inner p {
    color: var(--muted);
    max-width: 760px;
}

.home-callout-actions {
    margin-left: auto; /* pushes to right */
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* =========================
   SUPPORTERS PAGE ONLY
========================= */

.supporters-header {
    margin-bottom: 2rem;
}

.supporters-header p {
    color: var(--muted);
    margin-bottom: 0;
}

.supporters-empty {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.supporter-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
}

.supporter-card-title {
    margin-bottom: 0.9rem;
}

.supporter-card-title a {
    color: var(--heading);
}

.supporter-card-title a:hover {
    color: var(--red);
}

.supporter-meta {
    margin-bottom: 0.6rem;
}

.supporter-memory {
    color: var(--heading);
    margin: 0.9rem 0 0.75rem;
}

.supporter-bio {
    color: var(--muted);
    margin-bottom: 1rem;
}

/* =========================
   SUPPORTERS FILTERS ONLY
========================= */

.supporters-filters {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.supporters-filter-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.supporters-results-meta {
    margin-bottom: 1rem;
}

.supporters-results-meta p {
    color: var(--muted);
}

/* =========================
   SUPPORTERS MAP ONLY
========================= */

.supporters-map-header {
    margin-bottom: 1.5rem;
}

.supporters-map-header p {
    color: var(--muted);
    margin-bottom: 0;
}

.map-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
}

#supporters-map {
    width: 100%;
    height: 520px;
    border-radius: 8px;
}

.unmapped-section h2 {
    margin-bottom: 0.5rem;
}

.unmapped-section > p {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.map-popup {
    min-width: 160px;
    line-height: 1.5;
}

/* =========================
   MAP UX UPGRADE ONLY
========================= */

.map-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}

.map-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot-exact {
    background: #c8102e;
}

.legend-dot-city {
    background: #0f2a4d;
}

.legend-dot-county {
    background: #667085;
}

.map-popup {
    min-width: 210px;
    line-height: 1.45;
}

.map-popup-top {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.6rem;
}

.map-popup-photo {
    display: block;

    width: 100%;
    max-width: 60px;
    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 10px;
    border: 1px solid var(--border);
    background: #f1f5f9;

    flex-shrink: 0;
}

.map-popup-meta {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.map-popup-link {
    font-weight: 600;
}

.leaflet-popup-content {
    max-width: 240px;
    margin: 12px 14px;
}

@media (max-width: 767.98px) {
    .map-toolbar {
        justify-content: flex-start;
    }
}

/* =========================
   PUBLIC PROFILE ONLY
========================= */

.profile-header {
    margin-bottom: 2rem;
}

.profile-location {
    color: var(--muted);
    margin-top: 0.4rem;
}

.profile-sections {
    display: grid;
    gap: 1.5rem;
}

.profile-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
}

.profile-block h3 {
    margin-bottom: 0.5rem;
}

/* =========================
   MEMBER PROFILE ONLY
========================= */

.member-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.member-profile-subtitle {
    color: var(--muted);
    margin-bottom: 0;
}

.member-profile-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.member-panel {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
}

.member-panel h3 {
    margin-bottom: 0.9rem;
}

.member-panel p:last-child {
    margin-bottom: 0;
}

/* =========================
   EDIT PROFILE ONLY
========================= */

.edit-profile-header {
    margin-bottom: 2rem;
}

.edit-profile-header p {
    color: var(--muted);
    margin-bottom: 0;
}

.edit-profile-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
}

.edit-profile-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* =========================
   MEMBER DASHBOARD ONLY
========================= */

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header p {
    color: var(--muted);
    margin-bottom: 0;
}

.dashboard-card,
.dashboard-panel {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
}

.dashboard-card h3,
.dashboard-panel h3 {
    margin-bottom: 0.75rem;
}

.dashboard-card p {
    margin-bottom: 1rem;
}

.dashboard-panel p:last-child {
    margin-bottom: 0;
}

/* =========================
   MAP LINK BUTTONS ONLY
========================= */

.supporter-card-actions {
   margin-top: auto; /* pushes buttons to bottom */
    display: flex;
    gap: 0.5rem;
}

.map-accuracy {
    color: #667085;
    font-size: 0.85rem;
}

/* =========================
   EDIT PROFILE COORDINATES
========================= */

.edit-profile-note {
    color: var(--muted);
    font-size: 0.95rem;
}

/* =========================
   EDIT PROFILE MAP PICKER
========================= */

.edit-profile-map-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
}

.edit-profile-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.edit-profile-map-header h3 {
    margin-bottom: 0;
}

.edit-profile-map-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#profile-location-map {
    width: 100%;
    height: 380px;
    border-radius: 8px;
}

/* =========================
   BRANDING PASS TEST
========================= */

.home-hero {
    background:
        radial-gradient(circle at 20% 20%, rgba(200,16,46,0.18), transparent 35%),
        linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
}

.btn-primary {
    background-color: var(--red);
    border-color: var(--red);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--red-dark);
    border-color: var(--red-dark);
}

.supporter-card,
.member-panel,
.dashboard-card,
.dashboard-panel {
    box-shadow: 0 8px 24px rgba(15, 42, 77, 0.08);
}

/* =========================
   PROFILE IMAGES ONLY
========================= */

.profile-photo-preview,
.profile-photo-large,
.profile-photo-card {
    display: block;
    width: 100%;
    max-width: 110px;
    height: auto;

    object-fit: cover;

    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f1f5f9;
}

.profile-photo-preview {
    max-width: 110px;
    aspect-ratio: 1 / 1;
}

.profile-photo-large {
    max-width: 110px;
    aspect-ratio: 1 / 1;
}

.profile-photo-card {
    max-width: 72px;
    aspect-ratio: 1 / 1;
    margin-bottom: 1rem;
}

.profile-photo-edit {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.profile-photo-fields {
    flex: 1;
    min-width: 240px;
}

/* =========================
   PROFILE PHOTO SAVE BUTTON
========================= */

.profile-photo-save {
    margin-top: 0.75rem;
}

.member-profile-header-main,
.public-profile-top {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* =========================
   MAP FILTERS ONLY
========================= */

.map-filters {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.map-filter-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.map-results-meta p {
    color: var(--muted);
    font-size: 0.95rem;
}

.map-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
    .map-toolbar {
        align-items: flex-start;
    }
}

/* =========================
   JOIN PAGE ONLY
========================= */

.join-header {
    margin-bottom: 2rem;
}

.join-header p {
    color: var(--muted);
}

.join-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
}

.join-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
}

/* =========================
   FOLLOW SYSTEM
========================= */

.profile-follow {
    margin-top: 0.75rem;
}

.profile-follow form {
    display: inline-block;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}

.profile-stats {
    color: var(--muted);
    font-size: 0.95rem;
    margin-top: 0.35rem;
    margin-bottom: 0;
}

/* =========================
   FOLLOW LISTS
========================= */

.follow-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.follow-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.follow-item:hover {
    text-decoration: underline;
}

/* =========================
   HERO UPGRADE (CONTROLLED)
========================= */

.home-hero {
    position: relative;
    padding: 6rem 0 5rem;
    background:
        linear-gradient(rgba(8, 16, 30, 0.45), rgba(8, 16, 30, 0.72)),
        url('../img/hero-crowd.jpg') center center / cover no-repeat;
    color: #ffffff;
}

.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 30%, rgba(200,16,46,0.18), transparent 40%);

    pointer-events: none;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

/* Headline */

.home-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Subtext */

.home-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
}

/* Buttons */

.home-hero .btn-primary {
    background: #c8102e;
    border-color: #c8102e;
}

.home-hero .btn-primary:hover {
    background: #a50e26;
    border-color: #a50e26;
}

.hero-kicker {
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin-bottom: 0.9rem;
}

/* =========================
   HOMEPAGE SECOND HALF
========================= */


.home-features {
    background:
        linear-gradient(180deg, #0c2340 0%, #091a30 100%);
    color: #ffffff;
}

.home-features h2,
.home-features h3 {
    color: #ffffff;
}

.home-features p {
    color: rgba(255,255,255,0.82);
}



@media (max-width: 767.98px) {
    .home-card {
        padding: 1.25rem;
    }
}

/* =========================
   LIGHT POLISH PASS
========================= */

/* Better overall rhythm */
.container.py-5 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

/* Headings feel a little tighter and stronger */
h1, h2, h3 {
    letter-spacing: -0.015em;
}

h1 {
    line-height: 1.15;
}

h2 {
    line-height: 1.2;
}

h3 {
    line-height: 1.25;
}

/* Buttons feel more deliberate */
.btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.6rem 1rem;
    transition: all 0.18s ease;
}

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

.btn-sm {
    padding: 0.42rem 0.8rem;
}

/* Cards and panels feel less flat */
.supporter-card,
.member-panel,
.dashboard-card,
.dashboard-panel,
.profile-block,
.edit-profile-form,
.join-form,
.map-panel,
.supporters-filters,
.map-filters,
.supporters-empty {
    box-shadow: 0 10px 24px rgba(15, 42, 77, 0.05);
}

/* Slight hover polish where it makes sense */
.supporter-card,
.dashboard-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}


.supporter-card:hover,
.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(15, 42, 77, 0.08);
    border-color: rgba(15, 42, 77, 0.12);
}

/* Make section spacing feel more intentional */

.supporters-header,
.supporters-map-header,
.dashboard-header,
.join-header,
.edit-profile-header,
.profile-header {
    margin-bottom: 2rem;
}

/* Slightly improve muted text readability */
.text-muted,
.supporters-header p,
.supporters-map-header p,
.dashboard-header p,
.join-header p,
.edit-profile-header p,
.profile-location,
.profile-stats,
.map-results-meta p,
.edit-profile-note {
    color: var(--muted) !important;
}

/* Inputs feel more refined */
.form-control,
.form-select {
    border-radius: 10px;
    min-height: 46px;
}

textarea.form-control {
    min-height: 120px;
}

/* Follow/profile list items feel nicer */
.follow-item {
    padding: 0.25rem 0;
}

/* Better image containment consistency */
.profile-photo-card,
.profile-photo-preview,
.profile-photo-large,
.map-popup-photo {
    overflow: hidden;
}

/* Mobile polish */
@media (max-width: 767.98px) {
    .container.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .home-callout-actions,
    .hero-actions,
    .edit-profile-actions,
    .join-actions,
    .map-filter-actions {
        width: 100%;
    }

    .home-callout-actions .btn,
    .hero-actions .btn,
    .edit-profile-actions .btn,
    .join-actions .btn,
    .map-filter-actions .btn {
        width: 100%;
    }
}

/* =========================
   FOOTER - BLUE VARIANT
========================= */
/*
.site-footer {
    background: linear-gradient(180deg, #0c2340 0%, #091a30 100%);
    color: rgba(255,255,255,0.85);
    border-top: 3px solid #c8102e;
    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-left strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.footer-left p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-right {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 500;
}

.footer-right a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
}
*/
/* =========================
   FOOTER - RED VARIANT
========================= */

.site-footer {
    background: linear-gradient(180deg, #7a0f1d 0%, #5c0b16 100%);
    color: rgba(255,255,255,0.9);

    border-top: 3px solid #c8102e;

    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;

    box-shadow: 0 -6px 18px rgba(92, 11, 22, 0.25);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;

    margin-bottom: 1.5rem;
}

.footer-left strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.footer-left p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.footer-right {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
}

.footer-right a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}
.footer-bottom p{
   color: rgba(255,255,255,0.7);
}


/* =========================
   FOOTER - HYBRID VARIANT
=========================

.site-footer {
    background:
        linear-gradient(180deg, #0c2340 0%, #091a30 100%);
    color: rgba(255,255,255,0.88);

    border-top: 3px solid #c8102e;

    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;

    box-shadow:
        0 -6px 18px rgba(15, 42, 77, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-left strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #ffffff;
    letter-spacing: 0.01em;
}

.footer-left p {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
}

.footer-right {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.footer-right a:hover {
    color: #ffffff;
}

.footer-right a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    background: #c8102e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.footer-right a:hover::after {
    transform: scaleX(1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.66);
}
*/

/* =========================
   FOOTER - WARM HYBRID
=========================

.site-footer {
    background:
        linear-gradient(180deg, #16263f 0%, #3a1220 100%);
    color: rgba(255,255,255,0.9);

    border-top: 3px solid #c8102e;

    margin-top: 3rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;

    box-shadow: 0 -6px 18px rgba(20, 10, 20, 0.25);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-left strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #ffffff;
}

.footer-left p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}

.footer-right {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-right a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
}

.footer-right a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}
*/

/* =========================
   HOMEPAGE MAP FEATURE
========================= */

.home-map-feature {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(200,16,46,0.22), transparent 30%),
        linear-gradient(135deg, #07162b 0%, #0f2a4d 48%, #7a0f1d 100%);
    color: #ffffff;
}

.home-map-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/england-flag-soft.png') right -80px center / 520px auto no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.home-map-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
}

.home-map-copy h2,
.home-map-copy p {
    color: #ffffff;
}

.home-map-copy h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.04;
    max-width: 560px;
    margin-bottom: 1rem;
}

.home-map-copy p:not(.section-kicker) {
    color: rgba(255,255,255,0.86);
    max-width: 560px;
    font-size: 1.05rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    color: rgba(255,255,255,0.82) !important;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.section-kicker::before {
    content: '';
    width: 34px;
    height: 3px;
    border-radius: 999px;
    background: var(--red);
}

.home-map-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
}

.home-map-media {
    display: grid;
    gap: 1rem;
}

.home-map-card {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    padding: 0.75rem;
    background: rgba(255,255,255,0.10);
    box-shadow: 0 24px 70px rgba(0,0,0,0.34);
    backdrop-filter: blur(10px);
}

.home-map-card::after {
    content: 'Live supporter snapshot';
    position: absolute;
    left: 1.25rem;
    top: 1.25rem;
    z-index: 500;
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
    background: rgba(7,22,43,0.78);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0,0,0,0.20);
}

#home-supporters-map,
.home-map-empty {
    width: 100%;
    height: 410px;
    border-radius: 18px;
    overflow: hidden;
}

.home-map-empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding: 2rem;
    background:
        linear-gradient(rgba(15,42,77,0.70), rgba(15,42,77,0.86)),
        url('../img/hero-supporters.jpg') center center / cover no-repeat;
    color: #ffffff;
}

.home-map-empty strong {
    font-size: 1.45rem;
}

.home-map-empty span {
    color: rgba(255,255,255,0.85);
    max-width: 360px;
}

.home-photo-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}

.home-photo-tile {
    position: relative;
    display: block;
    min-height: 105px;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

.home-photo-tile:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.home-photo-tile img {
    width: 100%;
    height: 100%;
    min-height: 105px;
    display: block;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.home-photo-tile:hover img {
    transform: scale(1.04);
}

.home-photo-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,0.72) 100%);
}

.home-photo-tile span {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.55rem;
    z-index: 1;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.15;
}

@media (max-width: 991.98px) {
    .home-map-shell {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 575.98px) {
    .home-map-card {
        min-height: 340px;
        border-radius: 18px;
    }

    #home-supporters-map,
    .home-map-empty {
        height: 320px;
    }

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

/* =========================
   HOMEPAGE MAP PROMO REFRESH
========================= */

.home-map-promo {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,0.18), transparent 20%),
        radial-gradient(circle at 82% 20%, rgba(200,16,46,0.42), transparent 28%),
        linear-gradient(135deg, #07162b 0%, #0f2a4d 42%, #8b1024 100%);
    color: #ffffff;
}

.home-map-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,22,43,0.88), rgba(7,22,43,0.42)),
        url('../img/hero-crowd.jpg') center center / cover no-repeat;
    opacity: 0.22;
    pointer-events: none;
}

.home-map-promo-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 2rem;
    align-items: center;
}

.home-map-promo-copy h2,
.home-map-promo-copy p {
    color: #ffffff;
}

.home-map-promo-copy h2 {
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.96;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}

.home-map-promo-copy p:not(.section-kicker) {
    color: rgba(255,255,255,0.87);
    max-width: 610px;
    font-size: 1.08rem;
}

.home-map-promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.home-map-promo-media {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.48fr);
    gap: 1rem;
    align-items: stretch;
}

.promo-map-card {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.22);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 20%),
        radial-gradient(circle at 70% 70%, rgba(200,16,46,0.72), transparent 25%),
        #0f2a4d;
    box-shadow: 0 28px 80px rgba(0,0,0,0.38);
}

.promo-map-card::before {
    content: '';
    position: absolute;
    inset: -35px;
    background: url('../img/england-flag-soft.png') center center / 520px auto no-repeat;
    opacity: 0.12;
    transform: rotate(-7deg);
}

.promo-map-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    opacity: 0.26;
}

.promo-map-grid span {
    border-right: 1px solid rgba(255,255,255,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

.promo-map-badge,
.promo-map-pin {
    position: absolute;
    z-index: 2;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(0,0,0,0.28);
}

.promo-map-badge {
    left: 1.1rem;
    top: 1.1rem;
    background: rgba(7,22,43,0.82);
    padding: 0.5rem 0.78rem;
    font-size: 0.84rem;
}

.promo-map-pin {
    padding: 0.52rem 0.78rem 0.52rem 1.55rem;
    background: #c8102e;
    font-size: 0.86rem;
}

.promo-map-pin::before {
    content: '';
    position: absolute;
    left: 0.58rem;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #ffffff;
    transform: translateY(-50%);
}

.promo-map-pin-one { left: 46%; top: 42%; }
.promo-map-pin-two { left: 57%; top: 62%; }
.promo-map-pin-three { left: 24%; top: 29%; }

.home-promo-photo-collage {
    display: grid;
    gap: 0.75rem;
}

.home-promo-photo {
    position: relative;
    display: block;
    min-height: 115px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    box-shadow: 0 16px 36px rgba(0,0,0,0.26);
}

.home-promo-photo:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.home-promo-photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 115px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.home-promo-photo:hover img {
    transform: scale(1.04);
}

.home-promo-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 28%, rgba(0,0,0,0.76) 100%);
}

.home-promo-photo span {
    position: absolute;
    left: 0.72rem;
    right: 0.72rem;
    bottom: 0.62rem;
    z-index: 1;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.12;
}

/* =========================
   SUPPORTERS MAP SHOWCASE REFRESH
========================= */

.supporters-map-showcase {
    background:
        linear-gradient(180deg, #07162b 0, #07162b 360px, #f8fafc 360px, #f8fafc 100%);
}

.map-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 18%, rgba(200,16,46,0.50), transparent 27%),
        linear-gradient(135deg, #07162b 0%, #0f2a4d 52%, #850f22 100%);
    color: #ffffff;
}

.map-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7,22,43,0.88), rgba(7,22,43,0.34)),
        url('../img/hero-supporters.jpg') center center / cover no-repeat;
    opacity: 0.24;
}

.map-hero::after {
    content: '';
    position: absolute;
    right: -110px;
    top: -120px;
    width: 520px;
    height: 520px;
    background: url('../img/england-flag-soft.png') center center / contain no-repeat;
    opacity: 0.10;
    transform: rotate(9deg);
}

.map-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    align-items: end;
}

.map-hero-copy h1,
.map-hero-copy p {
    color: #ffffff;
}

.map-hero-copy h1 {
    max-width: 780px;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
    margin-bottom: 1rem;
}

.map-hero-copy p:not(.section-kicker) {
    max-width: 690px;
    color: rgba(255,255,255,0.88);
    font-size: 1.12rem;
}

.map-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.45rem;
}

.map-hero-stats {
    display: grid;
    gap: 0.75rem;
}

.map-hero-stats div {
    border: 1px solid rgba(255,255,255,0.20);
    border-radius: 20px;
    padding: 1rem;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.24);
}

.map-hero-stats strong {
    display: block;
    color: #ffffff;
    font-size: 2.15rem;
    line-height: 1;
}

.map-hero-stats span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255,255,255,0.80);
    font-size: 0.9rem;
    font-weight: 700;
}

.map-filters-showcase {
    position: relative;
    z-index: 3;
    margin-top: -2.8rem;
    border: 0;
    border-radius: 24px;
    padding: 1.1rem;
    background: rgba(255,255,255,0.97);
    box-shadow: 0 24px 70px rgba(7,22,43,0.20);
}

.map-stage {
    position: relative;
    overflow: hidden;
    margin-top: 1.4rem;
    margin-bottom: 2.5rem;
    border-radius: 30px;
    padding: 1rem;
    background:
        radial-gradient(circle at 12% 12%, rgba(255,255,255,0.26), transparent 24%),
        linear-gradient(135deg, #07162b 0%, #0f2a4d 42%, #8b1024 100%);
    box-shadow: 0 26px 80px rgba(7,22,43,0.22);
}

.map-stage-bg {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    opacity: 0.13;
    filter: saturate(1.15) contrast(1.05);
}

.map-stage-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,22,43,0.58), rgba(200,16,46,0.52));
}

.map-stage-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-toolbar-showcase {
    position: relative;
    z-index: 2;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.map-toolbar-showcase .map-legend {
    border-color: rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}

.map-toolbar-showcase .legend-item,
.map-toolbar-showcase .map-results-meta p {
    color: rgba(255,255,255,0.86) !important;
}

.map-panel-showcase {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 24px;
    padding: 0.72rem;
    background: rgba(255,255,255,0.16);
    box-shadow: 0 24px 70px rgba(0,0,0,0.36);
    backdrop-filter: blur(10px);
}

.map-panel-showcase #supporters-map {
    min-height: 610px;
    border-radius: 18px;
    overflow: hidden;
    background: #d9e3ea;
}

.map-panel-showcase .leaflet-tile {
    filter: saturate(0.78) contrast(1.06) brightness(0.98);
}

.supporter-photo-marker {
    border-radius: 999px;
    background: #ffffff;
    border: 4px solid #c8102e;
    box-shadow: 0 10px 24px rgba(0,0,0,0.34);
}

.supporter-photo-marker span,
.supporter-photo-marker img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    overflow: hidden;
}

.supporter-photo-marker img {
    object-fit: cover;
    padding: 2px;
    background: #ffffff;
}

.supporter-photo-marker.marker-city {
    border-color: #0f2a4d;
}

.supporter-photo-marker.marker-county {
    border-color: #667085;
}

.supporter-photo-marker.is-focused {
    border-color: #ffffff;
    outline: 5px solid #c8102e;
    z-index: 900 !important;
}

.supporters-cluster {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #c8102e;
    border: 4px solid #ffffff;
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    color: #ffffff;
    font-weight: 900;
}

.supporters-cluster span {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1;
}

.supporters-empty-showcase {
    border-radius: 24px;
    padding: 2rem;
}

.supporters-empty-showcase h2 {
    margin-bottom: 0.5rem;
}

@media (max-width: 991.98px) {
    .home-map-promo-shell,
    .map-hero-inner {
        grid-template-columns: 1fr;
    }

    .home-map-promo-media {
        grid-template-columns: 1fr;
    }

    .home-promo-photo-collage {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

@media (max-width: 767.98px) {
    .map-filters-showcase {
        margin-top: -1.6rem;
    }

    .map-toolbar-showcase {
        align-items: flex-start;
    }

    .map-panel-showcase #supporters-map {
        min-height: 480px;
    }
}

@media (max-width: 575.98px) {
    .promo-map-card {
        min-height: 300px;
    }

    .home-promo-photo-collage,
    .map-hero-stats {
        grid-template-columns: 1fr;
    }

    .map-stage {
        border-radius: 22px;
        padding: 0.65rem;
    }

    .map-panel-showcase {
        border-radius: 18px;
        padding: 0.45rem;
    }

    .map-panel-showcase #supporters-map {
        min-height: 430px;
        border-radius: 14px;
    }
}


/* =========================
   HOMEPAGE MAP FEATURE - V2 LAYOUT FIX
   Keeps the main hero separate and gives the map promo its own full-width stage.
========================= */

.home-map-feature {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 18%, rgba(255,255,255,0.16), transparent 22%),
        radial-gradient(circle at 86% 18%, rgba(200,16,46,0.52), transparent 28%),
        linear-gradient(135deg, #07162b 0%, #0f2a4d 48%, #8b1024 100%);
    color: #ffffff;
}

.home-map-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7,22,43,0.82), rgba(7,22,43,0.64)),
        url('../img/hero-crowd.jpg') center center / cover no-repeat;
    opacity: 0.22;
    pointer-events: none;
}

.home-map-feature .container {
    position: relative;
    z-index: 1;
}

.home-map-feature-intro {
    max-width: 930px;
    margin-bottom: 1.75rem;
}

.home-map-feature-intro h2,
.home-map-feature-intro p {
    color: #ffffff;
}

.home-map-feature-intro h2 {
    font-size: clamp(2.4rem, 6vw, 5.25rem);
    line-height: 0.94;
    letter-spacing: -0.055em;
    margin-bottom: 1rem;
}

.home-map-feature-intro p:not(.section-kicker) {
    max-width: 730px;
    color: rgba(255,255,255,0.88);
    font-size: 1.12rem;
}

.home-map-feature-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.home-map-feature-board {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    min-height: 480px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)),
        linear-gradient(135deg, rgba(7,22,43,0.94), rgba(139,16,36,0.88));
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 30px 90px rgba(0,0,0,0.34);
}

.home-map-feature-collage {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(10, minmax(70px, 1fr));
    opacity: 0.14;
    filter: saturate(1.18) contrast(1.05);
}

.home-map-feature-collage::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(255,255,255,0.04), transparent 24%),
        linear-gradient(135deg, rgba(7,22,43,0.48), rgba(200,16,46,0.58));
}

.home-map-feature-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-map-feature-map {
    position: relative;
    z-index: 1;
}

.promo-map-card-wide {
    min-height: 360px;
    border-radius: 26px;
}

.promo-map-pin-four { left: 72%; top: 24%; }

.home-map-feature-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: -2.2rem;
    padding: 0 0.75rem 0.25rem;
}

.home-map-feature-person {
    display: flex;
    align-items: center;
    gap: 0.62rem;
    min-width: 0;
    border-radius: 999px;
    padding: 0.42rem 0.72rem 0.42rem 0.42rem;
    background: rgba(255,255,255,0.94);
    color: #07162b;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(0,0,0,0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-map-feature-person:hover {
    color: #07162b;
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(0,0,0,0.28);
}

.home-map-feature-person img {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #c8102e;
}

.home-map-feature-person span {
    display: block;
    min-width: 0;
    line-height: 1.1;
}

.home-map-feature-person strong,
.home-map-feature-person small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-map-feature-person strong {
    font-size: 0.82rem;
    font-weight: 900;
}

.home-map-feature-person small {
    margin-top: 0.12rem;
    color: #667085;
    font-size: 0.72rem;
    font-weight: 700;
}

.home-map-feature-person.is-placeholder {
    max-width: 320px;
}

@media (max-width: 1199.98px) {
    .home-map-feature-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 1rem;
        padding: 0;
    }
}

@media (max-width: 767.98px) {
    .home-map-feature-board {
        border-radius: 24px;
        min-height: auto;
    }

    .promo-map-card-wide {
        min-height: 330px;
    }

    .home-map-feature-strip {
        grid-template-columns: 1fr;
    }
}

/* Admin moderation */
.admin-page {
    background: #f7f8fb;
}

.admin-header {
    background: linear-gradient(135deg, #07142b 0%, #c8102e 100%);
    color: #fff;
    border-radius: 28px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 20px 50px rgba(7, 20, 43, 0.18);
}

.admin-header h1 {
    margin: 0 0 .4rem;
    font-weight: 800;
}

.admin-header p:last-child {
    margin-bottom: 0;
    max-width: 760px;
    opacity: .9;
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.admin-header-row .btn {
    background: rgba(255,255,255,.95);
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    display: block;
    text-decoration: none;
    color: #07142b;
    background: #fff;
    border-radius: 22px;
    padding: 1.5rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-stat-card span {
    display: block;
    color: #667085;
    font-weight: 700;
    margin-bottom: .4rem;
}

.admin-stat-card strong {
    font-size: 2.4rem;
    line-height: 1;
}

.admin-stat-pending { border-top: 5px solid #f59e0b; }
.admin-stat-approved { border-top: 5px solid #16a34a; }
.admin-stat-rejected { border-top: 5px solid #c8102e; }

.admin-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-section-heading h2 {
    margin: 0;
    font-weight: 800;
    color: #07142b;
}

.admin-empty,
.admin-results-meta {
    background: #fff;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-filter-bar {
    background: #fff;
    border-radius: 22px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
}

.admin-filter-actions {
    display: flex;
    gap: .5rem;
}

.admin-review-card {
    width: 100%;
    background: #fff;
    border-radius: 24px;
    padding: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.admin-review-top {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.admin-review-photo {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 22px;
    border: 3px solid #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
    background: #f1f3f6;
}

.admin-review-card h3 {
    margin: .35rem 0 .15rem;
    color: #07142b;
    font-size: 1.15rem;
    font-weight: 800;
}

.admin-muted {
    margin: 0;
    color: #667085;
    font-size: .9rem;
    word-break: break-word;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .2rem .55rem;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.admin-status-pending { background: #fff7ed; color: #c2410c; }
.admin-status-approved { background: #ecfdf3; color: #027a48; }
.admin-status-rejected { background: #fff1f2; color: #be123c; }

.admin-review-meta p {
    margin-bottom: .45rem;
    color: #344054;
    font-size: .94rem;
}

.admin-review-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1rem;
}

.admin-reject-box {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.profile-moderation-status {
    border-radius: 18px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.profile-moderation-approved {
    border-left: 5px solid #16a34a;
}

.profile-moderation-pending {
    border-left: 5px solid #f59e0b;
}

.profile-moderation-rejected {
    border-left: 5px solid #c8102e;
}

@media (max-width: 768px) {
    .admin-stat-grid {
        grid-template-columns: 1fr;
    }

    .admin-header-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =========================
   ADMIN + MAP POLISH PATCH
========================= */
.admin-header,
.admin-header h1,
.admin-header p {
    color: #ffffff !important;
}

.admin-header .eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: .65rem;
    padding: .28rem .7rem;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.28);
    color: #ffffff !important;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0,0,0,.22);
}

.admin-header h1 {
    text-shadow: 0 2px 10px rgba(0,0,0,.28);
}

.admin-header p:last-child {
    color: rgba(255,255,255,.92) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,.24);
}

/* Supporters map filter form polish - bolder revision */
.map-filters-magic {
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 30px;
    background:
        radial-gradient(circle at 12% 0%, rgba(255,255,255,0.18), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(200,16,46,0.42), transparent 30%),
        linear-gradient(135deg, #07162b 0%, #0f2a4d 48%, #8b1024 100%);
    box-shadow: 0 28px 80px rgba(7,22,43,0.28);
}

.map-filters-magic::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.08), transparent 36%),
        repeating-linear-gradient(135deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 16px);
    pointer-events: none;
}

.map-filter-heading {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.6rem 1.65rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.map-filter-heading .section-kicker {
    color: #ffffff;
    opacity: 0.92;
    text-shadow: 0 1px 3px rgba(0,0,0,0.24);
}

.map-filter-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.85rem, 3vw, 2.7rem);
    font-weight: 950;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-shadow: 0 2px 14px rgba(0,0,0,0.28);
}

.map-filter-heading p:not(.section-kicker) {
    margin: 0.55rem 0 0;
    max-width: 690px;
    color: rgba(255,255,255,0.88);
    font-size: 1.03rem;
    font-weight: 650;
}

.map-filter-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(86px, 1fr));
    gap: 0.55rem;
    min-width: 330px;
}

.map-filter-mini-stats span {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 74px;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 18px;
    background: rgba(255,255,255,0.13);
    color: rgba(255,255,255,0.86);
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    box-shadow: 0 16px 34px rgba(0,0,0,0.16);
    backdrop-filter: blur(10px);
}

.map-filter-mini-stats strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.map-filter-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(280px, 1.55fr) minmax(190px, 0.85fr) minmax(190px, 0.85fr) minmax(190px, 0.55fr);
    gap: 1rem;
    align-items: end;
    padding: 1.35rem 1.65rem 1.55rem;
    background: rgba(255,255,255,0.96);
}

.map-field .form-label {
    margin-bottom: 0.5rem;
    color: #07162b;
    font-size: 0.8rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.map-input-shell,
.map-select-shell {
    position: relative;
}

.map-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: #c8102e;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 950;
    box-shadow: 0 8px 18px rgba(200,16,46,0.26);
    pointer-events: none;
}

.map-input-shell .form-control,
.map-select-shell .form-select {
    min-height: 3.55rem;
    padding-left: 3.15rem;
    border: 2px solid rgba(15,42,77,0.12);
    border-radius: 18px;
    background-color: #ffffff;
    color: #07162b;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(7,22,43,0.08);
}

.map-input-shell .form-control::placeholder {
    color: #7d8898;
    font-weight: 700;
}

.map-input-shell .form-control:focus,
.map-select-shell .form-select:focus {
    border-color: #c8102e;
    box-shadow: 0 0 0 0.24rem rgba(200,16,46,0.14), 0 16px 36px rgba(7,22,43,0.11);
}

.map-filter-actions-magic {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
}

.map-filter-actions-magic .btn {
    min-height: 3.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-weight: 950;
    white-space: nowrap;
}

.map-filter-actions-magic .btn-primary {
    background: linear-gradient(135deg, #c8102e, #8b1024);
    border-color: #c8102e;
    box-shadow: 0 16px 30px rgba(200,16,46,0.30);
}

.map-filter-actions-magic .btn-outline-secondary {
    min-height: 2.7rem;
    border: 2px solid rgba(15,42,77,0.13);
    background: #ffffff;
    color: #0f2a4d;
}

.map-active-filters {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding: 0 1.65rem 1.55rem;
    background: rgba(255,255,255,0.96);
}

.map-active-label,
.map-filter-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
}

.map-active-label {
    color: #667085;
}

.map-filter-chip {
    padding: 0.5rem 0.75rem;
    background: #07162b;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(7,22,43,0.12);
}

@media (max-width: 1199.98px) {
    .map-filter-heading {
        grid-template-columns: 1fr;
    }

    .map-filter-mini-stats {
        min-width: 0;
        max-width: 520px;
    }

    .map-filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    .map-field-search,
    .map-filter-actions-magic {
        grid-column: 1 / -1;
    }

    .map-filter-actions-magic {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 767.98px) {
    .map-filter-heading {
        padding: 1.25rem 1rem 1rem;
    }

    .map-filter-mini-stats {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .map-filter-mini-stats span {
        min-height: 58px;
    }

    .map-filter-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .map-filter-actions-magic {
        grid-template-columns: 1fr;
    }

    .map-active-filters {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}


/* =========================
   HOMEPAGE REAL MAP PREVIEW - SIMPLIFIED
   Keeps one confident showcase panel rather than a visible box within a box.
========================= */
.home-mini-map-card {
    position: relative;
    min-height: 390px;
    overflow: visible;
    border-radius: 26px;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.home-mini-map-card::before {
    display: none;
}

#home-preview-map,
.home-map-empty-compact {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 390px;
    border-radius: 26px;
    overflow: hidden;
    background: #dbe5ec;
    border: 1px solid rgba(255,255,255,0.26);
    box-shadow: 0 24px 70px rgba(0,0,0,0.32);
}

#home-preview-map .leaflet-tile {
    filter: saturate(0.72) contrast(1.06) brightness(0.98);
}

.home-map-preview-badge {
    position: absolute;
    left: 1.35rem;
    top: 1.35rem;
    z-index: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.5rem 0.78rem;
    background: rgba(7,22,43,0.88);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(0,0,0,0.28);
}

.home-map-preview-badge::before {
    content: '';
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 999px;
    background: #c8102e;
    box-shadow: 0 0 0 4px rgba(200,16,46,0.24);
}

.home-mini-map-card .supporter-photo-marker {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-mini-map-card .supporter-photo-marker:hover {
    transform: scale(1.06);
    box-shadow: 0 14px 34px rgba(0,0,0,0.42);
}

.home-mini-map-card .supporter-photo-marker a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
}

@media (max-width: 767.98px) {
    .home-mini-map-card {
        min-height: 315px;
        border-radius: 22px;
    }

    #home-preview-map,
    .home-map-empty-compact {
        height: 315px;
        border-radius: 20px;
    }
}
