/* Blocs La Richebourgeoise. Les couleurs viennent du thème (préréglages), avec des valeurs de secours. */
.rb-bandeau,
.rb-etiquettes,
.rb-producteurs,
.rb-mois,
.rb-formulaire {
	--rb-encre: var(--wp--preset--color--encre, #1d1a1b);
	--rb-taupe: var(--wp--preset--color--taupe, #625855);
	--rb-filet: var(--wp--preset--color--filet, #e5dacd);
	--rb-sable: var(--wp--preset--color--sable, #f6efe4);
	--rb-pin: var(--wp--preset--color--pin, #ead6b3);
	--rb-rose: var(--wp--preset--color--rose, #f9dde7);
	--rb-framboise: var(--wp--preset--color--framboise, #be1f57);
	--rb-brique: var(--wp--preset--color--brique, #94372a);
	--rb-titre: var(--wp--preset--font-family--caprasimo, Georgia, serif);
}

.rb-vide { padding: 1rem; border: 1.5px dashed #c9b9a8; border-radius: 12px; font-size: 0.9rem; }

/* Bandeau */
.rb-bandeau { background: var(--rb-brique); color: #fff; text-align: center; padding: 0.45rem 1rem; }
.rb-bandeau p { margin: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.4; }

/* Coordonnées et statut */
.rb-coordonnees p { margin: 0 0 0.35rem; }
.rb-coordonnees a { text-decoration: none; }
.rb-coordonnees a:hover { text-decoration: underline; }
.rb-statut { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 0.9375rem; padding: 0.45rem 0.9rem; border-radius: 999px; margin: 0.4rem 0 0; }
.rb-statut__point { width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: none; }
.rb-statut.est-ouvert { background: #e3f1e7; color: #1f5233; }
.rb-statut.est-ouvert .rb-statut__point { background: #2e6a44; }
.rb-statut.est-ferme { background: #f6e4e1; color: #7a2a1f; }
.rb-statut.est-ferme .rb-statut__point { background: #b3261e; }
.rb-pied .rb-statut { font-size: 0.8125rem; }

/* Horaires de la semaine */
.rb-horaires { width: 100%; border-collapse: collapse; font-size: 1rem; }
.rb-horaires th, .rb-horaires td { padding: 0.5rem 0; border-bottom: 1px dashed var(--rb-filet, #e5dacd); text-align: left; font-weight: 400; }
.rb-horaires td { text-align: right; font-variant-numeric: tabular-nums; }
.rb-horaires tr.est-aujourdhui th, .rb-horaires tr.est-aujourdhui td { font-weight: 700; }
.rb-horaires tr.est-aujourdhui th::after { content: " · aujourd’hui"; font-weight: 400; color: var(--wp--preset--color--taupe, #625855); font-size: 0.85em; }
.rb-exceptions { margin-top: 1.25rem; border: 1.5px dashed var(--wp--preset--color--brique, #94372a); border-radius: 14px; padding: 0.9rem 1.1rem; }
.rb-exceptions__titre { margin: 0 0 0.5rem; font-weight: 700; }
.rb-exceptions ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.3rem; font-size: 0.9375rem; }
.rb-exceptions li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.rb-exceptions--visuel { border-style: solid; border-color: var(--wp--preset--color--filet, #e5dacd); background: #fff; container-type: inline-size; }
/* Carte compacte : affiche centrée quand la carte est étroite, vignette à côté de la période sinon */
.rb-exceptions__media { display: grid; justify-items: center; gap: 0.9rem; text-align: center; }
.rb-exceptions__media .rb-exceptions__lien { width: min(100%, 20rem); max-width: none; }
.rb-exceptions__media .rb-exceptions__visuel { box-shadow: 0 6px 18px rgba(29, 26, 27, 0.12); transition: transform 0.3s ease; }
.rb-exceptions__media .rb-exceptions__lien:hover .rb-exceptions__visuel { transform: scale(1.02); }
.rb-exceptions__periode { margin: 0; color: var(--wp--preset--color--taupe, #625855); font-size: 0.9375rem; }
.rb-exceptions__agrandir { margin: 0.75rem 0 0; font-weight: 600; font-size: 0.9375rem; }
@container (min-width: 27rem) {
	.rb-exceptions__media { grid-template-columns: 11.5rem minmax(0, 1fr); justify-items: start; align-items: center; gap: 1.25rem; text-align: left; }
	.rb-exceptions__media .rb-exceptions__lien { width: 100%; }
}
.rb-exceptions__lien { display: block; max-width: 26rem; }
.rb-exceptions__visuel { display: block; width: 100%; height: auto; border-radius: 10px; }
.rb-exceptions__lien:focus-visible { outline: 2.5px solid var(--wp--preset--color--framboise, #be1f57); outline-offset: 3px; border-radius: 10px; }
.rb-exceptions--large { margin-top: 0; border: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 26rem) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.rb-exceptions--large:not(:has(.rb-exceptions__image)) { grid-template-columns: minmax(0, 36rem); }
.rb-exceptions--large .rb-exceptions__detail ul, .rb-exceptions--large > ul { columns: 2 15rem; column-gap: 2rem; display: block; }
.rb-exceptions--large li { break-inside: avoid; padding: 0.45rem 0; border-bottom: 1px dashed var(--rb-filet, #e5dacd); }
@media (max-width: 760px) { .rb-exceptions--large { grid-template-columns: 1fr; } }
.rb-exceptions__texte { margin-top: 0.8rem; }
.rb-exceptions__texte summary { cursor: pointer; font-weight: 600; font-size: 0.9375rem; }
.rb-exceptions__texte ul { margin-top: 0.6rem; }

/* Calendrier d'un mois */
.rb-mois__titre { font-family: var(--rb-titre); font-size: 1.6rem; margin: 0 0 0.75rem; }
.rb-mois__entetes, .rb-mois__grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.rb-mois__entetes li { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rb-taupe); padding: 0.25rem 0.4rem; }
.rb-mois__entetes { margin-bottom: 6px; }
.rb-mois__jour { background: var(--rb-sable); border-radius: 10px; padding: 0.55rem 0.6rem 0.65rem; min-height: 4.6rem; display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; line-height: 1.3; }
.rb-mois__date { font-weight: 800; font-size: 1rem; }
.rb-mois__nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rb-mois__heures { font-variant-numeric: tabular-nums; display: grid; }
.rb-mois__jour.est-ferme { background: #fff; border: 1.5px solid var(--rb-filet); color: var(--rb-taupe); }
.rb-mois__jour.est-exceptionnel { box-shadow: inset 0 0 0 2px var(--rb-framboise); }
.rb-mois__legende { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--rb-taupe); margin: 0.75rem 0 0; }
.rb-mois__pastille { width: 1rem; height: 1rem; border-radius: 4px; box-shadow: inset 0 0 0 2px var(--rb-framboise); }
@media (max-width: 700px) {
	.rb-mois__entetes, .rb-mois__vide { display: none; }
	.rb-mois__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rb-mois__nom { position: static; width: auto; height: auto; clip: auto; text-transform: capitalize; }
	.rb-mois__jour { min-height: 0; }
}

/* Exemples de paniers : cartes en forme d'étiquette d'épicerie */
.rb-etiquettes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(16.5rem, calc(33.33% - 0.75rem))), 1fr)); gap: 1.1rem; }
.rb-etiquette { position: relative; background: #fff; border: 1.5px solid var(--rb-encre); border-radius: 6px 24px 24px 6px; padding: 1.4rem 1.4rem 1.25rem 2.4rem; display: flex; flex-direction: column; gap: 0.6rem; }
.rb-etiquette::before { content: ""; position: absolute; left: 0.85rem; top: 1.55rem; width: 0.7rem; height: 0.7rem; border-radius: 50%; border: 1.5px solid var(--rb-encre); background: var(--rb-sable); }
.rb-etiquette__photo { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.rb-etiquette__titre { margin: 0; font-family: var(--rb-titre); font-weight: 400; font-size: 1.45rem; line-height: 1.1; }
.rb-etiquette__compo { margin: 0; padding-left: 1em; color: var(--rb-taupe); font-size: 0.9375rem; display: grid; gap: 0.15rem; }
.rb-etiquette__mentions { margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.rb-etiquette__mentions span { font-size: 0.75rem; font-weight: 700; border-radius: 999px; padding: 0.2rem 0.6rem; background: var(--rb-sable); }
.rb-etiquette__pied { margin: auto 0 0; padding-top: 0.4rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 0.5rem 1rem; flex-wrap: wrap; }
.rb-etiquette__prix { font-family: var(--rb-titre); font-size: 1.75rem; line-height: 1; }
.rb-etiquette__cta { font-weight: 700; font-size: 0.875rem; color: var(--rb-framboise); white-space: nowrap; }
.rb-etiquette__cta::after { content: " →"; }
/* Carte entièrement cliquable : le lien du titre couvre la carte. */
.rb-etiquette--cliquable { transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.rb-etiquette__lien { color: inherit; text-decoration: none; }
.rb-etiquette__lien::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.rb-etiquette__lien:focus-visible { outline: none; }
.rb-etiquette--cliquable:hover { border-color: var(--rb-framboise); box-shadow: 0 10px 24px rgba(29, 26, 27, 0.12); transform: translateY(-2px); }
.rb-etiquette--cliquable:hover .rb-etiquette__cta { text-decoration: underline; }
.rb-etiquette--cliquable:has(.rb-etiquette__lien:focus-visible) { outline: 2.5px solid var(--rb-framboise); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .rb-etiquette--cliquable { transition: none; } .rb-etiquette--cliquable:hover { transform: none; } }
.rb-formulaire__modele { margin: 0 0 1rem; font-weight: 600; color: var(--rb-brique); }
.rb-formulaire__modele:empty { display: none; }
.rb-etiquette__prix span { font-family: inherit; font-size: 0.8rem; font-family: var(--wp--preset--font-family--figtree, sans-serif); color: var(--rb-taupe); }
.rb-etiquette--sur-mesure { background: var(--rb-framboise); border-color: var(--rb-framboise); color: #fff; }
.rb-etiquette--sur-mesure::before { background: var(--rb-framboise); border-color: #fff; }
.rb-etiquette--sur-mesure .rb-etiquette__compo { color: #ffe3ec; }
.rb-etiquette__action { margin: auto 0 0; }
.rb-etiquette__action .wp-element-button { background: #fff; color: var(--rb-encre); }
.rb-etiquette__action .wp-element-button:hover { background: var(--rb-encre); color: #fff; }

/* Producteurs */
.rb-filtres { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.rb-filtre { font: inherit; font-weight: 600; font-size: 0.875rem; border: 1.5px solid var(--rb-filet); background: #fff; color: var(--rb-encre); border-radius: 999px; padding: 0.45rem 0.95rem; cursor: pointer; }
.rb-filtre[aria-pressed="true"] { background: var(--rb-encre); border-color: var(--rb-encre); color: #fff; }
.rb-filtre:focus-visible { outline: 2.5px solid var(--rb-framboise); outline-offset: 2px; }
.rb-producteurs__grille { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 0.9rem; }
.rb-producteur { background: #fff; border: 1.5px solid var(--rb-filet); border-radius: 16px; padding: 1.1rem 1.15rem; display: grid; gap: 0.3rem; align-content: start; }
.rb-producteur[hidden] { display: none; }
.rb-producteur__lieu { margin: 0; font-size: 0.8125rem; font-weight: 700; color: var(--rb-brique); }
.rb-producteur__nom { margin: 0; font-family: var(--rb-titre); font-weight: 400; font-size: 1.3rem; line-height: 1.12; }
.rb-producteur__nom a { text-decoration: none; }
.rb-producteur__nom a:hover { text-decoration: underline; }
.rb-producteur__texte { margin: 0; font-size: 0.9375rem; color: var(--rb-taupe); }
.rb-producteurs-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(13rem, calc(25% - 1px))), 1fr)); border-top: 1px solid var(--wp--preset--color--filet, #e5dacd); }
.rb-producteurs-liste li { padding: 0.85rem 0.75rem 0.85rem 0; border-bottom: 1px solid var(--wp--preset--color--filet, #e5dacd); display: grid; }
.rb-producteurs-liste span { font-size: 0.875rem; color: var(--wp--preset--color--taupe, #625855); }

/* Formulaires */
.rb-formulaire { background: var(--rb-sable); border-radius: 20px; padding: clamp(1.1rem, 3vw, 1.9rem); }
.rb-formulaire__titre { margin: 0 0 0.4rem; font-size: clamp(1.6rem, 3vw, 2rem); }
.rb-formulaire__intro { margin: 0 0 1.1rem; color: var(--rb-taupe); }
.rb-formulaire__champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.rb-champ { margin: 0; display: grid; gap: 0.35rem; min-width: 0; border: 0; padding: 0; }
.rb-champ--large { grid-column: 1 / -1; }
.rb-champ label, .rb-champ legend { font-size: 0.875rem; font-weight: 700; padding: 0; }
.rb-champ legend { margin-bottom: 0.4rem; }
.rb-requis { color: var(--rb-framboise); }
.rb-champ input, .rb-champ select, .rb-champ textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; color: var(--rb-encre); background: #fff; border: 1.5px solid var(--rb-filet); border-radius: 10px; padding: 0.65rem 0.75rem; }
.rb-champ textarea { resize: vertical; min-height: 6rem; }
.rb-champ input:focus-visible, .rb-champ select:focus-visible, .rb-champ textarea:focus-visible { outline: 2.5px solid var(--rb-framboise); outline-offset: 1px; border-color: transparent; }
.rb-puces { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rb-puce { position: relative; cursor: pointer; }
.rb-puce input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rb-puce span { display: inline-block; border: 1.5px solid var(--rb-filet); background: #fff; border-radius: 999px; padding: 0.45rem 0.95rem; font-size: 0.875rem; font-weight: 600; }
.rb-puce input:checked + span { background: var(--rb-encre); border-color: var(--rb-encre); color: #fff; }
.rb-puce input:focus-visible + span { outline: 2.5px solid var(--rb-framboise); outline-offset: 2px; }
.rb-formulaire__consent { font-size: 0.875rem; color: var(--rb-taupe); margin: 1.1rem 0 0.4rem; }
.rb-formulaire__consent input { margin-right: 0.4rem; }
.rb-formulaire__note { font-size: 0.8125rem; color: var(--rb-taupe); margin: 0 0 0.6rem; }
.rb-formulaire__piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rb-formulaire { scroll-margin-top: 7rem; }
.rb-formulaire__ok, .rb-formulaire__erreur { border-radius: 12px; padding: 0.9rem 1rem; font-weight: 600; margin: 0 0 1rem; }

/* Remerciement après envoi */
.rb-formulaire--merci { background: #fff; border: 1.5px solid var(--rb-filet); }
.rb-merci { display: grid; gap: 0.9rem; justify-items: start; outline: none; }
.rb-merci > * { margin: 0; }
.rb-merci__visuel { position: relative; width: 72px; height: 72px; }
.rb-merci__panier { display: block; animation: rb-pop 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.rb-merci__paillettes i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--rb-framboise); opacity: 0; animation: rb-paillette 1.1s ease-out 0.15s forwards; }
.rb-merci__paillettes i:nth-child(3n) { background: #d9a441; width: 5px; height: 5px; }
.rb-merci__paillettes i:nth-child(3n+1) { background: var(--rb-pin); }
.rb-merci__paillettes i:nth-child(1) { --x: 46px; --y: -30px; }
.rb-merci__paillettes i:nth-child(2) { --x: 52px; --y: 8px; }
.rb-merci__paillettes i:nth-child(3) { --x: 38px; --y: 40px; }
.rb-merci__paillettes i:nth-child(4) { --x: 6px; --y: 54px; }
.rb-merci__paillettes i:nth-child(5) { --x: -30px; --y: 44px; }
.rb-merci__paillettes i:nth-child(6) { --x: -52px; --y: 14px; }
.rb-merci__paillettes i:nth-child(7) { --x: -48px; --y: -22px; }
.rb-merci__paillettes i:nth-child(8) { --x: -20px; --y: -50px; }
.rb-merci__paillettes i:nth-child(9) { --x: 16px; --y: -54px; }
.rb-merci__paillettes i:nth-child(10) { --x: 62px; --y: -8px; }
.rb-merci__paillettes i:nth-child(11) { --x: -62px; --y: 2px; }
.rb-merci__paillettes i:nth-child(12) { --x: 28px; --y: 58px; }
@keyframes rb-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rb-paillette {
	0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
	35% { opacity: 1; }
	100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.rb-merci__panier, .rb-merci__paillettes i { animation: none; }
}
.rb-merci__surtitre { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--rb-brique); }
.rb-merci__titre { font-family: var(--rb-titre); font-weight: 400; font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.1; text-wrap: balance; }
.rb-merci__note { color: var(--rb-taupe); }
.rb-merci__recap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); gap: 0.6rem; width: 100%; }
.rb-merci__recap div { background: var(--rb-sable); border-radius: 12px; padding: 0.65rem 0.85rem; }
.rb-merci__recap dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-taupe); }
.rb-merci__recap dd { margin: 0.15rem 0 0; font-weight: 600; }
.rb-merci__soustitre { font-weight: 700; margin-top: 0.4rem !important; }
.rb-merci__suite { counter-reset: rb-suite; list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.rb-merci__suite li { counter-increment: rb-suite; display: grid; grid-template-columns: 2rem 1fr; gap: 0.6rem; align-items: baseline; }
.rb-merci__suite li::before { content: counter(rb-suite); font-family: var(--rb-titre); font-size: 1.4rem; color: var(--rb-framboise); line-height: 1; }
.rb-merci__actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; margin-top: 0.4rem !important; }
.rb-merci__lien { font-weight: 600; }
.rb-merci__aide { font-size: 0.875rem; color: var(--rb-taupe); }
.rb-formulaire__ok { background: #fff; border: 1.5px solid #2e6a44; color: #1f5233; }
.rb-formulaire__erreur { background: #fff; border: 1.5px solid #b3261e; color: #7a2a1f; }
@media (max-width: 640px) {
	.rb-formulaire__champs { grid-template-columns: 1fr; }
}

/* Les 7 prochains jours (exceptions comprises), aujourd'hui surligné */
.rb-jours { background: #fff; border: 1.5px solid var(--wp--preset--color--filet, #e5dacd); border-radius: 18px; padding: clamp(1rem, 2.5vw, 1.4rem) clamp(1rem, 2.5vw, 1.5rem); box-shadow: 0 10px 30px rgba(29, 26, 27, 0.07); }
.rb-jours__titre { margin: 0 0 0.5rem; font-family: var(--wp--preset--font-family--caprasimo, serif); font-size: 1.35rem; line-height: 1.2; }
.rb-jours ul { list-style: none; margin: 0; padding: 0; }
.rb-jours li { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.3rem 1rem; padding: 0.6rem 0.75rem; margin-inline: -0.75rem; border-radius: 12px; border-bottom: 1px dashed var(--wp--preset--color--filet, #e5dacd); }
.rb-jours li:last-child { border-bottom: 0; }
.rb-jours li.est-aujourdhui { background: var(--wp--preset--color--sable, #f6efe4); border-bottom-color: transparent; }
.rb-jours__nom { font-weight: 600; }
.rb-jours li.est-aujourdhui .rb-jours__nom { font-weight: 800; }
.rb-jours__nom small { font-size: 0.875rem; font-weight: 400; color: var(--wp--preset--color--taupe, #625855); }
.rb-jours__special { display: inline-block; margin-left: 0.3rem; padding: 0.12rem 0.5rem; border-radius: 999px; background: var(--wp--preset--color--rose, #f9dde7); color: var(--wp--preset--color--framboise-fonce, #9c1647); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 0.12em; }
.rb-jours__suite { margin: 0.75rem 0 0; font-size: 0.9375rem; font-weight: 600; }
.rb-jours__habituels { margin-top: 0.75rem; padding-top: 0.7rem; border-top: 1px solid var(--wp--preset--color--filet, #e5dacd); }
.rb-jours__habituels summary { cursor: pointer; font-size: 0.9375rem; font-weight: 600; }
.rb-jours__habituels .rb-horaires { margin-top: 0.3rem; font-size: 0.9375rem; }

/* Créneaux d'un jour : un morceau par créneau, jamais coupé au milieu */
.rb-creneaux { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.15rem 0.45rem; font-variant-numeric: tabular-nums; }
.rb-creneaux span { white-space: nowrap; }
.rb-creneaux span + span::before { content: "·"; margin-right: 0.45rem; color: var(--wp--preset--color--taupe, #625855); }
.rb-creneaux.est-ferme { color: var(--wp--preset--color--taupe, #625855); }

/* Section « Horaires exceptionnels à venir » : visuel de Cécile et jours qui changent */
.rb-periode { margin-block: 0 !important; scroll-margin-top: 6rem; background: var(--wp--preset--color--sable, #f6efe4); padding: var(--wp--preset--spacing--60, 4rem) var(--wp--style--root--padding-right, 1.25rem) var(--wp--preset--spacing--60, 4rem) var(--wp--style--root--padding-left, 1.25rem); }
.rb-periode__contenu { max-width: var(--wp--style--global--wide-size, 1180px); margin-inline: auto; }
.rb-periode__entete h2 { margin: 0; }
.rb-periode__entete p { margin: 0.4rem 0 0; color: var(--wp--preset--color--taupe, #625855); }
.rb-periode__grille { display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 2.75rem); align-items: start; margin-top: 1.6rem; }
.rb-periode--sans-visuel .rb-periode__grille { grid-template-columns: minmax(0, 1fr); }
.rb-periode__visuel { position: relative; display: block; overflow: hidden; border-radius: 16px; box-shadow: 0 10px 30px rgba(29, 26, 27, 0.14); }
.rb-periode__visuel img { display: block; width: 100%; height: auto; transition: transform 0.4s ease; }
.rb-periode__visuel:hover img { transform: scale(1.02); }
.rb-periode__visuel:focus-visible { outline: 2.5px solid var(--wp--preset--color--framboise, #be1f57); outline-offset: 3px; }
.rb-periode__agrandir { position: absolute; right: 0.7rem; bottom: 0.7rem; padding: 0.4rem 0.8rem 0.4rem 2.1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.95) 0.75rem center / 0.95rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1a1b' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E"); color: var(--wp--preset--color--encre, #1d1a1b); font-size: 0.8125rem; font-weight: 700; box-shadow: 0 4px 14px rgba(29, 26, 27, 0.18); }
.rb-periode__jours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17.5rem), 1fr)); gap: 0.55rem; }
.rb-periode__jours li { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.2rem 1rem; padding: 0.7rem 0.95rem; border-radius: 12px; background: #fff; }
.rb-periode__date { font-weight: 700; }
@media (max-width: 760px) {
	.rb-periode__grille { grid-template-columns: minmax(0, 1fr); }
	.rb-periode__visuel { max-width: 26rem; }
}

/* Me joindre autrement (coordonnées, variante « contact ») */
.rb-joindre { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.rb-joindre a { position: relative; display: flex; flex-direction: column; padding: 0.7rem 0.95rem 0.7rem 3.55rem; border: 1.5px solid var(--wp--preset--color--filet, #e5dacd); border-radius: 14px; background: #fff; color: var(--wp--preset--color--encre, #1d1a1b); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.rb-joindre a:hover { border-color: var(--wp--preset--color--encre, #1d1a1b); text-decoration: none; }
.rb-joindre small { font-size: 0.75rem; font-weight: 600; color: var(--wp--preset--color--taupe, #625855); }
.rb-joindre a::before { content: ""; position: absolute; left: 0.75rem; top: 50%; translate: 0 -50%; width: 2.15rem; height: 2.15rem; border-radius: 50%; background: var(--wp--preset--color--framboise, #be1f57) center / 1rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.rb-joindre__mail a::before { background-color: var(--wp--preset--color--encre, #1d1a1b); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6.5 8.5 7 8.5-7'/%3E%3C/svg%3E"); }
