.world-map-hotspots {
    --world-map-hotspots-top-line-height: clamp(90px, 10vw, 170px);
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
}

.world-map-hotspots__header {
    position: relative;
    padding-top: var(--world-map-hotspots-top-line-height);
    margin-bottom: 32px;
}

.world-map-hotspots__title-wrap {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
}

.world-map-hotspots__title-wrap::before {
    content: "";
    position: absolute;
    width: calc(50% + 1px);
    height: 2px;
    background: var(--color-accent);
    top: 0;
    left: 0;
    z-index: 2;
}

.world-map-hotspots__title-wrap::after {
    content: "";
    position: absolute;
    width: calc(50% - (    min(600px, 100%) / 2 ));
    height: 2px;
    background: var(--color-accent);
    bottom: 0;
    left: 0;
    z-index: 2;
}

.world-map-hotspots__title-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc(50% - 50vw);
    width: 100vw;
    min-height: clamp(120px, 13vw, 190px);
    overflow: visible;
}

.world-map-hotspots__title-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background: #f5f5f5;
}

.world-map-hotspots__title {
    margin: 0;
    color: var(--color-black, #111);
    font-family: var(--font-primary, sans-serif);
    font-size: clamp(32px, 4vw, 64px);
    font-weight: 300;
    line-height: 1;
}

.world-map-hotspots__subtitle {
    margin: 8px 0 0;
    color: var(--color-black, #111);
    font-family: var(--font-secondary, sans-serif);
    font-size: 14px;
    line-height: 1.45;
}

.world-map-hotspots__title-custom.custom-title {
    --custom-title-padding-top: 0;
    --custom-title-padding-bottom: 0;
    --world-map-hotspots-top-line-height: clamp(90px, 10vw, 170px);
    width: min(600px, 100%);
    max-width: min(600px, 100%);
    margin: 0;
    height: 100%;
    min-height: clamp(120px, 13vw, 190px);
    position: relative;
    z-index: 1;
    padding: clamp(22px, 3vw, 36px) clamp(18px, 3.5vw, 46px);
    background: #f5f5f5;
    overflow: visible;
    display: flex;
    align-content: center;
    justify-content: center;
}

.world-map-hotspots__title-custom.custom-title:before{
    content: "";
    position: absolute;
    width: 2px;
    height: 35%;
    left: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(237, 29, 36, 0.08) 0%, rgba(237, 29, 36, 0.92) 100%);
}

.world-map-hotspots__title-custom.custom-title:after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    aspect-ratio: 1;
    background: red;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.world-map-hotspots__title-custom .custom-title__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    row-gap: 8px;
    text-align: center;
    overflow: visible;
}

.world-map-hotspots__title-custom .custom-title__line {
    display: block;
}

.world-map-hotspots  .world-map-hotspots__title-custom .custom-title__header .custom-title__title {
    margin: 0;
    color: var(--color-black, #111);
    font-family: var(--font-primary, sans-serif);
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.world-map-hotspots  .world-map-hotspots__title-custom .custom-title__header .custom-title__subtitle {
    margin: 0;
    max-width: 760px;
    color: rgba(17, 17, 17, 0.88);
    font-family: var(--font-secondary, sans-serif);
    font-size: var(--font-size-lg);
    font-weight: 400;
    line-height: 1.45;
    opacity: 1;
}

.world-map-hotspots__title-custom .custom-title__cta-wrapper,
.world-map-hotspots__title-custom .custom-title__actions,
.world-map-hotspots__title-custom .custom-title__line:last-child {
    display: none;
}

.world-map-hotspots__map-shell {
    position: relative;
}

.world-map-hotspots__media {
    position: relative;
    overflow: visible;
}

.world-map-hotspots__image {
    display: block;
    width: 100%;
    height: auto;
}

.world-map-hotspots__markers,
.world-map-hotspots__popovers {
    position: absolute;
    inset: 0;
}

.world-map-hotspots__markers {
    pointer-events: none;
}

.world-map-hotspots__popovers {
    pointer-events: none;
    z-index: 4;
}

.world-map-hotspots__media .world-map-hotspots__markers .world-map-hotspots__point {
    position: absolute;
    top: var(--point-y);
    left: var(--point-x);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13vw;
    height: 5vw;
    transform: translate(-50%, -50%);
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    z-index: 5;
}

.world-map-hotspots__point:hover .world-map-hotspots__point-dot,
.world-map-hotspots__point:focus-visible .world-map-hotspots__point-dot,
.world-map-hotspots__point[aria-expanded='true'] .world-map-hotspots__point-dot,
.world-map-hotspots__point[data-world-map-hotspots-selected='true'] .world-map-hotspots__point-dot {
    transform: scale(1.12);
    box-shadow: 0 8px 22px rgba(237, 29, 36, 0.45);
}


.world-map-hotspots__point:focus-visible {
    outline: 2px solid #ed1d24;
    outline-offset: 4px;
    border-radius: 999px;
}

.world-map-hotspots__popover {
    --world-map-hotspots-gap: 22px;
    position: absolute;
    top: var(--point-y);
    left: var(--point-x);
    width: min(330px, calc(100vw - 48px));
    pointer-events: auto;
    z-index: 10;
}

.world-map-hotspots__popover[hidden] {
    display: none;
}

.world-map-hotspots__popover--right {
    transform: translate(var(--world-map-hotspots-gap), -50%);
}

.world-map-hotspots__popover--left {
    transform: translate(calc(-100% - var(--world-map-hotspots-gap)), -50%);
}

.world-map-hotspots__popover--top {
    transform: translate(-50%, calc(-100% - var(--world-map-hotspots-gap)));
}

.world-map-hotspots__popover--bottom {
    transform: translate(-50%, var(--world-map-hotspots-gap));
}

.world-map-hotspots__popover  .world-map-hotspots__close  {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
}

.world-map-hotspots__close:hover,
.world-map-hotspots__close:focus-visible {
    background: rgba(255, 255, 255, 0.95);
}

.world-map-hotspots__close:focus-visible {
    outline: 2px solid #ed1d24;
    outline-offset: 2px;
}

.world-map-hotspots__popover .card {
    max-width: 100%;
    position: relative;
}

.world-map-hotspots__popover .card:before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 30px;
}

.world-map-hotspots__popover .card__container.glass-container {
    border-radius: 30px;
    overflow: hidden;
}

.world-map-hotspots__popover .card__container .glass-content {
    padding: 28px 28px 24px;
}

.world-map-hotspots__popover .card__content {
    min-height: 0;
    gap: 0;
}

.world-map-hotspots__popover .card__logo {
    width: fit-content;
    max-width: min(170px, 65%);
    margin: 0 auto 16px 0;
}

.world-map-hotspots__popover .card__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 40px;
}

.world-map-hotspots__popover .card__text {
    max-height: 220px;
    padding-right: 12px;
    font-size: 18px;
    line-height: 1.5;
}

.world-map-hotspots__popover .card__footer {
    margin-top: 20px;
    justify-content: flex-end;
}

.elementor-editor-active .world-map-hotspots {
    animation: wmh-editor-appear 0.18s ease-out both;
}

.elementor-editor-active [data-world-map-hotspots-root][data-world-map-hotspots-editor='true'] .world-map-hotspots__point {
    overflow: visible;
}

.elementor-editor-active [data-world-map-hotspots-root][data-world-map-hotspots-editor='true'] .world-map-hotspots__point-dot {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ed1d24;
    box-shadow: 0 0 0 3px rgba(237, 29, 36, 0.45), 0 8px 18px rgba(0, 0, 0, 0.32);
}

.elementor-editor-active [data-world-map-hotspots-root][data-world-map-hotspots-editor='true'] .world-map-hotspots__point::after {
    content: '';
    position: absolute;
    inset: 50% auto auto 50%;
    width: 28px;
    height: 28px;
    border: 2px solid rgba(237, 29, 36, 0.55);
    border-radius: 999px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

body .site-container a.custom-btn.alternating-card__btn{
    margin-top: 0;
}

@keyframes wmh-editor-appear {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes world-map-hotspots-pulse {
    0% {
        transform: scale(0.72);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.7);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .world-map-hotspots__title-card {
        min-height: clamp(98px, 18vw, 150px);
        padding: 20px 18px;
    }
}

@media (max-width: 767px) {
    .world-map-hotspots__header {
        margin-bottom: 24px;
    }

    .world-map-hotspots__title-card {
        min-height: 86px;
        padding: 14px 12px;
    }

    .world-map-hotspots__title-custom .custom-title__header {
        row-gap: 4px;
    }

    .world-map-hotspots__title-custom .custom-title__title {
        font-size: clamp(24px, 8vw, 34px);
    }

    .world-map-hotspots__title-custom .custom-title__subtitle {
        font-size: 12px;
        max-width: none;
    }

    .world-map-hotspots__point {
        width: 32px;
        height: 32px;
    }

    .world-map-hotspots__map-logo {
        top: 10px;
        left: 10px;
        max-width: 110px;
        max-height: 42px;
        padding: 6px 8px;
    }

    .world-map-hotspots__point-dot {
        width: 16px;
        height: 16px;
    }

    .world-map-hotspots__popovers {
        position: static;
        inset: auto;
        margin-top: 20px;
    }

    .world-map-hotspots__popover {
        position: static;
        width: 100%;
        transform: none;
    }

    .world-map-hotspots__popover .card__container .glass-content {
        padding: 24px 20px 20px;
    }

    .world-map-hotspots__popover .card__text {
        max-height: none;
        font-size: 16px;
        line-height: 1.45;
    }
}

.world-map-hotspots .world-map-hotspots__title-custom.custom-title.custom-title--point-position-bottom .custom-title__line:first-child,
.world-map-hotspots .world-map-hotspots__title-custom.custom-title .custom-title__line:first-child {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 100%;
    width: 2px;
    height: var(--world-map-hotspots-top-line-height);
    margin: 0;
    z-index: 2;
    transform: translateX(-50%);
    pointer-events: none;
}

.world-map-hotspots .world-map-hotspots__title-custom.custom-title .custom-title__line:first-child .custom-title__line-wrapper {
    height: 100%;
    background: linear-gradient(180deg, rgba(237, 29, 36, 0.08) 0%, rgba(237, 29, 36, 0.92) 100%);
}

.world-map-hotspots .world-map-hotspots__title-custom.custom-title .custom-title__line:first-child::before,
.world-map-hotspots .world-map-hotspots__title-custom.custom-title .custom-title__line:first-child::after {
    content: none;
    display: none;
    animation: none;
}
