/* Red Sea Aquariums — project cover video buttons and player. */
/* Do not modify .column-image or .bg: the original theme controls these. */
.column-image .rsa-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    padding: 0;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
    transition: background 180ms ease, transform 180ms ease;
    -webkit-appearance: none;
    appearance: none;
}
.column-image .rsa-video-play:hover {
    background: rgba(189, 30, 35, 0.9);
    transform: translate(-50%, -50%) scale(1.08);
}
.column-image .rsa-video-play:focus-visible,
.rsa-video-close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}
.column-image .rsa-video-play svg {
    display: block;
    width: 30px;
    height: 30px;
    margin-left: 4px;
    fill: currentColor;
    pointer-events: none;
}
.rsa-video-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 26px;
    background: rgba(0, 0, 0, 0.92);
}
.rsa-video-player {
    position: relative;
    width: min(1080px, 92vw);
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 100px);
    max-height: calc(100dvh - 100px);
    background: #000;
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.55);
}
.rsa-video-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.rsa-video-close {
    position: absolute;
    top: -48px;
    right: 0;
    z-index: 1;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    font: 34px/42px Arial, sans-serif;
    text-align: center;
    cursor: pointer;
}
@media (max-width: 600px) {
    .column-image .rsa-video-play { width: 62px; height: 62px; }
    .rsa-video-modal { padding: 14px; }
    .rsa-video-player { width: 100%; max-height: calc(100dvh - 80px); }
}
@media (prefers-reduced-motion: reduce) {
    .column-image .rsa-video-play { transition: none; }
}
