.annd-image-hotspots {
    width: 100%;
    max-width: 100%;
    margin: 24px 0;
}

.annd-hotspot-image-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.annd-hotspot-main-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.annd-hotspot-dot {
    --annd-hotspot-color: #c41f49;
    position: absolute;
    z-index: 4;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--annd-hotspot-color) 15%, transparent);
    cursor: pointer;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--annd-hotspot-color) 45%, transparent);
    animation: anndHotspotPulse 1.8s infinite;
}

.annd-hotspot-dot-core {
    position: absolute;
    inset: 8px;
    border-radius: 999px;
    background: var(--annd-hotspot-color);
    box-shadow: 0 0 0 3px #fff;
}

.annd-hotspot-dot:hover,
.annd-hotspot-dot:focus {
    outline: 3px solid color-mix(in srgb, var(--annd-hotspot-color) 28%, transparent);
    outline-offset: 4px;
}

@keyframes anndHotspotPulse {
    0% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--annd-hotspot-color) 48%, transparent);
    }
    70% {
        box-shadow: 0 0 0 14px color-mix(in srgb, var(--annd-hotspot-color) 0%, transparent);
    }
    100% {
        box-shadow: 0 0 0 0 color-mix(in srgb, var(--annd-hotspot-color) 0%, transparent);
    }
}

.annd-hotspot-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.annd-hotspot-modal.is-open {
    display: flex;
}

.annd-hotspot-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 19, 32, 0.62);
    backdrop-filter: blur(3px);
}

.annd-hotspot-modal-card {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100vw - 32px));
    max-height: min(82vh, 760px);
    overflow: auto;
    background: #fff;
    color: #1f2433;
    border-radius: 18px;
    padding: 34px 34px 30px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.30);
}

.annd-hotspot-modal-close {
    position: sticky;
    top: 0;
    float: inline-end;
    z-index: 3;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    border: 0;
    border-radius: 999px;
    background: #c41f49;
    color: #fff;
    cursor: pointer;
    padding: 0;
    font-size: 28px;
    line-height: 1;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.annd-hotspot-modal-title {
    margin: 4px 0 18px;
    padding-inline-end: 48px;
    color: #1f2433;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.35;
}

.annd-hotspot-modal-content {
    font-size: 17px;
    line-height: 1.85;
}

.annd-hotspot-modal-content p {
    margin: 0 0 14px;
}

.annd-hotspot-modal-image-wrap {
    margin: 18px 0;
}

.annd-hotspot-popup-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.annd-hotspot-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
}

.annd-hotspot-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

html.annd-hotspot-modal-open {
    overflow: hidden;
}

html[dir="rtl"] .annd-hotspot-modal-card,
body.rtl .annd-hotspot-modal-card {
    direction: rtl;
    text-align: right;
}

@media (max-width: 767px) {
    .annd-hotspot-modal {
        padding: 14px;
    }

    .annd-hotspot-modal-card {
        width: calc(100vw - 20px);
        max-height: 86vh;
        padding: 24px 20px 22px;
        border-radius: 16px;
    }

    .annd-hotspot-modal-title {
        font-size: 22px;
    }

    .annd-hotspot-modal-content {
        font-size: 16px;
    }

    .annd-hotspot-dot {
        width: 34px;
        height: 34px;
    }
}
