/* Ajustes de navegação e leitura em celulares e tablets. */
.mobile-menu-brand img {max-width:220px;max-height:64px;object-fit:contain}
.mobile-menu button,.nav-mobile button {border:0;background:transparent;color:inherit}
.mobile-menu-icon:focus-visible,.search-icon:focus-visible,.mobile-menu a:focus-visible,.mobile-menu button:focus-visible {outline:3px solid #1677c8;outline-offset:3px}
.logo-banner .left .logo,.footer-logo .logo {object-fit:contain;max-width:100%;height:auto}
.responsive-ad .ad-responsive-inner {max-width:100%;min-width:0}
.responsive-ad .ad-responsive-inner > div {max-width:100%}
.post-text {overflow-wrap:anywhere}
.post-text pre {max-width:100%;overflow:auto}
@media(max-width:991px) {
 #header {position:relative;z-index:1000}
 .nav-mobile {padding:10px 16px;float:none;border-bottom:1px solid #e5e9ef;box-shadow:0 3px 14px rgba(20,35,50,.06)}
 .nav-mobile > .row {display:flex;align-items:center;margin:0}
 .nav-mobile > .row > .col-xs-2 {width:48px;padding:0;flex:0 0 48px;height:48px}
 .nav-mobile > .row > .col-xs-8 {flex:1;min-width:0;width:auto;padding:0 10px}
 .nav-mobile .logo-cnt a {display:flex;align-items:center;justify-content:center;min-height:48px}
 .nav-mobile .logo-cnt .logo {max-width:100%;width:auto;height:auto;max-height:56px;object-fit:contain}
 .nav-mobile .mobile-menu-icon,.nav-mobile .search-icon {display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0;padding:0;line-height:1;border-radius:12px;font-size:26px;cursor:pointer}
 .nav-mobile .search-icon {font-size:22px}
 .nav-mobile button:hover {background:#f1f5f9}
 #header {display:flex;flex-direction:column}
 #header > .col-sm-12 {order:-1;float:none}
 #header .logo-banner {display:block;padding:0;margin:0}
 #header .logo-banner .left {display:none}
 #header .logo-banner .right {display:block;float:none;width:100%;height:auto;line-height:normal;padding:0}
 #header .logo-banner .right .pull-right {float:none!important;width:100%}
 #header .logo-banner .responsive-ad {margin:12px 0}
 body.mobile-menu-open {position:fixed;overflow:hidden;width:100%}
 .mobile-menu {display:block;width:100%!important;height:100%;height:100dvh;background:rgba(15,23,42,.48);visibility:hidden;pointer-events:none;opacity:0;overflow:hidden;text-align:left;transition:opacity .2s,visibility .2s;z-index:99990}
 .mobile-menu.is-open {visibility:visible;opacity:1;pointer-events:auto}
 .mobile-menu-inner {width:min(88vw,380px);height:100%;padding:90px 22px 28px;padding-bottom:max(28px,env(safe-area-inset-bottom));background:#fff;overflow-y:auto;overscroll-behavior:contain;transform:translateX(-100%);transition:transform .23s;box-shadow:8px 0 35px rgba(0,0,0,.15)}
 .mobile-menu.is-open .mobile-menu-inner {transform:translateX(0)}
 .mobile-menu-brand {position:absolute;top:18px;left:22px;right:62px;height:52px;display:flex;align-items:center}
 .mobile-menu-brand img {max-width:100%;max-height:52px}
 .mobile-menu .closebtn {right:12px;top:20px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;color:#263548;font-size:26px;border-radius:10px;cursor:pointer}
 .mobile-menu .navbar {margin-bottom:16px;min-height:0}
 .mobile-menu .nav li {border-color:#e9edf2}
 .mobile-menu .nav > li > a,.mobile-menu .nav > li > a:hover,.mobile-menu .nav > li > a:focus,.mobile-menu .nav .open > a {color:#263548;white-space:normal;overflow-wrap:anywhere;font-size:15px;text-transform:none;line-height:23px;padding:14px 32px 14px 0;min-height:48px}
 .mobile-menu .navbar-nav .dropdown-menu {position:static;float:none;width:100%;border:0;box-shadow:none;background:#f5f7fa!important;border-radius:10px;padding:5px 0;margin-bottom:10px;top:0}
 .mobile-menu .dropdown-menu li a,.mobile-menu .dropdown-menu li a:hover,.mobile-menu .dropdown-menu li a:focus {display:block;color:#34445a;font-size:14px;padding:12px 16px;white-space:normal;min-height:44px}
 .mobile-dropdown-arrow {right:2px;top:13px}
 .mobile-menu-social {display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
 .mobile-menu-social li {margin:0!important}
 .mobile-menu-social li a {display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:#34445a;background:#f1f5f9;border-radius:10px}
 .mobile-nav-search .search-form {padding:12px 16px;height:auto}
 .mobile-nav-search .search-form form {display:flex;position:relative}
 .mobile-nav-search input {font-size:16px;min-height:48px;padding-right:54px}
 .mobile-nav-search .btn {min-width:48px;min-height:48px;position:absolute;right:0;top:0}
 [dir=rtl] .mobile-menu-inner {margin-left:auto;transform:translateX(100%)}
 [dir=rtl] .mobile-menu.is-open .mobile-menu-inner {transform:translateX(0)}
}
@media(max-width:767px) {
 .section-head .title {overflow-wrap:anywhere;line-height:1.35}
 .section-head .a-view-all {white-space:normal;text-align:right;max-width:38%;line-height:1.4}
 .post-content .title {font-size:clamp(25px,6vw,34px);line-height:1.25;overflow-wrap:anywhere}
 .post-text {font-size:17px;line-height:1.75}
 .post-text img,.post-text video {height:auto!important;max-width:100%!important}
 .post-text iframe {max-width:100%;width:100%}
 .post-text iframe[src*="youtube"],.post-text iframe[src*="vimeo"] {aspect-ratio:16/9;height:auto}
 input.form-control,textarea.form-control,select.form-control {font-size:16px}
 .btn-load-more {min-height:48px;border-radius:8px}
 .responsive-ad {padding-left:0;padding-right:0;margin-top:10px;margin-bottom:18px}
 .home-banner-tall {min-height:0!important}
 .footer-logo .logo {max-width:240px;max-height:90px}
 .cookies-warning {max-height:40vh;overflow:auto;padding-bottom:max(15px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce) {
 .mobile-menu,.mobile-menu-inner {transition:none}
}
@media(max-width:991px) {
 .mobile-nav-search .search-form {position:relative;width:100%;max-width:100%;right:auto;top:auto;box-shadow:none;border-bottom:1px solid #e5e9ef}
 .mobile-nav-search .search-form .form-input {padding:12px 58px 12px 14px;line-height:22px}
}
/* Segunda revisão mobile: margens constantes e blocos de notícias mais claros. */
picture {display:block;max-width:100%}
.responsive-ad picture {display:inline-block;max-width:100%}
.responsive-ad picture img {width:auto;max-width:100%;height:auto}
@media(max-width:767px) {
 /* Corrige as regras antigas que zeravam o padding dos containers e colunas. */
 #wrapper > .container,.section-featured .container {width:100%;padding-left:20px!important;padding-right:20px!important}
 #wrapper > .container > .row,.section-featured .container > .row {margin-left:0;margin-right:0}
 #wrapper #content,#wrapper #sidebar {padding-left:0!important;padding-right:0!important}
 #wrapper #content > .col-xs-12,#wrapper #content > .col-sm-12 {padding-left:0;padding-right:0}
 #wrapper #content > .col-xs-12 > .row,#wrapper #content > .col-sm-12 > .row {margin-left:0;margin-right:0}
 #wrapper .page-breadcrumb {height:auto;min-height:30px;overflow-wrap:anywhere}
 .section-featured {float:none;clear:both;padding:16px 0 0}
 .section-featured > .row {margin-left:0;margin-right:0}
 #featured {margin:0}
 #featured .featured-left {padding-bottom:12px!important}
 .featured-slider-item,.featured-box .box-inner {overflow:hidden;border-radius:12px}
 #featured .featured-right {display:grid!important;grid-template-columns:1fr 1fr;gap:10px}
 #featured .featured-boxes-top,#featured .featured-boxes-bottom {display:contents}
 #featured .featured-box {width:100%!important;padding:0!important;margin:0!important;min-width:0}
 .featured-box .caption {padding:10px!important}
 .featured-box .caption .title {font-size:clamp(13px,3.4vw,16px)!important;line-height:1.4!important;font-weight:600!important}
 .featured-box .post-meta {display:none}
 .featured-box .overlay {background:linear-gradient(transparent,rgba(0,0,0,.8))}
 .section {margin-bottom:30px;float:none;display:flow-root}
 .section-head {margin-bottom:18px;flex-wrap:wrap;gap:8px}
 .section-head .title {font-size:15px;min-height:36px;max-width:100%}
 .section-head .title a {line-height:1.4}
 .section-content {width:100%;float:none}
 .section-content .tab-content {width:100%;float:none!important}
 .post-item {margin-bottom:22px}
 .post-item-image {border-radius:12px;overflow:hidden}
 .post-item .title,.post-item-horizontal .title {font-size:21px;line-height:1.4;margin-top:12px;margin-bottom:8px;font-weight:700}
 .post-item .description,.post-item-horizontal .description {font-size:15px;line-height:1.65;color:#526071}
 .post-item-small {padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #e7ebef}
 .post-item-small .left {width:104px;height:74px;overflow:hidden}
 .post-item-small img {width:104px;height:74px;object-fit:cover;border-radius:8px}
 .post-item-small .right {padding-left:12px}
 .post-item-small .title {font-size:16px;line-height:1.45}
 .post-item-horizontal {margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid #e7ebef}
 .post-item-horizontal .item-image,.post-item-horizontal .item-content {padding-left:0!important;padding-right:0!important}
 .post-item-horizontal .item-image {margin-bottom:4px}
 .post-content .post-text {font-size:17px;line-height:1.8}
 .post-content .post-text p {margin-bottom:20px}
 .post-content .post-text iframe[src*="youtube"],.post-content .post-text iframe[src*="vimeo"] {min-height:0!important;aspect-ratio:16/9;height:auto!important}
 .news-ticker-cnt {margin:18px 0 24px;padding:0}
 .home-banner-row {padding:0}
 .home-banner-after-breaking-news {margin:0 0 22px}
 .home-banner-between-categories {margin:6px 0 26px}
 .responsive-ad {border-radius:8px}
 #sidebar {padding-top:10px;padding-bottom:20px}
 .sub-block-tabs-mobile {max-width:100%}
 #load-posts-error {font-size:14px;line-height:1.5;padding:12px;color:#9b2323}
}
/* O anúncio exclusivo para celular inclui smartphones em modo paisagem. */
@media(min-width:577px) and (max-width:767px) {
 .responsive-ad {display:none}
 .responsive-ad.ad-show-mobile {display:block}
}
@media(min-width:768px) and (max-width:1200px) {
 .responsive-ad {display:none}
 .responsive-ad.ad-show-tablet {display:block}
}
@media(max-width:359px) {
 #wrapper > .container,.section-featured .container {padding-left:16px!important;padding-right:16px!important}
 #featured .featured-right {grid-template-columns:1fr}
 .featured-box .caption .title {font-size:17px!important}
 .post-item-small .left,.post-item-small img {width:88px}
}
.home-banner-row:not(:has(.responsive-ad)) {display:none}
@media(max-width:767px) {
 .post-content .post-image picture {width:100%;height:auto}
 .post-content .post-image img {width:100%;height:auto}
}
.img-container > picture {width:100%;height:100%;display:block}
/* Crédito OnMyTec e navegação fixa após atingir o topo. */
.footer-developer-credit.onmytec-credit {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 16px;padding:20px 16px;color:#e4e8ed}
.onmytec-credit a {display:inline-flex;align-items:center}
.onmytec-credit img {display:block;width:180px;height:auto;max-width:100%;object-fit:contain}
#header .main-menu.site-nav-fixed,#header .nav-mobile.site-nav-fixed {position:fixed!important;top:0;left:0;right:0;width:100%;margin:0;z-index:1100;background:#fff;box-shadow:0 3px 14px rgba(0,0,0,.12)}
.site-nav-spacer {width:100%;height:0;clear:both;pointer-events:none}
@media(max-width:767px) {
 .footer-developer-credit.onmytec-credit {flex-direction:column;gap:10px}
 .onmytec-credit img {width:170px}
}
/* Rodapé compacto: créditos na mesma faixa inferior. */
#footer {padding-top:28px;margin-top:28px}
#footer .footer-widgets {padding-top:0;padding-bottom:20px}
#footer .footer-widget {margin-bottom:0}
#footer .footer-logo {margin-bottom:12px}
#footer .footer-logo img {width:auto!important;max-width:210px!important;max-height:96px!important;height:auto!important;object-fit:contain}
#footer .f-widget-about p:not(.footer-logo) {font-size:13px;line-height:1.65;margin-bottom:0}
#footer .footer-widget .title {margin-top:0;margin-bottom:14px}
#footer .newsletter {margin-top:18px}
#footer .newsletter p {margin-bottom:9px;font-size:13px;line-height:1.6}
#footer #newsletter:empty {display:none}
#footer .footer-bottom {margin-top:0;padding:12px 0;border-top:1px solid rgba(255,255,255,.1)}
#footer .footer-bottom-layout {display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap}
#footer .footer-bottom-left,#footer .footer-bottom-right {float:none;margin:0;width:auto;text-align:left}
#footer .footer-bottom-left {flex:1 1 270px}
#footer .footer-bottom p {margin:0;font-size:12px;line-height:1.6}
#footer .footer-bottom-right .nav-footer {float:none;margin:0;display:flex;gap:14px;flex-wrap:wrap}
#footer .nav-footer li {margin:0;padding:0}
#footer .footer-developer-credit.onmytec-credit {flex:0 0 auto;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 0 auto;padding:0;border:0;clear:none;width:auto;font-size:12px;text-align:right}
#footer .onmytec-credit a {padding:5px 10px;background:#fff;border:1px solid rgba(255,255,255,.65);border-radius:9px;box-shadow:0 2px 9px rgba(255,255,255,.12)}
#footer .onmytec-credit img {width:135px;height:auto;max-height:40px;object-fit:contain}
@media(max-width:767px) {
 #footer {padding-top:22px;margin-top:22px}
 #footer .footer-widgets > .col-xs-12 {margin-bottom:22px}
 #footer .footer-widgets > .col-xs-12:last-child {margin-bottom:0}
 #footer .footer-widgets {padding-bottom:18px}
 #footer .footer-logo img {max-height:76px!important;max-width:190px!important}
 #footer .footer-bottom-layout {gap:12px;align-items:center}
 #footer .footer-bottom-left {flex-basis:100%;text-align:left}
 #footer .footer-bottom-right {flex:1 1 100%;text-align:left}
 #footer .footer-developer-credit.onmytec-credit {margin-left:auto;max-width:100%;flex-wrap:wrap;justify-content:flex-end}
 #footer .onmytec-credit img {width:125px}
 #footer .newsletter input[type=email] {font-size:16px}
}
