body {
    background-color: #f9f9ff;
}

main {
    padding: 4rem 2rem;
}

h1 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: rgb(6, 28, 118);
}

.subtitulo {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 1.05rem;
    color: rgba(6, 28, 118, 0.7);
}

/* CONTAINER */
.artigos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    max-width: 1200px;
    margin: auto;
    flex-direction: column;
    height: auto;
}

.artigos {
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(6, 28, 118, 0.15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #e8edff, #ffffff);
    height: fit-content;
}
.artigos img {
    width: 100%;
}

.badge {
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(6, 28, 118, 0.1);
    color: rgb(6, 28, 118);
    padding: 0.4rem 0.9rem;
    border-radius: 30px;
}

h2 {
    margin-top: 1rem;
    color: rgb(6, 28, 118);
}

/* BOTÕES */
.botoes {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.6rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid rgba(6, 28, 118, 0.55);
    color: rgb(6, 28, 118);
    background-color: whitesmoke;
    transition: all 0.25s ease;
}

.btn:hover {
    background-color: rgb(6, 28, 118);
    color: white;
    transform: translateY(-2px);
}

.descricao {
    margin: 1.5rem 0;
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 700px) {
    main {
        padding: 2rem 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .subtitulo {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .artigos-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .artigos {
        padding: 1.5rem;
        border-radius: 15px;
    }

    h2 {
        font-size: 1.3rem;
    }

    .descricao {
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 1rem 0;
    }

    .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }

    .botoes {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }
}