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

.section-title {
    color: #ff6b6b;
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
}

/* Estilos para o Card Recente */
.card-recente {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    transition: all 0.2s ease;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-decoration: none;
}

.card-recente:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-recente__imagem {
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-recente__conteudo {
    flex: 1;
    min-width: 0; /* Importante para evitar overflow */
}

.card-recente__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.card-recente__data {
    color: #666;
    font-size: 0.8rem;
    white-space: nowrap;
}

.card-recente__tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    background-color: #f0f0f0;
    color: #666;
    white-space: nowrap;
}

.card-recente__titulo {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Estilos para Notícias */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    display: flex;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 150px;
}

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

.news-image {
    width: 200px;
    height: 100%; /* Altura 100% para preencher todo o card */
    object-fit: cover;
    flex-shrink: 0; /* Impede que a imagem encolha */
}

.news-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-title {
    color: #2d3436;
    font-size: 1.1em;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    color: #ff6b6b;
    font-size: 0.8em;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.badge.tag-noticia {
    font-size: 0.75em;
    padding: 4px 8px;
    display: flex;
    align-items: center;
}

.d-flex.align-items-center {
    margin-bottom: 8px;
}

.read-more {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1em;
    margin-top: auto;
}

.read-more:hover {
    color: #ff4757;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card {
        flex-direction: column;
        height: auto;
    }

    .news-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .news-content {
        padding: 20px;
    }

    .news-title {
        font-size: 1.3em;
        margin-bottom: 10px;
        -webkit-line-clamp: none;
    }

    .d-flex.align-items-center {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .news-date {
        font-size: 0.9em;
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }

    .badge.tag-noticia {
        font-size: 0.8em;
        padding: 5px 10px;
        display: flex;
        align-items: center;
    }

    .read-more {
        font-size: 0.9em;
        margin-top: 15px;
    }

    .section-title {
        font-size: 1.8em;
    }
}