body.page-photos .fade-carousel {
    position: relative;
    width: min(95vw, 980px);
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
    margin-bottom: 16px;
    background-color: #dbe9f5;
}

body.page-photos .fade-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

body.page-photos .fade-slide.active {
    opacity: 1;
    pointer-events: auto;
}

body.page-photos .fade-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.page-photos .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #1a7db78c;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
}

body.page-photos .arrow.left {
    left: 12px;
}

body.page-photos .arrow.right {
    right: 12px;
}

body.page-photos .dots {
    display: flex;
    flex-wrap: wrap;
    max-width: min(95vw, 980px);
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

body.page-photos .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #9bb9ce;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: transform 0.2s ease, background 0.2s ease;
}

body.page-photos .dot[aria-current] {
    background: #0d5ea1;
    transform: scale(1.2);
}

body.page-photos noscript img { max-width: 100%; height: auto; }

body.page-photos .caption {
    width: min(95vw, 980px);
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

@media (max-width: 600px) {
    body.page-photos .arrow {
        width: 38px;
        height: 38px;
    }
}
