/*
 * ============================================================
 * BLOODMOON GRID
 * News pages
 * ============================================================
 *
 * Version : 2026-09-07 14:30
 */


/* ============================================================
   PAGE
============================================================ */

.news-page {

    width: min(
        var(--container),
        calc(100% - 60px)
    );

    margin: 0 auto;

    padding:
        36px
        0
        60px;

}


/* ============================================================
   PAGE HEADING
============================================================ */

.news-page-heading {

    max-width: 720px;

    margin-bottom: 28px;

}


.news-page-kicker {

    color: var(--bloodmoon);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}


.news-page-heading h1 {

    margin:
        5px
        0
        5px;

    font-size: 2rem;

}


.news-page-heading p {

    margin: 0;

    color: var(--text-soft);

}


/* ============================================================
   NEWS LIST
============================================================ */

.news-page-grid {

    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 18px;

}


.news-page-card {

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 13px;

    background: #ffffff;

    box-shadow: var(--shadow);

}


.news-card-image {

    width: 100%;

    height: 180px;

    display: block;

    object-fit: cover;

}


.news-card-body {

    padding: 18px;

}


.news-card-meta {

    display: flex;

    justify-content: space-between;

    gap: 15px;

    color: var(--text-light);

    font-size: 0.66rem;

    font-weight: 700;

    text-transform: uppercase;

}


.news-page-card h2 {

    margin:
        8px
        0
        7px;

    font-size: 1.15rem;

}


.news-page-card p {

    margin: 0;

    color: var(--text-soft);

    font-size: 0.8rem;

    line-height: 1.5;

}


.news-read-more {

    display: inline-block;

    margin-top: 14px;

    color: var(--bloodmoon);

    text-decoration: none;

    font-size: 0.78rem;

    font-weight: 800;

}


.news-read-more:hover {

    text-decoration: underline;

}


/* ============================================================
   ARTICLE
============================================================ */

.news-article {

    max-width: 900px;

    margin: 0 auto;

    padding:
        28px
        35px;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background: #ffffff;

    box-shadow: var(--shadow);

}


.news-back {

    display: inline-block;

    margin-bottom: 22px;

    color: var(--bloodmoon);

    text-decoration: none;

    font-size: 0.78rem;

    font-weight: 700;

}


.news-category {

    color: var(--bloodmoon);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    text-transform: uppercase;

}


.news-article h1 {

    margin:
        7px
        0
        5px;

    font-size: 2rem;

    line-height: 1.15;

}


.news-article-date {

    margin-bottom: 24px;

    color: var(--text-light);

    font-size: 0.75rem;

}


.news-main-image {

    width: 100%;

    height: auto;

    display: block;

    margin-bottom: 25px;

    border-radius: 10px;

}


.news-article-content {

    color: #414850;

    font-size: 0.95rem;

    line-height: 1.75;

}


/* ============================================================
   EMPTY / NOT FOUND
============================================================ */

.news-empty,
.news-not-found {

    padding: 40px;

    border:
        1px solid
        var(--border);

    border-radius: 13px;

    background: #ffffff;

    text-align: center;

}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 950px) {

    .news-page-grid {

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

    }

}


@media (max-width: 650px) {

    .news-page {

        width:
            calc(100% - 24px);

        padding-top:
            24px;

    }


    .news-page-grid {

        grid-template-columns:
            1fr;

    }


    .news-article {

        padding:
            22px
            18px;

    }

}
