/*
Theme Name: Tá Online Editorial
Version: 1.2.0
Author: Tá Online Eu Levo
Description: Portal editorial gratuito, responsivo, com editor nativo e sem Supabase.
Requires PHP: 8.0
License: GPL-2.0-or-later
*/
:root{--orange:#c43c00;--ink:#171717;--muted:#525252;--paper:#faf5ed;--line:#e7e3dc}*{box-sizing:border-box}body{margin:0;background:white;color:var(--ink);font:17px/1.65 'Segoe UI',Arial,sans-serif}a{color:inherit;text-decoration:none}a:hover{color:var(--orange)}:focus-visible{outline:3px solid var(--orange);outline-offset:4px}img{max-width:100%;height:auto}button,input{font:inherit}h1,h2,h3{line-height:1.15;margin:0 0 20px;letter-spacing:-.025em}h1,h2{font-family:Georgia,serif;font-weight:normal}h1{font-size:clamp(36px,5vw,66px)}h2{font-size:clamp(28px,3vw,40px)}h3{font-size:23px}p{max-width:72ch;margin:0 0 20px}.wrap{width:min(1240px,calc(100% - 48px));margin:auto}.skip{position:absolute;top:-80px;background:white;padding:12px;z-index:100}.skip:focus{top:0}.header{border-bottom:1px solid var(--line)}.header-row{display:flex;align-items:center;gap:24px;padding:18px 0}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:21px;line-height:1.15;min-width:155px}.brand img{width:76px;height:64px;object-fit:contain}.brand em{font-style:normal;color:var(--orange)}.search{display:flex;border:1px solid var(--line);border-radius:28px;padding:4px 10px 4px 18px;flex:1;max-width:450px;margin-left:auto}.search input{width:100%;min-width:0;border:0;background:none;font-size:14px;padding:8px}.search button{border:0;background:none;font-size:14px}.social{display:flex;gap:12px;font-size:13px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 24px;border:0;border-radius:999px;background:var(--orange);color:white;font-weight:650;font-size:15px;cursor:pointer}.button:hover{background:#9c3000;color:white}.button.secondary{background:var(--ink)}.category-nav{display:flex;gap:24px;overflow:auto;padding:13px 0;font-size:14px;white-space:nowrap}.mobile-menu{display:none}.hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:40px;padding:52px 0 46px}.hero-copy{padding:18px 0}.hero-copy p{color:var(--muted);font-size:19px}.hero-art{background:var(--paper);border-radius:80px 18px 18px 18px;padding:35px;display:flex;align-items:center;justify-content:center;min-height:300px}.hero-art svg{width:100%;max-height:310px}.hero-art img{max-height:320px;object-fit:contain}.topic{font-size:14px;color:var(--orange);font-weight:650;margin-bottom:14px;display:block}.section{padding:42px 0;border-top:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:26px}.section-head h2{margin:0}.text-link{text-decoration:underline;text-underline-offset:4px;font-size:15px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.article-image{display:block;aspect-ratio:16/10;background:var(--paper);overflow:hidden;border-radius:14px;margin-bottom:19px}.article-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.article-card:hover img{transform:scale(1.025)}.article-card h3{font:normal 24px/1.25 Georgia,serif}.article-card p{font-size:15px;color:var(--muted)}.meta{font-size:13px;color:var(--muted)}.empty{padding:32px;background:var(--paper);border-radius:18px;color:var(--muted)}.empty h3{color:var(--ink)}.topics{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:18px;overflow:hidden}.topic-tile{padding:22px;border-bottom:1px solid var(--line)}.topic-tile:hover{background:var(--paper)}.topic-tile small{display:block;color:var(--muted);font-size:13px;margin-top:8px}.shop-invite{display:grid;grid-template-columns:1.5fr 1fr;gap:36px;background:var(--paper);padding:40px;border-radius:24px;align-items:center}.shop-invite .button{justify-self:end}.newsletter{padding:35px;border:1px solid var(--line);border-radius:18px}.newsletter label{display:block}.newsletter input{padding:12px;border:1px solid var(--line);border-radius:8px;width:min(100%,400px);background:#f6f6f6}.newsletter button:disabled{cursor:default;background:#767676}.footer{margin-top:50px;background:var(--paper);padding:48px 0 20px;border-top:1px solid var(--line)}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1.3fr 1fr;gap:32px}.footer h3{font-size:16px}.footer a{display:block;margin:9px 0;font-size:14px}.footer p{font-size:14px;color:var(--muted)}.copyright{font-size:12px;border-top:1px solid var(--line);margin-top:32px;padding-top:20px}.content{padding:44px 0;max-width:840px;margin:auto}.content h1{font-size:clamp(34px,4vw,56px)}.content h2{font-size:32px;margin-top:38px}.content h3{margin-top:28px}.content a:not(.button){text-decoration:underline;text-underline-offset:3px}.content iframe{max-width:100%}.breadcrumbs{font-size:13px;color:var(--muted);margin-bottom:24px}.article-intro{font-size:21px;color:var(--muted)}.disclosure{font-size:13px;color:var(--muted);border-left:3px solid var(--orange);padding:10px 16px;background:var(--paper);margin:28px 0}.toe-product{display:grid;grid-template-columns:180px 1fr;gap:24px;padding:24px;border:1px solid var(--line);border-radius:18px;margin:30px 0;background:white}.toe-product img{width:180px;height:180px;object-fit:contain}.toe-product h3{margin:8px 0 12px}.toe-product p{font-size:15px}.toe-product .price{font-size:22px;font-weight:700}.toe-product small{display:block;font-size:12px;color:var(--muted);margin-top:12px}.video-tabs{display:flex;gap:10px;margin-bottom:22px}.video-tabs button{padding:10px 20px;background:white;border:1px solid var(--line);border-radius:25px;cursor:pointer}.video-tabs button[aria-selected=true]{background:var(--ink);color:white}[hidden]{display:none!important}.slider-controls{display:flex;gap:10px;margin-top:20px}.slider-controls button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:white}.pagination{padding:25px 0}.pagination a,.pagination span{padding:10px}.ad-slot small{font-size:11px;color:var(--muted)}.ad-slot img{width:100%;max-height:250px;object-fit:contain}.rank-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.rank-list li{border-left:3px solid var(--orange);padding-left:20px}.rank-list strong{font-size:30px;color:var(--orange);display:block}.archive-banner{padding:40px 0}.subcats{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.subcats a{padding:7px 15px;border:1px solid var(--line);border-radius:20px;font-size:14px}@media(max-width:900px){.social{display:none}.topics{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.wrap{width:calc(100% - 32px)}.header-row{flex-wrap:wrap;gap:15px;padding:14px 0}.brand{font-size:18px;margin-right:auto}.brand img{width:58px;height:48px}.search{order:3;max-width:none;flex-basis:100%;margin:0}.header-row>.button{padding:10px 18px}.mobile-menu{display:block}.mobile-menu summary{padding:10px;font-size:14px;cursor:pointer}.desktop-nav{display:none}.hero{grid-template-columns:1fr;padding:28px 0;gap:12px}.hero-art{min-height:220px;max-height:260px;border-radius:40px 16px 16px}.hero-art svg{max-height:220px}.hero-copy p{font-size:17px}.grid,.rank-list{grid-template-columns:1fr}.topics{grid-template-columns:repeat(2,1fr)}.topic-tile{padding:18px;font-size:15px}.section{padding:30px 0}.section-head{align-items:start}.shop-invite{grid-template-columns:1fr;padding:26px;gap:10px}.shop-invite .button{justify-self:start}.footer-grid{grid-template-columns:1fr 1fr;gap:25px}.footer-grid>.brand-column{grid-column:1/-1}.content{padding:28px 0}.toe-product{grid-template-columns:1fr}.toe-product img{margin:auto}.newsletter{padding:24px}.newsletter .button{margin-top:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

body .hero h1,body .content h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(36px,5vw,66px);line-height:1.12}body .section h2,body .newsletter h2,body .shop-invite h2,body .archive-banner h1{font-family:Georgia,serif;font-weight:400}body .content h1{font-size:clamp(34px,4vw,56px)}body .content h2{font-family:Georgia,serif;font-weight:400}body .article-card h3{font-family:Georgia,serif;font-weight:400}

.category-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:26px}.category-grid>.article-card:first-child{grid-row:span 3}.category-grid>.article-card:not(:first-child){display:grid;grid-template-columns:130px 1fr;gap:6px 18px}.category-grid>.article-card:not(:first-child) .article-image{grid-column:1;grid-row:1/4;aspect-ratio:1;margin:0}.category-grid>.article-card:not(:first-child) h3{font-size:20px;margin:0}.category-grid>.article-card:not(:first-child) p{display:none}.category-grid>.article-card:not(:first-child) .topic{margin:0}.hero-art>[data-hero-image]{width:100%;text-align:center}@media(max-width:650px){.category-grid{grid-template-columns:1fr}.category-grid>.article-card:first-child{grid-row:auto}.category-grid>.article-card:not(:first-child){grid-template-columns:100px 1fr}}

/* Cabeçalho com marca única e abertura sem ilustração decorativa. */
.header .brand{min-width:76px}
.hero-text-only{grid-template-columns:minmax(0,1fr)}
.hero-text-only .hero-copy{max-width:900px}

.article-layout{display:grid;grid-template-columns:minmax(0,820px) minmax(250px,1fr);gap:60px;align-items:start;padding:44px 0}.article-layout .article-main{max-width:none;width:100%;padding:0;margin:0}.article-main>p,.article-main>ul,.article-main>ol{max-width:72ch}.article-sidebar{padding-top:48px}.article-sidebar-inner{border-top:3px solid var(--orange);padding-top:20px}.article-sidebar h2{font:700 24px/1.3 'Segoe UI',Arial,sans-serif;margin:0 0 26px}.article-popular-list{list-style:none;margin:0;padding:0;display:grid;gap:26px}.article-popular-list li{display:grid;grid-template-columns:34px minmax(0,1fr);gap:14px}.popular-number{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--orange);color:white;font-size:18px;font-weight:700}.popular-category{display:block;font-size:12px;color:var(--orange);margin-bottom:5px}.popular-title{display:block;font-size:16px;font-weight:650;line-height:1.45}.popular-empty{font-size:14px;color:var(--muted)}.article-shop-banner{display:block;margin:40px 0 12px;border:1px solid var(--line);border-radius:16px;overflow:hidden}.article-shop-banner img{display:block;width:100%;height:auto}.article-shop-banner:hover{outline:2px solid var(--orange);outline-offset:3px}.footer{background:#fff;border-top:3px solid var(--orange);padding:48px 0 24px}.footer .footer-grid{grid-template-columns:minmax(190px,1.35fr) minmax(90px,.65fr) minmax(100px,.75fr) minmax(280px,2fr) minmax(100px,.7fr);gap:28px}.footer-logo img{width:96px;height:82px;object-fit:contain}.footer a.footer-logo{margin:0 0 14px}.footer h3{font:700 14px/1.4 'Segoe UI',Arial,sans-serif;margin-bottom:18px}.footer a,.footer span{font-size:13px;line-height:1.5}.footer span{color:var(--muted)}.footer .footer-category-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.footer .footer-category-links a{margin:0}.footer .footer-disclosure{max-width:none;font-size:12px;color:var(--muted);margin:30px 0 0}.footer .copyright{margin-top:16px}.footer .brand-column p{font-size:14px}
@media(max-width:1050px){.article-layout{gap:32px;grid-template-columns:minmax(0,1fr) 260px}.footer .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer .brand-column{grid-column:1/-1}.footer .footer-category-group{grid-column:span 2}}@media(max-width:800px){.article-layout{grid-template-columns:1fr;padding:28px 0}.article-sidebar{padding-top:0}.article-popular-list{grid-template-columns:repeat(2,minmax(0,1fr))}.footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.article-popular-list{grid-template-columns:1fr}.footer .footer-category-group{grid-column:1/-1}.article-shop-banner{border-radius:10px}}

.article-layout .article-main,.article-layout .article-sidebar{min-width:0}
@media(max-width:800px){.article-layout{grid-template-columns:minmax(0,1fr)}}

.home-category-tabs{display:flex;gap:10px;overflow-x:auto;padding:4px 4px 16px;margin:0 0 24px}.home-category-tabs button{flex-shrink:0;background:#fff;border:1px solid var(--line);border-radius:20px;font-size:13px;padding:9px 14px;cursor:pointer;color:var(--ink)}.home-category-tabs button[aria-selected=true]{background:var(--orange);border-color:var(--orange);color:white}.home-category-panel>.section-head h3{font:400 26px/1.3 Georgia,serif;margin:0}.home-category-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.home-category-cards .article-image{height:175px;aspect-ratio:auto;display:grid;place-items:center;background:#f5f7f8;padding:10px}.home-category-cards .article-image img{width:auto;height:auto;max-width:100%;max-height:155px;object-fit:contain}.home-category-cards .article-card h3{font-size:22px}.home-category-cards .article-card p{font-size:14px}.home-category-empty{padding:22px;background:#f5f7f8;border-radius:12px;color:var(--muted);font-size:15px}.category-rotation-toggle{background:transparent;border:1px solid var(--line);border-radius:8px;padding:7px 11px;cursor:pointer;font-size:12px}@media(max-width:850px){.home-category-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.home-category-cards{grid-template-columns:1fr}.home-category-panel>.section-head{flex-direction:column;gap:10px}.home-category-cards .article-image{height:160px}.home-category-cards .article-image img{max-height:140px}}
