/* =========================================================
   SINGLE ARTICLE
   ========================================================= */

.article-page {
    padding: 80px 0 110px;
}

.article-page .article {
    max-width: 850px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   CATEGORY
   --------------------------------------------------------- */

.article-page .article-category {
    display: inline-block;

    margin-bottom: 14px;

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    opacity: 0.55;
}


/* ---------------------------------------------------------
   TITLE
   --------------------------------------------------------- */

.article-page h1 {
    margin: 0 0 18px;

    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
}


/* ---------------------------------------------------------
   DATE
   --------------------------------------------------------- */

.article-meta {
    margin-bottom: 35px;

    font-size: 0.82rem;

    opacity: 0.5;
}


/* ---------------------------------------------------------
   FEATURED IMAGE
   --------------------------------------------------------- */

.article-featured-image {
    width: 100%;

    margin-bottom: 38px;

    overflow: hidden;

    border-radius: 14px;
}

.article-featured-image img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 540px;

    object-fit: cover;
}


/* ---------------------------------------------------------
   EXCERPT
   --------------------------------------------------------- */

.article-excerpt {
    margin: 0 0 35px;

    padding-bottom: 30px;

    border-bottom: 1px solid rgba(40, 40, 40, 0.1);

    font-size: 1.15rem;
    line-height: 1.8;

    font-weight: 500;

    opacity: 0.72;
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.article-content {
    font-size: 1rem;
    line-height: 1.9;

    opacity: 0.82;

    overflow-wrap: break-word;
}


/* ---------------------------------------------------------
   BACK
   --------------------------------------------------------- */

.article-back {
    margin-top: 55px;
    padding-top: 25px;

    border-top: 1px solid rgba(40, 40, 40, 0.1);
}

.article-back a {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: inherit;

    font-size: 0.85rem;
    font-weight: 600;

    text-decoration: none;

    opacity: 0.65;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.article-back a:hover {
    opacity: 1;
    transform: translateX(-3px);
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

    .article-page {
        padding: 55px 0 80px;
    }

    .article-page .article {
        max-width: 100%;
    }

    .article-page h1 {
        font-size: 2.45rem;
    }

    .article-featured-image {
        margin-bottom: 28px;
        border-radius: 10px;
    }

    .article-excerpt {
        font-size: 1.02rem;
    }

    .article-content {
        font-size: 0.96rem;
        line-height: 1.8;
    }

}