/* Confiança: leitura e controles em telas pequenas. */
:root{--reading-bottom-space:110px}
html{scroll-padding-bottom:var(--reading-bottom-space)}
body:has(.sticky-player){padding-bottom:calc(var(--reading-bottom-space) + env(safe-area-inset-bottom,0px))}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e1062c;outline-offset:4px}
.portal-card-copy h2,.news-reader .portal-card-copy h2{line-height:1.14;overflow-wrap:anywhere}
.portal-card-copy p{line-height:1.55}
.article-body,.reader-article-body{overflow-wrap:anywhere}
.article-body img,.article-body video{max-width:100%;height:auto}
.article-body table{display:block;max-width:100%;overflow-x:auto}
.article-title,.news-reader .article-title{line-height:1.05;overflow-wrap:anywhere}
.news-category-filters button,.news-pagination button,.classic-news-home,.classic-news-back,.article-back,.article-share a,.article-share button{min-height:44px}
.news-empty button{min-height:44px;border:0;background:#e1062c;color:white;padding:12px 20px;border-radius:12px;font:inherit;font-weight:800;cursor:pointer}
.video-browser-dialog{overflow-y:auto;max-height:calc(100dvh - 24px)}
.video-browser-bar{position:sticky;top:0;z-index:1}
.video-browser-bar button{min-height:44px}
@media(max-width:900px){
 .news-header-inner{flex-wrap:wrap;gap:12px;padding-top:14px;padding-bottom:14px}
 .news-header-inner nav{display:flex;gap:8px;width:100%;overflow-x:auto;flex-wrap:nowrap}
 .news-header-inner nav a{flex:0 0 auto;display:flex;align-items:center;min-height:44px;padding:0 12px;background:#f4f2ee;border-radius:10px}
 .social-topbar-inner{min-width:0}
 .social-topbar-links{min-width:0;overflow-x:auto;justify-content:flex-start;max-width:100%}
 .social-pill,.social-extra,.additional-social-links{flex-shrink:0}
}
@media(max-width:640px){
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .footer-grid>div{min-width:0;overflow-wrap:anywhere}
 .footer-brand img{max-width:100%;height:auto}
 .news-header-inner nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;overflow:visible}
 .news-header-inner nav a{padding:0 3px;justify-content:center;font-size:13px}
 .news-hero,.news-reader .news-hero{padding:28px 0 24px}
 .news-hero h1{font-size:clamp(34px,10vw,48px);line-height:1.04;letter-spacing:-.035em}
 .news-hero p{font-size:17px;line-height:1.5}
 .news-search input,.video-search input,.videos-portal-search input{font-size:16px;min-height:48px}
 .news-category-filters{flex-wrap:nowrap;overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x proximity}
 .news-category-filters button{flex:0 0 auto;scroll-snap-align:start;font-size:14px}
 .portal-card-copy{padding:18px;gap:12px}
 .portal-card-copy h2,.news-reader .portal-card-copy h2{font-size:24px;line-height:1.15}
 .portal-card-copy p{font-size:16px}
 .portal-card-copy small{font-size:13px;line-height:1.4}
 .article-title,.news-reader .article-title{font-size:clamp(32px,9vw,46px);line-height:1.08;letter-spacing:-.025em}
 .article-summary{font-size:19px;line-height:1.5}
 .article-body,.reader-article-body{font-size:18px;line-height:1.75}
 .article-shell,.news-reader .article-shell{padding-top:28px}
 .article-byline{line-height:1.5;padding-bottom:20px}
 .article-cover{margin:24px 0;border-radius:14px}
 .sticky-player{bottom:calc(8px + env(safe-area-inset-bottom,0px));width:calc(100% - 16px);gap:10px;padding:10px;border-radius:16px}
 .player-whatsapp{width:44px;height:44px}
 .menu-toggle{min-width:44px;min-height:44px}
 .videos-portal-hero h1{font-size:36px;line-height:1.1}
 .videos-portal-tabs{display:flex;flex-wrap:wrap;gap:8px}
 .videos-portal-tabs button,.videos-portal-search button,.videos-portal-actions button,.videos-portal-actions a{min-height:46px}
 .videos-portal-bar{flex-wrap:wrap;gap:8px;padding:12px 16px}
 .videos-portal-bar button{min-height:44px}
 .video-browser-dialog{border-radius:12px;width:calc(100% - 16px);max-height:calc(100dvh - 16px)}
 .video-browser-bar>strong{white-space:normal;line-height:1.3}
 .video-browser-bar>div{flex-shrink:0}
 .youtube-card h3{line-height:1.2}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.portal-card,.youtube-card{transition:none}.equalizer i{animation:none!important}}
