/* =========================================================
   NEWS PAGE
========================================================= */

.news-page {
    min-height: 100vh;
    background: #f7f5f0;
}


/* =========================================================
   NEWS ARCHIVE
========================================================= */

.news-page__archive {
    padding: 170px 0 150px;
}

.news-page__inner {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 90px;

    width: min(92%, 1380px);

    margin: 0 auto;
}


/* =========================================================
   NEWS SIDE
========================================================= */

.news-page__side {
    min-width: 0;
}

.news-page__side-inner {
    position: sticky;
    top: 150px;
}

.news-page__title {
    margin: 0;

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.news-page__jp {
    margin: 12px 0 0;

    color: #817c73;

    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.08em;
}


/* =========================================================
   NEWS CATEGORY
========================================================= */

.news-page__categories {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 13px;

    margin-top: 50px;
}

.news-page__categories a {
    position: relative;

    color: #aaa59c;

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 1.25rem;
    line-height: 1.4;

    text-decoration: none;

    transition:
        color 0.3s ease,
        opacity 0.3s ease;
}

.news-page__categories a:hover,
.news-page__categories a.is-current {
    color: #36332e;
}

.news-page__categories a.is-current::before {
    content: "";

    position: absolute;
    top: 50%;
    left: -22px;

    width: 12px;
    height: 1px;

    background: currentColor;

    transform: translateY(-50%);
}


/* =========================================================
   NEWS CONTENT
========================================================= */

.news-page__content {
    min-width: 0;
}

.news-page__list {
    width: 100%;
}


/* =========================================================
   NEWS CARD
========================================================= */

.news-card {
    position: relative;
}

.news-card__link {
    position: relative;

    display: grid;
    grid-template-columns:
        110px
        110px
        minmax(0, 1fr)
        25px;

    align-items: center;
    gap: 20px;

    min-height: 58px;

    padding: 8px 0;

    color: #37342f;

    text-decoration: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.news-card__link:hover {
    opacity: 0.55;

    transform: translateX(4px);
}


/* =========================================================
   NEWS META
========================================================= */

.news-card__date,
.news-card__category {
    color: #99958d;

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 1.1rem;
    line-height: 1.5;

    white-space: nowrap;
}

.news-card__category {
    padding: 0;

    border: 0;
    border-radius: 0;
}


/* =========================================================
   NEWS TITLE
========================================================= */

.news-card__title {
    margin: 0;

    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.04em;
}


/* =========================================================
   NEWS ARROW
========================================================= */

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

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 1.4rem;

    transition: transform 0.3s ease;
}

.news-card__link:hover .news-card__arrow {
    transform: translateX(5px);
}


/* =========================================================
   NEWS EMPTY
========================================================= */

.news-page__empty {
    margin: 0;

    padding: 30px 0;

    color: #817c73;

    font-size: 1.3rem;
    line-height: 2;
}


/* =========================================================
   NEWS PAGINATION
========================================================= */

.news-page__pagination {
    margin-top: 70px;
}

.news-page__pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;
}

.news-page__pagination .page-numbers {
    color: #777269;

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 1.2rem;

    text-decoration: none;
}

.news-page__pagination .page-numbers.current {
    color: #292722;

    text-decoration: underline;
    text-underline-offset: 5px;
}


/* =========================================================
   NEWS SINGLE
========================================================= */

.news-single {
    min-height: 100vh;

    padding: 170px 0 150px;

    color: #37342f;
    background: #f7f5f0;
}


/* =========================================================
   NEWS SINGLE HEADER
========================================================= */

.news-single__header {
    width: min(92%, 1380px);

    margin: 0 auto;
}

.news-single__header-inner {
    display: grid;
    grid-template-columns:
        190px
        minmax(0, 1fr);

    gap: 90px;
}


/* =========================================================
   NEWS SINGLE SECTION
========================================================= */

.news-single__section {
    min-width: 0;
}

.news-single__label {
    margin: 0;

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.news-single__jp {
    margin: 12px 0 0;

    color: #817c73;

    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.08em;
}


/* =========================================================
   NEWS SINGLE HEADING
========================================================= */

.news-single__heading {
    width: min(100%, 880px);
}

.news-single__meta {
    display: flex;
    align-items: center;

    gap: 24px;

    margin-bottom: 25px;
}

.news-single__date,
.news-single__category {
    color: #99958d;

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 1.1rem;
    line-height: 1.5;
}

.news-single__category {
    text-decoration: none;

    transition: opacity 0.3s ease;
}

.news-single__category:hover {
    opacity: 0.55;
}

.news-single__title {
    margin: 0;

    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.04em;
}


/* =========================================================
   NEWS SINGLE FEATURED IMAGE
========================================================= */

.news-single__visual {
    width: min(
        880px,
        calc(min(92%, 1380px) - 280px)
    );

    margin-top: 70px;
    margin-right: auto;

    margin-left: max(
        calc((100% - 1380px) / 2 + 280px),
        calc(4% + 280px)
    );
}

.news-single__visual-image {
    display: block;

    width: 100%;
    height: auto;
}


/* =========================================================
   NEWS SINGLE BODY
========================================================= */

.news-single__body {
    width: min(
        880px,
        calc(min(92%, 1380px) - 280px)
    );

    margin-top: 75px;
    margin-right: auto;

    margin-left: max(
        calc((100% - 1380px) / 2 + 280px),
        calc(4% + 280px)
    );
}

.news-single__content {
    font-size: 1.5rem;
    line-height: 2.15;
    letter-spacing: 0.04em;
}

.news-single__content > *:first-child {
    margin-top: 0;
}

.news-single__content > *:last-child {
    margin-bottom: 0;
}


/* =========================================================
   NEWS SINGLE TEXT
========================================================= */

.news-single__content p {
    margin: 0 0 2em;
}

.news-single__content h2 {
    margin: 3.5em 0 1.3em;

    font-size: 2rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

.news-single__content h3 {
    margin: 3em 0 1.2em;

    font-size: 1.7rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.04em;
}

.news-single__content h4 {
    margin: 2.5em 0 1em;

    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
}

.news-single__content ul,
.news-single__content ol {
    margin: 2em 0;

    padding-left: 1.8em;
}

.news-single__content li {
    margin-bottom: 0.7em;
}


/* =========================================================
   NEWS SINGLE LINK
========================================================= */

.news-single__content a {
    color: inherit;

    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    transition: opacity 0.3s ease;
}

.news-single__content a:hover {
    opacity: 0.55;
}


/* =========================================================
   NEWS SINGLE BODY IMAGE
========================================================= */

.news-single__content img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 45px auto;
}

.news-single__content figure {
    max-width: 100%;

    margin: 45px auto;
}

.news-single__content figure img {
    margin: 0;
}

.news-single__content figcaption {
    margin-top: 10px;

    color: #99958d;

    font-size: 1rem;
    line-height: 1.7;
}


/* =========================================================
   NEWS SINGLE BLOCKQUOTE
========================================================= */

.news-single__content blockquote {
    margin: 3em 0;

    padding: 0 0 0 25px;

    border-left: 1px solid rgba(55, 52, 47, 0.3);
}


/* =========================================================
   NEWS SINGLE FOOTER
========================================================= */

.news-single__footer {
    width: min(
        880px,
        calc(min(92%, 1380px) - 280px)
    );

    margin-top: 90px;
    margin-right: auto;

    margin-left: max(
        calc((100% - 1380px) / 2 + 280px),
        calc(4% + 280px)
    );

    padding-top: 30px;

    border-top: 1px solid rgba(55, 52, 47, 0.15);
}

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

    gap: 12px;

    color: #68635b;

    font-family:
        "garamond-premier-pro",
        "Times New Roman",
        serif;

    font-size: 1.2rem;

    text-decoration: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.news-single__back a:hover {
    opacity: 0.55;

    transform: translateX(-4px);
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 1024px) {

    .news-page__inner {
        grid-template-columns:
            150px
            minmax(0, 1fr);

        gap: 55px;
    }

    .news-card__link {
        grid-template-columns:
            95px
            95px
            minmax(0, 1fr)
            20px;

        gap: 15px;
    }

    .news-single__header-inner {
        grid-template-columns:
            150px
            minmax(0, 1fr);

        gap: 55px;
    }

    .news-single__visual,
    .news-single__body,
    .news-single__footer {
        width: min(
            880px,
            calc(92% - 205px)
        );

        margin-right: auto;
        margin-left: calc(4% + 205px);
    }

}


/* =========================================================
   MOBILE
   BRAND BREAKPOINT: 834px
========================================================= */

@media screen and (max-width: 834px) {


    /* =====================================================
       ARCHIVE
    ====================================================== */

    .news-page__archive {
        padding: 110px 0 90px;
    }

    .news-page__inner {
        display: block;

        width: calc(100% - 50px);
    }


    /* =====================================================
       SIDE
    ====================================================== */

    .news-page__side {
        margin-bottom: 48px;
    }

    .news-page__side-inner {
        position: static;
    }

    .news-page__title {
        font-size: 2.7rem;
    }

    .news-page__jp {
        margin-top: 10px;

        font-size: 1.1rem;
    }


    /* =====================================================
       CATEGORY
    ====================================================== */

    .news-page__categories {
        flex-direction: row;
        flex-wrap: wrap;

        gap: 10px 25px;

        margin-top: 32px;
    }

    .news-page__categories a {
        font-size: 1.2rem;
    }

    .news-page__categories a.is-current::before {
        display: none;
    }

    .news-page__categories a.is-current {
        text-decoration: underline;
        text-underline-offset: 5px;
    }


    /* =====================================================
       NEWS CARD
    ====================================================== */

    .news-card__link {
        display: grid;

        grid-template-columns:
            auto
            1fr;

        grid-template-areas:
            "date category"
            "title title";

        justify-content: start;
        align-items: start;

        column-gap: 14px;
        row-gap: 7px;

        min-height: 0;

        padding: 16px 0;
    }

    .news-card__date {
        grid-area: date;
    }

    .news-card__category {
        grid-area: category;

        justify-self: start;
    }

    .news-card__date,
    .news-card__category {
        font-size: 1rem;
        line-height: 1.4;
    }

    .news-card__title {
        grid-area: title;

        width: 100%;

        font-size: 1.4rem;
        line-height: 1.75;
        letter-spacing: 0.035em;
    }

    .news-card__arrow {
        display: none;
    }

    .news-card__link:hover {
        transform: none;
    }


    /* =====================================================
       PAGINATION
    ====================================================== */

    .news-page__pagination {
        margin-top: 55px;
    }


    /* =====================================================
       SINGLE
    ====================================================== */

    .news-single {
        padding: 110px 0 90px;
    }

    .news-single__header {
        width: calc(100% - 50px);
    }

    .news-single__header-inner {
        display: block;
    }

    .news-single__section {
        margin-bottom: 45px;
    }

    .news-single__label {
        font-size: 2.7rem;
    }

    .news-single__jp {
        margin-top: 10px;

        font-size: 1.1rem;
    }


    /* =====================================================
       SINGLE META
    ====================================================== */

    .news-single__meta {
        gap: 18px;

        margin-bottom: 18px;
    }

    .news-single__date,
    .news-single__category {
        font-size: 1rem;
    }


    /* =====================================================
       SINGLE TITLE
    ====================================================== */

    .news-single__title {
        font-size: 2rem;
        line-height: 1.65;
        letter-spacing: 0.035em;
    }


    /* =====================================================
       FEATURED IMAGE
    ====================================================== */

    .news-single__visual {
        width: 100%;

        margin-top: 50px;
        margin-right: 0;
        margin-left: 0;
    }


    /* =====================================================
       SINGLE BODY
    ====================================================== */

    .news-single__body {
        width: calc(100% - 50px);

        margin-top: 55px;
        margin-right: auto;
        margin-left: auto;
    }

    .news-single__content {
        font-size: 1.4rem;
        line-height: 2.1;
        letter-spacing: 0.035em;
    }

    .news-single__content h2 {
        margin-top: 3.2em;

        font-size: 1.75rem;
    }

    .news-single__content h3 {
        font-size: 1.55rem;
    }

    .news-single__content h4 {
        font-size: 1.4rem;
    }

    .news-single__content img,
    .news-single__content figure {
        margin-top: 35px;
        margin-bottom: 35px;
    }


    /* =====================================================
       SINGLE FOOTER
    ====================================================== */

    .news-single__footer {
        width: calc(100% - 50px);

        margin-top: 70px;
        margin-right: auto;
        margin-left: auto;
    }

}