/* SPSR2 : composition de la maquette Saint-Pierre-sur-Risle.
 * Le socle SPSR conserve les pages intérieures, modules et menus accessibles. */
html body.wp-theme-krea3-spsr2 { --spsr-content: 1480px; --spsr-primary: #125d60; --spsr-secondary: #397f87; }
html body.wp-theme-krea3-spsr2 [hidden] { display: none !important; }
html body.wp-theme-krea3-spsr2 #haut_page { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }
html body.wp-theme-krea3-spsr2 #haut_page:focus { z-index: 2000; top: 10px; left: 165px; width: auto !important; height: auto !important; padding: 14px !important; margin: 0 !important; overflow: visible !important; clip-path: none; background: #fff !important; color: #125d60 !important; }
html body.wp-theme-krea3-spsr2.home #header { background: transparent !important; box-shadow: none; height: 110px !important; }
html body.wp-theme-krea3-spsr2.home #header:not(.menu-reduit) #logo { visibility: hidden !important; }
html body.wp-theme-krea3-spsr2.home #header:not(.menu-reduit) > .largeur92 { background: transparent !important; }
html body.wp-theme-krea3-spsr2.home #header:not(.menu-reduit) #menu-principal { background: transparent !important; }
html body.wp-theme-krea3-spsr2.home #header:not(.menu-reduit) #nav > li > button.menu-item { color: #fff !important; background: transparent !important; border-color: transparent !important; text-shadow: 0 1px 10px #000; }
html body.wp-theme-krea3-spsr2.home #header:not(.menu-reduit) #nav > li > .parent,
html body.wp-theme-krea3-spsr2.home #header:not(.menu-reduit) #nav > li > a { color: #fff !important; background: transparent !important; border-color: transparent !important; text-shadow: 0 1px 10px #000; }
html body.wp-theme-krea3-spsr2.home #header.menu-reduit,
html body.wp-theme-krea3-spsr2.home.menu-open #header { height: var(--spsr-header-compact) !important; background: #fff !important; box-shadow: 0 1px 10px #12333b22; }
html body.wp-theme-krea3-spsr2.home #header.menu-reduit #logo { visibility: visible; }
html body.wp-theme-krea3-spsr2.home #header:not(.menu-reduit) #nav > li > .parent:hover,
html body.wp-theme-krea3-spsr2.home #header:not(.menu-reduit) #nav > li > .parent:focus-visible { background: #125d60 !important; }
html body.wp-theme-krea3-spsr2 #diapo-accueil { height: 100svh !important; min-height: 660px !important; }
html body.wp-theme-krea3-spsr2 #diapo-accueil > .krea3-diaporama,
html body.wp-theme-krea3-spsr2 #diapo-accueil .swiper-wrapper,
html body.wp-theme-krea3-spsr2 #diapo-accueil .swiper-slide,
html body.wp-theme-krea3-spsr2 #diapo-accueil .krea3-diaporama__slide-content,
html body.wp-theme-krea3-spsr2 #diapo-accueil .krea3-diaporama__media,
html body.wp-theme-krea3-spsr2 #diapo-accueil .krea3-diaporama__media picture,
html body.wp-theme-krea3-spsr2 #diapo-accueil .krea3-diaporama__image { height: 100% !important; min-height: 100% !important; }
html body.wp-theme-krea3-spsr2 #diapo-accueil::after { background: linear-gradient(180deg, #0009, #0002 35%, #0005 100%); }
html body.wp-theme-krea3-spsr2 #diapo-texte { top: 54% !important; left: 50% !important; width: min(1100px, 80%) !important; transform: translate(-50%, -50%); text-align: center !important; }
html body.wp-theme-krea3-spsr2 #h1accueil { font-size: clamp(2.5rem, 4vw, 4.4rem) !important; line-height: 1.08 !important; letter-spacing: -.04em; }
html body.wp-theme-krea3-spsr2 #diapo-texte > span { max-width: 100%; font-size: clamp(1rem, 1.5vw, 1.6rem) !important; margin: 16px auto 28px !important; text-transform: uppercase; }
html body.wp-theme-krea3-spsr2 #recherche_site { width: min(440px, 100%) !important; margin-inline: auto !important; }
html body.wp-theme-krea3-spsr2 #recherche_site form > div { min-height: 54px; padding: 4px !important; border-radius: 50px !important; }
html body.wp-theme-krea3-spsr2 #s-diaporama { border-radius: 40px !important; }
html body.wp-theme-krea3-spsr2 #searchsubmit-diaporama { border-radius: 30px !important; text-transform: none; padding-inline: 16px !important; }
html body.wp-theme-krea3-spsr2 #liens-reseaux { bottom: 32px !important; }
/* Volet : logo et commande visibles, cinq accès administrables dépliables. */
html body.wp-theme-krea3-spsr2 #volet_clos { position: fixed !important; z-index: 1020 !important; top: 0 !important; left: 0 !important; width: 148px !important; height: auto !important; margin: 0 !important; background: transparent !important; border: 0 !important; }
html body.wp-theme-krea3-spsr2 #volet { display: flex !important; flex-direction: column !important; position: static !important; width: 100% !important; height: auto !important; margin: 0 !important; padding: 0 !important; background: #125d60 !important; box-shadow: 3px 5px 22px #0002; transform: none !important; }
html body.wp-theme-krea3-spsr2 #volet .spsr-acces-logo { order: -1; position: static !important; display: grid !important; place-items: center; width: 100% !important; height: 100px !important; padding: 14px !important; background: #fff !important; border-radius: 0 !important; }
html body.wp-theme-krea3-spsr2 #volet .spsr-acces-logo img { width: 100% !important; height: auto !important; max-height: 75px; object-fit: contain; }
html body.wp-theme-krea3-spsr2 #volet .acces-rapides-toggle { display: flex !important; position: static !important; align-items: center; justify-content: center; gap: 7px; width: 100% !important; min-height: 48px; height: auto !important; margin: 0 !important; padding: 12px 8px !important; color: #fff !important; background: #125d60 !important; border: 0 !important; border-radius: 0 !important; font-size: .79rem !important; cursor: pointer; }
html body.wp-theme-krea3-spsr2 #volet .acces-rapides-toggle svg { width: 12px; transition: transform .2s; }
html body.wp-theme-krea3-spsr2 #volet.is-open .acces-rapides-toggle svg { transform: rotate(180deg); }
html body.wp-theme-krea3-spsr2 #volet #acces-rapides { position: static !important; display: block; width: 100% !important; max-height: calc(100dvh - 148px); height: auto !important; overflow-y: auto; background: #125d60 !important; }
html body.wp-theme-krea3-spsr2 #volet #acces-rapides[hidden] { display: none !important; }
html body.wp-theme-krea3-spsr2 #volet .acces-rapides-toggle { transform: none !important; }
html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul { display: flex !important; flex-direction: column; width: 100% !important; margin: 0 !important; padding: 0 !important; }
html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li { flex: 0 0 auto !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li a { display: flex !important; flex-direction: column; justify-content: center; gap: 7px; width: 100% !important; min-height: 90px; height: auto !important; padding: 13px 9px !important; color: #fff !important; background: #125d60 !important; border-bottom: 1px solid #ffffff38 !important; border-radius: 0 !important; font-size: .8rem !important; text-align: center; }
html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li a span,
html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li a svg,
html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li a i { color: #fff !important; position: static !important; opacity: 1 !important; font-size: inherit !important; }
html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li a svg { width: 25px !important; height: 25px !important; }
html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li a:hover { background: #18363d !important; }
html body.wp-theme-krea3-spsr2 #volet :focus-visible { outline: 3px solid #edc771 !important; outline-offset: -4px; }
/* Agenda : une grande affiche, deux portraits sous le titre, fond diagonal. */
html body.wp-theme-krea3-spsr2 #ligne1 { padding: 76px 0 90px !important; background: #fff !important; }
html body.wp-theme-krea3-spsr2 #ligne1::after { top: 0; right: 0; bottom: auto; width: 35%; height: 100%; opacity: 1; transform: none; clip-path: polygon(0 0,100% 0,100% 100%); background: #2b5b60; }
html body.wp-theme-krea3-spsr2 #ligne1 .spsr-agenda { display: grid !important; grid-template-columns: 1.15fr .85fr .85fr; grid-template-rows: auto 410px; gap: 30px; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-grid { display: contents !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda { grid-column: 2 / 4; grid-row: 1; display: block; margin: 0; padding: 12px 0 0; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda .spsr-eyebrow { display: none; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading h2 { font-size: clamp(2.4rem, 3.8vw, 4rem) !important; line-height: 1.05 !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda p { color: #12333b !important; font-size: 1.25rem !important; font-weight: 600; margin-top: 12px !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda .spsr-section-link { margin-top: 22px !important; margin-bottom: 0 !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-link { color: #fff !important; background: #397f87 !important; border-color: #397f87 !important; border-radius: 0 !important; font-weight: 600 !important; white-space: normal; }
html body.wp-theme-krea3-spsr2 .spsr-section-link:hover { background: #12333b !important; border-color: #12333b !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card { grid-row: 2; height: 100% !important; min-height: 0; display: block !important; border: 0 !important; border-radius: 0 !important; box-shadow: none; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card:first-child { grid-column: 1; grid-row: 1 / 3; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card .agenda-img { display: block !important; height: 100% !important; aspect-ratio: auto; border: 0 !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card .agenda-img img { object-fit: cover !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card .agenda-texte { position: absolute !important; inset: auto 0 0 !important; padding: 70px 24px 24px !important; color: #fff !important; background: linear-gradient(transparent, #000d) !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card .date-manif { display: flex !important; padding: 9px 11px !important; margin: 0 0 14px !important; color: #fff !important; background: #397f87 !important; font-size: .95rem !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card .titre-agenda { color: #fff !important; font-size: clamp(1.1rem, 1.55vw, 1.5rem) !important; line-height: 1.3 !important; font-weight: 600 !important; text-transform: uppercase; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card__cta { color: #fff !important; font-size: .85rem; margin-top: 16px; }
/* Actualités : introduction à gauche, trois photos à la même hauteur. */
html body.wp-theme-krea3-spsr2 #ligne2 { padding: 95px 0 !important; background: #f2f4f2 !important; }
html body.wp-theme-krea3-spsr2 #content-ligne2 { display: grid !important; grid-template-columns: .85fr 2.5fr; gap: 45px; align-items: start; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--news { display: block !important; margin: 0; padding-top: 25px; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--news p { font-size: 1.05rem !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--news .spsr-section-link { margin-top: 26px !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-grid { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; grid-template-rows: 440px !important; gap: 22px !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card,
html body.wp-theme-krea3-spsr2 .spsr-news-card--featured { grid-column: auto !important; grid-row: auto !important; height: 440px !important; min-height: 0 !important; border-radius: 0 !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__body { padding: 22px !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__title { font-size: 1.2rem !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__excerpt { display: none; }
/* Carte et réseaux/kiosque restent des contenus natifs administrables. */
html body.wp-theme-krea3-spsr2 #ligne-carte { background: #fff !important; }
html body.wp-theme-krea3-spsr2 #ligne-carte .texte-carte { background: #125d60 !important; color: #fff !important; border-radius: 0 !important; }
html body.wp-theme-krea3-spsr2 #ligne-carte .texte-carte h2,
html body.wp-theme-krea3-spsr2 #ligne-carte .texte-carte p { color: #fff !important; }
@media (min-width: 1220px) {
 html body.wp-theme-krea3-spsr2:has(#volet_clos) #header #logo { display: none !important; }
 html body.wp-theme-krea3-spsr2 #main-accueil > div > .largeur92 { width: calc(100% - 230px) !important; margin-left: max(180px, calc((100% - 1480px) / 2)) !important; margin-right: 50px !important; }
}
@media (max-width: 1218px) {
 html body.wp-theme-krea3-spsr2.home #header:not(.menu-reduit) #logo { visibility: visible !important; padding: 10px !important; background: #fff !important; }
 html body.wp-theme-krea3-spsr2.home #header { height: 80px !important; }
 html body.wp-theme-krea3-spsr2 #volet_clos { inset: auto 18px 18px auto !important; width: auto !important; }
 html body.wp-theme-krea3-spsr2 #volet { width: auto !important; background: transparent !important; box-shadow: none; }
 html body.wp-theme-krea3-spsr2 #volet .spsr-acces-logo { display: none !important; }
 html body.wp-theme-krea3-spsr2 #volet .acces-rapides-toggle { padding: 15px 18px !important; border-radius: 6px !important; box-shadow: 0 4px 22px #0003; }
 html body.wp-theme-krea3-spsr2 #volet #acces-rapides { position: absolute !important; right: 0; bottom: 62px; width: min(310px, calc(100vw - 36px)) !important; max-height: 65dvh; border-radius: 6px; box-shadow: 0 12px 30px #0003; }
 html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li a { flex-direction: row; justify-content: flex-start; min-height: 62px; padding: 14px 20px !important; gap: 16px; text-align: left; font-size: .92rem !important; }
 html body.wp-theme-krea3-spsr2 #content-ligne2 { grid-template-columns: 1fr; gap: 26px; }
 html body.wp-theme-krea3-spsr2 .spsr-section-heading--news { padding: 0; }
 html body.wp-theme-krea3-spsr2 .spsr-agenda-card .agenda-texte { padding-inline: 17px !important; }
}
@media (max-width: 767px) {
 html body.wp-theme-krea3-spsr2 #diapo-accueil { min-height: 600px !important; height: 92svh !important; }
 html body.wp-theme-krea3-spsr2 #diapo-texte { top: 50% !important; width: calc(100% - 36px) !important; }
 html body.wp-theme-krea3-spsr2 #h1accueil { font-size: clamp(2rem, 9vw, 3rem) !important; }
 html body.wp-theme-krea3-spsr2 #diapo-texte > span { font-size: .9rem !important; line-height: 1.5 !important; }
 html body.wp-theme-krea3-spsr2 #recherche_site form > div { display: flex !important; }
 html body.wp-theme-krea3-spsr2 #s-diaporama { width: 0 !important; font-size: .95rem !important; padding-inline: 12px !important; }
 html body.wp-theme-krea3-spsr2 #searchsubmit-diaporama { width: auto !important; padding-inline: 12px !important; font-size: .8rem !important; }
 html body.wp-theme-krea3-spsr2 #liens-reseaux { bottom: 24px !important; }
 html body.wp-theme-krea3-spsr2 #ligne1, html body.wp-theme-krea3-spsr2 #ligne2 { padding: 52px 0 !important; }
 html body.wp-theme-krea3-spsr2 #ligne1::after { top: 245px; height: calc(100% - 245px); }
 html body.wp-theme-krea3-spsr2 #ligne1 .spsr-agenda { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 18px; }
 html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda { grid-column: 1 / -1; grid-row: 1; padding: 0 0 8px; }
 html body.wp-theme-krea3-spsr2 .spsr-agenda-card:first-child { grid-column: 1 / -1; grid-row: 2; height: 450px !important; }
 html body.wp-theme-krea3-spsr2 .spsr-agenda-card { grid-row: 3; height: 340px !important; }
 html body.wp-theme-krea3-spsr2 .spsr-agenda-card .agenda-texte { padding: 60px 12px 16px !important; }
 html body.wp-theme-krea3-spsr2 .spsr-agenda-card .date-manif { font-size: .7rem !important; padding: 7px !important; }
 html body.wp-theme-krea3-spsr2 .spsr-agenda-card .titre-agenda { font-size: .94rem !important; }
 html body.wp-theme-krea3-spsr2 .spsr-agenda-card__cta { font-size: .72rem; }
 html body.wp-theme-krea3-spsr2 .spsr-news-grid { grid-template-columns: 1fr !important; grid-template-rows: none !important; gap: 22px !important; }
 html body.wp-theme-krea3-spsr2 .spsr-news-card, html body.wp-theme-krea3-spsr2 .spsr-news-card--featured { height: 420px !important; }
 html body.wp-theme-krea3-spsr2 .spsr-news-card__title { font-size: 1.5rem !important; }
}
@media (prefers-reduced-motion: reduce) {
 html body.wp-theme-krea3-spsr2 *, html body.wp-theme-krea3-spsr2 *::before, html body.wp-theme-krea3-spsr2 *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* 1.0.27 — composition précisée par le propriétaire : référence Flixecourt.
 * Identité, photographies et données de démonstration propres à SPSR2. */
@media (min-width: 1219px) {
 html body.wp-theme-krea3-spsr2:has(#volet_clos) { padding-left: 100px !important; }
 html body.wp-theme-krea3-spsr2.home:has(#volet_clos) { padding-top: 100px !important; }
 html body.wp-theme-krea3-spsr2:has(#volet_clos) #header { position: fixed !important; inset: 0 0 auto 100px !important; width: calc(100% - 100px) !important; height: 100px !important; background: #2b5b60 !important; box-shadow: 0 1px 0 #ffffff33 !important; }
 html body.wp-theme-krea3-spsr2 #header > .largeur92 { width: calc(100% - 80px) !important; max-width: 1480px; margin-inline: auto !important; background: transparent !important; }
 html body.wp-theme-krea3-spsr2:has(#volet_clos) #header #logo { display: none !important; }
 html body.wp-theme-krea3-spsr2 #header #menu-principal { background: transparent !important; }
 html body.wp-theme-krea3-spsr2 #header #nav > li > button.menu-item,
 html body.wp-theme-krea3-spsr2 #header #nav > li > a { color: #fff !important; background: transparent !important; border: 0 !important; text-shadow: none !important; }
 html body.wp-theme-krea3-spsr2 #volet_clos { width: 100px !important; height: 100dvh !important; }
 html body.wp-theme-krea3-spsr2 #volet { position: relative !important; height: 100% !important; background: #125d60 !important; }
 html body.wp-theme-krea3-spsr2 #volet .spsr-acces-logo { height: 100px !important; padding: 12px !important; flex: 0 0 100px; }
 html body.wp-theme-krea3-spsr2 #volet .spsr-acces-logo img { width: 76px !important; height: 76px !important; max-height: none; }
 html body.wp-theme-krea3-spsr2 #volet .acces-rapides-toggle { position: absolute !important; inset: auto 0 0 !important; width: 100px !important; min-height: 52px; padding: 10px 4px !important; font-size: .65rem !important; }
 html body.wp-theme-krea3-spsr2 #volet #acces-rapides { flex: 1; width: 100px !important; height: calc(100dvh - 152px) !important; max-height: calc(100dvh - 152px) !important; padding: 0 !important; }
 html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul { gap: 0 !important; padding: 0 !important; height: auto !important; }
 html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li { height: auto !important; min-height: 0 !important; }
 html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li a { min-height: 94px !important; height: auto !important; padding: 13px 5px !important; gap: 9px !important; font-size: .75rem !important; border: 0 !important; }
 html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li a span { line-height: 1.2 !important; font-weight: 500; }
 html body.wp-theme-krea3-spsr2 #volet #acces-rapides ul li a i { font-size: 24px !important; line-height: 1 !important; width: 26px; height: 26px; }
 html body.wp-theme-krea3-spsr2 #main-accueil > div > .largeur92 { width: calc(100% - 100px) !important; max-width: 1440px; margin-inline: auto !important; }
 html body.wp-theme-krea3-spsr2 #diapo-accueil { min-height: 600px !important; height: calc(100svh - 100px) !important; }
 html body.wp-theme-krea3-spsr2 #diapo-texte { top: 64% !important; }
 html body.wp-theme-krea3-spsr2 #diapo-texte > span { font-size: 1rem !important; letter-spacing: .1em; }
 html body.wp-theme-krea3-spsr2 #liens-reseaux { bottom: 55px !important; right: 50px !important; }
}
/* Actualités d'abord : photos puis textes, titre vertical sur grand écran. */
html body.wp-theme-krea3-spsr2 #ligne2 { position: relative; padding: 85px 0 110px !important; background: #fff !important; }
html body.wp-theme-krea3-spsr2 #content-ligne2 { grid-template-columns: 100px minmax(0,1fr) !important; gap: 35px !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--news { padding: 0 !important; position: static; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--news h2 { writing-mode: vertical-rl; transform: rotate(180deg); text-transform: uppercase; font-size: 3rem !important; margin: 0 !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--news p,
html body.wp-theme-krea3-spsr2 .spsr-section-heading--news .spsr-eyebrow { display: none; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--news .spsr-section-link { position: absolute; bottom: 35px; right: 50px; margin: 0 !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; grid-template-rows: auto !important; align-items: stretch; gap: 30px !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card,
html body.wp-theme-krea3-spsr2 .spsr-news-card--featured { display: flex !important; flex-direction: column !important; height: auto !important; min-height: 0 !important; background: #fff !important; box-shadow: none !important; color: #12333b !important; overflow: visible; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__media { position: relative !important; inset: auto !important; height: 230px !important; width: 100% !important; flex: 0 0 230px; overflow: hidden; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__media img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__overlay { display: none !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__body { display: flex !important; flex: 0 0 auto; position: static !important; inset: auto !important; height: auto !important; min-height: 0 !important; padding: 20px 10px 0 !important; background: #fff !important; color: #12333b !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__meta { color: #536a70 !important; font-size: .74rem !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__category { color: #125d60 !important; background: #edf5f5 !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__title { color: #125d60 !important; font-size: 1.3rem !important; line-height: 1.3 !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__excerpt { display: block !important; margin: 14px 0 !important; font-size: .95rem !important; line-height: 1.5 !important; color: #12333b !important; }
html body.wp-theme-krea3-spsr2 .spsr-news-card__cta { margin-top: 10px !important; padding-top: 14px; color: #125d60 !important; }
/* Agenda : trois affiches lisibles et non recadrées sur un bandeau coloré. */
html body.wp-theme-krea3-spsr2 #ligne1 { padding: 65px 0 105px !important; background: linear-gradient(#397f87 0 280px, #fff 280px) !important; }
html body.wp-theme-krea3-spsr2 #ligne1::after { display: none !important; }
html body.wp-theme-krea3-spsr2 #ligne1 .spsr-agenda { display: grid !important; grid-template-columns: 100px minmax(0,1fr); grid-template-rows: auto; gap: 35px; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda { grid-column: 1 !important; grid-row: 1 !important; padding: 0 !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda h2 { color: #fff !important; writing-mode: vertical-rl; transform: rotate(180deg); text-transform: uppercase; font-size: 3rem !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda p { display: none; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda .spsr-section-link { position: absolute; right: 0; bottom: -70px; margin: 0 !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-grid { display: grid !important; grid-column: 2; grid-row: 1; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; align-items: start; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card,
html body.wp-theme-krea3-spsr2 .spsr-agenda-card:first-child { position: relative; grid-column: auto !important; grid-row: auto !important; height: auto !important; background: #fff !important; box-shadow: none !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card .agenda-img { height: 380px !important; aspect-ratio: 3 / 4; padding: 9px !important; background: #fff !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card .agenda-img img { object-fit: contain !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card .agenda-texte { position: static !important; inset: auto !important; padding: 18px 10px !important; color: #12333b !important; background: #fff !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card .date-manif { color: #125d60 !important; background: #edf5f5 !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card .titre-agenda { color: #12333b !important; font-size: 1.1rem !important; }
html body.wp-theme-krea3-spsr2 .spsr-agenda-card__cta { color: #125d60 !important; }
@media (max-width: 1218px) {
 html body.wp-theme-krea3-spsr2 #volet .spsr-acces-logo { display: none !important; }
 html body.wp-theme-krea3-spsr2 #content-ligne2,
 html body.wp-theme-krea3-spsr2 #ligne1 .spsr-agenda { grid-template-columns: 1fr !important; gap: 28px !important; }
 html body.wp-theme-krea3-spsr2 .spsr-section-heading--news h2,
 html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda h2 { writing-mode: horizontal-tb; transform: none; font-size: 2.5rem !important; }
 html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda { grid-column: 1 !important; grid-row: 1 !important; }
 html body.wp-theme-krea3-spsr2 .spsr-agenda-grid { grid-column: 1; grid-row: 2; }
 html body.wp-theme-krea3-spsr2 .spsr-section-heading--news .spsr-section-link { right: 4%; }
}
@media (max-width: 767px) {
 html body.wp-theme-krea3-spsr2 .spsr-news-grid,
 html body.wp-theme-krea3-spsr2 .spsr-agenda-grid { grid-template-columns: 1fr !important; gap: 30px !important; }
 html body.wp-theme-krea3-spsr2 #ligne2 { padding: 45px 0 110px !important; }
 html body.wp-theme-krea3-spsr2 #ligne1 { padding: 45px 0 110px !important; }
 html body.wp-theme-krea3-spsr2 .spsr-news-card,
 html body.wp-theme-krea3-spsr2 .spsr-news-card--featured { height: auto !important; }
 html body.wp-theme-krea3-spsr2 .spsr-news-card__media { height: 230px !important; }
 html body.wp-theme-krea3-spsr2 .spsr-agenda-card .agenda-img { height: 440px !important; }
 html body.wp-theme-krea3-spsr2 .spsr-agenda-card { grid-row: auto !important; height: auto !important; }
}

/* Le masquage natif du menu doit primer sur les grilles héritées de SPSR. */
html body.wp-theme-krea3-spsr2 #header #menu-principal #nav ul[hidden] { display: none !important; }

/* 1.0.29 — volet réellement replié et composition Rives de Risle. */
@media (min-width:1219px) {
 html body.wp-theme-krea3-spsr2.rives-quick-links-closed:has(#volet_clos) { padding-left:0 !important; }
 html body.wp-theme-krea3-spsr2.rives-quick-links-closed:has(#volet_clos) #header { left:0 !important; width:100% !important; }
 html body.wp-theme-krea3-spsr2.rives-quick-links-closed:has(#volet_clos) #header #logo { display:flex !important; visibility:visible !important; width:200px !important; padding:10px !important; background:#fff !important; }
 html body.wp-theme-krea3-spsr2.rives-quick-links-closed #volet_clos { inset:auto auto 24px 24px !important; width:auto !important; height:auto !important; }
 html body.wp-theme-krea3-spsr2.rives-quick-links-closed #volet { width:auto !important; height:auto !important; background:transparent !important; box-shadow:none !important; }
 html body.wp-theme-krea3-spsr2.rives-quick-links-closed #volet .spsr-acces-logo { display:none !important; }
 html body.wp-theme-krea3-spsr2.rives-quick-links-closed #volet .acces-rapides-toggle { position:static !important; inset:auto !important; width:auto !important; padding:16px 20px !important; font-size:.9rem !important; border-radius:6px !important; box-shadow:0 4px 16px #12333b26; }
}
html body.wp-theme-krea3-spsr2 .rives-section-inner { width:calc(100% - 100px); max-width:1440px; margin-inline:auto; }
html body.wp-theme-krea3-spsr2 .rives-section-heading { margin-bottom:38px; }
html body.wp-theme-krea3-spsr2 .rives-kicker { margin:0 0 12px; font-size:.75rem; font-weight:750; letter-spacing:.13em; text-transform:uppercase; }
html body.wp-theme-krea3-spsr2 .rives-section-heading h2 { margin:0 0 12px; font-size:clamp(2.4rem,4vw,4rem); line-height:1.05; letter-spacing:-.04em; color:#12333b; }
html body.wp-theme-krea3-spsr2 .rives-section-heading > p:last-child { margin:0; color:#54696c; font-size:1.08rem; }
html body.wp-theme-krea3-spsr2 .rives-life { padding:84px 0; background:#fff; }
html body.wp-theme-krea3-spsr2 .rives-life-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
html body.wp-theme-krea3-spsr2 .rives-social { display:flex; flex-direction:column; overflow:hidden; border-radius:12px; background:#125d60; color:#fff; }
html body.wp-theme-krea3-spsr2 .rives-social-photo { height:270px; overflow:hidden; }
html body.wp-theme-krea3-spsr2 .rives-social-photo img { display:block; width:100%; height:100%; object-fit:cover; }
html body.wp-theme-krea3-spsr2 .rives-social-feed { min-height:270px; background:#f0f4f1; padding:20px; }
html body.wp-theme-krea3-spsr2 .rives-social-copy { position:relative; padding:34px 38px 38px; }
html body.wp-theme-krea3-spsr2 .rives-social-symbol { position:absolute; top:-25px; right:32px; display:grid; place-items:center; width:52px; height:52px; color:#125d60; background:#fff; border:5px solid #125d60; border-radius:50%; font-size:24px; }
html body.wp-theme-krea3-spsr2 .rives-social-copy h3 { margin:0 0 18px; color:#fff; font-size:clamp(1.8rem,2.5vw,2.65rem); line-height:1.12; letter-spacing:-.035em; }
html body.wp-theme-krea3-spsr2 .rives-social-copy > p { color:#fff; }
html body.wp-theme-krea3-spsr2 .rives-social-copy > p:not(.rives-kicker) { margin:0 0 24px; line-height:1.65; font-size:1rem; max-width:490px; }
html body.wp-theme-krea3-spsr2 .rives-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; }
html body.wp-theme-krea3-spsr2 .rives-button { display:inline-flex; gap:20px; align-items:center; justify-content:space-between; min-height:48px; padding:14px 21px; border:1px solid #125d60; border-radius:4px; background:#125d60; color:#fff; font-size:.9rem; font-weight:700; line-height:1.3; text-decoration:none; }
html body.wp-theme-krea3-spsr2 .rives-button-light { background:#fff; color:#125d60; border-color:#fff; }
html body.wp-theme-krea3-spsr2 .rives-button:hover { background:#12333b; color:#fff; border-color:#12333b; }
html body.wp-theme-krea3-spsr2 .rives-button:focus-visible, html body.wp-theme-krea3-spsr2 .rives-actions a:focus-visible { outline:3px solid #d9a757; outline-offset:4px; }
html body.wp-theme-krea3-spsr2 .rives-social-instagram { color:#fff; text-decoration:none; font-size:.9rem; }
html body.wp-theme-krea3-spsr2 .rives-social-instagram i { margin-right:8px; font-size:20px; }
html body.wp-theme-krea3-spsr2 .rives-magazine { display:grid; grid-template-columns:.9fr 1.1fr; align-content:center; align-items:center; gap:26px; padding:40px 32px; border-radius:12px; background:#f0f3ef; }
html body.wp-theme-krea3-spsr2 .rives-magazine-cover { transform:rotate(-4deg); max-width:245px; margin-inline:auto; }
html body.wp-theme-krea3-spsr2 .rives-magazine-cover a { display:block; box-shadow:8px 14px 24px #12333b30; }
html body.wp-theme-krea3-spsr2 .rives-magazine-cover img { display:block; width:100%; height:auto; max-height:390px; object-fit:contain; }
html body.wp-theme-krea3-spsr2 .rives-magazine-copy h3 { font-size:clamp(1.9rem,2.5vw,2.75rem); line-height:1.08; letter-spacing:-.04em; margin:0 0 20px; color:#12333b; }
html body.wp-theme-krea3-spsr2 .rives-magazine-copy .rives-kicker { color:#125d60; }
html body.wp-theme-krea3-spsr2 .rives-magazine-name { color:#125d60; font-size:1.05rem; font-weight:700; line-height:1.45; margin:0 0 18px; }
html body.wp-theme-krea3-spsr2 .rives-magazine-copy > p:not(.rives-kicker):not(.rives-magazine-name) { margin:0 0 24px; font-size:.96rem; line-height:1.65; color:#54696c; }
html body.wp-theme-krea3-spsr2 .rives-download { font-size:.83rem; color:#125d60; text-underline-offset:4px; }
html body.wp-theme-krea3-spsr2 .rives-kiosk-all { display:inline-flex; align-items:center; gap:12px; margin-top:30px; padding-top:20px; border-top:1px solid #cad7cf; color:#12333b; font-size:.86rem; font-weight:650; text-decoration:none; }
html body.wp-theme-krea3-spsr2 .rives-territory { padding:0 0 84px; background:#fff; }
html body.wp-theme-krea3-spsr2 .rives-map-shell { display:grid; grid-template-columns:1.7fr 1fr; min-height:490px; overflow:hidden; border-radius:12px; background:#e9f1ed; }
html body.wp-theme-krea3-spsr2 .rives-map { position:relative; min-width:0; height:490px; z-index:0; }
html body.wp-theme-krea3-spsr2 .rives-map iframe { display:block; width:100%; height:100%; }
html body.wp-theme-krea3-spsr2 .rives-map #map_canvas { display:block !important; width:100% !important; height:100% !important; min-height:490px; margin:0 !important; border:0; border-radius:0; }
html body.wp-theme-krea3-spsr2 .rives-map #sidebar-carto { max-width:min(340px,100%); }
html body.wp-theme-krea3-spsr2 .rives-map-copy { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:45px; background:#125d60; color:#fff; }
html body.wp-theme-krea3-spsr2 .rives-map-copy > i { font-size:38px; margin-bottom:26px; color:#d7e8da; }
html body.wp-theme-krea3-spsr2 .rives-map-copy h2 { color:#fff; font-size:clamp(2rem,3vw,3rem); line-height:1.1; letter-spacing:-.035em; margin:0 0 22px; }
html body.wp-theme-krea3-spsr2 .rives-map-copy p:not(.rives-kicker) { color:#fff; font-size:1rem; line-height:1.65; margin:0 0 28px; }
html body.wp-theme-krea3-spsr2 .rives-photo-credits { padding:20px 50px; background:#edf1ee; color:#54696c; font-size:.74rem; line-height:1.7; }
html body.wp-theme-krea3-spsr2 .rives-photo-credits details { max-width:1440px; margin:auto; }
html body.wp-theme-krea3-spsr2 .rives-photo-credits summary { cursor:pointer; }
html body.wp-theme-krea3-spsr2 .rives-photo-credits a { color:#125d60; }
html body.wp-theme-krea3-spsr2 #main-page #map_canvas { min-height:550px; }
@media (max-width:1100px) {
 html body.wp-theme-krea3-spsr2 .rives-magazine { grid-template-columns:1fr; padding:36px; }
 html body.wp-theme-krea3-spsr2 .rives-magazine-cover { max-width:190px; }
 html body.wp-theme-krea3-spsr2 .rives-map-copy { padding:32px; }
}
@media (max-width:767px) {
 html body.wp-theme-krea3-spsr2 .rives-section-inner { width:calc(100% - 36px); }
 html body.wp-theme-krea3-spsr2 .rives-life { padding:52px 0; }
 html body.wp-theme-krea3-spsr2 .rives-life-grid,html body.wp-theme-krea3-spsr2 .rives-map-shell { grid-template-columns:1fr; gap:0; }
 html body.wp-theme-krea3-spsr2 .rives-life-grid { gap:24px; }
 html body.wp-theme-krea3-spsr2 .rives-social-photo { height:220px; }
 html body.wp-theme-krea3-spsr2 .rives-social-copy,html body.wp-theme-krea3-spsr2 .rives-map-copy { padding:30px 25px; }
 html body.wp-theme-krea3-spsr2 .rives-magazine { padding:34px 25px; grid-template-columns:1fr; gap:32px; }
 html body.wp-theme-krea3-spsr2 .rives-magazine-cover { max-width:210px; }
 html body.wp-theme-krea3-spsr2 .rives-map,html body.wp-theme-krea3-spsr2 .rives-map #map_canvas { height:350px !important; min-height:350px; }
 html body.wp-theme-krea3-spsr2 .rives-territory { padding-bottom:52px; }
 html body.wp-theme-krea3-spsr2 .rives-photo-credits { padding:20px 25px; }
}
html body.wp-theme-krea3-spsr2 .rives-life .screen-reader-text { position:absolute !important; width:1px !important; height:1px !important; margin:-1px !important; padding:0 !important; overflow:hidden !important; clip-path:inset(50%); white-space:nowrap; border:0; }

/* Footer : signature Krea3 discrète et pictogrammes non rognés. */
html body.wp-theme-krea3-spsr2 #content-footer #menu_footer li a img { display:block !important; width:64px !important; max-width:64px !important; height:auto !important; max-height:32px !important; object-fit:contain; }
html body.wp-theme-krea3-spsr2 #liens-reseaux-footer ul li a i,
html body.wp-theme-krea3-spsr2 #liens-reseaux-footer ul li a svg { display:inline-block !important; width:24px !important; height:24px !important; font-size:24px !important; line-height:1 !important; padding:0 !important; border:0 !important; border-radius:0 !important; background:transparent !important; color:#fff !important; }
html body.wp-theme-krea3-spsr2 #liens-reseaux-footer ul li a span { margin:0 !important; font-size:.8rem !important; line-height:1.3 !important; }

/* Les boutons d’archives ne prennent pas la largeur de la colonne du titre. */
html body.wp-theme-krea3-spsr2 #ligne1 .spsr-agenda { position:relative !important; padding-bottom:80px !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda { position:static !important; }
html body.wp-theme-krea3-spsr2 .spsr-section-heading--agenda #btn-agenda { position:absolute !important; right:0 !important; bottom:0 !important; left:auto !important; top:auto !important; }
html body.wp-theme-krea3-spsr2 #btn-agenda,
html body.wp-theme-krea3-spsr2 #btn-actu { display:inline-flex !important; align-items:center !important; justify-content:center !important; flex:0 0 auto !important; width:max-content !important; min-width:0 !important; max-width:100% !important; gap:14px !important; padding:15px 22px !important; font-size:.95rem !important; line-height:1.35 !important; white-space:nowrap !important; }
html body.wp-theme-krea3-spsr2 #btn-agenda > span,
html body.wp-theme-krea3-spsr2 #btn-actu > span { flex:0 0 auto !important; min-width:max-content; white-space:nowrap !important; overflow-wrap:normal !important; word-break:normal !important; }
