/* Audit fixes (AUDIT-frontend-2026-11-29), loaded after site.css. Keep each fix small and scoped. */

/* P1 #1 contrast: the teal text token back to the earlier value (#178f78 was 4.0:1 on white, 3.7:1 on --soft). */
:root{--teal:#0f7d62}
/* Blue text links on white / light grey (#4d7bff was 3.5-3.8:1). */
#historia .mf-list p a,.nr2-feat .nr-body .link-arrow,.post-explore a{color:var(--blue-d)!important}
/* Lesson film step chips (clickable) were #a3adc0 on white, 2.3:1; still muted next to the ink current step. */
.lf-chips button,.lf-chips button span{color:#6b7385}

/* P1 #2 FR About at 375: the long FR button (nowrap) set the grid column wider than the viewport. */
@media (max-width:900px){#presenca .map-v2{grid-template-columns:minmax(0,1fr)!important}}
@media (max-width:420px){#presenca .map-v2 .btn:lang(fr){padding-left:16px;padding-right:16px;font-size:14px}}

/* P2 #4 touch targets: grow the hit area to 44px with transparent pseudo boxes; visuals unchanged. */
.langs-m a,.aud-tabs button,.social a{position:relative}
.langs-m a::after,.aud-tabs button::after,.lf-pp::after,.social a::after{content:"";position:absolute}
/* g-front: language pills (34-36 x 32 px, 2px gaps) get 44x44 boxes with no visible change: the middle box is on top and
   takes the inner 4-6 px of its neighbours; the outer boxes grow outward (into the free header space and the gap before the burger). */
.langs-m a::after{top:calc(50% - 22px);height:44px;left:-1px;right:-1px}
.langs-m a:first-child::after{left:-12.5px}
.langs-m a:nth-child(2)::after{left:-6.1px;right:-4.1px;z-index:1}
.langs-m a:last-child::after{right:-11.6px}
.aud-tabs button::after{inset:-3.5px -5.5px}         /* inset counts from inside the 1.5px border */
.lf-pp::after{inset:-4px;border-radius:50%}
.social a::after{inset:-2px;border-radius:50%}
/* hero gallery pager: 34x28 -> 44x44 (bar drawn by ::before, fill by .on::after) */
.slide-dots button{width:44px!important;height:44px!important;padding:20px 5px!important;margin:-8px -5px}
.slide-dots button::before{top:20px;left:5px;right:5px}
.slide-dots button.on::after{inset:20px 5px auto 5px!important}
/* news slider dots: 44x4 -> 44x44 (track moves to ::before) */
.nr2-dot{height:44px;margin:-20px 0;background:transparent}
.nr2-dot::before{content:"";position:absolute;left:0;right:0;top:20px;height:4px;border-radius:4px;background:#e3e7ef}
.nr2-dot i{top:20px;bottom:auto;height:4px}

/* P2 #9 news hero breadcrumb over photos. */
.post-hero .crumbs{text-shadow:0 1px 3px rgba(5,11,31,.9)}
.post-hero .crumbs ol{color:#e4e9f4}
.post-hero .crumbs a{color:#fff}

/* f-a11y: keyboard focus. The course coverflow is focusable (arrow keys) but site.css sets outline:none on it;
   show the ring on the card in front instead. Only on keyboard focus, so nothing changes for mouse or touch. */
.coverflow:focus-visible .cf-card.is-active{outline:3px solid var(--blue);outline-offset:3px}

/* f-a11y: reduced motion. site.css stops animations with *{...} under prefers-reduced-motion, which does not reach
   pseudo-elements: the hero gallery pager fill (.slide-dots ::after) and the scroll cue kept moving. Carousel tracks
   set their own smooth scrolling (only html was reset), so arrows and keyboard focus glided. */
@media (prefers-reduced-motion:reduce){*::before,*::after{animation:none!important;transition:none!important}*{scroll-behavior:auto!important}}

/* g-front empty states: a news page with no posts keeps its heading and the press band; one divider, not two. */
.nr2-top:not(:has(.nr2-feat)) .nr2-ht{border-bottom:0}
