/* =========================================================
   HEADER
   ========================================================= */
/* Description / sous-titre du site */
.site-description {
	text-align: center;
	font-family: 'Contrail One', sans-serif;
}

/* Centrer le logo */
.custom-logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* =========================================================
   PAGE D'ACCUEIL
   ========================================================= */
/* H3 responsive : "DES TARIFS ACCESSIBLES..." */
.vc_custom_1764165917324 {
	font-size: clamp(28px, 6vw, 70px) !important;
	line-height: 1.2 !important;
}

/* =========================================================
   PROGRAMMATION — RESPONSIVE
   ========================================================= */
/* Mise en page responsive jusqu'à la tablette */
@media (max-width: 1024px) {
	.event-left,
	    .event-right {
		flex: 0 0 100%;
		text-align: left;
	}
	
	.event-header-image img {
		max-width: 100%;
	}
	
	.event-container {
		padding: 10px;
	}
	
	.event-title {
		font-size: 1.5rem;
	}
}

/* Titres des spectacles — responsive */
h2[style*="text-align: center"] {
	font-family: 'Contrail One', sans-serif !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	word-break: keep-all !important;
	overflow-wrap: normal !important;
	white-space: normal !important;
	text-wrap: balance;
	margin: .5em auto;
	text-align: center !important;
	max-width: 95%;
}

/* =========================================================
   PAGES ÉVÉNEMENTS — TITRES
   ========================================================= */
/* H2 des pages Événement */
body.single-event .entry-content h2,
body.single-event .wpb_wrapper h2,
body.post-type-archive-event h2,
body.tax-event-categories h2,
body.single-tribe_events .entry-content h2,
body.tribe-events-page-template h2 {
	font-family: 'Contrail One', sans-serif !important;
	font-size: 30px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
}

/* =========================================================
   BOUTON "RÉSERVER"
   ========================================================= */
.wp-block-button__link.wp-element-button.btn-reserver {
	color: #ffffff !important;
	background-color: #ff6100;
	border: 2px solid #ff6100;
	border-radius: 8px;
	padding: 6px 30px;
	font-size: 16px;
	text-decoration: none;
	transition: all .2s ease;
}

/* Bouton "Réserver" au survol */
.wp-block-button__link.wp-element-button.btn-reserver:hover {
	background-color: #ffffff !important;
	color: #ff6100 !important;
	border: 2px solid #ff6100 !important;
}

/* =========================================================
   SIDEBAR — PAGES ÉVÉNEMENTS
   ========================================================= */
/* Petit espace au-dessus du premier widget */
#secondary .widget:first-child {
	margin-top: 10px !important;
	padding-top: 0 !important;
}

/* Supprimer les paragraphes vides */
#secondary p:empty {
	display: none;
	margin: 0;
	padding: 0;
}

/* Arrondir les bords de la sidebar */
.sidebar-main {
	border-radius: 12px;
	overflow: hidden;
}

/* Style des widgets de la sidebar */
.ast-separate-container.ast-two-container #secondary .widget {
	background-color: var(--ast-global-color-5) !important;
	border-radius: 12px;
	padding: 20px;
}

/* =========================================================
   SIDEBAR — MOBILE
   ========================================================= */
/* Sur mobile, afficher la sidebar avant le contenu principal */
@media (max-width: 768px) {
	.ast-container {
		display: flex !important;
		flex-direction: column !important;
	}
	
	#secondary {
		order: -1 !important;
	}
}