/* L'ARP — composants de la refonte. Les couleurs sont des variables : le thème peut les redéfinir. */
:root {
	/* Charte des rapports d'activité de L'ARP */
	--larp-bleu: #156082;        /* couleur principale (couvertures) : 7,4:1 sur blanc */
	--larp-turquoise: #2ec4b6;   /* titres et filets : décoratif, jamais pour du texte courant */
	--larp-orange: #ff9f1c;      /* actions culturelles */
	--larp-rouge-rapport: #e71d36; /* promotion de la création */
	--larp-pervenche: #5c7cf2;   /* égalité des chances */
	--larp-accent: var(--larp-turquoise);
	--larp-noir: #222222;
	--larp-beige: #ffffff;
	--larp-rouge: #156082;       /* l'ancien accent rouge devient le bleu de la charte */
	--larp-gris: #595959;
	--larp-filet: #d5e3ea;
	--larp-fond-image: #e2ebef;
	--larp-titre: "Aptos Display", Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--larp-texte: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.larp-tag {
	display: inline-block;
	border: 1.5px solid var(--larp-rouge);
	color: var(--larp-rouge);
	padding: 1px 8px;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.5;
}

/* Carrousel */
.larp-carousel { position: relative; margin: 0 auto 2.5rem; }
.larp-carousel__slide { position: relative; }
.larp-carousel__slide[hidden] { display: none; }
.larp-carousel__media { width: 100%; height: min(56.25vw, 640px); overflow: hidden; background: #3a3a38; }
.larp-carousel__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.larp-carousel__caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 3rem 3.5rem 2.5rem;
	background: rgba(0, 0, 0, 0.62);
	color: #fff;
	display: flex; flex-direction: column; gap: 0.75rem;
}
.larp-carousel__meta { margin: 0; display: flex; gap: 0.75rem; align-items: center; font-size: 0.875rem; }
.larp-carousel__meta .larp-tag { background: var(--larp-rouge); border-color: var(--larp-rouge); color: #fff; }
.larp-carousel__title { margin: 0; font-family: var(--larp-titre); font-weight: 700; font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.1; max-width: 56rem; color: #fff; }
.larp-carousel .larp-carousel__link, .larp-carousel .larp-carousel__link:visited { color: #fff; font-weight: 700; text-underline-offset: 4px; }
.larp-carousel__link:hover, .larp-carousel__link:focus { color: #fff; }
.larp-carousel__controls { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; }
.larp-carousel__dots, .larp-carousel__buttons { display: flex; gap: 0.5rem; align-items: center; }
.larp-carousel button {
	min-width: 44px; height: 44px;
	border: 2px solid var(--larp-noir);
	background: var(--larp-beige);
	color: var(--larp-noir);
	font-family: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1;
	cursor: pointer;
	padding: 0 1rem;
}
.larp-carousel .larp-carousel__dot { border: 0; background: none; padding: 0; width: 44px; }
.larp-carousel__dot span { display: inline-block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--larp-noir); }
.larp-carousel__dot[aria-current="true"] span { background: var(--larp-noir); }
.larp-carousel button:focus-visible, .larp-card a:focus-visible, .larp-taglist a:focus-visible {
	outline: 3px solid var(--larp-rouge); outline-offset: 3px;
}

@media (max-width: 700px) {
	.larp-carousel__media { height: 125vw; max-height: 560px; }
	.larp-carousel__caption { padding: 1.5rem 1.25rem; }
	.larp-carousel__buttons .larp-carousel__prev, .larp-carousel__buttons .larp-carousel__next { display: none; }
}

/* Cartes et grilles */
.larp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.larp-card { display: flex; flex-direction: column; gap: 0.6rem; }
.larp-card__media { aspect-ratio: 16 / 9; background: var(--larp-fond-image); overflow: hidden; }
.larp-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.larp-card__placeholder { display: block; width: 100%; height: 100%; }
.larp-card__meta { margin: 0; display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; font-size: 0.8125rem; color: var(--larp-gris); }
.larp-card__title { margin: 0; font-family: var(--larp-titre); font-size: 1.15rem; line-height: 1.25; }
.larp-card__title a { color: var(--larp-noir); text-decoration: none; }
.larp-card__title a:hover { color: var(--larp-rouge); text-decoration: underline; }

.larp-taglist__all { margin: 1rem 0 0; font-weight: 700; }
.larp-taglist__all a { color: var(--larp-noir); }
.larp-empty { border: 2px dashed #8a8a84; padding: 2rem; color: #444; }
.larp-empty p { margin: 0 0 0.5rem; }
.larp-empty p:last-child { margin: 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

/* Gabarits de repli : page, liste, article */
.larp-page { background: var(--larp-beige); color: var(--larp-noir); padding: 2rem 0 4rem; }
.larp-wrap { max-width: 1280px; margin: 0 auto; padding: 0 2rem; box-sizing: border-box; }
.larp-wrap--narrow { max-width: 820px; }
.larp-wrap--nav { display: flex; flex-wrap: wrap; gap: 3.5rem; align-items: flex-start; }
.larp-page__aside { flex: 1 1 220px; max-width: 260px; }
.larp-page__main { flex: 999 1 560px; min-width: 0; max-width: 780px; }
.larp-page__title { font-family: var(--larp-titre); font-weight: 700; font-size: clamp(2.25rem, 4.5vw, 3.5rem); line-height: 1.05; margin: 0 0 1.75rem; color: var(--larp-noir); }
.larp-breadcrumb { font-size: 0.875rem; color: var(--larp-gris); margin-bottom: 1rem; }
.larp-breadcrumb a { color: var(--larp-gris); }
.larp-content { font-size: 1.0625rem; line-height: 1.65; }
.larp-content h2 { font-family: var(--larp-titre); font-size: 1.875rem; line-height: 1.15; margin: 2.5rem 0 1rem; }
.larp-content a { color: var(--larp-noir); text-decoration-color: var(--larp-rouge); text-underline-offset: 3px; }
.larp-content a:hover { color: var(--larp-rouge); }
.larp-content .wp-block-button__link { background: var(--larp-noir); color: #fff; border-radius: 0; padding: 0.8rem 1.6rem; font-weight: 700; text-decoration: none; }
.larp-content .wp-block-button__link:hover { background: var(--larp-rouge); color: #fff; }
.larp-note { background: #fff4c2; border-left: 4px solid #b8860b; padding: 0.6rem 0.9rem; font-size: 0.9375rem; }

.larp-subnav__title { margin: 0 0 0.75rem; font-family: var(--larp-titre); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--larp-gris); }
.larp-subnav ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--larp-noir); }
.larp-subnav li { border-bottom: 1px solid var(--larp-filet); }
.larp-subnav li:last-child { border-bottom: 2px solid var(--larp-noir); }
.larp-subnav a { display: block; padding: 0.7rem 0 0.7rem 1rem; color: var(--larp-noir); text-decoration: none; font-family: var(--larp-titre); }
.larp-subnav a[aria-current="page"] { border-left: 4px solid var(--larp-rouge); padding-left: 0.75rem; font-weight: 700; }
.larp-subnav a:hover { color: var(--larp-rouge); }

.larp-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; }
.larp-filters a { border: 1.5px solid var(--larp-noir); padding: 0.3rem 0.8rem; font-size: 0.875rem; color: var(--larp-noir); text-decoration: none; }
.larp-filters a[aria-current="page"] { background: var(--larp-noir); color: #fff; font-weight: 700; }
.larp-grid--list { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.5rem 2rem; }
.larp-grid--list .larp-card__title { font-size: 1.375rem; }
.larp-page .nav-links { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.larp-page .nav-links .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--larp-noir); padding: 0 0.75rem; color: var(--larp-noir); text-decoration: none; font-weight: 700; }
.larp-page .nav-links .current { background: var(--larp-noir); color: #fff; }

.larp-article__meta { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; font-size: 0.875rem; color: var(--larp-gris); margin: 0 0 1rem; }
a.larp-tag { text-decoration: none; }
.larp-article__cover { margin: 0 auto 2.5rem; }
.larp-article__cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.larp-article__cover figcaption { font-size: 0.875rem; color: var(--larp-gris); padding-top: 0.5rem; }
.larp-related { margin-top: 3rem; }
.larp-related h2 { font-family: var(--larp-titre); font-size: 1.75rem; margin: 0 0 1.25rem; }
.larp-home .larp-content { max-width: 1280px; }

/* En-tête du thème sur les gabarits de l'extension : pas de photo derrière, donc logo noir et fond beige. */
.larp-tpl nav.navbar { background: var(--larp-beige) !important; }
.larp-tpl .navbar-brand img.hidden-mobile { display: none !important; }
.larp-tpl .navbar-brand img.hidden-desktop { display: inline-block !important; }
@media (max-width: 900px) {
	.larp-wrap--nav { gap: 2rem; }
	.larp-page__aside { order: 2; max-width: none; }
}

/* Accueil */
.larp-home .larp-carousel { margin-bottom: 3rem; }
.larp-entries { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; margin: 0 0 3rem; padding: 0; list-style: none; }
.larp-entries a, .larp-entries .larp-entries__soon { display: flex; flex-direction: column; gap: 0.5rem; min-height: 160px; padding: 1.5rem; border: 2px solid var(--larp-noir); color: var(--larp-noir); text-decoration: none; box-sizing: border-box; height: 100%; }
.larp-entries a:hover { border-color: var(--larp-rouge); color: var(--larp-rouge); }
.larp-entries strong { font-family: var(--larp-titre); font-size: 1.35rem; }
.larp-entries span { color: #444; font-size: 0.9375rem; }
.larp-entries .larp-entries__soon { border-style: dashed; border-color: #8a8a84; color: #555; }
.larp-band { background: var(--larp-rouge); color: #fff; padding: 3rem 2rem; margin: 3rem 0 0; }
.larp-band h2 { color: #fff; margin-top: 0; }
.larp-band a.wp-block-button__link { background: var(--larp-noir); color: #fff; }


/* ---------- Charte des rapports : surcharges v0.5 ---------- */
body.larp-tpl, .larp-page { font-family: var(--larp-texte); color: var(--larp-noir); }
.larp-section-nos-actions, .larp-section-qui-sommes-nous { --larp-accent: var(--larp-turquoise); }
.larp-section-nos-rencontres { --larp-accent: var(--larp-orange); }
.larp-page-actions-culturelles { --larp-accent: var(--larp-orange); }
.larp-section-nos-actualites, .post-type-archive-activite, .tax-etiquette { --larp-accent: var(--larp-pervenche); }

/* En-tête de page façon couverture de rapport */
.larp-cover { background: var(--larp-bleu); color: #fff; margin: -2rem 0 2.5rem; }
.larp-cover__inner { max-width: 1280px; margin: 0 auto; padding: 3rem 2rem 2.5rem; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-end; }
.larp-cover__text { flex: 1 1 420px; min-width: 0; }
.larp-cover .larp-breadcrumb, .larp-cover .larp-breadcrumb a { color: #d8e7ee; }
.larp-cover .larp-page__title { color: #fff; margin: 0; font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.02; }
.larp-cover__bar { display: block; width: 72px; height: 6px; background: var(--larp-accent); margin-top: 1.25rem; }
.larp-cover__media { flex: 1 1 380px; max-width: 560px; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.larp-cover__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.larp-provisoire { position: absolute; left: 0.5rem; bottom: 0.5rem; background: rgba(0,0,0,0.7); color: #fff; font-size: 0.75rem; padding: 0.15rem 0.5rem; }

.larp-page__title { color: var(--larp-bleu); font-family: var(--larp-titre); }
.larp-content h2 { color: var(--larp-bleu); position: relative; padding-bottom: 0.5rem; }
.larp-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; background: var(--larp-accent); }
.larp-content a { color: var(--larp-bleu); text-decoration-color: var(--larp-accent); }
.larp-content .wp-block-button__link { background: var(--larp-bleu); color: #fff; }
.larp-content .wp-block-button__link:hover { background: #0e4560; color: #fff; }
.larp-content .wp-block-image img { width: 100%; height: auto; }
.larp-content figure.wp-block-image { margin: 1.5rem 0 2rem; }

.larp-tag { border-color: var(--larp-accent); color: var(--larp-bleu); }
.larp-carousel__caption { background: rgba(21, 96, 130, 0.88); }
.larp-carousel__meta .larp-tag { background: #fff; border-color: #fff; color: var(--larp-bleu); }
.larp-carousel__title { font-family: var(--larp-titre); }
.larp-carousel button { background: #fff; border-color: var(--larp-bleu); color: var(--larp-bleu); }
.larp-carousel__dot span { border-color: var(--larp-bleu); }
.larp-carousel__dot[aria-current="true"] span { background: var(--larp-bleu); }
.larp-card__title a { color: var(--larp-noir); }
.larp-card__title a:hover { color: var(--larp-bleu); }
.larp-card__media { position: relative; }
.larp-subnav ul { border-top-color: var(--larp-bleu); }
.larp-subnav li:last-child { border-bottom-color: var(--larp-bleu); }
.larp-subnav a[aria-current="page"] { border-left-color: var(--larp-accent); color: var(--larp-bleu); }
.larp-filters a { border-color: var(--larp-bleu); color: var(--larp-bleu); }
.larp-filters a[aria-current="page"] { background: var(--larp-bleu); color: #fff; }
.larp-page .nav-links .page-numbers { border-color: var(--larp-bleu); color: var(--larp-bleu); }
.larp-page .nav-links .current { background: var(--larp-bleu); color: #fff; }
.larp-entries a, .larp-entries .larp-entries__soon { border: 0; border-top: 6px solid var(--larp-turquoise); background: #f2f7f9; }
.larp-entries li:nth-child(2) a { border-top-color: var(--larp-turquoise); }
.larp-entries li:nth-child(3) a { border-top-color: var(--larp-orange); }
.larp-entries li:nth-child(4) a { border-top-color: var(--larp-pervenche); }
.larp-entries strong { color: var(--larp-bleu); }
.larp-entries a:hover strong { text-decoration: underline; }
.larp-band { background: var(--larp-bleu); }
.larp-band .wp-block-button__link { background: #fff; color: var(--larp-bleu); }
.larp-note { background: #fff7e6; border-left-color: var(--larp-orange); }

/* Thème : en-tête et pied de page aux couleurs de la charte (gabarits de l'extension) */
.larp-tpl nav.navbar { background: #fff !important; border-bottom: 1px solid var(--larp-filet); }
.larp-tpl nav.navbar .nav-link { color: var(--larp-bleu) !important; font-family: var(--larp-texte); font-weight: 600; }
.larp-tpl footer.footer { background: var(--larp-bleu) !important; color: #fff; }
.larp-tpl footer.footer a { color: #fff !important; }
.larp-tpl footer.footer img.footer-brand, .larp-tpl footer.footer .footer-brand img { filter: brightness(0) invert(1); }

/* v0.5.1 : bandeau d'adhésion lisible */
.larp-content .larp-band h2 { color: #fff; }
.larp-content .larp-band h2::after { background: var(--larp-turquoise); }
.larp-content .larp-band .wp-block-button__link { background: #fff; color: var(--larp-bleu); }
.larp-content .larp-band .wp-block-button__link:hover { background: var(--larp-turquoise); color: #0b3a50; }
.larp-carousel__media { position: relative; }

/* v0.6 : consentement */
.larp-consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9999; max-width: 760px; margin: 0 auto; background: #fff; color: var(--larp-noir); border-top: 6px solid var(--larp-bleu); box-shadow: 0 6px 24px rgba(0,0,0,0.18); padding: 1.25rem 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-family: var(--larp-texte); font-size: 0.9375rem; }
.larp-consent p { margin: 0; flex: 1 1 380px; }
.larp-consent a { color: var(--larp-bleu); }
.larp-consent__btns { display: flex; gap: 0.5rem; }
.larp-consent button, .larp-consent-embed__btn { min-height: 44px; padding: 0 1.25rem; border: 2px solid var(--larp-bleu); background: #fff; color: var(--larp-bleu); font: inherit; font-weight: 700; cursor: pointer; }
.larp-consent button[data-c="1"] { background: var(--larp-bleu); color: #fff; }
.larp-consent button:focus-visible, .larp-consent-embed__btn:focus-visible { outline: 3px solid var(--larp-turquoise); outline-offset: 2px; }
.larp-consent-embed { display: flex; align-items: center; justify-content: center; text-align: center; aspect-ratio: 16 / 9; background: #e2ebef; padding: 1.5rem; margin: 1rem 0; box-sizing: border-box; }
.larp-consent-embed__msg { display: flex; flex-direction: column; gap: 0.75rem; align-items: center; max-width: 32rem; }

/* v0.6 : agenda */
.larp-agenda { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--larp-bleu); }
.larp-agenda li { display: flex; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--larp-filet); }
.larp-agenda__date { flex: 0 0 4.5rem; font-family: var(--larp-titre); color: var(--larp-bleu); font-weight: 700; line-height: 1.1; }
.larp-agenda__date span { display: block; font-size: 1.75rem; }
.larp-agenda__lieu { display: block; color: var(--larp-gris); font-size: 0.9375rem; }
.larp-agenda a { color: var(--larp-noir); font-weight: 600; text-decoration: none; }
.larp-agenda a:hover { color: var(--larp-bleu); text-decoration: underline; }

/* v0.6.1 — recette accessibilité */
.larp-carousel h2.larp-carousel__title, .larp-carousel h1.larp-carousel__title { color: #fff !important; }
.larp-tpl footer.footer, .larp-tpl footer.footer p, .larp-tpl footer.footer span, .larp-tpl footer.footer small, .larp-tpl footer.footer .text-small { color: #fff !important; }
.larp-tpl a:focus-visible, .larp-tpl button:focus-visible { outline: 3px solid var(--larp-orange); outline-offset: 2px; }

/* v0.7 — Chiffres clés */
.larp-chiffres { margin: 0 0 3rem; padding: 2rem clamp(1.25rem, 4vw, 3rem); background: var(--larp-bleu); color: #fff; }
.larp-chiffres__signature { margin: 0 0 1.5rem; font-family: var(--larp-titre); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; color: #fff; max-width: 48rem; }
.larp-chiffres__signature::after { content: ""; display: block; width: 4rem; height: 4px; margin-top: .75rem; background: var(--larp-turquoise); }
.larp-chiffres__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; margin: 0; }
.larp-chiffre { margin: 0; }
.larp-chiffre dt { font-family: var(--larp-titre); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: #fff; }
.larp-chiffre:nth-child(5n+2) dt { color: #9ff0e8; }
.larp-chiffre:nth-child(5n+3) dt { color: #ffd08a; }
.larp-chiffre:nth-child(5n+4) dt { color: #c9d4ff; }
.larp-chiffre dd { margin: .4rem 0 0; font-size: .9375rem; line-height: 1.35; color: #e6f0f4; }

/* v0.7 — Paroles de cinéastes */
.larp-portraits { list-style: none; margin: 0 0 3rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.larp-portrait { display: flex; flex-direction: column; background: #f2f7f9; border-top: 6px solid var(--larp-turquoise); }
.larp-portrait:nth-child(4n+2) { border-top-color: var(--larp-orange); }
.larp-portrait:nth-child(4n+3) { border-top-color: var(--larp-pervenche); }
.larp-portrait:nth-child(4n+4) { border-top-color: var(--larp-bleu); }
.larp-portrait__photo { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(1); transition: filter .3s; }
.larp-portrait:hover .larp-portrait__photo { filter: none; }
.larp-portrait__mono { display: flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; margin: 1.5rem 1.25rem 0; font-family: var(--larp-titre); font-size: 1.9rem; font-weight: 700; color: #fff; letter-spacing: .02em; }
.larp-c-bleu { background: var(--larp-bleu); }
.larp-c-turquoise { background: #1d8a80; }
.larp-c-orange { background: #b8650a; }
.larp-c-pervenche { background: #3f5bd1; }
.larp-c-rouge-rapport { background: #b8162b; }
.larp-portrait__body { padding: 1rem 1.25rem 1.5rem; }
.larp-portrait__quote { margin: 0 0 1rem; padding: 0; border: 0; font-family: var(--larp-titre); font-size: 1.05rem; line-height: 1.4; color: var(--larp-noir); }
.larp-portrait__quote p::before { content: "« "; } .larp-portrait__quote p::after { content: " »"; }
.larp-portrait__todo { margin: 0 0 1rem; font-size: .875rem; font-style: italic; color: var(--larp-gris); }
.larp-portrait__name { margin: 0; font-weight: 700; font-size: 1.05rem; color: var(--larp-bleu); }
.larp-portrait__role { margin: .2rem 0 0; font-size: .875rem; color: var(--larp-gris); }

/* v0.7 — En-tête et pied hérités du thème : alignement sur la charte */
.larp-tpl header:not(.larp-cover), .larp-tpl .navbar { background: #fff !important; border-bottom: 4px solid var(--larp-bleu); box-shadow: none !important; }
.larp-tpl .navbar .nav-link, .larp-tpl header:not(.larp-cover) nav a { font-family: var(--larp-texte); font-weight: 600; color: var(--larp-noir) !important; letter-spacing: .01em; }
.larp-tpl .navbar .nav-link:hover, .larp-tpl .navbar .nav-link:focus, .larp-tpl header:not(.larp-cover) nav a:hover { color: var(--larp-bleu) !important; text-decoration: underline; text-decoration-color: var(--larp-turquoise); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.larp-tpl .navbar .current-menu-item > .nav-link, .larp-tpl .navbar .current-menu-ancestor > .nav-link { color: var(--larp-bleu) !important; }
.larp-tpl .dropdown-menu { border: 0; border-top: 4px solid var(--larp-turquoise); border-radius: 0; box-shadow: 0 8px 24px rgba(21,96,130,.15); }
.larp-tpl footer.footer { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; border-top: 6px solid var(--larp-turquoise); font-family: var(--larp-texte); }

.larp-portrait__credit { margin: .6rem 0 0; font-size: .75rem; color: var(--larp-gris); }
.larp-portrait__photo { object-position: 50% 20%; }

/* v0.9 — Formulaires */
.larp-form { margin: 1.5rem 0 3rem; max-width: 46rem; }
.larp-form fieldset { border: 0; border-top: 3px solid var(--larp-noir); margin: 0 0 1.75rem; padding: 1rem 0 0; }
.larp-form legend { font-family: var(--larp-titre); font-weight: 700; font-size: 1.15rem; padding: 0 .5rem 0 0; }
.larp-form legend span, .larp-form label span { font-weight: 400; color: var(--larp-gris); font-size: .875rem; }
.larp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
@media (max-width: 600px) { .larp-form__row { grid-template-columns: 1fr; } }
.larp-form label { display: block; font-weight: 600; margin: 0 0 .35rem; }
.larp-form input[type=text], .larp-form input:not([type]), .larp-form input[type=email], .larp-form input[type=tel], .larp-form textarea { width: 100%; padding: .7rem .8rem; border: 2px solid #cfcfcf; border-radius: 0; font: inherit; background: #fff; }
.larp-form input:focus, .larp-form textarea:focus { outline: 3px solid var(--larp-accent); outline-offset: 1px; border-color: var(--larp-noir); }
.larp-form__checks label { display: inline-flex; align-items: center; gap: .5rem; font-weight: 400; margin: 0 1.5rem .5rem 0; }
.larp-form__checks input, .larp-form__consent input { width: 1.15rem; height: 1.15rem; }
.larp-form__consent label { font-weight: 400; display: inline; }
.larp-form__hp { position: absolute !important; left: -9999px; }
.larp-form__note, .larp-paiement__note { font-size: .9375rem; color: var(--larp-gris); }
.larp-form__err { padding: .8rem 1rem; background: #fdecee; border-left: 5px solid #b8202c; }
.larp-form__ok { padding: 1.25rem 1.5rem; background: #f4f4f2; border-left: 6px solid var(--larp-accent); margin: 1.5rem 0 3rem; }
.larp-form button { cursor: pointer; }
.larp-paiement { padding: 1.5rem; background: #f4f4f2; border-top: 6px solid var(--larp-accent); margin: 1.5rem 0 2.5rem; max-width: 40rem; }
.larp-paiement__amount { font-family: var(--larp-titre); font-weight: 700; font-size: 1.6rem; margin: 0 0 1rem; }

/* v0.9.2 — Membres */
.larp-membre__fonction { margin: .75rem 0 0; font-size: 1.15rem; color: #fff; }
.larp-membre__depuis { margin: .4rem 0 0; color: #d6d6d6; font-size: .9375rem; }
.larp-membre__media img { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); }
.larp-membre__films, .larp-membre__liens { padding-left: 1.1rem; }
.larp-membre__liens { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.larp-membre__vide { color: var(--larp-gris); }
.larp-membre__retour { margin-top: 2.5rem; font-weight: 600; }
.larp-membres__tools { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 72px); z-index: 5; background: #fff; padding: .75rem 0; margin: 0 0 1.5rem; border-bottom: 1px solid var(--larp-filet, #e4e4e4); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }
.larp-membres__tools input { padding: .6rem .8rem; border: 2px solid #cfcfcf; min-width: 16rem; font: inherit; }
.larp-membres__az { display: flex; flex-wrap: wrap; gap: .25rem; }
.larp-membres__az a { display: inline-block; min-width: 2rem; padding: .3rem .4rem; text-align: center; font-family: var(--larp-titre); font-weight: 700; text-decoration: none; color: var(--larp-noir); }
.larp-membres__az a:hover { background: var(--larp-noir); color: #fff; }
.larp-membres__groupe { scroll-margin-top: 10rem; margin: 0 0 2rem; }
.larp-membres__lettre { font-size: 2.25rem; margin: 0 0 .75rem; }
.larp-membres__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem 1.25rem; }
.larp-membres__liste a { display: flex; align-items: center; gap: .75rem; padding: .4rem 0; text-decoration: none; color: var(--larp-noir); font-weight: 600; }
.larp-membres__liste a:hover .larp-membre__nom { text-decoration: underline; text-decoration-color: var(--larp-accent); text-decoration-thickness: 2px; }
.larp-membres__liste img, .larp-membre__mono { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; filter: grayscale(1); }
.larp-membre__mono { display: inline-flex; align-items: center; justify-content: center; background: #ececea; font-family: var(--larp-titre); font-size: .9rem; color: var(--larp-noir); }

/* v0.9.2 — Tableaux et encadrés des pages d'information */
.larp-content .larp-table table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; }
.larp-content .larp-table th, .larp-content .larp-table td { text-align: left; vertical-align: top; padding: .9rem 1rem; border-top: 1px solid var(--larp-filet, #e4e4e4); }
.larp-content .larp-table tr:first-child th, .larp-content .larp-table tr:first-child td { border-top: 3px solid var(--larp-noir); }
.larp-content .larp-table th { width: 30%; font-family: var(--larp-titre); font-weight: 700; }
@media (max-width: 600px) { .larp-content .larp-table th, .larp-content .larp-table td { display: block; width: auto; } .larp-content .larp-table td { border-top: 0; padding-top: 0; } }
.larp-content .larp-encadre { padding: 1rem 1.25rem; background: #f4f4f2; border-left: 6px solid var(--larp-accent); margin: 1.5rem 0; }
.larp-membres__liste a { color: var(--larp-noir) !important; }
.larp-content .larp-table th, .larp-content .larp-table td { border-left: 0 !important; border-right: 0 !important; border-bottom: 0 !important; } .larp-content .larp-table table { border: 0 !important; border-bottom: 1px solid #e4e4e4 !important; }
/* v0.9.3 — Bouton Adhérer dans le menu */
.larp-tpl .navbar .navbar-nav > .nav-item > .nav-link[href*="adherer-a-larp"] { background: var(--larp-rouge-texte, #b8202c); color: #fff !important; padding: .45rem 1rem !important; margin-left: .5rem; text-decoration: none !important; }
.larp-tpl .navbar .navbar-nav > .nav-item > .nav-link[href*="adherer-a-larp"]:hover { background: var(--larp-noir, #111); }

/* v0.9.4 — Recherche */
.larp-search { display: flex; gap: .5rem; margin: 0 0 2rem; }
.larp-search input { flex: 1; padding: .8rem 1rem; border: 2px solid #cfcfcf; font: inherit; }
.larp-search__count { color: var(--larp-gris); margin: 0 0 1rem; }
.larp-search__results { list-style: none; margin: 0 0 2rem; padding: 0; }
.larp-search__results li { padding: 1.25rem 0; border-top: 1px solid var(--larp-filet, #e4e4e4); }
.larp-search__type { margin: 0 0 .3rem; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--larp-gris); }
.larp-search__title { margin: 0 0 .4rem; font-size: 1.3rem; }
.larp-search__title a { color: var(--larp-noir) !important; text-decoration: none; }
.larp-search__title a:hover { text-decoration: underline; text-decoration-color: var(--larp-accent); }
.larp-search__excerpt { margin: 0; color: #333; }

/* v0.9.7 — « Sur cette page » */
.larp-page__aside-in { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 90px); }
.larp-toc { margin-top: 2rem; }
.larp-page__aside-in > .larp-toc:first-child { margin-top: 0; }
.larp-toc a { font-size: .9375rem; padding-top: .55rem; padding-bottom: .55rem; }
.larp-toc a.is-active { border-left: 4px solid var(--larp-accent); padding-left: .75rem; font-weight: 700; }
.larp-content h2[id] { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px); }
@media (max-width: 900px) { .larp-page__aside-in { position: static; } .larp-toc { display: none; } }

/* v0.9.8 — Documents à télécharger (statuts, règlement) */
.larp-docs { list-style: none; margin: 1rem 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.larp-docs a { display: flex; flex-direction: column; gap: .3rem; padding: 1.25rem 1.25rem 1.25rem 4.25rem; position: relative; background: #f4f4f2; border-top: 6px solid var(--larp-noir, #111); color: var(--larp-noir, #111) !important; text-decoration: none; }
.larp-docs li:nth-child(even) a { border-top-color: var(--larp-accent); }
.larp-docs a::before { content: ""; position: absolute; left: 1.25rem; top: 1.3rem; width: 2.1rem; height: 2.6rem; background: var(--larp-noir, #111); clip-path: polygon(0 0, 70% 0, 100% 25%, 100% 100%, 0 100%); }
.larp-docs a:hover { background: #ececea; }
.larp-docs a:hover strong { text-decoration: underline; text-decoration-color: var(--larp-accent); text-decoration-thickness: 2px; }
.larp-docs strong { font-family: var(--larp-titre); font-size: 1.15rem; }
.larp-docs span { font-size: .875rem; color: var(--larp-gris, #555); }
.larp-docs .larp-docs__type { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }

/* v0.9.10 — paiement à deux montants */
.larp-paiement__rule { margin: 0 0 1.25rem; font-size: 1.05rem; }
.larp-paiement__btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.larp-btn--noir { background: var(--larp-noir, #111); color: #fff !important; }
.larp-btn--noir:hover { background: var(--larp-rouge-texte, #b8202c); }

/* v0.10 — Paiement PayPal intégré */
.larp-pp .larp-form { margin: 0; max-width: none; }
.larp-pp .larp-form fieldset { border-top-width: 2px; }
.larp-pp__tarifs { display: grid; gap: .6rem; margin: 0; }
.larp-pp__tarif { display: flex !important; align-items: baseline; gap: .6rem; padding: .8rem 1rem; background: #fff; border: 2px solid #cfcfcf; cursor: pointer; font-weight: 400 !important; }
.larp-pp__tarif:has(input:checked) { border-color: var(--larp-noir); box-shadow: inset 5px 0 0 var(--larp-accent); }
.larp-pp__tarif strong { font-family: var(--larp-titre); font-size: 1.2rem; min-width: 4.5rem; }
.larp-pp__tarif span { color: var(--larp-gris); }
.larp-pp__tarif input { accent-color: var(--larp-noir); }
.larp-pp__buttons { max-width: 26rem; margin: 0 0 1rem; position: relative; z-index: 0; }
.larp-pp__test { display: inline-block; margin: 0 0 1rem; padding: .25rem .6rem; background: #fff3cd; font-size: .875rem; font-weight: 600; }
.larp-pp__etat { margin: 0 0 1rem; }
.larp-pp .larp-form__ok { margin: 0; }
.larp-pp .larp-form__ok:focus { outline: none; }

/* v0.11 — Trombinoscopes */
.larp-trombi { list-style: none; margin: 1.5rem 0 2.5rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.5rem 1.25rem; }
.larp-trombi__item { margin: 0; }
.larp-trombi__media { aspect-ratio: 1 / 1; background: #f2f2f0; overflow: hidden; margin-bottom: .7rem; display: flex; align-items: center; justify-content: center; border-bottom: 4px solid var(--larp-noir, #111); }
.larp-trombi__item:nth-child(even) .larp-trombi__media { border-bottom-color: var(--larp-rouge-logo, #dc3742); }
.larp-trombi__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(1); transition: filter .3s; }
.larp-trombi__item:hover .larp-trombi__photo { filter: none; }
.larp-trombi__mono { font-family: var(--larp-titre); font-weight: 700; font-size: 2.2rem; color: #9a9a9a; letter-spacing: .02em; }
.larp-trombi__nom { margin: 0; font-weight: 700; line-height: 1.25; }
.larp-trombi__nom a { color: inherit; text-decoration: none; }
.larp-trombi__nom a:hover { text-decoration: underline; text-decoration-color: var(--larp-rouge-logo, #dc3742); text-decoration-thickness: 2px; }
.larp-trombi__fonction { margin: .2rem 0 0; font-size: .875rem; color: var(--larp-gris, #555); line-height: 1.35; }
.larp-trombi__email { margin: .3rem 0 0; font-size: .8125rem; word-break: break-all; }
.larp-trombi--conseil { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.larp-trombi--conseil .larp-trombi__mono { font-size: 1.7rem; }
/* Label de type sur les cartes */
.larp-tag--type { background: var(--larp-noir, #111) !important; border-color: var(--larp-noir, #111) !important; color: #fff !important; }
.larp-card__meta .larp-tag--type:empty { display: none; }
.larp-filters .larp-filters__type { font-weight: 700; }
.larp-trombi__nom, .larp-trombi__nom a { color: var(--larp-noir, #111) !important; }
