.orthopedics-page {
  --heading-color: #987d41;
  --ortho-ink: #25343a;
  --ortho-gold: #cdb06d;
}
.ortho-skip-link { position: fixed; top: -100px; left: 16px; z-index: 2000; padding: 12px 20px; background: white; }
.ortho-skip-link:focus { top: 12px; }
.orthopedics-page :is(a, button, summary, input):focus-visible { outline: 3px solid #987d41; outline-offset: 4px; }
.orthopedics-page .mobile-nav-toggle { border: 0; background: transparent; padding: 4px; line-height: 1; }
.ortho-topline { font-size: 13px; }
.ortho-anatomy-icon {
  display: inline-block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  background-color: currentColor;
  -webkit-mask: var(--anatomy-icon) center / contain no-repeat;
  mask: var(--anatomy-icon) center / contain no-repeat;
}
.ortho-icon-knee { --anatomy-icon: url('../img/icons/knee.svg'); }
.ortho-icon-hip { --anatomy-icon: url('../img/icons/hip.svg?v=2'); }
.ortho-icon-shoulder { --anatomy-icon: url('../img/icons/shoulder.svg'); }
.ortho-icon-neck { --anatomy-icon: url('../img/icons/neck.svg'); }
.ortho-icon-back { --anatomy-icon: url('../img/icons/back.svg'); }
.hero-concern-grid .ortho-anatomy-icon { flex-basis: 30px; width: 30px; height: 30px; }
.orthopedics-page .header .topbar, .orthopedics-page .header .topbar a { color: white; }
/* Let the contact bar scroll out naturally without shifting section positions. */
.orthopedics-page .header { top: -40px; }
.orthopedics-page.scrolled .header .topbar { height: 40px; visibility: visible; overflow: visible; }
.orthopedics-page .hero { min-height: 780px; padding: 62px 0 50px; }
.orthopedics-page .hero > img { object-position: center top; }
.orthopedics-page .hero .welcome { max-width: 570px; }
.orthopedics-page .hero .welcome h1 { color: #806a39; font-size: clamp(34px, 3.2vw, 46px); line-height: 1.13; margin: 8px 0 12px; }
.orthopedics-page .hero .welcome .ortho-hero-intro { color: var(--accent-color); font-size: 17px; line-height: 1.5; max-width: 540px; }
.orthopedics-page .ortho-eyebrow { color: var(--accent-color); font-size: 12px; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 12px; }
.orthopedics-page .hero .content { --bs-gutter-y: 0; margin-top: 0; padding-top: 24px; }
.orthopedics-page .hero .welcome .ortho-eyebrow { font-size: 12px; padding-top: 0; }
.orthopedics-page .hero .why-box { padding: 28px; border-radius: 8px; }
.orthopedics-page .hero .why-box h2 { color: white; font-size: 24px; line-height: 1.35; font-weight: 600; margin-bottom: 18px; }
.orthopedics-page .hero .why-box p { margin-bottom: 20px; font-size: 15px; }
.orthopedics-page .hero .why-box .more-btn { padding: 10px 18px; font-size: 13px; }
.orthopedics-page .hero-lead-card { background: rgba(255,255,255,.96); padding: 24px; }
.orthopedics-page .hero-lead-card h2 { font-size: 27px; line-height: 1.3; color: var(--ortho-ink); font-weight: 700; }
.orthopedics-page .hero-lead-card .hero-lead-eyebrow { font-size: 11px; }
.orthopedics-page .hero-concern-grid a { min-height: 54px; }
.orthopedics-page .hero-concern-grid a > .bi { margin-left: auto; font-size: 14px; }
.orthopedics-page .hero-lead-card .ortho-small { font-size: 12px; line-height: 1.5; font-weight: 400; }
.orthopedics-page .section { scroll-margin-top: 135px; }
.orthopedics-page .section-title { padding-bottom: 36px; }
.orthopedics-page .section-title h2 { font-size: clamp(27px, 3vw, 36px); line-height: 1.3; }
.orthopedics-page .section-title > p:last-child { max-width: 760px; margin: 0 auto; line-height: 1.65; }
.orthopedics-page #joints .section-title { padding-bottom: 24px; }
.ortho-topic-layout { display: grid; grid-template-columns: 208px minmax(0, 1fr); border: 1px solid #dbe4e8; border-radius: 12px; overflow: hidden; }
.ortho-topic-nav { background: #f1f7fc; padding: 14px; gap: 6px; justify-content: flex-start; align-content: flex-start; }
.ortho-topic-nav .nav-link { display: flex; align-items: center; gap: 10px; min-height: 52px; text-align: left; padding: 10px 12px; color: var(--accent-color); font-size: 16px; font-weight: 600; border: 1px solid transparent; border-radius: 7px; }
.ortho-topic-nav .ortho-anatomy-icon { flex-basis: 28px; width: 28px; height: 28px; }
.ortho-topic-nav .nav-link > i:first-child { width: 22px; text-align: center; }
.ortho-topic-nav .nav-link > i:last-child { margin-left: auto; font-size: 12px; }
.ortho-topic-nav .nav-link.active { background: var(--accent-color); color: white; }
.ortho-topic-nav .nav-link:hover:not(.active) { background: white; border-color: #ccd9df; }
.ortho-topic-content { padding: 24px 28px; }
.ortho-topic-content .tab-pane { scroll-margin-top: 145px; }
.ortho-topic-content h3 { font-size: 27px; line-height: 1.3; color: var(--ortho-ink); margin-bottom: 14px; }
.ortho-topic-content p { line-height: 1.65; margin-bottom: 12px; }
.ortho-question { display: flex; gap: 16px; background: #f4f7f8; border-left: 3px solid var(--ortho-gold); padding: 16px 18px; margin: 16px 0; }
.ortho-question > i { color: #92773c; font-size: 24px; }
.ortho-question strong { color: var(--accent-color); font-size: 13px; }
.ortho-question p { margin: 5px 0 0; font-size: 16px; }
.ortho-text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.ortho-primary-cta { display: inline-flex; align-items: center; gap: 16px; padding: 14px 20px; border-radius: 50px; background: var(--accent-color); color: white; font-weight: 600; }
.ortho-primary-cta:hover { background: var(--ortho-ink); color: white; }
.ortho-hero-cta { width: 100%; justify-content: center; margin-top: 16px; padding: 12px 16px; }
.ortho-intro h2 { font-size: clamp(27px, 3vw, 36px); line-height: 1.35; margin-bottom: 22px; }
.ortho-intro p { line-height: 1.8; }
.ortho-review-list { list-style: none; padding: 0; margin: 0; }
.ortho-review-list li { display: flex; gap: 22px; padding: 24px 0; border-bottom: 1px solid #d3e0e7; }
.ortho-review-list li:first-child { padding-top: 0; }
.ortho-review-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ortho-review-list li > span { color: #987d41; font: 600 24px var(--heading-font); }
.ortho-review-list h3 { font-size: 19px; color: var(--accent-color); }
.ortho-review-list p { margin-bottom: 0; line-height: 1.65; }
.ortho-comparison { border: 1px solid #dbe4e8; border-radius: 10px; }
.ortho-comparison table { min-width: 690px; }
.ortho-comparison thead th { background: var(--accent-color); color: white; font-weight: 500; padding: 19px 24px; }
.ortho-comparison :is(td, tbody th) { padding: 22px 24px; border-color: #e2e8ec; vertical-align: top; font-size: 15px; line-height: 1.7; color: #445962; }
.ortho-comparison tbody th { width: 24%; font-weight: 600; color: var(--ortho-ink); }
.ortho-comparison tbody th span { display: block; color: #846b37; font-size: 13px; }
.ortho-comparison td:nth-child(2) { width: 44%; }
.ortho-comparison tbody tr:nth-child(even) > * { background: #f7fafb; }
.ortho-comparison a { text-decoration: underline; }
.ortho-evidence-note { display: flex; gap: 18px; padding: 24px 28px; margin-top: 22px; border-radius: 8px; background: #f7f4ec; }
.ortho-evidence-note > i { font-size: 26px; color: #846b37; }
.ortho-evidence-note p { margin: 0; line-height: 1.7; font-size: 15px; }
.orthopedics-page .provider .provider-member { height: 100%; }
.orthopedics-page .provider .member-info h3 { font-size: 21px; font-weight: 600; }
.orthopedics-page .provider .member-info p { line-height: 1.7; }
.orthopedics-page .provider .pic img { width: 150px; height: 150px; object-fit: cover; }
.ortho-faq { max-width: 960px; }
.ortho-faq details { border: 1px solid #dbe4e8; border-radius: 8px; margin-bottom: 14px; background: #fff; }
.ortho-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; list-style: none; cursor: pointer; color: var(--accent-color); font: 600 17px/1.5 var(--heading-font); }
.ortho-faq summary::-webkit-details-marker { display: none; }
.ortho-faq summary i { flex-shrink: 0; font-size: 17px; transition: transform .2s; }
.ortho-faq details[open] summary i { transform: rotate(45deg); }
.ortho-faq details[open] { background: #f6f9fb; }
.ortho-faq details > p { margin: 0; padding: 0 26px 24px; line-height: 1.8; }
.ortho-contact { background: var(--accent-color); color: white; }
.orthopedics-page .ortho-contact .ortho-eyebrow { color: #e5d5b1; }
.ortho-contact h2 { color: white; font-size: clamp(30px, 3.5vw, 44px); font-weight: 600; line-height: 1.3; margin-bottom: 22px; }
.ortho-contact p { line-height: 1.8; max-width: 590px; color: #edf2f4; }
.ortho-contact-button { display: inline-flex; align-items: center; gap: 24px; padding: 16px 24px; margin-top: 12px; background: #e5d5b1; color: #25343a; border-radius: 50px; font-weight: 600; }
.ortho-contact-button:hover { background: white; color: #25343a; }
.ortho-address { border-left: 1px solid #75868d; padding-left: 36px; }
.ortho-address h3 { color: #e5d5b1; font-size: 19px; margin-bottom: 20px; }
.ortho-address address { line-height: 1.8; }
.ortho-address a { color: white; font-weight: 500; }
.ortho-address .ortho-directions { display: inline-block; margin: 16px 0; text-decoration: underline; text-underline-offset: 5px; }
.ortho-address p { font-size: 13px; margin-bottom: 0; }
.ortho-sources.section { padding: 35px 0; }
.ortho-sources h2 { color: var(--accent-color); font-size: 20px; }
.ortho-sources p, .ortho-sources li { font-size: 14px; line-height: 1.9; }
.ortho-sources a { text-decoration: underline; text-underline-offset: 3px; }
.ortho-sources ol { padding-left: 20px; margin-bottom: 0; }
.ortho-footer { padding: 32px 12px; }
.ortho-footer img { margin-bottom: 24px; }
.ortho-footer p { max-width: 920px; font-size: 13px; line-height: 1.8; }
@media (min-width: 1200px) {
  .orthopedics-page #joints .section-title { padding-bottom: 36px; }
  .ortho-topic-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .ortho-topic-nav { padding: 20px; gap: 10px; }
  .ortho-topic-nav .nav-link { min-height: 72px; padding: 17px 18px; gap: 14px; font-size: 17px; }
  .ortho-topic-nav .ortho-anatomy-icon { flex-basis: 36px; width: 36px; height: 36px; }
  .ortho-topic-content { padding: 36px 40px; }
  .ortho-topic-content h3 { font-size: 29px; line-height: 1.35; margin-bottom: 20px; }
  .ortho-topic-content p { line-height: 1.75; }
  .ortho-topic-content > .tab-pane > p { margin-bottom: 16px; }
  .ortho-question { padding: 20px 22px; margin: 24px 0; }
}
@media (min-width: 992px) {
  .orthopedics-page .hero { min-height: 700px; padding: 28px 0 32px; align-items: flex-start; }
  .orthopedics-page .hero .content { margin-top: 0; align-items: flex-start !important; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .orthopedics-page .navmenu > ul > li { padding-left: 7px; padding-right: 7px; }
  .orthopedics-page .header .cta-btn { margin-left: 16px; padding: 8px 16px; white-space: nowrap; }
}
@media (max-width: 991px) {
  .orthopedics-page .hero { padding-top: 46px; min-height: auto; }
  .orthopedics-page .hero > img { height: 370px; object-position: 65% top; }
  .orthopedics-page .hero .welcome { min-height: 324px; max-width: 53%; }
  .orthopedics-page .hero .welcome h1 { font-size: 34px; }
  .orthopedics-page .hero .welcome .ortho-hero-intro { font-size: 16px; }
  .orthopedics-page .hero .content { margin-top: 0; }
  .orthopedics-page .hero .content .why-box { display: block; }
  .ortho-topic-nav { padding: 12px; }
  .ortho-topic-content { padding: 24px; }
  .ortho-topic-content h3 { font-size: 25px; }
  .ortho-address { border-left: 0; padding-left: 12px; margin-top: 36px; }
}
@media (max-width: 767px) {
  .ortho-topic-layout { grid-template-columns: 1fr; }
  .ortho-topic-nav { flex-direction: row !important; }
  .ortho-topic-nav .nav-link { flex: 1 1 0; flex-direction: column; padding: 10px 8px; gap: 5px; font-size: 14px; justify-content: center; }
  .ortho-topic-nav .ortho-anatomy-icon { flex-basis: 26px; width: 26px; height: 26px; }
  .ortho-topic-nav .nav-link > i { display: none; }
}
@media (max-width: 575px) {
  .orthopedics-page .hero { padding: calc(44.0625vw + 24px) 0 30px; }
  .orthopedics-page .hero > img { height: auto; object-position: center top; }
  .orthopedics-page .hero .welcome { min-height: auto; max-width: none; }
  .orthopedics-page .hero .welcome h1 { font-size: 36px; line-height: 1.2; margin-top: 8px; }
  .orthopedics-page .hero .welcome .ortho-eyebrow { font-size: 11px; letter-spacing: 1px; padding-top: 0; }
  .orthopedics-page .hero .welcome .ortho-hero-intro { font-size: 17px; line-height: 1.55; padding-top: 0; }
  .orthopedics-page .hero .content .why-box { display: block; padding: 22px; }
  .orthopedics-page .hero .why-box h2 { font-size: 22px; }
  .orthopedics-page .hero-lead-card { padding: 22px; }
  .orthopedics-page .hero-lead-card h2 { font-size: 24px; }
  .orthopedics-page .hero-concern-grid { grid-template-columns: 1fr 1fr; }
  .orthopedics-page .hero-concern-grid a { gap: 8px; padding: 12px 10px; font-size: 13px; }
  .orthopedics-page .hero-concern-grid a > .bi { display: none; }
  .orthopedics-page .section:not(.hero):not(.ortho-sources) { padding: 48px 0; }
  .ortho-topic-nav .nav-link { flex-basis: 29%; }
  .ortho-topic-content { padding: 24px 20px; }
  .ortho-topic-content h3 { font-size: 24px; }
  .ortho-question { padding: 16px; gap: 12px; }
  .ortho-question > i { display: none; }
  .ortho-comparison :is(td, tbody th, thead th) { padding: 16px; }
  .ortho-evidence-note { padding: 20px; }
  .ortho-faq summary { padding: 18px; font-size: 15px; }
  .ortho-faq details > p { padding: 0 18px 20px; }
  .orthopedics-page .provider .provider-member { padding: 22px; }
  .orthopedics-page .provider .member-info h3 { font-size: 18px; }
  .ortho-topline { font-size: 11px; }
  .ortho-footer { padding-bottom: 90px; }
  .orthopedics-page .consultation-modal .consultation-form { flex: 1; min-height: 0; }
  .orthopedics-page .consultation-modal :is(.modal-header, .modal-footer) { flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html:root { scroll-behavior: auto; }
  .orthopedics-page *, .orthopedics-page *::before, .orthopedics-page *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
