/* Réunion Bénévolat – Site · JoTho Studio
   Charte commune : en-tête, pied de page, modèles, cartes, listes, formulaires. */

:root {
	--rbs-green: #2D695C;
	--rbs-green-dark: #1D4A40;
	--rbs-footer: #005A48;
	--rbs-teal: #54BCB3;
	--rbs-teal-light: #D7EEEA;
	--rbs-band: #F3FAF9;
	--rbs-soft: #EAF5F3;
	--rbs-cream: #F5E8CC;
	--rbs-yellow: #F0A925;
	--rbs-orange: #FF6900;
	--rbs-text: #111D27;
	--rbs-muted: #3D4946;
	--rbs-line: #E6ECEB;
	--rbs-border: #C9E3DF;
	--rbs-error: #B42318;
	--rbs-radius: 16px;
	--rbs-font: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rbs-gutter: 40px;
	--rbs-shadow: 0 10px 28px rgba(17, 29, 39, .08);
}
@media (max-width: 767px) { :root { --rbs-gutter: 16px; } }

.rbs-main, .rbs-header, .rbs-footer, .rbs-sc, .rbs-form-wrap { font-family: var(--rbs-font); color: var(--rbs-text); }
/* Les modèles de l'extension occupent toute la largeur (Hello limite .site-main hors pages Elementor). */
body .rbs-main.site-main, body:not([class*=elementor-page-]) .rbs-main.site-main { display: block; width: 100%; max-width: none; margin: 0; padding: 0; }
.rbs-container { width: min(1140px, 100% - 2 * var(--rbs-gutter)); margin-inline: auto; }
.rbs-main img, .rbs-sc img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rbs-icon { flex: 0 0 auto; vertical-align: middle; }

/* Liens des composants : pas de soulignement hérité du thème (le texte courant des articles garde le sien) */
.rbs-header a, .rbs-footer a, .rbs-sc a, .rbs-form-wrap a.rbs-more, .rbs-main a:not(.rbs-prose a) { text-decoration: none; }
.rbs-sc a.rbs-btn, .rbs-main a.rbs-btn { color: #fff; }

/* Lien d'évitement */
.rbs-skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; border-radius: 8px; background: var(--rbs-green); color: #fff; font-weight: 700; text-decoration: none; transition: top .15s; }
.rbs-skip-link:focus { top: 12px; color: #fff; }

/* ---------------------------------------------------------------- En-tête */
.rbs-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--rbs-line); }
.rbs-header__inner { width: min(1140px, 100% - 2 * var(--rbs-gutter)); margin-inline: auto; min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.rbs-logo { display: inline-flex; align-items: center; }
.rbs-logo__img { display: block; width: auto; height: 92px; }
.rbs-logo__text { font-weight: 800; font-size: 20px; color: var(--rbs-green); }
.rbs-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.rbs-nav__item { position: relative; display: flex; align-items: center; }
.rbs-nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--rbs-text); font-size: 16px; font-weight: 500; line-height: 24px; text-decoration: none; border-radius: 8px; transition: color .15s; }
.rbs-nav__link:hover, .rbs-nav__link:focus-visible, .rbs-nav__item.is-current > .rbs-nav__link { color: var(--rbs-yellow); }
.rbs-nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 44px; margin-left: -10px; padding: 0; border: 0; background: none; color: var(--rbs-text); cursor: pointer; border-radius: 6px; }
.rbs-nav__toggle:hover, .rbs-nav__toggle:focus { background: none; color: var(--rbs-yellow); }
.rbs-nav__toggle .rbs-icon { transition: transform .2s; }
.rbs-nav__toggle[aria-expanded="true"] .rbs-icon { transform: rotate(180deg); }
.rbs-nav__sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 4px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--rbs-line); border-radius: 12px; box-shadow: var(--rbs-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.rbs-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.rbs-nav__item.has-sub:hover > .rbs-nav__sub, .rbs-nav__item.is-open > .rbs-nav__sub, .rbs-nav__item.has-sub:focus-within > .rbs-nav__sub { opacity: 1; visibility: visible; transform: none; }
.rbs-nav__sublink { display: block; padding: 10px 12px; border-radius: 8px; color: var(--rbs-text); font-size: 15px; font-weight: 500; text-decoration: none; }
.rbs-nav__sublink:hover, .rbs-nav__sublink:focus-visible, .rbs-nav__sublink[aria-current="page"] { background: var(--rbs-soft); color: var(--rbs-green); }
.rbs-nav.has-cta .rbs-nav__list > .rbs-nav__item:last-child { margin-left: 34px; }
.rbs-nav.has-cta .rbs-nav__list > .rbs-nav__item:last-child > .rbs-nav__link { background: var(--rbs-orange); color: #fff; border-radius: 4px; padding: 0 18px; }
.rbs-nav.has-cta .rbs-nav__list > .rbs-nav__item:last-child > .rbs-nav__link:hover { background: #E55E00; color: #fff; }
.rbs-nav.has-cta .rbs-nav__list > .rbs-nav__item:last-child > .rbs-nav__toggle { display: none; }
.rbs-nav.has-cta .rbs-nav__list > .rbs-nav__item:last-child > .rbs-nav__sub { left: auto; right: 0; }
.rbs-burger { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--rbs-teal-light); border-radius: 10px; background: #fff; color: var(--rbs-text); cursor: pointer; }
.rbs-burger:hover, .rbs-burger:focus { background: var(--rbs-soft); color: var(--rbs-text); }
.rbs-burger__close { display: none; }
.rbs-burger[aria-expanded="true"] .rbs-burger__open { display: none; }
.rbs-burger[aria-expanded="true"] .rbs-burger__close { display: inline-flex; }

@media (max-width: 1024px) {
	.rbs-header__inner { min-height: 84px; }
	.rbs-logo__img { height: 64px; }
	.rbs-burger { display: inline-flex; }
	.rbs-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--rbs-line); border-bottom: 1px solid var(--rbs-line); box-shadow: var(--rbs-shadow); max-height: calc(100vh - 84px); overflow-y: auto; }
	.rbs-nav.is-open { display: block; }
	.rbs-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--rbs-gutter) 20px; }
	.rbs-nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--rbs-line); }
	.rbs-nav__link { flex: 1 1 auto; min-height: 52px; padding: 0 4px; font-size: 17px; }
	.rbs-nav__toggle { width: 52px; height: 52px; margin: 0; }
	.rbs-nav__sub { position: static; display: none; width: 100%; min-width: 0; padding: 0 0 10px 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.rbs-nav__item.is-open > .rbs-nav__sub { display: block; }
	.rbs-nav__item.has-sub:hover > .rbs-nav__sub { display: none; }
	.rbs-nav__item.has-sub.is-open:hover > .rbs-nav__sub { display: block; }
	.rbs-nav.has-cta .rbs-nav__list > .rbs-nav__item:last-child { margin: 16px 0 0; border-bottom: 0; }
	.rbs-nav.has-cta .rbs-nav__list > .rbs-nav__item:last-child > .rbs-nav__link { justify-content: center; border-radius: 999px; }
	/* Sous-éléments du bouton mis en avant : toujours visibles sous le bouton */
	.rbs-nav.has-cta .rbs-nav__list > .rbs-nav__item:last-child > .rbs-nav__sub, .rbs-nav.has-cta .rbs-nav__list > .rbs-nav__item.has-sub:last-child:hover > .rbs-nav__sub { display: block; padding: 8px 0 0; text-align: center; }
}

/* ---------------------------------------------------------------- Pied de page */
.rbs-footer { background: var(--rbs-footer); color: #fff; }
.rbs-footer a { color: #fff; }
.rbs-footer__inner { width: min(1140px, 100% - 2 * var(--rbs-gutter)); margin-inline: auto; padding: 56px 0 32px; display: flex; flex-wrap: wrap; gap: 40px; }
.rbs-footer__brand { flex: 0 0 220px; display: flex; flex-direction: column; gap: 12px; }
.rbs-footer-logo { display: inline-block; width: 176px; padding: 14px; background: #fff; border-radius: 20px; }
.rbs-footer-logo__img { display: block; width: 100%; height: auto; }
.rbs-footer-logo__text { color: var(--rbs-green); font-weight: 800; }
.rbs-footer__tagline { margin: 0; font-size: 16px; line-height: 24px; }
.rbs-footer__cols { flex: 1 1 520px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.rbs-footer__title { margin: 0 0 14px; font-size: 22px; font-weight: 700; line-height: 1.2; color: #fff; }
.rbs-footer__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.rbs-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: rgba(255,255,255,.08); transition: background .15s; }
.rbs-footer__social a:hover, .rbs-footer__social a:focus-visible { background: rgba(255,255,255,.2); }
.rbs-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rbs-footer__menu a { display: inline-block; padding: 6px 0; font-size: 14px; line-height: 18px; text-decoration: none; }
.rbs-footer__menu a:hover, .rbs-footer__menu a:focus-visible { text-decoration: underline; text-underline-offset: 3px; color: #E5EBE6; }
.rbs-footer__bottom { width: min(1140px, 100% - 2 * var(--rbs-gutter)); margin-inline: auto; padding: 18px 0 28px; border-top: 1px solid rgba(255,255,255,.15); text-align: right; }
.rbs-footer__bottom p { margin: 0; font-size: 14px; font-weight: 200; font-style: italic; line-height: 24px; }
@media (max-width: 767px) {
	.rbs-footer__brand { flex-basis: 100%; }
	.rbs-footer__cols { grid-template-columns: 1fr; gap: 28px; }
	.rbs-footer__bottom { text-align: left; }
}

/* ---------------------------------------------------------------- Sections et bandeaux */
.rbs-intro { background: var(--rbs-band); padding: 56px 0 48px; }
.rbs-eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--rbs-green); }
.rbs-intro__title { margin: 0; max-width: 860px; font-size: 46px; line-height: 54px; font-weight: 800; color: var(--rbs-text); }
.rbs-intro__lead { margin-top: 14px; max-width: 760px; font-size: 18px; line-height: 28px; color: var(--rbs-muted); }
.rbs-intro__lead p { margin: 0; }
.rbs-intro__tools { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
@media (max-width: 767px) {
	.rbs-intro { padding: 32px 0 28px; }
	.rbs-intro__title { font-size: 32px; line-height: 38px; }
	.rbs-intro__lead { font-size: 17px; line-height: 26px; }
}
.rbs-section { padding: 40px 0 56px; }
.rbs-section--tight { padding: 40px 0 0; }
.rbs-section--soft { background: var(--rbs-band); }
.rbs-section__title { margin: 0 0 24px; font-size: 26px; line-height: 32px; font-weight: 800; color: var(--rbs-text); }
.rbs-empty { padding: 32px; border: 1px dashed var(--rbs-border); border-radius: var(--rbs-radius); text-align: center; color: var(--rbs-muted); }
.rbs-empty__links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; margin: 8px 0 0; }
.rbs-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--rbs-green); font-size: 14px; font-weight: 700; text-decoration: none; }
.rbs-back:hover { text-decoration: underline; color: var(--rbs-green); }

/* Appel à l'action crème */
.rbs-cta { background: var(--rbs-cream); padding: 48px 0 56px; margin-top: 24px; }
.rbs-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.rbs-cta__title { margin: 0 0 6px; font-size: 26px; line-height: 32px; font-weight: 800; }
.rbs-cta__text { margin: 0; color: var(--rbs-muted); font-size: 17px; line-height: 26px; }

/* Boutons et liens */
.rbs-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--rbs-green); color: #fff; font-family: var(--rbs-font); font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer; transition: background .15s; }
.rbs-btn:hover, .rbs-btn:focus { background: var(--rbs-green-dark); color: #fff; }
.rbs-btn--block { width: 100%; }
.rbs-more { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--rbs-green); font-size: 14px; font-weight: 800; text-decoration: none; }
.rbs-more:hover, .rbs-more:focus-visible { color: var(--rbs-green-dark); }
.rbs-more .rbs-icon { transition: transform .2s; }
.rbs-more:hover .rbs-icon { transform: translateX(3px); }
.rbs-main a:focus-visible, .rbs-header a:focus-visible, .rbs-footer a:focus-visible, .rbs-sc a:focus-visible, .rbs-btn:focus-visible, .rbs-header button:focus-visible { outline: 2px solid var(--rbs-yellow); outline-offset: 2px; }

/* Badges, méta, étiquettes */
.rbs-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; font-size: 13px; font-weight: 700; color: var(--rbs-muted); }
.rbs-badge { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: var(--rbs-teal-light); color: var(--rbs-green); font-size: 11px; font-weight: 800; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
a.rbs-badge:hover { background: #C4E6E0; color: var(--rbs-green); }
.rbs-badge--yellow { background: var(--rbs-yellow); color: var(--rbs-text); }
.rbs-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rbs-tags li, .rbs-tags a { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--rbs-teal-light); color: var(--rbs-green); font-size: 12px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.rbs-tags a:hover { background: #C4E6E0; }

/* ---------------------------------------------------------------- Grilles */
.rbs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.rbs-grid.rbs-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rbs-grid.rbs-cols-1 { grid-template-columns: 1fr; }
.rbs-grid--compact { gap: 16px 20px; }
.rbs-grid--asso { gap: 24px; }
@media (max-width: 1024px) { .rbs-grid, .rbs-grid.rbs-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .rbs-grid, .rbs-grid.rbs-cols-2, .rbs-grid.rbs-cols-3 { grid-template-columns: 1fr; } }
.rbs-posts__featured { margin-bottom: 40px; }
.rbs-count { margin: 0 0 16px; color: var(--rbs-muted); font-weight: 700; font-size: 14px; }

/* Carte d'article */
.rbs-card { display: flex; flex-direction: column; gap: 12px; }
.rbs-card__media { display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--rbs-teal-light); }
.rbs-card__media img, .rbs-card__media .rbs-thumb-placeholder { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.rbs-card:hover .rbs-card__media img { transform: scale(1.03); }
.rbs-card.is-document .rbs-card__media { background: var(--rbs-soft); }
.rbs-card.is-document .rbs-card__media img { object-fit: contain; padding: 18px; box-sizing: border-box; filter: drop-shadow(0 4px 12px rgba(17,29,39,.12)); }
.rbs-card__title { margin: 2px 0 0; font-size: 20px; line-height: 27px; font-weight: 800; }
.rbs-card__title a { color: var(--rbs-text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rbs-card__title a:hover { color: var(--rbs-green); }
.rbs-card__excerpt { margin: 0; font-size: 15px; line-height: 23px; color: var(--rbs-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rbs-card .rbs-more { margin-top: auto; }
.rbs-thumb-placeholder { display: block; background: var(--rbs-teal-light); }

/* À la une */
.rbs-featured { display: grid; grid-template-columns: 56% 1fr; border: 1px solid var(--rbs-line); border-radius: 20px; overflow: hidden; background: #fff; }
.rbs-featured__media { display: flex; align-items: center; justify-content: center; min-height: 420px; background: var(--rbs-soft); padding: 28px; }
.rbs-featured__media img { max-height: 520px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(17,29,39,.12)); }
.rbs-featured__body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px; }
.rbs-featured__title { margin: 0; font-size: 32px; line-height: 40px; font-weight: 800; }
.rbs-featured__title a { color: var(--rbs-text); text-decoration: none; }
.rbs-featured__title a:hover { color: var(--rbs-green); }
.rbs-featured__excerpt { margin: 0; font-size: 17px; line-height: 27px; color: var(--rbs-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rbs-featured .rbs-btn { align-self: flex-start; }
@media (max-width: 1024px) {
	.rbs-featured { grid-template-columns: 1fr; }
	.rbs-featured__media { min-height: 0; padding: 20px; }
	.rbs-featured__media img { max-height: 380px; }
	.rbs-featured__body { padding: 24px 20px 28px; }
	.rbs-featured__title { font-size: 24px; line-height: 30px; }
}

/* Carte compacte */
.rbs-compact { display: flex; gap: 16px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--rbs-line); border-radius: 14px; transition: transform .15s, box-shadow .15s; }
.rbs-compact:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(17,29,39,.08); }
.rbs-compact__media { flex: 0 0 112px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--rbs-teal-light); }
.rbs-compact__media img, .rbs-compact__media .rbs-thumb-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.rbs-compact__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rbs-compact__title { margin: 0; font-size: 16px; line-height: 22px; font-weight: 800; }
.rbs-compact__title a { color: var(--rbs-text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rbs-compact__title a:hover { color: var(--rbs-green); }
.rbs-compact time { font-size: 13px; color: var(--rbs-muted); font-weight: 600; }
.rbs-compact .rbs-more { min-height: 28px; }

/* Carte association */
.rbs-asso { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rbs-line); border-radius: var(--rbs-radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.rbs-asso:hover { box-shadow: var(--rbs-shadow); transform: translateY(-2px); }
.rbs-asso__logo { display: flex; align-items: center; justify-content: center; height: 170px; padding: 20px 24px; border-bottom: 1px solid var(--rbs-line); background: #fff; color: var(--rbs-teal); }
.rbs-asso__logo img { max-height: 130px; width: auto; max-width: 100%; object-fit: contain; }
.rbs-asso__logo.is-empty { background: var(--rbs-band); }
.rbs-asso__body { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; padding: 20px; }
.rbs-asso__title { margin: 0; font-size: 18px; line-height: 24px; font-weight: 800; }
.rbs-asso__title a { color: var(--rbs-text); text-decoration: none; }
.rbs-asso__title a:hover { color: var(--rbs-green); }
.rbs-asso__excerpt { margin: 0; font-size: 15px; line-height: 22px; color: var(--rbs-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rbs-asso .rbs-more { margin-top: auto; }

/* Équipe et financeurs */
.rbs-equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.rbs-person { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 22px; background: #fff; border: 1px solid var(--rbs-line); border-radius: var(--rbs-radius); }
.rbs-person__photo { border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--rbs-teal-light); }
.rbs-person__photo img, .rbs-person__photo .rbs-thumb-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.rbs-person__name, .rbs-partner__name { margin: 0 0 8px; font-size: 20px; line-height: 26px; font-weight: 800; }
.rbs-person__text, .rbs-partner__text { font-size: 15px; line-height: 23px; color: var(--rbs-muted); }
.rbs-person__text p:last-child, .rbs-partner__text p:last-child { margin-bottom: 0; }
.rbs-financeur { display: flex; flex-direction: column; gap: 20px; }
.rbs-partner { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; padding: 24px; background: #fff; border: 1px solid var(--rbs-line); border-radius: var(--rbs-radius); }
.rbs-partner__logo { display: flex; align-items: center; justify-content: center; height: 140px; padding: 12px; background: #fff; }
.rbs-partner__logo img { max-height: 116px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 767px) {
	.rbs-equipe { grid-template-columns: 1fr; }
	.rbs-person { grid-template-columns: 96px 1fr; padding: 16px; gap: 14px; }
	.rbs-partner { grid-template-columns: 1fr; gap: 12px; }
	.rbs-partner__logo { justify-content: flex-start; height: auto; padding: 0; }
}

/* Agenda */
.rbs-agenda { display: flex; flex-direction: column; gap: 14px; }
.rbs-event { display: flex; gap: 16px; align-items: flex-start; padding: 16px; background: #fff; border: 1px solid var(--rbs-line); border-radius: 14px; }
.rbs-event__date { flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 72px; border-radius: 12px; background: var(--rbs-teal-light); color: var(--rbs-green); text-align: center; }
.rbs-event__day { font-size: 26px; line-height: 1; font-weight: 800; }
.rbs-event__month { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.rbs-event__title { margin: 0 0 6px; font-size: 17px; line-height: 23px; font-weight: 800; }
.rbs-event__title a { color: var(--rbs-text); text-decoration: none; }
.rbs-event__title a:hover { color: var(--rbs-green); }
.rbs-event__line { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: 14px; color: var(--rbs-muted); }
.rbs-event-facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--rbs-muted); font-weight: 700; }
.rbs-event-facts li { display: inline-flex; align-items: center; gap: 6px; }

/* Témoignages */
.rbs-quotes { position: relative; }
.rbs-quotes__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.rbs-quotes__track::-webkit-scrollbar { display: none; }
.rbs-quote { scroll-snap-align: start; margin: 0; padding: 4px 2px; display: flex; flex-direction: column; gap: 12px; }
.rbs-quote__title { margin: 0; font-size: 17px; line-height: 24px; font-weight: 800; color: var(--rbs-text); }
.rbs-quote__text { margin: 0; padding: 0; border: 0; font-size: 15px; line-height: 24px; font-style: italic; color: var(--rbs-muted); }
.rbs-quote__text p { margin: 0 0 8px; }
.rbs-quote__who { display: flex; flex-direction: column; font-size: 15px; }
.rbs-quote__who span { color: var(--rbs-muted); font-size: 14px; }
.rbs-quotes__nav { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.rbs-quotes__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--rbs-border); border-radius: 999px; background: #fff; color: var(--rbs-green); font-size: 22px; line-height: 1; cursor: pointer; }
.rbs-quotes__btn:hover, .rbs-quotes__btn:focus { background: var(--rbs-soft); color: var(--rbs-green); border-color: var(--rbs-green); }
.rbs-quotes__status { font-size: 14px; font-weight: 700; color: var(--rbs-muted); min-width: 56px; text-align: center; }

/* Pagination */
.rbs-pagination { margin-top: 36px; }
.rbs-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.rbs-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--rbs-border); border-radius: 999px; color: var(--rbs-text); font-weight: 700; text-decoration: none; }
.rbs-pagination a.page-numbers:hover { border-color: var(--rbs-green); color: var(--rbs-green); }
.rbs-pagination .page-numbers.current { background: var(--rbs-green); border-color: var(--rbs-green); color: #fff; }
.rbs-pagination .page-numbers.dots { border: 0; min-width: 32px; }

/* Recherche */
.rbs-search { display: flex; align-items: center; gap: 4px; width: 340px; max-width: 100%; min-height: 48px; padding: 0 4px 0 16px; background: #fff; border: 1px solid var(--rbs-border); border-radius: 999px; color: var(--rbs-muted); }
.rbs-search:focus-within { border-color: var(--rbs-green); box-shadow: 0 0 0 3px rgba(84,188,179,.25); }
.rbs-search input[type="search"] { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 8px; border: 0 !important; background: transparent; font-family: var(--rbs-font); font-size: 15px; color: var(--rbs-text); box-shadow: none !important; outline: 0; }
.rbs-search button { height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--rbs-green); color: #fff; font-family: var(--rbs-font); font-size: 14px; font-weight: 800; cursor: pointer; }
.rbs-search button:hover, .rbs-search button:focus { background: var(--rbs-green-dark); color: #fff; }
.rbs-results { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.rbs-result { display: flex; gap: 20px; align-items: flex-start; padding: 18px; background: #fff; border: 1px solid var(--rbs-line); border-radius: var(--rbs-radius); }
.rbs-result__media { flex: 0 0 160px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--rbs-teal-light); }
.rbs-result__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rbs-result__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.rbs-result__title { margin: 0; font-size: 20px; line-height: 27px; font-weight: 800; }
.rbs-result__title a { color: var(--rbs-text); text-decoration: none; }
.rbs-result__title a:hover { color: var(--rbs-green); }
.rbs-result__excerpt { margin: 0; font-size: 15px; line-height: 23px; color: var(--rbs-muted); }
@media (max-width: 767px) { .rbs-result { flex-direction: column; } .rbs-result__media { width: 100%; flex-basis: auto; } }

/* ---------------------------------------------------------------- Article et fiche */
.rbs-article__head { padding-bottom: 40px; }
.rbs-article__title { margin: 0 0 12px; max-width: 900px; font-size: 42px; line-height: 50px; font-weight: 800; }
@media (max-width: 767px) { .rbs-article__title { font-size: 30px; line-height: 36px; } }
.rbs-article__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 48px 0 64px; align-items: start; }
.rbs-article__layout.no-media { grid-template-columns: minmax(0, 760px); }
.rbs-article__media { margin: 0; position: sticky; top: 24px; border-radius: 18px; overflow: hidden; background: var(--rbs-soft); }
.rbs-article__media img { display: block; width: 100%; height: auto; }
.rbs-article__media.is-document { padding: 24px; }
.rbs-article__media.is-document img { filter: drop-shadow(0 6px 16px rgba(17,29,39,.14)); }
@media (max-width: 1024px) { .rbs-article__layout { grid-template-columns: 1fr; gap: 28px; padding: 28px 0 48px; } .rbs-article__media { position: static; } }
.rbs-prose { font-size: 17px; line-height: 1.7; color: var(--rbs-text); }
.rbs-prose > *:first-child { margin-top: 0; }
.rbs-prose h2 { margin: 1.6em 0 .5em; font-size: 26px; line-height: 1.25; font-weight: 800; }
.rbs-prose h3 { margin: 1.4em 0 .4em; font-size: 20px; line-height: 1.3; font-weight: 800; }
.rbs-prose a { color: var(--rbs-green); font-weight: 700; text-underline-offset: 3px; }
.rbs-prose img { border-radius: 12px; height: auto; }
.rbs-prose figure { margin: 1.5em 0; }
.rbs-prose figcaption { font-size: 14px; color: var(--rbs-muted); text-align: center; margin-top: 8px; }
.rbs-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--rbs-teal); color: var(--rbs-muted); font-style: italic; }
.rbs-prose .wp-block-button__link { border-radius: 999px; font-weight: 800; text-decoration: none; }
.rbs-prose ul, .rbs-prose ol { padding-left: 1.3em; }
.rbs-prose li { margin-bottom: .35em; }

.rbs-asso-page__headin { display: flex; gap: 32px; align-items: center; }
.rbs-asso-page__logo { flex: 0 0 200px; height: 200px; display: flex; align-items: center; justify-content: center; padding: 20px; background: #fff; border: 1px solid var(--rbs-line); border-radius: 20px; color: var(--rbs-teal); }
.rbs-asso-page__logo img { max-height: 160px; width: auto; max-width: 100%; object-fit: contain; }
.rbs-asso-page__id { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rbs-asso-page__id .rbs-back { margin: 0; }
.rbs-asso-page__id .rbs-intro__lead { margin: 0; }
.rbs-asso-page__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding: 48px 0 64px; align-items: start; }
.rbs-asso-page__side { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 1024px) { .rbs-asso-page__layout { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .rbs-asso-page__headin { flex-direction: column; align-items: flex-start; } .rbs-asso-page__logo { flex-basis: auto; width: 140px; height: 140px; } }
.rbs-panel { padding: 24px; background: #fff; border: 1px solid var(--rbs-line); border-radius: 18px; }
.rbs-panel__title { margin: 0 0 12px; font-size: 20px; line-height: 26px; font-weight: 800; }
.rbs-panel__text { margin: 0 0 16px; font-size: 14px; line-height: 21px; color: var(--rbs-muted); }
.rbs-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rbs-contact-list li { display: flex; gap: 14px; align-items: center; }
.rbs-contact-list li > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.rbs-contact-list__icon { flex: 0 0 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--rbs-teal-light); color: var(--rbs-green); }
.rbs-contact-list__label { font-size: 13px; font-weight: 700; color: var(--rbs-muted); }
.rbs-contact-list a { color: var(--rbs-text); text-decoration: none; }
.rbs-contact-list a:hover { color: var(--rbs-green); text-decoration: underline; }

/* ---------------------------------------------------------------- Formulaires */
.rbs-form { margin: 0; }
.rbs-fields { display: flex; flex-wrap: wrap; gap: 18px 16px; }
.rbs-field { flex: 1 1 100%; min-width: 0; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; }
.rbs-field.w-50 { flex-basis: calc(50% - 8px); }
.rbs-field.w-33 { flex-basis: calc(33.333% - 11px); }
.rbs-field.w-66 { flex-basis: calc(66.666% - 6px); }
.rbs-field.w-30 { flex-basis: calc(30% - 8px); }
.rbs-field.w-25, .rbs-field.w-20 { flex-basis: calc(20% - 13px); }
@media (max-width: 767px) { .rbs-field.w-50, .rbs-field.w-33, .rbs-field.w-66, .rbs-field.w-30, .rbs-field.w-25, .rbs-field.w-20 { flex-basis: 100%; } }
.rbs-field__label { padding: 0; font-size: 15px; font-weight: 700; color: var(--rbs-text); }
.rbs-req { color: #C2410C; }
.rbs-form input[type="text"], .rbs-form input[type="email"], .rbs-form input[type="tel"], .rbs-form input[type="url"], .rbs-form input[type="number"], .rbs-form textarea, .rbs-form select {
	width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--rbs-border); border-radius: 10px; background: #fff; color: var(--rbs-text); font-family: var(--rbs-font); font-size: 15px; line-height: 1.4; box-shadow: none; transition: border-color .15s, box-shadow .15s;
}
.rbs-form textarea { min-height: 96px; resize: vertical; }
.rbs-form input:focus, .rbs-form textarea:focus, .rbs-form select:focus { border-color: var(--rbs-green); box-shadow: 0 0 0 3px rgba(84,188,179,.25); outline: 0; }
.rbs-form ::placeholder { color: #7A8784; }
.rbs-select { position: relative; display: block; }
.rbs-select select { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.rbs-select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--rbs-green); border-bottom: 2px solid var(--rbs-green); transform: rotate(45deg); pointer-events: none; }
.rbs-field.has-error input, .rbs-field.has-error textarea, .rbs-field.has-error select { border-color: var(--rbs-error); }
.rbs-field__error { margin: 0; color: var(--rbs-error); font-size: 14px; font-weight: 700; }
.rbs-field--html .rb-form-step, .rbs-field--html .rbs-form-step { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--rbs-line); }
.rbs-fields > .rbs-field--html:first-child .rb-form-step, .rbs-fields > .rbs-field--html:first-child .rbs-form-step { margin-top: 0; padding-top: 0; border-top: 0; }
.rb-form-step__title { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rbs-green); }
.rb-form-step__sub { font-size: 14px; color: var(--rbs-muted); }
.rbs-field--choices legend { margin-bottom: 8px; }
.rbs-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rbs-pill { position: relative; display: inline-flex; max-width: 100%; }
.rbs-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.rbs-pill label { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; max-width: 100%; box-sizing: border-box; padding: 8px 14px; border: 1px solid var(--rbs-border); border-radius: 19px; background: #fff; color: var(--rbs-text); font-size: 14px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: background .15s, border-color .15s; }
.rbs-pill label:hover { background: var(--rbs-soft); }
.rbs-pill input:checked + label { background: var(--rbs-green); border-color: var(--rbs-green); color: #fff; }
.rbs-pill input:checked + label::before { content: "✓"; font-size: 12px; font-weight: 800; }
.rbs-pill input:focus-visible + label { outline: 2px solid var(--rbs-yellow); outline-offset: 2px; }
.rbs-field--accept { flex-direction: row; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.rbs-field--accept input { flex: 0 0 20px; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--rbs-green); }
.rbs-field--accept label { flex: 1 1 0; font-size: 14px; line-height: 21px; color: var(--rbs-muted); font-weight: 500; }
.rbs-field--accept label a { color: var(--rbs-green); font-weight: 700; }
.rbs-field--accept .rbs-field__error { flex-basis: 100%; }
.rbs-form__required { margin: 16px 0 12px; font-size: 13px; color: var(--rbs-muted); }
.rbs-form__required span { color: #C2410C; }
.rbs-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rbs-form-errors { margin-bottom: 20px; padding: 16px 18px; border: 1px solid #F3C4BF; border-radius: 12px; background: #FDF1EF; color: var(--rbs-error); }
.rbs-form-errors p { margin: 0 0 6px; }
.rbs-form-errors ul { margin: 0; padding-left: 1.2em; }
.rbs-form-errors a { color: var(--rbs-error); font-weight: 700; }
.rbs-form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; border-radius: 14px; background: var(--rbs-soft); color: var(--rbs-green); }
.rbs-form-success p { margin: 0; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--rbs-text); }

/* ---------------------------------------------------------------- Validation des messages des fiches */
.rbs-validation { display: flex; flex-direction: column; gap: 20px; }
.rbs-validation > * { width: 100%; max-width: 760px; box-sizing: border-box; }
.rbs-validation__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.rbs-validation__table, .rbs-validation__table th, .rbs-validation__table td { border: 0; background: none !important; }
.rbs-validation__table th, .rbs-validation__table td { padding: 10px 0; border-bottom: 1px solid var(--rbs-line); text-align: left; vertical-align: top; line-height: 1.5; }
.rbs-validation__table tr:last-child th, .rbs-validation__table tr:last-child td { border-bottom: 0; }
.rbs-validation__table th { width: 32%; padding-right: 16px; color: var(--rbs-muted); font-weight: 700; }
.rbs-validation__table a { color: var(--rbs-green); overflow-wrap: anywhere; }
.rbs-validation__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.rbs-btn--ghost { background: #fff; color: var(--rbs-green); border: 1.5px solid var(--rbs-green); }
.rbs-btn--ghost:hover, .rbs-btn--ghost:focus { background: var(--rbs-soft); color: var(--rbs-green-dark); }
