/*
 * Corrections SEO (lot A, décembre 2026).
 * Feuille séparée : static/css/style.css est compilé par un build qui ne tourne plus.
 * Chargée après style.css, par SeoFixesController.
 */

/* H1 présent pour les moteurs et les lecteurs d'écran, invisible à l'écran. */
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* Un H1 secondaire devenu H2 garde l'apparence d'un H1 (tailles de style.css). */
html body h2.h1-style { font-size: 3.75em; line-height: 1em; }
@media screen and (max-width: 80em) { html body h2.h1-style { font-size: 3.13em; } }
@media screen and (max-width: 780px) { html body h2.h1-style { font-size: 2.5em; } }
@media screen and (max-width: 36em) { html body h2.h1-style { font-size: 1.75em; } }

.post-template-default.single.single-post main > header .title h2.h1-style,
.articles .article-item > div > div.content .title h2.h1-style { margin: 0; margin-bottom: 25px; }

/* Titres du carrousel de l'accueil, passés de H1 à H2. */
.page-template-tpl-home main > header > .sliderWrapper > .slider > .siema .news-item > div h2.slide-title {
	text-align: center;
	font-size: 5em;
	line-height: 1em;
	margin: 0;
	color: #fff;
}
@media screen and (max-height: 900px) { .page-template-tpl-home main > header > .sliderWrapper > .slider > .siema .news-item > div h2.slide-title { font-size: 4.06em; } }
@media screen and (max-height: 800px) { .page-template-tpl-home main > header > .sliderWrapper > .slider > .siema .news-item > div h2.slide-title { font-size: 3.13em; } }
@media screen and (max-width: 64em) { .page-template-tpl-home main > header > .sliderWrapper > .slider > .siema .news-item > div h2.slide-title { font-size: 2.81em; } }
@media screen and (max-width: 780px) { .page-template-tpl-home main > header > .sliderWrapper > .slider > .siema .news-item > div h2.slide-title { font-size: 2.5em; } }
@media screen and (max-width: 36em) { .page-template-tpl-home main > header > .sliderWrapper > .slider > .siema .news-item > div h2.slide-title { font-size: 2.19em; } }

/* Flèches de pagination du blog (remplacent Font Awesome). */
.icon-angle { display: inline-block; vertical-align: -0.1em; }

/*
 * Lot B : width/height servent seulement à réserver la place (CLS). Spécificité
 * nulle : la taille reste celle d'avant, fixée par style.css ou par l'image.
 */
:where(img.mes-img) { width: auto; height: auto; }

/* Lot C : meilleures ventes sous les sous-catégories d'un grand rayon. */
.alternative-category .rayon-bestsellers { padding: 40px 0 80px; }
.alternative-category .rayon-bestsellers > h2 { text-align: center; margin-bottom: 40px; }
