#abj-annuaire {
	max-width: 1100px;
	margin: 0 auto;
}

.abj-layout {
	display: flex;
	gap: 1.5em;
	align-items: flex-start;
	margin: 1em 0;
}

#abj-sidebar {
	flex: 0 0 220px;
	max-width: 220px;
}

#abj-map {
	flex: 1;
	min-width: 0; /* Empêche la carte de déborder dans un flex container */
	aspect-ratio: 1 / 1;
	max-height: 700px;
}

@media ( max-width: 720px ) {
	.abj-layout {
		flex-direction: column;
	}

	#abj-sidebar {
		flex: none;
		max-width: none;
		width: 100%;
	}

	#abj-map {
		/* En colonne, flex:1 + aspect-ratio est mal supporté sur certains
		   navigateurs mobiles (hauteur calculée à 0 => carte invisible).
		   Une hauteur fixe explicite est beaucoup plus fiable ici. */
		flex: none;
		width: 100%;
		aspect-ratio: unset;
		height: 320px;
		max-height: none;
	}
}

#abj-filtres {
	display: flex;
	flex-direction: column;
	gap: 1.2em;
}

.abj-bouton-geoloc {
	padding: 0.6em 0.9em;
	border: 1px solid #2AA9A0;
	border-radius: 6px;
	background: #fff;
	color: #2AA9A0;
	font-weight: 600;
	font-size: 0.88rem;
	cursor: pointer;
	text-align: left;
}

.abj-bouton-geoloc:hover {
	background: #EAF7F6;
}

.abj-bouton-geoloc-actif {
	background: #2AA9A0;
	color: #fff;
}

.abj-bouton-geoloc:disabled {
	opacity: 0.6;
	cursor: default;
}

.abj-geoloc-message {
	font-size: 0.82rem;
	color: #C1443A;
	margin: 0.5em 0 0;
}

.abj-distance {
	color: #2AA9A0;
	font-weight: 600;
}

#abj-filtres > label {
	display: flex;
	flex-direction: column;
	font-size: 0.9em;
	font-weight: 600;
}

#abj-filtres select {
	margin-top: 0.3em;
	padding: 0.4em 0.6em;
}

.abj-filtre-checkboxes {
	display: flex;
	flex-direction: column; /* Liste verticale, plus lisible dans une colonne étroite */
	gap: 0.5em;
	margin-top: 0.5em;
}

.abj-filtre-checkbox-item {
	display: flex;
	align-items: center;
	gap: 0.3em;
	font-weight: 400;
	font-size: 0.95em;
	cursor: pointer;
	white-space: nowrap;
	color: #333; /* Neutralise une éventuelle couleur de lien héritée du thème */
}

.abj-filtre-checkbox-item input[type="checkbox"] {
	appearance: auto;
	-webkit-appearance: checkbox;
	width: 16px;
	height: 16px;
	min-width: 16px;
	margin: 0;
	accent-color: #2AA9A0;
	flex-shrink: 0;
}

.abj-liste-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 240px, 1fr ) );
	gap: 1.2em;
}

#abj-liste-header {
	display: flex;
	justify-content: flex-end;
	margin: 1.5em 0 1em;
}

#abj-liste-header label {
	display: flex;
	align-items: center;
	gap: 0.5em;
	font-size: 0.9em;
	font-weight: 600;
}

#abj-liste-header select {
	padding: 0.3em 0.5em;
}

#abj-charger-plus-wrapper {
	text-align: center;
	margin: 1.5em 0;
}

#abj-charger-plus {
	padding: 0.6em 1.4em;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 0.95em;
}

#abj-charger-plus:hover {
	background: #f4f4f4;
}

.abj-carte-bar {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s ease;
}

.abj-carte-bar:hover {
	box-shadow: 0 4px 14px rgba( 0, 0, 0, 0.1 );
}

.abj-carte-bar img {
	width: 100%;
	height: 140px;
	object-fit: contain; /* Montre le logo en entier, sans le couper */
	background: #ffffff;
	padding: 10px;
	box-sizing: border-box;
	display: block;
}

.abj-carte-bar h3 {
	margin: 0.6em 0.7em 0.2em;
	font-size: 1.05em;
	text-align: center;
}

.abj-carte-bar .abj-ville {
	margin: 0 0.7em;
	color: #666;
	font-size: 0.9em;
}

.abj-carte-bar .abj-types {
	margin: 0.3em 0.7em 0.7em;
	font-size: 0.82em;
	color: #888;
}

.abj-loading {
	text-align: center;
	color: #888;
}

.abj-fiche-logo {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #ffffff;
	border-radius: 8px;
	padding: 1.2em;
	margin-bottom: 1em;
}

.abj-fiche-logo img {
	max-width: 100%;
	max-height: 260px;
	object-fit: contain;
}

/* Page fiche individuelle */
.abj-fiche {
	max-width: 800px;
	margin: 0 auto;
}

.abj-fiche-titre {
	text-align: center;
}

.abj-archive-titre {
	text-align: center;
}

.abj-fiche-infos {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5em 1.5em;
	margin: 1.5em 0;
	padding: 1em;
	background: #f7f7f7;
	border-radius: 8px;
}

.abj-fiche-infos dt {
	font-weight: 600;
	color: #555;
}

.abj-fiche-infos dd {
	margin: 0 0 0.6em;
}

#abj-map-fiche {
	height: 320px;
	width: 100%;
	margin-top: 1.5em;
	border-radius: 8px;
}

/* Page annuaire par ville */
#abj-annuaire-par-ville {
	max-width: 800px;
	margin: 0 auto;
}

#abj-annuaire-evenements {
	max-width: 800px;
	margin: 0 auto;
}

.abj-filtre-evenements {
	flex-direction: row;
	flex-wrap: wrap;
	margin-bottom: 1.5em;
	padding-bottom: 1.5em;
	border-bottom: 1px solid #eee;
}

.abj-filtre-evenements .abj-filtre-checkbox-item {
	margin: 0.3em 0.6em 0.3em 0;
}

.abj-index-villes {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin-bottom: 2em;
}

.abj-index-villes a {
	padding: 0.3em 0.9em;
	background: #f4f4f4;
	border-radius: 20px;
	text-decoration: none;
	color: #333;
	font-size: 0.9em;
}

.abj-index-villes a:hover {
	background: #e8e8e8;
}

.abj-ville-section h2 {
	margin-top: 2em;
	padding-bottom: 0.3em;
	border-bottom: 2px solid #eee;
	scroll-margin-top: 20px; /* Pour que l'ancre ne colle pas en haut de l'écran */
}

.abj-liste-par-ville {
	list-style: none;
	margin: 0.8em 0 0;
	padding: 0;
}

.abj-liste-par-ville li {
	padding: 0.5em 0;
	border-bottom: 1px solid #f0f0f0;
}

.abj-liste-par-ville-types {
	color: #777;
	font-size: 0.9em;
}

/* Événements (fiche + annuaire dédié) */
.abj-fiche-evenements {
	margin-top: 2em;
}

.abj-liste-evenements {
	list-style: none;
	margin: 0.8em 0 0;
	padding: 0;
}

.abj-evenement-item {
	display: flex;
	gap: 1.2em;
	padding: 1em 0;
	border-bottom: 1px solid #f0f0f0;
}

.abj-evenement-date {
	flex: 0 0 160px;
	font-weight: 600;
	color: #2AA9A0;
	font-size: 0.9em;
}

.abj-evenement-contenu h3 {
	margin: 0 0 0.3em;
	font-size: 1.05em;
}

.abj-evenement-bar {
	margin: 0 0 0.4em;
	font-size: 0.9em;
}

.abj-evenement-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
	margin: 0.3em 0 0.5em;
}

.abj-tag {
	font-size: 0.75em;
	background: #EAF7F6;
	color: #21847D;
	padding: 0.2em 0.7em;
	border-radius: 20px;
	white-space: nowrap;
}

.abj-evenement-description {
	font-size: 0.92em;
	color: #444;
}

.abj-evenement-description p {
	margin: 0.3em 0;
}

.abj-evenement-prix {
	margin: 0.4em 0 0;
	font-size: 0.9em;
	font-weight: 600;
}

@media ( max-width: 600px ) {
	.abj-evenement-item {
		flex-direction: column;
		gap: 0.3em;
	}

	.abj-evenement-date {
		flex: none;
	}
}

.abj-google-rating {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin: 0.5em 0 1.5em;
	font-size: 0.95em;
}

.abj-google-note {
	font-weight: 600;
}

.abj-google-count {
	color: #666;
}

.abj-google-lien {
	margin-left: 0.4em;
}
/* Bloc description sur la fiche individuelle */
.abj-fiche-contenu {
	background: #fff;
	padding: 1.2em 1.5em;
	border-radius: 8px;
	margin-bottom: 1.5em;
}
/* --- Événements du jour sur la page d'accueil --- */
.abj-evenements-du-jour {
	margin-top: 2.5em;
	padding-top: 2em;
	border-top: 2px solid #eee;
}

.abj-evenements-du-jour-titre {
	text-align: center;
	margin-bottom: 1em;
}

.abj-evenements-du-jour .abj-evenement-ville-info {
	color: #888;
	font-style: italic;
}
/* Fond blanc pour les événements sur la fiche individuelle */
.abj-fiche-evenements {
	background: #fff;
	padding: 1.2em 1.5em;
	border-radius: 8px;
	margin-top: 2em;
}
/* --- Avis Google sur la fiche individuelle --- */
.abj-google-reviews {
	background: #fff;
	padding: 1.2em 1.5em;
	border-radius: 8px;
	margin: 1.5em 0;
}

.abj-google-reviews h2 {
	margin: 0 0 1em;
	font-size: 1.2em;
}

.abj-reviews-liste {
	display: flex;
	flex-direction: column;
}

.abj-review-item {
	padding: 1em 0;
	border-bottom: 1px solid #f0f0f0;
}

.abj-review-item:last-child {
	border-bottom: none;
}

.abj-review-header {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 0.4em;
}

.abj-review-author {
	font-weight: 600;
	margin-right: 0.6em;
}

.abj-review-stars {
	color: #FBBC05;
	margin-right: 0.6em;
	letter-spacing: 1px;
}

.abj-review-date {
	color: #888;
	font-size: 0.85em;
}

.abj-review-text {
	margin: 0.3em 0 0;
	font-size: 0.93em;
	color: #444;
	line-height: 1.5;
}

.abj-reviews-voir-plus {
	margin: 1em 0 0;
	text-align: center;
	font-size: 0.9em;
}
/* Avis masqués par défaut (au-delà des 5 premiers) */
.abj-review-hidden {
	display: none;
}

/* Bouton "Afficher les avis plus anciens" */
.abj-reviews-toggle {
	display: block;
	margin: 1em auto 0;
	padding: 0.5em 1.2em;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #f9f9f9;
	cursor: pointer;
	font-size: 0.9em;
	color: #555;
}

.abj-reviews-toggle:hover {
	background: #f0f0f0;
}
/* Note Google — bloc centré sur fond blanc */
.abj-google-rating-box {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	padding: 1em 1.5em;
	border-radius: 8px;
	margin: 1em 0 1.5em;
}

.abj-google-rating-box .abj-google-note {
	font-weight: 600;
	margin: 0 0.3em 0 0.5em;
}

.abj-google-rating-box .abj-google-count {
	color: #666;
}

.abj-google-rating-box .abj-google-lien {
	margin-left: 0.6em;
}