/* =========================================================
   FIT50PLUS — NUTRITION ARTICLE DESIGN
   ========================================================= */

.article-page {
    background: #f8f7f2;
    color: #183f35;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.article-container {
    width: min(1100px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.article-breadcrumb {
    padding: 28px 0 10px;
    font-size: 14px;
    color: #68756f;
}

.article-breadcrumb a {
    color: #315f51;
    text-decoration: none;
}

.article-breadcrumb a:hover {
    text-decoration: underline;
}

.article-breadcrumb span {
    margin: 0 8px;
    color: #a1aaa5;
}


/* =========================================================
   ARTICLE HERO
   ========================================================= */

.article-hero {
    padding: 25px 0 65px;
}

.article-category-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #dfece5;
    color: #205443;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.article-hero h1 {
    max-width: 900px;
    margin: 20px 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(44px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: #164438;
}

.article-intro {
    max-width: 760px;
    margin: 0;
    font-size: 21px;
    line-height: 1.65;
    color: #465b54;
}


/* =========================================================
   HERO IMAGE
   ========================================================= */

.article-feature-image {
    margin-top: 45px;
    width: 100%;
    min-height: 470px;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            #dbe8df,
            #eef0e7
        );
    position: relative;
}

.article-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
}

.article-feature-placeholder {
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #557267;
    font-size: 14px;
    letter-spacing: 0.04em;
}


/* =========================================================
   ARTICLE LAYOUT
   ========================================================= */

.article-body-wrap {
    padding: 70px 0 90px;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 70px;
    align-items: start;
}

.article-body {
    max-width: 720px;
}


/* =========================================================
   QUICK TAKEAWAY
   ========================================================= */

.article-takeaway {
    margin-bottom: 50px;
    padding: 28px 30px;
    border-left: 5px solid #2f725d;
    border-radius: 0 18px 18px 0;
    background: #e6efe9;
}

.article-takeaway strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #205443;
}

.article-takeaway p {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    color: #294e43;
}


/* =========================================================
   ARTICLE TYPOGRAPHY
   ========================================================= */

.article-body h2 {
    margin: 58px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: #164438;
}

.article-body h3 {
    margin: 38px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.2;
    color: #205443;
}

.article-body p {
    margin: 0 0 22px;
    font-size: 18px;
    line-height: 1.85;
    color: #40554e;
}

.article-body ul,
.article-body ol {
    margin: 20px 0 28px;
    padding-left: 25px;
}

.article-body li {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.7;
    color: #40554e;
}

.article-body strong {
    color: #234f42;
}


/* =========================================================
   PRACTICAL TIP BOX
   ========================================================= */

.article-tip {
    margin: 38px 0;
    padding: 27px 28px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #dfe5df;
    box-shadow: 0 12px 35px rgba(22, 68, 56, 0.06);
}

.article-tip-title {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #164438;
}

.article-tip p {
    margin-bottom: 0;
    font-size: 16px;
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.article-sidebar {
    position: sticky;
    top: 30px;
}

.sidebar-card {
    padding: 25px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e0e5e0;
    box-shadow: 0 12px 35px rgba(22, 68, 56, 0.05);
}

.sidebar-card + .sidebar-card {
    margin-top: 18px;
}

.sidebar-card-label {
    display: block;
    margin-bottom: 10px;
    color: #6c7d76;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar-card h3 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    color: #164438;
}

.sidebar-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #596b64;
}

.sidebar-link {
    display: inline-block;
    margin-top: 15px;
    color: #205c4b;
    font-weight: 700;
    text-decoration: none;
}

.sidebar-link:hover {
    text-decoration: underline;
}


/* =========================================================
   REMEMBER BOX
   ========================================================= */

.article-remember {
    margin-top: 55px;
    padding: 32px;
    border-radius: 24px;
    background: #164438;
    color: #fff;
}

.article-remember h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 32px;
}

.article-remember p,
.article-remember li {
    color: #e7f0eb;
}

.article-remember ul {
    margin-bottom: 0;
}


/* =========================================================
   ARTICLE NAVIGATION
   ========================================================= */

.article-navigation {
    padding: 45px 0;
    border-top: 1px solid #dfe5df;
}

.article-navigation-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.article-nav-link {
    color: #205443;
    text-decoration: none;
    font-weight: 700;
}

.article-nav-link:hover {
    text-decoration: underline;
}


/* =========================================================
   RELATED GUIDES
   ========================================================= */

.related-articles {
    padding: 80px 0;
    background: #edf1eb;
}

.related-articles h2 {
    margin: 0 0 35px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    color: #164438;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.related-card {
    display: block;
    padding: 25px;
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    border: 1px solid #e0e5df;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(22, 68, 56, 0.08);
}

.related-card span {
    display: block;
    margin-bottom: 10px;
    color: #6d8178;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.related-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.2;
    color: #164438;
}


/* =========================================================
   BACK TO CATEGORY
   ========================================================= */

.article-end {
    padding: 60px 0;
    text-align: center;
}

.article-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 23px;
    border-radius: 999px;
    background: #164438;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.article-back-button:hover {
    transform: translateY(-2px);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: static;
    }

    .article-feature-image,
    .article-feature-image img,
    .article-feature-placeholder {
        min-height: 330px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .article-container {
        width: min(100% - 28px, 1100px);
    }

    .article-hero {
        padding-bottom: 40px;
    }

    .article-hero h1 {
        font-size: 48px;
    }

    .article-intro {
        font-size: 18px;
    }

    .article-feature-image {
        margin-top: 30px;
        border-radius: 20px;
    }

    .article-body-wrap {
        padding: 50px 0 65px;
    }

    .article-body p {
        font-size: 17px;
        line-height: 1.75;
    }

    .article-navigation-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-articles {
        padding: 60px 0;
    }

}