* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
}

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

a {
    text-decoration: none;
}

.site-shell {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
}

.health-topbar-wrap {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(10px);
}

.health-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
    padding: 12px 0;
}

.health-brand,
.health-site-title {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.health-site-title {
    margin: 0;
    line-height: 1;
    flex: 0 0 auto;
}

.health-site-title a {
    display: inline-flex;
    align-items: center;
}

.health-site-title-subpage {
    text-transform: uppercase;
}

.health-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.health-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.health-nav-link:hover,
.button-primary:hover,
.more-link:hover,
.tag:hover,
#up:hover,
.health-post-card:hover,
.health-post-thumb:hover {
    transform: translateY(-2px);
}

.health-home-hero {
    position: relative;
    min-height: min(86vh, 840px);
    display: flex;
    align-items: flex-end;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.health-home-overlay {
    position: absolute;
    inset: 0;
}

.hero-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 48px 0 56px;
}

.health-home-copy {
    max-width: 760px;
    padding: 38px 42px;
}

.hero-kicker,
.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.health-home-copy h1,
.health-home-copy .hero-title,
.section-head h1,
.section-head h2,
.article-header h1 {
    margin: 16px 0 14px;
    line-height: 1.05;
}

.hero-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.3rem, 4.8vw, 4.9rem);
}

.hero-lead,
.article-intro {
    margin: 0;
    max-width: 62ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button-primary,
.more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.health-home-main,
.health-article-page,
.health-tag-page {
    padding: 44px 0 52px;
}

.health-readmore,
.health-tags-block,
.article-single,
.site-footer {
    padding: 34px;
}

.health-readmore + .health-tags-block,
.article-single + .health-readmore,
.related-posts + .health-tags-block {
    margin-top: 28px;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.section-head.centered-head {
    justify-content: center;
    text-align: center;
}

.health-post-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.health-post-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    align-items: stretch;
    min-height: 220px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.health-post-thumb {
    display: block;
    min-height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.health-post-copy {
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.health-post-copy h3 {
    margin: 0 0 8px;
}

.health-post-date,
.article-date {
    display: block;
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
}

.health-post-copy p {
    margin: 0 0 18px;
}

.more-link {
    align-self: flex-start;
}

.article-single {
    margin-bottom: 0;
}

.article-header {
    max-width: 860px;
    margin-bottom: 28px;
}

.article-hero-image {
    overflow: hidden;
    margin: 0 0 28px;
}

.article-hero-image img {
    width: 100%;
    aspect-ratio: 16 / 8.2;
    object-fit: cover;
}

.article-content {
    width: 100%;
    max-width: none;
}

.article-content > :first-child {
    margin-top: 0;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
    margin: 0 0 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.tag {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.site-footer {
    margin-bottom: 34px;
}

.site-footer p {
    margin: 0;
    text-align: center;
}

#up {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 54px;
    border: 0;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease;
}

@media (max-width: 1120px) {
    .health-topbar {
        min-height: auto;
        padding: 14px 0;
        align-items: center;
        justify-content: center;
    }

    .health-nav {
        justify-content: center;
    }

    .health-post-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .health-post-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .health-post-thumb {
        min-height: 240px;
    }
}

@media (max-width: 720px) {
    .site-shell {
        width: min(100% - 24px, 1320px);
    }

    .health-home-hero {
        min-height: 66vh;
    }

    .hero-shell {
        padding: 26px 0 30px;
    }

    .health-home-copy,
    .health-readmore,
    .health-tags-block,
    .article-single,
    .site-footer {
        padding: 22px;
    }

    .health-post-copy {
        padding: 20px;
    }

    .button-primary,
    .more-link {
        width: 100%;
    }

    .health-nav {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }

    .health-nav-link {
        width: 100%;
    }

    .article-hero-image img {
        aspect-ratio: 16 / 10;
    }

    .tags {
        gap: 10px;
    }

    .tag {
        width: 100%;
        justify-content: center;
    }
}


.article-card.article-single {
    width: 100%;
}

@media (max-width: 980px) {
    .health-topbar {
        flex-direction: column;
        justify-content: center;
    }

    .health-site-title,
    .health-site-title-subpage {
        justify-content: center;
    }
}


/* health adjustments v6 */
.article-header {
    width: 100%;
    max-width: none;
}

.article-header h1,
.health-tag-page .section-head.centered-head h1 {
    font-size: clamp(calc(2.3rem - 5px), calc(4.8vw - 5px), calc(4.9rem - 5px));
}

.article-card.article-single,
.article-card.article-single .article-header,
.article-card.article-single .article-hero-image,
.article-card.article-single .article-content {
    width: 100%;
    max-width: none;
}


/* health typography adjustments */
.hero-title,
.health-home-copy .hero-title,
.health-home-copy h2.hero-title {
    font-size: clamp(1.53rem, 3.2vw, 3.27rem);
}

.article-header h1 {
    font-size: clamp(1.53rem, 3.2vw, 3.27rem);
}
