@charset 'utf-8';/**
 * Pages de texte (modele recit) — refonte 2026
 *
 * Meme habillage que Le pain et Groupes et scolaires. Les regles visent
 * toute page dont le contenu porte la classe « recit » (#_str.recit) :
 * html:has(#_str.recit) suit aussi le changement de page par le menu.
 * La mise en forme suit la structure du texte : voir V.page_recit.php.
 */

/** ------------------------------------------------------------- le chassis
 *  Le gabarit d'origine affiche le contenu dans une boite en position absolue
 *  qui defile pour son propre compte : on rend le flux a la page. */

html:has(#_str.recit) #contain,
html:has(#_str.recit) #content,
html:has(#_str.recit) #wrap_main {
	display:block;
	height:auto;
}

html:has(#_str.recit) #main {
	height:auto;
	overflow:visible;
}

html:has(#_str.recit) #_str,
html:has(#_str.recit) #_str.full {
	position:static;
	overflow:visible;
	top:auto;
	bottom:auto;
	left:auto;
	right:auto;
	max-width:none;
	font-size:17px;
}

html:has(#_str.recit) #_str.full > div {
	padding:0;
}

html:has(#_str.recit) #_str .bloc > * {
	background-color:transparent;
}

/** ------------------------------------------------- titre sur la photo */

html:has(#_str.recit) .h_hero {
	position:relative;
	min-height:min(58vh,560px);
	display:flex;
	align-items:flex-end;
	padding:0 var(--marge) 52px;
	color:#fff;
}

html:has(#_str.recit) .h_hero:before {
	content:"";
	position:absolute;
	inset:0;
	background:linear-gradient(to top, rgba(28,22,17,.84) 0%, rgba(28,22,17,.34) 48%, rgba(28,22,17,.06) 78%, rgba(28,22,17,.28) 100%);
}

html:has(#_str.recit) .h_hero > div {
	position:relative;
	max-width:1120px;
	margin:0 auto;
	width:100%;
}

html:has(#_str.recit) .h_hero h1 {
	font-family:var(--display);
	font-variation-settings:"SOFT" 70,"WONK" 1,"opsz" 144;
	font-weight:600;
	font-size:clamp(38px,6.6vw,82px);
	line-height:.98;
	letter-spacing:-.022em;
	margin:0 0 18px;
	max-width:16ch;
	color:#F6F1E6;
	text-shadow:0 2px 3px rgba(0,0,0,.45);
}

html:has(#_str.recit) .h_hero h1 em {
	font-style:italic;
	color:var(--miel);
}

html:has(#_str.recit) .h_hero p {
	font-size:clamp(17px,2vw,20px);
	max-width:52ch;
	margin:0;
	color:rgba(255,255,255,.92);
}

html:has(#_str.recit) .h_hero .quand,
html:has(#_str.recit) .h_hero .surtitre {
	color:var(--miel);
	margin:0 0 14px;
}

/** -------------------------------------------------------- barre pratique */

html:has(#_str.recit) .h_pratique {
	background:var(--suie);
	color:#F0EAE0;
	padding:14px var(--marge);
	font-size:14.5px;
}

html:has(#_str.recit) .h_pratique > div {
	max-width:1120px;
	margin:0 auto;
}

html:has(#_str.recit) .h_pratique p {
	margin:0;
}

html:has(#_str.recit) .h_pratique strong,
html:has(#_str.recit) .h_pratique b {
	color:var(--miel);
	font-weight:700;
}

html:has(#_str.recit) .h_pratique a {
	color:var(--miel);
	font-weight:700;
	text-decoration:none;
}

/** --------------------------------------------------------------- sections */

html:has(#_str.recit) .h_section {
	position:relative;
	padding:clamp(56px,8vw,104px) var(--marge);
	background:var(--panneau);
}

html:has(#_str.recit) .h_section.creme {
	background:var(--calcaire);
}

html:has(#_str.recit) .h_section > div {
	max-width:1120px;
	margin:0 auto;
}

html:has(#_str.recit) .h_section + .h_section {
	border-top:1px solid var(--pierre);
}

html:has(#_str.recit) .h_section h2 {
	font-family:var(--display);
	font-variation-settings:"SOFT" 60,"WONK" 1,"opsz" 90;
	font-weight:600;
	font-size:clamp(28px,4vw,44px);
	line-height:1.08;
	letter-spacing:-.018em;
	margin:0 0 16px;
	color:var(--suie);
}

html:has(#_str.recit) .h_section p {
	font-size:17px;
	line-height:1.65;
}

html:has(#_str.recit) .chapeau {
	max-width:64ch;
}

html:has(#_str.recit) .chapeau p:not(:has(+ h1)):not(:has(+ h2)):not(:has(+ h3)) {
	font-size:clamp(17px,1.9vw,19.5px);
	color:var(--suie-clair);
}

html:has(#_str.recit) .surtitre,
html:has(#_str.recit) .quand {
	font-family:var(--texte);
	font-size:11px;
	font-weight:700;
	letter-spacing:.22em;
	text-transform:uppercase;
	color:var(--braise);
	margin:0 0 14px;
}

html:has(#_str.recit) .a-completer {
	border-bottom:2px dashed var(--braise);
	color:var(--braise);
	font-weight:700;
}

html:has(#_str.recit) .rCSS a {
	color:var(--braise);
}

/** ----------------------------------------------------------------- cartes */

html:has(#_str.recit) .h_cartes {
	display:grid;
	gap:2px;
	background:var(--pierre);
	margin-top:36px;
}

html:has(#_str.recit) .h_cartes.trois {
	grid-template-columns:repeat(3,1fr);
}

html:has(#_str.recit) .h_cartes > div {
	background:var(--panneau);
	padding:28px 26px;
}

html:has(#_str.recit) .h_section.creme .h_cartes > div {
	background:var(--calcaire);
}

html:has(#_str.recit) .h_cartes h3 {
	font-family:var(--display);
	font-variation-settings:"SOFT" 60,"WONK" 1,"opsz" 40;
	font-weight:600;
	font-size:21px;
	line-height:1.18;
	margin:0 0 10px;
	color:var(--suie);
}

html:has(#_str.recit) .h_cartes p {
	margin:0 0 10px;
	font-size:15.5px;
	color:var(--suie-clair);
	line-height:1.6;
}

html:has(#_str.recit) .h_cartes .quand {
	margin:0 0 8px;
	font-size:11px;
	color:var(--lichen);
}

html:has(#_str.recit) .encart,
html:has(#_str.recit) .bon {
	margin-top:22px;
	padding:18px 20px;
	background:rgba(111,122,98,.13);
	border-left:2px solid var(--lichen);
	font-size:15.5px;
	line-height:1.55;
}

html:has(#_str.recit) .encart strong,
html:has(#_str.recit) .bon strong,
html:has(#_str.recit) .bon h3 {
	display:block;
	margin:0 0 5px;
	font-family:var(--display);
	font-size:17px;
	color:var(--suie);
}

html:has(#_str.recit) .bon p {
	margin:0;
	font-size:15.5px;
}


/** ------------------------------------------------------ surtitres
 *  L'editeur ne garde pas les classes : un paragraphe place juste avant un
 *  titre est un surtitre, quelle que soit la saisie. */

html:has(#_str.recit) .rCSS p:has(+ h1),
html:has(#_str.recit) .rCSS p:has(+ h2),
html:has(#_str.recit) .rCSS p:has(+ h3) {
	font-family:var(--texte);
	font-size:11px;
	font-weight:700;
	letter-spacing:.22em;
	text-transform:uppercase;
	color:var(--braise);
	margin:0 0 14px;
}

html:has(#_str.recit) .h_hero .rCSS p:has(+ h1) {
	color:var(--miel);
}

html:has(#_str.recit) .h_cartes .rCSS p:has(+ h3) {
	color:var(--lichen);
	margin:0 0 8px;
}

/** ------------------------------------------------------------ galerie
 *  Une grande case (la video, ou la premiere photo) et six vignettes ; s'il
 *  y en a plus, la sixieme annonce « + N » et tout s'ouvre en grand. */

html:has(#_str.recit) .p_galerie {
	display:grid;
	grid-template-columns:2fr 1fr 1fr 1fr;
	grid-auto-rows:200px;
	grid-auto-flow:dense;
	gap:6px;
	margin-top:36px;
}

html:has(#_str.recit) .p_galerie.seule {
	grid-template-columns:1fr;
	grid-auto-rows:auto;
}

html:has(#_str.recit) .p_galerie figure {
	position:relative;
	margin:0;
	overflow:hidden;
	border-radius:var(--rayon);
	background:var(--suie);
	cursor:pointer;
}

html:has(#_str.recit) .p_galerie .grande {
	grid-row:span 2;
}

html:has(#_str.recit) .p_galerie .cachee {
	display:none;
}

html:has(#_str.recit) .p_galerie img,
html:has(#_str.recit) .p_galerie video {
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
	transition:transform .5s ease;
}

html:has(#_str.recit) .p_galerie .grande.video {
	cursor:default;
}

html:has(#_str.recit) .p_galerie .grande.video video {
	object-fit:contain;
	background:#000;
	transition:none;
}

html:has(#_str.recit) .p_galerie .lg-item:hover img,
html:has(#_str.recit) .p_galerie .lg-item:hover video {
	transform:scale(1.03);
}

html:has(#_str.recit) .p_galerie figcaption {
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	padding:22px 14px 10px;
	font-size:13.5px;
	font-weight:600;
	color:#fff;
	background:linear-gradient(to top, rgba(28,22,17,.75), transparent);
	pointer-events:none;
}

html:has(#_str.recit) .p_galerie .grande.video figcaption {
	bottom:auto;
	top:0;
	padding:10px 14px 22px;
	background:linear-gradient(to bottom, rgba(28,22,17,.7), transparent);
}

html:has(#_str.recit) .p_galerie .badge {
	display:inline-block;
	margin-right:10px;
	padding:2px 8px;
	border-radius:2px;
	background:var(--miel);
	color:var(--suie);
	font-size:11px;
	font-weight:700;
	letter-spacing:.1em;
	text-transform:uppercase;
	vertical-align:1px;
}

html:has(#_str.recit) .p_galerie .lecture {
	position:absolute;
	left:50%;
	top:50%;
	width:56px;
	height:56px;
	margin:-28px 0 0 -28px;
	border-radius:50%;
	background:rgba(184,67,30,.92);
	box-shadow:0 6px 20px rgba(0,0,0,.35);
	pointer-events:none;
}

html:has(#_str.recit) .p_galerie .lecture:after {
	content:"";
	position:absolute;
	left:22px;
	top:17px;
	border-style:solid;
	border-width:11px 0 11px 17px;
	border-color:transparent transparent transparent #fff;
}

html:has(#_str.recit) .p_galerie .plus_n {
	position:absolute;
	inset:0;
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	background:rgba(42,33,26,.72);
	color:#fff;
	font-family:var(--display);
	font-weight:600;
	font-size:24px;
}

html:has(#_str.recit) .p_galerie .plus_n small {
	font-family:var(--texte);
	font-size:12px;
	font-weight:700;
	letter-spacing:.18em;
	text-transform:uppercase;
	color:var(--miel);
	margin-top:2px;
}

/** ---------------------------------------------------- telephone
 *  Meme traitement que l'accueil. Sous 600 px, le gabarit d'origine reduit le
 *  fond a une bande de 200 px en haut de l'ecran : le titre se retrouvait sur
 *  un aplat gris. On retablit la photo plein cadre, fixee derriere le contenu.
 *  Les largeurs de lecture en « ch » depassaient l'ecran et faisaient deborder
 *  la page : on les ramene a la largeur disponible. */

@media screen and (max-width:760px) {

	html:has(#_str.recit) .h_hero p,
	html:has(#_str.recit) .h_hero h1,
	html:has(#_str.recit) .chapeau,
	html:has(#_str.recit) .h_section p {
		max-width:100%;
	}

	html:has(#_str.recit) .h_hero h1 {
		font-size:clamp(32px,10vw,50px);
	}

	html:has(#_str.recit) .h_pratique {
		font-size:14px;
	}

}

@media screen and (max-width:600px) {

	html:has(#_str.recit) #bg {
		position:fixed;
		top:0;
		left:0;
		width:100%;
		height:100%;
		overflow:hidden;
		z-index:-2;
	}

	html:has(#_str.recit) #bg,
	html:has(#_str.recit) #bg .bg {
		height:100%;
	}

	html:has(#_str.recit) .h_hero {
		min-height:min(70vh,560px);
		padding-bottom:36px;
	}

}


/** ------------------------------------------------- titre sans photo
 *  Une page sans image de fond : le titre s'affiche sur fond clair. */

html:has(#_str.recit) .h_hero.sans_photo {
	min-height:0;
	padding-top:56px;
	padding-bottom:40px;
	background:var(--calcaire);
	border-bottom:1px solid var(--pierre);
	color:var(--suie);
}

html:has(#_str.recit) .h_hero.sans_photo:before {
	display:none;
}

html:has(#_str.recit) .h_hero.sans_photo h1 {
	color:var(--suie);
	text-shadow:none;
	max-width:22ch;
}

html:has(#_str.recit) .h_hero.sans_photo p {
	color:var(--suie-clair);
}

html:has(#_str.recit) .h_hero.sans_photo .rCShtml:has(#_str.recit) p:has(+ h1) {
	color:var(--braise);
}

/** --------------------------------------------- bande : separateurs */

html:has(#_str.recit) .h_pratique .rCShtml:has(#_str.recit) p {
	margin:0;
}

html:has(#_str.recit) .h_pratique a {
	color:var(--miel);
	font-weight:700;
	text-decoration:none;
}

/** ---------------------------------------- bande : etat du jour
 *  [aujourd'hui] dans la bande affiche l'etat du jour, comme sur l'accueil :
 *  vert ouvert, orange dans la derniere heure, rouge ferme. */

html:has(#_str.recit) .h_pratique .ouvert {
	display:inline-flex;
	align-items:center;
	gap:8px;
	margin-right:10px;
	padding:3px 12px 3px 10px;
	border:1px solid rgba(217,160,60,.55);
	border-radius:99px;
	font-weight:700;
	color:#fff;
}

html:has(#_str.recit) .h_pratique .ouvert i {
	display:block;
	width:8px;
	height:8px;
	border-radius:50%;
	background:#8FBF6A;
	box-shadow:0 0 0 3px rgba(143,191,106,.25);
}

html:has(#_str.recit) .h_pratique .ouvert.etat_bientot i {
	background:#D9A03C;
	box-shadow:0 0 0 3px rgba(217,160,60,.28);
}

html:has(#_str.recit) .h_pratique .ouvert.etat_ferme i {
	background:#B8431E;
	box-shadow:0 0 0 3px rgba(184,67,30,.25);
}

html:has(#_str.recit) .h_pratique .ouvert.etat_ferme {
	color:rgba(240,234,224,.78);
}

/** -------------------------------------------------- texte des sections
 *  Une colonne de lecture ; les tableaux, cartes et frises prennent toute
 *  la largeur. */

html:has(#_str.recit) .recit_texte > p,
html:has(#_str.recit) .recit_texte > ul,
html:has(#_str.recit) .recit_texte > h2,
html:has(#_str.recit) .recit_texte > h3 {
	max-width:66ch;
}

html:has(#_str.recit) .h_section .recit_texte > p {
	font-size:17.5px;
	line-height:1.72;
	color:var(--suie-clair);
	margin:0 0 1em;
}

html:has(#_str.recit) .h_section .recit_texte > p:has(+ h2),
html:has(#_str.recit) .h_section .recit_texte > p:has(+ h3) {
	font-size:11px;
	line-height:1.4;
	color:var(--braise);
	margin:0 0 14px;
}

html:has(#_str.recit) .recit_texte h3 {
	font-family:var(--display);
	font-variation-settings:"opsz" 40;
	font-weight:700;
	font-size:21px;
	line-height:1.2;
	margin:28px 0 8px;
	color:var(--suie);
}

html:has(#_str.recit) .recit_texte strong,
html:has(#_str.recit) .recit_texte b {
	color:var(--suie);
}

/* citation : un paragraphe tout en italique (marque par le serveur : p_citation) */
html:has(#_str.recit) .h_section .recit_texte > p.p_citation {
	margin:30px 0;
	padding:6px 0 6px 24px;
	border-left:3px solid var(--miel);
	font-family:var(--display);
	font-size:clamp(20px,2.4vw,26px);
	line-height:1.38;
	color:var(--suie);
}

/* un lien seul sur sa ligne : un bouton. Le serveur marque ces paragraphes
   (p_bouton), le style ne pouvant pas voir le texte autour d'un lien. */
html:has(#_str.recit) .h_section .recit_texte p.p_bouton > a {
	display:inline-block;
	padding:11px 20px;
	border-radius:var(--rayon);
	background:var(--braise);
	color:#fff;
	font-weight:700;
	font-size:15px;
	text-decoration:none;
}

html:has(#_str.recit) .h_section .recit_texte p.p_bouton > a:hover {
	background:#9f3815;
}

/* images dans le texte */
html:has(#_str.recit) .recit_texte img {
	display:block;
	max-width:100%;
	height:auto;
	border-radius:var(--rayon);
}

/* liste a puces : des pastilles */
html:has(#_str.recit) .recit_texte ul {
	list-style:none;
	margin:18px 0 22px;
	padding:0;
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

html:has(#_str.recit) .recit_texte ul li {
	margin:0;
	padding:7px 14px;
	border:1px solid var(--pierre);
	border-radius:99px;
	background:var(--panneau);
	font-weight:600;
	font-size:15px;
	line-height:1.3;
	color:var(--suie);
}

html:has(#_str.recit) .h_section.creme .recit_texte ul li {
	background:var(--panneau);
}

/* liste numerotee : une frise, la date en gras en tete */
html:has(#_str.recit) .recit_texte ol {
	list-style:none;
	margin:34px 0 10px;
	padding:0;
	display:grid;
	grid-auto-flow:column;
	grid-auto-columns:1fr;
	gap:18px;
	position:relative;
}

html:has(#_str.recit) .recit_texte ol:before {
	content:"";
	position:absolute;
	left:0;
	right:0;
	top:25px;
	height:2px;
	background:linear-gradient(to right, var(--pierre), var(--miel) 60%, var(--braise));
}

html:has(#_str.recit) .recit_texte ol li {
	position:relative;
	margin:0;
	padding:0;
	font-size:14.5px;
	line-height:1.5;
	color:var(--suie-clair);
}

html:has(#_str.recit) .recit_texte ol li > strong:first-child,
html:has(#_str.recit) .recit_texte ol li > b:first-child {
	display:table;	/* a la largeur de la date, le texte passe dessous */
	position:relative;
	margin-bottom:8px;
	padding-right:10px;
	background:var(--panneau);
	font-family:var(--display);
	font-variation-settings:"opsz" 144;
	font-weight:700;
	font-size:30px;
	line-height:52px;
	color:var(--suie);
	font-variant-numeric:tabular-nums;
}

html:has(#_str.recit) .h_section.creme .recit_texte ol li > strong:first-child,
html:has(#_str.recit) .h_section.creme .recit_texte ol li > b:first-child {
	background:var(--calcaire);
}

html:has(#_str.recit) .recit_texte ol li:last-child > strong:first-child,
html:has(#_str.recit) .recit_texte ol li:last-child > b:first-child {
	color:var(--braise);
}

/* tableau de plusieurs lignes : liste de prix ou d'horaires */
html:has(#_str.recit) .recit_texte table {
	width:100%;
	max-width:640px;
	margin:10px 0 26px;
	border-collapse:collapse;
	font-size:15.5px;
	font-variant-numeric:tabular-nums;
}

html:has(#_str.recit) .recit_texte td,
html:has(#_str.recit) .recit_texte th {
	padding:11px 0;
	border:0;
	border-bottom:1px solid var(--pierre);
	vertical-align:top;
	text-align:left;
	background:none;
}

html:has(#_str.recit) .recit_texte td:first-child {
	font-weight:600;
	padding-right:18px;
	color:var(--suie);
}

html:has(#_str.recit) .recit_texte td:last-child:not(:first-child) {
	text-align:right;
	color:var(--suie-clair);
}

/* tableau d'une seule ligne : des cartes cote a cote */
html:has(#_str.recit) .recit_texte table:has(tr:only-child) {
	max-width:none;
	display:block;
	margin:32px 0 10px;
}

html:has(#_str.recit) .recit_texte table:has(tr:only-child) tbody {
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
	gap:2px;
	background:var(--pierre);
}

html:has(#_str.recit) .recit_texte table:has(tr:only-child) tr {
	display:contents;
}

html:has(#_str.recit) .recit_texte table:has(tr:only-child) td {
	display:block;
	padding:24px 24px 22px;
	border:0;
	background:var(--panneau);
	text-align:left !important;
	font-weight:400;
	font-size:15.5px;
	line-height:1.55;
	color:var(--suie-clair);
}

html:has(#_str.recit) .h_section.creme .recit_texte table:has(tr:only-child) td {
	/* sur fond creme, les cartes sont claires */
	background:var(--panneau);
}

html:has(#_str.recit) .h_section:not(.creme) .recit_texte table:has(tr:only-child) td {
	background:var(--calcaire);
}

html:has(#_str.recit) .recit_texte table:has(tr:only-child) td p {
	margin:0 0 8px;
}

html:has(#_str.recit) .recit_texte table:has(tr:only-child) td p:has(+ h2),
html:has(#_str.recit) .recit_texte table:has(tr:only-child) td p:has(+ h3) {
	font-family:var(--texte);
	font-size:11px;
	font-weight:700;
	letter-spacing:.18em;
	text-transform:uppercase;
	color:var(--lichen);
}

html:has(#_str.recit) .recit_texte table:has(tr:only-child) td h3 {
	margin:0 0 8px;
}

/* un grand mot (ex. Cabane, Breuil) : un titre dans une carte */
html:has(#_str.recit) .recit_texte table:has(tr:only-child) td h2 {
	font-family:var(--display);
	font-variation-settings:"SOFT" 70,"WONK" 1,"opsz" 144;
	font-weight:600;
	font-size:clamp(38px,5vw,56px);
	line-height:1;
	margin:0 0 10px;
	color:var(--suie);
}

html:has(#_str.recit) .recit_texte table:has(tr:only-child) td em,
html:has(#_str.recit) .recit_texte table:has(tr:only-child) td i {
	font-family:var(--display);
	color:var(--braise);
}

/* encadre vert : un paragraphe qui commence par un gras suivi d'un saut de ligne */
html:has(#_str.recit) .h_section .recit_texte > p:has(> strong:first-child + br),
html:has(#_str.recit) .h_section .recit_texte > p:has(> b:first-child + br) {
	max-width:640px;
	padding:18px 20px;
	background:rgba(111,122,98,.13);
	border-left:2px solid var(--lichen);
	font-size:15.5px;
	line-height:1.55;
}

html:has(#_str.recit) .h_section .recit_texte > p:has(> strong:first-child + br) > strong:first-child,
html:has(#_str.recit) .h_section .recit_texte > p:has(> b:first-child + br) > b:first-child {
	font-family:var(--display);
	font-size:17px;
}

/** ----------------------------------------------------- ecrans etroits */

@media screen and (max-width:900px) {

	html:has(#_str.recit) .recit_texte ol {
		grid-auto-flow:row;
		grid-template-columns:1fr;
		gap:20px;
	}

	html:has(#_str.recit) .recit_texte ol:before {
		left:7px;
		right:auto;
		top:8px;
		bottom:8px;
		width:2px;
		height:auto;
		background:linear-gradient(to bottom, var(--pierre), var(--miel) 60%, var(--braise));
	}

	html:has(#_str.recit) .recit_texte ol li {
		padding-left:32px;
	}

	html:has(#_str.recit) .recit_texte ol li:before {
		content:"";
		position:absolute;
		left:0;
		top:8px;
		width:12px;
		height:12px;
		border-radius:50%;
		background:var(--panneau);
		border:2px solid var(--miel);
	}

	html:has(#_str.recit) .recit_texte ol li > strong:first-child,
	html:has(#_str.recit) .recit_texte ol li > b:first-child {
		display:block;
		background:none !important;
		padding:0;
		font-size:24px;
		line-height:1.2;
		margin-bottom:4px;
	}

	html:has(#_str.recit) .p_galerie {
		grid-template-columns:1fr 1fr;
		grid-auto-rows:150px;
	}

	html:has(#_str.recit) .p_galerie .grande {
		grid-column:span 2;
		grid-row:span 2;
	}

}

@media screen and (max-width:600px) {

	html:has(#_str.recit) .h_hero {
		min-height:min(52vh,460px);
	}

	html:has(#_str.recit) .h_hero.sans_photo {
		min-height:0;
		padding-top:36px;
		padding-bottom:28px;
	}

}


/** ==========================================================================
 *  PAGES A FONCTION PARTICULIERE
 *  Venir, Contact, Livre d'or, Vos photos, Vos realisations : elles gardent
 *  leur modele et prennent cet habillage (voir V.recit_cadre.php).
 *  ========================================================================== */

/** ---------------------------------------------- formulaires (comme celui des groupes) */

html:has(#_str.recit) #_str.recit form {
	background:var(--panneau);
	border:1px solid var(--pierre);
	padding:clamp(22px,3vw,34px);
	margin:0;
	box-shadow:none;
}

html:has(#_str.recit) #_str.recit fieldset {
	border:0;
	margin:0;
	padding:0;
	min-width:0;
}

html:has(#_str.recit) #_str.recit .r_champs {
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:18px 20px;
}

html:has(#_str.recit) #_str.recit .r_champs p {
	display:flex;
	flex-direction:column;
	gap:6px;
	margin:0;
	float:none;
	width:auto;
}

html:has(#_str.recit) #_str.recit .r_champs .r_large {
	grid-column:1 / -1;
}

html:has(#_str.recit) #_str.recit form label {
	font-family:var(--texte);
	font-size:12px;
	font-weight:700;
	letter-spacing:.1em;
	text-transform:uppercase;
	color:var(--suie-clair);
}

html:has(#_str.recit) #_str.recit form .human_check label {
	text-transform:none;
	letter-spacing:0;
	font-size:15px;
}

html:has(#_str.recit) #_str.recit form .required > label::after {
	content:' *';
	color:var(--braise);
}

html:has(#_str.recit) #_str.recit form input[type=text],
html:has(#_str.recit) #_str.recit form input[type=date],
html:has(#_str.recit) #_str.recit form input[type=file],
html:has(#_str.recit) #_str.recit form select,
html:has(#_str.recit) #_str.recit form textarea {
	font-family:var(--texte);
	font-size:16px;
	color:var(--suie);
	background:#fff;
	border:1px solid var(--pierre);
	border-radius:var(--rayon);
	padding:11px 12px;
	width:100%;
	max-width:none;
	height:auto;
	box-sizing:border-box;
	box-shadow:none;
}

html:has(#_str.recit) #_str.recit form textarea {
	min-height:130px;
	resize:vertical;
}

html:has(#_str.recit) #_str.recit form input:focus,
html:has(#_str.recit) #_str.recit form select:focus,
html:has(#_str.recit) #_str.recit form textarea:focus {
	outline:2px solid var(--miel);
	outline-offset:1px;
	border-color:var(--miel);
}

html:has(#_str.recit) #_str.recit form .err_required {
	border-color:var(--braise);
	box-shadow:inset 0 0 0 1px var(--braise);
}

html:has(#_str.recit) #_str.recit form .note {
	font-size:13px;
	color:var(--lauze);
}

html:has(#_str.recit) #_str.recit .r_envoi {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	flex-wrap:wrap;
	margin-top:22px;
	padding-top:18px;
	border-top:1px solid var(--pierre);
}

html:has(#_str.recit) #_str.recit #info {
	position:static;
	font-size:13px;
	color:var(--lauze);
}

html:has(#_str.recit) #_str.recit form .submit_mail {
	font-family:var(--texte);
	font-weight:700;
	font-size:15px;
	letter-spacing:.04em;
	background:var(--braise) !important;
	color:#fff !important;
	border:0;
	border-radius:var(--rayon);
	padding:13px 26px;
	height:auto;
	cursor:pointer;
	box-shadow:none;
	text-shadow:none;
}

html:has(#_str.recit) #_str.recit form .submit_mail:hover {
	background:#9F3815 !important;
}

html:has(#_str.recit) #_str.recit form .submit_mail .ic {
	display:none;
}

html:has(#_str.recit) #_str.recit .form_honeypot {
	position:absolute;
	left:-9999px;
	width:1px;
	height:1px;
	overflow:hidden;
}

html:has(#_str.recit) #_str.recit #result_sending > ul {
	margin:0 0 18px;
	padding:14px 18px;
	list-style:none;
	border-left:2px solid var(--lichen);
	background:rgba(111,122,98,.15);
	font-size:15.5px;
}

html:has(#_str.recit) #_str.recit #result_sending > ul.error {
	border-left-color:var(--braise);
	background:#FBF1EE;
}

html:has(#_str.recit) #_str.recit .intro {
	margin:0 0 18px;
	font-size:16px;
	color:var(--suie-clair);
}

/** ---------------------------------------------------------- venir */

html:has(#_str.recit) #_str.recit .r_venir {
	display:grid;
	grid-template-columns:1.2fr .8fr;
	gap:clamp(28px,4vw,56px);
	align-items:start;
}

html:has(#_str.recit) #_str.recit #maps_wrap {
	position:static;
	width:auto;
	height:auto;
	margin:0;
	padding:0;
	background:none;
}

html:has(#_str.recit) #_str.recit #maps {
	display:block;
	width:100%;
	height:380px;
	border:0;
	border-radius:var(--rayon);
	background:var(--calcaire);
}

html:has(#_str.recit) #_str.recit #maps_link {
	margin:14px 0 0;
}

html:has(#_str.recit) #_str.recit #maps_link a {
	display:inline-block;
	padding:11px 20px;
	border-radius:var(--rayon);
	background:var(--braise);
	color:#fff;
	font-weight:700;
	font-size:15px;
	text-decoration:none;
}

/** --------------------------------------------------------- contact */

html:has(#_str.recit) #_str.recit .r_contact {
	display:grid;
	grid-template-columns:.85fr 1.15fr;
	gap:clamp(28px,4vw,64px);
	align-items:start;
}

html:has(#_str.recit) #_str.recit .r_contact .r_aside table:has(tr:only-child) tbody {
	grid-template-columns:1fr;
}

/** ------------------------------------------------------- livre d'or */

html:has(#_str.recit) #_str.recit .r_livre_tete {
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:16px;
	flex-wrap:wrap;
	margin-bottom:22px;
}

html:has(#_str.recit) #_str.recit .r_livre_tete h2 {
	margin:0;
}

html:has(#_str.recit) #_str.recit #guestbook_comment_opener {
	position:static;
	display:block;
	margin:0;
	padding:0;
	list-style:none;
	box-shadow:none;
	background:none;
	width:auto;
}

html:has(#_str.recit) #_str.recit #guestbook_comment_opener li {
	display:block;
	margin:0;
	padding:0;
	background:none;
	float:none;
}

html:has(#_str.recit) #_str.recit #guestbook_comment_opener a {
	display:inline-block;
	padding:11px 20px;
	border-radius:var(--rayon);
	background:var(--braise);
	color:#fff;
	font-family:var(--texte);
	font-weight:700;
	font-size:15px;
	text-decoration:none;
	height:auto;
	line-height:1.3;
}

html:has(#_str.recit) #_str.recit #guestbook_comment_opener li.hv a {
	background:var(--suie);
}

html:has(#_str.recit) #_str.recit #guestbook_comment {
	position:static;
	width:auto;
	max-width:760px;
	margin:0 0 30px;
	box-shadow:none;
	background:none;
}

html:has(#_str.recit) #_str.recit #guestbook_comment .padd {
	padding:0;
}

html:has(#_str.recit) #_str.recit #guestbook_comment ._fullTable,
html:has(#_str.recit) #_str.recit #guestbook_comment ._2cell {
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:18px 20px;
	width:auto;
	margin:0 0 18px;
}

html:has(#_str.recit) #_str.recit #guestbook_comment ._2cell > div {
	display:block;
	width:auto;
	padding:0;
}

html:has(#_str.recit) #_str.recit #guestbook_comment p {
	margin:0 0 14px;
}

html:has(#_str.recit) #_str.recit #guestbook_comment button.submit_mail {
	margin-top:6px;
}

html:has(#_str.recit) #_str.recit #note_display {
	font-size:13px;
	color:var(--lauze);
	margin-top:12px;
}

html:has(#_str.recit) #_str.recit #guestbook_items {
	columns:2;
	column-gap:22px;
	padding:0;
	background:none;
}

html:has(#_str.recit) #_str.recit #guestbook_items > div {
	break-inside:avoid;
	margin:0 0 22px;
	padding:22px;
	background:var(--panneau);
	border:1px solid var(--pierre);
	box-shadow:none;
}

html:has(#_str.recit) #_str.recit .h_section:not(.creme) #guestbook_items > div {
	background:var(--calcaire);
}

html:has(#_str.recit) #_str.recit .guestbook_info {
	display:flex;
	justify-content:space-between;
	align-items:center;
	gap:10px;
	margin:0 0 6px;
	font-size:12.5px;
	color:var(--lauze);
}

html:has(#_str.recit) #_str.recit .guestbook_date {
	float:none;
	font-size:12.5px;
	color:var(--lauze);
}

html:has(#_str.recit) #_str.recit .guestbook_subject {
	font-family:var(--display);
	font-variation-settings:"opsz" 40;
	font-weight:700;
	font-size:19px;
	line-height:1.25;
	margin:0 0 8px;
	color:var(--suie);
	text-transform:none;
}

html:has(#_str.recit) #_str.recit .guestbook_comment {
	font-size:15.5px;
	line-height:1.6;
	color:var(--suie-clair);
}

/** ------------------------------------------------- vos realisations */

html:has(#_str.recit) #_str.recit .r_realisations #atelier_vosphotos,
html:has(#_str.recit) #_str.recit .r_realisations #atelier_vosphotos .padd,
html:has(#_str.recit) #_str.recit .r_realisations .atelier_vosphotos_wrap {
	position:static;
	width:auto;
	max-width:none;
	margin:0;
	padding:0;
	background:none;
	box-shadow:none;
}

html:has(#_str.recit) #_str.recit .atelier_vosphotos_grid {
	display:grid;
	grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
	gap:22px 18px;
	margin:18px 0 26px;
}

html:has(#_str.recit) #_str.recit .atelier_vosphoto_item {
	margin:0;
	padding:0;
	background:none;
	border:0;
	box-shadow:none;
}

html:has(#_str.recit) #_str.recit .atelier_vosphoto_photo {
	position:relative;
}

html:has(#_str.recit) #_str.recit .atelier_vosphoto_photo img {
	display:block;
	width:100%;
	aspect-ratio:1;
	object-fit:cover;
	border-radius:var(--rayon);
	cursor:zoom-in;
}

html:has(#_str.recit) #_str.recit .atelier_vosphoto_winner {
	position:absolute;
	top:10px;
	left:10px;
	margin:0;
	padding:3px 9px;
	border-radius:2px;
	background:var(--miel);
	color:var(--suie);
	font-size:11px;
	font-weight:700;
	letter-spacing:.1em;
	text-transform:uppercase;
}

html:has(#_str.recit) #_str.recit .atelier_vosphoto_infos {
	padding:8px 0 0;
}

html:has(#_str.recit) #_str.recit .atelier_vosphoto_infos h3 {
	margin:0 0 2px;
	font-family:var(--texte);
	font-size:15.5px;
	font-weight:700;
	color:var(--suie);
}

html:has(#_str.recit) #_str.recit .atelier_vosphoto_infos p {
	margin:0;
	font-size:13.5px;
	color:var(--lauze);
}

html:has(#_str.recit) #_str.recit .atelier_vosphotos_month {
	margin:0 0 10px;
	border-top:1px solid var(--pierre);
}

html:has(#_str.recit) #_str.recit .atelier_vosphotos_month > summary {
	cursor:pointer;
	padding:14px 0;
	font-family:var(--display);
	font-variation-settings:"opsz" 40;
	font-weight:700;
	font-size:20px;
	color:var(--suie);
	list-style-position:inside;
}

html:has(#_str.recit) #_str.recit .atelier_vosphotos_month > summary::marker {
	color:var(--braise);
}

/** ------------------------------------------------------ ecrans etroits */

@media screen and (max-width:900px) {

	html:has(#_str.recit) #_str.recit .r_venir,
	html:has(#_str.recit) #_str.recit .r_contact {
		grid-template-columns:1fr;
	}

	html:has(#_str.recit) #_str.recit #maps {
		height:300px;
	}

	html:has(#_str.recit) #_str.recit #guestbook_items {
		columns:1;
	}

}

@media screen and (max-width:600px) {

	html:has(#_str.recit) #_str.recit .r_champs,
	html:has(#_str.recit) #_str.recit #guestbook_comment ._fullTable,
	html:has(#_str.recit) #_str.recit #guestbook_comment ._2cell {
		grid-template-columns:1fr;
	}

	html:has(#_str.recit) #_str.recit .atelier_vosphotos_grid {
		grid-template-columns:1fr 1fr;
		gap:14px 12px;
	}

}
