/* =========================================================
   GLOBAL HEALTH EXPLORERS
   PERSONAL CARE & PREVENTIVE HEALTH HUB
   Production CSS
   ========================================================= */


/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

:root {
    --navy: #0b2d4d;
    --navy-2: #12355b;
    --navy-3: #176b82;

    --blue: #1597d4;
    --blue-light: #e8f6ff;

    --teal: #197c88;
    --teal-light: #e9f8f7;

    --green: #2e8b72;

    --ink: #17324d;
    --muted: #5d7184;

    --line: #dbe5ec;
    --soft: #f4f8fb;

    --white: #ffffff;

    --shadow-sm:
        0 7px 22px rgba(11, 45, 77, 0.07);

    --shadow:
        0 14px 35px rgba(11, 45, 77, 0.11);

    --shadow-lg:
        0 20px 48px rgba(11, 45, 77, 0.16);

    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 24px;

    --max: 1160px;

    --transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        color 0.22s ease;
}


/* =========================================================
   02. RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--ink);
    background: var(--white);

    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

p {
    max-width: 850px;
}

::selection {
    background: var(--blue);
    color: var(--white);
}


/* =========================================================
   03. SHARED CONTAINERS
   ========================================================= */

.container,
.nav-inner,
.hero-inner,
.footer-inner {
    width: min(
        var(--max),
        calc(100% - 40px)
    );

    margin-inline: auto;
}


/* =========================================================
   04. ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid #70d0ec;
    outline-offset: 4px;
}

a:focus-visible {
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   05. SITE HEADER / NAVIGATION
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background:
        rgba(11, 45, 77, 0.98);

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.12);
}

.site-nav {
    min-height: 76px;
}

.nav-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


/* ---------- Brand ---------- */

.brand {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    color: var(--white);

    flex-shrink: 0;
}

.nav-logo-image {
    width: 47px;
    height: 47px;

    object-fit: cover;

    border-radius: 50%;

    background: var(--white);

    border: 2px solid
        rgba(255, 255, 255, 0.75);

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.15);
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.15;
}

.brand-text strong {
    font-size: 1rem;
    font-weight: 800;

    letter-spacing: 0.01em;
}

.brand-text small {
    margin-top: 4px;

    font-size: 0.68rem;
    line-height: 1.3;

    opacity: 0.82;

    letter-spacing: 0.03em;
}


/* ---------- Navigation Links ---------- */

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 5px;
}

.nav-links a {
    color:
        rgba(255, 255, 255, 0.9);

    padding: 9px 11px;

    border-radius: 999px;

    font-size: 0.84rem;
    font-weight: 700;

    white-space: nowrap;

    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--navy);
    background: var(--white);

    transform: translateY(-1px);
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
    color: var(--navy);
    background: var(--white);

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   06. HERO
   ========================================================= */

.hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(21, 151, 212, 0.25),
            transparent 34%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(25, 124, 136, 0.22),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--navy) 0%,
            var(--navy-2) 58%,
            var(--navy-3) 100%
        );

    color: var(--white);

    padding: 78px 0 72px;
}

.hero::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -150px;
    top: -160px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    box-shadow:
        0 0 0 30px rgba(255, 255, 255, 0.018),
        0 0 0 60px rgba(255, 255, 255, 0.012);
}

.hero-inner {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        220px;

    align-items: center;

    gap: 55px;
}

.hero-copy {
    min-width: 0;
}


/* ---------- Hero typography ---------- */

.hero-kicker {
    display: block;

    margin-bottom: 13px;

    color: #8edbff;

    font-size: 0.74rem;
    font-weight: 900;

    line-height: 1.4;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}

.hero h1 {
    max-width: 900px;

    margin-bottom: 22px;

    color: var(--white);

    font-size:
        clamp(
            2.55rem,
            6vw,
            4.8rem
        );

    line-height: 1.02;

    letter-spacing: -0.04em;
}

.hero-lead {
    max-width: 800px;

    color:
        rgba(255, 255, 255, 0.9);

    font-size: 1.13rem;

    line-height: 1.75;
}


/* ---------- Spatial pathway ---------- */

.pathway {
    margin-top: 28px;

    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 8px;
}

.pathway span {
    padding: 7px 12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.24);

    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.08);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.07em;

    white-space: nowrap;
}

.pathway i {
    color: #8edbff;

    font-style: normal;

    font-weight: 700;
}


/* ---------- Hero principle ---------- */

.hero-principle {
    max-width: 700px;

    margin-top: 25px;

    padding: 15px 18px;

    border-left:
        4px solid
        #70d0ec;

    border-radius:
        0 12px 12px 0;

    background:
        rgba(255, 255, 255, 0.08);
}

.hero-principle strong {
    display: block;

    color: #8edbff;

    font-size: 0.7rem;
    font-weight: 900;

    letter-spacing: 0.13em;
}

.hero-principle span {
    display: block;

    margin-top: 4px;

    color:
        rgba(255, 255, 255, 0.94);
}


/* ---------- Hero emblem ---------- */

.hero-emblem {
    display: grid;

    justify-items: center;

    gap: 15px;

    text-align: center;

    color:
        rgba(255, 255, 255, 0.78);

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 0.12em;
}

.emblem-ring {
    width: 172px;
    height: 172px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border:
        2px solid
        rgba(255, 255, 255, 0.5);

    box-shadow:
        0 0 0 12px
        rgba(255, 255, 255, 0.05),

        0 0 0 25px
        rgba(255, 255, 255, 0.025);
}

.emblem-core {
    width: 118px;
    height: 118px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--white);

    color: var(--navy);

    font-size: 1.8rem;
    font-weight: 950;

    letter-spacing: 0.04em;

    box-shadow:
        0 8px 22px
        rgba(0, 0, 0, 0.14);
}


/* =========================================================
   07. GENERAL SECTIONS
   ========================================================= */

.section {
    padding: 78px 0;
}

.section-light {
    background: var(--white);
}

.section-soft {
    background: var(--soft);
}

.section-dark {
    background: var(--navy);

    color: var(--white);
}


/* =========================================================
   08. SECTION HEADINGS
   ========================================================= */

.section-toolbar {
    margin-bottom: 28px;
}

.section-toolbar > span {
    display: block;

    margin-bottom: 7px;

    color: var(--blue);

    font-size: 0.74rem;
    font-weight: 900;

    line-height: 1.4;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}

.section-toolbar h2 {
    max-width: 900px;

    color: var(--navy);

    font-size:
        clamp(
            1.8rem,
            3.2vw,
            2.7rem
        );

    line-height: 1.14;

    letter-spacing: -0.025em;
}

.section-toolbar h2::after {
    content: "";

    display: block;

    width: 58px;
    height: 4px;

    margin-top: 13px;

    border-radius: 999px;

    background: var(--blue);
}

.toolbar-dark > span {
    color: #8edbff;
}

.toolbar-dark h2 {
    color: var(--white);
}

.toolbar-dark h2::after {
    background: #70d0ec;
}

.section-intro {
    max-width: 850px;

    margin-bottom: 30px;

    color: var(--muted);
}

.dark-intro {
    color:
        rgba(255, 255, 255, 0.78);
}


/* =========================================================
   09. QUICK ACCESS
   ========================================================= */

.quick-access {
    padding: 27px 0;

    background: #edf7fc;

    border-bottom:
        1px solid
        var(--line);
}

.quick-access .section-toolbar {
    margin-bottom: 15px;
}

.quick-access .section-toolbar h2 {
    font-size: 1.35rem;
}

.quick-access .section-toolbar h2::after {
    display: none;
}

.quick-grid {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.quick-grid a {
    display: inline-flex;
    align-items: center;

    padding: 9px 15px;

    border:
        1px solid
        #cfe0ea;

    border-radius: 999px;

    background: var(--white);

    color: var(--navy);

    font-size: 0.82rem;
    font-weight: 800;

    transition: var(--transition);
}

.quick-grid a:hover {
    border-color: var(--blue);

    color: var(--blue);

    transform: translateY(-2px);

    box-shadow:
        0 5px 14px
        rgba(11, 45, 77, 0.08);
}


/* =========================================================
   10. INTRODUCTION
   ========================================================= */

.intro-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(260px, 0.8fr);

    gap: 45px;

    align-items: start;
}

.intro-grid p + p {
    margin-top: 16px;
}

.intro-callout {
    padding: 25px;

    background:
        var(--blue-light);

    border:
        1px solid
        #c9e8f7;

    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.intro-callout strong {
    display: block;

    margin-bottom: 12px;

    color: var(--navy);

    font-size: 1.05rem;
}

.intro-callout p {
    margin-bottom: 5px;
}

.intro-callout p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   11. TOPIC CARD GRID
   ========================================================= */

.topic-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 22px;
}

.topic-grid.four-up {
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
}


/* =========================================================
   12. TOPIC CARDS
   ========================================================= */

.topic-card {
    position: relative;

    min-height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border:
        1px solid
        var(--line);

    border-radius: var(--radius);

    background: var(--white);

    color: var(--ink);

    box-shadow:
        0 7px 22px
        rgba(11, 45, 77, 0.06);

    transition: var(--transition);
}

.topic-card:hover {
    transform: translateY(-5px);

    border-color: #a8d8eb;

    box-shadow: var(--shadow);
}

.topic-card:focus-visible {
    outline:
        3px solid
        var(--blue);

    outline-offset: 4px;
}


/* ---------- Card number ---------- */

.card-number {
    margin-bottom: 10px;

    color: var(--blue);

    font-size: 0.76rem;
    font-weight: 900;

    line-height: 1.2;

    letter-spacing: 0.11em;
}


/* ---------- Card kicker ---------- */

.card-kicker {
    display: block;

    margin-bottom: 7px;

    color: var(--teal);

    font-size: 0.66rem;
    font-weight: 900;

    line-height: 1.35;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}


/* ---------- Card heading ---------- */

.topic-card h3 {
    margin-bottom: 11px;

    color: var(--navy);

    font-size: 1.32rem;

    line-height: 1.18;

    letter-spacing: -0.015em;
}


/* ---------- Card text ---------- */

.topic-card p {
    color: var(--muted);

    font-size: 0.92rem;

    line-height: 1.65;
}


/* ---------- Card CTA ---------- */

.topic-card strong {
    display: inline-block;

    margin-top: auto;
    padding-top: 18px;

    color: var(--blue);

    font-size: 0.85rem;
    font-weight: 900;
}


/* ---------- Standard featured card ---------- */

.featured-card {
    padding: 27px;
}

.featured-card > div:last-child {
    display: flex;
    flex-direction: column;

    flex: 1;
}


/* =========================================================
   13. IMAGE CARDS
   ========================================================= */

.image-card {
    display: flex;
    flex-direction: column;
}

.topic-image {
    height: 170px;

    overflow: hidden;

    background: #dceaf1;
}

.topic-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

.image-card:hover .topic-image img {
    transform: scale(1.045);
}


/* ---------- Dual injury-prevention images ---------- */

.topic-image.dual-image {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 2px;

    background: var(--white);
}

.topic-image.dual-image img {
    min-width: 0;
}


/* ---------- Image card content ---------- */

.card-body {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 25px;
}

.card-body strong {
    margin-top: auto;
    padding-top: 18px;
}


/* =========================================================
   14. DARK TOPIC CARDS
   ========================================================= */

.topic-card.dark-card {
    padding: 27px;

    border:
        1px solid
        rgba(255, 255, 255, 0.13);

    background:
        linear-gradient(
            145deg,
            #12355b 0%,
            #0b2d4d 100%
        );

    color: var(--white);

    box-shadow:
        0 12px 28px
        rgba(0, 0, 0, 0.16);
}

.topic-card.dark-card:hover {
    border-color:
        rgba(112, 208, 236, 0.55);

    background:
        linear-gradient(
            145deg,
            #16436c 0%,
            #0b2d4d 100%
        );

    box-shadow:
        0 18px 38px
        rgba(0, 0, 0, 0.22);
}

.topic-card.dark-card .card-number {
    color: #8edbff;
}

.topic-card.dark-card .card-kicker {
    color: #78d8d1;
}

.topic-card.dark-card h3 {
    color: var(--white);
}

.topic-card.dark-card p {
    color:
        rgba(255, 255, 255, 0.76);
}

.topic-card.dark-card strong {
    color: #8edbff;
}


/* =========================================================
   15. COMPLETE 12-MODULE INDEX
   ========================================================= */

.module-index {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 14px;
}

.module-index a {
    min-height: 105px;

    display: grid;

    grid-template-columns:
        48px
        minmax(0, 1fr);

    grid-template-rows:
        auto
        auto;

    column-gap: 14px;

    align-content: center;

    padding: 18px 19px;

    border:
        1px solid
        var(--line);

    border-radius: var(--radius-sm);

    background: var(--white);

    box-shadow:
        0 5px 17px
        rgba(11, 45, 77, 0.045);

    transition: var(--transition);
}

.module-index a:hover {
    transform: translateY(-3px);

    border-color:
        #a8d8eb;

    box-shadow:
        var(--shadow-sm);
}

.module-index a > span {
    grid-row: 1 / span 2;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        var(--blue-light);

    color: var(--blue);

    font-size: 0.76rem;
    font-weight: 900;

    letter-spacing: 0.04em;
}

.module-index strong {
    align-self: end;

    color: var(--navy);

    font-size: 0.93rem;

    line-height: 1.3;
}

.module-index small {
    align-self: start;

    margin-top: 3px;

    color: var(--muted);

    font-size: 0.75rem;

    line-height: 1.3;
}


/* =========================================================
   16. SOCIAL DETERMINANTS OF HEALTH
   ========================================================= */

.sdh-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(260px, 0.9fr);

    gap: 45px;

    align-items: center;
}

.sdh-grid p + p {
    margin-top: 16px;
}

.sdh-pillars {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 10px;
}

.sdh-pillars span {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 8px 12px;

    border:
        1px solid
        #cfe0ea;

    border-radius: 999px;

    background:
        var(--soft);

    color: var(--navy);

    font-size: 0.73rem;
    font-weight: 900;

    letter-spacing: 0.08em;

    text-align: center;
}


/* =========================================================
   17. GHE EDUCATIONAL PATHWAY
   ========================================================= */

.learning-path {
    display: grid;

    grid-template-columns:
        repeat(
            6,
            minmax(0, 1fr)
        );

    gap: 13px;
}

.learning-path > div {
    min-height: 150px;

    display: flex;
    flex-direction: column;

    padding: 20px;

    border:
        1px solid
        var(--line);

    border-radius: var(--radius);

    background: var(--white);

    box-shadow:
        0 6px 20px
        rgba(11, 45, 77, 0.05);

    transition: var(--transition);
}

.learning-path > div:hover {
    transform: translateY(-3px);

    border-color:
        #a8d8eb;

    box-shadow:
        var(--shadow-sm);
}

.learning-path b {
    width: 35px;
    height: 35px;

    display: grid;
    place-items: center;

    margin-bottom: 16px;

    border-radius: 50%;

    background:
        var(--navy);

    color: var(--white);

    font-size: 0.78rem;
}

.learning-path span {
    display: block;

    color: var(--navy);

    font-size: 1rem;
    font-weight: 900;

    line-height: 1.2;
}

.learning-path small {
    display: block;

    margin-top: 7px;

    color: var(--muted);

    font-size: 0.76rem;

    line-height: 1.45;
}


/* =========================================================
   18. FINAL CTA
   ========================================================= */

.cta {
    position: relative;

    overflow: hidden;

    padding: 82px 0;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(21, 151, 212, 0.25),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--navy) 0%,
            var(--navy-2) 60%,
            var(--navy-3) 100%
        );

    color: var(--white);
}

.cta::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -120px;
    bottom: -150px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);
}

.cta-inner {
    position: relative;

    z-index: 1;

    text-align: center;
}

.cta-inner .hero-kicker {
    margin-bottom: 12px;
}

.cta h2 {
    max-width: 850px;

    margin-inline: auto;

    color: var(--white);

    font-size:
        clamp(
            2rem,
            4vw,
            3.25rem
        );

    line-height: 1.1;

    letter-spacing: -0.025em;
}

.cta p {
    max-width: 760px;

    margin: 20px auto 0;

    color:
        rgba(255, 255, 255, 0.8);

    font-size: 1.02rem;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}


/* =========================================================
   19. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 11px 20px;

    border-radius: 999px;

    font-size: 0.86rem;
    font-weight: 800;

    transition: var(--transition);
}

.btn-primary {
    background: var(--white);

    color: var(--navy);
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.18);
}

.btn-secondary {
    border:
        1px solid
        rgba(255, 255, 255, 0.35);

    background:
        rgba(255, 255, 255, 0.08);

    color: var(--white);
}

.btn-secondary:hover {
    background:
        rgba(255, 255, 255, 0.16);

    border-color:
        rgba(255, 255, 255, 0.65);

    transform: translateY(-2px);
}


/* =========================================================
   20. SITE FOOTER
   ========================================================= */

.site-footer {
    background:
        linear-gradient(
            135deg,
            #071f35 0%,
            #0b2d4d 100%
        );

    color: var(--white);

    padding: 42px 0;
}

.footer-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 35px;
}


/* ---------- Footer brand ---------- */

.footer-brand {
    display: flex;

    align-items: center;

    gap: 13px;

    min-width: 0;
}

.footer-logo-image {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 50%;

    background: var(--white);

    border:
        2px solid
        rgba(255, 255, 255, 0.7);
}

.footer-brand > div {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    font-size: 0.94rem;

    line-height: 1.3;
}

.footer-brand span {
    margin-top: 4px;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 0.72rem;

    line-height: 1.4;
}


/* ---------- Footer legal ---------- */

.footer-legal {
    text-align: right;
}

.footer-legal p {
    color:
        rgba(255, 255, 255, 0.58);

    font-size: 0.68rem;

    line-height: 1.55;
}

.footer-legal p + p {
    margin-top: 4px;
}


/* =========================================================
   21. LARGE TABLETS
   ========================================================= */

@media (max-width: 1050px) {

    .nav-inner {
        gap: 18px;
    }

    .nav-links {
        gap: 3px;
    }

    .nav-links a {
        padding-inline: 9px;

        font-size: 0.78rem;
    }

    .hero-inner {
        grid-template-columns:
            minmax(0, 1fr)
            190px;

        gap: 35px;
    }

    .emblem-ring {
        width: 150px;
        height: 150px;
    }

    .emblem-core {
        width: 105px;
        height: 105px;
    }

    .topic-grid.four-up {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .learning-path {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

    .module-index {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }
}


/* =========================================================
   22. TABLETS
   ========================================================= */

@media (max-width: 820px) {

    .container,
    .nav-inner,
    .hero-inner,
    .footer-inner {
        width: min(
            var(--max),
            calc(100% - 30px)
        );
    }

    .site-nav,
    .nav-inner {
        min-height: auto;
    }

    .nav-inner {
        padding: 12px 0;

        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

    .nav-links {
        width: 100%;

        justify-content: flex-start;
    }

    .nav-links a {
        padding: 8px 10px;
    }

    .hero {
        padding: 65px 0 58px;
    }

    .hero-inner {
        grid-template-columns: 1fr;

        gap: 38px;
    }

    .hero-emblem {
        justify-self: start;

        grid-template-columns:
            auto
            auto;

        align-items: center;

        text-align: left;
    }

    .emblem-ring {
        width: 125px;
        height: 125px;
    }

    .emblem-core {
        width: 90px;
        height: 90px;

        font-size: 1.45rem;
    }

    .intro-grid,
    .sdh-grid {
        grid-template-columns: 1fr;

        gap: 28px;
    }

    .topic-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .module-index {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .learning-path {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .footer-inner {
        align-items: flex-start;

        flex-direction: column;
    }

    .footer-legal {
        text-align: left;
    }
}


/* =========================================================
   23. MOBILE
   ========================================================= */

@media (max-width: 620px) {

    html {
        scroll-padding-top: 145px;
    }

    .container,
    .nav-inner,
    .hero-inner,
    .footer-inner {
        width: min(
            var(--max),
            calc(100% - 24px)
        );
    }


    /* ---------- Navigation ---------- */

    .site-nav {
        min-height: 0;
    }

    .nav-inner {
        padding: 10px 0 12px;
    }

    .brand-text small {
        display: none;
    }

    .nav-logo-image {
        width: 42px;
        height: 42px;
    }

    .brand-text strong {
        font-size: 0.9rem;
    }

    .nav-links {
        display: grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        width: 100%;

        gap: 5px;
    }

    .nav-links a {
        padding: 8px 7px;

        font-size: 0.72rem;

        text-align: center;
    }


    /* ---------- Hero ---------- */

    .hero {
        padding: 53px 0 50px;
    }

    .hero h1 {
        font-size:
            clamp(
                2.35rem,
                12vw,
                3.4rem
            );
    }

    .hero-lead {
        font-size: 1rem;
    }

    .pathway {
        gap: 6px;
    }

    .pathway span {
        padding: 6px 9px;

        font-size: 0.64rem;
    }

    .pathway i {
        font-size: 0.8rem;
    }

    .hero-principle {
        padding: 13px 15px;

        font-size: 0.88rem;
    }

    .hero-emblem {
        grid-template-columns:
            100px
            auto;

        gap: 13px;
    }

    .emblem-ring {
        width: 100px;
        height: 100px;
    }

    .emblem-core {
        width: 72px;
        height: 72px;

        font-size: 1.15rem;
    }

    .hero-emblem {
        font-size: 0.6rem;
    }


    /* ---------- Sections ---------- */

    .section {
        padding: 58px 0;
    }

    .section-toolbar {
        margin-bottom: 22px;
    }

    .section-toolbar h2 {
        font-size: 1.8rem;
    }

    .section-intro {
        margin-bottom: 23px;
    }


    /* ---------- Quick access ---------- */

    .quick-access {
        padding: 22px 0;
    }

    .quick-grid {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        gap: 8px;
    }

    .quick-grid a {
        justify-content: center;

        padding: 9px 8px;

        font-size: 0.72rem;

        text-align: center;
    }


    /* ---------- Topic cards ---------- */

    .topic-grid,
    .topic-grid.four-up {
        grid-template-columns: 1fr;
    }

    .topic-image {
        height: 190px;
    }

    .featured-card,
    .card-body,
    .topic-card.dark-card {
        padding: 23px;
    }


    /* ---------- Module index ---------- */

    .module-index {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .module-index a {
        min-height: 88px;

        padding: 15px;
    }


    /* ---------- SDH ---------- */

    .sdh-pillars {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    /* ---------- Learning pathway ---------- */

    .learning-path {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .learning-path > div {
        min-height: auto;

        display: grid;

        grid-template-columns:
            42px
            1fr;

        grid-template-rows:
            auto
            auto;

        column-gap: 13px;

        padding: 16px;
    }

    .learning-path b {
        grid-row: 1 / span 2;

        margin: 0;
    }

    .learning-path span {
        align-self: end;
    }

    .learning-path small {
        align-self: start;

        margin-top: 3px;
    }


    /* ---------- CTA ---------- */

    .cta {
        padding: 65px 0;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 0.94rem;
    }

    .cta-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        width: 100%;
    }


    /* ---------- Footer ---------- */

    .site-footer {
        padding: 34px 0;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-logo-image {
        width: 43px;
        height: 43px;
    }

    .footer-legal p {
        font-size: 0.64rem;
    }
}


/* =========================================================
   24. VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 390px) {

    .nav-links {
        grid-template-columns: 1fr;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .pathway span {
        font-size: 0.58rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .sdh-pillars {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   END
   PERSONAL CARE & PREVENTIVE HEALTH HUB
   Global Health Explorers
   ========================================================= */
