/* Recherche et listes de profils de www (07/10/2026). Téléphone d'abord.
   Portées : .bep-r (pages Recherche), .bep-rr (Autour de toi), .bep-mc (carte membre), .bep-rf (feuilles). */

.bep-r svg, .bep-rr svg, .bep-mc svg, .bep-rf svg, .bep-vide-r svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Grille de cartes ---------- */
.bep-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.bep-grille > .bep-vide-r { grid-column: 1 / -1; }

/* ---------- Carte membre ---------- */
.bep-mc { position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr; grid-template-areas: "photo" "infos"; min-width: 0; margin: 0; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; overflow: hidden; color: #2a3342; transition: border-color .15s ease, box-shadow .15s ease; }
.bep-mc:hover { border-color: #b4c0d2; box-shadow: 0 4px 14px rgba(25, 65, 114, .10); }
.bep-mc:has(:focus-visible) { border-color: #194172; box-shadow: 0 0 0 2px #194172; }
@supports not selector(:has(*)) { .bep-mc:focus-within { border-color: #194172; box-shadow: 0 0 0 2px #194172; } }
.bep-mc-photo { grid-area: photo; position: relative; aspect-ratio: 4 / 5; background: #e9eef5; overflow: hidden; }
@supports not (aspect-ratio: 1 / 1) { .bep-mc-photo { height: 0; padding-top: 125%; } }
.bep-mc-photo img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.bep-mc-sansphoto { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #a3afbf; }
.bep-mc .bep-mc-sansphoto svg { width: 44%; height: auto; stroke-width: 1.3; }
.bep-mc-adulte { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 10px; background: rgba(15, 23, 42, .62); color: #fff; font-size: 11px; font-weight: 700; line-height: 16px; }
.bep-mc-infos { grid-area: infos; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 10px 10px; }
.bep-mc-nom { display: flex; align-items: center; gap: 0; min-width: 0; margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: #1b2433; }
.bep-mc-nom a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }
.bep-mc-nom a:hover, .bep-mc-nom a:focus { color: #194172; text-decoration: none; }
.bep-mc-nom a:focus { outline: none; }
.bep-mc-nom a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bep-mc-age { flex: none; font-weight: 400; color: #3d4757; white-space: nowrap; }
.bep-mc-point { flex: none; margin-right: 6px; width: 9px; height: 9px; border-radius: 50%; background: #2fb344; box-shadow: 0 0 0 2px #e3f5e7; }
.bep-mc-faits { display: flex; min-width: 0; margin: 0; font-size: 13px; line-height: 1.35; color: #5e6b80; white-space: nowrap; }
.bep-mc-faits > span { flex: none; }
.bep-mc-faits > span + span::before { content: "\00b7"; margin: 0 5px; color: #9aa6b6; }
.bep-mc-faits .bep-mc-ville { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bep-mc-km { color: #2a3342; font-weight: 600; }
.bep-mc-actions { grid-area: photo; align-self: end; justify-self: end; z-index: 2; display: flex; gap: 6px; margin: 0 8px 8px 0; }
.bep-mc-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 20px; background: rgba(15, 23, 42, .58); color: #fff; text-decoration: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .15s ease; }
.bep-mc-btn:hover, .bep-mc-btn:focus { background: #194172; color: #fff; text-decoration: none; }
.bep-mc-btn:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.bep-mc .bep-mc-btn svg { width: 20px; height: 20px; }
.bep-mc-plus { display: none; }
.bep-mc-squelette { min-height: 0; }
.bep-mc-squelette::before { content: ""; display: block; aspect-ratio: 4 / 5; background: #e9eef5; }
.bep-mc-squelette::after { content: ""; display: block; height: 34px; margin: 10px; border-radius: 6px; background: linear-gradient(#e9eef5, #e9eef5) 0 0 / 70% 13px no-repeat, linear-gradient(#eef1f5, #eef1f5) 0 21px / 50% 11px no-repeat; }
@media (prefers-reduced-motion: no-preference) {
  .bep-mc-squelette::before { animation: bep-pulse 1.4s ease-in-out infinite; }
  @keyframes bep-pulse { 50% { opacity: .55; } }
}

/* Liste qui défile de côté au téléphone (Nouveaux membres de l'accueil) */
@media (max-width: 767px) {
  .bep-grille--rang { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(140px, 42%); overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scroll-padding-left: 15px; margin: 0 -15px; padding: 0 15px 6px; scrollbar-width: thin; }
  .bep-grille--rang > * { scroll-snap-align: start; }
}

.bep-vide-r { margin: 0 0 16px; padding: 26px 16px; text-align: center; background: #fff; border: 1px dashed #cfd6e1; border-radius: 12px; color: #5e6b80; }
.bep-vide-r svg { width: 28px; height: 28px; color: #9aa6b6; margin-bottom: 6px; }
.bep-vide-r p { margin: 0 0 6px; font-size: 15px; }
.bep-vide-r .bep-vide-titre { color: #1b2433; font-weight: 700; }
.bep-vide-r .btn { margin-top: 8px; }

/* ---------- Pages Recherche ---------- */
.bep-r { color: #2a3342; }
.bep-r-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 6px; }
.bep-r-tete h1 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; color: #194172; text-transform: none; }
.bep-r-compte { margin: 0; font-size: 15px; color: #5e6b80; white-space: nowrap; }
.bep-r-compte b { color: #1b2433; }
.bep-r-onglets { display: flex; gap: 2px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -15px 14px; padding: 0 15px; border-bottom: 1px solid #dfe4ec; }
.bep-r-onglets::-webkit-scrollbar { display: none; }
.bep-r-onglets a { flex: none; margin-bottom: -1px; padding: 10px 12px 9px; border-bottom: 3px solid transparent; color: #5e6b80; font-size: 15px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.bep-r-onglets a:hover, .bep-r-onglets a:focus { color: #194172; text-decoration: none; }
.bep-r-onglets a.actif { color: #194172; border-bottom-color: #194172; }
.bep-r-onglets a:focus-visible { outline: 2px solid #194172; outline-offset: -2px; }

.bep-r-puce { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 38px; padding: 0 14px; border: 1px solid #cfd6e1; border-radius: 19px; background: #fff; color: #194172; font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; text-decoration: none; cursor: pointer; }
.bep-r-puce:hover, .bep-r-puce:focus { border-color: #194172; color: #194172; text-decoration: none; }
.bep-r-puce:focus-visible { outline: 2px solid #194172; outline-offset: 2px; }

.bep-r-invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 14px; padding: 14px 16px; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; }
.bep-r-invite p { margin: 0; font-size: 15px; color: #3d4757; }
.bep-r-invite-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.bep-r-invite-actions .btn { border-radius: 19px; font-weight: 700; }

/* Barre des résultats et pages */
.bep-r-barre { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.bep-r-tri { display: flex; align-items: center; gap: 8px; margin: 0; }
.bep-r-tri label { margin: 0; font-size: 14px; font-weight: 600; color: #5e6b80; white-space: nowrap; }
.bep-r-tri select.form-control { width: auto; height: 38px; padding: 4px 30px 4px 12px; border-color: #cfd6e1; border-radius: 19px; font-weight: 700; color: #194172; box-shadow: none; }
.bep-js .bep-r-tri-ok { display: none; }
.bep-r-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 26px; }
.bep-r-pages a { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid #cfd6e1; border-radius: 20px; background: #fff; color: #194172; font-weight: 700; text-decoration: none; }
.bep-r-pages a:hover, .bep-r-pages a:focus { border-color: #194172; text-decoration: none; }
.bep-r-pages a.active { background: #194172; border-color: #194172; color: #fff; }
.bep-r-pages-num { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.bep-r-pages-tel { font-weight: 700; color: #5e6b80; }
@media (max-width: 559px) { .bep-r-pages-num { display: none; } }
@media (min-width: 560px) { .bep-r-pages-tel { display: none; } }

/* Recherches sauvegardées */
.bep-r-sauvees { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bep-r-sauvee { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 14px; background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; }
.bep-r-sauvee-titre { flex: 1 1 200px; min-width: 0; font-size: 16px; font-weight: 700; color: #1b2433; overflow-wrap: anywhere; }
.bep-r-sauvee-date { font-size: 13px; color: #6b7687; }
.bep-r-sauvee-actions { display: flex; gap: 6px; align-items: center; }
.bep-r-sauvee-actions .btn { border-radius: 16px; font-weight: 700; }
.bep-r-suppr { color: #b0341a; }

/* ---------- Autour de toi (recherche rapide) ---------- */
.bep-rr-filtres { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 4px; }
.bep-seg { display: flex; margin: 0; padding: 3px; min-width: 0; border: 0; border-radius: 21px; background: #e9eef5; }
.bep-seg label { position: relative; flex: 1 1 auto; margin: 0; font-weight: 400; }
#ajaxsearch .bep-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.bep-seg span { display: block; padding: 7px 14px; border-radius: 18px; color: #3d4757; font-size: 14px; font-weight: 700; line-height: 20px; text-align: center; white-space: nowrap; cursor: pointer; }
.bep-seg input:checked + span { background: #fff; color: #194172; box-shadow: 0 1px 3px rgba(25, 65, 114, .2); }
.bep-seg input:focus-visible + span { outline: 2px solid #194172; outline-offset: 1px; }
.bep-rr-puces { display: flex; gap: 8px; min-width: 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px; margin: -2px; }
.bep-rr-puces::-webkit-scrollbar { display: none; }
.bep-rr-lieu { max-width: 11em; overflow: hidden; text-overflow: ellipsis; }
.bep-rr-km:not(:empty)::before { content: "\00b7"; margin: 0 5px; }
.bep-rr-resultat { min-height: 20px; margin: 8px 0 10px; font-size: 14px; color: #5e6b80; }
.bep-rr-resultat b { color: #1b2433; }
.bep-rr-resultat .btn-link { padding: 0; font-weight: 700; vertical-align: baseline; }
.bep-rr-pied { display: flex; justify-content: center; margin: 0 0 4px; }
.bep-rr-charge #ajaxsearch_results { opacity: .55; transition: opacity .2s ease; }
.bep-rr .bep-rr-plus { min-width: 240px; height: 44px; padding: 0 22px; border: 1px solid #cfd6e1; border-radius: 22px; background: #fff; box-shadow: none; color: #194172; font-size: 15px; font-weight: 700; text-transform: none; }
.bep-rr .bep-rr-plus:hover, .bep-rr .bep-rr-plus:focus { border-color: #194172; background: #fff; color: #194172; }
.bep-rr-plus[hidden] { display: none; }
.bep-rr-ages { display: flex; align-items: center; gap: 8px; }
.bep-rr-ages label { margin: 0; font-weight: 400; color: #5e6b80; }
.bep-rr-ages select.form-control { flex: 1; min-width: 0; }
.bep-rr-ages span { color: #5e6b80; }
.bep-rr-suggestions { display: flex; flex-direction: column; margin-top: 6px; border-radius: 10px; overflow: hidden; }
.bep-rr-suggestions:not(:empty) { border: 1px solid #e3e8ef; }
.bep-rr-suggestions button { display: flex; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-top: 1px solid #eef1f5; background: #fff; color: #1b2433; font-size: 15px; text-align: left; cursor: pointer; }
.bep-rr-suggestions button:first-child { border-top: 0; }
.bep-rr-suggestions button:hover, .bep-rr-suggestions button:focus, .bep-rr-suggestions button[aria-selected="true"] { background: #eef3fa; outline: none; }
.bep-rr-suggestions small { color: #6b7687; font-size: 13px; }

/* Bloc de l'accueil, dans le style des autres blocs de la page */
.bep-r-bloc > .bep-r-bloc-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bep-r-bloc-tete h2 { margin: 0; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; }
.bep-r-bloc-tete a { flex: none; color: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; text-transform: none; }
.bep-r-bloc-tete a:hover, .bep-r-bloc-tete a:focus { color: inherit; opacity: .85; }
.bep-r-bloc > .panel-body { padding-bottom: 6px; }
@media (max-width: 559px) { .bep-r-bloc > .panel-body { padding: 12px 12px 4px; } .bep-r-bloc .bep-grille--rang { margin: 0 -12px; padding: 0 12px 6px; scroll-padding-left: 12px; } }

/* ---------- Feuilles (téléphone : par le bas ; ordinateur : tiroir à droite) ---------- */
.bep-rf[hidden] { display: none; }
.bep-rf { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 3000; display: flex; align-items: flex-end; justify-content: center; }
.bep-rf-fond { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(15, 23, 42, .46); }
.bep-rf-boite { position: relative; display: flex; flex-direction: column; width: 100%; max-height: 92vh; max-height: 92dvh; background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 -8px 30px rgba(15, 23, 42, .2); }
.bep-rf-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 10px 10px 16px; border-bottom: 1px solid #eef1f5; }
.bep-rf-tete h2 { margin: 0; font-size: 18px; font-weight: 700; color: #194172; text-transform: none; }
.bep-rf-x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 22px; background: transparent; color: #3d4757; }
.bep-rf-x:hover, .bep-rf-x:focus { background: #eef1f5; }
.bep-rf .bep-rf-x svg { width: 22px; height: 22px; }
/* le formulaire placé dans une feuille garde l'en-tête et le bouton visibles, seul le corps défile */
.bep-rf-boite > .bep-r-form, .bep-rf-boite > .bep-r-form > form { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.bep-rf-corps { flex: 1 1 auto; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 14px 16px 6px; }
.bep-rf-pied { display: flex; gap: 8px; padding: 12px 16px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid #eef1f5; background: #fff; }
.bep-rf-pied .btn { height: 46px; padding: 0 18px; border-radius: 23px; font-size: 15px; font-weight: 700; }
.bep-rf-pied .btn-primary { flex: 1; }
.bep-r-plus-criteres { display: inline-flex; align-items: center; padding: 0 6px; font-weight: 700; color: #194172; white-space: nowrap; }
.bep-rf-erreur { margin: 0 0 10px; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #a12a14; font-size: 14px; }
.bep-rf-erreur[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .bep-rf.est-ouverte .bep-rf-boite { animation: bep-rf-monte .22s ease-out; }
  .bep-rf.est-ouverte .bep-rf-fond { animation: bep-rf-fondu .22s ease-out; }
  @keyframes bep-rf-monte { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
  @keyframes bep-rf-glisse { from { transform: translateX(40px); opacity: .4; } to { transform: none; opacity: 1; } }
  @keyframes bep-rf-fondu { from { opacity: 0; } to { opacity: 1; } }
}
html.bep-rf-bloque, html.bep-rf-bloque body { overflow: hidden; }

/* Champ « Où ? » commun (bep-lieu.css du lot géo) aux dimensions des autres champs */
.bep-rf .bep-lieu-ligne .form-control, .bep-r-form .bep-lieu-ligne .form-control { min-height: 44px; }
.bep-rf .bep-lieu-ligne .bep-lieu-position, .bep-r-form .bep-lieu-ligne .bep-lieu-position { min-height: 44px; border-radius: 22px; font-weight: 700; text-transform: none; }
.bep-rf .bep-lieu-choix, .bep-r-form .bep-lieu-choix { min-height: 44px; border-color: #cfd6e1; border-radius: 10px; }
.bep-rf .bep-lieu-liste, .bep-r-form .bep-lieu-liste { border-color: #e3e8ef; border-radius: 10px; }
.bep-r-geo #field_rayon { height: 44px; }

/* Champs */
.bep-champ-r { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.bep-champ-r > label:not(.bep-bascule), .bep-champ-r > legend, .bep-champ-titre { display: block; width: auto; margin: 0 0 7px; padding: 0; border: 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: #1b2433; text-transform: none; }
.bep-champ-r small { margin-left: 4px; font-size: 13px; font-weight: 400; color: #6b7687; }
.bep-aide-r { margin: 6px 0 0; font-size: 13px; color: #6b7687; }
.bep-rf .form-control, .bep-r-form .form-control { height: 44px; border: 1px solid #cfd6e1; border-radius: 10px; box-shadow: none; font-size: 16px; color: #1b2433; }
.bep-rf .form-control:focus, .bep-r-form .form-control:focus { border-color: #194172; box-shadow: 0 0 0 3px rgba(25, 65, 114, .15); }
.bep-r-form textarea.form-control { height: auto; min-height: 88px; }
.bep-r-deux { display: flex; align-items: center; gap: 8px; }
.bep-r-deux .form-control { flex: 1; min-width: 0; }
.bep-r-deux > span { flex: none; color: #5e6b80; }
.bep-r-geo .form-control + .form-control { margin-top: 8px; }
.bep-r-geo .form-control[disabled] { background: #f4f6f9; color: #8a94a3; }
.bep-r-rayon { margin-top: 8px; }
.bep-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bep-chip { position: relative; display: inline-flex; margin: 0; font-weight: 400; cursor: pointer; }
.bep-chip input, .bep-chip input.checkbox { position: absolute; top: 0; left: 0; display: block; width: 1px; height: 1px; margin: 0; opacity: 0; }
.bep-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid #cfd6e1; border-radius: 20px; background: #fff; color: #2a3342; font-size: 14px; font-weight: 600; line-height: 20px; }
.bep-chip:hover span { border-color: #194172; }
.bep-chip input:checked + span { background: #194172; border-color: #194172; color: #fff; }
.bep-chip input:focus-visible + span { outline: 2px solid #194172; outline-offset: 2px; }
.bep-r-bascules { margin-bottom: 8px; }
.bep-bascule { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 11px 0; border-top: 1px solid #eef1f5; font-size: 15px; font-weight: 600; color: #1b2433; cursor: pointer; }
.bep-bascule:last-child { border-bottom: 1px solid #eef1f5; }
.bep-bascule input { order: 2; flex: none; position: relative; width: 46px; height: 28px; margin: 0; border-radius: 14px; background: #cfd6e1; -webkit-appearance: none; appearance: none; cursor: pointer; transition: background-color .15s ease; }
.bep-bascule input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s ease; }
.bep-bascule input:checked { background: #34870c; }
.bep-bascule input:checked::after { transform: translateX(18px); }
.bep-bascule input:focus-visible { outline: 2px solid #194172; outline-offset: 2px; }

/* Formulaire détaillé en page (Recherche détaillée) */
.bep-r-form--page form { background: #fff; border: 1px solid #e3e8ef; border-radius: 12px; }
.bep-r-form--page .bep-rf-corps { overflow: visible; padding: 16px 16px 4px; }
.bep-r-form--page .bep-rf-pied { position: -webkit-sticky; position: sticky; bottom: 0; z-index: 2; border-radius: 0 0 12px 12px; box-shadow: 0 -6px 14px rgba(25, 65, 114, .06); }
.bep-r-form--page .bep-rf-pied .btn-primary { flex: 0 1 280px; margin-left: auto; }

@media (max-width: 991px) {
  .bep-rf--aside:not(.est-ouverte) { display: none; }
  .bep-r-form--page .bep-rf-pied .btn-primary { flex: 1; }
}
@media (min-width: 560px) {
  .bep-grille { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
}
@media (min-width: 768px) {
  .bep-rf:not(.bep-rf--aside) { align-items: stretch; justify-content: flex-end; }
  .bep-rf:not(.bep-rf--aside) .bep-rf-boite { width: 420px; max-height: none; height: 100%; border-radius: 0; box-shadow: -8px 0 30px rgba(15, 23, 42, .2); }
  .bep-rf--aside.est-ouverte { align-items: stretch; justify-content: flex-end; }
  .bep-rf--aside.est-ouverte .bep-rf-boite { width: 420px; max-height: none; height: 100%; border-radius: 0; }
  .bep-r-form--page .bep-r-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .bep-r-form--page .bep-type-checkbox, .bep-r-form--page .bep-type-radio, .bep-r-form--page .searchgroup-pays, .bep-r-form--page .searchgroup-uszip, .bep-r-form--page .bep-type-textarea { grid-column: 1 / -1; }
  .bep-r-form--page .bep-rf-corps > .bep-champ-r:not(.bep-r-bascules) { max-width: calc(50% - 9px); }
}
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .bep-rf.est-ouverte:not(.bep-rf--aside) .bep-rf-boite, .bep-rf--aside.est-ouverte .bep-rf-boite { animation-name: bep-rf-glisse; }
}
@media (min-width: 992px) {
  .bep-grille { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
  .bep-r-tete h1 { font-size: 30px; }
  .bep-r-onglets { margin-left: 0; margin-right: 0; padding: 0; }
  .bep-r-detail-tel, body.search .bep-rr-detail { display: none; }
  .bep-rf--aside, .bep-rf--aside.est-ouverte { position: static; display: block; z-index: auto; margin: 4px 0 20px; }
  .bep-rf--aside .bep-rf-fond, .bep-rf--aside .bep-rf-x { display: none; }
  .bep-rf--aside .bep-rf-boite, .bep-rf--aside.est-ouverte .bep-rf-boite { width: auto; height: auto; max-height: none; border: 1px solid #e3e8ef; border-radius: 12px; box-shadow: none; animation: none; }
  .bep-rf--aside .bep-rf-tete { padding: 12px 14px 10px; }
  .bep-rf--aside .bep-rf-tete h2 { font-size: 17px; }
  .bep-rf--aside .bep-rf-corps { overflow: visible; padding: 14px 14px 4px; }
  .bep-rf--aside .bep-rf-pied { padding: 12px 14px 14px; border-radius: 0 0 12px 12px; }
  .bep-rf--aside .bep-chip span { min-height: 34px; padding: 6px 11px; font-size: 13px; }
  .bep-mc-btn { width: 36px; height: 36px; }
  .bep-mc .bep-mc-btn svg { width: 18px; height: 18px; }
}
@media (min-width: 1200px) {
  .bep-grille--rang { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
  .bep-grille--rang .bep-mc-infos { padding: 7px 8px 8px; }
  .bep-grille--rang .bep-mc-nom { font-size: 14px; }
  .bep-grille--rang .bep-mc-faits { font-size: 12px; }
}
@media (hover: hover) and (min-width: 992px) {
  .bep-mc:hover .bep-mc-plus, .bep-mc:focus-within .bep-mc-plus { display: inline-flex; }
}
@media (max-width: 767px) {
  .bep-seg { width: 100%; }
  .bep-rr-plus { width: 100%; }
  .bep-r-barre .bep-r-tri { margin-left: auto; }
}
