/*
Theme Name: EUROS
Template: twentytwentyfive
Description: Thème enfant de Twenty Twenty-Five reproduisant la charte du site www.euros.fr (Ubuntu / Montserrat, rouge #C00C0C), polices hébergées localement.
Version: 3.0.4
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: euros
*/

/* ---------- En-tête (blanc, logo à gauche, menu à droite) ---------- */
.euros-entete { min-height: 125px; display: flex; align-items: center; background: transparent !important; transition: background .25s, min-height .25s, box-shadow .25s; }
/* Comme l'ancien site : en-tête transparent posé sur la photo, blanc et collant au défilement */
.wp-site-blocks > header.wp-block-template-part { position: absolute; top: 0; left: 0; right: 0; z-index: 50; margin: 0; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
html.defile .wp-site-blocks > header.wp-block-template-part { position: fixed; }
html.defile .euros-entete { background: #fff !important; min-height: 70px; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
.wp-site-blocks > main, .wp-site-blocks > .euros-bandeau { margin-block-start: 0 !important; }
.euros-entete .wp-block-site-logo img { height: 40px; width: auto; }
/* Logo à la taille de l'ancien site (partie visible ≈ 149 px de large) */
@media (min-width: 782px) { .euros-entete .wp-block-site-logo img { height: 51px; } }
.euros-entete .wp-block-navigation-item__content { padding: 0 20px; }
.euros-langues { list-style: none; display: flex; gap: .5rem; margin: 0; padding: 0; }
.euros-langues img { width: 16px !important; height: 11px !important; display: block; }
.euros-langues a { display: block; padding: 4px; }

/* ---------- Boutons « pilule » de l'ancien site ---------- */
.wp-block-button__link { white-space: nowrap; }
.wp-block-post-content .wp-block-buttons { display: inline-flex; margin: .4rem .5rem .4rem 0; }

/* ---------- Accueil ---------- */
.wp-block-cover__image-background, .wp-block-media-text__media img { z-index: 0; }
.wp-block-cover__background { z-index: 1; }
.wp-block-cover__inner-container { position: relative; z-index: 2; }
.home main.wp-block-group { padding-top: 0 !important; padding-bottom: 0 !important; }
.home .wp-block-post-content > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
/* Fond gris clair des sections de l'accueil (ancien site : #F5F5F5, fondu avec les photos) */
.home .euros-section { background: #f5f5f5; }
.euros-hero { min-height: 100vh !important; padding-top: 125px !important; }
.euros-hero h1 { color: var(--wp--preset--color--accent-1); font-size: clamp(2.4rem, 1rem + 4vw, 4.25rem); line-height: 1.015; letter-spacing: -4px; max-width: none !important; }
/* Comme l'ancien site : photo à sa taille réelle calée en haut (visage entier), texte dans la moitié droite */
.euros-hero .wp-block-cover__image-background { object-position: 50% 0 !important; }
@media (min-width: 782px) and (max-width: 1920px) { .euros-hero .wp-block-cover__image-background { object-fit: none !important; } }
@media (min-width: 782px) {
	.euros-hero { padding: 0 !important; }
	.euros-hero .wp-block-cover__inner-container { max-width: none !important; width: 42% !important; margin: 0 4% 0 54% !important; }
}
@media (min-width: 1601px) { .euros-hero .wp-block-cover__inner-container { width: calc(50% - 25px) !important; margin: 0 12px 0 calc(50% + 12px) !important; } }
.euros-ancres { position: sticky; top: 70px; z-index: 20; }
.euros-ancres a { color: var(--wp--preset--color--accent-4); text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: .4px; padding: 8px 20px; display: inline-block; }
.euros-ancres a:hover { color: var(--wp--preset--color--accent-1); }
.euros-section { min-height: 600px; scroll-margin-top: 130px; }
.euros-section .wp-block-media-text__content { padding: 0 8% !important; }
.euros-section .wp-block-media-text__content > * { max-width: 486px; }
.euros-section h2 { margin-bottom: 1.6rem; }
.euros-section ul { list-style: none; padding: 0; }
.euros-section ul li { position: relative; padding-left: 1.6rem; margin: .3rem 0; }
.euros-section ul li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--accent-1); font-weight: 700; }
.euros-news h2 { font-size: 15px !important; letter-spacing: 0 !important; text-transform: uppercase; color: #2d2d2d; }
.euros-news .wp-block-post-title { font-size: 20px !important; letter-spacing: -.02em; }
.euros-news .wp-block-post-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.euros-news .wp-block-post-date { color: #C8102E; font-size: 14px; }
.euros-news .wp-block-post-featured-image img { aspect-ratio: 229 / 195; object-fit: cover; }


/* ---------- Pages intérieures (gabarit page.html / single.html) ---------- */
html, body { overflow-x: clip; }
/* Colonnes du contenu converti (la feuille de style du bloc n'est pas chargée pour du HTML classique) */
.wp-block-columns { display: flex; flex-wrap: nowrap; gap: 2.4rem; align-items: flex-start; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column[style*="flex-basis"] { flex-grow: 0; flex-shrink: 1; }
.wp-block-columns .wp-block-column[style*="flex-basis:25"], .wp-block-columns .wp-block-column[style*="flex-basis:75"] { flex-shrink: 1; }
.euros-page .wp-block-image img { width: 100%; height: auto; }
@media (max-width: 781px) { .wp-block-columns { flex-wrap: wrap; } .wp-block-column { flex-basis: 100% !important; } }
.euros-bandeau { min-height: 395px; padding-top: 125px; box-sizing: border-box; display: flex; align-items: center; background: #d8dde0 url(/wp-content/uploads/bandeau-v1.jpg) center top / cover no-repeat; margin: 0 !important; }
.euros-bandeau > * { width: 100%; }
.euros-bandeau h1 { font-size: clamp(2.6rem, 1rem + 5vw, 78px); letter-spacing: -4px; color: #000; margin: 0; }
.euros-bandeau .wp-block-post-date { color: #C8102E; font-size: 14px; margin-top: .6rem; }
.euros-page { margin-top: 0 !important; }
.euros-ancres-page { margin: 0 calc(50% - 50vw) !important; width: 100vw; max-width: 100vw !important; background: var(--wp--preset--color--accent-5); position: sticky; top: 70px; z-index: 20; }
.euros-ancres-page .sousmenu { display: block !important; }
.euros-ancres-page ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 10px 0; }
.euros-ancres-page a { color: var(--wp--preset--color--accent-4); text-decoration: none; font-size: 16px; font-weight: 500; letter-spacing: .4px; padding: 8px 20px; display: inline-block; }
.euros-ancres-page a:hover { color: var(--wp--preset--color--accent-1); }
.euros-ancre { display: block; position: relative; top: -140px; height: 0; }
.euros-surtitre { font-family: var(--wp--preset--font-family--montserrat); font-size: 15px; line-height: 18px; font-weight: 700; text-transform: uppercase; color: var(--wp--preset--color--accent-1); margin: 0 0 1.2rem !important; }
.euros-titre { font-size: 35px !important; line-height: 38px !important; letter-spacing: -2px !important; color: #000 !important; margin: 0 0 1rem !important; }
.euros-titre-xl { font-size: clamp(2.4rem, 1rem + 4vw, 58px) !important; letter-spacing: -4px !important; color: #000 !important; }
.euros-petit { font-size: 13px; }
.euros-page strong, .euros-page b { color: var(--wp--preset--color--accent-3); font-weight: 700; }
.euros-chiffre { text-align: center; }
.euros-chiffre .valeur { display: block; font-family: var(--wp--preset--font-family--ubuntu); font-size: 58px; line-height: 58px; letter-spacing: -1px; font-weight: 700; color: #C8102E; }
.euros-chiffre .libelle { display: block; font-family: var(--wp--preset--font-family--montserrat); font-size: 16px; line-height: 16px; font-weight: 300; letter-spacing: -.2px; color: #121212; margin: 5px 0 40px; }
.euros-offres { list-style: none; padding: 0; margin: 0 0 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 30px; }
@media (max-width: 781px) { .euros-offres { grid-template-columns: 1fr; } }
.euros-offres a { display: block; color: #121212; font-family: var(--wp--preset--font-family--montserrat); font-size: 20px; line-height: 28px; font-weight: 800; letter-spacing: -.2px; text-decoration: none; }
.euros-offres a:hover { color: var(--wp--preset--color--accent-1); }
.euros-offres small { display: block; font-size: 14px; line-height: 27px; color: var(--wp--preset--color--accent-3); }

.euros-carte { margin-top: 0; }
.euros-carte .regions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.euros-carte .regions button { background: #C00C0C; color: #fff; border: 0; border-radius: 1px; padding: 7px 14px; font: 700 12px/13px var(--wp--preset--font-family--ubuntu); cursor: pointer; }
.euros-carte .regions button.actif, .euros-carte .regions button:hover { background: #121212; }
/* Carte Leaflet, 600 px comme l'ancienne ; fond passé en gris (thème « Subtle Grayscale » de l'ancienne carte Google) */
.euros-carte .fond { height: 600px; background: #c9c9c9; z-index: 0; }
@media (max-width: 781px) { .euros-carte .fond { height: 420px; } }
.euros-carte .maplibregl-canvas { filter: grayscale(1) brightness(.9); }
.euros-carte .maplibregl-popup-content { font: 14px/1.4 var(--wp--preset--font-family--ubuntu); color: #121212; padding: 8px 12px; }
/* Épingle rouge façon Google Maps */
.euros-epingle { display: block; width: 22px; height: 27px; cursor: pointer; }
.euros-epingle::before { content: ""; position: absolute; left: 1px; top: 0; width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); transform-origin: 50% 50%; background: #C8102E; border: 1px solid #8a0a1e; box-sizing: border-box; top: 2px; }
.euros-epingle::after { content: ""; position: absolute; left: 8px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: #6d0814; }

/* ---------- Contenu repris de l'ancien site (WPBakery converti) ---------- */
.wp-block-post-content img, .wp-block-post-content video, .wp-block-post-content iframe { max-width: 100%; height: auto; }
.wp-block-post-content .membre { display: inline-block; width: 200px; vertical-align: top; margin: 0 1rem 1.5rem 0; }
.wp-block-post-content .membre img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.wp-block-post-content .chiffre strong { font-size: 2.2rem; color: var(--wp--preset--color--accent-1); display: block; }
.wp-block-post-content details { border-bottom: 1px solid var(--wp--preset--color--accent-6); padding: .6rem 0; }
.wp-block-post-content details summary { cursor: pointer; font-weight: 700; color: var(--wp--preset--color--contrast); }
.wp-block-post-content ul li.puce { list-style: none; position: relative; padding-left: 1.4rem; }
.wp-block-post-content ul li.puce::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--accent-1); font-weight: 700; }
.wp-block-post-content .wp-block-gallery { display: flex; flex-wrap: wrap; gap: .5rem; }
.wp-block-post-content .wp-block-gallery figure { flex: 1 1 160px; margin: 0; }

/* ---------- Pied de page noir, 4 colonnes ---------- */
.wp-site-blocks > footer { margin-block-start: 0 !important; }
.euros-pied { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.euros-pied h4 { color: #fff; font-family: var(--wp--preset--font-family--montserrat); font-size: 16px; font-weight: 700; letter-spacing: 0; margin: 0 0 1rem; }
.euros-pied, .euros-pied p { color: var(--wp--preset--color--lien-pied); font-size: 14px; line-height: 23px; margin: 0; }
.euros-pied a { color: var(--wp--preset--color--lien-pied); text-decoration: none; }
.euros-pied a:hover { color: #fff; }
.euros-pied ul { list-style: none; padding: 0; margin: 0; }
.euros-pied .logo-pied img { max-width: 170px; height: auto; }
@media (max-width: 781px) {
	.euros-pied { grid-template-columns: 1fr 1fr; }
	.euros-section { min-height: 0; }
	.euros-section .wp-block-media-text__content { padding: 2rem 1.2rem !important; }
	.euros-ancres a { padding: 8px 10px; font-size: 14px; }
}

/* ---------- Question « professionnel de santé » (assets/pro.js) ---------- */
.euros-pro { display: none !important; }
html.est-pro .euros-pro { display: flex !important; }
.euros-pro-fond { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, .55); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.euros-pro-boite { background: #fff; max-width: 560px; width: 100%; padding: 2.4rem 2rem 2rem; text-align: center; border-radius: 6px; }
.euros-pro-boite p { font-family: var(--wp--preset--font-family--ubuntu); font-size: 28px; line-height: 1.25; color: #121212; margin: 0 0 1.6rem; }
.euros-pro-boite .choix { display: flex; gap: .8rem; justify-content: center; }
.euros-pro-boite button { min-width: 110px; font: 700 12px/40px var(--wp--preset--font-family--ubuntu); letter-spacing: 1px; text-transform: uppercase; color: var(--wp--preset--color--accent-1); background: #fff; border: 2px solid var(--wp--preset--color--accent-1); border-radius: 50px; cursor: pointer; }
.euros-pro-boite button:hover, .euros-pro-boite button:focus { background: var(--wp--preset--color--accent-1); color: #fff; }

/* ---------- Contenus convertis de l'ancien site (v2.5) ---------- */
.euros-icone-texte { display: grid; grid-template-columns: 115px 1fr; align-items: start; }
.euros-icone-texte img { width: 74px; height: 62px; justify-self: center; }
.euros-icone-texte h3 { font-family: var(--wp--preset--font-family--montserrat); font-size: 20px; line-height: 28px; font-weight: 700; letter-spacing: -.2px; color: #121212; margin: 0 0 6px; }
.euros-icone-texte h3 a { color: inherit; text-decoration: none; }
.euros-icone-texte p { font-size: 14px; line-height: 25px; margin: 0; }
/* Séparateur pleine largeur entre les sections ; les rangées « ancre » et « séparateur » n'ajoutent pas de marge */
.euros-separateur { border: 0; border-top: 1px solid #ddd; margin: 10px 0 !important; width: 100%; max-width: none !important; }
.euros-rangee-pleine > .euros-separateur { width: 100vw; position: relative; left: 50%; transform: translateX(-50%); }
.euros-fa { color: #C00C0C; vertical-align: middle; margin-right: 8px; }
.euros-texte a[href*="linkedin.com"] { color: #C8102E; text-decoration: none; }

/* ---------- Mise en page fidèle (v2.7) : espacements, tailles et couleurs repris tels quels de l'ancien site ---------- */
.euros-page .wp-block-post-content > *, .euros-rangee, .euros-rangee > *, .wp-block-column > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.euros-espace { display: block; }
.euros-cf { font-family: var(--wp--preset--font-family--montserrat); }
.euros-texte p { margin: 0; }
.euros-page .wp-block-columns { gap: 30px; align-items: flex-start; }
.euros-page .wp-block-column[style*="flex-basis:25"] { flex-basis: calc(25% - 22.5px) !important; }
.euros-page .wp-block-column[style*="flex-basis:75"] { flex-basis: calc(75% - 7.5px) !important; }
.euros-page .wp-block-column[style*="flex-basis:33.33"] { flex-basis: calc(33.333% - 20px) !important; }
.euros-page .wp-block-column[style*="flex-basis:50"] { flex-basis: calc(50% - 15px) !important; }
.euros-page .wp-block-image { margin: 0; }
.euros-page .wp-block-image img { border-radius: 4px; }
.txt-small p { font-size: 14px; line-height: 27px; }
.txt-extra-small p { font-size: 12px; line-height: 19.2px; }
/* Accordéon « + de caractéristiques » : rond gris, + rouge (− une fois ouvert) */
.wp-block-post-content details.euros-accordeon { border: 0; padding: 0; margin-top: 0; }
.euros-accordeon summary { list-style: none; display: flex; align-items: center; gap: 15px; min-height: 40px; cursor: pointer; font: 400 16px/27px var(--wp--preset--font-family--ubuntu) !important; color: #5a5a5a !important; }
.euros-accordeon summary::-webkit-details-marker { display: none; }
.euros-accordeon .marque { position: relative; flex: 0 0 40px; height: 40px; border-radius: 50%; background: #f6f6f5; }
.euros-accordeon .marque::before, .euros-accordeon .marque::after { content: ""; position: absolute; left: 15px; top: 19px; width: 10px; height: 2px; background: #C8102E; }
.euros-accordeon .marque::after { transform: rotate(90deg); transition: transform .2s; }
.euros-accordeon[open] .marque::after { transform: rotate(0); }
.euros-accordeon > .euros-texte { padding: 10px 0 10px 55px; }
.euros-rangee > .euros-separateur { margin-block: 10px !important; }
.euros-page .wp-block-post-content [id] { scroll-margin-top: 130px; }

/* ---------- Typographie de base de l'ancien thème (titres et textes saisis dans les contenus) ---------- */
.wp-block-post-content :is(h2, h3, h4, h5, h6):not(.euros-cf):not(.euros-titre):not(.euros-titre-xl) { margin-top: 0; margin-bottom: 0; }
.wp-block-post-content h2:not(.euros-cf):not(.euros-titre):not(.euros-titre-xl) { font: 700 32px/42.88px var(--wp--preset--font-family--montserrat); letter-spacing: -1.8px; color: #121212; }
.wp-block-post-content h3:not(.euros-cf) { font: 700 16px/27px var(--wp--preset--font-family--montserrat); letter-spacing: -.2px; color: #121212; }
.wp-block-post-content h4:not(.euros-cf) { font: 500 16px/27px var(--wp--preset--font-family--ubuntu); letter-spacing: 0; color: #5a5a5a; }
.wp-block-post-content h5:not(.euros-cf) { font: 700 16px/27px var(--wp--preset--font-family--montserrat); letter-spacing: -.2px; color: #121212; }
.wp-block-post-content h6:not(.euros-cf) { font: 400 14px/27px var(--wp--preset--font-family--ubuntu); letter-spacing: 0; color: #5a5a5a; }
:where(.euros-page .wp-block-post-content) p { font-size: 15px; line-height: 23px; }

/* ---------- Liste des actualités [euros_actus] (4 colonnes comme l'ancien site) ---------- */
.euros-actus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 21px; }
@media (max-width: 1000px) { .euros-actus { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .euros-actus { grid-template-columns: 1fr; } }
.euros-actus .image { display: block; aspect-ratio: 1; background: #fff; margin-bottom: 22px; overflow: hidden; }
.euros-actus .image img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 0 !important; }
.euros-actus .date { font: 700 14px/27px var(--wp--preset--font-family--montserrat); letter-spacing: -.4px; color: #C8102E; text-transform: capitalize; }
.euros-actus h4 { margin: 0 !important; }
.euros-actus h4 a { color: #5a5a5a; text-decoration: none; }
.euros-actus h4 a:hover { color: #C8102E; }
.euros-actus p { margin: 0 !important; color: #5a5a5a; }
.wp-block-post-content :is(h2, h3, h4, h5, h6):not(.euros-cf) { text-transform: none; }
.wp-block-post-content :is(h4, h6) a { color: #5a5a5a; text-decoration: none; }
.wp-block-post-content :is(h4, h6) a:hover { color: #C8102E; }
/* Liens dans les textes : rouge sans soulignement ; gris dans les listes « revue de presse » (qodef-underline-link) */
.euros-page .wp-block-post-content .euros-texte a { color: #C8102E; text-decoration: none; }
.euros-page .wp-block-post-content .qodef-underline-link a { color: #5a5a5a; }
.euros-page .wp-block-post-content .euros-texte a:hover { color: #C8102E; text-decoration: underline; }

/* ---------- En-tête mobile dès 1024 px, comme l'ancien site : ☰ à gauche, logo centré, barre blanche,
   menu déroulant en liste sous l'en-tête (le bloc Navigation de WordPress ne bascule qu'à 600 px) ---------- */
@media (max-width: 1024px) {
	.euros-entete { min-height: 100px; background: #fff !important; padding-left: 80px !important; padding-right: 80px !important; }
	html.defile .euros-entete { min-height: 70px; }
	html.defile { --euros-haut-entete: 70px; }
	.euros-entete > .wp-block-group { position: static; justify-content: center !important; }
	.euros-entete .wp-block-site-logo { margin: 0 auto; }
	.euros-entete .wp-block-site-logo img { height: 47px; }
	.euros-entete .euros-menu { position: absolute; left: 80px; top: 0; bottom: 0; display: flex; align-items: center; } /* pas de transform : il casserait le menu ouvert en position fixe */
	.euros-entete .euros-langues { position: absolute; right: 80px; top: 50%; transform: translateY(-50%); }
	.euros-entete .euros-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.euros-entete .euros-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.euros-entete .euros-menu .wp-block-navigation__responsive-container-open svg { width: 20px; height: 20px; }
	/* Menu ouvert : liste sous l'en-tête (et non plein écran) */
	.euros-entete .euros-menu .wp-block-navigation__responsive-container.is-menu-open {
		position: fixed; top: var(--euros-haut-entete, 100px); left: 0; right: 0; bottom: auto; height: auto; overflow: visible;
		padding: 0 80px 10px; background: #fff; box-shadow: 0 6px 10px rgba(0,0,0,.06); animation: none;
	}
	.euros-entete .is-menu-open .wp-block-navigation__responsive-close { max-width: none; }
	.euros-entete .is-menu-open .wp-block-navigation__responsive-dialog { margin-top: 0 !important; }
	.euros-entete .is-menu-open .wp-block-navigation__responsive-container-close { top: calc(-1 * var(--euros-haut-entete, 100px) / 2 - 12px); left: 0; right: auto; z-index: 2; }
	.euros-entete .euros-menu:has(.is-menu-open) .wp-block-navigation__responsive-container-open { visibility: hidden; }
	.euros-entete .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 0 !important; align-items: stretch !important; }
	.euros-entete .is-menu-open .wp-block-navigation__container { gap: 0 !important; align-items: stretch !important; width: 100%; }
	.euros-entete .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid #eee; }
	.euros-entete .is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: 6px 0 !important; font: 400 13px/14px var(--wp--preset--font-family--ubuntu) !important; color: #8d8d8d !important; }
	.euros-entete .is-menu-open .wp-block-navigation-item__content:hover { color: #C00C0C !important; }
	html.has-modal-open { overflow: auto; }
	.euros-entete .is-menu-open, .euros-entete .is-menu-open .wp-block-navigation__responsive-close,
	.euros-entete .is-menu-open .wp-block-navigation__responsive-dialog, .euros-entete .is-menu-open .wp-block-navigation__responsive-container-content { height: auto !important; min-height: 0 !important; }
	.euros-entete .is-menu-open .wp-block-navigation__container { position: static !important; height: auto !important; display: flex !important; flex-direction: column; }
}
@media (max-width: 600px) {
	.euros-entete { padding-left: 20px !important; padding-right: 20px !important; }
	.euros-entete .euros-menu { left: 20px; }
	.euros-entete .euros-langues { right: 20px; }
	.euros-entete .euros-menu .wp-block-navigation__responsive-container.is-menu-open { padding: 0 20px 10px; }
}
.euros-page .wp-block-post-content .euros-ancres-page a { color: var(--wp--preset--color--accent-4); text-decoration: none; }
.euros-page .wp-block-post-content .euros-ancres-page a:hover { color: var(--wp--preset--color--accent-1); }

/* ---------- Rangées avec couleur de fond : sur toute la largeur de l'écran, comme l'ancien site ---------- */
.euros-rangee[style*="background-color"] { margin-inline: calc(50% - 50vw) !important; padding-inline: calc(50vw - 50%); }
/* Page Contact : fond #f9f9f9 jusqu'au pied de page */
.euros-page-contact .wp-site-blocks > main { background: #f9f9f9; margin-block: 0 !important; padding-bottom: 1px; }
.euros-page-contact .wp-site-blocks > footer { margin-top: 0 !important; }
.euros-page .contact-adresse p { font-size: 14px; line-height: 27.13px; }
.euros-page .titre-special h3 { font-size: 20px; line-height: 28px; }

/* ---------- Formulaires Contact Form 7 (style de l'ancien site) ---------- */
.wpcf7 .form-contact p, .wpcf7 form > div > p { margin: 0 0 20px !important; }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
	display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 10px 15px; background: #fff; border: 2px solid #ccc; border-radius: 3px;
	font: 400 14px/24px var(--wp--preset--font-family--ubuntu); color: #5a5a5a; outline: 0;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select { height: 48px; }
.wpcf7 textarea { height: 264px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { border-color: #C8102E; }
.wpcf7 ::placeholder { color: #8d8d8d; opacity: 1; }
.wpcf7 input[type="submit"] {
	height: 47px; padding: 0 37px; background: #fff; color: #C8102E; border: 2px solid #C8102E; border-radius: 37px; cursor: pointer;
	font: 700 12px/43px var(--wp--preset--font-family--ubuntu); letter-spacing: .6px; text-transform: uppercase;
}
.wpcf7 input[type="submit"]:hover { background: #C8102E; color: #fff; }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }

/* ---------- Offre d'emploi (gabarit single-offre, comme l'ancien site) ---------- */
.euros-page-offre .euros-entete { background: #fff !important; }
.euros-offre { background: #f3f3f3; margin-top: 0 !important; padding: 148px 0 60px; }
.admin-bar .euros-offre { padding-top: 180px; }
.euros-page-offre .euros-entete { min-height: 100px; }
.euros-offre .euros-rangee-pleine > .euros-separateur { width: 100%; left: auto; transform: none; }
@media (max-width: 1100px) { .euros-offre { padding-left: 20px; padding-right: 20px; } }
.euros-offre .euros-offre-titre { font: 700 68px/88.4px var(--wp--preset--font-family--montserrat); letter-spacing: -1.8px; color: #121212; margin: 0 auto 35px !important; }
.euros-offre .wp-block-post-content { margin-top: 0 !important; }
.euros-offre .wp-block-post-content p { font-size: 14px; line-height: 23px; }
.euros-offre-infos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 30px auto 0 !important; max-width: 1100px; }
.euros-offre-infos h5 { font: 700 16px/27px var(--wp--preset--font-family--montserrat); letter-spacing: -.2px; color: #121212; margin: 0; }
.euros-offre-infos p { font-size: 12px !important; line-height: 20px !important; margin: 0; color: #5a5a5a; }
.euros-offre-infos .partage { display: flex; gap: 6px; align-items: flex-start; padding-top: 4px; }
.euros-offre-infos .partage a { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: #C8102E; align-items: center; justify-content: center; }
.euros-offre-nav { display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 60px auto 0 !important; }
.euros-offre-nav a { color: #8d8d8d; text-decoration: none; font-size: 22px; }
.euros-offre-nav a:hover { color: #C8102E; }
.euros-offre-nav .liste { display: grid; grid-template-columns: 8px 8px; gap: 3px; }
.euros-offre-nav .liste i { width: 8px; height: 8px; border-radius: 50%; background: #C8102E; }
.euros-offre > .euros-separateur { max-width: 1100px; margin: 40px auto 0 !important; }
@media (max-width: 781px) {
	.euros-offre { padding-top: 140px; }
	.euros-offre .euros-offre-titre { font-size: 40px; line-height: 48px; }
	.euros-offre-infos { grid-template-columns: 1fr 1fr; }
}
.euros-offre .euros-separateur { max-width: 1100px; margin-left: auto !important; margin-right: auto !important; }

/* ---------- Plan du site [wp_sitemap_page] (présentation de l'ancienne extension WP Sitemap Page) ---------- */
.wsp-container ul { list-style: disc inside; margin: 0; padding: 0; }
.wsp-container li { font: 400 16px/27px var(--wp--preset--font-family--ubuntu); color: #5a5a5a; margin: 0; }
.wsp-container li a { font-size: 14px; color: #5a5a5a !important; text-decoration: none; }
.wsp-container li a:hover { color: #C8102E !important; }
.wsp-container li strong { font-size: 14px; color: #5a5a5a; }
.wsp-container ul ul { list-style-type: circle; padding-left: 15px; }
