﻿
/* ==========================
           Home Map
        ========================== */

.map-section {
    position: relative; 
    background: var(--primary-bg);
    padding: 60px 85px 30px;
    color: #ffffff;
    overflow: hidden;
}

    .map-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 1) 100%);
        pointer-events: none; 
        z-index: 1; 
    }



    .map-section > * {
        position: relative;
        z-index: 3;
    }

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.map-row {
    align-items: flex-start; 
}

.map-content {
    padding-top: 0;
}

.map-tagline {
    font-size: 2rem;
    margin-bottom: 10px;
}

.map-divider {
    width: 100%;
    height: 1.5px;
    background: #ffffff;
    margin-bottom: 30px;    
}

.map-description {
    font-size: 1.5rem;
    line-height: 1.45;
    color: var(--muted);
    margin-bottom: 40px;
    text-align: right;
}

.stats-wrap {   
    justify-content: flex-end;
    margin-top:0;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 20px 32px;
    text-align: right;
}

/* Each stat owns its own column: it may shrink and its label may wrap, so a long
   label can never run underneath the neighbouring stat. */
.stat-item-map {    
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.stat-number {
    font-family: "Arial Black", Arial, sans-serif;
    font-size: clamp(2rem, 4.2vw, 2.2rem);
    line-height: 1;
    white-space: nowrap;
}

.stat-currency {
    font-size: 0.5em;
    vertical-align: super;
    margin-right: 2px;
}

.stat-label {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: clamp(1rem, 1.5vw, 1.375rem);
    line-height: 1.2;
    margin-top: 6px;
    overflow-wrap: break-word;
}


.stats-note {
    font-size: 1rem;
    font-style: italic;
    text-align: right;
    margin-top: 10px;
    margin-bottom: 0;
}

/* States not enabled on the widget: no hover highlight and no pointer cursor. */
#map-svg .mapsvg-disabled {
    cursor: default;
    pointer-events: none;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .stats-wrap {
        justify-content: flex-start;
    }

    .stats-row {
        flex-direction: row;
        justify-content: flex-start;
        gap: 16px 24px;
        text-align: left;
    }

    .stat-number {
        font-size: clamp(1.75rem, 7vw, 3rem);
    }
}


