/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 07 2026 | 06:09:00 */
/* ============================================================
   Page Adresses (Restaurants)
   - Hero : grille 2x2 des 3 boutons (Monceau / South Pigalle / Place Voltaire)
   - Bas de page : panneau d'infos custom (dl-restaurants-card) qui remplace
     le système .row > .names > .informations > .wrapper du thème
   - Boutons hero = onglets, switchent l'affichage de la card du bas
   - URL hash (#monceau, #south-pigalle, #place-voltaire) sync
   - Fade smooth + scroll smooth automatique
   ============================================================ */

/* ===== Hero grid (par-dessus l'image) ===== */

.dl-restaurants-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    z-index: 5;
    pointer-events: none;
}

.dl-restaurants-grid__cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-decoration: none;
    pointer-events: auto;
}

.dl-restaurants-grid__cell--top-left    { grid-column: 1; grid-row: 1; }
.dl-restaurants-grid__cell--top-right   { grid-column: 2; grid-row: 1; }
.dl-restaurants-grid__cell--bottom-left { grid-column: 1; grid-row: 2; }
.dl-restaurants-grid__cell--empty       { grid-column: 2; grid-row: 2; }

.dl-restaurants-grid__label {
    display: inline-block;
    color: var(--yellow);
    font-family: boska, serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    letter-spacing: 0.04em;
    padding: 1.25rem 2.75rem;
    border: 3px solid var(--yellow);
    background-color: transparent;
    transition: background-color 0.25s ease, color 0.25s ease;
    width: clamp(15rem, 22vw, 24rem);
    text-align: center;
    box-sizing: border-box;
}

.dl-restaurants-grid__cell:hover .dl-restaurants-grid__label,
.dl-restaurants-grid__cell:focus-visible .dl-restaurants-grid__label,
.dl-restaurants-grid__cell.is-active .dl-restaurants-grid__label {
    background-color: var(--yellow);
    color: var(--black);
}

/* ===== Panneau d'infos restaurant (structure custom indépendante du thème) ===== */

.dl-restaurants-panel {
    display: flex;
    justify-content: center;
    width: 100%;
}

.dl-restaurants-card {
    width: 100%;
    max-width: 400px;
    transition: opacity 350ms ease;
}

.dl-restaurants-card.is-hidden {
    display: none;
}

.dl-restaurants-card__image {
    width: 100%;
    height: auto;
    margin-bottom: 2.5rem;
    display: block;
}

.dl-restaurants-card__info {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.dl-restaurants-card__info svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.dl-restaurants-card__info p,
.dl-restaurants-card__info a {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5rem;
    color: inherit;
    text-decoration: none;
    margin: 0;
}

.dl-restaurants-card__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* ===== RESPONSIVE — Mobile (< 768px) ===== */

@media (max-width: 47.98rem) {

    /* Card un peu plus large sur mobile pour respirer */
    .dl-restaurants-card {
        max-width: 600px;
    }

    /* Hero responsive (inchangé) */
    section.hero:has(.dl-restaurants-grid) {
        flex-direction: column;
        height: auto;
        min-height: 0;
        overflow: visible;
        align-items: stretch;
    }

    section.hero:has(.dl-restaurants-grid) > .bg-img,
    section.hero:has(.dl-restaurants-grid) > .filter {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
    }

    section.hero:has(.dl-restaurants-grid) > .dashed-line-vertical {
        height: 100%;
    }

    section.hero:has(.dl-restaurants-grid) > .wrapper {
        flex: 0 0 auto;
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 1.25rem;
    }

    .dl-restaurants-grid {
        position: static;
        inset: auto;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1.5rem 3rem;
        background-color: transparent;
        pointer-events: auto;
        z-index: 5;
        align-items: center;
        flex: 0 0 auto;
    }

    .dl-restaurants-grid__cell {
        padding: 0;
    }

    .dl-restaurants-grid__cell--empty {
        display: none;
    }

    .dl-restaurants-grid__label {
        font-size: 1.15rem;
        padding: 0.75rem 1.75rem;
        width: 15rem;
    }
}
