/* ============================================================
   ARTIGOS / INSIGHTS — IDEX Home
   Prefixo: .artigos-*
   ============================================================ */

.artigos {
    background: #d8d8d8;
    padding: 22px 54px 62px;
}

.artigos__container {
    max-width: 1280px;
    margin: 0 auto;
}

.artigos__titulo {
    font-size: 14px;
    font-weight: 800;
    color: #0a0a0a;
    text-align: left;
    margin: 0 0 18px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Grid */
.artigos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
.artigos__card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.artigos__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Imagem */
.artigos__card-link {
    display: block;
    overflow: hidden;
}

.artigos__card-img {
    width: 100%;
    height: 188px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.artigos__card:hover .artigos__card-img {
    transform: scale(1.04);
}

/* Body */
.artigos__card-body {
    min-height: 188px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

/* Meta */
.artigos__card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.artigos__card-categoria {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #010101;
}

.artigos__card-data {
    font-size: 8px;
    color: #999;
}

/* Título */
.artigos__card-titulo {
    font-size: 26px;
    font-weight: 400;
    line-height: 32px;
    margin: 0;
}

.artigos__card--fallback {
    min-height: 122px;
}

.artigos__card-titulo-link {
    color: #0080ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.artigos__card-titulo-link:hover {
    color: #0057ff;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
    .artigos__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .artigos {
        padding: 56px 20px;
    }

    .artigos__grid {
        grid-template-columns: 1fr;
    }
}