@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Padding inferior para compensar banner flutuante (h-20 = 80px = pb-20) */
    padding-bottom: 80px;
}
.btn-primary {
    background: linear-gradient(90deg, #3B82F6 0%, #1D4ED8 100%);
    box-shadow: 0 4px 10px rgba(59,130,246,.2);
    transition: transform .3s, box-shadow .3s, filter .3s;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    color: white;
    font-weight: 600;
    text-decoration: none;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(59,130,246,.35);
    filter: brightness(1.1);
}

/* --- Estilos Atualizados para o Carrossel Banner --- */
.featured-banner-slide {
    position: relative;
    width: 100%;
    height: 45vh;
    min-height: 300px;
    max-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
.featured-banner-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 40%, transparent 100%);
    z-index: 1;
}
.featured-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.featured-title {
    color: white;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 700;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.featured-button {
     box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}
.featured-button i {
    margin-left: 0.5rem;
    font-size: 0.8em;
}
@media (max-width: 768px) {
    .featured-content-wrapper {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .featured-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    .featured-button {
         align-self: flex-start;
    }
    .featured-banner-slide {
        height: 50vh;
        min-height: 280px;
    }
}
/* --- Fim dos Estilos do Banner --- */

/* Estilos Swiper (AJUSTADOS) */
.blog-featured-swiper .swiper-button-next,
.blog-featured-swiper .swiper-button-prev {
    color: #FFF;
    background: rgba(0,0,0,0.3);
    width: 44px;
    height: 44px;
    transition: background .3s;
    top: 50%;
    transform: translateY(-50%);
}
.blog-featured-swiper .swiper-button-next:hover,
.blog-featured-swiper .swiper-button-prev:hover {
     background: rgba(0,0,0,0.6);
}
.blog-featured-swiper .swiper-button-next::after,
.blog-featured-swiper .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
}
.blog-featured-swiper .swiper-pagination {
    position: absolute;
    bottom: 15px !important;
    left: 50%;
    transform: translateX(-50%);
    width: auto !important;
    z-index: 10;
}
.blog-featured-swiper .swiper-pagination-bullet {
    background: rgba(59, 130, 246, 0.4);
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: background-color 0.3s;
}
.blog-featured-swiper .swiper-pagination-bullet-active {
    background: #3B82F6;
}

/* Estilos do Grid (mantidos) */
.article-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}
.clear-filter-button {
    display: inline-block; margin-left: 1rem; font-size: 0.875rem; color: #4b5563; background-color: #f3f4f6; padding: 0.25rem 0.75rem; border-radius: 9999px; border: 1px solid #d1d5db; transition: background-color 0.2s, color 0.2s;
}
.clear-filter-button:hover { background-color: #e5e7eb; color: #1f2937; }

/* Para garantir que line-clamp funcione */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
/* Estilo para estrelas de exibição */
.rating-stars i {
     margin-right: 2px; /* Pequeno espaço entre estrelas */
}
