/* =========================================================
   MURO - NEWS ARTICLE
========================================================= */

.news-article-page {
    background: #f7f5f1;
    color: #172235;
    font-family: "Manrope", sans-serif;
}

.news-article-page *,
.news-article-page *::before,
.news-article-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   HERO
========================================================= */

.news-article-hero {
    position: relative;
    padding: 72px 0 82px;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(7, 18, 31, .96) 0%,
            rgba(7, 18, 31, .88) 42%,
            rgba(7, 18, 31, .72) 100%
        ),
        url("../images/news/news-hero.jpg");

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

.news-article-hero .news-container {
    position: relative;
    z-index: 2;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.news-article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 42px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-article-breadcrumb a {
    color: rgba(255, 255, 255, .58);
    text-decoration: none;
    transition: color .2s ease;
}

.news-article-breadcrumb a:hover {
    color: #d2a64f;
}

.news-article-breadcrumb span {
    color: rgba(255, 255, 255, .28);
}


/* =========================================================
   ARTICLE META
========================================================= */

.news-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 20px;
}

.news-article-category {
    display: inline-flex;
    align-items: center;
    color: #d2a64f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-decoration: none;
    text-transform: uppercase;
}

.news-article-meta time {
    position: relative;
    padding-left: 19px;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
}

.news-article-meta time::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d2a64f;
    transform: translateY(-50%);
}


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

.news-article-hero h1 {
    max-width: 930px;
    margin: 0;

    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.03;
    letter-spacing: -.025em;
}

.news-article-lead {
    max-width: 800px;
    margin: 26px 0 0;

    color: rgba(255, 255, 255, .72);
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   MAIN
========================================================= */

.news-article-main {
    padding: 0 0 100px;
}


/* =========================================================
   COVER IMAGE
========================================================= */

.news-article-cover {
    position: relative;
    z-index: 3;

    width: 100%;
    height: clamp(360px, 46vw, 620px);

    margin-top: 58px;
    margin-bottom: 70px;

    overflow: hidden;
    background: #e8e5df;
}

.news-article-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   ARTICLE LAYOUT
========================================================= */

.news-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 80px;
    align-items: start;
}


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

.news-article-content {
    min-width: 0;
}

.news-article-text {
    max-width: 800px;

    color: #46505e;
    font-family: "Manrope", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.95;
}

.news-article-text::first-letter {
    color: #172235;
}


/* =========================================================
   BACK LINK
========================================================= */

.news-article-back {
    margin-top: 56px;
    padding-top: 28px;
    border-top: 1px solid #ddd8cf;
}

.news-article-back a {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #172235;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color .2s ease,
        gap .2s ease;
}

.news-article-back a span {
    color: #c8953d;
    font-size: 18px;
    line-height: 1;
}

.news-article-back a:hover {
    gap: 16px;
    color: #c8953d;
}


/* =========================================================
   SIDEBAR
========================================================= */

.news-article-sidebar {
    position: sticky;
    top: 120px;
}

.news-article-sidebar .news-sidebar-card {
    margin-bottom: 28px;
}


/* =========================================================
   RECENT POSTS
========================================================= */

.news-article-sidebar .news-recent__item {
    transition: transform .2s ease;
}

.news-article-sidebar .news-recent__item:hover {
    transform: translateX(3px);
}


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

@media (max-width: 1100px) {

    .news-article-layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 50px;
    }

}


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

@media (max-width: 900px) {

    .news-article-hero {
        padding: 58px 0 70px;
    }

    .news-article-breadcrumb {
        margin-bottom: 32px;
    }

    .news-article-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .news-article-sidebar {
        position: static;
    }

    .news-article-cover {
        height: clamp(300px, 58vw, 500px);
        margin-top: 40px;
        margin-bottom: 55px;
    }

}


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

@media (max-width: 640px) {

    .news-article-hero {
        padding: 42px 0 54px;
        background-position: 60% center;
    }

    .news-article-breadcrumb {
        gap: 7px;
        margin-bottom: 28px;
        font-size: 10px;
    }

    .news-article-meta {
        gap: 12px;
        margin-bottom: 16px;
    }

    .news-article-hero h1 {
        font-size: 40px;
        line-height: 1.05;
    }

    .news-article-lead {
        margin-top: 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .news-article-main {
        padding-bottom: 70px;
    }

    .news-article-cover {
        height: 280px;
        margin-top: 28px;
        margin-bottom: 42px;
    }

    .news-article-layout {
        gap: 45px;
    }

    .news-article-text {
        font-size: 15px;
        line-height: 1.85;
    }

    .news-article-back {
        margin-top: 42px;
    }

}

/* =========================================================
   ARTICLE FORMATTING
========================================================= */

.news-article-text p {
    margin: 0 0 26px;
}

.news-article-text h2 {
    margin: 52px 0 20px;
    color: #172235;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.15;
}

.news-article-text h3 {
    margin: 40px 0 16px;
    color: #172235;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 29px;
    font-weight: 600;
    line-height: 1.2;
}

.news-article-text strong,
.news-article-text b {
    color: #172235;
    font-weight: 700;
}

.news-article-text ul,
.news-article-text ol {
    margin: 28px 0;
    padding-left: 26px;
}

.news-article-text li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.news-article-text li::marker {
    color: #c8953d;
}

.news-article-text a {
    color: #a9792f;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-article-text a:hover {
    color: #172235;
}