/* ============ RESET ============ */
*, *::before, *::after{box-sizing: border-box; margin: 0; padding: 0;}
html{overflow-x: hidden;}
body{font-family: var(--font-corpo); font-weight: var(--peso-corpo); color: #222; background: var(--bg-site); line-height: 1.5; font-size: 14px; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden;}
a{text-decoration: none; color: inherit;}
a.by-author{color: inherit;}
a.by-author:hover{color: var(--accent);}
.ticker-item a .ticker-title:hover, .hero-left-card a .hlc-title:hover, .ts-card a .ts-title:hover, .pop-featured a .pf-title:hover, .pop-card a .pc-title:hover, .pop-sm a .psm-title:hover, .trending-item a .tr-title:hover, .sb-recent-item a .sr-title:hover, .related-card a .rc-title:hover, .related-card a .rc-meta strong:hover, .latest-item a h3:hover, .ip-item a h3:hover, .hero-center-text a h2:hover{color: var(--accent);}
img{display: block; max-width: 100%;}
ul{list-style: none;}
button{cursor: pointer; font-family: inherit; border: none;}
.wrap{max-width: 1200px; margin: 0 auto; padding: 0 20px;}
@media (max-width: 480px) { .wrap { padding: 0 12px; } }

/* ============ TOPBAR ============ */
.topbar{background: var(--topbar-bg); padding: 9px 0;}
.topbar .wrap{display: flex; justify-content: space-between; align-items: center;}
.topbar-left{display: flex; gap: 28px;}
.topbar-left a{color: var(--topbar-txt); font-size: 14px; font-weight: var(--peso-corpo);}
.topbar-left a:hover{opacity: .7;}
.topbar-date{color: var(--topbar-txt); font-size: 14px;}

.sb-recent-item a, .trending-item a, .ip-item .ip-img, .hero-center a, .pop-featured>a{width: -webkit-fill-available;}
.ticker-meta .byline, .ticker-meta h4{margin-top: 0; margin-bottom: 0;}

/* ============ HEADER ============ */
.site-header{padding: 28px 0 24px; background: var(--header-bg);}
.header-inner{display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;}
.header-left{display: flex;}
.btn-subscribe{background: var(--header-btn-bg, #111); color: var(--header-btn-txt, #fff); padding: 10px 24px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;}
.btn-subscribe:hover{opacity:.88;}
.logo{display: flex; align-items: center; justify-content: center;}
.logo img{height: 50px; width: auto;}
.header-right{display: flex; align-items: center; justify-content: flex-end; gap: 18px;}
.header-right a{color: var(--header-txt); font-size: 18px;}
.header-right a:hover{color: var(--accent);}

/* ============ NAVBAR ============ */
.navbar{border-top: 1px solid var(--nav-bd, #ddd); border-bottom: 1px solid var(--nav-bd, #ddd); background: var(--nav-bg); overflow: visible; position: relative; z-index: 100;}
.navbar-inner{display: flex; align-items: center; justify-content: space-between; height: 50px; overflow: visible;}
.hamburger{display: flex; flex-direction: column; gap: 5px; background: none; padding: 4px 0; width: 22px;}
.hamburger span{display: block; width: 100%; height: 2px; background: var(--nav-txt);}
/* Mobile Sidebar */
.sidebar-overlay{display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 9998;}
.sidebar-overlay.active{display: block;}
.sidebar-menu{position: fixed; top: 0; left: -320px; width: 300px; height: 100%; background: #fff; z-index: 9999; overflow-y: auto; transition: left 0.3s ease; box-shadow: 2px 0 20px rgba(0,0,0,0.15);}
.sidebar-menu.active{left: 0;}
.sidebar-header{display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #eee;}
.sidebar-header .sb-logo img{height: 36px; width: auto;}
.sidebar-header .sb-close{background: none; border: none; font-size: 24px; color: #333; cursor: pointer; padding: 4px; line-height: 1;}
.sidebar-header .sb-close:hover{color: var(--accent);}
.sidebar-search{padding: 14px 20px; border-bottom: 1px solid #eee;}
.sidebar-search form{display: flex; border: 1px solid #ddd; border-radius: 3px; overflow: hidden;}
.sidebar-search input{flex: 1; padding: 10px 12px; border: none; font-size: 13px; font-family: inherit; outline: none;}
.sidebar-search input::placeholder{color: #767676;}
.sidebar-search button{background: #f5f5f5; border: none; padding: 10px 14px; font-size: 14px; color: #555; cursor: pointer;}
.sidebar-search button:hover{background: #eee;}
.sidebar-nav{padding: 10px 0;}
.sidebar-nav a{display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; font-size: 14px; font-weight: 700; color: #333; border-bottom: 1px solid #f5f5f5; transition: all 0.15s;}
.sidebar-nav a:hover{background: #f9f9f9; color: var(--nav-hover, var(--accent));}
.sidebar-nav a.sn-active{color: var(--nav-hover, var(--accent));}
.sidebar-nav a i{font-size: 10px; color: #ccc;}
.sidebar-nav .sn-label{font-size: 11px; font-weight: var(--peso-titulo); letter-spacing: 2px; text-transform: uppercase; color: #767676; padding: 16px 20px 6px;}
.nav-links{display: flex; align-items: center; overflow: visible; flex: 0 1 auto; min-width: 0; gap: 4px;}
.nav-links li{flex-shrink: 0;}
.nav-links li a{display: flex; align-items: center; gap: 5px; padding: 14px 13px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--nav-txt); white-space: nowrap;}
.nav-links li a:hover{color: var(--nav-hover, var(--accent));}
.nav-links li a.active{color: var(--nav-active, var(--accent)); font-weight: 700;}
.nav-links .caret{font-size: 9px; color: #767676; margin-top: 1px;}
.nav-links li.has-dropdown{position:relative;}
.nav-links li.has-dropdown:hover > .nav-dropdown,.nav-links li.has-dropdown:focus-within > .nav-dropdown{display:block;}
.nav-dropdown{display:none;position:absolute;top:100%;left:0;background:var(--header-bg,#fff);min-width:190px;box-shadow:0 6px 24px rgba(0,0,0,.13);border-radius:4px;padding:6px 0;z-index:999;list-style:none;margin:0;}
.nav-dropdown li a{padding:9px 16px;font-size:12px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--nav-txt);white-space:nowrap;display:block;}
.nav-dropdown li a:hover,.nav-dropdown li a.active{color:var(--accent);background:rgba(0,0,0,.04);}
body.dark-mode #logo-light,body.dark-mode #sb-logo-light{display:none!important}
body.dark-mode #logo-dark,body.dark-mode #sb-logo-dark{display:block!important}
body.dark-mode .navbar{border-top-color:#333;border-bottom-color:#333;}
body.dark-mode .nav-dropdown{background:#1c1c1c;box-shadow:0 6px 24px rgba(0,0,0,.4);}
body.dark-mode .nav-dropdown li a{color:#ccc;}
body.dark-mode .nav-dropdown li a:hover,.nav-dropdown li a.active{color:var(--accent);}
.sb-sub-item{padding-left:24px!important;font-size:12.5px!important;opacity:.85;}
.nav-right{display: flex; align-items: center; gap: 16px;}
.toggle-wrap{display: flex; align-items: center;}
.toggle-switch{position: relative; width: 44px; height: 24px; background: #ccc; border-radius: 12px; cursor: pointer; transition: background .3s;}
.toggle-switch .knob{position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .3s; display: flex; align-items: center; justify-content: center;}
.toggle-switch .knob i{font-size: 10px; color: #666;}
.toggle-switch.on{background: #444;}
.toggle-switch.on .knob{transform: translateX(20px);}
.search-icon{font-size: 19px; color: var(--nav-txt); cursor: pointer;}
.search-icon:hover{color: var(--accent);}
/* Search Overlay */
.search-overlay{display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.92); z-index: 9999; justify-content: center; align-items: center;}
.search-overlay.active{display: flex;}
.search-overlay .so-close{position: absolute; top: 24px; right: 32px; font-size: 28px; color: #333; cursor: pointer; background: none; border: none; padding: 8px;}
.search-overlay .so-close:hover{color: var(--accent);}
.search-overlay .so-form{width: 90%; max-width: 600px; display: flex; align-items: center; border-bottom: 2px solid #333; padding-bottom: 8px;}
.search-overlay .so-form input{flex: 1; border: none; font-size: 20px; font-family: inherit; background: transparent; outline: none; padding: 12px 0; color: #222;}
.search-overlay .so-form input::placeholder{color: #767676;}
.search-overlay .so-form button{background: none; border: none; font-size: 22px; color: #333; cursor: pointer; padding: 8px;}
.search-overlay .so-form button:hover{color: var(--accent);}

/* =========================================================== HERO SECTION =========================================================== */
/* ---- TICKER ROW (4 items) ---- */
.hero-ticker{display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 20px 0 18px; border-bottom: 1px solid #eee;}
.ticker-item{display: flex !important; flex-direction: row; gap: 12px; align-items: center;}
.ticker-item > a:first-child{flex-shrink: 0; line-height: 0;}
.ticker-item img{width: 68px !important; height: 68px !important; border-radius: 50%; object-fit: cover; flex-shrink: 0; aspect-ratio: 1/1 !important; max-width: 68px !important;}
.ticker-item .ticker-info{flex: 1; min-width: 0;}
.ticker-item .ticker-cat{font-size: 12px; font-weight: 700; color: var(--accent); display: block; margin-bottom: 2px;}
.ticker-item .ticker-title{font-size: 14px; font-weight: var(--peso-titulo); color: #111; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
/* ---- MAIN HERO GRID ---- */
.hero-grid{display: grid; grid-template-columns: 230px 1fr 270px; gap: 28px; padding: 22px 0 10px;}
/* LEFT COLUMN */
.hero-left{display: flex; flex-direction: column; gap: 22px;}
.hero-left-card{}
.hero-left-card img{width: 100%; height: 190px; object-fit: cover; border-radius: 2px;}
.hero-left-card .hlc-cat{display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-top: 10px;}
.hero-left-card .hlc-title{font-family: var(--font-corpo); font-size: 16px; font-weight: var(--peso-titulo); color: #111; line-height: 1.3; margin-top: 4px;}
.hero-left-card .hlc-meta{font-size: 11px; color: #767676; margin-top: 5px; text-transform: uppercase;}
.hero-left-card .hlc-meta .by-author{font-weight: 700; color: #111;}
/* CENTER COLUMN */
.hero-center{}
.hero-center img{width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: 2px;}
.hero-center-text{text-align: center; padding: 16px 10px 0;}
.hero-center-text .hc-cat{font-size: 13px; font-weight: 700; color: var(--accent); display: block; margin-bottom: 10px;}
.hero-center-text h2{font-family: var(--font-titulo); font-size: 34px; font-weight: var(--peso-titulo); color: #111; line-height: 1.2; margin-bottom: 14px;}
.hero-center-text p{font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 10px;}
.hero-center-text .hc-meta{font-size: 11px; color: #767676; text-transform: uppercase;}
.hero-center-text .hc-meta .by-author{font-weight: 700; color: #111;}
/* RIGHT SIDEBAR */
.hero-right{display: flex; flex-direction: column; gap: 0;}
.hero-sb-item{display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid #eee;}
.hero-sb-item:first-child{padding-top: 0;}
.hero-sb-item:last-child{border-bottom: none;}
.hero-sb-item .sb-text{flex: 1; min-width: 0;}
.hero-sb-item .sb-text h4{font-size: 14px; font-weight: var(--peso-titulo); color: #111; line-height: 1.3; margin-bottom: 3px;}
.hero-sb-item .sb-text .sb-date{font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase;}
.hero-sb-item img{width: 90px; height: 70px; object-fit: cover; border-radius: 2px; flex-shrink: 0;}

/* =========================================================== TOP STORY SECTION =========================================================== */
.section-divider{display: flex; align-items: center; gap: 0; margin: 30px 0 24px;}
.section-divider::before, .section-divider::after{content: ''; flex: 1; height: 1px; background: #ddd;}
.section-divider span{padding: 0 20px; font-size: 12px; font-weight: var(--peso-titulo); letter-spacing: 3px; text-transform: uppercase; color: #111; white-space: nowrap;}
.top-story-row{display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-bottom: 28px;}
.ts-card{}
.ts-card .ts-img{position: relative; overflow: hidden; border-radius: 2px; margin-bottom: 10px;}
.ts-card .ts-img img{width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .3s;}
.ts-card:hover .ts-img img{transform: scale(1.03);}
.ts-card .ts-cat{display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 4px; margin-top: 12px;}
.ts-card .ts-title{font-size: 16px; font-weight: var(--peso-titulo); color: #111; line-height: 1.3; display: block; margin-bottom: 5px;}
.ts-card .ts-date{font-size: 11px; font-weight: var(--peso-corpo); color: #767676; text-transform: uppercase;}
/* AD BANNER */
.ad-banner{width: 100%; margin: 10px 0 10px; display: grid;}
.ad-banner img{width: 90%; height: auto; display: block; justify-self: center;}
/* CLS prevention: reservar espaço mínimo para anúncios */
.ad-wide-wrap{min-height:130px;background:transparent;text-align:center;width:100%}
.ad-sq-wrap{min-height:250px;background:transparent;text-align:center}
.ad-wide-wrap img,.ad-sq-wrap img{display:block;margin:0 auto}

/* =========================================================== POPULAR ARTICLES SECTION =========================================================== */
.popular-section{background: transparent; padding: 0 0 30px; margin-top: 30px;}
.popular-section .wrap{padding-top: 0;}
/* Main 3-col grid */
.pop-grid{display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 28px;}
/* Left big featured */
.pop-featured{}
.pop-featured img{width: 100%; height: 380px; object-fit: cover; border-radius: 2px;}
.pop-featured .pf-cat{display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-top: 14px; margin-bottom: 4px;}
.pop-featured .pf-title{font-family: var(--font-titulo); font-size: 28px; font-weight: var(--peso-titulo); color: #111; line-height: 1.22; margin-bottom: 12px;}
.pop-featured .pf-excerpt{font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 10px;}
.pop-featured .pf-meta{font-size: 11px; color: #767676; text-transform: uppercase;}
.pop-featured .pf-meta .by-author{font-weight: 700; color: #111;}
/* Center & Right stacked columns */
.pop-stack{display: flex; flex-direction: column; gap: 24px; min-width: 0;}
.pop-card{min-width: 0;}
.pop-card .pc-img{position: relative; overflow: hidden; border-radius: 2px;}
.pop-card .pc-img img{width: 100%; height: 195px; object-fit: cover; display: block;}
.pop-card .pc-cat{display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-top: 10px; margin-bottom: 3px;}
.pop-card .pc-title{font-size: 17px; font-weight: var(--peso-titulo); color: #111; line-height: 1.3; display: block; margin-bottom: 5px;}
.pop-card .pc-meta{font-size: 11px; color: #767676; text-transform: uppercase;}
.pop-card .pc-meta .by-author{font-weight: 700; color: #111;}
/* Small horizontal cards grid (4 cols) */
.pop-small-row{display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 16px;}
.pop-sm{display: flex; gap: 12px; align-items: center;}
.pop-sm img{width: 80px; height: 72px; object-fit: cover; border-radius: 2px; flex-shrink: 0;}
.pop-sm .psm-info{flex: 1; min-width: 0;}
.pop-sm .psm-cat{display: block; font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 2px;}
.pop-sm .psm-title{font-size: 14px; font-weight: var(--peso-titulo); color: #111; line-height: 1.3; display: block; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 3px;}
.pop-sm .psm-date{font-size: 10.5px; color: #767676; text-transform: uppercase;}

/* =========================================================== LATEST NEWS SECTION =========================================================== */
.latest-section{padding: 30px 0;}
/* Left-aligned divider */
.section-divider-left{display: flex; align-items: center; gap: 12px; margin-bottom: 24px;}
.section-divider-left span{font-size: 12px; font-weight: var(--peso-titulo); letter-spacing: 2px; text-transform: uppercase; color: #111; white-space: nowrap;}
.section-divider-left::after{content: ''; flex: 1; height: 2px; background: var(--accent2);}
/* 2-col layout */
.latest-layout{display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: flex-start;}
.latest-layout > *{min-width: 0;}
/* Article items */
.latest-list{}
.latest-item{display: flex; gap: 22px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #eee;}
.latest-item:last-child{border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
.latest-item .li-img{display: block; position: relative; flex-shrink: 0; width: 300px; height: 210px; overflow: hidden; border-radius: 2px;}
.latest-item .li-img img{width: 100%; height: 100%; object-fit: cover;}
.latest-item .li-text{flex: 1; min-width: 0; padding-top: 4px;}
.latest-item .li-text .li-cat{display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 6px;}
.latest-item .li-text h3{font-family: var(--font-titulo); font-size: 22px; font-weight: var(--peso-titulo); color: #111; line-height: 1.25; margin-bottom: 10px;}
.latest-item .li-text p{font-size: 14px; color: #666; line-height: 1.65; margin-bottom: 10px;}
.latest-item .li-text .li-meta{font-size: 11px; color: #767676; text-transform: uppercase;}
.latest-item .li-text .li-meta .by-author{font-weight: 700; color: #111;}
/* Load more button */
.btn-load-more{display: block; margin: 28px auto 0; background: var(--accent); color: #fff; border: none; padding: 12px 40px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer;}
.btn-load-more:hover{background: var(--accent-dk);}
/* ---- SIDEBAR ---- */
.latest-sidebar{}
/* Social links */
.social-list{display: flex; flex-direction: column; gap: 0; margin-bottom: 30px;}
.social-row{display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0;}
.social-row:last-child{border-bottom: none;}
.social-row .soc-icon{width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex-shrink: 0; margin-right: 12px;}
.social-row .soc-name{font-size: 14px; font-weight: 700; color: #111; flex: 1;}
.social-row .soc-stats{text-align: right;}
.social-row .soc-stats .soc-count{font-size: 14px; font-weight: var(--peso-titulo); color: #111;}
.social-row .soc-stats .soc-label{font-size: 12px; color: #767676; margin-left: 3px;}
/* Trending */
.trending-title{font-size: 12px; font-weight: var(--peso-titulo); letter-spacing: 2px; text-transform: uppercase; color: #111; padding-bottom: 10px; border-bottom: 3px solid var(--accent); margin-bottom: 18px; display: inline-block;}
.trending-item{display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #eee;}
.trending-item:last-child{border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
.trending-item img{width: 85px; height: 68px; object-fit: cover; border-radius: 2px; flex-shrink: 0;}
.trending-item .tr-info{flex: 1; min-width: 0;}
.trending-item .tr-info .tr-cat{display: block; font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 2px;}
.trending-item .tr-info .tr-title{font-size: 14px; font-weight: var(--peso-titulo); color: #111; line-height: 1.3; display: block; margin-bottom: 3px;}
.trending-item .tr-info .tr-date{font-size: 10.5px; font-weight: 700; color: #767676; text-transform: uppercase;}

/* =========================================================== INNER PAGES — SHARED =========================================================== */
.breadcrumb{font-size: 13px; color: #767676; padding: 14px 0;}
.breadcrumb a{color: #222; font-weight: var(--peso-corpo);}
.breadcrumb a:hover{color: var(--accent);}
.breadcrumb li{display:inline;}
.breadcrumb li+li::before{content:'›'; margin:0 6px; color:#bbb; speak:none; speak-as:spell-out;}
.inner-layout{display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; padding-bottom: 40px; align-items: flex-start;}
.inner-layout > *{min-width: 0;}
.inner-sidebar{}
/* Sidebar: recent posts */
.sb-title{font-size: 13px; font-weight: var(--peso-titulo); letter-spacing: 2px; text-transform: uppercase; color: #111; margin-bottom: 18px;}
.sb-recent-item{display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid #eee;}
.sb-recent-item:last-child{border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
.sb-recent-item img{width: 85px; height: 68px; object-fit: cover; border-radius: 2px; flex-shrink: 0;}
.sb-recent-item .sr-info{flex: 1; min-width: 0;}
.sb-recent-item .sr-cat{display: block; font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 2px;}
.sb-recent-item .sr-title{font-size: 14px; font-weight: var(--peso-titulo); color: #111; line-height: 1.3; display: block; margin-bottom: 3px;}
.sb-recent-item .sr-date{font-size: 10.5px; font-weight: 700; color: #767676; text-transform: uppercase;}
/* Sidebar: categories */
.sb-categories{margin-top: 30px;}
.sb-cat-item{display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; color: #333;}
.sb-cat-item:last-child{border-bottom: none;}
.sb-cat-item .cat-name{display: flex; align-items: center; gap: 6px;}
.sb-cat-item .cat-name i{font-size: 8px; color: #767676;}
.sb-cat-item .cat-count{display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent2); color: #fff; font-size: 11px; font-weight: 700;}
/* Post list item (inner pages) */
.ip-item{display: flex; gap: 22px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid #eee;}
.ip-item:last-child{border-bottom: none; margin-bottom: 0; padding-bottom: 0;}
.ip-item .ip-img{display: block; position: relative; flex-shrink: 0; width: 300px; height: 210px; overflow: hidden; border-radius: 2px;}
.ip-item .ip-img img{width: 100%; height: 100%; object-fit: cover;}
.ip-item .ip-img .ip-score{position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: #e6a817; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; border: 2px solid rgba(255,255,255,0.4);}
.ip-item .ip-text{flex: 1; min-width: 0; padding-top: 4px;}
.ip-item .ip-text .ip-cat{display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 6px;}
.ip-item .ip-text h3{font-family: var(--font-titulo); font-size: 22px; font-weight: var(--peso-titulo); color: #111; line-height: 1.25; margin-bottom: 10px;}
.ip-item .ip-text p{font-size: 14px; color: #666; line-height: 1.65; margin-bottom: 10px;}
.ip-item .ip-text .ip-meta{font-size: 11px; color: #767676; text-transform: uppercase;}
.ip-item .ip-text .ip-meta .by-author{font-weight: 700; color: #111;}
/* ---- AUTHOR PAGE ---- */
.author-card{background: #f7f7f7; padding: 30px; display: flex; gap: 22px; align-items: flex-start; margin-bottom: 30px; border-radius: 2px;}
.author-card img{width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0;}
.author-card .ac-info{flex: 1;}
.author-card .ac-info .ac-label{font-size: 11px; color: #767676; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px;}
.author-card .ac-info .ac-name{font-size: 20px; font-weight: var(--peso-titulo); color: #111; margin-bottom: 6px;}
.author-card .ac-info .ac-bio{font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 12px;}
.author-card .ac-socials{display: flex; gap: 12px; margin-bottom: 12px;}
.author-card .ac-socials a{color: #555; font-size: 16px;}
.author-card .ac-socials a:hover{color: var(--accent);}
.author-card .ac-stats{display: flex; gap: 10px;}
.author-card .ac-stats span{font-size: 12px; font-weight: 700; color: #555; border: 1px solid #ddd; padding: 4px 12px; border-radius: 2px;}
/* ---- CATEGORY PAGE ---- */
.cat-page-title{font-family: var(--font-titulo); font-size: 38px; font-weight: var(--peso-titulo); color: #111; margin-bottom: 8px;}
.cat-page-desc{font-size: 15px; color: #666; line-height: 1.65; margin-bottom: 30px;}
/* ---- SEARCH PAGE ---- */
.search-page-title{font-family: var(--font-titulo); font-size: 32px; font-weight: var(--peso-titulo); color: #111; margin-bottom: 28px;}
.no-results{font-size: 15px; color: #666;}
.text-link{color: var(--accent); font-weight: 700;}
.text-link:hover{text-decoration: underline;}
/* ---- 404 PAGE ---- */
.page-404{text-align: center; padding: 80px 20px; max-width: 650px; margin: 0 auto;}
.page-404 h1{font-family: var(--font-titulo); font-size: 38px; font-weight: var(--peso-titulo); color: #111; margin-bottom: 16px;}
.page-404 p{font-size: 15px; color: #666; line-height: 1.65; margin-bottom: 30px;}
.page-404 .search-404{display: flex; max-width: 420px; margin: 0 auto 24px; border: 1px solid #ddd;}
.page-404 .search-404 input{flex: 1; padding: 12px 16px; border: none; font-size: 14px; outline: none; font-family: inherit;}
.page-404 .search-404 button{background: none; border: none; padding: 12px 16px; font-size: 16px; color: #555; cursor: pointer;}
.page-404 .btn-back{display: inline-block; background: var(--accent); color: #fff; padding: 14px 36px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;}
.page-404 .btn-back:hover{background: var(--accent-dk);}
/* ---- CONTACT PAGE ---- */
.contact-layout{display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 40px 0 50px;}
.contact-left{}
.contact-left h2{font-family: var(--font-titulo); font-size: 28px; font-weight: var(--peso-titulo); color: #111; font-style: italic; margin-bottom: 16px;}
.contact-left .cl-text{font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 28px;}
.contact-left h3{font-size: 18px; font-weight: var(--peso-titulo); color: #111; margin-bottom: 10px;}
.contact-left .cl-address{font-size: 14px; color: #555; line-height: 1.8;}
.contact-left .cl-address a{color: #555;}
.contact-left .cl-address a:hover{color: var(--accent);}
.contact-form{}
.contact-form input, .contact-form textarea{width: 100%; padding: 14px 16px; border: 1px solid #ddd; font-size: 14px; font-family: inherit; margin-bottom: 16px; outline: none; transition: border-color 0.2s; background: #fff;}
.contact-form input:focus, .contact-form textarea:focus{border-color: #767676;}
.contact-form textarea{height: 180px; resize: vertical;}
.contact-form .btn-contact{display: inline-block; background: var(--accent); color: #fff; border: none; padding: 14px 32px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer;}
.contact-form .btn-contact:hover{background: var(--accent-dk);}
/* ---- STATIC PAGES (About, Privacy, Terms) ---- */
.static-page{padding: 30px 0 60px; max-width: 820px;}
.static-page h1{font-family: var(--font-titulo); font-size: 32px; font-weight: var(--peso-titulo); color: #111; margin-bottom: 8px; line-height: 1.2;}
.static-page h1+p:first-of-type,.static-page .static-updated{font-size: 13px; color: #999; margin-bottom: 28px;}
.static-page h2{font-size: 20px; font-weight: var(--peso-titulo); color: #111; margin: 32px 0 10px; padding-bottom: 8px; border-bottom: 1px solid #eee;}
.static-page h3{font-size: 17px; font-weight: 700; color: #222; margin: 24px 0 8px;}
.static-page p{font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 16px;}
.static-page ul,.static-page ol{padding-left: 24px; margin-bottom: 16px;}
.static-page li{font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 6px;}
.static-page strong{color: #222;}
.static-page a{color: var(--cor-primaria, #e63946); text-decoration: underline;}
.static-page blockquote{border-left: 3px solid var(--cor-primaria, #e63946); margin: 20px 0; padding: 12px 20px; background: #f9f9f9; font-style: italic; color: #555;}
.static-page hr{border: none; border-top: 1px solid #eee; margin: 28px 0;}

/* =========================================================== FOOTER =========================================================== */
.site-footer{background: var(--footer-bg); color: var(--footer-txt); padding: 45px 0 0; margin-top: auto;}
.footer-grid{display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1.3fr; gap: 35px; padding-bottom: 35px; border-bottom: 1px solid rgba(255,255,255,0.08);}
.footer-grid h4{color: var(--footer-txt); filter: brightness(1.4); font-size: 14px; font-weight: var(--peso-titulo); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 22px;}
.footer-grid ul li{margin-bottom: 10px;}
.footer-grid ul li a{color: var(--footer-txt); font-size: 13.5px; font-weight: var(--peso-corpo); transition: color 0.2s;}
.footer-grid ul li a:hover{color: var(--accent);}
.footer-empty{color: #666; font-size: 13px; font-style: italic;}
.footer-subscribe-text{font-size: 13px; color: var(--footer-txt); line-height: 1.6; margin-bottom: 16px;}
.footer-form{display: flex; gap: 0; margin-bottom: 12px;}
.footer-form input{flex: 1; padding: 10px 12px; background: transparent; border: 1px solid rgba(255,255,255,0.15); color: var(--footer-txt); font-size: 13px; outline: none; font-family: inherit;}
.footer-form input::placeholder{color: #666;}
.footer-form button{background: var(--accent2); color: #fff; border: none; padding: 10px 18px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; white-space: nowrap;}
.footer-form button:hover{opacity:.88;}
.footer-consent{display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--footer-txt); opacity:.7; cursor: pointer;}
.footer-consent input[type="checkbox"]{width: 13px; height: 13px; accent-color: #555;}
.footer-bottom{text-align: center; padding: 18px 0; font-size: 12px; color: var(--footer-bottom-txt); background: var(--footer-bottom-bg);}
.footer-bottom strong{color: var(--footer-bottom-txt); filter: brightness(1.3); font-weight: 700;}

/* =========================================================== POST PAGE =========================================================== */
/* Progress bar */
.progress-bar{position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 99999; transition: width 0.1s linear; width: 0%;}
/* Post header */
.post-cat{display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 8px;}
.post-title{font-family: var(--font-titulo); font-size: 36px; font-weight: var(--peso-titulo); color: #111; line-height: 1.2; margin-bottom: 12px;}
.post-subtitle{font-size: 16px; color: #666; line-height: 1.6; margin-bottom: 16px;}
.post-meta-bar{display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 12px; color: #767676; text-transform: uppercase;}
.post-meta-bar img{width: 32px; height: 32px; border-radius: 50%; object-fit: cover;}
.post-meta-bar .pm-author{font-weight: var(--peso-titulo); color: #111;}
.post-meta-bar span{display: flex; align-items: center; gap: 4px;}
.post-featured-img{width: 100% !important; height: auto !important; max-height: 600px; object-fit: cover; margin-bottom: 8px; border-radius: 2px; display: block; aspect-ratio: auto !important;}
.post-article{min-width: 0; overflow: hidden;}
.post-img-source{font-size: 12px; color: #888; margin-bottom: 24px; font-style: italic;}
/* Primeira imagem do artigo = capa visual */
.article-content figure:first-of-type{margin: 0 0 24px !important;}
.article-content figure:first-of-type img{border-radius: 4px !important;}
/* Capa com figcaption IDÊNTICO às inline do article-content */
.post-cover-figure{margin: 0 0 24px; max-width: 100%; overflow: hidden;}
.post-cover-figure img{width: 100%; height: auto; max-height: 600px; object-fit: cover; display: block; border-radius: 4px;}
.post-cover-figure figcaption{font-size: 12px; text-align: left; margin-top: 10px; color: var(--tc); word-wrap: break-word; overflow-wrap: break-word; font-style: italic; line-height: 1.4;}
/* Post body + floating share */
.post-body-wrap{position: relative; display: flex; gap: 20px; align-items: flex-start;}
.post-share-float{position: sticky; top: 80px; display: flex; flex-direction: column; gap: 6px; z-index: 10; flex-shrink: 0;}
.post-share-float a{width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #555; border: 1px solid #ddd; font-size: 15px; transition: all 0.15s;}
.post-share-float a:hover{background: var(--accent); color: #fff; border-color: var(--accent);}
/* Post content */
.post-content{max-width: 100%; flex: 1; min-width: 0;}
.post-content p{color: #444; line-height: 1.6; margin-bottom: 18px;}
.post-content a{color: var(--accent); text-decoration: underline;}
.post-content h2{font-family: var(--font-titulo); font-size: 26px; font-weight: var(--peso-titulo); color: #111; margin: 32px 0 14px;}
.post-content img{width: 100%; height: auto; margin: 20px 0 24px; border-radius: 2px;}
.post-content blockquote{background: #f9f5f0; border-left: none; margin: 28px 0; padding: 30px 35px; position: relative;}
.post-content blockquote::before{display:none}
.post-content blockquote p{font-family: var(--font-titulo); font-size: 20px; font-weight: var(--peso-titulo); color: #222; font-style: italic; line-height: 1.5; margin-bottom: 8px; padding-left: 30px;}
.post-content blockquote cite{font-size: 13px; color: #888; font-style: normal; padding-left: 30px;}
.drop-cap{float: left; font-family: var(--font-titulo); font-size: 58px; font-weight: var(--peso-titulo); line-height: 0.85; margin-right: 8px; margin-top: 4px; color: #111;}
/* Sources & Tags */
.post-sources{font-size: 13px; color: #666; margin-bottom: 6px;}
.post-sources strong{color: #333;}
.post-sources a{color: #555; text-decoration: underline;}
.post-tags{display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 30px;}
.post-tags a{display: inline-block; padding: 6px 16px; border-radius: 20px; background: #222; color: #fff; font-size: 12px; font-weight: 600;}
.post-tags a:hover{background: var(--accent);}
/* Prev Post */
.prev-post{display: flex; align-items: center; gap: 14px; padding: 20px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin-bottom: 24px;}
.prev-post img{width: 70px; height: 70px; border-radius: 50%; object-fit: cover; flex-shrink: 0;}
.prev-post .pp-label{font-size: 11px; color: #767676; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px;}
.prev-post .pp-title{font-size: 15px; font-weight: var(--peso-titulo); color: #111; line-height: 1.3;}
/* Share bar */
.share-bar{display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap;}
.share-bar a{display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; color: #fff; font-size: 13px; font-weight: 600; border-radius: 3px; white-space: nowrap;}
.share-bar .sh-fb{background: #1877f2; flex: 1;}
.share-bar .sh-tw{background: #222; flex: 1;}
.share-bar .sh-pin{background: var(--accent); flex: 1;}
.share-bar .sh-icon{width: 40px; padding: 10px 0; border-radius: 3px; display: flex; align-items: center; justify-content: center;}
.share-bar .sh-in{background: #0077b5;}
.share-bar .sh-wa{background: #25d366;}
.share-bar .sh-tg{background: #0088cc;}
.share-bar .sh-em{background: #555;}
/* Author box */
.post-author-box{background: #f7f7f7; padding: 28px; display: flex; gap: 20px; align-items: flex-start; margin-bottom: 36px; border-radius: 2px;}
.post-author-box img{width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0;}
.post-author-box .pab-info{flex: 1;}
.post-author-box .pab-label{font-size: 11px; color: #767676; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px;}
.post-author-box .pab-name{font-size: 18px; font-weight: var(--peso-titulo); color: #111; margin-bottom: 6px;}
.post-author-box .pab-bio{font-size: 13.5px; color: #666; line-height: 1.6; margin-bottom: 10px; font-style: italic;}
.post-author-box .pab-socials{display: flex; gap: 12px;}
.post-author-box .pab-socials a{color: #555; font-size: 15px;}
.post-author-box .pab-socials a:hover{color: var(--accent);}
/* Comment form */
.comment-section{margin-bottom: 40px;}
.comment-title{font-size: 13px; font-weight: var(--peso-titulo); letter-spacing: 2px; text-transform: uppercase; color: #111; margin-bottom: 6px;}
.comment-note{font-size: 13px; color: #666; margin-bottom: 18px;}
.comment-note .req{color: var(--accent);}
.comment-form textarea{width: 100%; padding: 14px 16px; border: 1px solid #ddd; font-size: 14px; font-family: inherit; margin-bottom: 14px; outline: none; height: 180px; resize: vertical;}
.comment-form .cf-fields{display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-bottom: 14px;}
.comment-form .cf-fields input{width: 100%; padding: 12px 14px; border: 1px solid #ddd; font-size: 13px; font-family: inherit; outline: none;}
.comment-form .cf-save{display: flex; align-items: center; gap: 8px; font-size: 13px; color: #555; margin-bottom: 18px;}
.comment-form .cf-save input{width: 14px; height: 14px;}
.comment-form .btn-comment{display: inline-block; background: var(--accent); color: #fff; border: none; padding: 14px 28px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer; border-radius: 2px;}
.comment-form .btn-comment:hover{background: var(--accent-dk);}
/* Related articles */
.related-section{padding: 30px 0 40px; border-top: 1px solid #eee;}
.related-title{font-size: 13px; font-weight: var(--peso-titulo); letter-spacing: 2px; text-transform: uppercase; color: #111; margin-bottom: 22px;}
.related-grid{display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;}
.related-card img{width: 100%; height: 190px; object-fit: cover; border-radius: 2px; margin-bottom: 10px;}
.related-card .rc-cat{display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 4px;}
.related-card .rc-title{font-size: 16px; font-weight: var(--peso-titulo); color: #111; line-height: 1.3; display: block; margin-bottom: 8px;}
.related-card .rc-excerpt{font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 6px;}
.related-card .rc-meta{font-size: 11px; color: #767676; text-transform: uppercase;}
.related-card .rc-meta strong{color: #111; font-weight: 700;}

/* =========================================================== AUTHORS PAGE =========================================================== */
.authors-grid{display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px;}
.author-card-item{background: #f9f9f9; border-radius: 6px; padding: 28px 24px; text-align: center; transition: box-shadow .2s, transform .2s; border: 1px solid #eee;}
.author-card-item:hover{box-shadow: 0 6px 20px rgba(0,0,0,.08); transform: translateY(-2px);}
.author-card-item img{width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 14px;}
.author-card-item .aci-name{display: block; font-size: 18px; font-weight: var(--peso-titulo); color: #111; margin-bottom: 6px;}
.author-card-item .aci-bio{font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
.author-card-item .aci-articles{font-size: 12px; color: #767676; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;}
.author-card-item .aci-btn{display: inline-block; padding: 8px 22px; border: 2px solid #111; color: #111; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 30px; transition: all .2s;}
.author-card-item .aci-btn:hover{background: #111; color: #fff;}

/* =========================================================== COMMENTS =========================================================== */
.comments-list{margin-bottom: 36px;}
.comments-count{font-size: 13px; font-weight: var(--peso-titulo); letter-spacing: 2px; text-transform: uppercase; color: #111; margin-bottom: 20px;}
.comment-item{display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid #eee;}
.comment-item:last-child{border-bottom: none;}
.comment-item img{width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0;}
.comment-item .ci-body{flex: 1;}
.comment-item .ci-header{display: flex; align-items: center; gap: 10px; margin-bottom: 6px;}
.comment-item .ci-name{font-size: 14px; font-weight: var(--peso-titulo); color: #111;}
.comment-item .ci-date{font-size: 12px; color: #767676;}
.comment-item .ci-text{font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 8px;}
.comment-item .ci-reply-btn{font-size: 12px; font-weight: 700; color: var(--accent); cursor: pointer; background: none; border: none; padding: 0;}
.comment-item .ci-reply-btn:hover{text-decoration: underline;}
.comment-replies{margin-left: 62px; border-left: 3px solid var(--accent); padding-left: 16px; margin-top: 4px;}
.comment-replies .comment-item{border-bottom: none; padding: 12px 0; background: transparent;}
.comment-replies .comment-item img{width: 36px; height: 36px;}
.reply-badge{display:inline-flex;align-items:center;gap:3px;font-size:10px;background:var(--accent);color:#fff;padding:2px 7px;border-radius:3px;margin-left:8px;font-weight:700;vertical-align:middle;letter-spacing:.3px;}


/* =========================================================== PAGINATION =========================================================== */
.pagination{display: flex; align-items: center; justify-content: center; gap: 6px; margin: 30px 0 10px;}
.pagination a, .pagination span{display: flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 12px; border-radius: 4px; font-size: 13px; font-weight: 700; border: 1px solid #ddd; color: #555; transition: all .15s;}
.pagination a:hover{background: #f5f5f5; border-color: #bbb;}
.pagination .pg-active{background: var(--accent); color: #fff; border-color: var(--accent);}
.pagination .pg-dots{border: none; color: #767676; min-width: 24px; padding: 0;}
.pagination .pg-arrow{font-size: 11px;}
.pagination .pg-arrow.disabled{opacity: .3; pointer-events: none;}

/* =========================================================== DARK MODE =========================================================== */
body.dark-mode{background: var(--bg-site); color: #ddd;}




body.dark-mode .nav-links li a{color: #ccc;}
body.dark-mode .nav-links li a:hover{color: var(--accent);}
body.dark-mode .nav-links li a.active{color: var(--accent);}
body.dark-mode .hamburger span{background: #ccc;}
body.dark-mode .hero-center-text, body.dark-mode .static-page, body.dark-mode .contact-left{color: #ddd;}
body.dark-mode .static-page h1, body.dark-mode .static-page h2, body.dark-mode .static-page h3, body.dark-mode .static-page strong{color: #e0e0e0;}
body.dark-mode .static-page p, body.dark-mode .static-page li{color: #ccc;}
body.dark-mode .static-page h2{border-color: #333;}
body.dark-mode .static-page blockquote{background: #1a1a1a; color: #aaa;}
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode .post-title, body.dark-mode .pf-title, body.dark-mode .pc-title, body.dark-mode .hlc-title, body.dark-mode .ts-title, body.dark-mode .psm-title, body.dark-mode .tr-title, body.dark-mode .sr-title, body.dark-mode .li-cat, body.dark-mode .section-divider span, body.dark-mode .section-divider-left span, body.dark-mode .trending-title, body.dark-mode .sb-title, body.dark-mode .comments-count, body.dark-mode .comment-title, body.dark-mode .related-title, body.dark-mode .ci-name, body.dark-mode .aci-name, body.dark-mode .pm-author, body.dark-mode .by-author, body.dark-mode .rc-title, body.dark-mode .ticker-title, body.dark-mode .cat-page-title, body.dark-mode .search-page-title{color: #eee;}
body.dark-mode .breadcrumb, body.dark-mode .breadcrumb a{color: #888;}
body.dark-mode .breadcrumb li+li::before{color: #555;}
body.dark-mode p, body.dark-mode .post-content p, body.dark-mode .ci-text, body.dark-mode .aci-bio, body.dark-mode .rc-excerpt, body.dark-mode .pf-excerpt, body.dark-mode .post-subtitle, body.dark-mode .comment-note, body.dark-mode .cl-text{color: #767676;}
body.dark-mode .section-divider, body.dark-mode .section-divider-left{border-color: #333;}
body.dark-mode .section-divider span, body.dark-mode .section-divider-left span{background: var(--bg-site);}
body.dark-mode .hero-sb-item, body.dark-mode .trending-item, body.dark-mode .sb-recent-item, body.dark-mode .comment-item, body.dark-mode .latest-item, body.dark-mode .ip-item{border-color: #333;}
body.dark-mode .post-content blockquote{background: #262626;}
body.dark-mode .post-author-box, body.dark-mode .author-card-item{background: #262626; border-color: #333;}
body.dark-mode .popular-section{background: transparent;}
body.dark-mode .latest-section{background: var(--bg-site);}
body.dark-mode .inner-sidebar{color: #ccc;}
body.dark-mode .sb-categories, body.dark-mode .sb-cat-item{border-color: #333;}
body.dark-mode .cat-count{background: var(--accent);}
body.dark-mode input, body.dark-mode textarea{background: #262626; border-color: #444; color: #ddd;}
body.dark-mode input::placeholder, body.dark-mode textarea::placeholder{color: #767676;}
body.dark-mode .post-share-float a{border-color: #444; color: #767676;}
body.dark-mode .share-bar .sh-icon{opacity: .85;}
body.dark-mode .pagination a, body.dark-mode .pagination span{border-color: #444; color: #767676;}
body.dark-mode .pagination a:hover{background: #333;}
body.dark-mode .cookie-box{background: #262626; border-color: #444;}
body.dark-mode .cookie-box .cb-text{color: #ccc;}
body.dark-mode .sidebar-menu{background: color-mix(in srgb, var(--nav-bg) 100%, transparent);}
body.dark-mode .sidebar-nav a{color: #ccc; border-color: #333;}
body.dark-mode .search-overlay{background: rgba(0,0,0,.92);}
body.dark-mode .search-overlay input{background: #333; color: #fff; border-color: #555;}
body.dark-mode .page-404{color: #ccc;}
body.dark-mode .page-404 h1{color: #eee;}
body.dark-mode .ad-banner{opacity: .8;}
body.dark-mode .pop-sm, body.dark-mode .pop-card, body.dark-mode .pop-featured, body.dark-mode .ts-card, body.dark-mode .ticker-item, body.dark-mode .hero-left-card{color: #ddd;}
body.dark-mode .aci-btn{border-color: #767676; color: #767676;}
body.dark-mode .aci-btn:hover{background: #fff; color: #111;}
body.dark-mode .header-right a{color: #ccc;}
body.dark-mode .header-right a:hover{color: var(--accent);}
body.dark-mode .search-icon{color: #ccc;}
body.dark-mode .search-icon:hover{color: var(--accent);}
body.dark-mode .hero-sb-item .sb-text h4{color: #eee;}
body.dark-mode .ticker-item .ticker-title{color: #eee;}
body.dark-mode .hero-left-card .hlc-title{color: #eee;}
body.dark-mode .hero-left-card .hlc-meta .by-author{color: #ccc;}
body.dark-mode .hero-center-text h2{color: #eee;}
body.dark-mode .hero-center-text .hc-meta .by-author{color: #ccc;}
body.dark-mode .ts-card .ts-title{color: #eee;}
body.dark-mode .ts-card .ts-date{color: #767676;}
body.dark-mode .pop-featured .pf-title{color: #eee;}
body.dark-mode .pop-featured .pf-meta .by-author{color: #ccc;}
body.dark-mode .pop-card .pc-title{color: #eee;}
body.dark-mode .pop-card .pc-meta .by-author{color: #ccc;}
body.dark-mode .pop-sm .psm-title{color: #eee;}
body.dark-mode .latest-item .li-text h3{color: #eee;}
body.dark-mode .latest-item .li-text .li-meta{color: #767676;}
body.dark-mode .latest-item .li-text .li-meta .by-author{color: #ccc;}
body.dark-mode .ip-item .ip-text h3{color: #eee;}
body.dark-mode .ip-item .ip-text .ip-meta .by-author{color: #ccc;}
body.dark-mode .social-row{border-color: #333;}
body.dark-mode .social-row .soc-name{color: #eee;}
body.dark-mode .social-row .soc-stats .soc-count{color: #eee;}
body.dark-mode .trending-item .tr-info .tr-title{color: #eee;}
body.dark-mode .sb-recent-item .sr-title{color: #eee;}
body.dark-mode .author-card{border-color: #333;}
body.dark-mode .author-card .ac-info .ac-name{color: #eee;}
body.dark-mode .author-card .ac-info .ac-bio{color: #767676;}
body.dark-mode .author-card .ac-socials a{color: #767676;}
body.dark-mode .author-card .ac-socials a:hover{color: var(--accent);}
body.dark-mode .author-card .ac-stats span{color: #767676; border-color: #444;}
body.dark-mode .cat-page-title{color: #eee;}
body.dark-mode .cat-page-desc{color: #767676;}
body.dark-mode .search-page-title{color: #eee;}
body.dark-mode .toggle-switch .knob i{color: #ffc107;}
body.dark-mode .post-content{color: #ccc;}
body.dark-mode .post-content h2{color: #eee;}
body.dark-mode .post-content a{color: var(--accent);}
body.dark-mode .post-tags a{background: #333; color: #ccc; border-color: #444;}
body.dark-mode .post-source-item a{color: #ccc;}
body.dark-mode .prev-post{border-color: #333;}
body.dark-mode .prev-post .pp-title{color: #eee;}
body.dark-mode .share-bar a{color: #ccc;}
body.dark-mode .comment-form textarea{background: #262626; border-color: #444; color: #ddd;}
body.dark-mode .contact-right{background: #262626;}
body.dark-mode .btn-send{background: var(--accent);}
body.dark-mode .hero-ticker{border-color: #333;}

body.dark-mode .btn-subscribe{background: #fff; color: #111;}
body.dark-mode .li-cat{color: var(--accent);}
body.dark-mode .ip-cat{color: var(--accent);}
body.dark-mode .no-results{color: #767676;}

/* =========================================================== COOKIE CONSENT =========================================================== */
.cookie-box{display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid #ddd; padding: 18px 0; z-index: 9990; box-shadow: 0 -2px 12px rgba(0,0,0,0.08);}
.cookie-box.active{display: block;}
.cookie-box .cb-inner{max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px;}
.cookie-box .cb-text{font-size: 13.5px; color: #444; line-height: 1.55;}
.cookie-box .cb-text a{color: #333; text-decoration: underline; font-weight: 600;}
.cookie-box .cb-text a:hover{color: var(--accent);}
.cookie-box .cb-btn{flex-shrink: 0; background: #2196F3; color: #fff; border: none; padding: 10px 28px; font-size: 13px; font-weight: 700; border-radius: 4px; cursor: pointer; white-space: nowrap;}
.cookie-box .cb-btn:hover{background: #1976D2;}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px){
    .hero-grid{grid-template-columns: 200px 1fr 240px; gap: 20px;}
    .hero-ticker{grid-template-columns: repeat(2, 1fr);}
    .top-story-row{grid-template-columns: repeat(3, 1fr);}
    .pop-grid{grid-template-columns: 1fr 1fr;}
    .pop-featured img{height: 300px;}
    .pop-small-row{grid-template-columns: repeat(2, 1fr);}
    .latest-layout{grid-template-columns: minmax(0, 1fr) 280px; gap: 28px;}
    .latest-item .li-img{width: 250px; height: 180px;}
}
@media (max-width: 768px){
    /* Topbar */
    .topbar-date { display: none; }
    .topbar .wrap { flex-wrap: wrap; gap: 4px; }
    .topbar-left{gap: 14px;}
    .topbar-left a{font-size: 11px;}
    /* Header */
    .logo img{height: 36px;}
    .btn-subscribe { display: none; }
    .header-inner{grid-template-columns: auto 1fr auto; gap: 12px;}
    .header-right { gap: 12px; }
    .site-header { padding: 14px 0; }
    /* Navbar */
    .nav-links { display: none !important; }
    .navbar-inner { padding: 0 16px; }
    /* Hero */
    .hero-ticker{grid-template-columns: 1fr 1fr; gap: 12px;}
    .hero-grid{grid-template-columns: 1fr; gap: 0;}
    .hero-left{flex-direction: row; gap: 14px;}
    .hero-left-card{flex: 1;}
    .hero-left-card img{height: 150px;}
    .hero-center-text h2{font-size: 24px;}
    .hero-center-text p { display: none; }
    /* Top story */
    .top-story-row{grid-template-columns: repeat(2, 1fr);}
    /* Popular */
    .pop-grid{grid-template-columns: 1fr;}
    .pop-small-row{grid-template-columns: 1fr 1fr; gap: 14px;}
    /* Latest */
    .latest-sidebar { display: none; }
    .latest-layout{grid-template-columns: 1fr;}
    .latest-item{flex-direction: column;}
    .latest-item .li-img{width: 100%; height: 220px;}
    /* Footer */
    .footer-grid{grid-template-columns: 1fr 1fr; gap: 25px;}
    .footer-copy { text-align: center; font-size: 11px; }
    /* Inner pages */
    .inner-layout{grid-template-columns: 1fr;}
    .sidebar-widget { display: none; }
    .ip-item{flex-direction: column;}
    .ip-item .ip-img{width: 100%; height: 200px;}
    .contact-layout{grid-template-columns: 1fr; gap: 30px;}
    /* Post */
    .post-share-float{display: none;}
    .post-body-wrap{display: block;}
    .post-title{font-size: 24px; line-height: 1.25;}
    .post-subtitle { font-size: 14px; }
    .comment-form .cf-fields{grid-template-columns: 1fr;}
    .related-grid{grid-template-columns: 1fr 1fr;}
    .share-bar a{padding: 8px 12px; font-size: 12px;}
    .authors-grid{grid-template-columns: 1fr 1fr;}
    .comment-replies{margin-left: 30px;}
    /* Tables responsive */
    .article-content table{display: block!important; overflow-x: auto!important; -webkit-overflow-scrolling: touch!important;}
    .article-content table tbody{display: table!important; width: 100%!important; min-width: 500px!important;}
}
@media (max-width: 480px){
    /* Topbar */
    .topbar { padding: 6px 0; }
    .topbar-left { gap: 6px; }
    .topbar-left a { font-size: 10px; }
    /* Header */
    .site-header { padding: 10px 0; }
    .logo img { height: 30px; }
    .header-right a { font-size: 16px; }
    /* Hero */
    .hero-ticker { display: none; }
    .hero-grid { padding: 12px 0; }
    .hero-center-text { padding: 12px 6px 0; }
    .hero-center-text h2 { font-size: 20px; }
    .hero-left { display: none; }
    .hero-right { display: none; }
    /* Cards home */
    .top-story-row { grid-template-columns: 1fr; gap: 16px; }
    .ts-card .ts-img img { height: 160px; }
    /* Authors */
    .authors-grid{grid-template-columns: 1fr;}
    /* Popular small */
    .pop-small-row { grid-template-columns: 1fr; }
    /* Related */
    .related-grid{grid-template-columns: 1fr;}
    /* Footer */
    .footer-grid{grid-template-columns: 1fr;}
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    /* Post */
    .post-title{font-size: 20px;}
    .post-meta-bar { flex-wrap: wrap; gap: 6px; font-size: 11px; }
    .share-bar{flex-wrap: wrap; gap: 6px;}
    .share-bar a { font-size: 11px; padding: 8px 10px; }
    .comment-form .cf-fields { grid-template-columns: 1fr; }
}

/* ── Captcha row (formulário de comentários / newsletter) ── */
.captcha-row{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:13px}
.captcha-row input[type=number]{width:65px;padding:8px 10px;border:1px solid var(--card-border,#ddd);font-size:13px;text-align:center}
/* ══════════════════════════════════════════════════════
   SEO: Table of Contents (ToC) — gerado automaticamente
   ══════════════════════════════════════════════════════ */
.toc {
    margin-top: 20px;
    background: var(--bg-site, #f9f9f9);
    border: 1px solid var(--card-border, #e8e8e8);
    border-left: 4px solid var(--accent, #e63946);
    border-radius: 6px;
    padding: 18px 22px;
    margin-bottom: 0;
    font-size: 0.9rem;
}
.toc details{margin:0}
.toc summary{cursor:pointer;list-style:none}
.toc summary::-webkit-details-marker{display:none}
.toc summary::after{content:'▾';float:right;font-size:1.1em;transition:transform .2s}
.toc details:not([open]) summary::after{transform:rotate(-90deg)}
.toc-title {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 12px;
    color: var(--accent, #e63946);
}
.article-content figure:first-of-type{margin:0!important}
.toc-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
}
.toc-list li a {
    color: var(--header-txt, #333);
    text-decoration: none;
    transition: color .2s;
}
.toc-list li a:hover { color: var(--accent, #e63946); text-decoration: underline; }
.toc-list li.toc-sub { margin-left: 16px; font-size: 0.85rem; }

/* Stories menu highlight */
.nav-links a[href="/stories"],.topbar-links a[href="/stories"]{background:linear-gradient(90deg,#ec4899,#a855f7,#3b82f6,#06b6d4)!important;-webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;font-weight:700!important}

/* Article Content Styling */
.article-content{--tc:#333;--c1:var(--accent);--bg:#1a1a1a;--br:6px;font-size:16px!important;display:flex;flex-direction:column;gap:20px;line-height:1.6;overflow-wrap:break-word;word-wrap:break-word;max-width:100%}
.article-content h1:first-child{display:none!important}
.article-content h2,.article-content h3{color:var(--tc)!important;margin-top:15px!important;margin-bottom:0px!important}
.article-content p{margin-bottom:0!important}
.article-content ul,.article-content ol{padding-left:24px!important;display:flex!important;flex-direction:column!important;gap:10px!important}
.article-content ul{list-style:disc!important}
.article-content ol{list-style:decimal!important}
.article-content li::marker{color:var(--c1,var(--c-accent,#1a73e8))!important;font-weight:700!important;font-size:1.1em!important}
.article-content blockquote{border-left:4px solid var(--c1)!important;padding:16px!important;color:#fff!important;background:var(--tc)!important;font-style:italic!important;border-radius:var(--br)!important}
.article-content blockquote p,.article-content blockquote span,.article-content blockquote cite{color:#fff!important}
.article-content pre{background:var(--bg)!important;padding:20px!important;border:1px solid var(--tc)!important;border-radius:var(--br)!important;overflow-x:auto!important;color:#dcdcdc!important;font-family:monospace!important}
.article-content a{color:var(--c1)!important;text-decoration:underline!important;font-weight:500!important}
.article-content img{box-shadow:none!important;width:100%!important;border-radius:var(--br)!important;border:none!important;margin:0!important;padding:0!important}
.article-content figure{margin:0!important;max-width:100%!important;overflow:hidden!important}
.article-content figcaption{font-size:12px!important;text-align:left!important;margin-top:10px!important;color:var(--tc)!important;word-wrap:break-word!important;overflow-wrap:break-word!important}
.article-content table{margin:0!important;border-collapse:unset!important;color:var(--tc)!important;width:100%!important;max-width:100%!important;table-layout:auto!important}
.article-content .table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;margin:16px 0!important;max-width:100%!important}
.article-content th{border:none!important;color:var(--tc)!important;background-color:transparent!important;border-left:1px solid var(--c1)!important;border-bottom:1px solid var(--c1)!important;padding:5px 15px!important;font-size:11px!important;font-weight:700!important;text-transform:uppercase!important}
.article-content td{border:none!important;color:var(--tc)!important;background-color:transparent!important;border-left:1px solid var(--c1)!important;border-bottom:1px solid var(--c1)!important;padding:5px 15px!important;font-size:15px!important}
.article-content tr{border:none!important;color:var(--tc)!important;background:none!important}
.article-content th:first-child,.article-content td:first-child{padding-left:0!important;border-left:none!important}
.article-content tr:last-child td{border-bottom:none!important}
.article-content code{color:var(--tc)!important;border:1px solid #333!important;padding:0 3px!important;font-size:15px!important;font-weight:600!important;border-radius:var(--br)!important}
.article-content pre code{border:none!important}
body.dark-mode .article-content{--tc:#ddd;--bg:#111;--br:6px}
body.dark-mode .article-content code{border-color:#555!important}
body.dark-mode .post-img-source{color:#777;}
body.dark-mode .post-cover-figure figcaption{color:#777}

/* Video Cover */
.post-cover-video-wrap{position:relative;width:100%;padding-bottom:56.25%;background:#000;overflow:hidden}
.post-cover-video{width:100%;max-height:600px;display:block;background:#000}
.post-cover-figure video{width:100%}
.card-play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:40px;color:rgba(255,255,255,.85);pointer-events:none;text-shadow:0 2px 8px rgba(0,0,0,.4)}


/* Card play icon positioning - ensure parent containers are relative */
.sb-recent-item a,.trending-item a,.ip-item .ip-img,.hero-center a,.pop-featured>a{position:relative;display:inline-block}

