/* Free lesson replaces only the gallery alongside the autonomy story. */
#autonomia .free-lesson{min-width:0;align-self:center;scroll-margin-top:110px}
#autonomia .free-lesson h2{font-size:clamp(24px,2.4vw,36px);line-height:1.18;letter-spacing:-.025em;margin:0 0 18px;max-width:24ch}
.free-lesson>p{font-size:16px;line-height:1.65;margin:0 0 24px;max-width:58ch}
.free-lesson__player{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:16px;background:#233754;width:100%}
.free-lesson__player iframe{display:block;width:100%;height:100%;border:0}
.free-lesson__external{display:inline-block;margin-top:14px;font-size:13px;color:inherit;text-underline-offset:4px}
.reference-copy .hero-free-lesson{display:inline-flex;align-items:center;gap:14px;color:#fff;text-decoration:none;border:1px solid #ffffff70;border-radius:12px;padding:14px 18px;margin:0 0 22px;max-width:100%;transition:background .2s,border-color .2s}
.hero-free-lesson svg{width:25px;height:25px;flex-shrink:0;fill:currentColor}
.hero-free-lesson span{font-size:12px;line-height:1.5}
.hero-free-lesson strong{display:block;font-size:16px;font-weight:600}
.reference-copy .hero-free-lesson:hover{background:#233754;border-color:#fff;color:#fff;text-decoration:none}
.hero-free-lesson:focus-visible,.free-lesson__external:focus-visible{outline:2px solid currentColor;outline-offset:5px}
@media(max-width:1050px){.reference-copy .hero-free-lesson{grid-column:1/-1;justify-self:start}}
@media(max-width:600px){#autonomia .free-lesson h2{font-size:25px}.free-lesson>p{font-size:15px}.free-lesson__player{border-radius:10px}}
@media(prefers-reduced-motion:reduce){.reference-copy .hero-free-lesson{transition:none}}

/* Independent cards, with the photograph visible between them. */
#autonomia .problem-panel{background:transparent;padding:0;border-radius:0;gap:24px;align-items:stretch;grid-template-columns:1fr 1fr}
#autonomia .problem-story,#autonomia .free-lesson{padding:clamp(26px,3vw,46px);border-radius:18px;min-width:0}
#autonomia .problem-story{background:#233754;color:#f7f8f7}
#autonomia .problem-story h2,#autonomia .problem-story p,#autonomia .problem-story strong{color:#f7f8f7}
#autonomia .problem-story .problem-insight{border-color:#e7ba73}
#autonomia .problem-story .button{background:#f7f8f7;color:#233754;border:1px solid transparent;text-decoration:none}
#autonomia .problem-story .button:hover{background:#e7ba73;color:#233754;text-decoration:none}
#autonomia .problem-story .button:focus-visible{outline:2px solid #e7ba73;outline-offset:5px}
#autonomia .free-lesson{background:#fff;color:#233754;align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start}
#autonomia .free-lesson h2{color:#a24d2f}
#autonomia .free-lesson>p{color:#233754}
#autonomia .free-lesson__external{align-self:flex-start}
@media(max-width:900px){#autonomia .problem-panel{grid-template-columns:1fr;gap:20px}#autonomia .problem-story,#autonomia .free-lesson{border-radius:16px;padding:28px 24px}}
