/* ========================================
   BIBLIOTECA DE CONTEÚDO - ESTILOS ESPECÍFICOS
   ======================================== */

/* Variáveis CSS */
:root {
    --cream-light: #f7f6fc;
    --cream-light-hover: #efeef8;
    --brown-dark: #4a4780;
    --brown-dark-light: #6b679e;
    --bronze: #807dc2;
    --bronze-light: #9a97d4;
    --bronze-dark: #6663a8;
    --white: #FFFFFF;
    --gray-light: #e5e5e5;
    --gray-medium: #CCCCCC;
    --shadow: rgba(128, 125, 194, .1);
    --shadow-strong: rgba(128, 125, 194, .15);
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

/* Reset e Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--brown-dark);
    background-color: var(--cream-light);
}

.container,
.container-fluid,
.container-xxl {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.container {
    max-width: 1200px;
}

.container-xxl {
    max-width: 1320px;
}

.main-content {
    padding-top: 80px; /* Compensar navbar fixa */
}

/* Sistema de Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-2,
.col-md-8 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
    
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

/* Estilos de Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--bronze), var(--bronze-light));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-strong);
}

.btn-secondary {
    background: var(--white);
    color: var(--bronze);
    border: 2px solid var(--bronze);
}

.btn-secondary:hover {
    background: var(--bronze);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--bronze);
    border: 2px solid var(--bronze);
}

.btn-outline:hover {
    background: var(--bronze);
    color: var(--white);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Utilitários de Espaçamento */
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }

/* Utilitários de Display */
.d-block { display: block !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* Utilitários de Posição */
.position-sticky { position: sticky !important; }
.sticky-container { 
    position: sticky !important;
    top: 100px !important;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Utilitários de Imagem */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Utilitários de Texto */
.text-primary { color: var(--bronze) !important; }
.text-white { color: white !important; }
.fw-bold { font-weight: 700 !important; }
.list-unstyled {
    list-style: none;
    padding-left: 0;
}

/* Utilitários de Borda */
.border-start { border-left: 1px solid var(--gray-light) !important; }
.border-4 { border-width: 4px !important; }
.border-primary { border-color: var(--bronze) !important; }
.rounded { border-radius: 8px !important; }
.shadow {
    box-shadow: 0 0.5rem 1rem var(--shadow) !important;
}

/* Utilitários de Background */
.bg-white { background-color: var(--white) !important; }
.bg-artigo { background-color: var(--cream-light) !important; }

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-dark) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.page-header .display-1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
}

/* Article Content */
article {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem var(--shadow);
}

article h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

article h2.text-primary {
    color: var(--bronze) !important;
}

article p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

article img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem auto;
    display: block;
}

/* Aside / Sidebar */
aside {
    background: var(--cream-light);
    border-radius: 8px;
}

aside h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

aside ul {
    list-style: none;
    padding: 0;
}

aside ul li {
    margin-bottom: 0.5rem;
}

aside ul li a {
    color: var(--bronze);
    text-decoration: none;
    transition: var(--transition);
}

aside ul li a:hover {
    color: var(--bronze-dark);
    padding-left: 5px;
}

/* ========================================
   HERO SECTION DOS ARTIGOS
   ======================================== */
.hero-articles {
    background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-dark) 100%);
    color: white;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero-articles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="articles-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23articles-grid)"/></svg>');
    opacity: 0.3;
}

.articles-header {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.articles-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.articles-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.articles-title .highlight {
    color: var(--bronze-light);
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.articles-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ========================================
   ESTATÍSTICAS DOS ARTIGOS
   ======================================== */
.articles-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bronze-light);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* ========================================
   SEÇÃO DE FILTROS
   ======================================== */
.filters-section {
    background: var(--cream-light);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-medium);
}

.filters-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

/* Busca */
.search-filter {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.search-input:focus {
    outline: none;
    border-color: var(--bronze);
    box-shadow: 0 0 0 3px var(--shadow);
}

.clear-search {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--bronze-dark);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    transition: var(--transition);
}

.clear-search:hover {
    background: var(--cream-light);
    color: var(--brown-dark);
}

/* Filtros Select */
.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--bronze);
    box-shadow: 0 0 0 3px var(--shadow);
}

/* Botão Limpar Filtros */
.clear-filters-btn {
    background: var(--bronze-dark);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.clear-filters-btn:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
}

/* Informações dos Resultados */
.results-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--bronze-dark);
}

#resultsCount {
    font-weight: 600;
    color: var(--bronze);
}

.active-filters {
    font-size: 0.9rem;
    color: var(--bronze-dark);
}

/* ========================================
   GRID DE ARTIGOS
   ======================================== */
.articles-grid-section {
    padding: 3rem 0;
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* ========================================
   CARDS DOS ARTIGOS
   ======================================== */
.article-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-medium);
    opacity: 0;
    transform: translateY(30px);
}

.article-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow-strong);
    border-color: var(--bronze-light);
}

/* Imagem do Artigo */
.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.article-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.article-category {
    background: var(--bronze);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Conteúdo do Artigo */
.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--bronze-dark);
}

.article-region,
.article-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.article-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brown-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    color: var(--bronze-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ações do Artigo */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.article-link {
    flex: 1;
    text-decoration: none;
    text-align: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    background: var(--bronze);
    color: white;
}

.article-link:hover {
    background: var(--bronze-dark);
    transform: translateY(-2px);
}

.share-btn {
    background: var(--cream-light);
    border: 1px solid var(--gray-medium);
    color: var(--brown-dark);
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.share-btn:hover {
    background: var(--bronze-light);
    color: white;
    border-color: var(--bronze-light);
    transform: scale(1.1);
}

/* ========================================
   MENSAGEM SEM RESULTADOS
   ======================================== */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--cream-light);
    border-radius: 15px;
    margin: 2rem 0;
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    font-size: 1.8rem;
    color: var(--brown-dark);
    margin-bottom: 0.75rem;
}

.no-results p {
    color: var(--bronze-dark);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ========================================
   BOTÃO CARREGAR MAIS
   ======================================== */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: var(--transition);
    background: var(--bronze);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--shadow);
    background: var(--bronze-dark);
}

/* ========================================
   SEÇÃO DE INFORMAÇÕES
   ======================================== */
.articles-info {
    background: var(--cream-light);
    padding: 3rem 0;
    border-top: 1px solid var(--gray-medium);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow);
    border: 1px solid var(--gray-medium);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-strong);
}

.info-card h3 {
    font-size: 1.4rem;
    color: var(--brown-dark);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--bronze-dark);
    line-height: 1.6;
}

/* ========================================
   ANIMAÇÕES ESPECÍFICAS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-number.counting {
    animation: countUp 0.6s ease-out;
}

/* Animações escalonadas para cards */
.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   RESPONSIVIDADE
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
    .articles-title {
        font-size: 2.8rem;
    }
    
    .articles-description {
        font-size: 1.1rem;
    }
    
    .articles-stats {
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filters-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .article-content {
        padding: 1.25rem;
    }
    
    .info-grid {
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero-articles {
        padding: 3rem 0 2rem;
    }
    
    .articles-title {
        font-size: 2.2rem;
    }
    
    .articles-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .articles-stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .stat-item {
        padding: 0.75rem 1rem;
        min-width: 150px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .filters-section {
        padding: 1.5rem 0;
    }
    
    .search-input,
    .filter-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .clear-filters-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .article-image {
        height: 180px;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-title {
        font-size: 1.2rem;
    }
    
    .article-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .article-link {
        width: 100%;
    }
    
    .share-btn {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1rem;
    }
}

/* ========================================
   ESTADOS DE CARREGAMENTO
   ======================================== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--bronze);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   ACESSIBILIDADE
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus states para acessibilidade */
.search-input:focus,
.filter-select:focus,
.article-link:focus,
.share-btn:focus,
.clear-filters-btn:focus,
.load-more-btn:focus {
    outline: 2px solid var(--bronze);
    outline-offset: 2px;
}

/* ========================================
   ARTIGO INDIVIDUAL
   ======================================== */
.single-article {
    padding: 2rem 0;
    background: var(--white);
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--bronze-dark);
}

.breadcrumb a {
    color: var(--bronze);
    text-decoration: none;
}

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

.article-header {
    margin-bottom: 3rem;
}

.article-meta-single {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category-single {
    background: var(--bronze);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.article-region-single,
.article-date-single {
    color: var(--bronze-dark);
    font-size: 0.9rem;
}

.article-title-single {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brown-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.article-image-single {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.article-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content-single {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.article-text {
    line-height: 1.8;
    color: var(--bronze-dark);
}

.article-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--brown-dark);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--cream-light);
    border-radius: 10px;
    border-left: 4px solid var(--bronze);
}

.article-text h2 {
    color: var(--brown-dark);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.article-text h3 {
    color: var(--bronze);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.article-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-text li {
    margin-bottom: 0.5rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin: 2rem 0;
}

.cta-section h3 {
    color: white !important;
    margin-bottom: 1rem;
}

.cta-section .btn {
    background: white;
    color: var(--bronze);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition);
}

.cta-section .btn:hover {
    background: var(--cream-light);
    transform: translateY(-2px);
}

.article-sidebar {
    position: sticky;
    top: 2rem;
}

.related-articles {
    background: var(--cream-light);
    padding: 2rem;
    border-radius: 15px;
}

.related-articles h4 {
    color: var(--brown-dark);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.related-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-medium);
}

.related-item:last-of-type {
    border-bottom: none;
    margin-bottom: 1.5rem;
}

.related-item a {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: var(--bronze-dark);
    transition: var(--transition);
}

.related-item a:hover {
    color: var(--bronze);
}

.related-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.related-item span {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsividade para artigo individual */
@media (max-width: 768px) {
    .article-title-single {
        font-size: 2rem;
    }
    
    .article-content-single {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-image-single {
        height: 250px;
    }
    
    .article-meta-single {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .article-title-single {
        font-size: 1.8rem;
    }
    
    .article-lead {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .cta-section {
        padding: 1.5rem;
    }
    
    .related-articles {
        padding: 1.5rem;
    }
}

/* ========================================
   MODO ESCURO (Opcional)
   ======================================== */
@media (prefers-color-scheme: dark) {
    .filters-section {
        background: #1a1a1a;
    }
    
    .articles-grid-section {
        background: #2d2d2d;
    }
    
    .article-card {
        background: #3d3d3d;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .article-title {
        color: #ffffff;
    }
    
    .search-input,
    .filter-select {
        background: #3d3d3d;
        border-color: #555;
        color: #e0e0e0;
    }
    
    .info-card {
        background: #3d3d3d;
        border-color: #555;
    }
    
    .info-card h3 {
        color: #ffffff;
    }
    
    .info-card p {
        color: #b0b0b0;
    }
}
