/* Mobile-first public landing and Support Groups Portal */
.mobile-first-home,
.support-groups-portal-page {
    background:
        radial-gradient(circle at 80% 0, rgba(245,130,32,.08), transparent 24rem),
        linear-gradient(180deg,#06462f 0%,#033522 66%,#02281b 100%);
}

.mobile-first-header {
    display: grid !important;
    grid-template-columns: auto minmax(0,1fr) auto;
    gap: 12px;
    align-items: center;
}

.mobile-first-header .public-menu-toggle {
    order: 0;
}

.mobile-first-header .premium-public-brand {
    order: 1;
}

.header-live-verified {
    order: 2;
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: flex-end;
    min-width: 116px;
    padding: 7px 9px;
    border: 1px solid rgba(245,130,32,.34);
    border-radius: 11px;
    background: rgba(245,130,32,.08);
    color: #fff;
}

.header-live-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #42d589;
    box-shadow: 0 0 0 4px rgba(66,213,137,.11);
}

.header-live-verified > span:last-child {
    min-width: 0;
}

.header-live-verified small,
.header-live-verified strong {
    display: block;
}

.header-live-verified small {
    color: #ffc08a;
    font-size: .49rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: .055em;
}

.header-live-verified strong {
    margin-top: 2px;
    color: #fff;
    font-size: 1.02rem;
    line-height: 1;
}

.mobile-first-main {
    width: min(1380px,calc(100% - 24px));
    margin: 0 auto;
    padding: 14px 0 28px;
}

.home-map-first,
.mobile-reveal-card,
.home-state-statistics,
.support-portal-hero {
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 18px;
    background:
        linear-gradient(155deg,rgba(7,79,54,.92),rgba(3,52,35,.96));
    box-shadow: 0 16px 44px rgba(0,0,0,.13);
}

.home-map-first {
    padding: 12px;
}

.home-map-heading {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    justify-content: space-between;
    padding: 5px 5px 12px;
}

.home-map-heading h1 {
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.55rem,3.2vw,2.7rem);
    font-weight: 780;
    line-height: 1;
    letter-spacing: -.04em;
}

.mobile-first-map-stage {
    position: relative;
    height: min(72vh,720px);
    min-height: 480px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 14px;
    background:
        radial-gradient(circle at 50% 43%,rgba(245,130,32,.10),transparent 30rem),
        linear-gradient(180deg,#e5f0ea,#d5e4dc);
    touch-action: pan-y;
}

.mobile-first-map-stage .public-nigeria-map,
.mobile-first-map-stage .leaflet-container {
    width: 100%;
    height: 100%;
    pointer-events: auto !important;
}

/* Leaflet owns the dimensions/transforms of its projection panes.
   Forcing these panes to 100% scales polygons away from their labels. */
.mobile-first-map-stage .leaflet-map-pane,
.mobile-first-map-stage .leaflet-overlay-pane,
.mobile-first-map-stage .leaflet-overlay-pane svg {
    width: auto !important;
    height: auto !important;
}

.mobile-first-map-stage .leaflet-map-pane,
.mobile-first-map-stage .leaflet-overlay-pane {
    pointer-events: auto !important;
}

.mobile-first-map-stage .leaflet-interactive {
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation;
}

.mobile-first-map-stage .leaflet-tooltip-pane {
    pointer-events: none !important;
}

.home-map-source {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 5px 1px;
    color: #b6ccc1;
    font-size: .65rem;
    line-height: 1.4;
}

.mobile-reveal-card {
    position: static !important;
    width: auto !important;
    max-height: none !important;
    margin-top: 12px;
    padding: 16px !important;
    overflow: visible !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    border-top: 4px solid #f58220 !important;
}

.mobile-reveal-card.is-revealed {
    box-shadow:
        0 0 0 1px rgba(245,130,32,.18),
        0 18px 44px rgba(0,0,0,.16) !important;
}

.mobile-reveal-card h2,
.mobile-reveal-card h3 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(1.25rem,2.3vw,1.75rem) !important;
}

.mobile-reveal-card > p {
    margin: 8px 0 0;
    color: #bfd2c8 !important;
    font-size: .73rem;
    line-height: 1.5;
}

.home-state-statistics {
    margin-top: 12px;
    padding: clamp(16px,2.4vw,28px);
}

.home-state-statistics .state-statistics-heading {
    margin-bottom: 12px;
}

.home-state-statistics .state-statistics-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.4rem,2.5vw,2rem);
    line-height: 1.06;
    letter-spacing: -.03em;
}

.home-state-statistics .state-statistics-heading p:not(.eyebrow) {
    color: #b6ccc1;
}

.home-state-statistics .state-statistics-table-wrap {
    max-height: 430px;
}

.mobile-first-footer {
    width: min(1380px,calc(100% - 24px));
    margin: 0 auto;
}

/* Support Groups Portal page */
.support-portal-main {
    width: min(1220px,calc(100% - 24px));
    margin: 0 auto;
    padding: 18px 0 34px;
}

.support-portal-hero {
    padding: clamp(24px,4vw,46px);
}

.support-portal-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem,5vw,4.7rem);
    line-height: .94;
    letter-spacing: -.055em;
}

.support-portal-hero > p:not(.eyebrow) {
    max-width: 760px;
    margin: 16px 0 0;
    color: #bfd2c8;
    font-size: .95rem;
    line-height: 1.6;
}

.support-groups-portal-page .premium-section {
    width: 100%;
    margin-top: 14px;
}

/* Mobile is the baseline priority */
@media (max-width: 820px) {
    .mobile-first-header {
        min-height: 82px !important;
        grid-template-columns: 50px minmax(0,1fr) 72px;
        gap: 8px;
        padding: 8px 10px !important;
    }

    .mobile-first-header .public-menu-toggle {
        width: 48px !important;
        height: 48px !important;
        flex-basis: 48px !important;
        border-radius: 13px !important;
    }

    .mobile-first-header .premium-public-brand {
        gap: 8px !important;
    }

    .mobile-first-header .premium-public-brand img {
        width: 46px !important;
        height: 46px !important;
    }

    .mobile-first-header .premium-public-brand strong {
        max-width: none !important;
        font-size: clamp(.78rem,3.6vw,1.05rem) !important;
        line-height: 1.04 !important;
    }

    .mobile-first-header .premium-public-brand small {
        margin-top: 3px !important;
        font-size: .45rem !important;
        letter-spacing: .10em !important;
    }

    .header-live-verified {
        min-width: 0;
        padding: 6px;
        border-radius: 9px;
    }

    .header-live-dot {
        width: 6px;
        height: 6px;
        flex-basis: 6px;
    }

    .header-live-verified small {
        font-size: .40rem;
        letter-spacing: .02em;
    }

    .header-live-verified strong {
        font-size: .9rem;
    }

    .premium-public-nav {
        top: 82px !important;
        max-height: calc(100dvh - 90px) !important;
    }

    .mobile-first-main {
        width: calc(100% - 12px);
        padding-top: 6px;
    }

    .home-map-first,
    .mobile-reveal-card,
    .home-state-statistics,
    .support-portal-hero {
        border-radius: 14px;
    }

    .home-map-first {
        padding: 8px;
    }

    .home-map-heading {
        align-items: flex-start;
        padding: 6px 5px 10px;
    }

    .home-map-heading h1 {
        max-width: 250px;
        font-size: 1.55rem;
    }

    .map-live-pill {
        margin-top: 18px;
        padding: 6px 8px;
        font-size: .56rem;
    }

    .mobile-first-map-stage {
        height: 63dvh;
        min-height: 430px;
        border-radius: 12px;
    }

    .public-state-label-text {
        font-size: 6.5px !important;
    }

    .mobile-reveal-card {
        margin-top: 8px;
        padding: 14px !important;
    }

    .mobile-reveal-card .public-state-mini-stats {
        gap: 7px;
    }

    .home-state-statistics {
        margin-top: 8px;
        padding: 16px 12px;
    }

    .home-state-statistics .state-statistics-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-state-statistics .state-statistics-heading h2 {
        font-size: 1.45rem;
    }

    .home-state-statistics .state-statistics-table-wrap {
        max-height: 52vh;
    }

    .support-portal-main {
        width: calc(100% - 12px);
        padding-top: 7px;
    }

    .support-portal-hero {
        padding: 24px 18px;
    }

    .support-portal-hero h1 {
        font-size: clamp(2.3rem,10vw,3.4rem);
    }

    .support-groups-portal-page .portal-entry-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 430px) {
    .mobile-first-header {
        grid-template-columns: 46px minmax(0,1fr) 64px;
        padding-inline: 7px !important;
    }

    .mobile-first-header .public-menu-toggle {
        width: 44px !important;
        height: 44px !important;
        flex-basis: 44px !important;
    }

    .mobile-first-header .premium-public-brand img {
        width: 42px !important;
        height: 42px !important;
    }

    .mobile-first-header .premium-public-brand strong {
        font-size: .75rem !important;
    }

    .mobile-first-header .premium-public-brand small {
        font-size: .40rem !important;
    }

    .header-live-verified {
        gap: 4px;
        padding: 5px;
    }

    .header-live-verified small {
        font-size: .35rem;
    }

    .header-live-verified strong {
        font-size: .82rem;
    }

    .mobile-first-map-stage {
        height: 60dvh;
        min-height: 400px;
    }
}

/* Hidden map fallback must never sit above interactive state polygons. */
.public-map-fallback {
    pointer-events: none !important;
}

.public-map-fallback[hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* 2026-09-28 presentation refinement: larger map, aligned labels, compact information panel */
.mobile-first-main {
    width: calc(100% - 18px) !important;
    max-width: none !important;
}

.home-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(255px, 20vw, 320px);
    gap: 12px;
    align-items: stretch;
}

.home-map-first {
    min-width: 0;
    padding: 9px !important;
}

.home-map-heading {
    min-height: 48px;
    align-items: center !important;
    padding: 3px 4px 8px !important;
}

.home-map-heading h1 {
    max-width: none !important;
    font-size: clamp(1.35rem, 2vw, 1.95rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
}

.mobile-first-map-stage {
    height: min(78vh, 840px) !important;
    min-height: 610px !important;
    max-height: 840px !important;
}

.mobile-reveal-card {
    position: static !important;
    margin: 0 !important;
    min-width: 0;
    max-height: none !important;
    padding: 15px !important;
    overflow: auto !important;
    border-top-width: 3px !important;
}

.mobile-reveal-card .public-state-panel-head {
    align-items: center;
}

.mobile-reveal-card .public-state-panel-head h2,
.mobile-reveal-card .public-state-panel-head h3 {
    font-size: 1.15rem !important;
    line-height: 1.08 !important;
}

.mobile-reveal-card > p {
    font-size: .68rem !important;
    line-height: 1.45 !important;
}

.mobile-reveal-card .public-state-mini-stats {
    grid-template-columns: 1fr !important;
    gap: 7px !important;
}

.mobile-reveal-card .public-state-mini-stats > div {
    min-height: 68px;
}

.mobile-reveal-card .public-state-groups {
    max-height: 42vh;
    overflow: auto;
}

.public-state-label-marker {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

.public-state-label-marker .public-state-label-text {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #17392a !important;
    font-size: 7.2px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-align: center;
    text-overflow: clip;
    white-space: nowrap;
    text-shadow:
        0 1px 0 rgba(255,255,255,.98),
        1px 0 0 rgba(255,255,255,.98),
        -1px 0 0 rgba(255,255,255,.98),
        0 -1px 0 rgba(255,255,255,.98),
        0 0 3px rgba(255,255,255,.98);
}

.home-state-statistics {
    margin-top: 10px !important;
}

.mobile-first-header {
    min-height: 68px !important;
    grid-template-columns: 46px minmax(0, 1fr) 148px !important;
    gap: 10px !important;
    padding: 7px 14px !important;
}

.mobile-first-header .public-menu-toggle {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
    padding: 0 !important;
    font-size: 1.55rem !important;
    line-height: 1 !important;
}

.mobile-first-header .premium-public-brand {
    gap: 9px !important;
    min-width: 0;
}

.mobile-first-header .premium-public-brand img {
    width: 44px !important;
    height: 44px !important;
}

.mobile-first-header .premium-public-brand span {
    min-width: 0;
}

.mobile-first-header .premium-public-brand strong {
    display: block;
    overflow: hidden;
    color: #fff !important;
    font-size: clamp(.95rem, 1.5vw, 1.35rem) !important;
    line-height: 1.02 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-first-header .premium-public-brand small {
    display: block !important;
    margin-top: 3px !important;
    color: rgba(255,255,255,.78) !important;
    font-size: .46rem !important;
    line-height: 1 !important;
    letter-spacing: .11em !important;
}

.header-live-verified {
    min-width: 0 !important;
    padding: 6px 8px !important;
}

.header-live-verified small {
    font-size: .42rem !important;
}

.header-live-verified strong {
    font-size: .92rem !important;
}

@media (max-width: 820px) {
    .mobile-first-header {
        min-height: 68px !important;
        grid-template-columns: 42px minmax(0, 1fr) 72px !important;
        gap: 6px !important;
        padding: 6px 8px !important;
    }

    .mobile-first-header .public-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
        border-radius: 11px !important;
        font-size: 1.35rem !important;
    }

    .mobile-first-header .premium-public-brand {
        gap: 6px !important;
    }

    .mobile-first-header .premium-public-brand img {
        width: 38px !important;
        height: 38px !important;
    }

    .mobile-first-header .premium-public-brand strong {
        font-size: clamp(.65rem, 3.2vw, .83rem) !important;
        white-space: normal;
    }

    .mobile-first-header .premium-public-brand small {
        margin-top: 2px !important;
        font-size: .34rem !important;
        letter-spacing: .07em !important;
    }

    .header-live-verified {
        gap: 4px !important;
        padding: 5px !important;
        border-radius: 8px !important;
    }

    .header-live-dot {
        width: 5px !important;
        height: 5px !important;
        flex-basis: 5px !important;
    }

    .header-live-verified small {
        font-size: .29rem !important;
        line-height: 1.05 !important;
    }

    .header-live-verified strong {
        font-size: .74rem !important;
    }

    .premium-public-nav {
        top: 68px !important;
        max-height: calc(100dvh - 76px) !important;
    }

    .mobile-first-main {
        width: calc(100% - 8px) !important;
        padding-top: 4px !important;
    }

    .home-map-layout {
        position: relative;
        display: block;
    }

    .home-map-first {
        padding: 5px !important;
    }

    .home-map-heading {
        min-height: 38px;
        padding: 2px 4px 6px !important;
    }

    .home-map-heading h1 {
        max-width: 72vw !important;
        font-size: clamp(1rem, 5vw, 1.25rem) !important;
        line-height: 1.04 !important;
    }

    .map-live-pill {
        margin-top: 0 !important;
        padding: 5px 7px !important;
        font-size: .48rem !important;
    }

    .mobile-first-map-stage {
        height: 72dvh !important;
        min-height: 520px !important;
        max-height: 720px !important;
        border-radius: 11px !important;
    }

    .public-state-label-marker .public-state-label-text {
        font-size: 6.1px !important;
    }

    .mobile-reveal-card {
        position: absolute !important;
        right: 11px !important;
        bottom: 36px !important;
        left: 11px !important;
        z-index: 750 !important;
        max-height: 150px !important;
        margin: 0 !important;
        padding: 9px 10px !important;
        overflow: auto !important;
        border: 1px solid rgba(255,255,255,.15) !important;
        border-top: 2px solid #f58220 !important;
        border-radius: 11px !important;
        background:
            linear-gradient(155deg,rgba(5,68,46,.95),rgba(2,43,29,.97)) !important;
        box-shadow: 0 12px 34px rgba(0,0,0,.28) !important;
        backdrop-filter: blur(8px);
    }

    .mobile-reveal-card .public-state-panel-head h2,
    .mobile-reveal-card .public-state-panel-head h3 {
        font-size: .95rem !important;
    }

    .mobile-reveal-card .public-state-code {
        padding: 4px 6px !important;
        font-size: .48rem !important;
    }

    .mobile-reveal-card > p {
        margin-top: 5px !important;
        font-size: .53rem !important;
        line-height: 1.35 !important;
    }

    .mobile-reveal-card .public-state-mini-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 5px !important;
        margin-top: 7px !important;
    }

    .mobile-reveal-card .public-state-mini-stats > div {
        min-height: 48px !important;
        padding: 6px 7px !important;
    }

    .mobile-reveal-card .public-state-mini-stats strong {
        font-size: .9rem !important;
    }

    .mobile-reveal-card .public-state-mini-stats span {
        font-size: .45rem !important;
    }

    .mobile-reveal-card .public-state-groups {
        max-height: 46px;
        margin-top: 5px;
        overflow: auto;
    }

    .mobile-reveal-card .public-state-group {
        padding: 5px 6px !important;
    }

    .mobile-reveal-card .public-state-group strong {
        font-size: .54rem !important;
    }

    .mobile-reveal-card .public-state-group small {
        font-size: .43rem !important;
    }

    .home-map-source {
        min-height: 30px;
        padding: 7px 4px 0 !important;
        font-size: .48rem !important;
        line-height: 1.25 !important;
    }

    .home-state-statistics {
        margin-top: 7px !important;
        padding: 14px 10px !important;
    }

    .home-state-statistics .state-statistics-heading h2 {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 430px) {
    .mobile-first-header {
        grid-template-columns: 40px minmax(0, 1fr) 64px !important;
        padding-inline: 6px !important;
    }

    .mobile-first-header .premium-public-brand img {
        width: 36px !important;
        height: 36px !important;
    }

    .mobile-first-header .premium-public-brand strong {
        font-size: .67rem !important;
    }

    .mobile-first-header .premium-public-brand small {
        font-size: .31rem !important;
    }

    .header-live-verified small {
        font-size: .26rem !important;
    }

    .header-live-verified strong {
        font-size: .68rem !important;
    }

    .mobile-first-map-stage {
        height: 74dvh !important;
        min-height: 540px !important;
    }

    .mobile-reveal-card {
        max-height: 145px !important;
    }
}

@media (max-width: 430px) {
    .mobile-first-header .premium-public-brand strong {
        font-size: .75rem !important;
        line-height: 1.02 !important;
    }

    .mobile-first-header .premium-public-brand small {
        font-size: .33rem !important;
    }
}


/* 2026-09-28 mobile header and map-space refinement */
.public-state-label-cross-river {
    overflow: visible !important;
    width: auto !important;
    transform: rotate(-58deg);
    transform-origin: center;
    white-space: nowrap !important;
}

@media (max-width: 820px) {
    .mobile-first-header {
        grid-template-columns: 42px 40px minmax(0, 1fr) 64px !important;
        column-gap: 6px !important;
        align-items: center !important;
    }
    .mobile-first-header .public-menu-toggle { grid-column: 1; align-self: center !important; }
    .mobile-first-header .premium-public-brand {
        grid-column: 2 / 4;
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr);
        column-gap: 9px !important;
        align-items: center !important;
    }
    .mobile-first-header .premium-public-brand img {
        grid-column: 1;
        width: 40px !important;
        height: 40px !important;
    }
    .mobile-first-header .premium-public-brand span { grid-column: 2; padding-left: 3px; }
    .mobile-first-header .premium-public-brand strong {
        font-size: clamp(.72rem, 3.25vw, .9rem) !important;
        white-space: normal !important;
    }
    .header-live-verified { grid-column: 4; }
    .mobile-first-main { padding-top: 0 !important; }
    .home-map-first { padding-top: 2px !important; }
    .home-map-heading {
        min-height: 32px !important;
        padding-top: 0 !important;
        padding-bottom: 3px !important;
    }
    .home-map-heading h1 {
        font-size: clamp(.92rem, 4.35vw, 1.12rem) !important;
        line-height: 1.02 !important;
    }
    .mobile-first-map-stage {
        height: 77dvh !important;
        min-height: 555px !important;
    }
    .public-state-label-cross-river {
        font-size: 5.7px !important;
        letter-spacing: -.02em;
    }
}

@media (max-width: 430px) {
    .mobile-first-header {
        grid-template-columns: 40px 38px minmax(0, 1fr) 60px !important;
        column-gap: 5px !important;
        padding-inline: 5px !important;
    }
    .mobile-first-header .premium-public-brand {
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 7px !important;
    }
    .mobile-first-header .premium-public-brand img {
        width: 38px !important;
        height: 38px !important;
    }
    .mobile-first-header .premium-public-brand strong { font-size: .70rem !important; }
    .mobile-first-map-stage {
        height: 79dvh !important;
        min-height: 575px !important;
    }
}

/* 2026-09-28 compact Support Groups Portal */
.support-groups-portal-page .support-portal-main{max-width:1180px;padding-top:10px}
.support-groups-portal-page .support-portal-hero{padding:clamp(18px,2.5vw,28px)}
.support-groups-portal-page .support-portal-hero h1{font-size:clamp(2rem,4vw,3.45rem);line-height:.96}
.support-groups-portal-page .support-portal-hero>p:not(.eyebrow){margin-top:10px;font-size:.82rem;line-height:1.45}
.support-groups-portal-page .premium-section{margin-top:10px;padding:clamp(14px,2vw,22px)}
.support-groups-portal-page .portal-entry-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:0}
.support-groups-portal-page .portal-entry-card{padding:14px;border-top-width:3px;border-radius:12px}
.support-groups-portal-page .portal-entry-card h3{margin:0;font-size:.9rem;line-height:1.15}
.support-groups-portal-page .portal-entry-card p{margin-top:6px;font-size:.66rem;line-height:1.4}
.support-groups-portal-page .portal-entry-card a{margin-top:9px;font-size:.65rem}
.support-groups-portal-page .premium-section-heading h2,.support-groups-portal-page .registration-premium h2{font-size:clamp(1.35rem,2.4vw,1.9rem)}
.support-groups-portal-page .requirements-premium-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}
.support-groups-portal-page .requirements-premium-grid article{display:block;padding:12px;border-radius:11px}
.support-groups-portal-page .requirements-premium-grid article>span{display:none!important}
.support-groups-portal-page .requirements-premium-grid h3{font-size:.82rem}
.support-groups-portal-page .requirements-premium-grid p{margin-top:4px;font-size:.64rem;line-height:1.4}
.support-groups-portal-page .registration-premium{gap:14px;border-left-width:4px}
.support-groups-portal-page .registration-premium p:not(.eyebrow){font-size:.74rem;line-height:1.45}
.support-groups-portal-page .directory-grid{margin-top:12px}
@media(max-width:820px){
.support-groups-portal-page .support-portal-main{width:calc(100% - 14px);padding-top:7px}
.support-groups-portal-page .support-portal-hero{padding:16px 14px}
.support-groups-portal-page .support-portal-hero h1{font-size:clamp(1.75rem,7.8vw,2.35rem)}
.support-groups-portal-page .support-portal-hero>p:not(.eyebrow){margin-top:7px;font-size:.7rem;line-height:1.4}
.support-groups-portal-page .premium-section{width:100%;margin-top:8px;padding:12px;border-radius:13px}
.support-groups-portal-page .portal-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px}
.support-groups-portal-page .portal-entry-card{padding:11px;min-height:0}
.support-groups-portal-page .portal-entry-card h3{font-size:.78rem}
.support-groups-portal-page .portal-entry-card p{font-size:.58rem;line-height:1.35}
.support-groups-portal-page .portal-entry-card a{margin-top:7px;font-size:.58rem}
.support-groups-portal-page .requirements-premium-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px;margin-top:9px}
.support-groups-portal-page .requirements-premium-grid article{padding:10px}
.support-groups-portal-page .requirements-premium-grid h3{font-size:.75rem}
.support-groups-portal-page .requirements-premium-grid p{font-size:.56rem}
.support-groups-portal-page .registration-premium{flex-direction:row;align-items:center;padding:12px}
.support-groups-portal-page .registration-premium h2{font-size:1.2rem}
.support-groups-portal-page .registration-premium p:not(.eyebrow){margin-top:5px;font-size:.62rem}
.support-groups-portal-page .directory-heading{flex-direction:row;align-items:center}}

/* 2026-09-28 readability and registration hierarchy */
.support-groups-portal-page .support-portal-hero>p:not(.eyebrow){font-size:1rem;line-height:1.55}.support-groups-portal-page .portal-entry-card h3{font-size:1.05rem}.support-groups-portal-page .portal-entry-card p{font-size:.82rem;line-height:1.5}.support-groups-portal-page .portal-entry-card a{font-size:.8rem}.support-groups-portal-page .requirements-premium-grid h3{font-size:.95rem}.support-groups-portal-page .requirements-premium-grid p{font-size:.78rem;line-height:1.5}.support-groups-portal-page .registration-premium p:not(.eyebrow),.support-groups-portal-page .membership-rule p{font-size:.88rem;line-height:1.55}
@media(max-width:820px){.support-groups-portal-page .support-portal-hero>p:not(.eyebrow){font-size:.88rem}.support-groups-portal-page .portal-entry-card h3{font-size:.92rem}.support-groups-portal-page .portal-entry-card p{font-size:.74rem;line-height:1.48}.support-groups-portal-page .portal-entry-card a{font-size:.72rem}.support-groups-portal-page .requirements-premium-grid h3{font-size:.86rem}.support-groups-portal-page .requirements-premium-grid p{font-size:.7rem;line-height:1.48}.support-groups-portal-page .registration-premium p:not(.eyebrow),.support-groups-portal-page .membership-rule p{font-size:.78rem;line-height:1.5}}

/* Final mobile map proportion: maximise geography, remove unused canvas. */
@media (max-width: 820px) {
    .mobile-first-main {
        width: calc(100% - 4px) !important;
    }

    .home-map-first {
        padding-inline: 3px !important;
    }

    .mobile-first-map-stage {
        height: clamp(390px, 52dvh, 470px) !important;
        min-height: 390px !important;
        max-height: 470px !important;
    }

    .mobile-reveal-card {
        position: static !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        z-index: auto !important;
        max-height: 150px !important;
        margin: 6px 3px 0 !important;
        padding: 9px 10px !important;
    }

    .home-map-source {
        padding: 5px 4px 0 !important;
    }

    .public-state-label-cross-river {
        transform: rotate(-46deg);
    }
}

@media (max-width: 430px) {
    .mobile-first-map-stage {
        height: clamp(380px, 50dvh, 445px) !important;
        min-height: 380px !important;
        max-height: 445px !important;
    }
}

/* 2026-09-28 mobile header/menu correction */
.mobile-first-header .public-menu-toggle {
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.mobile-first-header .public-menu-toggle::before {
    content: "☰" !important;
    display: block !important;
    margin: 0 !important;
    color: #fff !important;
    font-size: 1.45rem !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    transform: none !important;
}

@media (max-width: 820px) {
    .mobile-first-header {
        grid-template-columns: 42px minmax(0, 1fr) 64px !important;
        column-gap: 7px !important;
        align-items: center !important;
    }

    .mobile-first-header .public-menu-toggle {
        grid-column: 1 !important;
        align-self: center !important;
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px !important;
    }

    .mobile-first-header .premium-public-brand {
        grid-column: 2 !important;
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) !important;
        column-gap: 8px !important;
        align-items: center !important;
        min-width: 0 !important;
    }

    .mobile-first-header .premium-public-brand img {
        grid-column: 1 !important;
        width: 40px !important;
        height: 40px !important;
    }

    .mobile-first-header .premium-public-brand span {
        grid-column: 2 !important;
        min-width: 0 !important;
        padding-left: 0 !important;
    }

    .mobile-first-header .premium-public-brand strong {
        margin: 0 !important;
        font-size: clamp(.72rem, 3vw, .9rem) !important;
        line-height: 1.03 !important;
        white-space: normal !important;
    }

    .mobile-first-header .premium-public-brand small {
        margin-top: 2px !important;
        font-size: .34rem !important;
        line-height: 1 !important;
        letter-spacing: .07em !important;
        white-space: nowrap !important;
    }

    .header-live-verified {
        grid-column: 3 !important;
        min-width: 0 !important;
        justify-self: stretch !important;
    }
}

@media (max-width: 430px) {
    .mobile-first-header {
        grid-template-columns: 40px minmax(0, 1fr) 58px !important;
        column-gap: 5px !important;
        padding-inline: 5px !important;
    }

    .mobile-first-header .public-menu-toggle {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
    }

    .mobile-first-header .public-menu-toggle::before {
        font-size: 1.32rem !important;
    }

    .mobile-first-header .premium-public-brand {
        grid-template-columns: 37px minmax(0, 1fr) !important;
        column-gap: 6px !important;
    }

    .mobile-first-header .premium-public-brand img {
        width: 37px !important;
        height: 37px !important;
    }

    .mobile-first-header .premium-public-brand strong {
        font-size: .69rem !important;
    }

    .mobile-first-header .premium-public-brand small {
        font-size: .30rem !important;
        letter-spacing: .055em !important;
    }

    .header-live-verified {
        padding: 4px !important;
    }

    .header-live-verified small {
        font-size: .24rem !important;
    }

    .header-live-verified strong {
        font-size: .66rem !important;
    }
}

/* Stable mobile menu icon + narrow-header layout */
.mobile-first-header .public-menu-toggle::before,
.mobile-first-header .public-menu-toggle::after {
    content: none !important;
    display: none !important;
}

.public-menu-icon {
    display: grid;
    width: 20px;
    gap: 4px;
}

.public-menu-icon i {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #fff;
}

@media (max-width: 560px) {
    .mobile-first-header {
        grid-template-columns: 42px minmax(0, 1fr) !important;
        grid-template-areas:
            "menu brand"
            "menu live" !important;
        row-gap: 3px !important;
        column-gap: 7px !important;
        min-height: 76px !important;
        padding: 6px 8px !important;
    }

    .mobile-first-header .public-menu-toggle {
        grid-area: menu !important;
        align-self: center !important;
    }

    .mobile-first-header .premium-public-brand {
        grid-area: brand !important;
        grid-template-columns: 40px minmax(0, 1fr) !important;
        align-self: end !important;
        min-width: 0 !important;
    }

    .mobile-first-header .premium-public-brand strong {
        font-size: clamp(.74rem, 3.6vw, .95rem) !important;
        line-height: 1.02 !important;
    }

    .mobile-first-header .premium-public-brand small {
        font-size: .31rem !important;
        letter-spacing: .06em !important;
    }

    .header-live-verified {
        grid-area: live !important;
        width: auto !important;
        min-width: 0 !important;
        justify-self: start !important;
        min-height: 20px !important;
        padding: 2px 7px !important;
        border: 0 !important;
        background: transparent !important;
    }

    .header-live-verified small,
    .header-live-verified strong {
        display: inline !important;
    }

    .header-live-verified small {
        font-size: .28rem !important;
        letter-spacing: .05em !important;
    }

    .header-live-verified strong {
        margin-left: 3px !important;
        font-size: .62rem !important;
    }
}

/* Secure Access is a native direct link inside the public header. */
.header-secure-access {
    order: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid rgba(245,130,32,.65);
    border-radius: 999px;
    background: #fff;
    color: #06462f;
    box-shadow: 0 8px 22px rgba(0,0,0,.14);
    font-size: .72rem;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    touch-action: manipulation;
    pointer-events: auto;
}

.header-secure-access:hover,
.header-secure-access:focus-visible {
    border-color: #f58220;
    background: #fff7ef;
    color: #043a27;
    outline: 3px solid rgba(245,130,32,.18);
    outline-offset: 2px;
}

@media (min-width: 821px) {
    .mobile-first-header {
        grid-template-columns: auto minmax(0,1fr) auto auto !important;
    }
}

@media (max-width: 820px) {
    .mobile-first-header {
        grid-template-columns: 48px minmax(0,1fr) auto !important;
        grid-template-areas:
            "menu brand secure"
            "menu live secure" !important;
    }

    .header-secure-access {
        grid-area: secure;
        align-self: center;
        justify-self: end;
        min-height: 38px;
        padding: 7px 10px;
        font-size: .68rem;
    }
}

@media (max-width: 560px) {
    .mobile-first-header {
        grid-template-columns: 42px minmax(0,1fr) auto !important;
        grid-template-areas:
            "menu brand secure"
            "menu live secure" !important;
    }

    .header-secure-access {
        min-height: 36px;
        padding: 6px 9px;
        font-size: .64rem;
    }
}

@media (max-width: 390px) {
    .header-secure-access {
        gap: 4px;
        padding: 6px 8px;
        font-size: .60rem;
    }
}
