/*
Theme Name: Conexão Mato Grosso
Theme URI: https://conexaomt.com.br
Author: Diego Rohden
Author URI: https://conexaomt.com.br
Description: Tema oficial do portal de notícias Conexão Mato Grosso.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: conexao-mt
*/

/* ─── CSS VARIABLES ─── */
:root {
    --red:        #C8191E;
    --red-dark:   #9E1217;
    --red-light:  #F5E6E7;
    --blue:       #2E40A8;
    --blue-dark:  #1A2875;
    --blue-light: #E8ECF8;
    --white:      #FFFFFF;
    --bg:         #F4F4F2;
    --bg-dark:    #EAEAE8;
    --text:       #1A1A1A;
    --text-mid:   #444444;
    --text-soft:  #787878;
    --border:     #E0E0E0;
    --gold:       #C89A00;
    --green:      #1A7A3C;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Lato', sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
input, button { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ─── UTILITIES ─── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ─── SECTION HEADERS ─── */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--blue-dark);
}
.section-header.red { border-bottom-color: var(--red); }
.section-header.green { border-bottom-color: var(--green); }
.section-header.gold { border-bottom-color: var(--gold); }

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--blue-dark);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.section-title.red { color: var(--red-dark); }
.section-title.green { color: var(--green); }
.section-title.gold { color: var(--gold); }

.section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.5rem;
    background: var(--blue-dark);
    border-radius: 2px;
}
.section-title.red::before { background: var(--red); }
.section-title.green::before { background: var(--green); }
.section-title.gold::before { background: var(--gold); }

.section-link {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    transition: color .2s;
}
.section-link:hover { color: var(--red); }

/* ─── CATEGORY BADGES ─── */
.badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 2px;
    line-height: 1;
}
.badge-red    { background: var(--red);   color: #fff; }
.badge-blue   { background: var(--blue);  color: #fff; }
.badge-dark   { background: #111;          color: #fff; }
.badge-green  { background: var(--green); color: #fff; }
.badge-gold   { background: var(--gold);  color: #fff; }
.badge-teal   { background: #0D7A6F;       color: #fff; }
.badge-purple { background: #6B35A8;       color: #fff; }
.badge-orange { background: #D06000;       color: #fff; }

/* ─── BREAKING NEWS BANNER ─── */
#breaking-bar {
    background: var(--red);
    color: #fff;
    padding: 9px 0;
    overflow: hidden;
}
#breaking-bar .inner {
    display: flex;
    align-items: center;
    gap: 0;
}
.breaking-label {
    background: var(--red-dark);
    padding: 4px 16px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.breaking-label .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
.breaking-ticker {
    flex: 1;
    overflow: hidden;
    margin-left: 0;
}
.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
    padding: 0 40px;
    font-size: 0.82rem;
    font-weight: 700;
}
.ticker-item::after { content: ' • '; opacity: .5; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── TOP BAR ─── */
#top-bar {
    background: var(--blue-dark);
    color: rgba(255,255,255,.75);
    font-size: 0.72rem;
    padding: 5px 0;
    display: none;
}
@media(min-width:768px){ #top-bar { display: block; } }
#top-bar .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#top-bar a { color: rgba(255,255,255,.7); transition: color .2s; }
#top-bar a:hover { color: #fff; }
.top-socials { display: flex; gap: 14px; }
.top-date-weather { display: flex; gap: 18px; align-items: center; }
.weather-top { display: flex; align-items: center; gap: 5px; font-weight: 700; color: rgba(255,255,255,.9); }

/* ─── HEADER ─── */
#main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-svg { width: 54px; height: 54px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-conexao {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--red);
    letter-spacing: -1px;
}
.logo-mt {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue);
}

/* Search */
.header-search {
    flex: 1;
    max-width: 380px;
    display: none;
}
@media(min-width:900px){ .header-search { display: flex; } }
.header-search .search-box {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 8px 14px;
    width: 100%;
    transition: border-color .2s;
}
.header-search .search-box:focus-within { border-color: var(--blue); }
.header-search input { background: none; border: none; outline: none; font-size: 0.85rem; color: var(--text); width: 100%; }
.header-search button { color: var(--text-soft); transition: color .2s; }
.header-search button:hover { color: var(--blue); }

/* CTA */
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn-assine {
    background: var(--red);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 9px 20px;
    border-radius: 4px;
    transition: background .2s;
}
.btn-assine:hover { background: var(--red-dark); }
.btn-login {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-mid);
    transition: color .2s;
}
.btn-login:hover { color: var(--blue); }

/* Mobile buttons */
.mobile-menu-btn { color: var(--blue-dark); font-size: 1.3rem; display: none; }
@media(max-width:767px){ .mobile-menu-btn { display: block; } }

/* ─── NAV ─── */
#main-nav {
    background: var(--blue-dark);
    border-top: 1px solid rgba(255,255,255,.1);
}
.nav-list {
    display: flex;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 2px;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-item a {
    display: block;
    padding: 12px 18px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,.75);
    white-space: nowrap;
    transition: background .2s, color .2s;
    position: relative;
}
.nav-item a:hover,
.nav-item.active a {
    background: rgba(255,255,255,.1);
    color: #fff;
}
.nav-item.active a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 18px; right: 18px;
    height: 3px;
    background: var(--red);
}

/* ─── MOBILE MENU ─── */
#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--blue-dark);
    z-index: 200;
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 8px;
}
#mobile-menu.open { display: flex; }
#mobile-close {
    position: absolute;
    top: 20px;
    right: 24px;
    color: rgba(255,255,255,.7);
    font-size: 1.8rem;
}
.mobile-link {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

/* ─── AD BANNERS ─── */
.ad-banner {
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    border: 2px dashed #ccc;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #999;
    font-size: 0.75rem;
    gap: 4px;
    position: relative;
    overflow: hidden;
}
.ad-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(0,0,0,.02) 8px, rgba(0,0,0,.02) 16px);
}
.ad-banner .ad-label {
    font-size: 0.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #bbb;
    position: relative;
}
.ad-banner .ad-size {
    font-weight: 700;
    font-size: 0.85rem;
    color: #aaa;
    position: relative;
}
.ad-banner .ad-cta {
    margin-top: 6px;
    font-size: 0.7rem;
    color: var(--blue);
    font-weight: 700;
    position: relative;
}

.ad-leaderboard { height: 100px; }
.ad-rectangle { height: 260px; }
.ad-half-page { height: 600px; }
.ad-billboard { height: 80px; }
.ad-inline { height: 90px; margin: 0; }
.ad-inline-tall { height: 120px; }

/* ─── MAIN LAYOUT ─── */
main { padding: 32px 0 48px; }

.main-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}
@media(max-width:1024px){ .main-grid { grid-template-columns: 1fr; } }

/* ─── HERO SECTION ─── */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    grid-template-rows: auto auto;
    gap: 8px;
    margin-bottom: 40px;
}
@media(max-width:900px){ .hero-grid { grid-template-columns: 1fr; } }

.hero-main {
    grid-row: span 2;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.hero-main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform .6s ease;
}
.hero-main:hover img { transform: scale(1.03); }
.hero-main .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,10,40,.95) 0%, rgba(5,10,40,.5) 50%, transparent 80%);
}
.hero-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px;
}
.hero-caption h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin: 10px 0 10px;
}
.hero-caption p {
    color: rgba(255,255,255,.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.hero-meta { display: flex; gap: 16px; color: rgba(255,255,255,.6); font-size: 0.75rem; }
.hero-meta i { margin-right: 4px; }

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    gap: 0;
    cursor: pointer;
    transition: box-shadow .2s;
    border: 1px solid var(--border);
}
.hero-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.hero-card img {
    width: 120px;
    min-width: 120px;
    height: 100px;
    object-fit: cover;
    flex-shrink: 0;
}
.hero-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    transition: color .2s;
}
.hero-card:hover .hero-card-body h3 { color: var(--blue); }
.hero-card-body .meta {
    font-size: 0.7rem;
    color: var(--text-soft);
    margin-top: 6px;
}

/* ─── NEWS CARDS ─── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.news-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media(max-width:900px){ .news-grid-3 { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px){ .news-grid-3 { grid-template-columns: 1fr; } }

.news-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
}
.news-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.1); transform: translateY(-2px); }
.news-card .thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.news-card .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .thumb .badge { position: absolute; top: 12px; left: 12px; }
.news-card .body { padding: 16px; }
.news-card .body h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 8px;
    transition: color .2s;
}
.news-card:hover .body h4 { color: var(--blue); }
.news-card .body p {
    font-size: 0.83rem;
    color: var(--text-soft);
    line-height: 1.5;
    margin-bottom: 12px;
}
.news-card .body .meta {
    font-size: 0.72rem;
    color: #aaa;
    display: flex;
    gap: 14px;
}
.news-card .body .meta i { margin-right: 3px; }

/* ─── LIST NEWS (horizontal card) ─── */
.news-list-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    align-items: flex-start;
}
.news-list-item:last-child { border-bottom: none; }
.news-list-item .thumb {
    width: 100px;
    min-width: 100px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}
.news-list-item .thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.news-list-item:hover .thumb img { transform: scale(1.08); }
.news-list-item .body h5 {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    transition: color .2s;
    margin-top: 4px;
}
.news-list-item:hover .body h5 { color: var(--blue); }
.news-list-item .meta {
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 5px;
}

/* ─── NUMBERED LIST (Most Read) ─── */
.most-read-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}
.most-read-item:last-child { border-bottom: none; }
.most-read-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    width: 32px;
}
.most-read-item h5 {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    transition: color .2s;
}
.most-read-item:hover h5 { color: var(--red); }

/* ─── FEATURED / LARGE ARTICLE ─── */
.article-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    cursor: pointer;
    margin-bottom: 20px;
}
@media(max-width:680px){ .article-featured { grid-template-columns: 1fr; } }
.article-featured img {
    width: 100%; height: 100%;
    object-fit: cover;
    min-height: 220px;
    transition: transform .5s;
}
.article-featured:hover img { transform: scale(1.03); }
.article-featured .img-wrap { overflow: hidden; }
.article-featured .body {
    padding: 28px 28px 28px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media(max-width:680px){ .article-featured .body { padding: 20px; } }
.article-featured .body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.25;
    color: var(--text);
    margin: 10px 0 12px;
    transition: color .2s;
}
.article-featured:hover .body h3 { color: var(--blue); }
.article-featured .body p {
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.6;
}
.article-featured .meta {
    margin-top: 14px;
    font-size: 0.72rem;
    color: #aaa;
    display: flex;
    gap: 14px;
}

/* ─── OPINION SECTION ─── */
.opinion-card {
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
    padding: 20px;
    cursor: pointer;
    transition: box-shadow .2s;
}
.opinion-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.opinion-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.opinion-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
}
.opinion-name { font-weight: 700; font-size: 0.88rem; }
.opinion-role { font-size: 0.72rem; color: var(--text-soft); }
.opinion-card blockquote {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-mid);
    border-left: 3px solid var(--blue);
    padding-left: 14px;
}

/* ─── AGRO SECTION ─── */
.agro-section {
    background: linear-gradient(135deg, #f0faf3 0%, #e8f5eb 100%);
    border: 1px solid #c8e6cc;
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 36px;
}
.agro-main-card {
    cursor: pointer;
    margin-bottom: 20px;
}
.agro-main-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
    transition: opacity .3s;
}
.agro-main-card:hover img { opacity: .9; }
.agro-main-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1.3;
}
.agro-main-card:hover h3 { color: var(--green); }

/* ─── POLITICS SECTION ─── */
.politics-strip {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ─── WIDGET: Newsletter ─── */
.widget-newsletter {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    border-radius: 8px;
    padding: 24px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.widget-newsletter::after {
    content: '\f2b6';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 8rem;
    opacity: .06;
    color: #fff;
}
.widget-newsletter h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 6px;
}
.widget-newsletter p { font-size: 0.82rem; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.nl-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 4px;
    border: none;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 8px;
    outline: none;
}
.nl-input:focus { box-shadow: 0 0 0 2px rgba(255,255,255,.4); }
.nl-btn {
    width: 100%;
    background: var(--red);
    color: #fff;
    font-weight: 900;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 11px;
    border-radius: 4px;
    transition: background .2s;
}
.nl-btn:hover { background: var(--red-dark); }

/* ─── WIDGET: Sidebar Box ─── */
.sidebar-widget {
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border);
    overflow: hidden;
}
.widget-header {
    background: var(--blue-dark);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-header.red { background: var(--red); }
.widget-header.green { background: var(--green); }
.widget-body { padding: 16px; }

/* ─── WEATHER WIDGET ─── */
.weather-widget {
    background: linear-gradient(135deg, #1565c0 0%, #1e88e5 60%, #42a5f5 100%);
    border-radius: 8px;
    padding: 20px;
    color: #fff;
}
.weather-city { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; opacity: .8; }
.weather-main { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.weather-icon { font-size: 2.5rem; }
.weather-temp { font-size: 2.8rem; font-weight: 900; line-height: 1; }
.weather-temp sup { font-size: 1rem; font-weight: 400; }
.weather-desc { font-size: 0.85rem; opacity: .85; }
.weather-detail { font-size: 0.75rem; opacity: .75; margin-top: 2px; }
.weather-extra {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.2);
    font-size: 0.75rem;
}
.weather-extra span { display: flex; align-items: center; gap: 5px; }

/* ─── STOCK TICKER ─── */
.stock-ticker {
    background: var(--blue-dark);
    color: rgba(255,255,255,.9);
    padding: 6px 0;
    overflow: hidden;
}
.stock-track {
    display: flex;
    white-space: nowrap;
    animation: ticker 25s linear infinite;
}
.stock-item {
    padding: 0 24px;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    gap: 6px;
}
.stock-item .name { opacity: .65; }
.stock-item .chg.up { color: #4cde8a; }
.stock-item .chg.dn { color: #ff7070; }

/* ─── FOOTER ─── */
#footer {
    background: var(--blue-dark);
    color: rgba(255,255,255,.75);
    font-size: 0.82rem;
}
.footer-top {
    padding: 48px 0 32px;
    display: grid;
    grid-template-columns: 280px repeat(3, 1fr);
    gap: 40px;
}
@media(max-width:900px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media(max-width:550px){ .footer-top { grid-template-columns: 1fr; } }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.footer-logo .logo-conexao { color: #fff; font-size: 1.4rem; }
.footer-logo .logo-mt { color: rgba(255,255,255,.6); }
.footer-desc {
    font-size: 0.8rem;
    line-height: 1.7;
    color: rgba(255,255,255,.6);
    margin-bottom: 16px;
}
.footer-socials { display: flex; gap: 10px; }
.social-icon {
    width: 34px; height: 34px;
    background: rgba(255,255,255,.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: 0.85rem;
    transition: background .2s, color .2s;
}
.social-icon:hover { background: var(--red); color: #fff; }

.footer-col h4 {
    color: #fff;
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255,255,255,.1);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
    color: rgba(255,255,255,.6);
    font-size: 0.8rem;
    transition: color .2s, padding-left .2s;
}
.footer-links a:hover { color: #fff; padding-left: 5px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: rgba(255,255,255,.4);
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bottom a:hover { color: #fff; }

/* ─── SECTION SEPARATOR ─── */
.section-sep { margin: 40px 0; border: none; border-top: 2px solid var(--border); }

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
    border-left: 4px solid var(--red);
    background: var(--red-light);
    padding: 14px 18px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 20px;
}
.highlight-box p { font-size: 0.85rem; font-style: italic; color: var(--text-mid); line-height: 1.6; }

/* ─── SPECIAL REPORT BANNER ─── */
.special-report {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
    color: #fff;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
    cursor: pointer;
    transition: opacity .2s;
}
.special-report:hover { opacity: .92; }
.special-report .label {
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: .75;
    margin-bottom: 6px;
}
.special-report h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
}
.special-report .cta {
    background: rgba(255,255,255,.2);
    color: #fff;
    font-weight: 900;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 12px 24px;
    border-radius: 4px;
    white-space: nowrap;
    transition: background .2s;
}
.special-report:hover .cta { background: rgba(255,255,255,.3); }

/* ─── MULTIMEDIA / VIDEO ─── */
.video-card {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.video-card img {
    width: 100%; height: 200px;
    object-fit: cover;
    opacity: .75;
    transition: opacity .3s;
}
.video-card:hover img { opacity: .6; }
.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 52px; height: 52px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 1.2rem;
    transition: transform .2s, background .2s;
}
.video-card:hover .play-btn { transform: translate(-50%,-50%) scale(1.1); background: #fff; }
.video-card .duration {
    position: absolute;
    bottom: 46px; right: 12px;
    background: rgba(0,0,0,.8);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
}
.video-card .caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,.8);
    color: #fff;
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
}

/* ─── CONCURSO / SERVICES ─── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media(max-width:700px){ .services-grid { grid-template-columns: repeat(2, 1fr); } }
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.service-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(46,64,168,.1); }
.service-card i { font-size: 1.5rem; color: var(--blue); margin-bottom: 8px; display: block; }
.service-card span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-mid); }

/* ─── RESPONSIVE FIXES ─── */
@media(max-width:767px){
    .hero-main img { height: 300px; }
    .hero-caption h1 { font-size: 1.35rem; }
    .footer-top { padding: 32px 0 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════════════════════════════ */
.hero-slider {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
}
.hero-slides { position: relative; }
.hero-slide  { display: none; position: relative; }
.hero-slide.active { display: block; animation: cmtFadeIn .6s ease; }
@keyframes cmtFadeIn { from { opacity: 0; } to { opacity: 1; } }
.hero-slide > img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.hero-slide > .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}
.hero-slide > .hero-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 28px;
    color: #fff;
}
.hero-slide .hero-caption h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 10px 0 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.hero-slide .hero-caption h1 a { color: #fff; text-decoration: none; }
.hero-slide .hero-caption h1 a:hover { text-decoration: underline; }
.hero-slide .hero-caption p {
    font-size: .88rem;
    opacity: .85;
    line-height: 1.5;
    max-width: 600px;
    margin-bottom: 12px;
}
.hero-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: .78rem; opacity: .8; }
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,.5);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 1rem;
    transition: background .2s;
}
.slide-btn:hover { background: rgba(0,0,0,.8); }
.slide-prev { left: 14px; }
.slide-next { right: 14px; }
.slide-dots {
    position: absolute;
    bottom: 14px; right: 20px;
    display: flex;
    gap: 7px;
    z-index: 10;
}
.dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.dot.active { background: #fff; transform: scale(1.3); }
@media(max-width:700px) {
    .hero-slide > img { height: 300px; }
    .hero-slide .hero-caption h1 { font-size: 1.2rem; }
    .hero-slide .hero-caption p  { display: none; }
    .slide-btn { width: 34px; height: 34px; font-size: .8rem; }
}

/* ═══════════════════════════════════════════════════════════════
   CARD LINK
═══════════════════════════════════════════════════════════════ */
.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.news-card:hover .card-link h4 { color: var(--red); }
.news-list-item h5 a { text-decoration: none; color: inherit; }
.news-list-item h5 a:hover { color: var(--red); }

/* ═══════════════════════════════════════════════════════════════
   CITY TAGS (sidebar)
═══════════════════════════════════════════════════════════════ */
.city-tag {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 5px 11px;
    font-size: .73rem;
    font-weight: 700;
    color: var(--text-mid);
    text-decoration: none;
    transition: background .18s, color .18s, border-color .18s;
    display: inline-block;
}
.city-tag:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE OVERLAY
═══════════════════════════════════════════════════════════════ */
#mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 998;
}
#mobile-overlay.active { display: block; }

/* ═══════════════════════════════════════════════════════════════
   SERVICE CARD (agora é <a>)
═══════════════════════════════════════════════════════════════ */
a.service-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════════════════════ */
.single-post { width: 100%; }
.post-category-nav {
    font-size: .75rem;
    color: var(--text-soft);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.post-category-nav a { color: var(--text-mid); text-decoration: none; }
.post-category-nav a:hover { color: var(--red); }
.post-headline {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.post-lead {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 18px;
    font-style: italic;
    border-left: 3px solid var(--red);
    padding-left: 14px;
}
.post-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 22px;
    font-size: .8rem;
    color: var(--text-soft);
}
.post-meta-bar span { display: flex; align-items: center; gap: 5px; }
.post-featured-img {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 26px;
}
.post-featured-img img { width: 100%; max-height: 500px; object-fit: cover; display: block; }
.post-featured-img figcaption {
    font-size: .72rem;
    color: var(--text-soft);
    padding: 7px 12px;
    background: var(--bg);
}
.post-content {
    font-family: 'Merriweather', serif;
    font-size: .95rem;
    line-height: 1.9;
    color: var(--text-dark);
}
.post-content p { margin-bottom: 1.3em; }
.post-content h2 { font-family:'Playfair Display',serif; font-size:1.35rem; margin:1.6em 0 .5em; color:var(--text-dark); }
.post-content h3 { font-family:'Playfair Display',serif; font-size:1.15rem; margin:1.3em 0 .4em; color:var(--text-dark); }
.post-content img { max-width:100%; border-radius:4px; margin:1em 0; }
.post-content blockquote {
    border-left: 4px solid var(--red);
    padding: 12px 20px;
    margin: 1.5em 0;
    background: var(--bg);
    font-style: italic;
    color: var(--text-mid);
    border-radius: 0 4px 4px 0;
}
.post-content a { color: var(--blue); }
.post-content a:hover { text-decoration: none; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 1.3em; }
.post-content li { margin-bottom: .4em; }
.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 22px 0;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.post-tags a {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .73rem;
    color: var(--text-mid);
    text-decoration: none;
    transition: all .18s;
}
.post-tags a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.share-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-soft);
    margin-bottom: 8px;
}
.share-buttons { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 20px; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity .18s, transform .15s;
}
.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.share-btn.facebook { background: #1877F2; color: #fff; }
.share-btn.twitter  { background: #1DA1F2; color: #fff; }
.share-btn.whatsapp { background: #25D366; color: #fff; }
.share-btn.copy     { background: var(--bg); color: var(--text-mid); border: 1px solid var(--border); }
.related-posts {
    margin-top: 40px;
    padding-top: 30px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media(max-width:700px) { .related-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   PAGINAÇÃO
═══════════════════════════════════════════════════════════════ */
.pagination-wrap {
    display: flex;
    justify-content: center;
    margin: 36px 0;
}
.pagination-wrap .page-numbers {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
.pagination-wrap .page-numbers a,
.pagination-wrap .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid var(--border);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-mid);
    transition: all .18s;
}
.pagination-wrap .page-numbers a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.pagination-wrap .page-numbers .current { background: var(--red); color: #fff; border-color: var(--red); }
.pagination-wrap .page-numbers .dots { border: none; background: none; color: var(--text-soft); }

/* ═══════════════════════════════════════════════════════════════
   ARCHIVE / CATEGORY
═══════════════════════════════════════════════════════════════ */
.archive-header {
    padding: 26px 0 22px;
    border-bottom: 3px solid var(--red);
    margin-bottom: 30px;
}
.archive-header .cat-label {
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-soft);
    margin-bottom: 6px;
}
.archive-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.archive-header p { color: var(--text-soft); font-size: .9rem; max-width: 600px; }
.archive-header .post-count { font-size: .73rem; color: var(--text-soft); margin-top: 6px; }
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}
@media(max-width:900px) { .archive-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:550px) { .archive-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   BUSCA
═══════════════════════════════════════════════════════════════ */
.search-header {
    padding: 26px 0 22px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 30px;
}
.search-header h1 {
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-dark);
}
.search-header h1 em { color: var(--red); font-style: normal; }
.search-header .result-count { color: var(--text-soft); font-size: .85rem; margin-top: 4px; }
.no-results-box {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-soft);
}
.no-results-box i { font-size: 3rem; margin-bottom: 16px; display: block; color: var(--border); }
.no-results-box h2 { font-size: 1.4rem; color: var(--text-dark); margin-bottom: 8px; }

/* ═══════════════════════════════════════════════════════════════
   404
═══════════════════════════════════════════════════════════════ */
.not-found-wrap {
    text-align: center;
    padding: 80px 20px;
}
.not-found-wrap .err-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    font-family: 'Playfair Display', serif;
    opacity: .15;
}
.not-found-wrap h1 { font-size: 1.8rem; color: var(--text-dark); margin-bottom: 12px; margin-top: -24px; }
.not-found-wrap p  { color: var(--text-soft); margin-bottom: 22px; }
.not-found-wrap .btn-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: opacity .2s;
}
.not-found-wrap .btn-home:hover { opacity: .85; }

/* ═══════════════════════════════════════════════════════════════
   COMENTÁRIOS
═══════════════════════════════════════════════════════════════ */
.comments-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-body {
    background: var(--bg);
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 14px;
}
.comment-avatar { width: 32px; height: 32px; border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.comment-author { font-weight: 700; font-size: .85rem; color: var(--text-dark); margin-bottom: 5px; }
.comment-time   { font-size: .71rem; color: var(--text-soft); margin-bottom: 8px; }
.comment-time a { color: inherit; text-decoration: none; }
.comment-text p { font-size: .88rem; color: var(--text-mid); line-height: 1.6; margin: 0; }
.reply-link a   { font-size: .75rem; color: var(--blue); text-decoration: none; font-weight: 700; }
/* Formulário de comentários WordPress */
.comment-form label { display: block; font-size: .78rem; font-weight: 700; color: var(--text-mid); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .06em; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 4px;
    font-size: .9rem; font-family: 'Lato', sans-serif; color: var(--text-dark);
    background: var(--white); margin-bottom: 14px; outline: none; transition: border-color .2s;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--blue); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .submit { background: var(--red); color: #fff; padding: 11px 24px; border: none; border-radius: 4px; font-weight: 700; font-size: .88rem; cursor: pointer; transition: opacity .2s; }
.comment-form .submit:hover { opacity: .85; }

/* ═══════════════════════════════════════════════════════════════
   PAGE CONTENT
═══════════════════════════════════════════════════════════════ */
.page-content .post-headline { margin-bottom: 24px; }

/* Mais lidas links */
.most-read-item h5 a { text-decoration: none; color: inherit; }
.most-read-item h5 a:hover { color: var(--red); }

/* Agro main card link */
.agro-main-card a { display: block; margin-bottom: 12px; border-radius: 4px; overflow: hidden; }
.agro-main-card img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform .3s; }
.agro-main-card a:hover img { transform: scale(1.03); }
.agro-main-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR WEATHER - estado dinâmico
═══════════════════════════════════════════════════════════════ */
#weather-widget .weather-desc { transition: all .4s; }

/* ═══════════════════════════════════════════════════════════════
   AD SLOTS & AD SLIDER (publicidade dinâmica)
═══════════════════════════════════════════════════════════════ */
.ad-slot { display: block; }
.ad-slot img { width: 100%; display: block; border-radius: 4px; }

.ad-slider { position: relative; overflow: hidden; }
.ad-slides  { position: relative; }
.ad-slide   { display: none; }
.ad-slide.active { display: block; animation: cmtFadeIn .5s ease; }

.ad-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 6px 0 2px;
}
.ad-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.ad-dot.active {
    background: var(--blue);
    transform: scale(1.2);
}

/* Hero slider cursor grab */
.hero-slider { cursor: grab; }
.hero-slider:active { cursor: grabbing; }

/* Ticker updated label */
#ticker-updated {
    font-size: .65rem;
    color: rgba(255,255,255,.5);
    white-space: nowrap;
    padding: 0 10px;
}

/* ═══════════════════════════════════════════════════════════════
   ESPECIAL REPORTAGEM - link CTA
═══════════════════════════════════════════════════════════════ */
.special-report .cta {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.special-report .cta:hover { background: rgba(255,255,255,.3); }

