/* ============================================
   TEMPLATE AGAZETAWEB - Oeste Notícias CMS
   A Gazeta Web - Verdade, Respeito e Credibilidade
   ============================================ */

/* === IMPORTAR FONTES === */
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,900|Montserrat:100,300,400,600|Lora:400,600,700&display=swap');

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

:root {
    --agaze-primary: #001993;
    --agaze-dark: #1a1a1a;
    --agaze-gray: #666;
    --agaze-light: #f8f9fa;
    --agaze-white: #ffffff;
}

html, body {
    font-family: "Lora", "Roboto", sans-serif;
    font-weight: 700;
}

body {
    background: #fff;
    color: #1a1a1a;
    line-height: 1.6;
}

/* === HEADER TOPO === */
.pos-topo {
    background: var(--agaze-primary);
    padding: 30px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topo-bg {
    background: var(--agaze-primary);
}

.conteudo {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 15px;
}

/* MENU HAMBURGUER VISÍVEL NO DESKTOP */
.menu-tp-inp {
    display: block;
    flex: 0 0 auto;
    margin-right: auto;
    order: 1;
}

.logo {
    flex: 1;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    order: 2;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    max-height: 70px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.logo h1 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.social-topo {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 0 0 auto;
    margin-left: auto;
    order: 3;
}

.social-topo a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--agaze-white);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-topo a:hover {
    background: var(--agaze-white);
    color: var(--agaze-primary);
    border-color: var(--agaze-white);
    transform: translateY(-2px);
}

/* === CATEGORIAS CÍRCULOS === */
.categorias-circulos-topo {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 0 0 auto;
    order: 4;
}

.cat-circulo {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    text-decoration: none;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    color: white;
    font-weight: 700;
    font-size: 12px;
    padding: 0;
    transition: all 0.3s ease;
}

.cat-circulo:hover {
    border-radius: 20px;
    padding: 0 12px;
    min-width: auto;
    width: auto;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.cat-circulo span {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.2s ease 0.1s;
}

.cat-circulo:hover span {
    opacity: 1;
}

/* === MENU LATERAL === */
.menu-tp-inp2 {
    display: none;
}

.o-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-tp-inp2:checked ~ .o-menu {
    opacity: 1;
    visibility: visible;
}

.menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.menu-content-professional {
    position: absolute !important;
    top: 0 !important;
    right: -320px !important;
    left: auto !important;
    width: 320px !important;
    height: 100vh !important;
    background: linear-gradient(to bottom, var(--agaze-primary) 0%, #0a1fa5 100%);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-tp-inp2:checked ~ .o-menu .menu-content-professional {
    right: 0 !important;
}

.menu-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.menu-header-mobile h3 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.menu-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-close-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
}

.menu-body-mobile {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.menu-categorias-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-categorias-mobile li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.menu-categorias-mobile a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.menu-categorias-mobile a:hover {
    background: rgba(255,255,255,0.15);
    padding-left: 24px;
}

.menu-categorias-mobile a i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.menu-cat-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.menu-social-mobile {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-link-whatsapp,
.social-link-facebook,
.social-link-instagram,
.social-link-youtube {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link-whatsapp:hover,
.social-link-facebook:hover,
.social-link-instagram:hover,
.social-link-youtube:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.5);
}

.social-link-whatsapp i,
.social-link-facebook i,
.social-link-instagram i,
.social-link-youtube i {
    font-size: 24px;
}

/* === BUSCA === */
.busca-tp-inp {
    position: relative;
    flex: 0 0 auto;
}

.busca-tp-inp2 {
    display: none;
}

.ico-busca {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--agaze-white);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ico-busca:hover {
    background: rgba(255,255,255,0.1);
}

.box-busca {
    position: absolute;
    top: 45px;
    right: 0;
    width: 280px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    display: none;
    z-index: 10;
}

.busca-tp-inp2:checked ~ .box-busca {
    display: block;
}

/* === MENU HAMBURGUER === */
/* Regras já definidas anteriormente */

.ico-menu {
    width: 32px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.ico-menu span {
    display: block;
    height: 3px;
    background: var(--agaze-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* === MENU TOPO HORIZONTAL === */
.pos-menu-topo {
    background: white;
    padding: 8px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 2px solid var(--agaze-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.back-menu-1 {
    background: white;
}

.env-menu-topo {
    max-width: 100%;
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.2) transparent;
}

.env-menu-topo::-webkit-scrollbar {
    height: 4px;
}

.env-menu-topo::-webkit-scrollbar-track {
    background: transparent;
}

.env-menu-topo::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 2px;
}

.menu-topo {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
}

.menu-topo li {
    margin: 0;
    position: relative;
}

.menu-topo li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: rgba(0,0,0,0.12);
}

.menu-topo li:last-child::after {
    display: none;
}

.menu-topo a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: transparent;
    border-radius: 4px;
    margin: 0 2px;
}

.menu-topo a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hover-bg-color, var(--agaze-primary));
    border-radius: 4px;
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    transform-origin: bottom;
}

.menu-topo a span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.menu-topo a:hover {
    color: white;
}

.menu-topo a:hover::before {
    transform: scaleY(1);
}

.menu-topo a:hover span {
    transform: translateY(-1px);
}

/* === DESTAQUE 24H === */
.manchete-destaque-agaze {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 70px 40px 60px 40px;
    margin: 30px 0 40px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border-left: 6px solid var(--agaze-primary);
    position: relative;
    overflow: hidden;
    min-height: 350px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.manchete-destaque-agaze:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.badge-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.badge-categoria {
    display: inline-block;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.manchete-destaque-agaze:hover .badge-categoria {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.titulo-manchete {
    margin: 0 0 25px 0;
    font-size: 36px;
    line-height: 1.3;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    text-shadow: 0 3px 15px rgba(255,255,255,0.95);
    font-family: "Lora", serif;
}

.titulo-manchete a {
    text-decoration: none;
    transition: all 0.4s ease;
    display: inline-block;
    padding: 5px 0;
}

.titulo-manchete a:hover {
    color: var(--cat-color, var(--agaze-primary));
}

.resumo-manchete {
    color: #555;
    margin: 0 auto 35px auto;
    font-size: 18px;
    line-height: 1.8;
    max-width: 850px;
    text-align: center;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(255,255,255,0.9);
}

.btn-wrapper {
    text-align: center;
}

.btn-leia-mais {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-leia-mais:hover {
    background: #1a1a1a !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* === SEÇÃO HERO === */
.hero-section-agazeta {
    margin: 30px 0;
}

.pos-hero-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    align-items: start;
}

.hero-main-area {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    height: 100%;
}

.hero-live-stream {
    width: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

/* Post Principal sem Imagem */
.hero-top-post {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 5px solid var(--agaze-primary);
}

.top-post-category {
    display: inline-block;
    background: var(--agaze-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.hero-top-post h2 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 15px 0;
}

.hero-top-post h2 a {
    color: var(--agaze-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.hero-top-post h2 a:hover {
    color: var(--agaze-primary);
}

.hero-top-post p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 20px 0;
}

.top-post-meta {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Grid 3 Posts */
.hero-grid-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.hero-grid-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.hero-grid-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.grid-post-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.grid-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-grid-item:hover .grid-post-image img {
    transform: scale(1.05);
}

.grid-post-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.grid-post-category {
    display: inline-block;
    background: var(--agaze-primary);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.grid-post-content {
    padding: 15px;
}

.grid-post-content h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px 0;
}

.grid-post-content h3 a {
    color: var(--agaze-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.grid-post-content h3 a:hover {
    color: var(--agaze-primary);
}

.grid-post-date {
    font-size: 11px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Posts Laterais */
.hero-side-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    justify-content: flex-start;
    height: 100%;
}

.side-post-item {
    display: flex;
    flex-direction: row;
    gap: 18px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border-left: 3px solid var(--agaze-primary);
    overflow: hidden;
    padding: 20px;
    align-items: stretch;
    flex: 1;
}

.side-post-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.side-post-image {
    flex: 0 0 200px;
    height: auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    align-self: stretch;
}

.side-post-image img {
    width: 200px;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.side-post-item:hover .side-post-image img {
    transform: scale(1.1);
}

.side-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.side-post-category {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    align-self: flex-start;
    color: white;
    background: var(--agaze-primary);
}

.side-post-content h4 {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.side-post-content h4 a {
    text-decoration: none;
    color: var(--agaze-dark);
    transition: color 0.3s;
}

.side-post-content h4 a:hover {
    color: var(--agaze-primary);
}

.side-post-date {
    margin-top: 6px;
    font-size: 11px;
    color: #999;
}

.side-post-date i {
    margin-right: 5px;
}

/* === LISTA HOME 4 - GRID RESPONSIVO MODERNO === */
.env-home {
    margin: 40px 0;
}

.posts-grid-responsive {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.posts-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

.post-col {
    display: flex;
    flex-direction: column;
}

.post-col-duplo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-card-modern {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}

.post-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.post-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

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

.post-card-modern:hover .card-img {
    transform: scale(1.08);
}

.post-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.post-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    transition: color 0.3s;
}

.post-card-modern:hover .post-card-title {
    color: var(--agaze-primary);
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.post-card-category {
    display: inline-block;
    background: var(--agaze-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    letter-spacing: 0.5px;
}

.post-card-info {
    font-size: 12px;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
}

.post-card-info strong {
    color: #333;
    font-weight: 600;
}


/* POST CARD SEM IMAGEM */
.post-card-no-image .post-card-content {
    padding: 25px;
}

/* === MAIS LIDAS HORIZONTAL + 3 POSTS === */
.posts-row-posts-mais-lidas {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
    margin-bottom: 30px;
}

.mais-lidas-horizontal-col {
    display: flex;
    align-items: flex-start;
}

.posts-3-colunas {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mais-lidas-posts-horizontal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mais-lida-item-horizontal {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mais-lida-item-horizontal:hover {
    background: #f8f9fa;
    border-left-color: var(--cat-color);
}

.mais-lida-numero-horizontal {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: var(--agaze-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

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

.mais-lida-content-horizontal h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 4px 0;
}

.mais-lida-content-horizontal h4 a {
    color: var(--agaze-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mais-lida-item-horizontal:hover .mais-lida-content-horizontal h4 a {
    color: var(--cat-color);
}

.mais-lida-meta-horizontal {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ESPAÇO FUTURO */
.espaco-futuro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    min-height: 100px;
}

/* Classes antigas removidas - usando post-card-modern agora */

/* === SIDEBAR LATERAL === */
.fix-lateral-home {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* === BUSCA SIDEBAR === */
.sidebar-search {
    display: flex;
    align-items: stretch;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-search-input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
    background: white;
}

.sidebar-search-input::placeholder {
    color: #999;
}

.sidebar-search-btn {
    background: var(--agaze-primary);
    border: none;
    padding: 0 18px;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-search-btn:hover {
    background: #001275;
}

/* === BOTÕES SOCIAIS SIDEBAR === */
.sidebar-social-buttons {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 22px;
    color: white;
}

.sidebar-social-btn i {
    margin: 0 8px;
}

.sidebar-social-text {
    font-size: 11px;
    line-height: 14px;
    text-align: center;
}

.sidebar-telegram {
    background: #0088cc;
}

.sidebar-telegram:hover {
    background: #0077b3;
}

.sidebar-whatsapp {
    background: #25d366;
}

.sidebar-whatsapp:hover {
    background: #20ba5a;
}

/* === TÍTULO ÚLTIMAS NOTÍCIAS === */
.tt-item-lateral-home-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--agaze-primary);
    margin-bottom: 15px;
}

.tt-item-lateral-home-icon {
    font-size: 28px;
    color: var(--agaze-primary);
    font-weight: 300;
}

.lateral-posts-content {
    display: flex;
    flex-direction: column;
}

.ultimas-noticias-divider {
    width: 50%;
    margin: 15px 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

.ultimas-noticias-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--agaze-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ultimas-noticias:hover .ultimas-noticias-title {
    color: var(--agaze-primary);
}

.ultimas-noticias-meta {
    font-size: 12px;
    color: #666;
    display: block;
}

.lateral-home {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.item-lateral-home {
    margin-bottom: 0;
}

.tt-item-lateral-home {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: var(--agaze-primary);
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
}

.tt-item-lateral-home a {
    color: var(--agaze-primary);
    text-decoration: none;
}

/* === ÚLTIMAS NOTÍCIAS === */
.ultimas-noticias {
    display: block;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    text-decoration: none;
}

.ultimas-noticias:last-child {
    border-bottom: none;
}

.chapeu-ultimas {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--agaze-primary);
    margin-bottom: 5px;
}

.data-ultimas {
    font-size: 12px;
    color: #999;
}

.ultimas-noticias h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 8px 0 0 0;
    color: var(--agaze-dark);
    line-height: 1.3;
}

.ultimas-noticias:hover h3 {
    color: var(--agaze-primary);
}

/* === MAIS LIDAS === */
.mais-lidas {
    display: block;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
}

.mais-lidas:last-child {
    border-bottom: none;
}

.mais-lidas .table {
    display: table;
    width: 100%;
}

.num-m-lidas {
    display: table-cell;
    width: 30px;
    font-size: 24px;
    font-weight: 700;
    color: var(--agaze-primary);
    vertical-align: middle;
}

.mais-lidas h3 {
    display: table-cell;
    font-size: 14px;
    font-weight: 700;
    vertical-align: middle;
    padding-left: 10px;
    color: var(--agaze-dark);
}

/* === SIDEBAR MAIS LIDAS BOX === */
.sidebar-mais-lidas-box {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--agaze-dark);
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--agaze-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title i {
    color: #ff6b35;
}

.mais-lidas-posts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mais-lida-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mais-lida-item:hover {
    background: #f8f9fa;
    border-left-color: var(--cat-color);
}

.mais-lida-numero {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    background: var(--agaze-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

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

.mais-lida-content h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 4px 0;
}

.mais-lida-content h4 a {
    color: var(--agaze-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mais-lida-item:hover .mais-lida-content h4 a {
    color: var(--cat-color);
}

.mais-lida-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mais-lida-categoria {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* === RODAPE SIMPLIFICADO === */
.rodape {
    background: var(--agaze-primary);
    color: var(--agaze-white);
    padding: 30px 0;
    margin-top: 40px;
}

.rodape-simples {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.rodape-social {
    justify-content: center;
}

.copyright {
    color: var(--agaze-white);
    font-size: 14px;
    font-weight: 400;
}


/* === RESPONSIVO === */
@media (max-width: 1024px) {
    .pos-hero-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-main-area {
        order: 1;
        margin-bottom: 15px;
    }
    
    .hero-grid-posts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-side-posts {
        order: 2;
        flex-direction: row;
        overflow-x: auto;
        height: auto;
        min-height: auto;
        gap: 15px;
        scrollbar-width: thin;
        scrollbar-color: #001993 transparent;
    }
    
    .hero-side-posts::-webkit-scrollbar {
        height: 4px;
    }
    
    .hero-side-posts::-webkit-scrollbar-thumb {
        background: #001993;
        border-radius: 2px;
    }
    
    .side-post-item {
        flex: 0 0 300px;
        min-width: 300px;
    }
    
    .pos-lista-home-lateral {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .conteudo {
        padding: 0 15px;
        flex-wrap: wrap;
        position: relative;
    }
    
    .pos-topo {
        padding: 10px 0;
    }
    
    .logo {
        order: 2;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        flex: none;
        margin: 8px 0;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .menu-tp-inp {
        order: 1;
        flex: 0 0 auto;
        margin-right: 0;
    }
    
    .busca-tp-inp {
        order: 3;
    }
    
    .social-topo {
        order: 4;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
    }
    
    .social-topo a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .lista-home-4 {
        flex-direction: column;
    }
    
    .lista-home-4 img {
        width: 100%;
        height: 200px;
    }
    
    .pos-links-rodape {
        grid-template-columns: 1fr;
    }
    
    .pos-24h h3 {
        font-size: 20px;
    }
    
    .pos-hero-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-main-area {
        order: 1;
        margin-bottom: 15px;
    }
    
    .hero-grid-posts {
        grid-template-columns: 1fr;
    }
    
    .hero-side-posts {
        order: 2;
        flex-direction: row;
        overflow-x: auto;
        height: auto;
        min-height: auto;
        gap: 15px;
        padding-bottom: 5px;
    }
    
    .side-post-item {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .hero-top-post {
        padding: 20px;
    }
    
    .hero-top-post h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-height: 50px;
    }
    
    .menu-topo {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .sub-manchete img {
        height: 150px;
    }
    
    .menu-topo a {
        padding: 15px 18px;
        font-size: 12px;
    }
    
    .hero-grid-posts {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .grid-post-image {
        height: 150px;
    }
    
    .hero-top-post {
        padding: 15px;
    }
    
    .hero-top-post h2 {
        font-size: 20px;
    }
    
    .side-post-item {
        flex: 0 0 260px;
        min-width: 260px;
    }
    
    /* === RESPONSIVE POSTS GRID === */
    .posts-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-card-modern {
        border-radius: 12px;
    }
    
    .post-card-image {
        height: 200px;
    }
    
    .post-card-title {
        font-size: 18px;
    }
    
    .post-card-content {
        padding: 20px;
    }
}

/* Cache bust: MENU_DIREITO_v2 */

