/* ============================================================
   Map Section  (node 5-3411)
   ============================================================ */

.map-section {
    width: 100%;
    max-width: none !important;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    height: 400px;
    background-color: #F8F5EE;
}

.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: 400px;
    background-color: #F8F5EE;
}

.map-content-container {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    height: 100%;
    pointer-events: none;
}

.map-link {
    display: block;
    width: 100%;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.map-img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.map-link:hover .map-img {
    transform: scale(1.02);
}

/* ---- Address balloon wrap ---- */
.map-balloon-wrap {
    position: absolute;
    left: calc(50% - 368px); /* Shifted right by 20px (was -388px relative to 50%) */
    top: 4px;    /* Moved up by 3px from 7px */
    width: 685px;
    pointer-events: none;
}

.map-balloon-bg {
    display: block;
    width: 100%;
    height: auto;
}

.map-balloon-content {
    position: absolute;
    z-index: 2;
    /* Left: 115px / 685px = 16.8% */
    left: 16.8%;
    /* Top: 83px / 330px = 25.1% */
    top: 25.1%;
    /* Width: 335px / 685px = 48.9% */
    width: 49%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.map-balloon-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #31A11B;
    line-height: 61.2px;
    margin: 0;
    text-transform: uppercase;
    word-wrap: break-word;
}

.map-balloon-address {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #1C1A29;
    line-height: 34px;
    margin: 0;
    word-wrap: break-word;
}



/* ---- Location pin marker ---- */
.map-pin {
    position: absolute;
    left: calc(50% + 289.69px); /* Shifted right by 20px (was +269.69px relative to 50%) */
    top: 105.97px; /* Moved up by 3px from 108.97px */
    width: 28px;
    height: 33px;
    pointer-events: none;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
    .map-balloon-wrap {
        left: 20px;
        top: 20px;
        width: 480px;
    }
    .map-balloon-title {
        font-size: 24px;
        line-height: 1.3;
    }
    .map-balloon-address {
        font-size: 14px;
        line-height: 22px;
    }
    .map-pin {
        left: 68%;
    }
}

@media (max-width: 768px) {
    .map-section {
        height: 520px;
    }
    .map-link,
    .map-img {
        height: 520px;
    }
    .map-balloon-wrap {
        left: 12px;
        top: 12px;
        width: calc(100% - 24px);
        max-width: 400px;
    }
    .map-balloon-content {
        left: 16%;
        top: 18%;
        width: 50%;
    }
    .map-balloon-title {
        font-size: 20px;
        line-height: 1.2;
    }
    .map-balloon-address {
        font-size: 13px;
        line-height: 20px;
    }
    .map-pin {
        display: none;
    }
}



