/* ========================================
   TEMPLATE JORNALISMO PROFISSIONAL - I3NEWS
   Design Moderno Inspirado nos Grandes Portais
   ======================================== */

/* === IMPORTAÇÃO DE FONTES === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
    /* Cores principais */
    --blue-primary: #006eb4;
    --blue-dark: #004c7f;
    --blue-light: #0080cc;
    --red-primary: #c4170c;
    --orange-accent: #ff6600;
    --gray-light: #e5e5e5;
    --gray-dark: #333;
    --gray-medium: #767676;
    --bg-light: #f5f5f5;
    --border-color: #e0e0e0;
    
    /* Cores gerais (compatibilidade) */
    --primary-color: #006eb4;
    --primary-dark: #004c7f;
    --secondary-color: #c4170c;
    --accent-color: #ff6600;
    --text-color: #333;
    --text-light: #767676;
    --text-lighter: #999;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.16);
    --transition: all 0.2s ease;
    --radius: 3px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    font-optical-sizing: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header .container,
.site-nav .container {
    margin-top: 0;
    margin-bottom: 0;
}

/* ==========================================
   HEADER
   ========================================== */

/* TOPBAR SUPERIOR */
.site-topbar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
    font-size: 11px;
    margin: 0;
}

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

.site-topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-date {
    color: var(--gray-medium);
    font-weight: 400;
}

.site-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-dark);
    font-weight: 600;
}

.site-time i {
    color: var(--blue-primary);
}

.site-topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-weather {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-dark);
    font-weight: 600;
}

.site-weather i {
    color: var(--orange-accent);
    font-size: 14px;
}

.site-social-compact {
    display: flex;
    gap: 5px;
}

.site-social-compact a {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);
    background: white;
    border-radius: 50%;
    font-size: 11px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.site-social-compact a:hover {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}

/* HEADER PRINCIPAL */
.site-header {
    background: white;
    padding: 20px 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    margin: 0 !important;
    margin-bottom: 0 !important;
    display: block;
}

.site-header.sticky {
    padding: 15px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.site-header + .site-nav {
    margin-top: 0 !important;
}

.site-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    margin: 0;
    padding: 0;
}

/* LOGO */
.site-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.site-logo a {
    display: block;
}

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

.site-header.sticky .site-logo-img {
    max-height: 35px;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
}

.site-logo-main {
    font-size: 38px;
    font-weight: 900;
    color: var(--blue-primary);
    line-height: 0.9;
    letter-spacing: -1.5px;
    font-family: 'Inter', 'Arial Black', Arial, sans-serif;
}

.site-logo-sub {
    font-size: 10px;
    color: var(--gray-medium);
    text-transform: lowercase;
    margin-top: 2px;
}

/* BUSCA */
.site-search-area {
    display: none;
}

.site-action-link {
    display: flex !important;
    align-items: center;
    gap: 6px;
    padding: 0;
    color: var(--gray-dark);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.site-action-link i {
    font-size: 20px;
    color: var(--gray-dark);
}

.site-action-link:hover {
    opacity: 0.7;
}

/* ACTIONS */
.site-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-menu-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    color: var(--gray-dark);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.site-menu-toggle i {
    font-size: 20px;
    color: var(--gray-dark);
}

.site-menu-toggle:hover {
    opacity: 0.7;
}

.site-menu-toggle span {
    display: inline-block;
}

/* MENU NAVEGAÇÃO */
.site-nav {
    background: var(--blue-primary);
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0;
    display: block;
}

.site-nav-list {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav-item {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.site-nav-link {
    display: block;
    padding: 8px 12px;
    color: white;
    font-size: 11px;
    font-weight: 600;
    text-transform: lowercase;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.site-nav-link:hover,
.site-nav-link.active {
    background: var(--blue-dark);
}

/* SUBMENU COM ÚLTIMAS */
.site-submenu {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
    margin: 0;
    position: relative;
    z-index: 9;
}

.site-submenu-content {
    overflow: hidden;
}

.site-breaking {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-breaking-label {
    color: var(--red-primary);
    font-weight: 900;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    padding-right: 10px;
    border-right: 2px solid var(--red-primary);
}

.site-breaking-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.site-breaking-link {
    display: inline;
    color: var(--gray-dark);
    font-size: 11px;
    margin-right: 8px;
}

.site-breaking-link strong {
    color: var(--blue-primary);
    font-weight: 700;
}

.site-breaking-link:hover {
    color: var(--blue-primary);
}

.site-separator {
    color: var(--gray-light);
    margin: 0 6px;
}

/* MENU MOBILE */
.site-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: white;
    z-index: 10000;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -3px 0 15px rgba(0,0,0,0.2);
}

.site-mobile-menu.active {
    right: 0;
}

.site-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--blue-primary);
    color: white;
}

.site-mobile-logo img {
    max-height: 35px;
}

.site-mobile-logo span {
    font-size: 28px;
    font-weight: 900;
}

.site-mobile-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.site-mobile-search {
    padding: 15px;
    background: var(--bg-light);
}

.site-mobile-search form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    background: white;
}

.site-mobile-search input {
    flex: 1;
    padding: 10px 12px;
    border: none;
    font-size: 13px;
    outline: none;
}

.site-mobile-search button {
    padding: 10px 15px;
    background: var(--blue-primary);
    color: white;
    border: none;
    cursor: pointer;
}

.site-mobile-nav ul {
    margin: 0;
    padding: 0;
}

.site-mobile-nav li {
    border-bottom: 1px solid var(--border-color);
}

.site-mobile-nav a {
    display: block;
    padding: 14px 20px;
    color: var(--gray-dark);
    font-size: 15px;
    font-weight: 600;
    text-transform: lowercase;
}

.site-mobile-nav a:hover {
    background: var(--bg-light);
    color: var(--blue-primary);
}

.site-mobile-social {
    padding: 20px;
    background: var(--bg-light);
    margin-top: 20px;
}

.site-mobile-social p {
    font-size: 12px;
    font-weight: 700;
    color: var(--gray-medium);
    margin-bottom: 12px;
    text-transform: lowercase;
}

.site-mobile-social-links {
    display: flex;
    gap: 8px;
}

.site-mobile-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--gray-dark);
    font-size: 16px;
    border: 1px solid var(--border-color);
}

.site-mobile-social-links a:hover {
    background: var(--blue-primary);
    color: white;
    border-color: var(--blue-primary);
}

.site-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

/* ==========================================
   LAYOUT CLEAN E MODERNO
   ========================================== */

/* HEADER CLEAN */
.modern-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: grid;
    grid-template-columns: 250px auto 1fr;
    align-items: center;
    gap: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.header-logo a {
    display: block;
}

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

.logo-text {
    font-size: 36px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -1px;
}

.header-search {
    max-width: 350px;
    width: 100%;
    justify-self: end;
}

.search-box {
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s;
}

.search-box:focus-within {
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.search-box input {
    flex: 1;
    padding: 14px 24px;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
}

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

.search-box button {
    padding: 14px 28px;
    background: #1a1a1a;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box button:hover {
    background: #000;
}

.mobile-toggle {
    display: none;
    background: #1a1a1a;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

/* NAVEGAÇÃO DE CATEGORIAS */
.header-nav {
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.header-nav::-webkit-scrollbar {
    height: 3px;
}

.header-nav::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.header-nav::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.categories-list {
    display: flex;
    gap: 5px;
    margin: 0;
    padding: 16px 0;
    list-style: none;
}

.categories-list li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    white-space: nowrap;
}

.categories-list li a:hover,
.categories-list li a.active {
    background: #1a1a1a;
    color: white;
}

/* MAIN CONTENT */
.modern-main {
    padding: 0;
    margin: 0;
    background: #f5f5f5;
    min-height: 70vh;
}

.container-full {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}

.container-standard {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ==========================================
   MANCHETE PRINCIPAL - LARGURA TOTAL
   ========================================== */

.headline-main {
    max-width: 1280px;
    margin: 24px auto;
    padding: 0 20px;
    background: transparent;
}

.main-story {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.story-link {
    display: block;
}

.story-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    position: relative;
}

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

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

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    padding: 60px 0 40px;
}

.story-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.story-category {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.story-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.5px;
}

.story-summary {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255,255,255,0.95);
    margin: 0 0 12px 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
    max-width: 800px;
}

.story-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ==========================================
   LAYOUT: CONTEÚDO + SIDEBAR
   ========================================== */

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    margin-top: 24px;
    padding-bottom: 40px;
}

/* ==========================================
   GRID DE NOTÍCIAS
   ========================================== */

.news-grid {
    background: white;
    padding: 24px 20px;
    margin-bottom: 24px;
}

.grid-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.grid-item {
    display: block;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}

.grid-item:hover {
    opacity: 0.85;
}

.grid-link {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.grid-thumb {
    width: 280px;
    min-width: 280px;
    height: 180px;
    overflow: hidden;
    border-radius: 4px;
    flex-shrink: 0;
}

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

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

.grid-content {
    flex: 1;
    padding: 0;
}

.grid-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 6px;
}

.grid-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    margin: 0 0 12px 0;
}

.grid-item:hover .grid-title {
    color: #006eb4;
}

.grid-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.grid-meta {
    font-size: 13px;
    color: #767676;
}

/* ==========================================
   SIDEBAR - MAIS LIDAS
   ========================================== */

.sidebar-main {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.widget {
    background: white;
    margin-bottom: 24px;
    padding: 16px;
}

.widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #c4170c;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #c4170c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.most-read-list {
    display: flex;
    flex-direction: column;
}

.read-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
}

.read-item:last-child {
    border-bottom: none;
}

.read-rank {
    font-size: 18px;
    font-weight: 700;
    color: #c4170c;
    min-width: 32px;
    margin-right: 12px;
}

.read-link {
    flex: 1;
    display: block;
}

.read-link:hover .read-title {
    color: #006eb4;
}

.read-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
    margin: 0 0 4px 0;
}

.read-time {
    font-size: 11px;
    color: #767676;
}


/* SEÇÃO DE DESTAQUES */
.featured-section {
    margin-bottom: 50px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* POST PRINCIPAL (GRANDE) */
.featured-main {
    position: relative;
    min-height: 550px;
    width: 100%;
    padding: 0;
    margin: 0;
}

.featured-link {
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
}

.featured-image {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

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

.featured-main:hover .featured-image img {
    transform: scale(1.05);
}

.featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.9) 100%);
}

.featured-category {
    display: inline-block;
    background: #ff4444;
    color: white;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
    color: white;
}

.featured-title {
    font-size: 36px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    margin-top: 0;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.featured-excerpt {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.95);
    max-width: 90%;
}

.featured-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.featured-meta i {
    margin-right: 5px;
}

/* 3 POSTS SECUNDÁRIOS */
.featured-side {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    gap: 20px;
    padding: 20px;
    background: #f8f8f8;
}

.featured-small {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.featured-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Post 2 ocupa o topo inteiro */
.featured-small:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

/* Container para posts 3 e 4 */
.featured-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    grid-column: 1;
    grid-row: 2;
}

.featured-small-link {
    display: block;
    height: 100%;
}

.featured-small-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

/* Posts 3 e 4 (na linha de baixo) com imagens menores */
.featured-bottom-row .featured-small .featured-small-image {
    height: 140px;
}

.featured-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-small:hover .featured-small-image img {
    transform: scale(1.1);
}

.featured-small-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff4444;
    color: white;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.featured-small-content {
    padding: 16px;
}

.featured-small-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-small-title:hover {
    color: #ff4444;
}

.featured-small-meta {
    font-size: 12px;
    color: #666;
}

.featured-small-meta i {
    margin-right: 4px;
}

/* ==========================================
   SEÇÃO DE POSTS POR CATEGORIA
   ========================================== */
.category-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 28px;
    background: #f5f5f5;
    color: #666;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.category-tab:hover {
    background: #e8e8e8;
    color: #333;
}

.category-tab.active {
    background: var(--cat-color, #1a1a1a);
    color: white;
    border-color: var(--cat-color, #1a1a1a);
}

.category-posts-container {
    position: relative;
    min-height: 200px;
}

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

.category-post-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.category-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: transparent;
}

.category-post-link {
    display: block;
}

.category-post-image {
    height: 140px;
    overflow: hidden;
    background: #f0f0f0;
}

.category-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

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

.category-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}

.category-post-title:hover {
    color: #ff4444;
}

.category-post-meta {
    font-size: 12px;
    color: #999;
}

.category-post-meta i {
    margin-right: 4px;
}

/* ==========================================
   SEÇÃO DE MAIS LIDAS
   ========================================== */
.ad-popular-section {
    margin-bottom: 40px;
}

.ad-popular-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.popular-posts {
    background: #fafafa;
    border-radius: 10px;
    padding: 25px;
}

.popular-title {
    font-size: 20px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-title i {
    color: #ff4444;
    font-size: 22px;
}

.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e8e8;
}

.popular-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-rank {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
}

.popular-link {
    flex: 1;
}

.popular-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-item-title:hover {
    color: #ff4444;
}

.popular-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #999;
}

.popular-category {
    font-weight: 600;
}

/* ==========================================
   ⚡ ÚLTIMA HORA / BREAKING NEWS
   ========================================== */
.breaking-news-bar {
    background: linear-gradient(135deg, #c8102e 0%, #ff4444 100%);
    color: white;
    padding: 12px 0;
    position: relative;
    overflow: hidden;
}

.breaking-news-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.breaking-news-badge {
    background: rgba(0,0,0,0.2);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 1px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.breaking-news-ticker {
    flex: 1;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.breaking-news-ticker::-webkit-scrollbar {
    height: 3px;
}

.breaking-news-ticker::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

.breaking-news-ticker::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.breaking-news-item {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breaking-news-item:hover {
    opacity: 0.8;
    transform: translateX(5px);
}

.breaking-time {
    background: rgba(0,0,0,0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
}

/* ==========================================
   🎥 SEÇÃO DE VÍDEOS
   ========================================== */
.videos-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-bottom: 40px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.video-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: transparent;
}

.video-card-link {
    display: block;
}

.video-card-thumb {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
    opacity: 0.9;
}

.video-card:hover .video-card-thumb img {
    transform: scale(1.1);
    opacity: 0.7;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    opacity: 0.9;
    transition: all 0.3s;
    pointer-events: none;
}

.video-card:hover .video-play-overlay {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}

.video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,0,0,0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-card-content {
    padding: 16px;
}

.video-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.video-card-title:hover {
    color: #ff4444;
}

.video-category {
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================
   📧 NEWSLETTER + 📊 ENQUETE
   ========================================== */
.newsletter-poll-section {
    margin-bottom: 40px;
}

.newsletter-poll-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.newsletter-widget,
.poll-widget {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Newsletter */
.newsletter-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.newsletter-icon i {
    font-size: 32px;
    color: white;
}

.newsletter-title {
    font-size: 24px;
    font-weight: 900;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 10px;
}

.newsletter-text {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.newsletter-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.newsletter-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.newsletter-privacy {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.newsletter-privacy i {
    margin-right: 5px;
}

/* Enquete */
.poll-title {
    font-size: 20px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.poll-title i {
    color: #667eea;
}

.poll-question {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.poll-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.poll-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.poll-option:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.poll-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.poll-option-text {
    flex: 1;
    font-weight: 500;
}

.poll-percentage {
    font-weight: 700;
    color: #667eea;
    font-size: 14px;
}

.poll-btn {
    margin-top: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.poll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.poll-total {
    margin-top: 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* SEÇÃO DE POSTS */
.posts-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.section-header {
    margin-bottom: 35px;
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-line {
    width: 60px;
    height: 4px;
    background: #1a1a1a;
    border-radius: 2px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* CARDS DE POST */
.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: transparent;
}

.post-card-link {
    display: block;
}

.post-card-image {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

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

.post-card:hover .post-card-image img {
    transform: scale(1.12);
}

.post-card-category {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #1a1a1a;
    color: white;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
}

.post-card-content {
    padding: 18px;
}

.post-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.post-card-title:hover {
    color: #ff4444;
}

.post-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.post-card-meta i {
    margin-right: 4px;
}

/* BOTÃO CARREGAR MAIS */
.load-more-wrapper {
    text-align: center;
    padding-top: 20px;
}

.load-more-btn {
    padding: 16px 40px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover:not(:disabled) {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* VOLTAR AO TOPO */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: #000;
    transform: translateY(-5px);
}

/* === MAIN CONTENT === */
.main-content {
    padding: 30px 0 50px;
    margin: 0;
    min-height: 70vh;
}

/* === SMART TILES - DESTAQUES === */
.smart-tiles {
    margin-bottom: 50px;
    padding-top: 10px;
}

.smart-tiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 380px 230px;
    gap: 12px;
}

.smart-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: var(--secondary-color);
}

.smart-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tile-principal {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.tile-secundario:nth-child(2) {
    grid-column: 3 / 5;
    grid-row: 1;
}

.tile-secundario:nth-child(3) {
    grid-column: 3;
    grid-row: 2;
}

.tile-secundario:nth-child(4) {
    grid-column: 4;
    grid-row: 2;
}

.tile-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.tile-imagem {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.tile-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.smart-tile:hover .tile-imagem img {
    transform: scale(1.08);
}

.tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0,0,0,0.1) 30%, 
        rgba(0,0,0,0.6) 70%, 
        rgba(0,0,0,0.95) 100%
    );
}

.tile-conteudo {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    color: white;
    z-index: 2;
}

.tile-principal .tile-conteudo {
    padding: 35px;
}

.tile-categoria {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 14px;
}

.tile-titulo {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.tile-principal .tile-titulo {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 14px;
}

.tile-resumo {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255,255,255,0.95);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.tile-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.tile-meta i {
    font-size: 10px;
}

/* === MAIN LAYOUT === */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 35px;
}

/* === SEÇÃO === */
.secao-titulo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.secao-titulo span {
    position: relative;
    padding-right: 15px;
    background: var(--bg-light);
    z-index: 1;
}

/* === GRID NOTÍCIAS === */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 30px;
}

/* === CARD NOTÍCIA === */
.noticia-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.noticia-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.noticia-imagem {
    position: relative;
    padding-top: 62%;
    background: #f0f0f0;
    overflow: hidden;
}

.noticia-imagem img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.noticia-card:hover .noticia-imagem img {
    transform: scale(1.1);
}

.noticia-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 5px 11px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.noticia-conteudo {
    padding: 18px;
}

.noticia-titulo {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 10px;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 70px;
}

.noticia-titulo a:hover {
    color: var(--primary-color);
}

.noticia-resumo {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.noticia-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: var(--text-lighter);
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.noticia-meta i {
    font-size: 10px;
    margin-right: 3px;
}

.noticia-data, .noticia-views {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* === SIDEBAR === */
.sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.widget {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.widget-titulo {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.widget-titulo i {
    color: var(--primary-color);
    font-size: 15px;
}

/* === WIDGET BUSCA === */
.widget-search-form {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
}

.widget-search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}

.widget-search-form input {
    flex: 1;
    padding: 11px 14px;
    border: none;
    font-size: 13px;
    outline: none;
}

.widget-search-form button {
    padding: 11px 18px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.widget-search-form button:hover {
    background: var(--primary-dark);
}


/* === MAIS LIDAS === */
.mais-lidas-lista {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mais-lidas-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.mais-lidas-item:hover {
    padding-left: 5px;
}

.mais-lidas-numero {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    min-width: 35px;
    line-height: 1;
    text-shadow: 2px 2px 0 rgba(200, 16, 46, 0.1);
}

.mais-lidas-conteudo {
    flex: 1;
    display: flex;
    gap: 10px;
}

.mais-lidas-thumb {
    width: 75px;
    height: 55px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.mais-lidas-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.mais-lidas-thumb:hover img {
    transform: scale(1.15);
}

.mais-lidas-info {
    flex: 1;
}

.mais-lidas-titulo {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.mais-lidas-titulo:hover {
    color: var(--primary-color);
}

.mais-lidas-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: var(--text-lighter);
}

.mais-lidas-views {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* === ÚLTIMA HORA === */
.ultimas-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ultimas-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.ultimas-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ultimas-item:hover {
    padding-left: 5px;
}

.ultimas-item a {
    flex: 1;
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.4;
    display: flex;
    align-items: start;
    gap: 8px;
    font-weight: 500;
}

.ultimas-item a i {
    color: var(--primary-color);
    margin-top: 2px;
    font-size: 11px;
}

.ultimas-item a:hover {
    color: var(--primary-color);
}

.ultimas-hora {
    font-size: 10px;
    color: var(--text-lighter);
    font-weight: 700;
    white-space: nowrap;
    padding: 3px 9px;
    background: var(--bg-light);
    border-radius: 3px;
}

/* === WIDGET REDES SOCIAIS === */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.social-btn:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.social-btn i {
    font-size: 16px;
    width: 22px;
    text-align: center;
}

.social-btn.facebook { background: #1877f2; }
.social-btn.facebook:hover { background: #145dbf; }
.social-btn.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-btn.twitter { background: #000000; }
.social-btn.twitter:hover { background: #1a1a1a; }
.social-btn.youtube { background: #ff0000; }
.social-btn.youtube:hover { background: #cc0000; }

/* === BOTÃO === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.load-more-container {
    text-align: center;
    margin-top: 45px;
    padding: 25px;
}

/* === FOOTER === */
.footer {
    background: var(--secondary-color);
    color: rgba(255,255,255,0.85);
    padding: 55px 0 25px;
    margin-top: 70px;
    border-top: 4px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 45px;
    margin-bottom: 45px;
}

.footer-section h3 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 3px;
    background: var(--primary-color);
}

.footer-section ul li {
    margin-bottom: 11px;
}

.footer-section a {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    transition: var(--transition);
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section p {
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 15px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 12px;
}

.footer-copyright p {
    margin: 5px 0;
}

/* === VOLTAR AO TOPO === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: 0 4px 14px rgba(200, 16, 46, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(200, 16, 46, 0.5);
}

/* === BREADCRUMB === */
.breadcrumb {
    padding: 18px 0;
    font-size: 13px;
    color: var(--text-lighter);
}

.breadcrumb a {
    color: var(--primary-color);
    transition: var(--transition);
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* === ANIMAÇÕES === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.noticia-card,
.smart-tile,
.widget {
    animation: fadeIn 0.4s ease forwards;
}

/* ==========================================
   RESPONSIVE - LAYOUT MODERNO
   ========================================== */
@media (max-width: 1200px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-main {
        min-height: 400px;
    }
}

@media (max-width: 1024px) {
    .header-top {
        grid-template-columns: 200px 1fr auto;
        gap: 20px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-main {
        min-height: 400px;
    }
    
    .featured-side {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .featured-bottom-row {
        grid-template-columns: 1fr;
    }
    
    .category-posts {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-poll-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .header-top {
        grid-template-columns: 1fr auto;
        gap: 15px;
    }
    
    .header-logo img {
        max-height: 40px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    .header-search {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .categories-list {
        display: none;
        flex-direction: column;
        padding: 0;
    }
    
    .categories-list.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 999;
        padding: 15px;
    }
    
    .categories-list li a {
        padding: 12px 20px;
        border-radius: 8px;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .featured-excerpt {
        font-size: 15px;
        max-width: 100%;
    }
    
    .featured-content {
        padding: 25px;
    }
    
    .featured-side {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .featured-bottom-row {
        grid-template-columns: 1fr;
    }
    
    .breaking-news-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .breaking-news-ticker {
        flex-direction: column;
        align-items: center;
    }
    
    .category-posts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .category-section,
    .videos-section,
    .newsletter-poll-section,
    .posts-section {
        padding: 25px 20px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .featured-main {
        min-height: 300px;
    }
    
    .featured-small {
        min-width: 240px;
    }
    
    .featured-small-image {
        height: 120px;
    }
    
    .back-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* === RESPONSIVE ANTIGO === */
@media (max-width: 1024px) {
    .smart-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 350px 250px 250px;
    }
    
    .tile-principal {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    
    .tile-secundario:nth-child(2) {
        grid-column: 1 / 3;
        grid-row: 2;
    }
    
    .tile-secundario:nth-child(3) {
        grid-column: 1;
        grid-row: 3;
    }
    
    .tile-secundario:nth-child(4) {
        grid-column: 2;
        grid-row: 3;
    }
    
    .noticias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-layout {
        grid-template-columns: 1fr 300px;
        gap: 28px;
    }
}

/* ==========================================
   RESPONSIVO
   ========================================== */

@media (max-width: 1024px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .sidebar-main {
        position: static;
        max-width: 100%;
    }
    
    .grid-items {
        grid-template-columns: 1fr;
    }
    
    .grid-link {
        flex-direction: row;
    }
    
    .grid-thumb {
        width: 220px;
        min-width: 220px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .site-logo {
        position: static;
        transform: none;
    }
    
    .site-header-content {
        justify-content: space-between;
    }
    
    .site-logo {
        order: 2;
    }
    
    .site-menu-toggle {
        order: 1;
    }
    
    .site-header-actions {
        order: 3;
    }
    
    .container-standard {
        padding: 0 12px;
    }
    
    .content-layout {
        margin-top: 16px;
    }
    
    .headline-main {
        margin: 16px auto;
        padding: 0 12px;
    }
    
    .main-story {
        border-radius: 4px;
    }
    
    .story-image {
        height: 350px;
    }
    
    .story-content {
        padding: 0 20px;
    }
    
    .story-title {
        font-size: 28px;
    }
    
    .story-summary {
        font-size: 16px;
    }
    
    .grid-items {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .grid-link {
        flex-direction: column;
        gap: 12px;
    }
    
    .grid-thumb {
        width: 100%;
        height: 200px;
    }
    
    .grid-title {
        font-size: 18px;
    }
    
    .grid-excerpt {
        font-size: 14px;
    }
    
    .widget-title {
        font-size: 13px;
    }
    
    .read-title {
        font-size: 13px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .topbar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .header-search {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo {
        font-size: 26px;
    }
    
    .logo img {
        max-height: 38px;
    }
    
    .menu {
        position: relative;
        top: 0;
    }
    
    .menu-list {
        flex-direction: column;
        display: none;
    }
    
    .menu-list.active {
        display: flex;
    }
    
    .menu-list a {
        justify-content: center;
        border-bottom: 1px solid var(--border-color);
        padding: 14px 20px;
    }
    
    .smart-tiles-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }
    
    .tile-principal,
    .tile-secundario:nth-child(2),
    .tile-secundario:nth-child(3),
    .tile-secundario:nth-child(4) {
        grid-column: 1;
        grid-row: auto;
        min-height: 280px;
    }
    
    .tile-principal {
        min-height: 350px;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        position: relative;
        top: 0;
    }
    
    .noticias-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .tile-titulo {
        font-size: 18px;
    }
    
    .tile-principal .tile-titulo {
        font-size: 26px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 480px) {
    .secao-titulo {
        font-size: 18px;
    }
    
    .noticia-titulo {
        font-size: 15px;
        min-height: auto;
    }
    
    .widget {
        padding: 18px;
    }
    
    .widget-titulo {
        font-size: 15px;
    }
    
    .mais-lidas-thumb {
        width: 65px;
        height: 48px;
    }
    
    .mais-lidas-numero {
        font-size: 20px;
        min-width: 28px;
    }
}

/* === ESTADOS DE CARREGAMENTO === */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* === PRINT === */
@media print {
    .topbar,
    .menu,
    .sidebar,
    .footer,
    .back-to-top,
    .btn,
    .widget-search,
    .widget-ad {
        display: none !important;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .smart-tiles {
        display: none;
    }
}
