/* TeamVibe UAE map: 3D designer artwork with transparent interactive regions. */
#uae-map.tv-map-section { position:relative; background:#fff; padding:48px 0 52px; overflow:hidden; }
#uae-map.tv-map-section::before,#uae-map.tv-map-section::after { display:none!important;content:none!important; }
#uae-map .tv-map-container { width:min(1320px,calc(100% - 48px));max-width:1320px;margin:auto; }
#uae-map .tv-map-heading { display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px; }
#uae-map .tv-map-eyebrow { color:var(--orange-600,#ed6224);font-size:12px;font-weight:800;letter-spacing:.08em; }
#uae-map .tv-map-heading h2 { color:#142650;font-size:clamp(25px,2.6vw,36px);margin:8px 0;line-height:1.15; }
#uae-map .tv-map-heading p { font-size:13px;color:#526073;margin:0; }
#uae-map .tv-map-see-all,#uae-map .tv-map-highlight-cta { display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:11px 18px;background:linear-gradient(105deg,#ff923b,#ed621e);border-radius:999px;color:#fff;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap; }
#uae-map .tv-map-content { position:relative;min-height:540px; }
#uae-map .tv-map-visual { position:relative;width:84%;max-width:1100px;margin:0 0 0 auto; }
#uae-map .tv-map-illustration { position:relative;width:100%;aspect-ratio:1346.21/641.84; }
#uae-map .tv-map-artwork { display:block;width:100%;height:100%;object-fit:contain; }
#uae-map .tv-map-artwork[hidden] { display:none; }
/* The SVG paths act as invisible hit areas, retaining original route URLs. */
#uae-map .tv-map-regions { position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:3; }
#uae-map .tv-map-region-link { cursor:pointer;outline:none;pointer-events:all; }
#uae-map .tv-map-region-shape { fill:rgba(255,130,40,.004)!important;stroke:transparent!important;stroke-width:0!important;pointer-events:visibleFill; }
#uae-map .tv-map-region-link:focus-visible .tv-map-region-shape { stroke:#f47720!important;stroke-width:3!important; }
/* If artwork file has not been copied yet, show original flat fallback rather than blank. */
#uae-map .is-artwork-missing .tv-map-region-shape { fill:#f4dec6!important;stroke:#c8a079!important;stroke-width:2.5!important; }
#uae-map .is-artwork-missing .tv-map-region-abu .tv-map-region-shape { fill:#ffce9c!important;stroke:#f47720!important; }
#uae-map .is-artwork-missing .tv-map-region-link:hover .tv-map-region-shape { fill:#ffad63!important; }
/* Info card remains at top-left; hidden until a territory is selected. */
#uae-map #tvMapInfoCard { position:absolute;top:20px;left:0;z-index:15;width:320px;max-width:320px;padding:12px;box-sizing:border-box;background:#fff;border:1px solid #f4cba9;border-radius:15px;box-shadow:0 12px 28px rgba(51,44,38,.14);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s; }
#uae-map #tvMapInfoCard.is-visible { opacity:1;visibility:visible;pointer-events:auto;transform:none; }
#uae-map .tv-map-highlight-top { display:flex;gap:11px;align-items:center;margin-bottom:11px; }
#uae-map .tv-map-highlight-thumbnail { width:76px;height:73px;flex:0 0 76px;border-radius:10px;overflow:hidden; }
#uae-map .tv-map-highlight-thumbnail img { width:100%;height:100%;object-fit:cover;display:block; }
#uae-map .tv-map-highlight-info { min-width:0;flex:1; }
#uae-map .tv-map-highlight h3 { margin:0 0 4px;color:#12244a;font-size:17px; }
#uae-map .tv-map-highlight p { margin:0;color:#5f6b7f;font-size:12px;line-height:1.5; }
#uae-map .tv-map-highlight-cta { width:100%;min-height:36px;padding:8px;box-sizing:border-box; }
/* One floating city label, positioned over the hovered emirate by JS. */
#uae-map .tv-map-hover-name { position:absolute;z-index:7;top:50%;left:50%;max-width:240px;padding:9px 16px;background:#fff;border:1px solid #f1c8a8;border-radius:999px;color:#142650;font-size:15px;font-weight:800;white-space:nowrap;box-shadow:0 6px 16px rgba(20,30,45,.15);pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%,-125%);transition:opacity .15s,transform .15s; }
#uae-map .tv-map-hover-name.is-visible { opacity:1;visibility:visible;transform:translate(-50%,-140%); }
#uae-map .tv-map-hover-name::after { content:"";position:absolute;top:calc(100% - 2px);left:49%;width:22px;height:20px;border-left:2px solid #f47720;border-bottom:2px solid #f47720;border-bottom-left-radius:20px;transform:rotate(-18deg); }
@media(max-width:1050px) { #uae-map .tv-map-visual { width:90%; } }
@media(max-width:767px) {
 #uae-map.tv-map-section { padding:32px 0; }
 #uae-map .tv-map-container { width:calc(100% - 28px); }
 #uae-map .tv-map-heading { flex-direction:column;align-items:flex-start;gap:14px; }
 #uae-map .tv-map-content { display:flex;flex-direction:column;min-height:0;gap:12px; }
 #uae-map .tv-map-visual { width:100%;max-width:100%;margin:0;overflow-x:auto;overflow-y:hidden; }
 #uae-map .tv-map-illustration { min-width:680px; }
 #uae-map #tvMapInfoCard { position:relative;top:auto;left:auto;order:-1;width:100%;max-width:100%;display:none; }
 #uae-map #tvMapInfoCard.is-visible { display:block; }
 #uae-map .tv-map-hover-name { font-size:12px;padding:7px 11px; }
}
@media(prefers-reduced-motion:reduce) { #uae-map #tvMapInfoCard,#uae-map .tv-map-hover-name { transition:none; } }



/* ==========================================
   TEAMVIBE — MAP HOVER TITLE ENHANCEMENT
========================================== */

/* Floating city title */
#uae-map .tv-map-hover-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 11px 18px 11px 40px;
    border: 1px solid #f4c5a5;
    border-radius: 30px;

    background: #fff;
    color: #142650;

    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;

    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

/* Orange location pin before city name */
#uae-map .tv-map-hover-name::before {
    content: "\f3c5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);

    color: #f47720;
    font-size: 17px;
    line-height: 1;
}

/* Longer curved connector below title */
#uae-map .tv-map-hover-name::after {
    content: "";
    position: absolute;

    top: calc(100% - 2px);
    left: 50%;

    width: 62px;
    height: 56px;

    border-left: 2.5px solid #f47720;
    border-bottom: 2.5px solid #f47720;
    border-bottom-left-radius: 36px;

    transform: rotate(-18deg);
    transform-origin: top left;

    pointer-events: none;
}

/* Mobile */
@media (max-width: 767px) {
    #uae-map .tv-map-hover-name {
        font-size: 13px;
        padding: 8px 12px 8px 32px;
    }

    #uae-map .tv-map-hover-name::before {
        left: 11px;
        font-size: 14px;
    }

    #uae-map .tv-map-hover-name::after {
        width: 30px;
        height: 25px;
        border-width: 2px;
    }
}



/* ==========================================
   MAP — CLIENT STYLE CURVED CONNECTOR
========================================== */

/* Remove old curve below city title */
#uae-map .tv-map-hover-name::after {
    display: none !important;
}

/* SVG curved connector */
#uae-map .tv-map-connector {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 6;
    opacity: 0;
    transition: opacity .2s ease;
}

#uae-map .tv-map-connector.is-visible {
    opacity: 1;
}

#uae-map .tv-map-connector path {
    fill: none;
    stroke: #f47720;
    stroke-width: 1.7;
    stroke-linecap: round;
}

/* Orange and white endpoint */
#uae-map .tv-map-connector-dot {
    position: absolute;
    z-index: 7;
    width: 15px;
    height: 15px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #f47720;
    box-shadow:
        0 0 0 2px #ffb36e,
        0 3px 9px rgba(244, 119, 32, .28);
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
}

#uae-map .tv-map-connector-dot.is-visible {
    opacity: 1;
}

a.tv-map-see-all:hover  
{
    background-color: #12244a !important;
}
