.article-rag {
    --rag-navy:  #0e2c47;
    --rag-muted: #6e757c;

    box-sizing: border-box;
    margin: 0 0 24px;
    font-family: Inter, sans-serif;
}

.article-rag__heading {
    margin: 0 0 16px;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--rag-navy);
}

.article-rag__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.article-rag__card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border: 1px solid #d4eff9;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
a.article-rag__card:hover {
    box-shadow: 0 6px 20px rgba(14, 44, 71, 0.08);
    transform: translateY(-2px);
}

.article-rag__banner {
    display: block;
    flex: 0 0 110px;
    width: 110px;
    align-self: stretch;
    min-height: 96px;
    object-fit: cover;
}
.article-rag__banner--g1 { background: linear-gradient(135deg, #f0f7fa 0%, #fdfbf7 100%); }
.article-rag__banner--g2 { background: linear-gradient(135deg, #fcedd8 0%, #b3e5fc 100%); }
.article-rag__banner--g3 { background: linear-gradient(135deg, #6ec1e4 0%, #a6ffec 100%); }

.article-rag__body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
    padding: 15px 18px 20px;
}
.article-rag__title {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 20px;
    color: var(--rag-navy);
}
.article-rag__desc {
    font-family: Merriweather, Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 18px;
    color: var(--rag-muted);
}

@media (min-width: 768px) {
    .article-rag__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .article-rag__card {
        flex-direction: column;
    }
    .article-rag__banner {
        flex: none;
        width: 100%;
        height: 120px;
        min-height: 0;
        align-self: auto;
    }
}
