.wp-block-gallery .wp-block-image {
    cursor: pointer;
}

.pdLightboxContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
}

.pdLightboxContainer .pdLightboxOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.pdLightboxContainer .pdLightbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(300px, 90vw, 800px);
    height: clamp(300px, 90vh, 800px);
    overflow: hidden;
}

.pdLightboxContainer .pdLightbox .pdLightboxContent {
    display: block;
    width: 100%;
    height: 100%;
}

.pdLightboxContainer .pdLightbox .pdLightboxContent img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pdLightboxContainer svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.pdLightboxContainer button {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 9;
}


.pdLightboxContainer .pdLightboxClose {
    position: absolute;
    top: clamp(20px, 10%, 50px);
    right: clamp(20px, 10%, 50px);
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.pdLightboxContainer .pdLightboxClose:hover {
    opacity: 1;
}

.pdLightboxContainer .pdLightboxNext,
.pdLightboxContainer .pdLightboxPrev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    padding: 30px 10px;
    --hover_bg: rgba(0, 0, 0, 0.8);
    transition: all 0.2s ease-in-out;
}

.pdLightboxContainer .pdLightbox:hover .pdLightboxPrev,
.pdLightboxContainer .pdLightbox:hover .pdLightboxNext {
    opacity: 0.8;
}

.pdLightboxContainer .pdLightboxPrev:hover,
.pdLightboxContainer .pdLightboxNext:hover {
    opacity: 1;
}

.pdLightboxContainer .pdLightboxNext {
    right: 0;
}

.pdLightboxContainer .pdLightboxPrev {
    left: 0;
}

.pdLightboxContainer .pdLightboxNext svg,
.pdLightboxContainer .pdLightboxPrev svg {
    height: 20px;
    width: 20px;
}

.pdLightboxContainer .pdLightboxNext svg {
    transform: rotate(90deg);
}

.pdLightboxContainer .pdLightboxPrev svg {
    transform: rotate(-90deg);
}