/* ---------- tarjetas de artículo — base compartida ----------
   Cargado por las páginas con grid de tarjetas (index, articles) después de
   base.css y antes del CSS de página (landing.css / home.css), que ajusta
   spans, tamaños y variantes propias (.show/.hidden en biblioteca,
   .soon en landing). Solo tokens de base.css. */

.article-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr)
}

.article-card {
    background: var(--white);
    border: 1px solid rgba(110, 140, 121, .12);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 36px rgba(110, 140, 121, .06)
}

.article-card:after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    right: -100px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(233, 200, 200, .4), transparent 64%);
    pointer-events: none
}

.article-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2
}

.article-tag {
    font: 700 9px var(--manrope);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sage-deep)
}

.article-age {
    font: 700 9px var(--manrope);
    color: rgba(110, 140, 121, .85);
    background: rgba(157, 184, 167, .18);
    padding: 6px 9px;
    border-radius: 999px
}

.article-arrow {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    border: 1px solid rgba(110, 140, 121, .2);
    display: grid;
    place-items: center;
    font-size: 13px;
    transition: .35s
}

.article-card:hover .article-arrow {
    transform: rotate(45deg);
    background: var(--sage-deep);
    border-color: var(--sage-deep);
    color: #f1f4ee
}

.article-body {
    position: relative;
    z-index: 2
}

.article-card h3 a {
    color: inherit
}

.article-card h3 a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 7px
}

.article-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    font: 700 9px var(--manrope);
    color: #7f8b80;
    text-transform: uppercase;
    letter-spacing: .1em
}
