/**
 * CSS pour le sous-titre d'événement
 * À ajouter dans votre thème ou dans le plugin
 */

/* Style principal du sous-titre */
.ep-event-subtitle {
    margin: 0.5rem 0 1rem 0;
    padding: 0;
}

.ep-event-subtitle-text {
    font-size: 1.2rem;
    font-weight: 400;
    color: #6c757d;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Variantes pour différents contextes */
.ep-event-subtitle-wrapper {
    border-left: 3px solid #ffc107;
    padding-left: 1rem;
    margin: 1rem 0;
}

/* Pour les listes d'événements */
.ep-event-subtitle-list {
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

.ep-event-subtitle-list small {
    color: #888;
    font-style: italic;
}

/* Style responsive */
@media (max-width: 768px) {
    .ep-event-subtitle-text {
        font-size: 1rem;
    }
}

/* Intégration avec le style EventPrime existant */
.ep-event-subtitle-text.ep-text-muted {
    color: #6c757d !important;
}

/* Style pour la page d'administration (si nécessaire) */
.eventprime-extend-subtitle-field {
    margin-bottom: 1rem;
}

.subtitle-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.subtitle-help {
    font-style: italic;
    color: #666;
    margin-top: 5px;
    font-size: 12px;
}

.emagic .ep_ls_single_seat_area .ep_ls_event_ticket_seat.ep-seat-not-allowed + .ep-seat-info-popover {
    display: none !important;
}

/* Reviews : scorecard 1/3 gauche | cartes avis 2/3 droite (tâche 3.1) */
.all-reviews-section {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 1.5rem;
    align-items: start;
}
/* Scorecard : colonne gauche, s'étire sur toutes les lignes de reviews */
.all-reviews-section > .ratings-scorecard {
    grid-column: 1;
    grid-row: 2 / 99;
    flex-direction: column !important;
}
/* Colonnes internes scorecard → pleine largeur en mode vertical */
.all-reviews-section > .ratings-scorecard > .ep-box-col-4,
.all-reviews-section > .ratings-scorecard > .ep-box-col-8 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}
/* Header intro → pleine largeur au-dessus des deux colonnes */
.all-reviews-section > .obillet-reviews-header {
    grid-column: 1 / -1;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--ep-border-color, #dee2e6);
    margin-bottom: 0.25rem;
}
.obillet-reviews-header .obillet-reviews-title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}
.obillet-reviews-header .obillet-reviews-intro {
    margin: 0;
    font-size: 0.95rem;
}
.obillet-reviews-header .obillet-reviews-notice {
    margin: 0;
    font-size: 0.85rem;
    font-style: italic;
    color: #6c757d;
}
/* Review cards → colonne droite */
.all-reviews-section > .single-review-card {
    grid-column: 2;
}
/* Mobile : pile vertical, scorecard reprend son layout horizontal EP */
@media (max-width: 767px) {
    .all-reviews-section {
        display: block;
    }
    .all-reviews-section > .ratings-scorecard {
        flex-direction: row !important;
    }
}
