/**
 * Page Événements (hub) — mise en page premium SPA
 */
body.ht-spa-active #ht-page-content .ht-events-page .ht-page-body > .ht-wrap {
    padding-top: 3.25rem !important;
}

/* Grille types d'événements */
body.ht-spa-active #ht-page-content .ht-events-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 0 0 3.5rem !important;
}

body.ht-spa-active #ht-page-content .ht-events-type-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid rgba(222, 182, 102, 0.28);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s;
}

body.ht-spa-active #ht-page-content .ht-events-type-card:hover,
body.ht-spa-active #ht-page-content .ht-events-type-card:focus {
    transform: translateY(-5px);
    border-color: #deb666;
    box-shadow: 0 18px 48px rgba(222, 182, 102, 0.22);
}

body.ht-spa-active #ht-page-content .ht-events-type-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1a1a1a;
}

body.ht-spa-active #ht-page-content .ht-events-type-card__media--gold {
    background: linear-gradient(145deg, #3d3528 0%, #1a1814 100%);
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.ht-spa-active #ht-page-content .ht-events-type-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

body.ht-spa-active #ht-page-content .ht-events-type-card:hover .ht-events-type-card__media img {
    transform: scale(1.06);
}

body.ht-spa-active #ht-page-content .ht-events-type-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(20, 18, 16, 0.75) 100%);
    pointer-events: none;
}

body.ht-spa-active #ht-page-content .ht-events-type-card__icon {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    border-radius: 50%;
    background: rgba(222, 182, 102, 0.95);
    color: #fff;
    font-size: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

body.ht-spa-active #ht-page-content .ht-events-type-card__icon--center {
    position: static;
    width: 56px;
    height: 56px;
    line-height: 56px;
    font-size: 22px;
    margin: auto;
}

body.ht-spa-active #ht-page-content .ht-events-type-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1.1rem 1.15rem 1.25rem;
}

body.ht-spa-active #ht-page-content .ht-events-type-card__body strong {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #606060;
    line-height: 1.3;
}

body.ht-spa-active #ht-page-content .ht-events-type-card__body span {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #858a99;
}

body.ht-spa-active #ht-page-content .ht-events-type-card--gallery .ht-events-type-card__body strong {
    color: #b69854;
}

/* Cartes salles */
body.ht-spa-active #ht-page-content .ht-events-venue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 2.5rem !important;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(222, 182, 102, 0.3);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s, border-color 0.3s;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card:hover {
    border-color: #deb666;
    box-shadow: 0 16px 48px rgba(222, 182, 102, 0.18);
}

body.ht-spa-active #ht-page-content .ht-events-venue-card .ht-gallery-salle-card__media {
    position: relative;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card .ht-gallery-salle-card__media img {
    min-height: 220px;
    aspect-ratio: 3 / 2;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card__badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 2;
    padding: 0.4rem 0.85rem;
    font-family: 'Lato', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(96, 96, 96, 0.9);
    border-radius: 999px;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card__badge--fest {
    background: rgba(182, 152, 84, 0.95);
}

body.ht-spa-active #ht-page-content .ht-events-venue-card__body {
    padding: 1.35rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card__body h3 {
    font-family: 'Nunito', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #606060 !important;
    margin: 0 0 0.65rem !important;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card__capacity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 14px;
    color: #b69854;
    font-weight: 600;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card__capacity i {
    font-size: 15px;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card__body > p {
    font-size: 14px;
    line-height: 1.65;
    color: #858a99;
    margin: 0 0 1rem;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card__body .ht-info-list {
    margin: 0 0 1.25rem;
    flex: 1;
}

body.ht-spa-active #ht-page-content .ht-events-venue-card__body .ht-btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Bloc devis */
body.ht-spa-active #ht-page-content .ht-events-devis {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    margin: 0 0 2.5rem !important;
    padding: 1.75rem 2rem !important;
}

body.ht-spa-active #ht-page-content .ht-events-devis__text h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    color: #606060;
    margin: 0 0 0.5rem;
}

body.ht-spa-active #ht-page-content .ht-events-devis__text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #858a99;
    max-width: 48ch;
}

body.ht-spa-active #ht-page-content .ht-events-devis .ht-contact-emails {
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 240px;
}

body.ht-spa-active #ht-page-content .ht-events-page .ht-page-cta {
    gap: 0.75rem;
}

@media (max-width: 991px) {
    body.ht-spa-active #ht-page-content .ht-events-types {
        grid-template-columns: repeat(2, 1fr);
    }

    body.ht-spa-active #ht-page-content .ht-events-venue-grid {
        grid-template-columns: 1fr;
    }

    body.ht-spa-active #ht-page-content .ht-events-devis {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    body.ht-spa-active #ht-page-content .ht-events-types {
        grid-template-columns: 1fr;
    }

    body.ht-spa-active #ht-page-content .ht-events-page .ht-page-cta .ht-btn {
        width: 100%;
        justify-content: center;
    }
}
