/* ===== NEWS LAYOUT ===== */

.page__content .news-container {
    margin-top: 1.5em;
}

/* row layout */
.page__content .news-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1.2em;
    margin-bottom: 1em;
    align-items: start;
}

/* ===== DATE BOX ===== */

.page__content .news-date-box {
    font-size: 0.75em;
    font-weight: 600;
    text-align: center;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.05);
    color: inherit;

    letter-spacing: 0.04em;
    white-space: nowrap;
    margin-top: 2px;
}

/* ===== TEXT ===== */

.page__content .news-text {
    line-height: 1.6;

    /* inherit everything from theme */
    color: inherit;
    font-size: inherit;
}

/* ===== REMOVE FAKE HOVER ===== */

.page__content .news-row:hover .news-text {
    color: inherit;
    text-decoration: none;
}

/* ===== MOBILE ===== */

@media (max-width: 600px) {
    .page__content .news-row {
        grid-template-columns: 1fr;
        gap: 0.4em;
    }

    .page__content .news-date-box {
        display: inline-block;
        width: fit-content;
        margin-top: 0;
    }
}