@charset "UTF-8";


/* =========================================================
   News Page
========================================================= */

.news-page {
    background-color: var(--color-body);
}


/* =========================================================
   News Page Hero
========================================================= */

.news-page__hero {
    position: relative;

    width: calc(100% - 80px);
    max-width: 1280px;

    height: 330px;

    margin: 105px auto 70px;

    overflow: hidden;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    isolation: isolate;
}


/* ---------------------------------------------------------
   Image Overlay
--------------------------------------------------------- */

.news-page__hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            90deg,
            var(--color-primary) 0%,
            color-mix(
                in srgb,
                var(--color-primary) 55%,
                transparent
            ) 42%,
            transparent 100%
        );

    opacity: .82;

    pointer-events: none;
}


.news-page__hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.05),
            rgba(0,0,0,.10)
        );

    pointer-events: none;
}


/* =========================================================
   Frame
========================================================= */

.news-page__hero-frame {
    position: relative;

    width: 100%;
    height: 100%;

    padding: 42px 48px;

    box-sizing: border-box;
}


.news-page__hero-frame::before {
    content: "";

    position: absolute;

    inset: 18px;

    border: 1px solid rgba(255,255,255,.42);

    pointer-events: none;
}


/* =========================================================
   Inner
========================================================= */

.news-page__hero-inner {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    justify-content: center;

    height: 100%;

    max-width: 700px;

    padding-left: 32px;

    box-sizing: border-box;
}


/* =========================================================
   Label
========================================================= */

.news-page__hero-label {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

    color: rgba(255,255,255,.88);

    font-family: Arial, sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: .32em;

    line-height: 1;
}


.news-page__hero-line {
    display: block;

    width: 34px;
    height: 1px;

    background: rgba(255,255,255,.72);
}


/* =========================================================
   Title
========================================================= */

.news-page__hero h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(34px, 4vw, 50px);

    font-weight: 500;

    letter-spacing: .08em;

    line-height: 1.35;
}


.news-page__hero h1 span {
    display: inline-block;

    margin-top: 2px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: .92em;

    font-style: italic;

    font-weight: 400;

    letter-spacing: .04em;
}


/* =========================================================
   Copy
========================================================= */

.news-page__hero-copy {
    margin: 17px 0 0;

    color: rgba(255,255,255,.84);

    font-size: 12px;

    font-weight: 400;

    letter-spacing: .12em;

    line-height: 1.9;
}


/* =========================================================
   Side Text
========================================================= */

.news-page__hero-side {
    position: absolute;

    z-index: 2;

    right: 52px;
    bottom: 43px;

    color: rgba(255,255,255,.58);

    font-family: Arial, sans-serif;

    font-size: 8px;

    font-weight: 500;

    letter-spacing: .28em;

    line-height: 1.8;

    text-align: right;
}


/* =========================================================
   Mobile
========================================================= */

@media (max-width: 768px) {

    .news-page__hero {
        width: calc(100% - 36px);

        height: 280px;

        margin: 96px auto 45px;
    }


    .news-page__hero-frame {
        padding: 32px 24px;
    }


    .news-page__hero-frame::before {
        inset: 12px;
    }


    .news-page__hero-inner {
        padding-left: 16px;
    }


    .news-page__hero h1 {
        font-size: 34px;

        letter-spacing: .06em;
    }


    .news-page__hero-copy {
        margin-top: 14px;

        font-size: 10px;

        letter-spacing: .08em;
    }


    .news-page__hero-side {
        right: 28px;
        bottom: 29px;

        font-size: 7px;

        letter-spacing: .2em;
    }

}


@media (max-width: 500px) {

    .news-page__hero {
        width: calc(100% - 24px);

        height: 245px;

        margin: 85px auto 36px;
    }


    .news-page__hero-frame {
        padding: 26px 18px;
    }


    .news-page__hero-frame::before {
        inset: 9px;
    }


    .news-page__hero-inner {
        padding-left: 12px;
    }


    .news-page__hero-label {
        gap: 9px;

        margin-bottom: 14px;

        font-size: 8px;

        letter-spacing: .25em;
    }


    .news-page__hero-line {
        width: 24px;
    }


    .news-page__hero h1 {
        font-size: 28px;

        line-height: 1.35;
    }


    .news-page__hero h1 span {
        font-size: .9em;
    }


    .news-page__hero-copy {
        margin-top: 12px;

        font-size: 9px;

        line-height: 1.8;
    }


    .news-page__hero-side {
        right: 21px;
        bottom: 23px;

        font-size: 6px;

        line-height: 1.7;
    }

}



/* =========================================================
   Content
========================================================= */

.news-page__content {
    padding: 50px 20px 60px;
}

.news-page__inner {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}


/* =========================================================
   News List
========================================================= */

.news-page__list {
    border-top: 1px solid rgba(0, 0, 0, 0.14);
}


.news-card {
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}


.news-card__link {
    position: relative;

    display: block;

    padding: 28px 50px 28px 0;

    color: inherit;
    text-decoration: none;

    transition:
        padding-left 0.25s ease,
        background-color 0.25s ease;
}


.news-card__link:hover {
    padding-left: 12px;
}


/* =========================================================
   Meta
========================================================= */

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 12px;
}


.news-card__date {
    color: var(--color-text-muted);

    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0.06em;
}


.news-card__category {
    display: inline-flex;
    align-items: center;

    padding: 5px 11px;

    color: var(--color-primary);
    background: rgba(0, 0, 0, 0.045);

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2px;

    font-size: 10px;
    font-weight: 600;

    line-height: 1.2;
    letter-spacing: 0.05em;

    white-space: nowrap;
}


/* =========================================================
   Title
========================================================= */

.news-card__title {
    margin: 0;

    padding-right: 20px;

    color: var(--color-text);

    font-size: 16px;
    font-weight: 500;

    line-height: 1.7;

    transition: color 0.25s ease;
}


.news-card__link:hover .news-card__title {
    color: var(--color-primary);
}


/* =========================================================
   Arrow
========================================================= */

.news-card__arrow {
    position: absolute;

    top: 50%;
    right: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    margin-top: -14px;

    color: var(--color-primary);

    font-size: 17px;

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}


.news-card__link:hover .news-card__arrow {
    transform: translateX(6px);
    color: var(--color-accent);
}


/* =========================================================
   Empty
========================================================= */

.news-page__empty {
    padding: 60px 20px;

    border-top: 1px solid rgba(0, 0, 0, 0.14);
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);

    text-align: center;

    color: var(--color-text-muted);

    font-size: 14px;
}


.news-page__empty p {
    margin: 0;
}


/* =========================================================
   Pagination
========================================================= */

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 28px;

    margin-top: 60px;
}


.news-pagination__numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}


.news-pagination__number,
.news-pagination__arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}


.news-pagination__number {
    width: 38px;
    height: 38px;

    color: var(--color-text-muted);

    border: 1px solid transparent;

    font-family: Arial, sans-serif;
    font-size: 13px;
}


.news-pagination__number:hover {
    color: var(--color-primary);
    border-color: rgba(0, 0, 0, 0.15);
}


.news-pagination__number.is-current {
    color: var(--color-text-white);
    background: var(--color-primary);

    border-color: var(--color-primary);
}


.news-pagination__arrow {
    width: 38px;
    height: 38px;

    color: var(--color-primary);

    font-size: 18px;
}


.news-pagination__arrow:hover {
    color: var(--color-accent);

    transform: translateX(3px);
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 768px) {

    .news-page__content {
        padding: 65px 20px 80px;
    }


    .news-card__link {
        padding: 22px 38px 22px 0;
    }


    .news-card__link:hover {
        padding-left: 6px;
    }


    .news-card__meta {
        gap: 10px;
        margin-bottom: 10px;
    }


    .news-card__date {
        font-size: 12px;
    }


    .news-card__category {
        padding: 4px 9px;
        font-size: 9px;
    }


    .news-card__title {
        padding-right: 0;

        font-size: 14px;
        line-height: 1.7;
    }


    .news-card__arrow {
        right: 0;
    }


    .news-pagination {
        gap: 15px;
        margin-top: 45px;
    }


    .news-pagination__numbers {
        gap: 4px;
    }


    .news-pagination__number,
    .news-pagination__arrow {
        width: 34px;
        height: 34px;
    }
}


@media (max-width: 500px) {

    .news-page__content {
        padding: 55px 18px 0px;
    }


    .news-card__link {
        padding: 20px 30px 20px 0;
    }


    .news-card__meta {
        flex-wrap: wrap;
    }


    .news-card__title {
        font-size: 13px;
    }


    .news-pagination {
        gap: 8px;
    }


    .news-pagination__number,
    .news-pagination__arrow {
        width: 32px;
        height: 32px;
    }
}



/* =========================================================
   News Filter
========================================================= */

.news-filter {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;

    margin-bottom: 36px;
    padding-bottom: 24px;

    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}


.news-filter__item {
    display: flex;
    align-items: center;
    gap: 12px;
}


.news-filter__label {
    color: var(--color-text-muted);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.08em;
    white-space: nowrap;
}


.news-filter__select {
    min-width: 170px;

    padding: 11px 38px 11px 14px;

    color: var(--color-text);

    background-color: #fff;

    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 2px;

    font-family: inherit;
    font-size: 13px;
    line-height: 1.4;

    cursor: pointer;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.news-filter__select:hover {
    border-color: var(--color-primary);
}


.news-filter__select:focus {
    outline: none;

    border-color: var(--color-primary);

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   Pagination
========================================================= */

.shop-pagination {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 24px;

    margin: 80px 0;
}


.page-arrow {
    width: 52px;
    height: 52px;

    border: 1px solid var(--color-primary);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    color: var(--color-text-white);
    background: var(--color-primary);

    font-size: 20px;

    transition: 0.25s;
}


.page-arrow:hover {
    background: var(--color-text-white);
    color: var(--color-primary);
}


.page-arrow.disabled {
    opacity: 0.35;
    pointer-events: none;
}


.page-count {
    min-width: 90px;

    text-align: center;

    color: #222;

    font-size: 16px;
    font-weight: 600;

    letter-spacing: 0.08em;
}


@media (max-width: 768px) {

    .shop-pagination {
        gap: 18px;
        margin: 30px 0 60px;
    }


    .page-arrow {
        width: 46px;
        height: 46px;

        font-size: 18px;
    }


    .page-count {
        font-size: 15px;
    }

}


/* =========================================================
   Responsive Filter
========================================================= */

@media (max-width: 768px) {

    .news-filter {
        align-items: stretch;

        gap: 12px;

        margin-bottom: 28px;
        padding-bottom: 20px;
    }


    .news-filter__item {
        flex: 1;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 7px;
    }


    .news-filter__label {
        font-size: 10px;
    }


    .news-filter__select {
        width: 100%;
        min-width: 0;

        padding: 10px 30px 10px 11px;

        font-size: 12px;
    }

}


@media (max-width: 500px) {

    .news-filter {
        gap: 10px;
        margin-bottom: 24px;
    }


    .news-filter__select {
        padding: 10px 8px;

        font-size: 11px;
    }


    .news-filter__label {
        font-size: 9px;
        letter-spacing: 0.05em;
    }

}
