.healfit-knowledge,
.healfit-article { --hfk-reading: 760px; background: #fff; color: var(--healfit-ink); }
.healfit-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 24px; color: var(--healfit-muted); font-size: .875rem; }
.healfit-breadcrumb a { min-height: 36px; display: inline-flex; align-items: center; color: var(--healfit-primary) !important; }
.healfit-knowledge-hero,
.healfit-topic-hero { padding: 58px 0 64px; border-bottom: 1px solid var(--healfit-line); background: linear-gradient(155deg,#fff 0%,#faf4f5 100%); }
.healfit-knowledge-hero .healfit-shell,
.healfit-topic-hero .healfit-shell { max-width: 920px; }
.healfit-knowledge-hero h1,
.healfit-topic-hero h1 { max-width: 850px; margin: 0; color: var(--healfit-ink); font-size: clamp(2.3rem,5vw,3.6rem); line-height: 1.35; letter-spacing: -.035em; }
.healfit-knowledge-hero h1 + p,
.healfit-topic-hero h1 + p { max-width: 760px; margin: 17px 0 0; color: var(--healfit-muted); font-size: 1.125rem; line-height: 1.95; }
.healfit-knowledge-search { max-width: 690px; margin-top: 28px; }
.healfit-knowledge-search > label { display: block; margin-bottom: 8px; color: var(--healfit-ink); font-weight: 850; }
.healfit-knowledge-search > div { display: grid; grid-template-columns: 1fr auto; padding: 5px; border: 1px solid #d9c7ca; border-radius: 15px; background: #fff; box-shadow: var(--hf-shadow-sm); }
.healfit-knowledge-search input { min-width: 0; min-height: 50px; padding: 10px 14px; border: 0; background: transparent; color: var(--healfit-ink); font: inherit; font-size: 1rem; }
.healfit-knowledge-search input:focus { outline: 0; }
.healfit-knowledge-search > div:focus-within { outline: 3px solid rgba(154,29,51,.28); outline-offset: 3px; }
.healfit-knowledge-search button { min-width: 112px; min-height: 50px; padding: 8px 18px; border: 0; border-radius: 11px; background: var(--healfit-primary); color: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.healfit-knowledge-search button:hover { background: var(--healfit-primary-dark); }
.healfit-knowledge-section { padding: 72px 0; }
.healfit-knowledge-section--tint { border-block: 1px solid var(--healfit-line); background: #fbf7f8; }
.healfit-knowledge-heading { max-width: 720px; margin-bottom: 32px; }
.healfit-knowledge-heading h2 { margin: 0; font-size: clamp(1.75rem,3.5vw,2.35rem); line-height: 1.45; }
.healfit-knowledge-heading p { margin: 10px 0 0; color: var(--healfit-muted); font-size: 1rem; line-height: 1.85; }
.healfit-topic-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.healfit-topic-list a { min-height: 92px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--healfit-line); border-radius: 16px; background: #fff; transition: border-color .2s ease,transform .2s ease,box-shadow .2s ease; }
.healfit-topic-list a:hover,
.healfit-topic-list a:focus-visible { border-color: var(--healfit-primary); transform: translateY(-2px); box-shadow: var(--hf-shadow-sm); }
.healfit-topic-list span { font-weight: 850; line-height: 1.55; }
.healfit-topic-list small { margin-top: 9px; color: var(--healfit-muted); }
.healfit-knowledge-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.healfit-knowledge-grid--pillars { grid-template-columns: repeat(3,minmax(0,1fr)); }
.healfit-knowledge-card { min-width: 0; overflow: hidden; border: 1px solid var(--healfit-line); border-radius: 18px; background: #fff; transition: border-color .2s ease,transform .2s ease,box-shadow .2s ease; }
.healfit-knowledge-card:hover,
.healfit-knowledge-card:focus-within { border-color: rgba(154,29,51,.42); transform: translateY(-3px); box-shadow: var(--hf-shadow-sm); }
.healfit-knowledge-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--healfit-primary-soft); }
.healfit-knowledge-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.healfit-knowledge-card:hover .healfit-knowledge-card__media img { transform: scale(1.025); }
.healfit-knowledge-card__body { padding: 21px; }
.healfit-knowledge-card__topic,
.healfit-article-topic { min-height: 36px; display: inline-flex; align-items: center; color: var(--healfit-primary) !important; font-size: .875rem; font-weight: 850; }
.healfit-knowledge-card h3 { margin: 7px 0 9px; font-size: 1.2rem; line-height: 1.65; }
.healfit-knowledge-card h3 a::after { content: ""; position: absolute; inset: 0; }
.healfit-knowledge-card { position: relative; }
.healfit-knowledge-card__topic,
.healfit-knowledge-card__meta a { position: relative; z-index: 1; }
.healfit-knowledge-card p { margin: 0; color: var(--healfit-muted); font-size: 1rem; line-height: 1.85; }
.healfit-knowledge-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--healfit-line); color: var(--healfit-muted); font-size: .8125rem; }
.healfit-knowledge-card__meta a { min-height: 40px; display: inline-flex; align-items: center; color: var(--healfit-primary) !important; font-weight: 850; }
.healfit-knowledge-card--featured { border-top: 3px solid var(--healfit-primary); }
.healfit-knowledge-empty { padding: 30px; border: 1px dashed #d7c2c6; border-radius: 18px; background: #fff; }
.healfit-knowledge-empty h3,
.healfit-knowledge-empty p { margin: 0; }
.healfit-knowledge-empty p { margin-top: 7px; color: var(--healfit-muted); }
.healfit-knowledge-cta,
.healfit-topic-service { padding: 0 0 76px; background: #fff; }
.healfit-knowledge-cta > .healfit-shell,
.healfit-topic-service > .healfit-shell { min-height: 210px; display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 38px 44px; border: 1px solid #e2cdd1; border-radius: 24px; background: #faf3f5; }
.healfit-knowledge-cta h2,
.healfit-topic-service h2 { margin: 0; font-size: clamp(1.55rem,3vw,2rem); }
.healfit-knowledge-cta p,
.healfit-topic-service p { margin: 9px 0 0; color: var(--healfit-muted); }
.healfit-inline-link { color: var(--healfit-primary) !important; font-weight: 800; text-decoration: underline !important; text-underline-offset: 4px; }
.healfit-knowledge-cta > .healfit-shell > div:last-child,
.healfit-topic-service > .healfit-shell > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.healfit-pagination { margin-top: 34px; }
.healfit-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.healfit-pagination a,
.healfit-pagination span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 7px 11px; border: 1px solid var(--healfit-line); border-radius: 10px; }
.healfit-pagination .current { border-color: var(--healfit-primary); background: var(--healfit-primary); color: #fff; }

.healfit-article-header { padding: 48px 0 42px; border-bottom: 1px solid var(--healfit-line); background: #fbf7f8; }
.healfit-article-shell { width: min(1060px,calc(100% - 40px)); margin-inline: auto; }
.healfit-article-header h1 { max-width: 890px; margin: 10px 0 0; font-size: clamp(2.35rem,5vw,3.8rem); line-height: 1.38; letter-spacing: -.035em; }
.healfit-article-answer { max-width: var(--hfk-reading); margin-top: 24px; padding: 20px 22px; border-inline-start: 4px solid var(--healfit-primary); border-radius: 12px 0 0 12px; background: #fff; }
.healfit-article-answer strong { color: var(--healfit-primary-dark); }
.healfit-article-answer p { margin: 7px 0 0; color: #514649; font-size: 1.1rem; line-height: 1.9; }
.healfit-article-byline { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 28px; }
.healfit-article-byline > div { display: grid; gap: 2px; }
.healfit-article-byline span { color: var(--healfit-muted); font-size: .8125rem; }
.healfit-article-byline strong,
.healfit-article-byline a,
.healfit-article-byline time { color: var(--healfit-ink); font-size: .9375rem; font-weight: 750; }
.healfit-article-byline a { color: var(--healfit-primary) !important; }
.healfit-article-layout { display: grid; grid-template-columns: 230px minmax(0,var(--hfk-reading)); justify-content: center; align-items: start; gap: 52px; padding-block: 50px 76px; }
.healfit-article-layout > aside { min-width: 0; }
.healfit-article-toc { position: sticky; top: 104px; padding: 18px; border: 1px solid var(--healfit-line); border-radius: 15px; background: #fff; }
.healfit-article-toc strong { display: block; margin-bottom: 10px; color: var(--healfit-primary-dark); }
.healfit-article-toc ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.healfit-article-toc a { min-height: 38px; display: flex; align-items: center; color: var(--healfit-muted) !important; font-size: .875rem; line-height: 1.55; }
.healfit-article-toc a:hover { color: var(--healfit-primary) !important; }
.healfit-article-toc .is-level-3 { padding-inline-start: 12px; }
.healfit-article-main { min-width: 0; }
.healfit-article-cover { margin: 0 0 32px; overflow: hidden; border-radius: 20px; background: var(--healfit-primary-soft); }
.healfit-article-cover img { width: 100%; height: auto; display: block; }
.healfit-article-content { color: #382d2f; font-size: 1.125rem; line-height: 2.05; overflow-wrap: anywhere; }
.healfit-article-content > *:first-child { margin-top: 0; }
.healfit-article-content h2,
.healfit-article-content h3 { scroll-margin-top: 105px; color: var(--healfit-ink); line-height: 1.55; }
.healfit-article-content h2 { margin: 2.25em 0 .7em; font-size: 1.75rem; }
.healfit-article-content h3 { margin: 1.8em 0 .6em; font-size: 1.35rem; }
.healfit-article-content p,
.healfit-article-content ul,
.healfit-article-content ol { margin-block: 1.15em; }
.healfit-article-content a { color: var(--healfit-primary) !important; text-decoration: underline; text-underline-offset: 4px; }
.healfit-article-content blockquote { margin: 1.6em 0; padding: 17px 21px; border-inline-start: 4px solid var(--healfit-primary); background: #faf4f5; }
.healfit-article-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.healfit-article-content th,
.healfit-article-content td { padding: 12px; border: 1px solid var(--healfit-line); text-align: right; }
.healfit-article-content th { background: #f6edef; }
.healfit-key-takeaways,
.healfit-references { margin-top: 42px; padding: 25px; border-radius: 17px; }
.healfit-key-takeaways { border: 1px solid #dec7cc; background: #faf3f5; }
.healfit-references { border-top: 1px solid var(--healfit-line); border-radius: 0; }
.healfit-key-takeaways h2,
.healfit-references h2 { margin: 0 0 14px; font-size: 1.4rem; }
.healfit-key-takeaways ul,
.healfit-references ol { margin: 0; padding-inline-start: 22px; }
.healfit-key-takeaways li,
.healfit-references li { margin-block: 8px; line-height: 1.8; }
.healfit-references a { color: var(--healfit-primary) !important; text-decoration: underline; text-underline-offset: 4px; }
.healfit-medical-note { margin-top: 30px; padding: 15px; border-radius: 10px; background: #f7f7f8; color: var(--healfit-muted); font-size: .9375rem; }
.healfit-related-content { border-top: 1px solid var(--healfit-line); background: #fbfafb; }

@media (max-width: 900px) {
	.healfit-topic-list,
	.healfit-knowledge-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.healfit-article-layout { grid-template-columns: 1fr; gap: 24px; }
	.healfit-article-toc { position: static; }
}

@media (max-width: 640px) {
	.healfit-knowledge-hero,
	.healfit-topic-hero { padding: 34px 0 40px; }
	.healfit-breadcrumb { margin-bottom: 16px; }
	.healfit-knowledge-hero h1,
	.healfit-topic-hero h1,
	.healfit-article-header h1 { font-size: clamp(1.9rem,8.6vw,2.35rem); }
	.healfit-knowledge-hero h1 + p,
	.healfit-topic-hero h1 + p { margin-top: 12px; font-size: 1rem; line-height: 1.85; }
	.healfit-knowledge-search { margin-top: 22px; }
	.healfit-knowledge-search > div { grid-template-columns: 1fr; gap: 6px; padding: 6px; }
	.healfit-knowledge-search button { width: 100%; }
	.healfit-knowledge-section { padding: 48px 0; }
	.healfit-knowledge-heading { margin-bottom: 23px; }
	.healfit-topic-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
	.healfit-topic-list a { min-height: 88px; padding: 14px; }
	.healfit-topic-list span { font-size: .9375rem; }
	.healfit-knowledge-grid,
	.healfit-knowledge-grid--pillars { grid-template-columns: 1fr; gap: 12px; }
	.healfit-knowledge-card__body { padding: 18px; }
	.healfit-knowledge-card h3 { font-size: 1.15rem; }
	.healfit-knowledge-card__meta { align-items: flex-start; flex-direction: column; gap: 5px; }
	.healfit-knowledge-cta,
	.healfit-topic-service { padding-bottom: 56px; }
	.healfit-knowledge-cta > .healfit-shell,
	.healfit-topic-service > .healfit-shell { min-height: 0; align-items: stretch; flex-direction: column; padding: 28px 21px; border-radius: 18px; }
	.healfit-knowledge-cta .healfit-button,
	.healfit-topic-service .healfit-button { width: 100%; }
	.healfit-article-header { padding: 34px 0 30px; }
	.healfit-article-shell { width: min(100% - 28px,1060px); }
	.healfit-article-answer { margin-top: 19px; padding: 16px; }
	.healfit-article-answer p { font-size: 1rem; line-height: 1.85; }
	.healfit-article-byline { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
	.healfit-article-layout { padding-block: 30px 54px; }
	.healfit-article-toc { padding: 15px; }
	.healfit-article-content { font-size: 1rem; line-height: 1.95; }
	.healfit-article-content h2 { font-size: 1.5rem; }
	.healfit-article-content h3 { font-size: 1.25rem; }
	.healfit-article-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.healfit-key-takeaways,
	.healfit-references { margin-top: 32px; padding: 19px; }
}

@media (max-width: 374px) {
	.healfit-topic-list,
	.healfit-article-byline { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.healfit-knowledge * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
