/* Editorial home: the app's matte theme, isolated from app/admin/reader. */
@font-face{font-family:Controller Instrument;src:url('/assets/leitor/fonts/InstrumentSans.ttf') format('truetype');font-style:normal;font-weight:400 700;font-display:swap}
body.home-matte{
 --bg:#111820;--bg2:#18212b;--bg3:#111820;--bg4:#202c3a;
 --surface:#18212b;--surface2:#202c3a;--surface3:#293748;
 --text:#f0f3f8;--text2:#b1bfd1;--text3:#8b9bb0;--off:#f0f3f8;--muted:#b1bfd1;--muted2:#8b9bb0;
 --border:#2a3644;--border2:#3c4c60;--border3:#5276ab;
 --blue:#4b83ff;--blue2:#266eef;--blue-text:#80a8ff;--violet:#4b83ff;--violet2:#80a8ff;--violet3:#80a8ff;
 --green:#35d7a0;--green2:#35d7a0;--cyan:#35d7a0;--cyan2:#35d7a0;--emerald:#35d7a0;--red:#f27386;--amber:#eab75a;
 --radius:8px;--radius-lg:9px;--neon-glow:none;--blue-glow:none;
 --font-head:Controller Instrument,Arial,sans-serif;--font-body:Controller Instrument,Arial,sans-serif;--mono:Controller Instrument,Arial,sans-serif;
 background:var(--bg);color:var(--text);font-family:var(--font-body);line-height:1.6;
}
.home-matte :is(button,input,select,textarea){font-family:var(--font-body)}
.home-matte :is(a,button,input,select,textarea,[tabindex]):focus-visible{outline:2px solid #80a8ff;outline-offset:3px}
.home-matte .aurora-bg{display:none}
.home-matte :is(.ticker-bar,.top-bar,header,footer){background:var(--bg2);backdrop-filter:none}
.home-matte header{position:sticky;z-index:100}
.home-matte .ticker-bar{height:36px;background:#1c2d46;border-color:var(--border)}
.home-matte .ticker-bar>.ticker-label{background:#266eef;border:0;font-family:var(--font-body);font-size:10px;letter-spacing:.08em}
.home-matte .ticker-item{color:var(--text2)}
.home-matte .ticker-item .ticker-label{background:#202c3a;border-color:#3c4c60;color:#80a8ff}
.home-matte .top-bar{color:var(--text2);min-height:36px}
.home-matte .header-inner{height:76px;gap:24px}
.home-matte .logo-text{background:none;color:var(--text);-webkit-text-fill-color:currentColor;font-size:19px;letter-spacing:-.04em}
.home-matte .logo-text em{color:var(--text3)}
.home-matte .nav-link{color:var(--text2);font-size:13px;padding:10px 12px;font-weight:500}
.home-matte .nav-link.active{background:#1c2d46;color:#80a8ff}
.home-matte .nav-link.active::after{display:none}
.home-matte :is(.btn-search,.hamburger){height:40px;min-width:40px;border-radius:8px;color:var(--text2);background:var(--bg4)}
.home-matte :is(.btn-login,.btn-subscribe,.nl-btn){min-height:40px;border-radius:8px;font-weight:600;box-shadow:none}
.home-matte :is(.btn-subscribe,.nl-btn){background:#266eef;color:#fff}
.home-matte .btn-login{background:#1c2d46;border-color:#3c4c60;color:#80a8ff}
.home-matte .btn-login:hover{background:#202c3a;color:var(--text)}
.home-matte #mobile-nav{background:var(--bg2)!important;border-color:var(--border)!important}
.home-matte .hero{padding-top:24px}
.home-matte .hero-grid{grid-template-columns:minmax(0,1fr) 340px;gap:16px;border:0;overflow:visible;border-radius:0}
.home-matte :is(.hero-carousel-wrap,.hero-sub){border:1px solid var(--border);border-radius:9px;overflow:hidden;background:var(--bg2)}
.home-matte .hero-carousel-wrap{height:456px;min-width:0}
.home-matte .hero-sub{height:220px}
.home-matte .hero-main .content{padding:28px 28px 40px}
.home-matte .hero-main .content h2{font-size:28px;font-weight:700;line-height:1.2;letter-spacing:-.035em}
.home-matte .hero-sub .content h3{font-size:17px;line-height:1.3;font-weight:600}
.home-matte :is(.hero-main,.hero-sub) .img-wrap,.home-matte :is(.media-fallback,[class*='thumb-']){background:#202c3a}
.home-matte .hero-chart{display:none}
/* Keep a dark scrim over real covers so editorial headlines remain readable. */
.home-matte :is(.hero-main,.hero-sub) .img-overlay{background:linear-gradient(to top,rgba(17,24,32,.98),rgba(17,24,32,.62) 65%,rgba(17,24,32,.22))}
.home-matte .meta{color:#b1bfd1;gap:8px;flex-wrap:wrap}
.home-matte .meta .author{color:#d1dbe8}
.home-matte :is(.carousel-arrow,.carousel-counter){background:#18212b;color:#b1bfd1;backdrop-filter:none;border-color:#3c4c60;border-radius:8px}
.home-matte .carousel-arrow{width:40px;height:40px}
.home-matte .carousel-arrow:hover{background:#266eef}
.home-matte :is(.carousel-dot.active,.carousel-progress-fill,.read-progress,.section-title::before){background:#4b83ff;box-shadow:none}
.home-matte .carousel-dots{bottom:12px}
.home-matte .carousel-dot{height:8px;width:8px}
.home-matte .carousel-dot.active{width:22px}
.home-matte .content-area{grid-template-columns:minmax(0,1fr) 320px;gap:24px;padding-top:32px}
.home-matte :is(.content-area>*,.article-row-body,.trending-body){min-width:0}
.home-matte .section-title{color:var(--text2);font-size:12px;letter-spacing:.08em}
.home-matte .articles-grid{gap:16px}
.home-matte :is(.card,.sidebar-card,.related-card,.cta-banner,.mw-row,.post-hero-cover,.skeleton-card){border-radius:9px;background:var(--bg2);border-color:var(--border);box-shadow:none}
.home-matte :is(.card,.sidebar-card)::before{display:none}
.home-matte .card:hover{transform:none;background:#1c2733;border-color:#5276ab}
.home-matte .card-body{padding:20px}
.home-matte .card-body h4{font-size:17px;font-weight:600;line-height:1.4;letter-spacing:-.02em}
.home-matte .card-body p{font-size:13px;line-height:1.65}
.home-matte .card-thumb{height:180px;border-bottom:1px solid var(--border)}
.home-matte .cat-tag{border-radius:5px;font-size:10px;font-weight:600;letter-spacing:.06em}
.home-matte .cat-defi,.home-matte :is(.cat-educacao,.cat-web3){background:#172e2c;color:#35d7a0;border-color:#33554c}
.home-matte .cat-crypto{background:#1c2d46;color:#80a8ff;border-color:#3c4c60}
.home-matte .cat-mercados{background:#302b21;color:#eac887;border-color:#584b32}
.home-matte .cat-forex{background:#34232c;color:#ff9bac;border-color:#65404e}
.home-matte .sidebar-card{padding:20px}
.home-matte .mw-row{background:#111820;border-radius:8px}
.home-matte :is(.newsletter-card,.kast-banner-card,.cta-banner){background:var(--bg2);border-color:var(--border)}
.home-matte .nl-input{height:42px;border-radius:8px;background:var(--bg);color:var(--text)}
.home-matte :is(.tag-pill,.share-btn){border-radius:6px;color:var(--text2)}
.home-matte .article-row:hover{padding-left:0;opacity:1}
.home-matte .article-row-body h5{font-size:14px;font-weight:600}
.home-matte .cta-banner a[href='/app.html'],.home-matte #article-body a[href='/app.html']{background:#266eef!important;color:white!important;font-weight:600!important;border-radius:8px!important}
.home-matte .search-overlay{position:fixed;z-index:500;background:rgba(17,24,32,.94);backdrop-filter:none;padding-top:10vh}
.home-matte .search-box{background:var(--bg2);border:1px solid var(--border2);border-radius:9px;box-shadow:none;backdrop-filter:none}
.home-matte .search-input-wrap input{min-width:0}
.home-matte .search-result-item{border-radius:8px}
.home-matte #post-overlay{background:rgba(17,24,32,.97)!important;backdrop-filter:none!important;position:fixed;z-index:900}
.home-matte #post-overlay article{border-radius:9px!important;overflow-wrap:anywhere}
.home-matte #post-overlay article>div:first-child{flex-wrap:wrap}
.home-matte #post-overlay article>div>div:first-child[style*='linear-gradient']{background:#266eef!important}
.home-matte #article-progress{background:#4b83ff!important}
.home-matte #article-body :is(img,video,iframe){max-width:100%}
.home-matte #article-body :is(pre,table){display:block;max-width:100%;overflow:auto}
.home-matte #post-overlay>div>div:first-of-type>div{flex-wrap:wrap}
.home-matte .back-top{position:fixed;z-index:100;background:var(--bg2);border-radius:8px;color:var(--text2);box-shadow:none}
.home-matte .back-top:hover{background:#266eef}
.home-matte .footer-links{flex-wrap:wrap}
@media(max-width:1100px){.home-matte .header-inner{gap:14px}.home-matte .nav-link{padding:10px 8px}.home-matte .hero-grid{grid-template-columns:minmax(0,1fr) 290px}}
@media(max-width:900px){.home-matte .header-inner{height:68px}.home-matte .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.home-matte .hero-carousel-wrap{grid-column:1/-1;grid-row:auto;height:380px}.home-matte .hero-sub{height:210px}.home-matte .content-area{grid-template-columns:minmax(0,1fr)}.home-matte .articles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-matte .sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
@media(max-width:600px){.home-matte :is(.container,.header-inner){padding-left:16px;padding-right:16px}.home-matte .header-inner{gap:8px}.home-matte .logo{gap:7px}.home-matte .logo-text{font-size:16px}.home-matte .btn-login{padding:0 10px;font-size:12px}.home-matte .top-bar{padding:6px 16px;gap:4px;flex-wrap:wrap}.home-matte .top-bar-right{gap:12px;flex-wrap:wrap;white-space:normal}.home-matte .hero{padding-top:16px}.home-matte .hero-grid{gap:12px}.home-matte .hero-carousel-wrap{height:360px}.home-matte .hero-main .content{padding:20px 20px 40px}.home-matte .hero-main .content h2{font-size:24px}.home-matte .hero-sub{height:220px}.home-matte .hero-sub .content{padding:12px}.home-matte .hero-sub .content h3{font-size:15px}.home-matte .hero-sub .meta{font-size:11px}.home-matte :is(.articles-grid,.sidebar){grid-template-columns:minmax(0,1fr)}.home-matte .content-area{gap:20px;padding-top:24px}.home-matte #post-overlay article{padding:20px!important}.home-matte .post-hero-cover{min-height:220px}.home-matte .share-btn{min-height:40px;padding:6px 10px}.home-matte .search-results{max-height:65vh}.home-matte .cta-banner{padding:24px 16px}}
@media(max-width:360px){.home-matte .logo-text{font-size:13px}.home-matte .header-actions{gap:4px}.home-matte .logo-icon{width:28px;height:28px}.home-matte .hero-grid{grid-template-columns:minmax(0,1fr)}.home-matte .hero-sub{height:180px}}
@media(prefers-reduced-motion:reduce){.home-matte *{scroll-behavior:auto!important;transition:none!important}.home-matte :is(.ticker-track,.skeleton){animation:none}}

/* Latest news: six compact cards, three columns on desktop. */
.home-matte #articles-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.home-matte #articles-grid .card{min-width:0;display:flex;flex-direction:column}.home-matte #articles-grid .card-thumb{height:auto;aspect-ratio:16/9;flex-shrink:0}.home-matte #articles-grid .card-body{padding:14px;display:flex;flex-direction:column;flex:1;gap:8px}.home-matte #articles-grid .cat-tag{align-self:flex-start}.home-matte #articles-grid h4{font-size:15px;line-height:1.35;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.home-matte #articles-grid .card-body p{font-size:12px;line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-matte #articles-grid .meta{font-size:10px;gap:4px;flex-wrap:wrap;margin-top:auto;padding-top:4px}.home-matte #news-grid-cta:not(:empty){margin:24px 0}.home-matte #news-grid-cta .cta-banner{margin:0}@media(max-width:1000px){.home-matte #articles-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.home-matte #articles-grid{grid-template-columns:minmax(0,1fr)}.home-matte #articles-grid h4{font-size:17px}.home-matte #articles-grid .meta{font-size:11px}}
