/* QA 3C: layout fixes shared by the landing and blog templates. */
*, *::before, *::after { box-sizing: border-box; }
:where(.wrap,.container,.hero-inner,.split,.posts-grid,.post-grid,.news-grid,.courses-grid,.foot-grid,.nav,.header-inner) > * { min-width:0; }
:where(.wrap,.container,main,article,section,form,input,textarea,select,button) { max-width:100%; }
:where(p,a,h1,h2,h3,li,.brand,.brand-name,.nav-brand,.card-title) { overflow-wrap:anywhere; }
img,video,iframe,svg { max-width:100%; }
img { height:auto; }
:where(.hero-media,.split-media,.hero-img) img { object-fit:cover; }
.qa-table-scroll { max-width:100%; overflow-x:auto; margin-block:1rem; }
.qa-table-scroll:focus { outline:2px solid currentColor; outline-offset:2px; }
.qa-table-scroll table { width:100%; }
.qa-table-hint { font-size:.85rem; }
.qa-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.qa-form-status { margin-block:1rem; font-weight:700; }
form input { min-width:0!important; }
/* WhatsApp in document flow: it cannot collide with the remote chat. */
#wa-carlos { position:relative!important; inset:auto!important; margin:20px 20px 100px auto!important; animation:none!important; }
#wa-carlos::after { display:none!important; }
body { padding-bottom:90px; }
@media(max-width:820px) {
 .nav,.header-inner,.site-header .container { flex-wrap:wrap; gap:10px; }
 .nav { position:relative; }
 .nav .brand,.nav-brand { font-size:1.1rem; }
 .hero-inner { grid-template-columns:minmax(0,1fr)!important; }
 .hero-media { order:1!important; max-width:100%!important; }
 .hero-text,.hero-copy,.hero-content { order:0!important; }
 .hero-media img,.hero-img,.hero-image img,.hero-visual img { max-height:240px; width:100%; object-fit:cover; }
 .hero { padding-block:32px; }
 .trust-row span,.trust-pill { white-space:normal!important; }
 .hero-cta,.nav,.hero-meta,.hero-trust { flex-wrap:wrap; }
 .hero h1,.hero-title { font-size:clamp(1.8rem,8vw,2.6rem); }
 .courses-grid { grid-template-columns:minmax(0,1fr)!important; }
 .vb-author-box { flex-wrap:wrap; padding:18px!important; }
 .btn { white-space:normal; }
}

.news-thumb img { width:100%; height:100%; object-fit:cover; }
