/* Hélion – base : typographie, conteneur, grille de fond (valeurs relevées sur l'ancien thème Musea). */

/* Remise à zéro de Musea : elle l'emporte sur les styles de blocs de WordPress (:where), ce qui fixe le rendu des blocs. */
a, abbr, acronym, address, applet, b, big, blockquote, body, caption, center, cite, code, dd, del, dfn, div, dl, dt, em,
fieldset, font, form, h1, h2, h3, h4, h5, h6, html, i, iframe, ins, kbd, label, legend, li, object, ol, p, pre, q, s, samp,
small, span, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, var {
	background: 0 0;
	border: 0;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
code { background-color: #f3f4f5; }
article, aside, details, figcaption, figure, footer, header, nav, section { display: block; }
del { text-decoration: line-through; }
table { border: medium none; border-collapse: collapse; border-spacing: 0; vertical-align: middle; }
table th { border: 0; padding: 5px 7px; text-align: center; }
table td { padding: 5px 10px; text-align: center; }
iframe { max-width: 100%; }
html { overflow-y: scroll; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
body {
	font-family: "Alegreya Sans", Arial, sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.58em;
	color: #5f5f5f;
	background-color: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }

h1, h2, h3, h4, h5, h6 {
	margin: 25px 0;
	font-family: "EB Garamond", Georgia, serif;
	font-weight: 400;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #525252;
	overflow-wrap: break-word;
}
h1 { font-size: 51px; line-height: 1.15em; }
h2 { font-size: 40px; line-height: 1.17em; }
h3 { font-size: 32px; line-height: 40px; }
h4 { font-size: 27px; line-height: 1.33em; }
h5 { font-size: 22px; line-height: 1.31em; }
h6 { font-size: 20px; line-height: 1.35em; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: inherit; }
p { margin: 10px 0; }
ol, ul { list-style-position: inside; margin: 15px 0; padding: 0; }
ol ol, ol ul, ul ol, ul ul { margin: 0; padding: 0 0 0 43px; }
a { color: #5f5f5f; text-decoration: none; transition: color .2s ease-out; }
a:hover, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: #77bbff; }
pre { max-width: 100%; white-space: pre-wrap; word-wrap: break-word; font-family: "Alegreya Sans", Arial, sans-serif; font-size: 19px; font-weight: 400; line-height: 1.47em; letter-spacing: 0; color: #5f5f5f; }

@media (max-width: 1024px) and (min-width: 681px) { h1 { font-size: 42px; } }
@media (max-width: 680px) {
	h1 { font-size: 35px; line-height: 45px; }
	h2 { font-size: 30px; line-height: 40px; }
}

.screen-reader-text, .helion-evitement:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.helion-evitement:focus { position: fixed; top: 10px; left: 10px; z-index: 100001; padding: 10px 16px; background: #fff; color: #000; }

/* Conteneur : mêmes paliers que la grille Musea. */
.helion-grille { width: 1300px; max-width: 100%; margin-left: auto; margin-right: auto; }
@media (max-width: 1399px) { .helion-grille { width: 1100px; } }
@media (max-width: 1200px) { .helion-grille { width: 950px; } }
@media (max-width: 1024px) { .helion-grille { width: 768px; } }
@media (max-width: 768px) { .helion-grille { width: 600px; } }
@media (max-width: 680px) { .helion-grille { width: 420px; } }
@media (max-width: 480px) { .helion-grille { width: 300px; } }
@media (max-width: 320px) { .helion-grille { width: 90%; } }

/* Page : le contenu recouvre le pied de page fixe (marge basse = hauteur du pied, posée par menu.js). */
.helion-page { position: relative; z-index: 100; background: #fff; overflow-x: clip; } /* comme .eltdf-wrapper-inner de Musea (clip : sans créer de zone de défilement) */
.js .helion-page { margin-bottom: var(--helion-pied, 0px); }
.helion-corps { position: relative; }
.helion-contenu--page .helion-grille--contenu,
.helion-contenu .helion-grille--contenu { padding: 130px 0; }
.helion-sans-marge .helion-contenu--page .helion-grille--contenu { padding: 0; }

/* Grille de fond : 5 colonnes, filets verticaux très clairs. */
.helion-grille-fond { position: absolute; inset: 0; z-index: -1; display: flex; pointer-events: none; }
.helion-grille-fond span { position: relative; flex: 1 1 20%; }
.helion-grille-fond span::before { content: ""; position: absolute; top: 0; left: 0; width: 1px; height: 100%; background-color: #f8f8f8; }
.helion-corps > *:not(.helion-grille-fond) { position: relative; }

/* En-tête des contenus seuls (fiches, articles) : date dorée en italique suivie d'un tiret, titre. */
.helion-article__entete { margin-top: 28px; }
.helion-article__entete + .helion-article__contenu { padding-bottom: 97px; } /* marges du « blog single » de Musea (27 + 30 + 40 px) */
.helion-article__info { margin: 0 0 5px; font-size: 13px; line-height: 26.86px; }
.helion-article__date { position: relative; display: inline-block; vertical-align: top; margin-left: 7px; padding-right: 14px; }
.helion-article__date::after { content: "-"; position: absolute; right: -2px; top: 0; }
.helion-article__date a { font-family: "EB Garamond", Georgia, serif; font-size: 17px; font-style: italic; font-weight: 300; line-height: 1.47em; color: #c9ab81; }
@media (max-width: 680px) {
	.helion-article__date { display: block; margin-left: 0; }
	.helion-article__date::after { display: none; }
}
.helion-article__date a:hover { color: #383838; }
.helion-article__titre { margin: 0; font-size: 40px; line-height: 46.8px; }
@media (max-width: 680px) { .helion-article__titre { font-size: 30px; line-height: 40px; } }

/* Gabarits de l'extension Hélion – Catalogue : mêmes marges que sous Musea (130 px en haut et en bas). */
.helion-catalogue.helion-grille { padding: 0; }
.helion-catalogue.helion-grille > .eltdf-container-inner { padding: 130px 0; }

/* Page introuvable (reprise de .eltdf-page-not-found de Musea) : écran entier, bloc centré, sans pied de page. */
.error404 .helion-pied { display: none; }
.helion-contenu--404 { display: flex; align-items: center; min-height: 100vh; box-sizing: border-box; }
.helion-404 { width: 100%; padding: 0 20%; text-align: center; box-sizing: border-box; }
.helion-404__titre { margin: 0; }
.helion-404__soustitre { margin: 35px 0 0; }
.helion-404__texte { margin: 10px 0 0; }
.helion-404 .helion-bouton { margin: 30px 0 0; }
@media (max-width: 1024px) {
	.helion-contenu--404 { align-items: flex-start; } /* écran entier sous l'en-tête, comme Musea */
	.helion-404 { padding: 70px 30px 20px; }
	.error404 .helion-grille-fond { display: none; }
}
