.hs-advertisement {
	box-sizing: border-box;
	clear: both;
	max-width: 100%;
	margin: 16px 0;
	text-align: center;
}

.hs-advertisement-label {
	display: block;
	margin-bottom: 6px;
	font-size: 11px;
	line-height: 1.5;
}

.hs-advertisement a {
	display: inline-block;
	max-width: 100%;
}

.hs-advertisement img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
}

.hs-advertisement[hidden] {
	display: none;
}

.hs-advertisement--adsense {
	width: 100%;
}

/* Bloc invisible sans changer sa taille ; « !important » sur les descendants, car le code inséré par Google porte un
	style en ligne « visibility: visible » qui garderait visible une annonce déjà chargée après un retrait d'accord. */
.hs-advertisement--adsense:not(.hs-advertisement--shown),
.hs-advertisement--adsense:not(.hs-advertisement--shown) * {
	visibility: hidden !important;
}

/* Bloc AdSense de taille fixe par largeur d'écran (formats 320x100, 468x60, 728x90) : place réservée dès le premier
	affichage, gardée vide sans accord ou sans annonce, pour éviter tout décalage du contenu (CLS). */
.hs-adsense-slot {
	display: block;
	width: 320px;
	max-width: 100%;
	height: 100px;
	margin: 0 auto;
}

@media (min-width: 500px) {
	.hs-adsense-slot {
		width: 468px;
		height: 60px;
	}
}

@media (min-width: 800px) {
	.hs-adsense-slot {
		width: 728px;
		height: 90px;
	}
}

/* Appareils visés (Panel, 29/11/2026) : mobiles jusqu'à 700 pixels de large, ordinateurs au-delà. Un encart caché n'est
	ni demandé à Google (adsense.js) ni chargé (image différée). */
@media (min-width: 701px) {
	.hs-advertisement--mobile,
	.hs-support-notice--mobile {
		display: none;
	}
}

@media (max-width: 700px) {
	.hs-advertisement--desktop,
	.hs-support-notice--desktop {
		display: none;
	}
}

/* Encart de la liste des sujets : ligne sans survol ni bordure de sujet. */
li.hs-advertisement-row {
	padding: 0 8px;
	background: none;
}

@media print {
	.hs-advertisement,
	.hs-advertisement-row {
		display: none;
	}
}
