/* ==========================================================================
   Imperio / Liberty Restaurant (pId 63135) — brand gallery page (gallery.php)
   Auto-loaded by base.php as per-page brand CSS (basename "gallery").
   Palette: --brand-primary (maroon) for headings/accents · black/white for CTAs (no gold) · cream (#F5EFE6) backgrounds. Tokens only — no hardcoded brand hex.
   Duplicated from brand.css's .brand-section__* / .brand-gallery__* rules —
   per-page CSS is exclusive per basename, so this page can't rely on
   brand.css being loaded alongside it. See base.php's per-page CSS comment.
   ========================================================================== */

.brand-gallery-page { background: #F5EFE6; padding: 56px 0; }
.brand-gallery-page .container { max-width: 1140px; }

.brand-section__eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin: 0 0 12px;
}
.brand-section__title {
    font-family: var(--font-display, 'Figtree', sans-serif);
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    font-weight: 600;
    color: var(--brand-primary, #bf1e2e);
    margin: 0;
    line-height: 1.25;
}
.brand-section__head { margin-bottom: 32px; }
.brand-section__head.text-center { text-align: center; }

.brand-gallery-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Real image tile — plain button so it's keyboard/focus reachable, no default
   button chrome. */
.brand-gallery-page__tile {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    border: 0;
    padding: 0;
    background: #fff;
    cursor: pointer;
    display: block;
    transition: transform .2s ease, box-shadow .2s ease;
}
.brand-gallery-page__tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(88,2,1,0.14);
}
.brand-gallery-page__tile:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}
.brand-gallery-page__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .brand-gallery-page__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .brand-gallery-page__grid { grid-template-columns: 1fr; }
}
