

/* =========================================================
   ROOT
========================================================= */

.jasch-global-section {

    --jasch-navy: #061525;
    --jasch-blue: #006EDB;
    --jasch-blue-light: #1597FF;

    --jasch-grey: #EEF2F5;
    --jasch-border: #DCE4E9;
    --jasch-text: #657582;

    position: relative;

    width: 100%;

    padding: 120px 0;

    background: #ffffff;

    color: var(--jasch-navy);

    overflow: hidden;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   CONTAINER
========================================================= */

.jasch-global-container {

    width: min(
        1400px,
        calc(100% - 48px)
    );

    margin: 0 auto;

}


/* =========================================================
   HEADER
========================================================= */

.jasch-global-header {

    max-width: 720px;

    margin-bottom: 70px;

}


.jasch-global-eyebrow {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    color: var(--jasch-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .16em;

}


.jasch-global-eyebrow::before {

    content: "";

    width: 32px;

    height: 2px;

    background:
        var(--jasch-blue);

}


.jasch-global-title {

    margin: 0;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: .95;

    font-weight: 800;

    letter-spacing: -.055em;

    text-transform: uppercase;

}




.jasch-global-description {

    max-width: 600px;

    margin:
        25px 0 0;

    color:
        var(--jasch-text);

    font-size: 15px;

    line-height: 1.75;

}


/* =========================================================
   MAP LAYOUT
========================================================= */

.jasch-global-map-layout {

    display: grid;

    grid-template-columns:
        360px
        minmax(0, 1fr);

    min-height: 620px;

    border-top:
        1px solid var(--jasch-border);

    border-bottom:
        1px solid var(--jasch-border);

}


/* =========================================================
   LOCATION NAVIGATION
========================================================= */

.jasch-global-navigation {

    position: relative;

    z-index: 5;

    padding:
        40px 35px 40px 0;

    border-right:
        1px solid var(--jasch-border);

}


.jasch-navigation-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 25px;

}


.jasch-navigation-heading span {

    color:
        var(--jasch-navy);

    font-size: 16px;

    font-weight: 800;

    letter-spacing: .12em;

}


.jasch-navigation-heading small {

    color:
        #9AA7AF;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .1em;

}


/* =========================================================
   LOCATION TABS
========================================================= */

.jasch-location-tabs {

    border-top:
        1px solid var(--jasch-border);

}


.jasch-location-tab {

    position: relative;

    width: 100%;

    min-height: 92px;

    display: grid;

    grid-template-columns:
        30px
        45px
        1fr
        25px;

    align-items: center;

    gap: 10px;

    padding:
        12px 15px 12px 0;

    border: 0;

    border-bottom:
        1px solid var(--jasch-border);

    background:
        transparent;

    color:
        var(--jasch-navy);

    text-align: left;

    cursor: pointer;

    transition:
        background .3s ease,
        padding .3s ease;

}


.jasch-location-tab:hover {

    padding-left:
        12px;

    background:
        #F5F8FA;

}


.jasch-location-tab.active {

    padding-left:
        12px;

    background:
        #F5F8FA;

}


/* ACTIVE BLUE LINE */

.jasch-location-tab::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    bottom: 0;

    width: 3px;

    background:
        var(--jasch-blue);

    transform:
        scaleY(0);

    transform-origin:
        center;

    transition:
        transform .3s ease;

}


.jasch-location-tab.active::before {

    transform:
        scaleY(1);

}


/* NUMBER */

.jasch-tab-number {

    color:
        #9CA8AF;

    font-size: 16px;

    font-weight: 800;

}


.jasch-location-tab.active
.jasch-tab-number {

    color:
        var(--jasch-blue);

}


/* FLAG */

.jasch-tab-flag {

    width: 36px;

    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid var(--jasch-border);

    border-radius:
        50%;

    background:
        #ffffff;

    font-size: 19px;

}


/* CONTENT */

.jasch-tab-content {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.jasch-tab-content strong {

    font-size: 20px;

    font-weight: 750;

}


.jasch-tab-content small {

    color:
        #89969E;

    font-size: 8px;

    font-weight: 600;

    letter-spacing: .08em;

    text-transform:
        uppercase;

}


/* ARROW */

.jasch-tab-arrow {

    color:
        #A2ADB4;

    font-size: 18px;

    transition:
        transform .25s ease,
        color .25s ease;

}


.jasch-location-tab:hover
.jasch-tab-arrow,

.jasch-location-tab.active
.jasch-tab-arrow {

    color:
        var(--jasch-blue);

    transform:
        translateX(5px);

}


/* =========================================================
   MAP STAGE
========================================================= */

.jasch-map-stage {

    position: relative;

    min-width: 0;

    min-height: 620px;

    background:
        #ffffff;

    overflow: hidden;

}


/* TECHNICAL GRID */

.jasch-map-grid {

    position: absolute;

    inset: 0;

    opacity: .45;

    background-image:

        linear-gradient(
            rgba(6,21,37,.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(6,21,37,.035) 1px,
            transparent 1px
        );

    background-size:
        55px 55px;

    pointer-events: none;

}


/* SVG */

.jasch-svg-map {

    position: absolute;

    inset: 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


.jasch-svg-map svg {

    width: 100%;

    height: 100%;

    display: block;

    overflow: visible;

}

/* Hide all country names built into the SVG */
.jasch-svg-map svg text {
    display: none !important;
}
.jasch-svg-map svg title {
    display: none !important;
}

/* COUNTRIES */

.jasch-svg-map
.land {

    fill:
        var(--jasch-grey) !important;

    stroke:
        #ffffff !important;

    stroke-width:
        1;

    cursor:
        default;

    transition:
        fill .55s ease,
        filter .55s ease;

}


/* SELECTED COUNTRY */

.jasch-svg-map
.land.jasch-selected {

    fill:
        var(--jasch-blue) !important;

    filter:
        drop-shadow(
            0 10px 20px
            rgba(0,110,219,.18)
        );

}


/* ONLY OUR COUNTRIES ARE CLICKABLE */

.jasch-svg-map
.land.jasch-clickable {

    cursor:
        pointer;

}


/* HOVER */

.jasch-svg-map
.land.jasch-clickable:hover {

    fill:
        var(--jasch-blue-light) !important;

}


/* =========================================================
   MAP CAPTION
========================================================= */

.jasch-map-caption {

    position: absolute;

    left: 30px;

    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 10px;

    color:
        #89969E;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .14em;

}


.jasch-caption-line {

    width: 28px;

    height: 1px;

    background:
        var(--jasch-blue);

}


/* =========================================================
   MAP STATUS
========================================================= */

.jasch-map-status {

    position: absolute;

    right: 28px;

    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding:
        8px 12px;

    border:
        1px solid var(--jasch-border);

    background:
        rgba(255,255,255,.92);

    color:
        var(--jasch-navy);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .1em;

}


.jasch-status-dot {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background:
        var(--jasch-blue);

    box-shadow:
        0 0 0 4px
        rgba(0,110,219,.12);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .jasch-global-map-layout {

        grid-template-columns:
            290px
            minmax(0, 1fr);

    }

    .jasch-global-navigation {

        padding-right:
            25px;

    }

    .jasch-location-tab {

        grid-template-columns:
            25px
            38px
            1fr
            20px;

        gap: 7px;

    }

    .jasch-tab-flag {

        width: 32px;

        height: 32px;

        font-size: 16px;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .jasch-global-map-layout {

        grid-template-columns:
            1fr;

    }

    .jasch-global-navigation {

        padding:
            25px 0;

        border-right:
            0;

        border-bottom:
            1px solid var(--jasch-border);

    }

    .jasch-location-tabs {

        display: grid;

        grid-template-columns:
            repeat(5, 1fr);

        border-top:
            1px solid var(--jasch-border);

    }

    .jasch-location-tab {

        min-height: 100px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

        gap: 7px;

        padding:
            12px;

        border-right:
            1px solid var(--jasch-border);

    }

    .jasch-location-tab:last-child {

        border-right:
            0;

    }

    .jasch-location-tab:hover,
    .jasch-location-tab.active {

        padding-left:
            12px;

    }

    .jasch-tab-number {

        order:
            1;

    }

    .jasch-tab-flag {

        order:
            2;

    }

    .jasch-tab-content {

        order:
            3;

    }

    .jasch-tab-arrow {

        display:
            none;

    }

    .jasch-map-stage {

        min-height:
            550px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .jasch-global-section {

        padding:
            75px 0;

    }

    .jasch-global-container {

        width:
            calc(100% - 30px);

    }

    .jasch-global-header {

        margin-bottom:
            40px;

    }

    .jasch-global-title {

        font-size:
            43px;

    }

    .jasch-global-description {

        font-size:
            13px;

    }


    /*
     * Horizontal scroll location tabs
     */

    .jasch-global-navigation {

        overflow:
            hidden;

    }

    .jasch-navigation-heading {

        margin-bottom:
            15px;

    }

    .jasch-location-tabs {

        display:
            flex;

        overflow-x:
            auto;

        scroll-snap-type:
            x mandatory;

        scrollbar-width:
            none;

    }

    .jasch-location-tabs::-webkit-scrollbar {

        display:
            none;

    }


    .jasch-location-tab {

        flex:
            0 0 145px;

        min-height:
            105px;

        scroll-snap-align:
            start;

        border-right:
            1px solid var(--jasch-border);

    }


    .jasch-map-stage {

        min-height:
            390px;

    }


    .jasch-svg-map {

        inset:
            10px;

    }


    .jasch-map-caption {

        left:
            15px;

        bottom:
            15px;

    }


    .jasch-map-status {

        right:
            15px;

        bottom:
            15px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .jasch-map-stage {

        min-height:
            320px;

    }

    .jasch-location-tab {

        flex-basis:
            135px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .jasch-svg-map
    .land {

        transition:
            none;

    }

    .jasch-location-tab {

        transition:
            none;

    }

}

