.locations-map .section-header__info {
    max-width: 90rem;
}

.locations-map__content {
    position: relative;
}

.locations-map__country:not([data-location]) {
    fill: black;
    fill-opacity: 0.1;
}

.locations-map__country[data-location] {
    fill: #383F51;
    fill-opacity: 1;
    transition: 0.3s;
    cursor: pointer;
}

.locations-map__country[data-location]:hover {
    fill: var(--color-red);
}

@media screen and (max-width: 767.9px) {
    .locations-map {
        display: none;
    }
}


/* locations-map-badge START */
.locations-map-badge {
    --width: calc(100% / 1280);
    --height: calc(100% / 800);

    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.4rem;
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.3s;
    pointer-events: none;
}

.locations-map-badge:not(.active) {
    opacity: 0;
}

.locations-map-badge__title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
}

.locations-map-badge__title-flag {
    flex: 0 0 auto;
    width: 2.4rem;
}


.locations-map-badge__title-divider {
    flex: 0 0 auto;
    width: 0.1rem;
    height: 2.4rem;
    background: #000;
    opacity: 0.2;

    display: none;
}


.locations-map-badge__count {
    display: none;
    font-size: 1.4rem;
}

.locations-map-badge__count span {
    font-weight: 700;
    color: var(--color-red);
}

.locations-map-badge[data-location='Canada'] {
    --left: 128;
    --top: 270;
}

.locations-map-badge[data-location='United States of America'] {
    --left: 80;
    --top: 220;
}

.locations-map-badge[data-location='United Kingdom'] {
    --left: 580;
    --top: 290;
}

.locations-map-badge[data-location='France'] {
    --left: 600;
    --top: 330;  
}

.locations-map-badge[data-location='Germany'] {
    --left: 620;
    --top: 300;
}

.locations-map-badge[data-location='Spain'] {
    --left: 570;
    --top: 360;  
}

.locations-map-badge[data-location='Sweden'] {
    --left: 630;
    --top: 220; 
}

.locations-map-badge[data-location='Finland'] {
    --left: 680;
    --top: 200;
}

.locations-map-badge[data-location='Saudi Arabia'] {
    --left: 730;
    --top: 420;
}

.locations-map-badge[data-location='India'] {
    --left: 850;
    --top: 430;
}

.locations-map-badge[data-location='China'] {
    --left: 930;
    --top: 390;
}

.locations-map-badge[data-location='Australia'] {
    --left: 1040;
    --top: 600;
}




.locations-map-badge {
    left: calc(var(--left) * var(--width));
    top: calc(var(--top) * var(--height));      
}
/* locations-map-badge END */



/* locations-map-modal START */
.locations-map-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    overflow: hidden;
    transition-delay: 0s;
}

.locations-map-modal__overlay {
    background: #000;
    position: absolute;
    inset: 0;
    opacity: 0.4;
    transition: 0.3s;
}

.locations-map-modal__inner {
    width: 51.4rem;
    height: 100%;
    max-width: 100%;
    background: #fff;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.3s ease-out;
}

.locations-map-modal__content {
    height: 100%;
}

.locations-map-modal__close {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    background: #fff;
    border-radius: 0.5rem;
    font-family: monospace;
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--color-red);
    position: absolute;
    top: 2rem;
    right: calc(100% + 2rem);
    cursor: pointer;
    transition: 0.3s;
}

.locations-map-modal__close:hover {
    background: var(--color-red);
    color: #fff;
}

.locations-map-modal:not(.active) {
    opacity: 0;
    pointer-events: none;
    transition-delay: 0.3s;
}

.locations-map-modal:not(.active) .locations-map-modal__overlay {
    opacity: 0;
}

.locations-map-modal:not(.active) .locations-map-modal__inner {
    translate: 100% 0;
}
/* locations-map-modal END */



/* locations-map-modal-item START */
.locations-map-modal-item {
    height: 100%;
}

.locations-map-modal-item:not(.active) {
    display: none;
}

.locations-map-modal-item__wrapper {
    display: flex;
    flex-direction: column;
    height: 100%
}

.locations-map-modal-item__header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 4rem;
    border-bottom: 0.1rem solid rgb(0 0 0 / 40%);
    flex: 0 0 auto;
}

.locations-map-modal-item__list {
    flex: 1;
    overflow-y: auto;
}

.locations-map-modal-item__title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 2.8rem;
}

.locations-map-modal-item__title-flag {
    flex: 0 0 auto;
    width: 3.4rem;
}

.locations-map-modal-item__title-divider {
    flex: 0 0 auto;
    width: 0.1rem;
    height: 2.4rem;
    background: #000;
    opacity: 0.2;

    display: none;
}

.locations-map-modal-item__count {
    flex: 0 0 auto;
    font-size: 2rem;
    display: none;
}

.locations-map-modal-item__count span {
    font-weight: 700;
    color: var(--color-red);
}
/* locations-map-modal-item END */



/* locations-map-modal-address START */
.locations-map-modal-address {
    padding: 4rem;
    gap: 2.4rem;
}

.locations-map-modal-address + .locations-map-modal-address {
    border-top: 0.1rem solid rgb(0 0 0 / 40%);
}

.locations-map-modal-address__image {
    width: 20rem;
}

.locations-map-modal-address__divider {
    width: 5.6rem;
    height: 0.2rem;
    background: var(--color-red);
}

.locations-map-modal-address__info {
    gap: 0.8rem;
}

.locations-map-modal-address__title {
    font-weight: 600;
    font-size: 2rem;
    color: var(--color-text-1);
}

.locations-map-modal-address__contacts {
    gap: 1.2rem;
}

.locations-map-modal-address__contact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.4rem;
}

.locations-map-modal-address__contact-icon {
    flex: 0 0 auto;
    width: 2.4rem;
}
/* locations-map-modal-address END */





@media (hover: hover) and (pointer: fine) {
    .example:hover {
        
    }
}

@media (hover: none) {
    .example:active {
        
    }
}