/* v228 — sélecteur de langue Français / English (modèle : deux boutons côte à côte, actif vert grisé) */
.lang-switch{display:inline-flex;align-items:stretch;margin-left:auto;border:1px solid #b8b3a4;border-radius:6px;overflow:hidden;background:#f5f3ee;font:700 11.5px/1 Arial,Helvetica,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.v88-nav .lang-switch a,.lang-switch a{display:inline-flex;align-items:center;min-height:0;height:32px;padding:0 13px;color:#3d3d3d;background:#f5f3ee;text-decoration:none;white-space:nowrap;font:inherit;transition:background .15s ease,color .15s ease}
.lang-switch a+a{border-left:1px solid #b8b3a4}
.v88-nav .lang-switch a[aria-current],.lang-switch a[aria-current]{background:#68796b;color:#fff;font-weight:800}
.v88-nav .lang-switch a:not([aria-current]):hover,.v88-nav .lang-switch a:not([aria-current]):focus-visible,.lang-switch a:not([aria-current]):hover,.lang-switch a:not([aria-current]):focus-visible{background:#e6e1d4;color:#1a1a1a;outline:none}
.lang-switch a:focus-visible{box-shadow:inset 0 0 0 2px #704c0f}
/* Sommaire « Choisir une entrée » (≤ 1050 px) : une seule rangée défilante, quel que soit le nombre de cartes (6 depuis « Comparer les pratiques ») */
@media (max-width:1050px){.v87-rail-list{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr)}}
@media (max-width:720px){.v87-rail-list{grid-auto-columns:72vw}}
/* En-tête : un bloc en haut à droite, deux lignes — les trois liens, puis le sélecteur centré dessous (≈ 8 px) */
.v88-top{flex-wrap:wrap}
.v88-top .v88-nav{display:grid;grid-template-columns:repeat(3,auto);justify-content:center;justify-items:center;align-items:center;column-gap:clamp(16px,1.7vw,30px);row-gap:8px;flex:0 0 auto;width:auto;max-width:100%;margin-left:auto;overflow:visible}
.v88-top .v88-nav>a{padding:2px 0;white-space:nowrap}
.v88-top .v88-nav>.lang-switch{grid-column:1/-1;justify-self:center;margin:0}
@media (max-width:760px){.v88-top .v88-nav{width:100%;margin-left:0;grid-template-columns:repeat(3,minmax(0,1fr))}}
/* ordinateur et tablette : le bloc reste en haut à droite ; ce sont les sites compagnons qui passent à la ligne, à gauche */
@media (min-width:761px){.v88-top{flex-wrap:nowrap;align-items:center}.v88-top .v88-topics{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;flex:1 1 0;min-width:0}.v88-top .v88-topic{margin-left:0}}
@media (min-width:761px) and (max-width:1100px){.v88-top{flex-wrap:wrap}.v88-top .v88-brand{flex:1 1 100%}}
/* v228 : en anglais, les cinq parcours compagnons tiennent sur une seule rangée sur grand écran (libellés plus longs qu'en français) */
@media (min-width:1101px){html[lang="en"] .v88-top{column-gap:20px}html[lang="en"] .v88-top .v88-brand{letter-spacing:.1em}html[lang="en"] .v88-top .v88-topics{column-gap:8px}html[lang="en"] .v88-top .v88-topic{padding-left:12px;padding-right:12px}}
/* v228 : en anglais, une seule rangée « titre · cinq parcours · Contents/Glossary/First page » dès que la place le permet.
   Les parcours occupent l'espace restant, à espacement régulier ; s'ils n'y tiennent pas, ils passent à la ligne
   à l'intérieur de leur zone (jamais de chevauchement avec « Contents ») ; les sous-titres ne s'affichent que si la place le permet. */
@media (min-width:1101px){html[lang="en"] .v88-top{margin-left:-24px;margin-right:-24px;column-gap:20px}html[lang="en"] .v88-top .v88-brand{flex:0 0 auto}html[lang="en"] .v88-top .v88-topics{flex:1 1 0;min-width:0;flex-wrap:wrap;justify-content:space-evenly;align-content:center;column-gap:8px;row-gap:8px;container:ep-parcours / inline-size}html[lang="en"] .v88-top .v88-topic{flex:0 0 auto}html[lang="en"] .v88-top .v88-nav{flex:0 0 auto}}
@media (min-width:1101px) and (max-width:1919px){html[lang="en"] .v88-top .v88-brand{white-space:normal;max-width:14.6em;line-height:1.35;font-size:16px}}
@container ep-parcours (max-width:1120px){html[lang="en"] .v88-top .v88-topic small{display:none}}
@container ep-parcours (max-width:860px){html[lang="en"] .v88-top .v88-topic{padding-left:10px;padding-right:10px}html[lang="en"] .v88-top .v88-topic-dot{margin-right:6px}}
/* bandeau de l'assistant : sur ordinateur, chaque élément reste entier (aucun texte coupé sur deux lignes) */
@media (min-width:1101px){html[lang="en"] .home-research-banner{flex-wrap:wrap;column-gap:14px}html[lang="en"] .home-research-banner-copy,html[lang="en"] .home-research-banner a{white-space:nowrap}}
@media (max-width:640px){.lang-switch{font-size:11px;letter-spacing:.08em}.v88-nav .lang-switch a,.lang-switch a{height:36px;padding:0 12px}}
.lang-switch--flottant{position:fixed;top:10px;right:12px;z-index:50;box-shadow:0 2px 10px rgba(0,0,0,.25)}
.pc-header .lang-switch{float:right;margin-top:2px}
@media print{.lang-switch{display:none}}
/* textes générés par le CSS du site, version anglaise */
html[lang="en"] .v131-origines-bar .v48-note::after{content:" A fixed overview is shown by default."}
/* sites compagnons en français : badge visible à toutes les largeurs (les sous-titres sont masqués entre 721 et 1560 px) */
html[lang="en"] .v88-topic b::after,html[lang="en"] .v83-tri-txt b::after{content:"FR";display:inline-block;margin-left:6px;padding:1px 4px;border:1px solid #b8b3a4;border-radius:3px;font:700 9px/1.2 Arial,Helvetica,sans-serif;letter-spacing:.06em;color:#5a5a5a;vertical-align:middle}
html[lang="en"] .v-bsb{font-size:.85em;letter-spacing:.02em;opacity:.8;white-space:nowrap}
html[lang="en"] .v-bsb abbr{text-decoration:none;cursor:help}
html[lang="en"] .bulle-verset .bv-note{margin:.45em 0 0;font-size:.82em;line-height:1.45;opacity:.9}
html[lang="en"] .bulle-verset .bv-note-src{font-weight:700;font-style:normal;margin-right:.3em}
html[lang="en"] .ep-bible-attrib{font-size:.92em}
html[lang="en"] .poster-frame::before{content:"Loading the page…"}
html[lang="en"] .transition-thumb::before{content:"AFTER THE TIMELINE"}
html[lang="en"] .transition-thumb::after{content:"FROM EVENTS TO FAMILIES →"}
.lang-notice{background:#fff4d6;color:#4a3a10;border-bottom:1px solid #e9b64a;padding:8px 16px;font:14px/1.4 Arial,Helvetica,sans-serif;text-align:center}
.lang-notice a{color:inherit}
