.f-hotspot {
    position: absolute;
    left: var(--pos-x);
    top: var(--pos-y)
}

.f-hotspot__icon {
    cursor: pointer
}

.f-hotspot__icon > * {
    pointer-events: none
}

.f-hotspot__icon-main {
    color: rgb(var(--color-foreground));
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1
}

.f-hotspot__icon svg {
    transition: all var(--f-duration-default, 0.25s)
}

.f-hotspot__icon-point {
    --f-scale: 1.8;
    color: rgb(var(--color-background));
    position: relative;
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 50%;
    cursor: pointer;
    background-color: rgb(var(--color-background))
}

.f-hotspot__icon-point::after, .f-hotspot__icon-point::before {
    content: "";
    border-radius: 50%;
    background: currentColor;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: 1.5s dotScale ease-in-out infinite;
    pointer-events: none
}

.f-hotspot__icon-point::before {
    animation-delay: 1s
}

@media screen and (max-width: 767px) {
    .f-hotspot__icon-point {
        width: 30px;
        height: 30px
    }
}

.f-hotspot__card {
    position: absolute;
    z-index: 11;
    padding: 30px;
    border-radius: var(--medium-blocks-radius, 5px);
    border: 1px solid rgb(var(--color-border));
    width: max-content;
    max-width: var(--hotspot-card-width, 330px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0px 14px 20px 0px rgba(0, 0, 0, .03);
    transform: translate3d(0, 20px, 0);
    transition: all var(--f-duration-default, 0.25s)
}

.f-hotspot__card:before, .f-hotspot__card:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 21px;
    background: rgba(0, 0, 0, 0)
}

.f-hotspot__card:before {
    top: 100%
}

.f-hotspot__card:after {
    bottom: 100%
}

@media screen and (max-width: 767px) {
    .f-hotspot__card {
        --hotspot-card-width: 66.67vw;
        padding: 24px
    }
}

.f-hotspot .f-richtext__image {
    margin-bottom: 8px
}

.f-hotspot .f-richtext__description {
    margin-top: 12px
}

.f-hotspot:hover {
    --icon-rotate: 45deg;
    z-index: 10
}

.f-hotspot:hover .f-hotspot__card {
    transform: translateZ(0);
    pointer-events: auto;
    visibility: visible;
    opacity: 1
}

.f-hotspot:hover svg {
    transform: rotate(135deg)
}

@media screen and (max-width: 767px) {
    .f-hotspot {
        left: var(--pos-x-mobile, var(--pos-x));
        top: var(--pos-y-mobile, var(--pos-y))
    }
}
