.gwd-api-image[hidden] {
    display: none;
}

.gwd-api-image {
    position: fixed;
    right: 55px;
    bottom: 220px;
    z-index: 999999;
    width: 140px;
    height: 140px;
    line-height: 0;
    transition: transform 180ms ease;
}

.gwd-api-image:hover {
    transform: translateY(-3px) scale(1.03);
}

.gwd-api-image__link {
    display: block;
    width: 100%;
    height: 100%;
    outline: 0;
}

.gwd-api-image__link:focus-visible {
    border-radius: 16px;
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}

.gwd-api-image__asset {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}

.gwd-api-image__close {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 1;
    display: block !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    background: rgba(20, 24, 30, 0.82) !important;
    color: transparent !important;
    cursor: pointer;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.32) !important;
    transform: none !important;
}

.gwd-api-image__close::before,
.gwd-api-image__close::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 5px;
    width: 12px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
}

.gwd-api-image__close::before {
    transform: rotate(45deg);
}

.gwd-api-image__close::after {
    transform: rotate(-45deg);
}

.gwd-api-image__close:hover,
.gwd-api-image__close:focus-visible {
    background: #000 !important;
    transform: scale(1.08) !important;
}

.gutter-right {
    top: 80px !important;
    transform: translate(-50%, 0%) !important;
}

.gutter-left {
    top: 80px !important;
    transform: translate(50%, 0%) !important;
}

@media (max-width: 767px) {
    .gwd-api-image {
        right: 0;
        bottom: 120px;
        width: 100px;
        height: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gwd-api-image {
        transition: none;
    }
}
