#home_annonces_teaser {
	background-color: #ffffff;
	width: 100%;
	position: relative;
	overflow: hidden;
}

/* Bandeau vert des sources de données (même vert que le header : --colorEtape3 / #308796) */
.sources-band {
	background-color: #308796;
	border-top: 3.5px solid #CCA533;
	width: 100%;
	padding: 10px 0;
	color: #ffffff;
	text-align: center;
	text-transform: none;
	font-weight: 400;
	font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.sources-band__inner {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 20px;
}
.sources-band__intro {
	margin: 0 0 6px 0;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.2px;
	line-height: 1.4;
}
@media (max-width: 767px) {
	.sources-band__intro {
		font-size: 11.5px;
	}
}
.sources-band__list {
	margin: 0 0 4px 0;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.3px;
	line-height: 1.5;
}
.sources-band__label {
	font-weight: 400;
	opacity: 1;
	margin-right: 8px;
}
.sources-band__item {
	white-space: nowrap;
}
.sources-band__sep {
	margin: 0 8px;
	opacity: 0.6;
}
.sources-band__note {
	margin: 0;
	font-size: 10.5px;
	font-weight: 400;
	letter-spacing: 0.3px;
	line-height: 1.5;
	opacity: 0.92;
}
.sources-band__link,
.sources-band__link:hover {
	color: #ffffff;
	text-decoration: underline;
	margin-left: 8px;
}
@media (max-width: 767px) {
	.sources-band {
		padding: 8px 0;
	}
	.sources-band__inner {
		padding: 0 10px;
	}
	.sources-band__list {
		font-size: 10.5px;
		letter-spacing: 0.3px;
	}
	.sources-band__note {
		font-size: 9px;
	}
}

/* Top Header Bar */
.annonces-header-bar {
	background-color: #7d6b56;
	border-top: 3.5px solid #CCA533;
	width: 100%;
	padding: 12px 0;
}

.annonces-header-title {
	font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 21px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	line-height: 1.2;
	user-select: text;
	-webkit-user-select: text;
}

.annonces-header-count-box {
	background-color: rgba(255, 255, 255, 0.18);
	border-radius: 4px;
	padding: 6px 28px;
	display: inline-block;
	text-align: center;
}

.annonces-header-count {
	font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 21px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	line-height: 1.2;
	white-space: nowrap;
	user-select: text;
	-webkit-user-select: text;
}

/* Divider Line */
.annonces-divider-line {
	width: 50%;
	max-width: 650px;
	height: 3px;
	background-color: #308796;
	margin: 22px auto;
}

/* Column Boxes */
.annonces-column-box {
	border: 3.5px solid #CCA533;
	border-radius: 12px;
	background-color: #CCA533;
	padding: 12px;
}

/* Vignette Cards (Desktop) */
.vignette-card {
	border: 1px solid rgba(48, 135, 150, 0.25);
	border-radius: 8px;
	background-color: #ffffff;
	margin-bottom: 12px;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	cursor: pointer;
	text-decoration: none !important;
	color: inherit !important;
	display: flex;
}
.vignette-card:last-child {
	margin-bottom: 0 !important;
}
.vignette-card:hover,
.vignette-card:focus {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(48, 135, 150, 0.25);
	text-decoration: none !important;
	color: inherit !important;
}

.vignette-img-wrapper {
	width: 220px;
	min-width: 220px;
	max-width: 220px;
	position: relative;
	background-color: #f0f0f0;
}
.vignette-img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vignette-content-wrapper {
	padding: 8px;
}

.vignette-title {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 800;
	color: #111;
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 65%;
}

.vignette-portal {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 800;
	color: #ff0000;
	text-transform: uppercase;
}

.vignette-details {
	font-family: 'Inter', sans-serif;
	font-size: 10px;
	color: #555;
	margin-bottom: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vignette-location {
	background-color: #e2e4e6;
	border-radius: 3px;
	font-family: 'Inter', sans-serif;
	font-size: 10px;
	color: #222;
	font-weight: 600;
	margin-bottom: 3px;
	padding: 2px 8px !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}

.vignette-price {
	font-family: 'Inter', sans-serif;
	font-size: 15px;
	font-weight: 800;
	color: #111;
	white-space: nowrap;
}

.vignette-price-m2 {
	font-family: 'Inter', sans-serif;
	font-size: 10px;
	color: #555;
	white-space: nowrap;
}

.vignette-agency {
	font-family: 'Inter', sans-serif;
	font-size: 9.5px;
	color: #666;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vignette-bottom-bar {
	background-color: #e2e4e6;
	border-top: 1.5px solid #308796;
	padding: 3.5px 0 !important;
	margin: 4px -8px -8px -8px;
	font-family: 'Inter', sans-serif;
	font-size: 9.5px;
	color: #222;
	font-weight: 700;
	overflow: hidden !important;
	position: relative !important;
	white-space: nowrap !important;
	user-select: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.vignette-bottom-bar:hover {
	background-color: #dbe0e3;
}

.vignette-marquee-track {
	display: flex !important;
	width: max-content !important;
	animation: vignetteScrollLeft 24s linear infinite !important;
	animation-play-state: paused !important;
	will-change: transform !important;
}

.vignette-bottom-bar:hover .vignette-marquee-track {
	animation-play-state: running !important;
}

.vignette-marquee-content {
	display: flex !important;
	align-items: center !important;
	flex-shrink: 0 !important;
	white-space: nowrap !important;
}

.vignette-item {
	white-space: nowrap !important;
	display: inline-block !important;
	color: #1e293b !important;
	letter-spacing: 0.2px;
}

.vignette-sep {
	margin: 0 9px !important;
	color: #308796 !important;
	font-weight: 900 !important;
	opacity: 0.85 !important;
	display: inline-block !important;
}

@keyframes vignetteScrollLeft {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Text selections */
#home_annonces_teaser *::selection {
	background: #1a73e8 !important;
	color: #ffffff !important;
}

/* Responsive Tablet */
@media (max-width: 1200px) {
	.vignette-img-wrapper {
		width: 180px;
		min-width: 180px;
		max-width: 180px;
	}
}

/* Responsive Mobile : Format compact horizontal (vignette a gauche) */
@media (max-width: 767px) {
	.annonces-header-bar {
		padding: 8px 10px;
	}
	.annonces-header-title {
		font-size: 14px !important;
		text-align: center;
	}
	.annonces-header-count-box {
		padding: 4px 16px;
		width: 85%;
		max-width: 280px;
	}
	.annonces-header-count {
		font-size: 15px !important;
	}
	.annonces-divider-line {
		width: 75%;
		margin: 12px auto;
	}
	.annonces-grid-wrapper {
		padding: 0 8px 20px 8px !important;
	}
	.annonces-column-box {
		padding: 6px !important;
		max-width: 480px !important;
		width: 100% !important;
		margin: 0 auto !important;
		border-radius: 10px !important;
	}

	/* MODE TELEPHONE : Format compact avec photo a gauche */
	.vignette-card {
		display: flex !important;
		flex-direction: row !important;
		margin-bottom: 6px !important;
		border-radius: 5px !important;
		min-height: 80px !important;
		max-height: 86px !important;
		overflow: hidden !important;
	}
	.vignette-img-wrapper {
		width: 37% !important;
		min-width: 37% !important;
		max-width: 37% !important;
		height: auto !important;
		min-height: 100% !important;
		align-self: stretch !important;
		position: relative !important;
	}
	.vignette-img-wrapper img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
		display: block !important;
	}
	.vignette-content-wrapper {
		width: 63% !important;
		padding: 3px 6px 3px 6px !important;
		display: flex !important;
		flex-direction: column !important;
		justify-content: space-between !important;
		min-width: 0 !important;
	}
	.vignette-title {
		font-size: 10px !important;
		font-weight: 800 !important;
		line-height: 1.15 !important;
		max-width: 60% !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}
	.vignette-portal {
		font-size: 10px !important;
		font-weight: 800 !important;
		line-height: 1.15 !important;
	}
	.vignette-details {
		font-size: 7.5px !important;
		line-height: 1.1 !important;
		margin-bottom: 1px !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}
	.vignette-location {
		display: block !important;
		text-align: center !important;
		width: 100% !important;
		font-size: 7.5px !important;
		padding: 1px 4px !important;
		margin-bottom: 2px !important;
		border-radius: 2px !important;
		line-height: 1.15 !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		background-color: #e2e4e6 !important;
	}
	.vignette-price {
		font-size: 11.5px !important;
		font-weight: 800 !important;
		line-height: 1.1 !important;
	}
	.vignette-price-m2 {
		font-size: 7.5px !important;
		line-height: 1.1 !important;
	}
	.vignette-agency {
		font-size: 7px !important;
		line-height: 1.1 !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}
	.vignette-bottom-bar {
		font-size: 8px !important;
		padding: 2px 0 !important;
		margin: 2px -6px -3px -6px !important;
		white-space: nowrap !important;
		line-height: 1.1 !important;
		overflow: hidden !important;
	}
	.vignette-sep {
		margin: 0 5px !important;
	}
}

/* ============================================================================
   Classes remplaçant les anciens attributs style= des templates.
   :is(.classe, #_#_#_) donne à la règle la spécificité de 3 id (le second sélecteur ne
   correspond à rien) : comme le style inline qu'elle remplace, elle l'emporte sur les
   règles normales des autres feuilles, mais pas sur leurs !important ni sur element.style.
   ============================================================================ */

/* home/_annonces_teaser.html.twig */
:is(.annonces-teaser__div, #_#_#_) {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 20px;
}
:is(.annonces-teaser__img, #_#_#_) {
	height: 44px;
	width: auto;
	margin-right: 14px;
}
:is(.annonces-teaser__div-2, #_#_#_) {
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 15px 30px 15px;
}

/* home/_vignette_card.html.twig */
:is(.vignette-card__vignette-card, #_#_#_) {
	border: 1px solid rgba(48, 135, 150, 0.25);
	min-height: 115px;
	position: relative;
}
:is(.vignette-card__vignette-img-wrapper, #_#_#_) {
	position: relative;
	flex-shrink: 0;
	background-color: #f0f0f0;
}
:is(.vignette-card__img, #_#_#_) {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
:is(.vignette-card__vignette-content-wrapper, #_#_#_) {
	min-width: 0;
}
:is(.vignette-card__a, #_#_#_) {
	color: inherit;
	text-decoration: none;
}
:is(.vignette-card__div, #_#_#_) {
	gap: 8px;
	margin-bottom: 1px;
}
