/* ═══════════════════════════════════════════════════
   ACS Gallery Photo Band Block
   Full-bleed horizontal photo grid
   ═══════════════════════════════════════════════════ */

.gallery-band {
    display: grid;
    grid-template-columns: repeat(var(--band-count, 4), 1fr);
    height: var(--band-height, 300px);
    /* Full bleed — no margin, no padding, no border radius */
}

/* ── Photo Tiles ──────────────────────────────────── */
.gallery-band__tile {
    position: relative;
    overflow: hidden;
}

.gallery-band__tile picture,
.gallery-band__tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-band__tile:hover picture,
.gallery-band__tile:hover img {
    transform: scale(1.04);
}

/* ── Caption Overlay ──────────────────────────────── */
.gallery-band__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 16px 14px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.52) 0%, transparent 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
    pointer-events: none;
}

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 860px) {
    .gallery-band {
        /* 2-up on tablet/mobile, double the height to compensate */
        grid-template-columns: repeat(2, 1fr);
        height: calc(var(--band-height, 300px) * 1.35);
    }
}

@media (max-width: 480px) {
    .gallery-band {
        grid-template-columns: repeat(2, 1fr);
        height: calc(var(--band-height, 300px) * 1.1);
    }
}
