/*
 * Step One - Horaires Google : styles par défaut.
 * Les variables CSS sont surchargées par les contrôles de style Elementor
 * via des sélecteurs {{WRAPPER}} .so-hg (voir class-widget-elementor.php).
 */

.so-hg {
	--so-hg-largeur-jour: 7.5em;
	--so-hg-espacement: 0.45em;
	--so-hg-filet-epaisseur: 1px;
	--so-hg-filet-couleur: rgba(0, 0, 0, 0.12);
	/* Alerte « fermé temporairement », palette warning Bootstrap. */
	--so-hg-temp-fond: #fff3cd;
	--so-hg-temp-couleur: #664d03;
	--so-hg-temp-bord: #ffe69c;
	--so-hg-temp-rayon: 0.375rem;
}

.so-hg__liste {
	list-style: none;
	margin: 0;
	padding: 0;
}

.so-hg__ligne {
	display: flex;
	align-items: baseline;
	gap: 0.75em;
	padding: var(--so-hg-espacement) 0;
	border-bottom: var(--so-hg-filet-epaisseur) solid var(--so-hg-filet-couleur);
}

.so-hg__liste .so-hg__ligne:last-child {
	border-bottom: none;
}

.so-hg__jour {
	flex: 0 0 var(--so-hg-largeur-jour);
	font-weight: 600;
}

.so-hg__date {
	flex: 0 0 auto;
	opacity: 0.7;
	font-size: 0.9em;
}

.so-hg__heures {
	margin-left: auto;
	text-align: right;
}

.so-hg__sep {
	padding: 0 0.25em;
}

.so-hg__ligne--aujourdhui {
	font-weight: 700;
}

.so-hg__ferme {
	opacity: 0.65;
}

.so-hg__temporaire {
	margin: 0;
	padding: 1rem;
	font-weight: 600;
	color: var(--so-hg-temp-couleur);
	background-color: var(--so-hg-temp-fond);
	border: 1px solid var(--so-hg-temp-bord);
	border-radius: var(--so-hg-temp-rayon);
}

.so-hg__feries {
	margin-top: 1.25em;
}

.so-hg__titre {
	margin: 0 0 0.35em;
	font-weight: 700;
}
