/* Estilo Geral */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9; /* Fundo claro */
    color: #333;
    margin: 0;
    padding: 0;
}

.artigos-secao {
    padding: 50px 20px;
    background-color: #f4f4f4;
    margin-top: 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.titulo-artigos {
    text-align: center;
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 40px;
    color: #7a92aa;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Estilo para os cards de artigos */
.row.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.col-md-12 {
    width: 100%; /* Default para 1 artigo por linha */
    padding: 0;
}

.artigo-card {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    padding: 0;
    width: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Imagem do artigo */
.card img {
    width: 100%;
    height: 200x;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.1); /* Efeito de zoom na imagem */
}

/* Título do artigo */
.card h2 {
    text-align: center;
    font-size: 1.8em;
    color: #f39c12;
    margin: 20px 0;
    padding: 0 20px;
}

/* Descrição do artigo */
.card p {
    text-align: justify;
    line-height: 1.6;
    font-size: 1.1em;
    margin: 0 20px 20px 20px;
    color: #666;
}

/* Link "Leia Mais" */
.card a {
    display: block;
    text-align: center;
    color: #fff;
    background-color: #3498db;
    font-weight: bold;
    text-decoration: none;
    padding: 15px;
    margin: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.card a:hover {
    background-color: #2980b9;
}

/* Responsividade para dispositivos médios e pequenos */
@media (min-width: 992px) {
    .col-md-12 {
        width: 45%; /* Dois artigos por linha em telas grandes */
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .col-md-12 {
        width: 45%; /* Dois artigos por linha em tablets */
    }
}

@media (max-width: 767px) {
    .col-md-12 {
        width: 100%; /* Um artigo por linha em dispositivos móveis */
    }
}

/* Animação de transição */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.6s ease-out;
}
