/* Home: Latest Stories row (.latest-row + .latest-card). 3 horizontal
   numbered cards on PC, vertical image-left rows on mobile. */

.latest-row-section {
    padding: 1.5rem 0 1.5rem;
}
.latest-row-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.latest-row-section__head-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.latest-row-section__kicker {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}
.latest-row-section__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0;
    color: var(--paper-0);
    letter-spacing: -0.01em;
}
.latest-row-section__view-all {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 150ms ease;
}
.latest-row-section__view-all:hover { color: var(--paper-0); }

.latest-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.latest-card {
    display: flex;
    flex-direction: column;
    background-color: var(--ink-1);
    border: 0;
    border-radius: 4px;
    overflow: hidden;
}
.latest-card__media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background-color: var(--ink-2);
    display: block;
    border-radius: 0;
}
.latest-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}
.latest-card__media:hover .latest-card__img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
    .latest-card__media:hover .latest-card__img { transform: none; }
}
.latest-card__num {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--paper-0);
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 700;
    border-radius: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.45);
}
.latest-card__noimg {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--ink-1), var(--ink-2));
}
.latest-card__body {
    padding: 0.95rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}
/* Title first, kicker after (target shows category line under title).
   Date hidden, kicker carries the meta. */
.latest-card__title {
    order: 1;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--paper-0);
}
.latest-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 150ms ease;
}
.latest-card__title a:hover { color: var(--accent); }
.latest-card__kicker {
    display: block;
    order: 2;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mute-0);
    font-weight: 600;
    margin-top: auto;
}
.latest-card__date { display: none; }

@media (max-width: 900px) {
    .latest-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    .latest-card {
        flex-direction: row;
        gap: 0;
        padding: 0;
        border: 0;
        background-color: var(--ink-1);
        border-radius: 4px;
    }
    .latest-card__media {
        flex: 0 0 36%;
        aspect-ratio: 4/3;
        border-radius: 0;
    }
    .latest-card__num { width: 36px; height: 36px; font-size: 15px; }
    .latest-card__body {
        flex: 1;
        padding: 0.65rem 0.85rem;
        gap: 0.3rem;
    }
    .latest-card__title { font-size: 0.95rem; line-height: 1.25; }
    .latest-row-section__title { font-size: 1.3rem; }
}