/* =========================================================
   FIT50PLUS — TOPIC PAGES
   pages.css
   ========================================================= */


/* =========================================================
   BASE
   ========================================================= */

.topic-hero,
.topic-intro,
.topic-guides,
.food-strip,
.topic-bottom,
.movement-callout,
.aging-principles {
    width: 100%;
}


/* =========================================================
   HERO
   ========================================================= */

.topic-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px;
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.72), transparent 34%),
        linear-gradient(135deg, #edf5ee 0%, #f7f8f3 48%, #e8f0e8 100%);
}

.topic-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    bottom: -220px;
    border-radius: 50%;
    background: rgba(110, 150, 112, .10);
}

.topic-hero-inner {
    position: relative;
    z-index: 2;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
}

.topic-hero-content {
    width: min(680px, 100%);
}

.topic-eyebrow,
.section-kicker {
    display: inline-block;
    margin-bottom: 18px;
    color: #5c805f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.topic-hero h1 {
    max-width: 700px;
    margin: 0 0 25px;
    color: #1f3024;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.topic-hero p {
    max-width: 610px;
    margin: 0 0 32px;
    color: #59645c;
    font-size: 19px;
    line-height: 1.7;
}

.topic-hero-note {
    width: 285px;
    flex: 0 0 285px;
    padding: 30px;
    border: 1px solid rgba(69, 103, 73, .12);
    border-radius: 24px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 20px 55px rgba(38, 64, 43, .08);
    backdrop-filter: blur(12px);
}

.topic-hero-note strong {
    display: block;
    margin-bottom: 10px;
    color: #29442d;
    font-size: 20px;
}

.topic-hero-note span {
    display: block;
    color: #69736b;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   HERO VARIATIONS
   ========================================================= */

.strength-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.75), transparent 35%),
        linear-gradient(135deg, #eef1e8 0%, #f8f6ef 50%, #e8ede1 100%);
}

.gut-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.75), transparent 35%),
        linear-gradient(135deg, #f4f0e6 0%, #faf8f2 50%, #edf0df 100%);
}

.exercise-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.75), transparent 35%),
        linear-gradient(135deg, #e8f0f1 0%, #f6f8f7 50%, #e8efea 100%);
}

.aging-hero {
    background:
        radial-gradient(circle at 80% 20%, rgba(255,255,255,.75), transparent 35%),
        linear-gradient(135deg, #eeeae4 0%, #faf8f4 50%, #e9eee7 100%);
}


/* =========================================================
   INTRO
   ========================================================= */

.topic-intro {
    padding: 100px 0 90px;
    background: #ffffff;
}

.narrow-container {
    max-width: 820px;
}

.topic-intro h2 {
    max-width: 760px;
    margin: 0 0 25px;
    color: #243328;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.topic-intro p {
    max-width: 760px;
    margin: 0 0 18px;
    color: #626c64;
    font-size: 17px;
    line-height: 1.85;
}


/* =========================================================
   GUIDE SECTION
   ========================================================= */

.topic-guides {
    padding: 100px 0;
    background: #f5f7f3;
}

.section-heading {
    margin-bottom: 55px;
}

.section-heading.centered {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 15px;
    color: #243328;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.section-heading p {
    margin: 0;
    color: #6a736c;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================================
   GUIDE GRID
   ========================================================= */

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-card {
    min-height: 235px;
    display: flex;
    gap: 20px;
    padding: 30px;
    border: 1px solid #e5e9e3;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(33, 52, 37, .045);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    border-color: #cdd9cd;
    box-shadow: 0 20px 45px rgba(33, 52, 37, .09);
}

.guide-number {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf3ed;
    color: #5e8062;
    font-size: 12px;
    font-weight: 800;
}

.guide-card h3 {
    margin: 2px 0 12px;
    color: #26362a;
    font-size: 20px;
    line-height: 1.3;
}

.guide-card p {
    margin: 0 0 20px;
    color: #707870;
    font-size: 14px;
    line-height: 1.65;
}

.guide-card a {
    color: #527657;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.guide-card a:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOD STRIP
   ========================================================= */

.food-strip {
    padding: 35px 0;
    background: #263a2b;
    color: #ffffff;
}

.food-strip-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.food-strip-content span {
    color: rgba(255,255,255,.65);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.food-strip-content strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    text-align: right;
}


/* =========================================================
   MOVEMENT CALLOUT
   ========================================================= */

.movement-callout {
    padding: 90px 0;
    background:
        linear-gradient(135deg, #e8f0ed, #f8faf7);
}

.movement-callout-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.movement-callout h2 {
    margin: 0 0 18px;
    color: #25372a;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -.035em;
}

.movement-callout p {
    max-width: 620px;
    margin: auto;
    color: #667067;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   AGING PRINCIPLES
   ========================================================= */

.aging-principles {
    padding: 100px 0;
    background: #ffffff;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.principle {
    padding: 30px;
    border: 1px solid #e5e9e3;
    border-radius: 20px;
    background: #f9faf8;
}

.principle > span {
    display: block;
    margin-bottom: 35px;
    color: #729075;
    font-size: 12px;
    font-weight: 800;
}

.principle strong {
    display: block;
    margin-bottom: 10px;
    color: #29392d;
    font-size: 21px;
}

.principle p {
    margin: 0;
    color: #707870;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   BOTTOM CTA
   ========================================================= */

.topic-bottom {
    padding: 90px 0;
    background: #ffffff;
}

.topic-bottom-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 55px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, #eef4ed, #f7f8f4);
}

.topic-bottom-card h2 {
    max-width: 700px;
    margin: 0 0 14px;
    color: #26372a;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.topic-bottom-card p {
    max-width: 650px;
    margin: 0;
    color: #69736c;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   BUTTON
   ========================================================= */

.topic-hero .button,
.topic-bottom .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 999px;
    background: #365b3c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition:
        transform .2s ease,
        background .2s ease;
}

.topic-hero .button:hover,
.topic-bottom .button:hover {
    transform: translateY(-2px);
    background: #29482f;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .topic-hero {
        padding: 85px 0 75px;
    }

    .topic-hero-inner {
        gap: 40px;
    }

    .topic-hero-note {
        flex-basis: 250px;
    }

    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .topic-hero {
        padding: 65px 0 55px;
    }

    .topic-hero-inner {
        min-height: 0;
        display: block;
    }

    .topic-hero h1 {
        font-size: 44px;
    }

    .topic-hero p {
        font-size: 16px;
    }

    .topic-hero-note {
        width: 100%;
        margin-top: 35px;
        padding: 24px;
    }

    .topic-intro,
    .topic-guides,
    .aging-principles {
        padding: 70px 0;
    }

    .topic-intro h2 {
        font-size: 34px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .guide-card {
        min-height: auto;
    }

    .food-strip {
        padding: 28px 0;
    }

    .food-strip-content {
        display: block;
    }

    .food-strip-content strong {
        display: block;
        margin-top: 10px;
        text-align: left;
    }

    .movement-callout {
        padding: 70px 0;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .topic-bottom {
        padding: 65px 0;
    }

    .topic-bottom-card {
        display: block;
        padding: 35px 25px;
    }

    .topic-bottom-card .button {
        margin-top: 28px;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {

    .topic-hero h1 {
        font-size: 38px;
    }

    .guide-card {
        padding: 24px;
    }

    .guide-card h3 {
        font-size: 18px;
    }

    .topic-bottom-card h2 {
        font-size: 31px;
    }

}