.promotion-photo-gallery {
    width: 100%;
    padding: 72px 0 84px;
    background: #f4f4f4;
}

.promotion-photo-gallery-inner {
    width: 90%;
    margin: 0 auto;
}

.gallery-eyebrow {
    margin: 0 0 6px;
    color: #6E8CA0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.promotion-photo-gallery h2 {
    margin: 0 0 28px;
    color: #263f52;
    font-size: 28px;
    font-weight: 600;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.photo-gallery-card {
    background: #fff;
    border: 1px solid #d9e1e6;
    overflow: hidden;
}

.photo-gallery-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
}

.photo-gallery-card-header h3 {
    margin: 0;
    color: #263f52;
    font-size: 17px;
    font-weight: 600;
}

.photo-gallery-card-header span {
    color: #6E8CA0;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.photo-gallery-viewer {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #d9e1e6;
    overflow: hidden;
    touch-action: pan-y;
}

.photo-gallery-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.photo-gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.photo-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-gallery-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.05) 62%);
}

.photo-gallery-slide figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 2;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.photo-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    background: rgba(255, 255, 255, 0.88);
    color: #263f52;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.photo-gallery-arrow:hover {
    background: #263f52;
    color: #fff;
}

.photo-gallery-prev {
    left: 12px;
}

.photo-gallery-next {
    right: 12px;
}

@media (max-width: 1024px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .promotion-photo-gallery {
        padding: 50px 0 56px;
    }

    .promotion-photo-gallery-inner {
        width: 92%;
    }

    .promotion-photo-gallery h2 {
        font-size: 22px;
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }

    .photo-gallery-slide figcaption {
        font-size: 16px;
    }
}
