/*
Theme Name: Informa Life
Theme URI: https://informa.life
Author: André Ballesteros
Author URI: https://informa.life
Description: Um tema moderno e dinâmico para portal de notícias, inspirado nos grandes portais brasileiros.
Version: 1.0.0
Text Domain: informa-life
*/

:root {
    --primary-gradient: linear-gradient(90deg, #8cb701 0%, #7ca401 100%);
    --nav-bg: #6d8f00;
    --primary-color: #6d9000;
    --secondary-color: #ffffff;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #6c757d;
    --border-color: rgba(255,255,255,0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --container-width: 1300px;
    --city-focus-bg: #7da601;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.entry-content img:not(.read-also-thumb img),
.entry-content figure:not(.read-also-block figure),
.entry-content iframe,
.entry-content video,
.entry-content .wp-block-image,
.entry-content .wp-caption {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.entry-content .wp-caption {
    width: auto !important;
}

/* Legenda das fotos no corpo da matéria */
.entry-content .wp-caption-text,
.entry-content figcaption {
    font-size: 13px;
    font-style: italic;
    color: #666;
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* Garante que imagens largas ocupem 100% em telas pequenas */
@media (max-width: 800px) {
    .entry-content img {
        width: 100% !important;
    }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: var(--primary-gradient);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-header {
    padding: 20px 0;
    color: #fff;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    flex: 1;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 20px;
}

.header-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
}

.header-search-icon {
    font-size: 20px;
    cursor: pointer;
}

.social-icons-desktop {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 22px;
}

.social-icons-desktop a {
    color: #fff;
    opacity: 0.95;
    transition: opacity 0.3s;
    line-height: 1;
}

.social-icons-desktop a:hover {
    opacity: 1;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 2;
}

.logo h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 42px;
    color: #fff;
    text-transform: lowercase;
    letter-spacing: -2px;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Category Bar (Header) */
.category-bar {
    background: var(--nav-bg);
    color: #fff;
    padding: 30px 0;
    margin-bottom: 40px;
    border-radius: 0 0 15px 15px;
}

.category-bar-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.cat-main-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.subcat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}

.subcat-list a {
    font-size: 16px;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.subcat-list a:hover,
.subcat-list a.active {
    opacity: 1;
    transform: translateY(-2px);
}

.subcat-list a.active {
    border-bottom: 2px solid #fff;
    padding-bottom: 4px;
}

/* Sub-subcategorias dentro da category bar */
.subsubcat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.subsubcat-list a {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 5px 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.subsubcat-list a:hover,
.subsubcat-list a.active {
    background: #fff;
    color: var(--nav-bg);
}

/* Busca — resultados */
.search-bar-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.85;
    margin: 0 0 8px;
}

.search-bar-count {
    margin: 0 0 20px;
    font-size: 15px;
    opacity: 0.9;
}

.search-results-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 560px;
}

.search-results-field {
    flex: 1 1 220px;
    min-width: 0;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
}

.search-results-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s ease;
}

.search-results-submit:hover {
    background: #5a7800;
}

.search-no-results {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    font-size: 17px;
    color: #666;
}

.search-results-section {
    margin-bottom: 40px;
}

.logo img {
    max-height: 80px;
    width: auto;
}

.logo span {
    font-weight: 300;
    opacity: 0.8;
}

/* Nav Bar */
.nav-bar {
    background: var(--nav-bg);
    padding: 10px 0;
    position: relative;
    /* overflow: hidden; */ /* Removido para permitir ver o submenu */
}

.nav-bar .container {
    display: flex;
    align-items: center;
    position: relative;
}

/* Efeito de fade nas bordas */
.nav-bar::before,
.nav-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 5;
    pointer-events: none;
}

.nav-bar::before {
    left: 0;
    background: linear-gradient(to right, var(--nav-bg), transparent);
}

.nav-bar::after {
    right: 60px; /* Espaço para as setas */
    background: linear-gradient(to left, var(--nav-bg), transparent);
}

.nav-bar ul {
    display: flex;
    list-style: none;
    gap: 25px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 120px;
    white-space: nowrap;
    flex-wrap: nowrap !important; /* Força linha única */
}

.nav-bar ul::-webkit-scrollbar {
    display: none;
}

.nav-bar ul::-webkit-scrollbar {
    display: none;
}

.nav-bar ul li {
    position: relative;
}

.nav-bar ul li a {
    display: block;
    padding: 10px 15px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    white-space: nowrap;
    transition: 0.3s;
}

.nav-bar ul li:hover > a {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Submenu / Dropdown (Estilo Segunda Barra) */
.nav-bar ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: #f4f4f4;
    display: none;
    padding: 10px 20px;
    list-style: none;
    gap: 20px;
    z-index: 100;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.05);
    overflow-x: auto;
    white-space: nowrap;
}

.nav-bar ul li:hover > ul.sub-menu {
    display: flex;
}

.nav-bar ul.sub-menu li a {
    color: #444 !important;
    padding: 5px 10px;
    font-weight: 500;
    font-size: 13px;
    border: none !important;
    background: none !important;
}

.nav-bar ul.sub-menu li a:hover {
    color: var(--primary-color) !important;
}

.nav-arrows {
    display: flex;
    gap: 15px;
    color: #fff;
    padding-left: 20px;
    position: absolute;
    right: 0;
    background: var(--nav-bg);
    height: 100%;
    align-items: center;
    z-index: 10;
    box-shadow: -10px 0 15px var(--nav-bg);
}

.nav-arrows i {
    cursor: pointer;
    font-size: 16px;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-arrows i:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-bar ul {
        gap: 6px;
        padding-right: 70px;
    }

    .nav-bar ul li a {
        padding: 8px 6px;
        font-size: 13px;
    }

    .nav-bar::after {
        right: 48px;
    }

    .nav-arrows {
        right: 10px;
        padding-left: 8px;
        gap: 10px;
        box-shadow: -6px 0 10px var(--nav-bg);
    }
}

/* Hero Section */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.hero-main {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-main:hover img {
    transform: scale(1.03);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 30px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    pointer-events: none;
}

.hero-main .hero-content .category-tag,
.sidebar-item .hero-content .category-tag {
    display: inline-block;
    color: #b8e86a !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 8px;
    line-height: 1.2;
}

.hero-main h2 {
    font-size: 36px;
    line-height: 1.1;
    margin-top: 0;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-item {
    position: relative;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.sidebar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sidebar-item:hover img {
    transform: scale(1.05);
}

.sidebar-item .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    pointer-events: none;
}

.sidebar-item .hero-content h3 {
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* Anúncio único (topo da home) */
.home-ad-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding: 28px 20px;
    box-sizing: border-box;
}

.home-ad-banner > * {
    max-width: 100%;
}

.home-ad-banner iframe,
.home-ad-banner img {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.home-ad-banner--top {
    margin-top: 8px;
    margin-bottom: 8px;
}

.home-ad-banner--mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .home-ad-banner {
        padding: 24px 16px;
        justify-content: center;
    }

    .home-ad-banner--mobile-only {
        display: flex;
    }

    .home-ad-banner iframe,
    .home-ad-banner img {
        display: block;
    }
}

/* Anúncios por categoria (topo / rodapé do arquivo) */
.category-ad-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding: 24px 20px;
    box-sizing: border-box;
}

.category-ad-banner > * {
    max-width: 100%;
}

.category-ad-banner iframe,
.category-ad-banner img {
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.category-ad-banner--top {
    margin-bottom: 8px;
}

.category-ad-banner--footer {
    margin-top: 8px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .category-ad-banner {
        padding: 20px 16px;
    }
}

/* Faixa de anúncios na home (3 colunas → 1 coluna no mobile) */
.home-ads-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
    margin: 0 auto 40px;
    max-width: var(--container-width);
    padding: 0 20px;
    box-sizing: border-box;
}

.home-ads-row__item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.home-ads-row__item > * {
    max-width: 100%;
}

.home-ads-row__item iframe,
.home-ads-row__item img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .home-ads-row {
        grid-template-columns: 1fr;
        gap: 24px;
        justify-items: center;
    }

    .home-ads-row__item {
        justify-content: center;
    }
}

/* News Grid */
.news-section {
    margin-bottom: 40px;
}

/* Section Titles */
.section-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
    line-height: 1;
    display: block;
    letter-spacing: -0.5px;
}

/* News Grid & Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Bloco São José dos Campos (home) — largura total */
.city-focus-block {
    width: 100vw;
    max-width: 100vw;
    margin: 50px 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 36px 0 40px;
    background-color: var(--city-focus-bg);
    background-image: none;
    color: #fff;
    box-sizing: border-box;
}

.city-focus-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    background: none;
    background-color: transparent;
    background-image: none;
    color: #fff;
}

.city-focus-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-bottom: 18px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.city-focus-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.city-focus-title a {
    color: #fff;
    text-decoration: none;
}

.city-focus-title a:hover {
    color: #f4ffe0;
}

.city-focus-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.city-focus-subcats a {
    display: inline-block;
    padding: 6px 14px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.city-focus-subcats a:hover {
    background: #fff;
    border-color: #fff;
    color: #5a7800;
}

.city-focus-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.city-focus-bottom {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.city-focus-card a {
    display: block;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.city-focus-card-image {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
}

.city-focus-card-image img,
.city-focus-card-image .post-thumbnail-fallback,
.city-focus-card-image .informa-fallback-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.5s ease;
}

.city-focus-card a:hover .city-focus-card-image img {
    transform: scale(1.05);
}

.city-focus-card--featured .city-focus-card-image {
    height: 280px;
    border-radius: 12px;
}

.city-focus-card--featured .city-focus-card-body {
    padding: 16px 0 0;
}

.city-focus-card--featured h3 {
    margin: 8px 0 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    color: #fff;
}

.city-focus-card--compact .city-focus-card-image {
    height: 140px;
    border-radius: 12px;
}

.city-focus-card--compact .city-focus-card-body {
    padding: 12px 0 0;
}

.city-focus-card--compact h3 {
    margin: 6px 0 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.city-focus-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #f4ffe0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Bloco Impressos (revistas PDF) */
.impressos-block {
    margin: 50px 0;
}

.impressos-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 24px;
}

.impressos-title.section-title {
    margin-bottom: 0;
}

.impressos-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.impressos-more-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.impressos-more-link:hover {
    text-decoration: underline;
}

.impressos-slider-nav {
    display: flex;
    gap: 8px;
}

.impressos-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.impressos-nav-btn:hover {
    background: #5a7800;
    transform: scale(1.05);
}

.impressos-nav-prev {
    background: #e8f0d8;
    color: var(--primary-color);
}

.impressos-nav-prev:hover {
    background: #d4e8b8;
    color: #5a7800;
}

.impressos-slider {
    overflow: hidden;
}

.impressos-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.impressos-track::-webkit-scrollbar {
    display: none;
}

.impresso-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
}

.impresso-card a {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.impresso-card a:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.impresso-card-cover {
    background: #f4f4f4;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 0;
}

.impresso-card-cover img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
}

.impresso-card-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 200px;
    font-size: 14px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
}

.impresso-card-placeholder i {
    font-size: 40px;
    color: #bbb;
}

.impresso-cover-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
}

.impresso-pdf-cover-slot {
    position: relative;
    width: 100%;
    background: #f4f4f4;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    line-height: 0;
}

.impresso-pdf-cover-slot .impresso-pdf-cover-canvas {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: none;
    vertical-align: top;
}

.impresso-pdf-cover-slot.is-loaded .impresso-pdf-cover-canvas {
    display: block;
}

.impresso-pdf-cover-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #f4f4f4;
    z-index: 1;
}

.impresso-pdf-cover-slot.is-loaded .impresso-pdf-cover-loading {
    display: none;
}

.impresso-pdf-cover-slot.has-error .impresso-pdf-cover-loading {
    color: #b32d2e;
}

.impresso-card-body {
    padding: 14px 16px 16px;
}

.impresso-card-cat {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.impresso-card-title {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    color: #222;
}

.impresso-card-date {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #333;
}

.impressos-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.impressos-archive .impresso-card {
    flex: none;
}

.home-continue-news {
    margin-top: 10px;
}

.home-continue-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-load-more-wrap {
    margin: 40px 0 50px;
    text-align: center;
}

.home-load-more-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(109, 144, 0, 0.25);
}

.home-load-more-btn:hover:not(:disabled) {
    background: #5a7800;
    transform: translateY(-1px);
}

.home-load-more-btn:disabled {
    opacity: 0.75;
    cursor: wait;
}

.news-card {
    background: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: rgba(140, 183, 1, 0.2);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin-bottom: 0; /* Remove margin para a imagem preencher o topo do card */
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-content {
    padding: 20px;
}

.news-card .category-tag {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
    letter-spacing: 0.5px;
}

.news-card h3 {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.news-card:hover h3 {
    color: var(--primary-color);
}

.news-card .excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.site-footer {
    background: var(--nav-bg);
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h2 span {
    font-weight: 300;
    opacity: 0.8;
}

.social-links-footer {
    display: flex;
    gap: 20px;
    font-size: 24px;
    margin-bottom: 30px;
}

.social-links-footer a:hover {
    opacity: 0.8;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-nav-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 22px;
}

.footer-nav-label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    opacity: 0.95;
}

.footer-nav-sep {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    opacity: 0.6;
}

.footer-nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    opacity: 0.9;
}

.footer-nav-row--institutional a {
    font-size: 17px;
    font-weight: 700;
}

.footer-nav-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    width: 100%;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 15px;
}

/* Editorial Block (1 Big + List) */
.editorial-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.editorial-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-card-horizontal a {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.mini-card-horizontal:last-child a {
    border-bottom: none;
}

.mini-thumb {
    width: 100px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-content h3 {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

/* Horizontal Section */
.horizontal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.horizontal-card {
    min-width: 0;
}

.horizontal-card a {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    height: 100%;
}

.horizontal-image {
    width: 180px;
    height: 120px;
    min-width: 180px;
    min-height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8ecef;
    position: relative;
}

.horizontal-image img,
.horizontal-image .post-thumbnail-fallback,
.horizontal-image .informa-fallback-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.horizontal-image .post-thumbnail-fallback {
    background: #e8ecef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23aab4be'%3E%3Cpath d='M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z'/%3E%3C/svg%3E") center / 42px no-repeat;
}

.horizontal-content {
    flex: 1;
    min-width: 0;
}

.horizontal-content h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.3em * 2);
}

.horizontal-content .excerpt {
    font-size: 14px;
    line-height: 1.45;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.horizontal-section .horizontal-content .category-tag {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.single-post-wrapper,
.page-wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-header {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e1e1e1;
}

.page-title {
    font-size: 36px;
    line-height: 1.15;
    margin: 0;
    font-weight: 800;
    color: var(--dark-color);
}

.page-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: var(--dark-color);
    margin: 1.6em 0 0.6em;
    line-height: 1.25;
}

.page-content ul,
.page-content ol {
    margin: 0 0 1.5em 1.25em;
}

.page-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-content a:hover {
    color: #5a7800;
}

.page-links {
    margin-top: 32px;
    font-size: 15px;
    font-weight: 600;
}

.single-post-wrapper .entry-header .category-tag {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 0;
}

.entry-title {
    font-size: 42px;
    line-height: 1.1;
    margin: 3px 0;
    font-weight: 700;
}

.entry-meta {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    flex-wrap: wrap;
}

.entry-meta-line {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    min-width: 0;
}

.entry-share-wrap {
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
}

.entry-share-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #80a801;
    color: #6d8f00;
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
}

.entry-share-toggle:hover {
    background: #f5f9e8;
}

.entry-share-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 30;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 10px;
}

.entry-share-dropdown[hidden] {
    display: none !important;
}

/* Palavras-chave = tags do post (link, negrito, sublinhado, verde) */
.entry-content a.informa-tag-keyword {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.entry-content a.informa-tag-keyword:hover {
    color: #5a7800;
    text-decoration-thickness: 2px;
}

/* Imagem destacada / capa no conteúdo do post */
.single-post-wrapper .entry-content figure.wp-block-post-featured-image {
    border-radius: 10px;
    overflow: hidden;
}

.single-post-wrapper .entry-content figure.wp-block-post-featured-image img,
.single-post-wrapper .entry-content figure.wp-block-post-featured-image a img {
    border-radius: 10px !important;
}

/* Primeiro bloco de imagem (capa comum no editor) */
.single-post-wrapper .entry-content > figure.wp-block-image:first-child {
    border-radius: 10px;
    overflow: hidden;
}

.single-post-wrapper .entry-content > figure.wp-block-image:first-child img,
.single-post-wrapper .entry-content > figure.wp-block-image:first-child a img {
    border-radius: 10px !important;
}

.single-post-wrapper .entry-content img.img-responsive.size-full {
    border-radius: 10px;
}

/* Capa do post — largura total só no mobile (desktop mantém layout original) */
@media (max-width: 800px) {
    body.single main.container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
    }

    .single-post-wrapper,
    .page-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .page-wrapper .page-header,
    .page-wrapper .page-content {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .page-title {
        font-size: 28px;
    }

    .single-post-wrapper .entry-header,
    .single-post-wrapper .author-card,
    .single-post-wrapper .entry-footer,
    .single-post-wrapper .comments-area,
    .single-post-wrapper .more-news-section {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .single-post-wrapper .entry-content > *:not(.entry-hero-media) {
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    .single-post-wrapper .entry-content .read-also-block,
    .single-post-wrapper .entry-content .informa-ad-block {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }

    .single-post-wrapper .entry-content .read-also-block {
        padding-bottom: 25px !important;
    }

    .single-post-wrapper .entry-content .entry-hero-media,
    .single-post-wrapper .entry-content > figure:first-of-type {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
        overflow: hidden;
    }

    .single-post-wrapper .entry-content .entry-hero-media figure,
    .single-post-wrapper .entry-content .entry-hero-media .wp-block-image {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }

    .single-post-wrapper .entry-content .entry-hero-media img,
    .single-post-wrapper .entry-content .entry-hero-media a img,
    .single-post-wrapper .entry-content > figure:first-of-type img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        border-radius: 0 !important;
        display: block !important;
        object-fit: cover;
    }

    .single-post-wrapper .entry-content .entry-hero-media figcaption,
    .single-post-wrapper .entry-content .entry-hero-media .wp-caption-text,
    .single-post-wrapper .entry-content > figure:first-of-type figcaption {
        padding: 0px 20px 0 !important;
        font-size: 14px;
        line-height: 1.4;
        box-sizing: border-box;
    }

    .entry-content .wp-caption img,
    .entry-content figure img {
        margin-bottom: 0 !important;
    }

    .entry-content .wp-caption-text,
    .entry-content figcaption {
        margin-top: 4px;
    }
}

.post-share {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.post-share a {
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.share-wa { background: #25d366; }
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }

.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
}

.entry-content p {
    margin-bottom: 25px;
}

/* Anúncio AdSense no post */
.informa-ad-block {
    margin: 36px 0;
    clear: both;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.informa-ad-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: #9a9a9a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.3;
}

.informa-ad-label::before,
.informa-ad-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #d8d8d8;
}

.informa-ad-label span {
    flex-shrink: 0;
    white-space: nowrap;
}

.informa-ad-slot {
    display: block;
    width: 100%;
    min-height: 90px;
    text-align: center;
    overflow: visible;
}

/* Nenhum elemento interno pode ter largura/altura fixa que ultrapasse o slot
   nem cortar o conteúdo do anúncio. */
.informa-ad-slot * {
    max-width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Contêineres do anúncio (Advanced Ads / AdSense) ocupam a largura disponível
   e têm altura automática, forçando a imagem a encolher junto. */
.informa-ad-slot a,
.informa-ad-slot div,
.informa-ad-slot ins.adsbygoogle,
.informa-ad-slot .advads-ad,
.informa-ad-slot .ad-group {
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    float: none !important;
}

/* AdSense responsivo precisa de largura total para escolher o formato. */
.informa-ad-slot ins.adsbygoogle {
    width: 100% !important;
}

.informa-ad-slot img {
    display: block !important;
    margin: 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
}

.informa-ad-line--bottom {
    width: 100%;
    height: 1px;
    margin-top: 18px;
    background: #d8d8d8;
}

/* Anúncios do rodapé do post (3 colunas no desktop, empilhados no mobile) */
.footer-ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    align-items: start;
    justify-items: center;
}

.footer-ad {
    width: 100%;
    max-width: 336px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Mantém os três anúncios na mesma largura/altura visual. */
.footer-ad > *,
.footer-ad ins.adsbygoogle {
    width: 100% !important;
    max-width: 336px !important;
    height: 280px !important;
    margin: 0 auto !important;
}

.footer-ad img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    margin: 0 auto;
}

@media (max-width: 800px) {
    .footer-ads-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .informa-ad-label {
        font-size: 10px;
        gap: 10px;
    }

    .informa-ad-label span {
        white-space: normal;
        text-align: center;
        max-width: 42%;
    }
}

/* Side Menu Drawer */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100%;
    background: #fff;
    z-index: 1001;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.side-menu.active {
    transform: translateX(0);
}

.side-menu-header {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.side-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px;
}

.side-main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-main-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.side-main-menu li a {
    display: block;
    padding: 15px 0;
    font-weight: 700;
    color: #333;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-main-menu li.menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    color: #6d9000;
}

.side-main-menu ul.sub-menu {
    display: none;
    background: #f9f9f9;
    list-style: none;
    padding-left: 20px;
}

.side-main-menu li.active > ul.sub-menu {
    display: block;
}

.side-menu-footer {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.social-links-side {
    display: flex;
    justify-content: space-around;
    font-size: 20px;
}

.social-links-side a {
    color: #6d9000;
}

/* Author Card */
.author-card {
    margin-top: 50px;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    gap: 30px;
    background: #fff;
    align-items: flex-start;
    position: relative;
}

.author-avatar {
    width: 140px;
    height: 140px;
    background: #6283ff;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: -6px;
}

.author-info h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #333;
}

.author-job {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 7px;
}

.post-share--dropdown {
    flex-direction: column;
    margin-left: 0;
    width: 100%;
    gap: 8px;
}

.post-share--dropdown a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.author-info p {
    margin: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}

.post-tags {
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

.post-tags-label {
    font-weight: 700;
    color: #333;
}

.post-tags a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.post-tags a:hover {
    text-decoration: underline;
}

.author-social-link {
    color: #0077b5;
    font-size: 22px;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-header {
    padding: 30px;
    display: flex;
    justify-content: flex-end;
}

.close-search {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.search-overlay-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.search-form-full {
    width: 100%;
    max-width: 800px;
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 5px;
    display: flex;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.search-field-full {
    flex: 1;
    border: none;
    padding: 20px 30px;
    font-size: 24px;
    border-radius: 12px;
    outline: none;
    font-family: inherit;
}

@media (max-width: 768px) {
    .search-field-full {
        width: 274px;
        flex: 0 0 274px;
        max-width: 274px;
    }
}

.search-submit-full {
    background: none;
    border: none;
    padding: 0 30px;
    font-size: 24px;
    color: #6d9000;
    cursor: pointer;
}

.comment-list, 
.comment-list ol {
    list-style: none !important;
    padding: 0;
    margin: 0;
}

.comment-body {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.comment-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.comment-author cite {
    font-style: normal;
    font-weight: 700;
    color: var(--dark-color);
    font-size: 16px;
}

.comment-content {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

#commentform label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

p.comment-form-notes {
    font-size: 14px;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.5;
}

p.comment-form-cookies-consent {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

#commentform textarea, 
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[name="whatsapp"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: inherit;
}

/* Pagination */
.pagination {
    margin: 50px 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #444;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.page-numbers:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #f8fbef;
    transform: translateY(-2px);
}

.page-numbers.current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(140, 183, 1, 0.3);
}

.page-numbers.dots {
    border: none;
    background: none;
}

.page-numbers.prev, 
.page-numbers.next {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin: 20px 0 24px;
    }

    .hero-main,
    .hero-grid .sidebar-item {
        height: 200px;
        border-radius: 10px;
    }

    .hero-main a,
    .hero-grid .sidebar-item a {
        display: block;
        height: 100%;
        position: relative;
    }

    .hero-grid .hero-content {
        padding: 48px 16px 16px;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
    }

    .hero-grid .hero-content .category-tag {
        display: inline-block !important;
        color: #b8e86a !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        margin: 0 0 6px !important;
        line-height: 1.2;
    }

    .hero-grid .hero-main h2,
    .hero-grid .sidebar-item .hero-content h3 {
        font-size: 17px;
        font-weight: 800;
        line-height: 1.25;
        margin: 0;
        color: #fff;
        letter-spacing: 0;
    }

    .hero-sidebar {
        gap: 14px;
    }

    .header-flex {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header-left, .header-right {
        display: contents;
    }
    .menu-toggle {
        order: 1;
        flex: 1;
    }
    .logo {
        order: 2;
        flex: 3;
        display: flex;
        justify-content: center;
    }
    .header-search-icon {
        order: 3;
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }
    .social-icons-desktop,
    .menu-text {
        display: none !important;
    }
    .logo h1 {
        font-size: 22px;
    }
    .logo img {
        max-height: 50px;
    }
    .header-left, .header-right {
        flex: 1;
    }
    .logo {
        flex: 3;
    }
    .entry-title {
        font-size: 28px !important;
    }
    .entry-share-label {
        display: none !important;
    }
    .entry-share-toggle {
        padding: 8px 11px;
    }
    .post-share {
        margin-left: 0;
        width: 100%;
    }
    .side-menu {
        width: 280px;
    }
    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 16px 18px;
        margin-top: 28px;
        gap: 0;
        align-items: center;
    }
    .author-avatar {
        margin: 0 auto 10px auto;
        width: 80px;
        height: 80px;
        border-radius: 12px;
    }
    .author-info-header {
        flex-direction: column;
        gap: 0;
        margin-bottom: 2px;
    }
    .author-info h3 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    .author-job {
        margin-bottom: 6px;
        font-size: 13px;
        line-height: 1.2;
    }
    .author-info p {
        font-size: 14px;
        line-height: 1.4;
    }
    .author-social-link {
        display: none;
    }
    .editorial-grid,
    .horizontal-grid,
    .home-continue-grid {
        grid-template-columns: 1fr;
    }

    .city-focus-block {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 28px 0 32px;
        background-color: #7da601;
        background-image: none;
    }

    .city-focus-inner {
        padding: 0 16px;
        background: none;
        background-color: transparent;
        background-image: none;
    }

    .city-focus-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .city-focus-title {
        font-size: 22px;
        width: 100%;
        text-align: center;
    }

    .city-focus-subcats {
        justify-content: center;
        width: 100%;
    }

    .city-focus-top,
    .city-focus-bottom {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .city-focus-top .city-focus-card,
    .city-focus-bottom .city-focus-card {
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    }

    .city-focus-bottom .city-focus-card:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

    .city-focus-card-image,
    .city-focus-card-image img,
    .city-focus-card-image .post-thumbnail-fallback,
    .city-focus-card-image .informa-fallback-thumb,
    .city-focus-card--featured .city-focus-card-image,
    .city-focus-card--compact .city-focus-card-image {
        border-radius: 12px;
    }

    .city-focus-card--featured .city-focus-card-image {
        height: 220px;
    }

    .city-focus-card--featured h3 {
        font-size: 18px;
    }

    .city-focus-card--compact .city-focus-card-image {
        height: 180px;
    }

    .impressos-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .impressos-title.section-title {
        flex: 0 1 auto;
        min-width: 0;
        margin-bottom: 0;
        font-size: 16px;
        padding-left: 10px;
        border-left-width: 4px;
        white-space: nowrap;
    }

    .impressos-header-actions {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .impressos-more-link {
        font-size: 12px;
        white-space: nowrap;
    }

    .impressos-nav-btn {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .impresso-card {
        flex: 0 0 75%;
        max-width: 280px;
    }

    .impresso-card-cover img,
    .impresso-cover-img {
        object-position: top center;
    }

    .horizontal-card a {
        flex-direction: column;
    }
    .horizontal-image {
        width: 100%;
        min-width: 100%;
        height: 200px;
        min-height: 200px;
    }
}

/* Leia Também Block - Versão Final Pixel-Perfect */
.read-also-block {
    margin: 45px 0 !important;
    padding-bottom: 25px !important;
    clear: both !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.read-also-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    margin: 0 0 20px 0 !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #e1e1e1 !important;
    position: relative !important;
    text-transform: none !important;
    display: block !important;
}

.read-also-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 65px !important;
    height: 4px !important;
    background: var(--primary-color) !important;
}

.read-also-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    width: 100% !important;
    margin: 25px 0 !important;
    align-items: stretch !important;
}

.read-also-grid p {
    display: contents !important;
}

.read-also-item {
    flex: 1 !important;
    width: 50% !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: flex-start !important;
    text-decoration: none !important;
}

.read-also-thumb img.attachment-thumbnail.size-thumbnail.wp-post-image {
    border-radius: 14px !important;
    width: 100px !important;
    height: 80px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}

.read-also-thumb {
    width: 100px !important;
    height: 80px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.read-also-content {
    flex: 1 !important;
    display: block !important;
}

.read-also-cat { display: block !important; font-size: 13px !important; font-weight: 800 !important; color: var(--primary-color) !important; margin-bottom: 0px !important; }

.read-also-content h5 {
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    color: #333 !important;
    margin: 0 !important;
    display: block !important;
}

@media (max-width: 800px) {
    .read-also-grid {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 30px !important;
    }
    .read-also-grid > a, .read-also-grid > div, .read-also-grid > p, .read-also-item {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Mais Notícias Section - Versão Pixel-Perfect */
.more-news-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.more-news-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.more-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #d1d1d1;
}

.more-news-link {
    display: flex;
    text-decoration: none !important;
    align-items: center; /* Centraliza verticalmente o texto se a imagem for maior */
}

.more-news-thumb {
    width: 280px;
    min-width: 280px;
    height: 190px;
    overflow: hidden;
}

.more-news-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 0 !important; /* Clipped pelo card */
}

.more-news-content {
    padding: 6px 22px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.more-news-cat {
    font-size: 14px;
    font-weight: 800;
    color: #6d8f00;
    margin-bottom: 8px;
    display: block;
    text-transform: none; /* Como na foto: "Fique atento!" */
}

.more-news-title {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    line-height: 1.25;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.more-news-excerpt {
    font-size: 15px;
    color: #777;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 800px) {
    .more-news-link {
        flex-direction: column;
        align-items: flex-start;
    }
    .more-news-thumb {
        width: 100%;
        min-width: 100%;
        height: 220px;
    }
    .more-news-content {
        padding: 20px;
    }
    .more-news-title {
        font-size: 20px;
    }
}

/* Comentários - Remover Numeração */
.comment-list, 
.comment-list ol, 
.comment-list ul {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.comment-list li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Banner WhatsApp no post (desktop e mobile) */
.whatsapp-banner {
    max-width: 700px;
    margin: 30px auto;
    background: #7da501;
    border-radius: 8px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    width: 100%;
}

.whatsapp-left {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
    width: 100%;
}

.whatsapp-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ffffff22;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

i.fa-brands.fa-whatsapp {
    font-size: 30px;
}

.whatsapp-text {
    font-size: 20px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.3;
}

.arrow-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 18px;
    text-decoration: none;
    flex-shrink: 0;
}

.arrow-btn:hover {
    background: #c8c8c8;
}

@media (max-width: 800px) {
    .single-post-wrapper .entry-content .whatsapp-banner {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {
    .whatsapp-text {
        font-size: 15px;
    }

    .whatsapp-banner {
        padding: 14px;
    }
}

/* Leitor de revista (flipbook — estilo Calaméo) */
body.impresso-reader-page {
    background: #1a1a1a;
}

body.impresso-reader-page .site-header,
body.impresso-reader-page .nav-bar {
    display: none;
}

body.impresso-reader-page main.container {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

body.impresso-reader-page .site-footer {
    display: none;
}

.impresso-reader {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    color: #fff;
}

.impresso-reader-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 20;
}

.impresso-reader-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.impresso-reader-back {
    color: #ccc;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.impresso-reader-back:hover {
    color: #fff;
}

.impresso-reader-brand img {
    max-height: 36px;
    width: auto;
}

.impresso-reader-site {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.impresso-reader-header-center {
    text-align: center;
}

.impresso-reader-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.impresso-reader-edition {
    margin: 4px 0 0;
    font-size: 13px;
    color: #aaa;
}

.impresso-reader-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.impresso-reader-pagenum {
    font-size: 14px;
    font-weight: 700;
    min-width: 70px;
    text-align: center;
}

.impresso-reader-tool {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.impresso-reader-tool:hover {
    background: rgba(255, 255, 255, 0.2);
}

.impresso-reader-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 60px;
    min-height: 0;
}

.impresso-reader-book-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    transition: transform 0.2s ease;
    max-width: 100%;
}

.impresso-flipbook-host {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.impresso-reader-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 15;
    transition: background 0.2s ease, transform 0.2s ease;
}

.impresso-reader-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.05);
}

.impresso-reader-nav--prev {
    left: 12px;
}

.impresso-reader-nav--next {
    right: 12px;
}

.impresso-reader-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.92);
    z-index: 10;
}

.impresso-reader-loading.is-hidden {
    display: none;
}

.impresso-reader-loading-inner {
    text-align: center;
    color: #ccc;
}

.impresso-reader-loading-inner i {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.impresso-reader-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px 20px;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.impresso-reader-slider {
    flex: 1;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.impresso-reader-zoom button {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.impresso-reader-zoom button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.impresso-reader-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 900px) {
    .impresso-reader-header {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .impresso-reader-header-left,
    .impresso-reader-header-right {
        justify-content: center;
    }

    .impresso-reader-stage {
        padding: 16px 50px;
    }

    .impresso-reader-nav {
        width: 40px;
        height: 40px;
    }
}