/* =====================================================================
   Racines en partage — theme styles
   Values from maquette/Accueil V03 (desktop 1440, container 1170 px)
   Loaded after main.css (see conf/assets.conf)
   ===================================================================== */

:root {
	--rp-carbone: #1c1c1c;
	--rp-lin: #f5f1e6;
	--rp-jaune: #fdc50a;
	--rp-blanc: #ffffff;
	--rp-lin-fonce: #e8e1cf;
	--rp-filet: #e3dccb;
	--rp-champ: #cfc6b0;
	--rp-indicateur: #d8d0bc;
	--rp-carte: #eeeae1;
	--rp-meta: #5b5648;
	--rp-font-titre: "Conthey", "Arial Narrow", sans-serif;
	--rp-font-texte: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rp-espace-section: 96px;
}

/* --------------------------------------------------------------------
   Base (overrides of the default theme typography)
   -------------------------------------------------------------------- */
/* The footer is in the flow (the default theme positions it absolutely):
   the page content grows so that the footer reaches the bottom of short pages */
body.rp {
	margin: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: var(--rp-font-texte);
	font-size: 16px;
	line-height: 25px;
	color: var(--rp-carbone);
	background: var(--rp-blanc);
}
body.rp > #pageArea { flex: 1 0 auto; }
body.rp > .rp-header, body.rp > .rp-footer { flex-shrink: 0; }
.rp *, .rp *::before, .rp *::after { box-sizing: border-box; }
/* Element defaults use :where() so that component classes below always win over them */
:where(body.rp) b, :where(body.rp) strong { font-family: inherit; font-weight: 700; }
:where(body.rp) :is(h1, h2, h3, h4, h5, h6, label) { font-family: var(--rp-font-texte); }
body.rp .btn-default, body.rp .nav > li > a,
body.rp .multisearch .pull-right, body.rp .advancedSearchField .formLabel,
body.rp .detail #detailTools {
	font-family: var(--rp-font-texte);
}
:where(body.rp) h1 {
	font-family: var(--rp-font-titre);
	font-weight: 800;
	font-size: 44px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--rp-carbone);
	margin: 0 0 24px 0;
}
:where(body.rp) :is(h2, h3, h4) { color: var(--rp-carbone); }
:where(body.rp) a, :where(body.rp) a:hover, :where(body.rp) a:focus { color: var(--rp-carbone); }
:where(body.rp) a:hover { color: #000; }
body.rp a:focus-visible, body.rp button:focus-visible, body.rp input:focus-visible, body.rp select:focus-visible, body.rp textarea:focus-visible {
	outline: 2px solid var(--rp-jaune);
	outline-offset: 2px;
}
:where(body.rp) p { margin: 0 0 14px 0; }
:where(body.rp) img { max-width: 100%; }

.rp-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 2000;
	padding: 8px 16px;
	background: var(--rp-jaune);
	color: var(--rp-carbone);
	font-weight: 700;
}
.rp-skip:focus { left: 8px; }

.rp-container {
	max-width: 1218px;
	margin: 0 auto;
	padding: 0 24px;
}
.rp-page { padding-top: 40px; padding-bottom: 80px; }
.rp-page .container { width: auto; max-width: none; padding-left: 0; padding-right: 0; }

/* Shared text styles */
.rp-h1 {
	font-family: var(--rp-font-titre) !important;
	font-weight: 800;
	font-size: clamp(36px, 3.5vw, 50px) !important;
	line-height: .95 !important;
	text-transform: uppercase;
	color: var(--rp-carbone);
	margin: 0 0 20px 0;
}
.rp-h2 {
	font-family: var(--rp-font-titre) !important;
	font-weight: 800;
	font-size: clamp(36px, 3.5vw, 50px);
	line-height: .95;
	text-transform: uppercase;
	color: var(--rp-carbone);
	margin: 0;
}
.rp-h3 {
	display: block;
	font-family: var(--rp-font-titre) !important;
	font-weight: 800;
	font-size: 35px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--rp-carbone);
	margin: 0;
}
.rp-h3 a { text-decoration: none; }
.rp-surtitre {
	font-size: 15px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	margin: 0 0 12px 0;
}
.rp-surtitre a { text-decoration: none; }
.rp-meta { font-size: 15px; line-height: 1.5; color: var(--rp-meta); }
.rp-intro {
	text-align: center;
	font-size: 25px;
	line-height: 34px;
	font-weight: 400;
	margin: 0;
}
.rp-intro strong { font-size: 30px; font-weight: 800; color: var(--rp-jaune); }
.rp-link, body.rp a.rp-link {
	font-size: 15px;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Buttons */
.rp-btn, body.rp a.rp-btn, body.rp button.rp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 50px;
	padding: 0 20px;
	border: 0;
	border-radius: 0;
	font-family: var(--rp-font-texte);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}
.rp-btn--carbone, body.rp a.rp-btn--carbone { background: var(--rp-carbone); color: var(--rp-blanc); }
.rp-btn--carbone:hover, body.rp a.rp-btn--carbone:hover { background: #000; color: var(--rp-blanc); }
.rp-btn--jaune, body.rp a.rp-btn--jaune, body.rp button.rp-btn--jaune { background: var(--rp-jaune); color: var(--rp-carbone); font-weight: 700; }
.rp-btn--jaune:hover, body.rp a.rp-btn--jaune:hover, body.rp button.rp-btn--jaune:hover { background: #f0b800; color: var(--rp-carbone); }

/* --------------------------------------------------------------------
   Header (136 px, lin)
   -------------------------------------------------------------------- */
.rp-header {
	position: relative;
	z-index: 50;
	background: var(--rp-lin);
	border-bottom: 1px solid var(--rp-filet);
}
.rp-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 136px;
	padding-top: 22px;
	padding-bottom: 20px;
}
.rp-header__logo { display: block; line-height: 0; }
.rp-header__logo img { height: 92px; width: auto; }
.rp-header__nav { flex: 1 1 auto; }
#rpMainNav.collapse.in, #rpMainNav.collapsing { display: flex; }
.rp-header__nav, #rpMainNav.in {
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
}
.rp-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.rp-nav__link, body.rp a.rp-nav__link {
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	color: var(--rp-carbone);
}
.rp-nav__link:hover, body.rp a.rp-nav__link:hover, .rp-nav__link--active, body.rp a.rp-nav__link--active {
	text-decoration: underline;
	text-decoration-color: var(--rp-jaune);
	text-decoration-thickness: 2px;
	text-underline-offset: 7px;
}
.rp-header__search {
	display: flex;
	align-items: center;
	width: 200px;
	height: 42px;
	padding: 0 12px;
	gap: 8px;
	background: var(--rp-blanc);
	border: 1px solid var(--rp-champ);
}
.rp-header__search input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	font: 400 15px var(--rp-font-texte);
	color: var(--rp-carbone);
}
.rp-header__search input::placeholder { color: rgba(28, 28, 28, .5); }
.rp-header__search button {
	display: flex;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--rp-carbone);
	cursor: pointer;
}
.rp-header__cta, body.rp a.rp-header__cta { min-height: 42px; width: 124px; padding: 0; }
.rp-header__user { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.rp-header__burger {
	display: none;
	width: 48px;
	height: 48px;
	padding: 12px;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.rp-header__burger-bar { display: block; height: 3px; margin: 4px 0; background: var(--rp-carbone); }

@media (min-width: 1200px) {
	#rpMainNav.collapse { display: flex !important; height: auto !important; }
}
@media (max-width: 1199px) {
	.rp-header__inner { min-height: 0; padding-top: 16px; padding-bottom: 16px; }
	.rp-header__logo img { height: 64px; }
	.rp-header__burger { display: block; }
	.rp-header__nav { flex-basis: 100%; }
	#rpMainNav.in, #rpMainNav.collapsing { flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 16px; }
	.rp-nav { flex-direction: column; align-items: flex-start; gap: 4px; }
	.rp-nav__link, body.rp a.rp-nav__link { display: block; padding: 8px 0; font-size: 18px; }
	.rp-header__search { width: 100%; }
	.rp-header__cta, body.rp a.rp-header__cta { width: 100%; }
}

/* --------------------------------------------------------------------
   Front page
   -------------------------------------------------------------------- */
.rp-section { position: relative; background: var(--rp-blanc); }
.rp-section--lin { background: var(--rp-lin); }
.rp-chevron { display: block; }

/* Hero (622 px) */
.rp-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--rp-lin);
	background-image: linear-gradient(rgba(245, 241, 230, .61), rgba(245, 241, 230, .61)), url("../graphics/rp/cadastre.webp");
	background-size: cover;
	background-position: center 18%;
}
.rp-hero .rp-container { padding-top: 62px; padding-bottom: 126px; }
.rp-hero .rp-chevron { margin-left: -39px; }
.rp-hero__title, body.rp h1.rp-hero__title {
	margin: 20px 0 0 0;
	font-family: var(--rp-font-titre);
	font-weight: 800;
	font-size: clamp(48px, 5.3vw, 76px);
	line-height: .92;
	text-transform: uppercase;
	color: var(--rp-carbone);
}
.rp-hero__text { margin-top: 22px; max-width: 720px; font-size: 18px; line-height: 1.45; }
.rp-searchbar {
	display: flex;
	width: 100%;
	max-width: 560px;
	height: 60px;
	margin-top: 32px;
	border: 2px solid var(--rp-carbone);
	background: var(--rp-blanc);
}
.rp-searchbar input {
	flex: 1;
	min-width: 0;
	padding: 0 26px;
	border: 0;
	outline: none;
	background: transparent;
	font: 600 17px var(--rp-font-texte);
	color: var(--rp-carbone);
}
.rp-searchbar input::placeholder { color: rgba(28, 28, 28, .5); font-weight: 400; }
.rp-searchbar button {
	width: 75px;
	border: 0;
	background: var(--rp-carbone);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

/* Intro + collections (559 px) */
.rp-collections .rp-container { padding-top: 56px; padding-bottom: 95px; }
.rp-collections .rp-h2 { margin-top: 56px; }
.rp-cards {
	margin-top: 22px;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
}
.rp-card, body.rp a.rp-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	background: var(--rp-carbone);
	color: var(--rp-blanc);
}
.rp-card__image {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	background-color: var(--rp-lin-fonce);
	background-size: cover;
	background-position: center top;
	transition: opacity .2s;
}
.rp-card:hover .rp-card__image { opacity: .9; }
.rp-card__icon {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 54px;
	height: 54px;
	margin: -27px 0 0 -27px;
	border-radius: 999px;
	border: 2px solid var(--rp-carbone);
	background: rgba(245, 241, 230, .7);
	display: flex;
	align-items: center;
	justify-content: center;
}
.rp-card__label {
	position: relative;
	display: block;
	height: 70px;
	padding: 15px 40px 0 16px;
	font-size: 18px;
	line-height: 18px;
	font-weight: 600;
	color: var(--rp-blanc);
}
.rp-card__label svg { position: absolute; right: 18px; bottom: 16px; transition: transform .2s; }
.rp-card:hover .rp-card__label svg { transform: translateX(3px); }

/* Focus (669 px, lin) */
.rp-focus .rp-container { padding-top: 56px; padding-bottom: 64px; }
.rp-focus__deco { position: absolute; right: 76px; top: -59px; z-index: 2; }
.rp-slider { margin-top: 22px; }
.rp-slide { display: flex; flex-wrap: wrap; background: var(--rp-blanc); }
.rp-slide[hidden] { display: none; }
.rp-slide__visual {
	position: relative;
	flex: 1 1 560px;
	min-width: 0;
	min-height: 455px;
	background-color: var(--rp-lin-fonce);
	background-size: cover;
	background-position: center;
}
.rp-slider__arrow {
	position: absolute;
	top: 50%;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border-radius: 999px;
	border: 0;
	background: var(--rp-carbone);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 2;
}
.rp-slider__arrow--prev { left: 17px; }
.rp-slider__arrow--prev svg { transform: scaleX(-1); }
.rp-slider__arrow--next { right: 17px; }
.rp-slide__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 50px;
	margin: 0 !important;
	padding: 0 26px;
	display: flex;
	align-items: center;
	background: rgba(28, 28, 28, .7);
	color: var(--rp-blanc);
	font-size: 14px;
	line-height: 1.4;
	opacity: 0;
	transition: opacity .2s;
}
.rp-slide__visual:hover .rp-slide__caption { opacity: 1; }
@media (hover: none) {
	.rp-slide__caption { opacity: 1; }
}
.rp-slide__panel { flex: 1 1 400px; min-width: 0; padding: 84px 38px 48px; }
.rp-slide__panel .rp-surtitre { margin-bottom: 20px; }
.rp-slide__text { margin-top: 16px; max-width: 360px; }
.rp-slide__panel .rp-meta { margin-top: 14px; }
.rp-slide__panel .rp-btn { margin-top: 8px; }
.rp-slide__panel p:last-child { margin-top: 18px; }
.rp-slider__dots { margin-top: 16px; display: flex; gap: 8px; }
.rp-slider__dot {
	width: 32px;
	height: 4px;
	padding: 0;
	border: 0;
	background: var(--rp-indicateur);
	cursor: pointer;
}
.rp-slider__dot--active { background: var(--rp-carbone); }

/* Journal teaser and list */
.rp-journal-teaser .rp-container { padding-top: 80px; padding-bottom: 16px; }
.rp-journal-teaser .rp-teaser { margin-top: 22px; }
.rp-teaser {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	background: var(--rp-lin);
}
.rp-teaser--noimage { grid-template-columns: minmax(0, 1fr); }
.rp-teaser__visual {
	display: block;
	min-height: 320px;
	background-color: var(--rp-lin-fonce);
	background-size: cover;
	background-position: center;
}
.rp-teaser__body { padding: 48px 38px; }
.rp-teaser__body .rp-h3 { margin-bottom: 16px; }
.rp-teaser__body .rp-btn { margin-top: 8px; }
.rp-teaser__body p:last-child { margin-top: 18px; }
.rp-journal-list { display: grid; gap: 32px; }
.rp-journal-list .rp-teaser__body p:last-child { margin-top: 0; }

/* Territory (708 px) */
.rp-territory .rp-chevron { position: absolute; left: 92px; top: 55px; z-index: 3; }
.rp-territory .rp-container { padding-top: 94px; padding-bottom: 94px; }
.rp-map-wrap { position: relative; }
.rp-map {
	position: relative;
	width: 100%;
	aspect-ratio: 1173 / 520;
	background: var(--rp-carte);
	overflow: hidden;
}
.rp-map__roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.rp-map__commune, body.rp a.rp-map__commune {
	position: absolute;
	left: var(--x);
	top: var(--y);
	transform: translate(-50%, -31px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	z-index: 2;
}
.rp-map__dot {
	width: 62px;
	height: 62px;
	border-radius: 999px;
	border: 1.74px solid var(--rp-carbone);
	background: rgba(253, 197, 10, .28);
	transition: background .15s;
}
.rp-map__name {
	padding: 4px 7px;
	background: var(--rp-carbone);
	color: var(--rp-blanc);
	font-size: 12px;
	line-height: 15px;
	font-weight: 700;
	white-space: nowrap;
	transition: background .15s, color .15s;
}
.rp-map__commune:hover .rp-map__dot, .rp-map__commune:focus .rp-map__dot { background: rgba(253, 197, 10, .85); }
.rp-map__commune:hover .rp-map__name, .rp-map__commune:focus .rp-map__name { background: var(--rp-jaune); color: var(--rp-carbone); }
.rp-map__card {
	position: absolute;
	left: 0;
	top: 26.2%;
	width: 390px;
	padding: 38px 40px 34px 41px;
	background: var(--rp-blanc);
	z-index: 3;
}
.rp-map__card p { margin: 22px 0 0 0; }

/* --------------------------------------------------------------------
   Footer: partner communes (lin) + footer (carbone)
   -------------------------------------------------------------------- */
.rp-footer { position: relative; overflow: hidden; }
.rp-footer__shape { position: absolute; right: 0; bottom: 0; z-index: 1; pointer-events: none; }
.rp-partners { background: var(--rp-lin); }
.rp-partners__inner { display: flex; flex-direction: column; align-items: center; padding-top: 63px; padding-bottom: 60px; }
.rp-partners__logo { height: 92px; width: auto; }
.rp-partners__intro { margin: 17px 0 0 0 !important; text-align: center; font-size: 16px; line-height: 1.5; }
.rp-partners__list {
	width: 100%;
	margin: 22px 0 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}
.rp-partners__list li { width: 150px; }
.rp-partners__list a { display: block; text-decoration: none; }
.rp-partners__frame { height: 80px; background: var(--rp-blanc); display: flex; align-items: center; justify-content: center; }
.rp-partners__frame img { max-width: 130px; max-height: 65px; }
.rp-partners__name { display: block; margin-top: 8px; text-align: center; font-size: 11px; line-height: 1.3; }
.rp-footer__main { position: relative; background: var(--rp-carbone); color: var(--rp-lin); }
.rp-footer__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-top: 40px; padding-bottom: 20px; }
.rp-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; }
.rp-footer__links a, body.rp .rp-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--rp-lin);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	text-decoration: none;
}
.rp-footer__links a:hover, body.rp .rp-footer__links a:hover { color: var(--rp-jaune); }
.rp-footer__support { margin: 30px 0 0 0 !important; font-size: 13px; line-height: 1.3; }
.rp-footer__funders {
	margin: 12px 0 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px 36px;
}
.rp-footer__funders img { width: auto; max-width: none; }
.rp-footer__legal {
	width: 100%;
	margin-top: 20px;
	padding-top: 22px;
	border-top: 1px solid rgba(245, 241, 230, .3);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 22px;
}
.rp-footer__legal a, body.rp .rp-footer__legal a { color: var(--rp-lin); font-size: 13px; text-decoration: none; }
.rp-footer__legal a:hover, body.rp .rp-footer__legal a:hover { color: var(--rp-jaune); }

/* --------------------------------------------------------------------
   Browse / search results
   -------------------------------------------------------------------- */
.rp-browse-head { margin: 0 0 32px 0; }
.rp-browse-head .rp-h1 { margin: 0 0 20px 0; }
.rp-browse-head__intro { max-width: 760px; }
.rp-results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: 12px; }
.rp-results-bar__count { margin: 0 !important; font-size: 18px; font-weight: 700; }
.rp-results-bar__options, body.rp a.rp-results-bar__options { font-size: 15px; font-weight: 600; text-decoration: none; }
#bRefineButton { font-size: 15px; font-weight: 600; text-decoration: none; }
body.rp .bCriteria { margin-bottom: 8px; }
body.rp .bCriteria strong { font-size: 14px; }
body.rp .btn-default {
	border-radius: 0;
	border: 0;
	background: var(--rp-lin);
	color: var(--rp-carbone);
	font-size: 14px;
	text-transform: none;
}
body.rp .btn-default:hover { background: var(--rp-jaune); color: var(--rp-carbone); }
#bViewButtons a .glyphicon { color: var(--rp-meta); }
#bViewButtons a.active .glyphicon { color: var(--rp-carbone); }
body.rp #bRefine {
	background: var(--rp-lin);
	color: var(--rp-carbone);
	padding: 24px;
	line-height: 1.3;
}
body.rp #bRefine H2 {
	font-family: var(--rp-font-titre);
	font-weight: 800;
	font-size: 28px;
	line-height: 1;
	color: var(--rp-carbone);
	margin: 0 0 8px 0;
}
body.rp #bRefine H3, body.rp #bRefine H5 {
	margin: 22px 0 8px 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .08em;
	color: var(--rp-carbone);
}
body.rp #bRefine p { color: var(--rp-meta); font-size: 13px; }
body.rp #bRefine a { color: var(--rp-carbone); font-size: 15px; }
body.rp #bRefine a:hover { text-decoration: underline; text-decoration-color: var(--rp-jaune); text-decoration-thickness: 2px; }
body.rp .bResultItemCol { height: 330px; }
body.rp .bResultItem,
body.rp .bResultItem:hover {
	margin: 0;
	padding: 0;
	min-height: 0;
	box-shadow: none;
	background: transparent;
	font-size: inherit;
	line-height: 1.3;
}
body.rp .bResultItemContent, body.rp .bResultItem:hover .bResultItemContent { height: auto; min-height: 0; }
body.rp .bResultItem .bResultItemImg, body.rp .bResultItem:hover .bResultItemImg {
	display: block;
	max-height: none;
	min-height: 0;
	aspect-ratio: 3 / 2;
	margin: 0 0 10px 0;
	background: var(--rp-lin);
	overflow: hidden;
}
body.rp .bResultItem .bResultItemImg a { display: block; height: 100%; }
body.rp .bResultItem .bResultItemImg img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
body.rp .bResultItem:hover .bResultItemImg img { transform: scale(1.03); }
body.rp .bResultItemImgPlaceholder {
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--rp-lin);
	color: var(--rp-meta);
	display: flex;
	align-items: center;
	justify-content: center;
}
body.rp .bResultItem .bResultItemText { font-size: 16px; line-height: 1.3; text-align: left; }
body.rp .bResultItem .bResultItemText a {
	color: var(--rp-carbone);
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body.rp .rp-result__type, body.rp .bResultItem .bResultItemText small.rp-result__type {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rp-meta);
}
.rpMapPopup { font-family: var(--rp-font-texte); font-size: 14px; }
.rpMapPopup img { display: block; margin-bottom: 6px; }

/* --------------------------------------------------------------------
   Detail pages
   -------------------------------------------------------------------- */
/* the default theme sets 12px grey text on detail pages */
body.rp .detail { color: var(--rp-carbone); font-size: 16px; line-height: 25px; }
body.rp .detail a { color: var(--rp-carbone); }
.rp-detail__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 24px;
	font-size: 15px;
	font-weight: 600;
}
.rp-detail__nav a { text-decoration: none; }
.rp-detail__prevnext { display: inline-flex; gap: 24px; }
.rp-detail__title, body.rp h1.rp-detail__title {
	font-family: var(--rp-font-titre);
	font-weight: 800;
	font-size: 40px;
	line-height: 1;
	text-transform: uppercase;
	color: var(--rp-carbone);
	margin: 0 0 24px 0;
}
.rp-detail__description { font-size: 17px; line-height: 27px; margin-bottom: 24px; }
.rp-detail__fields { margin: 0 0 24px 0; border-top: 1px solid var(--rp-filet); }
.rp-detail__fields dt {
	padding-top: 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--rp-meta);
}
.rp-detail__fields dd { margin: 2px 0 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--rp-filet); }
.rp-detail__fields dd a { text-decoration: underline; text-decoration-color: var(--rp-jaune); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.rp-detail__map { margin-bottom: 24px; }
.rp-detail__map .rp-meta { margin-top: 6px; font-size: 13px; }
.rp-detail__notice { padding-top: 16px; border-top: 1px solid var(--rp-filet); font-size: 14px; line-height: 22px; color: var(--rp-meta); }
.rp-detail__notice a { color: var(--rp-carbone); text-decoration: underline; }
.rp-detail__media { background: var(--rp-lin); }
.rp-detail .rp-detail__related { margin: 48px 0 8px 0; font-size: 36px; color: var(--rp-carbone); }
.rp-backlink { margin: 0 0 24px 0; font-size: 15px; font-weight: 600; }
.rp-backlink a { text-decoration: none; }

/* --------------------------------------------------------------------
   Focus (galleries)
   -------------------------------------------------------------------- */
.rp-focus-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.rp-focus-card, body.rp a.rp-focus-card { display: flex; flex-direction: column; background: var(--rp-lin); text-decoration: none; }
.rp-focus-card__image { display: block; aspect-ratio: 3 / 2; background-color: var(--rp-lin-fonce); background-size: cover; background-position: center; }
.rp-focus-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.rp-focus-card__body .rp-h3 { font-size: 28px; }
.rp-focus-card:hover .rp-h3 { text-decoration: underline; text-decoration-color: var(--rp-jaune); }
.rp-focus-card__text { font-size: 15px; line-height: 23px; }
body.rp .gallery .galleryIconActive img { outline: 3px solid var(--rp-jaune); }
body.rp #galleryDetailObjectInfo .rp-h3 { font-size: 28px; margin-bottom: 12px; }
body.rp #galleryDetailObjectInfo .rp-btn { margin-top: 8px; }

/* --------------------------------------------------------------------
   Site pages (journal entries, simple pages), about, contact
   -------------------------------------------------------------------- */
.rp-article { max-width: 820px; margin: 0 auto; }
.rp-article__header { margin-bottom: 32px; }
.rp-article__date:not(:empty)::before { content: "· "; }
.rp-article__chapo { font-size: 20px; line-height: 30px; font-weight: 500; }
.rp-article__chapo:empty, .rp-article figcaption:empty { display: none; }
.rp-article__figure { margin: 0 0 32px 0; }
.rp-article__figure:not(:has(img)) { display: none; }
.rp-article__figure img { display: block; width: 100%; height: auto; }
.rp-article__figure figcaption { margin-top: 8px; font-size: 14px; color: var(--rp-meta); }
.rp-article__body { font-size: 17px; line-height: 28px; }
.rp-article__body h2, .rp-article__body h3 { font-family: var(--rp-font-titre); font-weight: 800; text-transform: uppercase; margin: 32px 0 12px; }
.rp-article__body h2 { font-size: 32px; }
.rp-article__body h3 { font-size: 26px; }
.rp-article__body a { text-decoration: underline; text-decoration-color: var(--rp-jaune); text-decoration-thickness: 2px; }

.rp-about__header { max-width: 820px; margin-bottom: 56px; }
.rp-about__chapo { font-size: 20px; line-height: 30px; }
.rp-about__section { margin-bottom: 64px; }
.rp-about__section > .rp-h2 { margin-bottom: 24px; }
.rp-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 20px 0; padding: 0; list-style: none; }
.rp-chips a, body.rp .rp-chips a { display: inline-block; padding: 10px 18px; background: var(--rp-lin); font-weight: 700; text-decoration: none; }
.rp-chips a:hover, body.rp .rp-chips a:hover { background: var(--rp-jaune); }
.rp-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rp-action { padding: 32px; background: var(--rp-lin); }
.rp-action .rp-h3 { margin-bottom: 16px; }
.rp-about__cta { padding: 48px; background: var(--rp-carbone); color: var(--rp-lin); }
.rp-about__cta .rp-h2 { color: var(--rp-lin); }
.rp-about__cta .rp-btn--carbone, body.rp .rp-about__cta a.rp-btn--carbone { background: var(--rp-jaune); color: var(--rp-carbone); }

.rp-contact__intro { font-size: 17px; line-height: 27px; margin-bottom: 32px; }
.rp-form label, .rp-form legend, body.rp .rp-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 700;
	text-transform: none;
	color: var(--rp-carbone);
}
.rp-form legend { border: 0; padding: 0; margin-bottom: 10px; }
.rp-form fieldset { margin: 0 0 15px 0; padding: 0; border: 0; }
body.rp .rp-form .form-control {
	height: 48px;
	border-radius: 0;
	border: 1px solid var(--rp-champ);
	box-shadow: none;
	font-family: var(--rp-font-texte);
	font-size: 16px;
	color: var(--rp-carbone);
}
body.rp .rp-form textarea.form-control { height: auto; }
body.rp .rp-form .form-control:focus { border-color: var(--rp-carbone); }
body.rp .rp-form .has-error .form-control { border-color: #b3261e; }
body.rp .rp-form label.rp-form__choice { display: inline-flex; align-items: center; gap: 8px; margin: 0 24px 8px 0; font-weight: 400; font-size: 16px; }
.rp-form__item { padding: 16px 20px; margin-bottom: 24px; background: var(--rp-lin); }
.rp-form__item p { margin: 0; }
.rp-form__security .form-control { max-width: 160px; }
.rp-form .rp-btn { margin-top: 8px; }
.rp-contact__visit { padding: 32px; background: var(--rp-lin); }
.rp-contact__visit .rp-h3 { font-size: 30px; margin-bottom: 16px; }
.rp-contact__visit address { margin-bottom: 14px; }
.rp-contact--success { padding: 40px 0; text-align: center; }
.rp-contact--success .rp-intro { margin-bottom: 32px; }

/* --------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------- */
@media (max-width: 1279px) {
	.rp-footer__shape, .rp-focus__deco, .rp-territory .rp-chevron { display: none; }
}
@media (max-width: 991px) {
	.rp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rp-focus-grid, .rp-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rp-teaser { grid-template-columns: minmax(0, 1fr); }
	.rp-teaser__visual { min-height: 240px; }
	.rp-map__card { position: static; width: auto; padding: 0 0 24px 0; background: transparent; }
	.rp-territory .rp-container { padding-top: 64px; padding-bottom: 64px; }
	.rp-map { aspect-ratio: 4 / 3; }
	.rp-map__commune, body.rp a.rp-map__commune { left: var(--x-mobile); }
	.rp-map__dot { width: 40px; height: 40px; }
	.rp-map__commune, body.rp a.rp-map__commune { transform: translate(-50%, -20px); }
	.rp-partners__list { justify-content: center; }
}
@media (max-width: 767px) {
	.rp-container { padding-left: 20px; padding-right: 20px; }
	.rp-hero .rp-container { padding-top: 40px; padding-bottom: 64px; }
	.rp-hero .rp-chevron { width: 92px; height: 70px; margin-left: 0; }
	.rp-hero__text { font-size: 16px; }
	.rp-hero__text br, .rp-intro br { display: none; }
	.rp-searchbar { height: 52px; }
	.rp-searchbar button { width: 56px; }
	.rp-collections .rp-container { padding-top: 40px; padding-bottom: 56px; }
	.rp-collections .rp-h2 { margin-top: 40px; }
	.rp-intro { font-size: 20px; line-height: 28px; }
	.rp-intro strong { font-size: 22px; }
	.rp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.rp-card__label { font-size: 16px; padding-right: 32px; }
	.rp-slide__visual { min-height: 260px; }
	.rp-slide__panel { padding: 32px 24px; }
	.rp-h3 { font-size: 28px; }
	.rp-focus-grid, .rp-actions { grid-template-columns: minmax(0, 1fr); }
	.rp-teaser__body { padding: 28px 24px; }
	.rp-about__cta { padding: 32px 24px; }
	.rp-detail__title, body.rp h1.rp-detail__title { font-size: 32px; }
	.rp-partners__list li { width: 140px; }
	.rp-map { aspect-ratio: 1 / 1; }
}
