/**
 * NovaCare SEO Phase 2 — editorial authority and medical-review components.
 */

.nv-section-kicker {
	margin: 0 0 .7rem;
	color: var(--nv-color-gold);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
}

.nv-freshness {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem 1.25rem;
	color: #6b6356;
	font-size: .84rem;
}

.nv-freshness strong { color: #35453d; font-weight: 600; }

.nv-article { margin-top: -2rem; background: #fbfaf7; }
.nv-article-hero { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 9rem) 0 clamp(3.5rem, 7vw, 6rem); background: #f2eee7; }
.nv-article-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 8% 20%, rgba(184,150,90,.13), transparent 35%), linear-gradient(125deg, transparent 58%, rgba(45,71,57,.06)); pointer-events: none; }
.nv-article-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(18rem, .72fr); align-items: center; gap: clamp(2rem, 6vw, 6.5rem); }
.nv-article-hero h1 { max-width: 16ch; margin: 0; color: #1e2d26; font-size: clamp(2.7rem, 5.2vw, 5.4rem); font-weight: 500; line-height: .99; }
.nv-article-hero__intro { max-width: 64ch; margin: 1.6rem 0 1.8rem; color: #5f665f; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.75; }
.nv-article-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.5rem; color: #59635d; font-size: .88rem; }
.nv-article-hero__media { position: relative; margin: 0; min-height: 30rem; border-radius: 48% 48% 1.25rem 1.25rem; overflow: hidden; box-shadow: 0 30px 70px rgba(30,45,38,.17); }
.nv-article-hero__media::after { content: ""; position: absolute; inset: 1rem; border: 1px solid rgba(255,255,255,.58); border-radius: inherit; pointer-events: none; }
.nv-article-hero__media img { width: 100%; height: 100%; min-height: 30rem; object-fit: cover; }

.nv-article-layout { display: grid; grid-template-columns: 15rem minmax(0, 47rem); justify-content: center; align-items: start; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(4rem, 8vw, 7rem); }
.nv-toc { position: sticky; top: 7rem; padding: 1.5rem 0 1.5rem 1.25rem; border-left: 1px solid #d8cfbf; }
.nv-toc strong { color: #23382e; font-family: var(--nv-font-serif); font-size: 1.2rem; }
.nv-toc ol { display: grid; gap: .72rem; margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: toc; }
.nv-toc li { counter-increment: toc; display: grid; grid-template-columns: 1.5rem 1fr; gap: .35rem; }
.nv-toc li::before { content: "0" counter(toc); color: #b8965a; font-size: .72rem; padding-top: .2rem; }
.nv-toc a { color: #5e665f; font-size: .86rem; line-height: 1.45; text-decoration: none; }
.nv-toc a:hover { color: #1e2d26; }

.nv-article-body { min-width: 0; }
.nv-prose { color: #423f39; font-size: 1.05rem; line-height: 1.85; }
.nv-prose > p:first-child { font-size: 1.16rem; color: #2c3932; }
.nv-prose h2 { scroll-margin-top: 7rem; margin: 3.7rem 0 1.15rem; color: #1e2d26; font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 500; line-height: 1.14; }
.nv-prose h3 { margin: 2.2rem 0 .8rem; color: #2d4739; font-size: 1.35rem; }
.nv-prose ul, .nv-prose ol { padding-left: 1.25rem; }
.nv-prose li { margin-bottom: .55rem; }
.nv-prose a { color: #7e6035; font-weight: 600; }
.nv-prose blockquote { margin: 2.4rem 0; padding: 1.4rem 1.6rem; border-left: 3px solid #b8965a; background: #f3efe6; color: #3f4c45; }

.nv-related-treatment { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 3.5rem 0; padding: 2rem; border: 1px solid #ded7ca; background: #fff; }
.nv-related-treatment h2 { margin: 0; color: #1e2d26; font-size: 1.8rem; }
.nv-related-treatment p:not(.nv-section-kicker) { max-width: 43rem; margin: .7rem 0 0; color: #6b6356; }
.nv-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 3rem; padding: .75rem 1.25rem; border: 1px solid #2d4739; border-radius: 999px; background: #2d4739; color: #fff; font-size: .82rem; font-weight: 700; text-decoration: none; }
.nv-button:hover { background: #b8965a; border-color: #b8965a; color: #fff; }

.nv-reviewer { margin: 3.5rem 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid #dcd3c4; border-bottom: 1px solid #dcd3c4; background: linear-gradient(90deg, rgba(255,255,255,.82), rgba(242,238,231,.65)); }
.nv-reviewer__eyebrow { margin: 0 0 1rem; color: #8c6b3b; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nv-reviewer__body { display: flex; align-items: center; gap: 1.1rem; }
.nv-reviewer__photo { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; }
.nv-reviewer__identity { display: grid; gap: .18rem; color: #657068; font-size: .88rem; }
.nv-reviewer__name { color: #1e2d26; font-family: var(--nv-font-serif); font-size: 1.35rem; font-weight: 500; }
.nv-reviewer__date { margin-top: .35rem; }
.nv-reviewer__identity a { width: fit-content; margin-top: .4rem; color: #8c6b3b; font-weight: 600; }
.nv-reviewer__note { max-width: 60ch; margin: 1rem 0 0 6.6rem; color: #5f665f; font-size: .9rem; }

.nv-article-doctors { margin: 3.5rem 0; padding: 2rem 0; border-top: 1px solid #dcd3c4; border-bottom: 1px solid #dcd3c4; }
.nv-article-doctors h2 { margin: 0 0 1.25rem; color: #1e2d26; font-size: 1.8rem; font-weight: 500; }
.nv-article-doctors__list { display: flex; flex-wrap: wrap; gap: 1rem; }
.nv-article-doctors__list a { display: flex; min-width: min(100%, 17rem); align-items: center; gap: .9rem; padding: .8rem 1rem; border: 1px solid #ded7ca; background: #fff; color: #26382f; text-decoration: none; }
.nv-article-doctors__list img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; }
.nv-article-doctors__list span { display: grid; gap: .2rem; }
.nv-article-doctors__list strong { font-family: var(--nv-font-serif); font-size: 1.05rem; }
.nv-article-doctors__list small { color: #746d62; }

.nv-faq { margin: 4rem 0; }
.nv-faq h2 { color: #1e2d26; font-size: 2.2rem; font-weight: 500; }
.nv-faq details { border-top: 1px solid #dcd3c4; }
.nv-faq details:last-child { border-bottom: 1px solid #dcd3c4; }
.nv-faq summary { padding: 1.25rem 2.25rem 1.25rem 0; color: #273a31; font-weight: 600; cursor: pointer; }
.nv-faq details > div { padding: 0 1rem 1.25rem 0; color: #5f665f; }

.nv-article-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: 4rem 0 2rem; padding: clamp(2rem, 5vw, 3.5rem); background: #1e2d26; color: #e9e5dc; }
.nv-article-cta h2 { max-width: 15ch; margin: 0; color: #fff; font-size: clamp(1.9rem, 3vw, 2.8rem); font-weight: 500; }
.nv-article-cta p:not(.nv-section-kicker) { max-width: 42rem; margin-bottom: 0; color: #c8cec9; }
.nv-button--light { border-color: #d2b079; background: #d2b079; color: #1e2d26; }
.nv-article-disclaimer { margin: 2rem 0 0; padding-left: 1rem; border-left: 2px solid #b8965a; color: #76736d; font-size: .82rem; line-height: 1.65; }

.nv-related-articles, .nv-guides { padding: clamp(4rem, 7vw, 6.5rem) 0; background: #ebe6dd; }
.nv-related-articles h2, .nv-guides h2 { margin: 0 0 2rem; color: #1e2d26; font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; }
.nv-related-articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #cfc6b7; }
.nv-related-articles__grid a { display: flex; min-height: 11rem; flex-direction: column; justify-content: space-between; padding: 1.6rem; background: #f8f6f1; color: #26382f; text-decoration: none; }
.nv-related-articles__grid span { font-family: var(--nv-font-serif); font-size: 1.35rem; line-height: 1.25; }
.nv-related-articles__grid small { color: #827867; }
.nv-guides__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid #cfc6b7; }
.nv-guide-link { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem .25rem; border-bottom: 1px solid #cfc6b7; color: #273a31; font-family: var(--nv-font-serif); font-size: 1.25rem; text-decoration: none; }
.nv-guide-link:nth-child(odd) { margin-right: 2rem; }
.nv-guide-link svg { width: 1.3rem; flex: 0 0 auto; }

@media (max-width: 900px) {
	.nv-article-hero__grid { grid-template-columns: 1fr; }
	.nv-article-hero__media { min-height: 24rem; border-radius: 1rem; }
	.nv-article-hero__media img { min-height: 24rem; }
	.nv-article-layout { grid-template-columns: 1fr; }
	.nv-toc { position: static; padding: 1.4rem; border: 1px solid #ded7ca; background: #fff; }
	.nv-related-articles__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.nv-article-hero { padding-top: 4rem; }
	.nv-article-hero h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
	.nv-article-hero__media, .nv-article-hero__media img { min-height: 19rem; }
	.nv-related-treatment, .nv-article-cta { align-items: flex-start; flex-direction: column; }
	.nv-reviewer__body { align-items: flex-start; }
	.nv-reviewer__photo { width: 4.5rem; height: 4.5rem; }
	.nv-reviewer__note { margin-left: 0; }
	.nv-guides__grid { grid-template-columns: 1fr; }
	.nv-guide-link:nth-child(odd) { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.nv-toc a, .nv-button { scroll-behavior: auto; transition: none; }
}

