.hs {
    position: relative;
}

.hs .hs-stage {
    position: relative;
    display: block;
}

.hs .hs-bg {
    position: relative;
    z-index: 1;
}

.hs .hs-bg img,
.hs .hs-bg picture,
.hs .hs-bg figure {
    display: block;
    max-width: 100%;
    height: auto;
}

.hs .hs-bg figure {
    margin: 0;
}

.hs .hs-layer--hotspots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
}

.hs-dot {
    position: absolute;
    left: calc(var(--x) * 1%);
    top: calc(var(--y) * 1%);
    width: calc(var(--w) * 1%);
    height: calc(var(--h) * 1%);
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    box-sizing: border-box;
    background: transparent;
    overflow: visible;
    z-index: 10;
    box-shadow: var(--shadow-icon, none) !important;
    filter: var(--shadow-filter, none) !important;
}

.hs-dot::before,
.hs-dot::after {
    pointer-events: none;
}

.hs-dot[role="button"] {
    cursor: pointer;
}

/* ICON MODE */

.hs-dot.is-icon {
    border-radius: 50%;
    background: var(--icon-bg, #0ea5e9);
    color: var(--icon-fg, #fff);
    border: var(--icon-border-width, 0) solid var(--icon-border-color, transparent);
    min-width: 24px;
    min-height: 24px;
    width: max(24px, calc(var(--w, 3.2) * 1%)) !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    box-sizing: border-box;
    z-index: 20;
    &:hover,
    &:focus-within {
        z-index: 999;
    }
}

.hs-dot.is-icon:hover,
.hs-dot.is-icon:focus-within {
    z-index: 999;
}

.hs-dot.is-icon > .hs-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

@supports not (aspect-ratio: 1 / 1) {
    .hs-dot.is-icon {
        --hs-icon-size: max(calc(var(--w) * 1%), calc(var(--h) * 1%));
        width: max(24px, var(--hs-icon-size)) !important;
        height: max(24px, var(--hs-icon-size)) !important;
    }
}

.hs-dot.is-icon > .hs-icon,
.hs-dot.is-icon > .hs-link > .hs-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: inherit;
    position: relative;
}

.hs-dot.is-icon > .hs-icon i,
.hs-dot.is-icon > .hs-link > .hs-icon i,
.hs-dot.is-icon > .hs-icon svg,
.hs-dot.is-icon > .hs-link > .hs-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    font-size: 1em;
    color: inherit;
    fill: currentColor;
}

/* TOOLTIP */

.hs-dot.is-icon .hs-label {
    --hs-label-shift-x: 0px;
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translate(calc(-50% + var(--hs-label-shift-x)), -8px);
    background: var(--text-bg, rgba(0, 0, 0, .7));
    color: var(--text-color, #fff);
    padding: var(--text-pad, 10px);
    border-radius: 8px;
    font-size: var(--text-font-size, 13px);
    font-weight: var(--text-font-weight, 600);
    white-space: nowrap;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease, transform .15s ease;
    z-index: 25;
}

.hs-dot.is-icon .hs-label::after {
    content: "";
    position: absolute;
    top: calc(100% - 1px);
    left: calc(50% - var(--hs-label-shift-x));
    transform: translateX(-50%);
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: var(--text-bg, rgba(0, 0, 0, .7)) transparent transparent transparent;
}

.hs-dot.is-icon:hover .hs-label,
.hs-dot.is-icon:focus-within .hs-label {
    opacity: 1;
    transform: translate(calc(-50% + var(--hs-label-shift-x)), -10px);
}

/* TEXT MODE */

.hs-dot.is-text {
    background: transparent !important;
    padding: 0 !important;
    z-index: 30;
}

.hs-text p {
    margin: 0 !important;
}

.hs-dot.is-text .hs-text {
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
    background: var(--text-bg, rgba(0, 0, 0, .55));
    color: var(--text-color, #fff);
    padding: var(--text-pad, 10px);
    border-radius: var(--text-radius, 12px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
    font-size: var(--text-font-size, 16px);
    font-weight: var(--text-font-weight, 700);
    text-shadow: var(--shadow-text, none) !important;
    position: relative;
    z-index: 31;
}

/* IMAGE MODE */

.hs-dot.is-image {
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    z-index: 10;
}

.hs-dot.is-image .hs-image {
    width: 100%;
    height: 100%;
    border-radius: var(--image-radius, 10px);
    overflow: hidden;
}

.hs-dot.is-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    border-radius: inherit;
}

/* SHAPES */

.hs-dot.is-icon.hs-shape-circle {
    border-radius: 50%;
}

.hs-dot.is-icon.hs-shape-square {
    border-radius: 6px;
}

.hs-dot.is-icon.hs-shape-triangle {
    background: transparent;
}

.hs-dot.is-icon.hs-shape-triangle::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--icon-bg);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.hs-dot.is-icon.hs-shape-circle::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--icon-bg);
    border-radius: 50%;
}

.hs-dot.is-icon.hs-shape-square::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--icon-bg);
    border-radius: 6px;
}

/* ANIMATIONS (original) */

.hs-dot[class*="hs-anim-"] {
    opacity: 0;
    animation-fill-mode: forwards;
    will-change: transform, opacity;
}

.hs-dot[data-hs-anim],
.hs-dot[data-hs-anim]::before {
    animation-play-state: paused;
}

.hs-dot.hs-anim-started,
.hs-dot.hs-anim-started::before {
    animation-play-state: running;
}

@keyframes hs-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hs-dot.hs-anim-fade {
    animation: hs-fade-in .5s ease-out 2s forwards;
}

@keyframes hs-fade-in-up {
    from { opacity: 0; transform: translate(-50%, -60%) scale(.96); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hs-dot.hs-anim-fade-up {
    animation: hs-fade-in-up .6s ease-out 2s forwards;
}

@keyframes hs-zoom-in {
    from { opacity: 0; transform: translate(-50%, -50%) scale(.8); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hs-dot.hs-anim-zoom {
    animation: hs-zoom-in .5s ease-out 2s forwards;
}

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

.hs-dot.hs-anim-pulse,
.hs-dot.hs-anim-pulse5 {
    animation: hs-appear .01s linear 2s 1 forwards;
}

@keyframes hs-pulse-ring {
    0%   { transform: scale(0.9); opacity: 1; }
    50%  { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 1; }
}

.hs-dot.hs-anim-pulse::before,
.hs-dot.hs-anim-pulse5::before {
    animation-name: hs-pulse-ring;
    animation-duration: 1s;
    animation-delay: 0s;
    animation-timing-function: ease-out;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
    background: var(--icon-bg) !important;
}

/* FADE + SLIDE ANIMATIONS */

@keyframes hs-fade-slide-left {
    from { opacity: 0; transform: translate(calc(-50% - 20px), -50%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.hs-dot.hs-anim-fade-left {
    animation: hs-fade-slide-left .6s ease-out 2s forwards;
}

@keyframes hs-fade-slide-right {
    from { opacity: 0; transform: translate(calc(-50% + 20px), -50%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.hs-dot.hs-anim-fade-right {
    animation: hs-fade-slide-right .6s ease-out 2s forwards;
}

@keyframes hs-fade-slide-down {
    from { opacity: 0; transform: translate(-50%, calc(-50% - 20px)); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.hs-dot.hs-anim-fade-down {
    animation: hs-fade-slide-down .6s ease-out 2s forwards;
}

@keyframes hs-fade-slide-up {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 20px)); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.hs-dot.hs-anim-fade-up2 {
    animation: hs-fade-slide-up .6s ease-out 2s forwards;
}

/* WRAPPER LIMITS */

.page-node-type-layout-page:not(.page-node-edit) .det-article-hero .det_herobanner_paragraph .inner-content .hotspot-col .col-inner,
.page-node-type-article:not(.page-node-edit) .det-article-hero .det_herobanner_paragraph .inner-content .hotspot-col .col-inner {
    max-height: calc(100vh - 220px);
    overflow: visible !important;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hs-dot .ajax-progress,
.hs-dot .ajax-progress-throbber {
    display: none !important;
}
