
/* ========================================
   PAGE
======================================== */

.news-page {
    max-width: 1100px;
    margin: 35px auto 70px;
    padding: 0 20px;
}


/* ========================================
   HEADING
======================================== */

.news-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 32px;
    padding-bottom: 18px;

    border-bottom: 1px solid #e5e5e5;
}

.news-page-heading-left {
    display: flex;
    align-items: center;
    gap: 13px;
}

.news-page-heading-mark {
    width: 5px;
    height: 34px;

    background: #ed1c24;

    border-radius: 10px;
}

.news-page-heading h1 {
    margin: 0;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 31px;
    line-height: 1;

    font-weight: 800;

    letter-spacing: -0.8px;

    color: #111;
}

.news-page-heading-right {
    font-family: Arial, Helvetica, sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.2px;

    color: #777;

    background: #f4f4f4;

    padding: 8px 13px;

    border-radius: 30px;
}


/* ========================================
   NEWS LIST
======================================== */

.news-list {
    max-width: 950px;
    margin: 0 auto;
}


/* ========================================
   NEWS ROW
======================================== */

.news-list-item {
    display: grid;

    grid-template-columns: 40% 1fr;

    gap: 36px;

    align-items: center;

    padding: 28px 0;

    border-bottom: 1px solid #e8e8e8;

    text-decoration: none;

    color: #111;
}

.news-list-item:first-child {
    padding-top: 5px;
}

/* ========================================
   IMAGE
======================================== */
.news-list-image {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    border-radius: 9px;

    background: #eee;
}

.news-list-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .35s ease;
}

.news-list-item:hover .news-list-image img {
    transform: scale(1.03);
}


/* ========================================
   CONTENT
======================================== */

.news-list-content {
    min-width: 0;
}

.news-list-label {
    display: inline-block;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ed1c24;
    text-transform: uppercase;
}


/* TITLE */

.news-list-content h2 {
    margin: 0 0 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: -0.35px;
    color: #111;
    transition: color .2s ease;
}

.news-list-item:hover h2 {
    color: #555;
}


/* LEAD */

.news-list-content p {
    margin: 0 0 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* ========================================
   META
======================================== */

.news-list-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px
    font-weight: 600;
    text-transform: uppercase;
    color: #aaa;
}

.news-list-line {
    width: 48px;
    height: 4px;
    display: block;
    background: #ed1c24;
}

/* ========================================
   PAGINATION
======================================== */

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 50px;
}

.news-pagination a,
.news-pagination span {
    min-width: 42px;
    height: 42px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 7px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #444;
    background: #f5f5f5;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.news-pagination a:hover {
    background: #e9e9e9;

    transform: translateY(-1px);
}

.news-pagination .active {
    background: #ed1c24;

    color: #fff;
}

.news-pagination .dots {
    background: transparent;

    min-width: 25px;

    padding: 0;

    color: #aaa;
}

.news-pagination .page-arrow {
    font-size: 17px;
}


/* ========================================
   EMPTY
======================================== */

.no-news {
    padding: 70px 0;

    text-align: center;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 16px;

    color: #888;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 850px) {

    .news-list-item {
        grid-template-columns: 42% 1fr;

        gap: 25px;
    }

    .news-list-content h2 {
        font-size: 21px;
    }

    .news-list-content p {
        font-size: 14px;
    }
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

    .news-page {
        margin-top: 25px;

        padding: 0 15px;
    }

    .news-page-heading {
        margin-bottom: 15px;
    }

    .news-page-heading h1 {
        font-size: 24px;
    }

    .news-page-heading-mark {
        width: 4px;
        height: 28px;
    }

    .news-page-heading-right {
        display: none;
    }


    .news-list-item {
        grid-template-columns: 135px 1fr;

        gap: 14px;

        align-items: start;

        padding: 18px 0;
    }

    .news-list-image {
        border-radius: 6px;
    }

    .news-list-label {
        font-size: 9px;

        margin-bottom: 5px;
    }

    .news-list-content h2 {
        font-size: 16px;

        line-height: 1.3;

        margin-bottom: 8px;
    }

    .news-list-content p {
        display: none;
    }

    .news-list-meta {
        gap: 8px;

        font-size: 9px;
    }

    .news-list-line {
        width: 24px;

        height: 3px;
    }


    .news-pagination {
        gap: 5px;

        margin-top: 35px;
    }

    .news-pagination a,
    .news-pagination span {
        min-width: 36px;

        height: 36px;

        font-size: 12px;
    }
}
