/* Language navigation: compact trigger, native keyboard interaction and clear selection. */
.language-switcher{position:relative;flex:none;justify-self:start;font:500 12px/1.4 Alexandria,Arial,sans-serif;color:inherit;text-align:left;letter-spacing:0}
.language-switcher summary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;width:max-content;min-width:82px;min-height:44px;padding:10px 12px;list-style:none;cursor:pointer;border:1px solid color-mix(in srgb,currentColor 24%,transparent);border-radius:999px;background:color-mix(in srgb,currentColor 4%,transparent);color:inherit;user-select:none;transition:background .18s ease,border-color .18s ease,color .18s ease;white-space:nowrap}
.language-switcher summary::-webkit-details-marker{display:none}
.language-switcher summary::before{content:"";display:block;flex:none;width:16px;height:16px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cellipse cx='12' cy='12' rx='4' ry='9'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") center/contain no-repeat}
.language-switcher summary>span{display:block;width:7px;height:7px;margin-left:1px;font-size:0;position:relative}
.language-switcher summary>span::after{content:"";position:absolute;inset:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .18s ease}
.language-switcher[open] summary{background:#f2eaff;border-color:#d8c3ff;color:#6600ff}
.language-switcher[open] summary>span::after{transform:translateY(2px) rotate(225deg)}
.language-switcher summary:focus-visible,.language-options a:focus-visible{outline:2px solid #6600ff;outline-offset:4px}
.language-options{position:absolute;top:calc(100% + 10px);right:0;z-index:80;box-sizing:border-box;min-width:188px;padding:7px;background:#fff;color:#19131f;border:1px solid #eae3f2;border-radius:16px;box-shadow:0 16px 40px -10px #28143d33,0 3px 9px #28143d09;animation:yio-language-open .16s ease-out}
.language-options a,.clear-preview .nav-links .language-options a{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:44px;margin:0;padding:11px 12px;border-radius:10px;color:#504758;font-size:12px;font-weight:400;line-height:1.4;text-decoration:none;white-space:nowrap;transition:background .16s ease,color .16s ease}
.language-options a[aria-current=page]{background:#f2eaff;color:#6600ff;font-weight:500}
.language-options a[aria-current=page]::after{content:"";flex:none;width:5px;height:9px;margin:0 3px 3px 1px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;transform:rotate(45deg)}
body>header>.language-switcher{margin-left:auto}
@media(hover:hover){.language-switcher:not([open]) summary:hover{background:#f2eaff;color:#6600ff;border-color:#d8c3ff}.language-options a:hover{background:#f8f5fc;color:#6600ff}.language-options a[aria-current=page]:hover{background:#eee3ff}}
@keyframes yio-language-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1101px){html[lang=fr] .nav-links{gap:14px;font-size:12px}html[lang=en] .nav-links{gap:15px;font-size:12px}}
@media(max-width:850px){.nav-links .language-switcher{grid-column:1/-1;justify-self:stretch;align-self:start;width:100%;margin-top:8px;padding-top:14px;border-top:1px solid #e8e0f0;color:#504758}.nav-links .language-switcher summary{min-width:88px;background:#fff;border-color:#e5daef;justify-content:center}.nav-links .language-switcher[open] summary{background:#f2eaff;color:#6600ff;border-color:#d8c3ff}.nav-links .language-options{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;min-width:0;width:100%;margin-top:10px;padding:5px;box-shadow:none;background:#fff;border-radius:13px}.nav-links .language-options a,.clear-preview .nav-links .language-options a{justify-content:center;gap:8px;min-width:0;min-height:46px;padding:10px 5px;font-size:12px}.nav-links .language-options a[aria-current=page]::after{width:4px;height:7px;margin-right:0}.language-switcher{font-size:12px}}
@media(prefers-reduced-motion:reduce){.language-options{animation:none}.language-switcher summary,.language-switcher summary>span::after,.language-options a{transition:none}}
