/* =========================================
   ARTICLE PAGE
========================================= */

.article-page {
    background: var(--white);
}


/* ARTICLE CONTAINER */

.article-container {
    max-width: 900px;
}


/* ARTICLE HEADER */

.article-header {
    max-width: 780px;

    margin: 0 auto;

    padding: 95px 0 55px;

    text-align: center;
}

.article-header .eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--mint);

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
}

.article-header h1 {
    margin-bottom: 25px;

    color: var(--navy-dark);

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.2;

    letter-spacing: -1.2px;
    font-weight: 600;
}

.article-intro {
    max-width: 700px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 17px;
    line-height: 1.85;
}


/* FEATURE IMAGE */

.article-feature {
    width: 100%;

    margin: 0 0 65px;

    overflow: hidden;

    border-radius: 6px;

    background: var(--mint-light);
}

.article-feature img {
    width: 100%;
    height: auto;

    display: block;
}


/* ARTICLE BODY */

.article-body {
    max-width: 720px;

    margin: 0 auto;
}

.article-body p {
    margin-bottom: 25px;

    color: var(--text);

    font-size: 17px;
    line-height: 1.95;
}

.article-body h2 {
    margin: 55px 0 20px;

    color: var(--navy-dark);

    font-size: 30px;
    line-height: 1.35;
    font-weight: 600;
}

.article-body ul {
    margin: 5px 0 35px;

    padding-left: 24px;
}

.article-body li {
    margin-bottom: 10px;

    color: var(--text);

    font-size: 16px;
    line-height: 1.8;
}


/* ARTICLE CTA */

.article-cta {
    max-width: 720px;

    margin: 80px auto 100px;

    padding: 55px 50px;

    background: var(--mint-light);

    border-radius: 6px;

    text-align: center;
}

.article-cta .eyebrow {
    display: block;

    margin-bottom: 14px;

    color: var(--mint);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.article-cta h2 {
    margin-bottom: 15px;

    color: var(--navy-dark);

    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.3;
}

.article-cta p {
    max-width: 520px;

    margin: 0 auto 25px;

    color: var(--muted);

    line-height: 1.8;
}


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

@media (max-width: 760px) {

    .article-header {
        padding: 65px 0 40px;
    }

    .article-header h1 {
        font-size: 38px;
        line-height: 1.25;
    }

    .article-intro {
        font-size: 16px;
    }

    .article-feature {
        margin-bottom: 45px;

        border-radius: 4px;
    }

    .article-body p {
        font-size: 16px;
        line-height: 1.9;
    }

    .article-body h2 {
        margin-top: 45px;

        font-size: 27px;
    }

    .article-body li {
        font-size: 15px;
    }

    .article-cta {
        margin: 65px auto 70px;

        padding: 40px 25px;
    }

}


/* =========================================
   ARTICLE SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .article-header {
        padding-top: 50px;
    }

    .article-header h1 {
        font-size: 34px;
    }

    .article-intro {
        font-size: 15.5px;
    }

    .article-body p {
        font-size: 15.5px;
    }

}

/* ARTICLE FONT */

.article-page,
.article-page * {
    font-family: "Kanit", sans-serif;
}


/* =========================================================
   ARTICLE TAGS
   Editorial Tag Cloud
   ========================================================= */

.article-tags {
    position: relative;

    display: flex;
    flex-wrap: wrap;
    align-items: baseline;

    max-width: 720px;

    margin: 80px auto 20px;
    padding: 28px 0 18px;

    border-top: 1px solid #dfe8e7;

    column-gap: 22px;
    row-gap: 3px;
}


/* small label */

.article-tags::before {
    content: "TAGS";

    position: absolute;
    top: -11px;
    left: 0;

    padding-right: 12px;

    background: #fff;

    color: #8a9a9f;

    font-family: "Kanit", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
}


/* ---------------------------------------------------------
   BASE
   --------------------------------------------------------- */

.article-tags span {
    position: relative;

    display: inline-block;

    color: #64777e;

    font-family: "Kanit", sans-serif;
    font-size: 13px;
    font-weight: 400;

    line-height: 1.8;

    transition:
        color .3s ease,
        transform .3s ease;
}


/* tiny architectural dot */

.article-tags span::before {
    content: "";

    display: inline-block;

    width: 4px;
    height: 4px;

    margin-right: 8px;

    border-radius: 50%;

    background: #35BFA7;

    vertical-align: 2px;

    opacity: .55;

    transition:
        transform .3s ease,
        opacity .3s ease;
}


/* ---------------------------------------------------------
   HIERARCHY
   --------------------------------------------------------- */

/* main keywords */

.article-tags span:nth-child(1),
.article-tags span:nth-child(2) {
    color: #123B5D;
    font-size: 17px;
    font-weight: 600;
}


/* medium */

.article-tags span:nth-child(3),
.article-tags span:nth-child(6) {
    font-size: 14px;
}


/* quiet keywords */

.article-tags span:nth-child(4),
.article-tags span:nth-child(7) {
    color: #8b9a9f;
    font-size: 12px;
}


/* ---------------------------------------------------------
   HOVER
   --------------------------------------------------------- */

.article-tags span:hover {
    color: #35BFA7;
    transform: translateY(-2px);
}

.article-tags span:hover::before {
    opacity: 1;
    transform: scale(1.5);
}


/* ---------------------------------------------------------
   SUBTLE MOVEMENT
   --------------------------------------------------------- */

.article-tags span:nth-child(1),
.article-tags span:nth-child(5) {
    animation: tagDrift 5s ease-in-out infinite;
}

.article-tags span:nth-child(5) {
    animation-delay: 1.8s;
}


@keyframes tagDrift {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }

}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .article-tags {
        margin-top: 55px;
        padding-top: 24px;

        column-gap: 15px;
        row-gap: 2px;
    }

    .article-tags span:nth-child(1),
    .article-tags span:nth-child(2) {
        font-size: 15px;
    }

    .article-tags span:nth-child(3),
    .article-tags span:nth-child(6) {
        font-size: 13px;
    }

}


.article-back {
    max-width: 720px;
    margin: 28px auto 0;
}

.article-back a {
    color: #64777e;
    font-family: "Kanit", sans-serif;
    font-size: 13px;
    text-decoration: none;
    transition: color .25s ease;
}

.article-back a:hover {
    color: #35BFA7;
}
