/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* --- WIDGET B3 MINIMALISTA --- */

/* 1. Esconde no Mobile */
@media (max-width: 767px) {
    #b3Widget { display: none !important; }
}

/* 2. Estilo Desktop (Linha Única) */
@media (min-width: 768px) {
    .b3-widget {
        display: flex;
        align-items: center;
        overflow: hidden;
        width: 160px; /* Largura da janela de visualização */
        height: 60px;
        border-radius: 10px;
        background: #fff4f4;
        padding: 0 10px;
        font-family: 'Montserrat', sans-serif;
    }

    .b3-widget-title {
        font-size: 9px;
        font-weight: 800;
        color: #797979;
        margin-right: 8px;
        text-transform: uppercase;
    }

    .b3-stocks-container {
        display: flex;
        transition: transform 0.5s ease-in-out;
    }

    .b3-stock-item {
        min-width: 180px; /* Deve ser igual ou menor que a largura do widget */
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
    }

    .b3-stock-symbol { font-weight: 700; font-size: 11px; color: #333; }
    .b3-stock-price { font-size: 11px; color: #000; }
    .b3-stock-change { font-size: 10px; font-weight: 700; }
    
    .positive { color: #28a745; }
    .negative { color: #dc3545; }
}
.weather-widget {
    display: none; /* Oculta por padrão para mobile */
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
    color: #333;
    margin-left: 20px; /* Ajuste conforme necessário para espaçamento */
}

.weather-widget #weather-icon {
    font-size: 1.2em; /* Tamanho do ícone */
}

/* Media Query para Desktop */
@media (min-width: 768px) {
    .weather-widget {
        display: flex; /* Exibe apenas em desktop */
    }
}

/* Você pode precisar ajustar o layout do .container ou .main-header para acomodar o widget */
/* Por exemplo, se o .container usa display: flex, adicione justify-content: space-between; ou similar */
.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribui os itens no header */
}

.main-header .container .logo {
    flex-grow: 0; /* Impede que o logo cresça */
}

.main-header .container .header-actions {
    flex-grow: 0; /* Impede que as ações do header cresçam */
}

.main-header .container .weather-widget {
    flex-grow: 1; /* Permite que o widget ocupe o espaço restante */
    justify-content: center; /* Centraliza o conteúdo do widget */
}
.weather-widget {
    display: none; /* Oculta por padrão para mobile */
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
    color: #333;
    margin-left: 20px; /* Ajuste conforme necessário para espaçamento */
}

.weather-widget #weather-icon {
    font-size: 1.2em; /* Tamanho do ícone */
}

/* Media Query para Desktop */
@media (min-width: 768px) {
    .weather-widget {
        display: flex; /* Exibe apenas em desktop */
    }
}

/* Você pode precisar ajustar o layout do .container ou .main-header para acomodar o widget */
/* Por exemplo, se o .container usa display: flex, adicione justify-content: space-between; ou similar */
.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribui os itens no header */
}

.main-header .container .logo {
    flex-grow: 0; /* Impede que o logo cresça */
}

.main-header .container .header-actions {
    flex-grow: 0; /* Impede que as ações do header cresçam */
}

.main-header .container .weather-widget {
    flex-grow: 1; /* Permite que o widget ocupe o espaço restante */
    justify-content: center; /* Centraliza o conteúdo do widget */
}

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

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

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

/* Header Styles */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: #1a1a1a;
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    width: 100%;
}

.top-bar .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-form {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter-form input {
    padding: 12px 20px;
    width: 600px;
    border-radius: 4px;
    border: none;
    outline: none;
}


.market-ticker {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.market-ticker-track {
    display: flex;
    gap: 30px;
    width: max-content;
}

.ticker-item {
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.positive {
    color: #00c853;
}

.negative {
    color: #ff1744;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.main-header {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.logo h1 {
    font-size: 32px;
    font-weight: 900;
    color: #c41e3a;
    letter-spacing: -1px;
}

.logo-accent {
    color: #1a1a1a;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 8px 15px;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid transparent;
}

.search-box:focus-within {
    background-color: #fff;
    border-color: #c41e3a;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.1);
}

/* Sugestões de Busca */
.search-suggestions {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 2000;
    display: none;
    overflow: hidden;
    border: 1px solid #eee;
}

.search-suggestion-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    flex-direction: column;
}

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

.search-suggestion-item:hover {
    background: #fff5f6;
}

.suggestion-title {
    font-size: 14px;
    color: #1a1a1a;
    font-weight: 500;
    text-align: left;
}

.suggestion-title strong {
    color: #c41e3a;
}

.suggestion-category {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    margin-top: 2px;
    text-align: left;
}

.search-suggestion-more {
    padding: 12px;
    text-align: center;
    font-size: 13px;
    color: #c41e3a;
    font-weight: 600;
    background: #f9f9f9;
    cursor: pointer;
}

.search-suggestion-more:hover {
    text-decoration: underline;
}

/* Modal de Resultados */
.search-results-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.search-results-content {
    background: #fff;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    position: relative;
    overflow-y: auto;
    padding: 45px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    scrollbar-width: thin;
    scrollbar-color: #c41e3a #f5f5f5;
}

.search-results-content::-webkit-scrollbar {
    width: 6px;
}

.search-results-content::-webkit-scrollbar-thumb {
    background: #c41e3a;
    border-radius: 10px;
}

.search-results-header {
    margin-bottom: 35px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
    text-align: left;
    position: sticky;
    top: -45px;
    background: #fff;
    z-index: 10;
    margin-top: -10px;
}

.search-results-header h2 {
    font-size: 28px;
    color: #1a1a1a;
    font-weight: 800;
}

.search-results-header h2 span {
    color: #c41e3a;
}

.results-count {
    font-size: 15px;
    color: #666;
    margin-top: 8px;
    font-weight: 500;
}

.search-results-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #f8f8f8;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.search-results-close:hover {
    background: #c41e3a;
    color: #fff;
    transform: rotate(90deg);
}

.search-result-item {
    margin-bottom: 30px;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    text-align: left;
    transition: all 0.3s ease;
    background: #fff;
}

.search-result-item:hover {
    border-color: #c41e3a;
    box-shadow: 0 8px 20px rgba(196, 30, 58, 0.05);
    transform: translateY(-2px);
}

.search-result-item:last-child {
    margin-bottom: 0;
}

.result-category {
    font-size: 11px;
    color: #fff;
    background: #c41e3a;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: inline-block;
}

.search-result-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.search-result-item h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.search-result-item h3 a:hover {
    color: #c41e3a;
}

.result-description {
    color: #555;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-link {
    font-size: 14px;
    color: #c41e3a;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* Responsividade Pesquisa */
@media (max-width: 768px) {
    .search-results-content {
        padding: 25px;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .search-results-header h2 {
        font-size: 22px;
    }
    
    .search-results-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .search-result-item {
        padding: 15px;
    }
    
    .search-result-item h3 {
        font-size: 18px;
    }
    
    .result-description {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .search-suggestions {
        position: fixed;
        top: 225px;
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
        max-height: 60vh;
        overflow-y: auto;
    }

        .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
}

.no-results {
    text-align: center;
    padding: 50px 0;
}

.no-results i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    font-size: 14px;
}

.search-box {
    border-radius: 10px;
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 0px;
    transition: 0.3s ease;
    border: 1px solid #dcdcdc;
}

.search-box:focus-within {
    box-shadow: 0 0 0 2px rgba(196, 30, 58, 0.2);
}

.no-results p {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.search-box input {
    border: none;
    
    outline: none;
    padding: 20px 10px;
    font-size: 14px; 
    width: 320px;
    color: #333;
    border-radius: 10px 0px 0px 10px;
    background-color: #ffffff;
}

@media (max-width: 768px) {
    .search-box input {
        width: 100%; /* Ocupa todo o espaço disponível no mobile */
        font-size: 16px; /* Garante que não haverá zoom */
    }
}

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

.search-btn {
    background: #c41e3a;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 20px 20px;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 0px 5px 5px 0px;
}

.search-btn:hover {
    background: #a0182e;
    transform: scale(1.05);
}

    .mobile-search-container {
        padding: 10px 20px 20px;
        border-bottom: 1px solid #eee;
        margin-bottom: 10px;
    }



 .mobile-search-container .search-box {
    width: 100%;
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 30px;
    padding: 11px 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    

.mobile-search-container .search-box .search-btn {
    background: #c41e3a;
    border: none;
    color: #fff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 25px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.live-btn {
    background-color: #c41e3a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.live-btn:hover {
    background-color: #a01729;
}

/* Navigation */
.main-nav {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.desktop-nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .desktop-nav-list {
        overflow-x: auto;
    }
}

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

.nav-list::-webkit-scrollbar-thumb {
    background-color: #c41e3a;
    border-radius: 3px;
}

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

.nav-list li a:hover {
    background-color: #f5f5f5;
    color: #c41e3a;
}

/* Main Content */
.main-content {
    padding: 18px 0;
    margin-bottom: -40px;
}

/* Breaking News */
.breaking-news {
    background-color: #c41e3a;
    color: #fff;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}

.breaking-label {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    white-space: nowrap;
    background-color: #fff;
    color: #c41e3a;
    padding: 5px 15px;
    border-radius: 5px;
}

.breaking-slider {
    display: flex;
    gap: 40px;
    animation: breakingScroll 20s linear infinite;
}

.breaking-item {
    font-size: 14px;
    white-space: nowrap;
}

@keyframes breakingScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Top Featured Grid (3 columns) */
.top-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.featured-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.featured-image-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #c41e3a;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1;
}

.featured-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.featured-card-content {
    padding: 15px;
}

.featured-card-content h3 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 700;
}

.related-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    transition: background-color 0.3s ease;
}

.related-link:hover {
    background-color: #f0f0f0;
}

.link-icon {
    font-size: 10px;
    color: #c41e3a;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Secondary News Grid (3 columns with horizontal layout) */
.secondary-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.secondary-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.secondary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.secondary-card-layout {
    display: flex;
    gap: 12px;
    padding: 12px;
    align-items: flex-start;
}

.secondary-card-layout img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.secondary-card-content h4 {
    font-size: 14px;
    line-height: 1.4;
    color: #1a1a1a;
    font-weight: 600;
}

/* Third News Grid (3 columns with horizontal layout) */
.third-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.third-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.third-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.third-card-layout {
    display: flex;
    gap: 12px;
    padding: 12px;
    align-items: flex-start;
}

.third-card-layout img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    flex-shrink: 0;
}

.third-card-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.third-card-content h4 {
    font-size: 14px;
    line-height: 1.4;
    color: #1a1a1a;
    font-weight: 600;
}

.card-source {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.news-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.category-tag {
    display: inline-block;
    background-color: #c41e3a;
    color: #fff;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.4;
    color: #1a1a1a;
}

.news-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.news-time {
    font-size: 12px;
    color: #999;
}

/* Video Section */
.video-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #c41e3a;
    color: #1a1a1a;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.video-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.video-thumbnail {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img {
    border-radius: 0 !important;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(196, 30, 58, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    background-color: #c41e3a;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h4 {
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #1a1a1a;
}

/* Most Read Section */
.most-read-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

.most-read-list {
    list-style: none;
    counter-reset: item;
}

.most-read-list li {
    counter-increment: item;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    padding-left: 50px;
}

.most-read-list li:last-child {
    border-bottom: none;
}

.most-read-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background-color: #c41e3a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.most-read-list li a {
    color: #333;
    font-size: 15px;
    transition: color 0.3s ease;
}

.most-read-list li a:hover {
    color: #c41e3a;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #c41e3a, #a01729);
    color: #fff;
    padding: 50px 40px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 50px;
}

.newsletter-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.newsletter-section p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    font-size: 15px;
    text-align: center;
    outline: none;
}

.newsletter-form button {
    padding: 15px 40px;
    background-color: #c41e3a;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #333;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 30PX;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.newsletter-form input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0;
    flex-shrink: 0;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #c41e3a;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #ccc;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #c41e3a;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .top-featured-grid,
    .secondary-news-grid,
    .third-news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid,
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-header .header-actions .search-box {
        display: none !important;
    }

    .mobile-search-container {
        display: block !important;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .mobile-search-container .search-box {
        width: 100%;
        display: flex;
        border-radius: 10px;
        padding: 0px;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        border-bottom: 3px solid #c41e3a;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
        max-height: 64vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Barra de rolagem customizada para menu mobile */
    .nav-list::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-list::-webkit-scrollbar-track {
        background: #f5f5f5;
        border-radius: 10px;
    }
    
    .nav-list::-webkit-scrollbar-thumb {
        background: #c41e3a;
        border-radius: 10px;
    }
    
    .nav-list::-webkit-scrollbar-thumb:hover {
        background: #a01729;
    }
    
    /* Barra de rolagem para Firefox */
    .nav-list {
        scrollbar-width: thin;
        scrollbar-color: #c41e3a #f5f5f5;
    }

    .nav-list li {
        border-bottom: 1px solid #eee;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list li a {
        padding: 15px;
        width: 100%;
    }
    
    .header-actions {
        flex: 1;
        max-width: 300px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
        font-size: 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .main-header .container {
        gap: 10px;
    }
    
    .header-actions {
        flex: 1;
        max-width: 180px;
    }
    
    .search-box {
        padding: 6px 10px;
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
        font-size: 16px;
        padding: 0 5px;
    }
    
    .search-btn {
        font-size: 14px;
    }
    
    .live-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .news-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .secondary-card-layout,
    .third-card-layout {
        flex-direction: column;
    }
    
    .secondary-card-layout img,
    .third-card-layout img {
        width: 100%;
        height: 180px;
    }
}

/* Seção de Apoiadores */
.supporters-section {
    margin: 50px 0;
    padding: 40px 0;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.supporter-card {
    transition: all 0.3s ease;
}

.supporter-card:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Novo Layout de Postagens (Estilo Imagem) */
.category-post {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    background: transparent;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.category-post-title {
    font-size: 22px;
    color: #c41e3a;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.category-post-body {
    display: flex;
    gap: 25px;
}

.category-post-image-container {
    flex-shrink: 0;
    width: 200px;
}

.category-post-image-container img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.category-post-image-caption {
    font-size: 12px;
    color: #888;
    margin-top: 8px;
    text-align: center;
}

.category-post-content {
    flex: 1;
}

.category-post-meta {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.category-post-excerpt {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more-link {
    display: block;
    text-align: right;
    color: #c41e3a;
    font-weight: 600;
    font-size: 14px;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn.active {
    background: #c41e3a;
    color: #fff;
    border-color: #c41e3a;
}

.pagination-btn:hover:not(.active) {
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .category-post-body {
        flex-direction: column;
    }
    .category-post-image-container {
        width: 100%;
    }
    .category-post-image-container img {
        height: 200px;
    }
    .category-post-title {
        margin-top: 15px;
    }
}

/* Novos Estilos Articles Section (Inspirado em Vila de São Jorge) */
.articles-section {
    padding: 1rem 0;
    background-color: #ffffff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 0;
    width: 100%;
}

.article-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.article-card:nth-child(1) { grid-column: span 1; grid-row: span 1; }
.article-card:nth-child(2) { grid-column: span 1; grid-row: span 1; }
.article-card:nth-child(3) { grid-column: span 1; grid-row: span 1; }
.article-card:nth-child(4) { grid-column: span 1; grid-row: span 1; }
.article-card:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.article-card:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.article-card:nth-child(7) { grid-column: span 1; grid-row: span 1; }
.article-card:nth-child(8) { grid-column: span 2; grid-row: span 1; }
.article-card:nth-child(9) { grid-column: span 1; grid-row: span 1; }

.article-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

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

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

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 100%);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background 0.3s ease;
}

.article-card:hover .article-overlay {
    background: linear-gradient(to top, rgba(196, 30, 58, 0.85) 0%, rgba(196, 30, 58, 0.2) 100%);
}

.article-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.article-overlay p {
    font-size: 0.85rem;
    color: #f0f0f0;
    line-height: 1.4;
    display: none;
}

.article-card:hover .article-overlay p {
    display: block;
}

@media (max-width: 1200px) {
    .articles-grid { grid-template-columns: repeat(3, 1fr); }
    .article-card:nth-child(5), .article-card:nth-child(6), .article-card:nth-child(8) { grid-column: span 1; }
}

@media (max-width: 768px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .articles-grid { grid-template-columns: 1fr; }
    .article-card { grid-column: span 1 !important; grid-row: span 1 !important; }
}

/* Carrossel de Apoiadores */
.supporters-section {
    overflow: hidden;
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #eee;
}

#supporters-carousel {
    position: relative;
    width: 100%;
    display: flex;
}

.supporters-track {
    display: flex;
    width: calc(250px * 10);
    animation: scrollSupporters 20s linear infinite;
}

.supporter-item {
    width: 250px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.supporter-item img {
    max-width: 150px;
    transition: all 0.3s ease;
}

.supporter-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollSupporters {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 5)); }
}

/* Redes Sociais no Rodapé */
.footer-social {
    margin-top: 20px;
}

.footer-social h5 {
    font-size: 14px;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    font-size: 18px;
}

.footer-social-links a,
.footer-social-links a.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-social-links a:hover,
.footer-social-links a.social-link:hover {
    opacity: 1;
    background-color: #c41e3a;
    transform: translateY(-3px);
}

.footer-social-links a i {
    font-size: 16px;
}

/* Import FontAwesome para ícones se não houver */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Responsivo para Apoiadores */
@media (max-width: 768px) {
    .supporters-track {
        animation: scrollSupporters 15s linear infinite;
    }
    
    .supporter-item {
        width: 200px;
    }
    
    .supporter-item img {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .supporter-item {
        width: 150px;
        padding: 0 10px;
    }
    
    .supporter-item img {
        max-width: 100px;
    }
    
    .footer-social-links {
        gap: 10px;
        font-size: 16px;
    }
    
    .footer-social-links a,
    .footer-social-links a.social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-social-links a i {
        font-size: 14px;
    }
}

:root {
  --site-red: #c41e3a;
  --site-white: #ffffff;
}


/* Botões flutuantes */
.floating-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: var(--site-red);
  color: var(--site-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 16px;
}

.floating-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 150px;
    right: 40px;
    background-color: #c41e3a;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

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

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

/* Estilos para links em títulos e imagens */
.category-post-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-post-title:hover {
    color: #c41e3a;
    transition: color 0.3s ease;
}

.category-post-image-container img {
    transition: transform 0.3s ease;
}

.category-post-image-container:hover img {
    transform: scale(1.02);
}

/* Estilos para a tag do autor nas páginas de categoria */
.category-post-author {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.author-label {
    font-weight: bold;
    margin-right: 5px;
}

.author-link {
    color: #c41e3a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.author-link:hover {
    color: #c41e3a;
    text-decoration: underline;
}

/* G1 Style Layout for Family Law Category */
.g1-style-container .category-post {
    display: flex;
    flex-direction: row;
    padding: 24px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
    gap: 24px;
    align-items: flex-start;
}

.g1-style-container .category-post-image-container {
    width: 280px;
    order: 2; /* Image on the right for desktop like G1 */
}

.g1-style-container .category-post-image-container img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.g1-style-container .category-post-content {
    flex: 1;
    order: 1;
}

.g1-style-container .category-post-title {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #c41e3a; /* G1 uses specific colors per category, keeping project red */
    line-height: 1.2;
    margin-bottom: 8px;
    margin-top: 0;
}

.g1-style-container .category-post-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.g1-style-container .category-post-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 0;
}

/* Custom layout for Supporters */
.supporter-g1-style {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 30px !important;
}

.supporter-g1-style .category-post-image-container {
    width: 200px !important;
    order: 1 !important; /* Image on the left */
    flex-shrink: 0;
}

.supporter-g1-style .category-post-content {
    order: 2 !important; /* Content on the right */
    flex: 1;
}

.supporter-g1-style .category-post-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
    padding: 10px;
    border: 1px solid #eee;
}

/* Share Buttons for Articles */
.share-buttons {
    display: flex;
    gap: 12px;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.share-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #666;
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #1da1f2; }
.share-btn.whatsapp { background-color: #25d366; }
.share-btn.linkedin { background-color: #0077b5; }



.g1-style-container .read-more-link {
    display: none; /* G1 titles are the main links */
}

@media (max-width: 768px) {
    .g1-style-container .category-post {
        flex-direction: column;
        padding: 16px 0;
    }
    
    .g1-style-container .category-post-image-container {
        width: 100%;
        order: 1;
        margin-bottom: 12px;
    }
    
    .g1-style-container .category-post-image-container img {
        height: 110px;
        width: 350px;
    }
    
    .g1-style-container .category-post-content {
        order: 2;
    }
    
    .g1-style-container .category-post-title {
        font-size: 20px;
    }
}

/* Sidebar "Viu isso?" Styles */
.content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.main-column {
    flex: 1;
}

.sidebar-column {
    width: 320px;
    flex-shrink: 0;
}

.viu-isso-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-top:10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.viu-isso-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.viu-isso-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.viu-isso-item-title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: #c41e3a;
    line-height: 1.3;
    margin: 0;
}

.viu-isso-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.viu-isso-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 700;
    color: #c41e3a;
    cursor: pointer;
}

.viu-isso-footer i {
    font-size: 12px;
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar-column {
        width: 100%;
        margin-top: 30px;
    }
}

/* Latest Posts Section (Viu isso?) */
.latest-posts-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    margin: 40px 0;
    border-radius: 12px;
}

.latest-posts-section .section-title {
    text-align: center;
    color: #c41e3a;
    font-size: 28px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.latest-posts-section .section-subtitle {
    text-align: center;
    color: #333;
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 400;
}

.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.latest-post-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #c41e3a;
}

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

.latest-post-content {
    padding: 25px;
}

.post-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #c41e3a;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.latest-post-content h4 {
    font-size: 18px;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.latest-post-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: #c41e3a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 10px;
}



/* Banners */
.banner-container img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.banner-container img:hover {
    transform: scale(1.01);
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none;
    }
    .mobile-only {
        display: block;
    }
}

/* Author Tags Styles */
.post-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.author-tag {
    font-size: 0.8rem;
}

.author-link {
    color: #c6a355; /* primary-gold */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.author-link:hover {
    color: #a68a44; /* dark-gold */
    text-decoration: underline;
}

.author-posts-section {
    padding: 60px 0;
    background: #fff;
}

#author-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.latest-post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.latest-post-card:hover {
    transform: translateY(-5px);
}

.latest-post-content {
    padding: 20px;
}

.post-category {
    background: #c41e3a;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    color: #c41e3a;
    font-weight: 600;
    text-decoration: none;
}

/* Estilos para Compartilhamento Social */
.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.share-buttons {
    display: flex;
    gap: 8px;
}

.share-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
    cursor: pointer;
}

.share-icon:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.share-icon.fb { background-color: #3b5998; }
.share-icon.wa { background-color: #25d366; }
.share-icon.ig { background-color: #e4405f; }
.share-icon.ln { background-color: #0077b5; }
.share-icon.link-copy { background-color: #666; }

/* Estilos para Banner no Meio das Publicações */
.banner-wrapper-full {
    grid-column: 1 / -1;
    width: 100%;
    margin: 20px 0;
}

.middle-publication-banner {
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.banner-label {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.desktop-banner-on-mobile {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

/* Responsividade para Banners */
@media (max-width: 768px) {
    .latest-posts-grid {
        display: flex;
        flex-direction: column;
    }
    
    .middle-publication-banner img {
        width: 100%; /* Força o banner desktop a ocupar a largura total no mobile */
    }
}

/* Estilos para Paginação e Categorias */
.category-post-meta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.category-post-meta-container .share-buttons {
    margin-top: 0;
}

.category-post-meta-container .share-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

/* Animação do Menu Hambúrguer */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Ajustes de Responsividade Mobile - Fevereiro 2026 */
@media (max-width: 768px) {
    /* Redução do H1 das Categorias */
    .category-header h2 {
        font-size: 1.8rem !important;
        margin-bottom: 8px;
    }
    
    .category-header p {
        font-size: 0.95rem !important;
    }

    /* Redução do Título do Apoiador */
    .adv-hero h1 {
        font-size: 2rem !important;
        letter-spacing: 1px !important;
    }
    
    .adv-hero p {
        font-size: 0.9rem !important;
        letter-spacing: 2px !important;
    }

    /* Otimização dos Metadados das Postagens */
    .post-title {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }

    .post-meta {
        flex-wrap: wrap;
        gap: 10px 15px !important;
        font-size: 0.8rem !important;
        padding-bottom: 15px !important;
        margin-bottom: 20px !important;
    }
    
    .post-meta span i {
        font-size: 0.75rem;
    }

    /* Ajuste para o conteúdo do artigo em mobile */
    .post-content {
        font-size: 1.05rem !important;
    }
    
    .post-content h3 {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 480px) {
    .category-header h2 {
        font-size: 1.5rem !important;
    }
    
    .adv-hero h1 {
        font-size: 1.6rem !important;
    }
    
    .post-title {
        font-size: 1.5rem !important;
    }
}

/* Estilos para Cabeçalho de Categoria */
.category-title {
    font-size: 2.5rem;
    color: #c41e3a;
    font-weight: 800;
}

.category-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* Melhoria dos Metadados das Postagens (Geral) */
.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.post-meta i {
    color: #c41e3a;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .category-title {
        font-size: 1.8rem;
    }
    
    .category-subtitle {
        font-size: 0.95rem;
    }

    .post-meta {
        gap: 10px 15px;
        flex-wrap: wrap;
        padding-bottom: 15px;
    }
    
    .post-meta span {
        font-size: 0.8rem;
    }
}

/* Otimização Mobile Página de Contato */
@media (max-width: 768px) {
    .contact-container {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    
    #laura-chat-container {
        height: 550px !important;
        border-radius: 12px !important;
    }
    
    .laura-header {
        padding: 12px 15px !important;
    }
    
    .laura-avatar {
        width: 35px !important;
        height: 35px !important;
        font-size: 18px !important;
    }
    
    .laura-info h4 {
        font-size: 15px !important;
    }
    
    .msg {
        font-size: 13px !important;
        max-width: 90% !important;
    }
    
    .laura-opt-btn {
        padding: 8px 15px !important;
        font-size: 13px !important;
    }
    
    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        font-size: 14px !important;
    }
}

/* Dropdown Menu Styles */
.desktop-nav-list .nav-item-dropdown {
    position: relative;
}

.desktop-nav-list .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 1000;
    border-top: 3px solid #c41e3a;
    pointer-events: none;
}

.desktop-nav-list .nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.desktop-nav-list .dropdown-menu li {
    width: 100%;
    border-bottom: none !important;
}

.desktop-nav-list .dropdown-menu li a {
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #333 !important;
    display: block !important;
    white-space: nowrap;
    border-radius: 0 !important;
}

.desktop-nav-list .dropdown-menu li a:hover {
    background-color: #f5f5f5 !important;
    color: #c41e3a !important;
}

/* Mobile Dropdown Adjustments */
@media (max-width: 768px) {
    .desktop-nav-list .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        transform: none;
        padding-left: 20px;
        display: none;
        border-top: none;
        pointer-events: auto;
    }

    .desktop-nav-list .nav-item-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .desktop-nav-list .nav-item-dropdown .dropdown-toggle {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
}


/* ===== COOKIE CONSENT BANNER ===== */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 4px solid #c41e3a;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #c41e3a;
    margin-bottom: 8px;
}

.cookie-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    max-width: 500px;
}

.cookie-text a {
    color: #c41e3a;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.cookie-accept {
    background: #c41e3a;
    color: #fff;
}

.cookie-accept:hover {
    background: #a01729;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.cookie-reject {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-reject:hover {
    background: #e8e8e8;
}

.cookie-link {
    color: #c41e3a;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cookie-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }

    .cookie-text {
        text-align: center;
    }

    .cookie-text p {
        max-width: 100%;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ===== SUPPORTER CONSENT MODAL ===== */
.supporter-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideOutUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.supporter-consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.supporter-consent-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.consent-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #c41e3a 0%, #a01729 100%);
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.consent-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.consent-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.consent-close:hover {
    transform: rotate(90deg);
}

.consent-body {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
}

.consent-intro {
    margin-bottom: 25px;
}

.consent-intro p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.consent-intro strong {
    color: #c41e3a;
}

.consent-items {
    margin: 25px 0;
}

.consent-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #c41e3a;
    transition: all 0.3s ease;
}

.consent-item:hover {
    background: #f0f0f0;
}

.consent-checkbox-wrapper {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.consent-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #c41e3a;
    flex-shrink: 0;
}

.consent-checkbox-wrapper label {
    cursor: pointer;
    flex: 1;
}

.consent-checkbox-wrapper label strong {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.consent-checkbox-wrapper label p {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin: 0;
}

.consent-checkbox-wrapper label a {
    color: #c41e3a;
    text-decoration: none;
    font-weight: 600;
}

.consent-checkbox-wrapper label a:hover {
    text-decoration: underline;
}

.consent-legal-note {
    margin-top: 25px;
    padding: 15px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
}

.consent-legal-note p {
    font-size: 12px;
    color: #856404;
    line-height: 1.6;
    margin: 0;
}

.consent-footer {
    display: flex;
    gap: 12px;
    padding: 20px 25px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 0 0 12px 12px;
}

.consent-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.consent-cancel {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.consent-cancel:hover {
    background: #e8e8e8;
}

.consent-accept {
    background: #c41e3a;
    color: #fff;
}

.consent-accept:hover:not(:disabled) {
    background: #a01729;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.consent-accept:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ===== SUCCESS MESSAGE ===== */
.consent-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #fff;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    z-index: 10001;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.success-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #28a745;
    font-weight: 600;
    font-size: 14px;
}

.success-content i {
    font-size: 20px;
}

/* ===== SUPPORTER CONSENT BUTTON ===== */
.supporter-consent-btn {
    background: #c41e3a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.supporter-consent-btn:hover {
    background: #a01729;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .supporter-consent-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .consent-header {
        padding: 20px;
    }

    .consent-header h2 {
        font-size: 20px;
    }

    .consent-body {
        padding: 20px;
    }

    .consent-footer {
        flex-direction: column;
        padding: 15px 20px;
    }

    .consent-btn {
        width: 100%;
    }

    .consent-success-message {
        left: 20px;
        right: 20px;
        top: auto;
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn,
    .cookie-link {
        width: 100%;
    }

    .consent-checkbox-wrapper {
        gap: 10px;
    }

    .consent-item {
        padding: 12px;
    }
}
