/* Medical Weight Loss: page-scoped design and responsive layout. */
.medical-weight-loss-page { --mw-teal: #0b5558; --mw-navy: #12304a; --mw-text: #263a42; --mw-gold: #c5a46d; --mw-header-height: 180px; color: var(--mw-text); background: #faf9f6; }
.medical-weight-loss-page .main { padding-top: var(--mw-header-height); }
.medical-weight-loss-page .mw-container { width: min(100%, 1200px); padding-inline: 20px; margin-inline: auto; }
.medical-weight-loss-page .mw-section { padding: 52px 0; }
.medical-weight-loss-page .mw-eyebrow { color: #3f7165; font-size: .71rem; font-weight: 700; letter-spacing: .13em; }
.medical-weight-loss-page :is(h1, h2, h3) { color: var(--mw-navy); }
.medical-weight-loss-page h1 { margin: 12px 0 20px; font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.17; letter-spacing: -.025em; }
.medical-weight-loss-page h2 { margin: 10px 0 14px; font-size: clamp(1.8rem, 2.6vw, 2.2rem); line-height: 1.25; }
.medical-weight-loss-page p { color: #42575d; font-size: 1rem; line-height: 1.7; }
.medical-weight-loss-page a:focus-visible, .medical-weight-loss-page summary:focus-visible { outline: 3px solid #99723a; outline-offset: 4px; }
.medical-weight-loss-page .mw-hero { background: radial-gradient(ellipse at top right, #e5f1e8, transparent 65%), #faf9f6; }
.medical-weight-loss-page .mw-hero-grid { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); gap: 36px; align-items: center; }
.medical-weight-loss-page .mw-lead { max-width: 600px; margin: 0 0 24px; font-size: 1.03rem; }
.medical-weight-loss-page .mw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.medical-weight-loss-page .mw-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 18px; border: 1px solid var(--mw-teal); border-radius: 999px; background: var(--mw-teal); color: #fff; font-size: .87rem; font-weight: 600; line-height: 1.5; text-align: center; transition: background-color 280ms ease, color 280ms ease, border-color 280ms ease; }
.medical-weight-loss-page .mw-button:hover { color: #fff; background: #256e61; border-color: #256e61; }
.medical-weight-loss-page .mw-button-outline { background: transparent; color: var(--mw-teal); border-color: #9ebbb0; }
.medical-weight-loss-page .mw-button-outline:hover { background: #e6f0e9; color: var(--mw-teal); border-color: #568c78; }
.medical-weight-loss-page .mw-hero-photo { margin: 0; overflow: hidden; min-width: 0; border: 1px solid #dbe6de; border-radius: 18px; background: #eaf1e8; box-shadow: 0 10px 28px rgba(18, 48, 74, .08); }
.medical-weight-loss-page .mw-hero-photo img { display: block; width: 100%; height: auto; max-height: 400px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; }
.medical-weight-loss-page .mw-highlights { padding: 24px 0 30px; background: #fff; }
.medical-weight-loss-page .mw-highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.medical-weight-loss-page .mw-highlight { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border: 1px solid #dce7df; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(18, 48, 74, .025); }
.medical-weight-loss-page .mw-icon { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 12px; background: #eaf3ed; color: #397563; font-size: 1.15rem; }
.medical-weight-loss-page .mw-highlight .mw-icon { margin: 0; }
.medical-weight-loss-page .mw-highlight h2 { margin: 0 0 7px; font-size: 1.03rem; line-height: 1.4; }
.medical-weight-loss-page .mw-highlight p { margin: 0; font-size: .9rem; line-height: 1.65; }
.medical-weight-loss-page .mw-program { background: #fff; scroll-margin-top: calc(var(--mw-header-height) + 20px); }
.medical-weight-loss-page .mw-program-copy { max-width: 860px; margin-inline: auto; }
.medical-weight-loss-page .mw-program-copy > p { margin: 0 0 16px; }
.medical-weight-loss-page .mw-components { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 20px 0 0; padding: 0; list-style: none; }
.medical-weight-loss-page .mw-components li { display: flex; align-items: baseline; gap: 8px; color: #365f54; font-size: .94rem; line-height: 1.65; }
.medical-weight-loss-page .mw-components i { color: #3c8069; }
.medical-weight-loss-page .mw-facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.medical-weight-loss-page .mw-fact { padding: 20px; border: 1px solid #dbe5dc; border-radius: 16px; background: #f8fbf6; }
.medical-weight-loss-page .mw-fact-number { display: block; margin-bottom: 10px; color: #57836d; font-size: .74rem; font-weight: 700; letter-spacing: .12em; }
.medical-weight-loss-page .mw-fact h3 { margin: 0 0 10px; color: #165155; font-size: 1.12rem; line-height: 1.35; }
.medical-weight-loss-page .mw-fact p { margin: 0; font-size: .94rem; line-height: 1.65; }
.medical-weight-loss-page .mw-journey { background: #eef5ef; }
.medical-weight-loss-page .mw-section-heading { max-width: 850px; margin: 0 auto 28px; text-align: center; }
.medical-weight-loss-page .mw-section-heading p { margin: 0; }
.medical-weight-loss-page .mw-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.medical-weight-loss-page .mw-steps::before { position: absolute; top: 23px; left: 23px; right: 23px; height: 1px; background: #c5d9cb; content: ""; }
.medical-weight-loss-page .mw-steps li { position: relative; }
.medical-weight-loss-page .mw-steps li > span { position: relative; display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 16px; border: 1px solid #bfd6c6; border-radius: 50%; background: #fafff8; color: var(--mw-teal); font-size: .9rem; font-weight: 700; }
.medical-weight-loss-page .mw-steps h3 { margin: 0 0 10px; color: #184d50; font-size: 1.08rem; line-height: 1.35; }
.medical-weight-loss-page .mw-steps p { margin: 0; font-size: .94rem; line-height: 1.65; }
.medical-weight-loss-page .mw-treatment { background: #fff; }
.medical-weight-loss-page .mw-education-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.medical-weight-loss-page .mw-education-card { padding: 24px; border: 1px solid #dce6df; border-radius: 16px; background: #fcfdfa; }
.medical-weight-loss-page .mw-education-card h3 { margin: 0 0 14px; color: #165155; font-size: 1.22rem; line-height: 1.35; }
.medical-weight-loss-page .mw-education-card p { margin: 0 0 14px; }
.medical-weight-loss-page .mw-education-card p:last-child { margin-bottom: 0; }
.medical-weight-loss-page .mw-faq { background: #faf9f6; }
.medical-weight-loss-page .mw-faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: start; }
.medical-weight-loss-page .mw-faq-list { display: grid; gap: 10px; }
.medical-weight-loss-page .mw-faq-list details { overflow: hidden; border: 1px solid #dce5dc; border-radius: 13px; background: #fff; }
.medical-weight-loss-page .mw-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 16px 18px; color: #1f5051; font-size: .96rem; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; }
.medical-weight-loss-page .mw-faq-list summary::-webkit-details-marker { display: none; }
.medical-weight-loss-page .mw-faq-list summary i { flex-shrink: 0; color: #4a7968; transition: transform 250ms ease; }
.medical-weight-loss-page .mw-faq-list details[open] summary i { transform: rotate(45deg); }
.medical-weight-loss-page .mw-faq-list details > p { margin: 0; padding: 0 18px 18px; font-size: .94rem; }
.medical-weight-loss-page .mw-closing { padding-top: 0; }
.medical-weight-loss-page .mw-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px; border: 1px solid #2e6262; border-radius: 18px; background: radial-gradient(ellipse at top right, rgba(197,164,109,.12), transparent 55%), #0e454b; color: #fff; }
.medical-weight-loss-page .mw-cta .mw-eyebrow { color: #cbdcbc; }
.medical-weight-loss-page .mw-cta h2 { max-width: 650px; color: #fff; }
.medical-weight-loss-page .mw-cta p { margin: 0; color: #e1eee7; }
.medical-weight-loss-page .mw-cta .mw-button { flex-shrink: 0; }
.medical-weight-loss-page .mw-button-mint { border-color: #d5e9d9; background: #d5e9d9; color: #143f41; }
.medical-weight-loss-page .mw-button-mint:hover { border-color: #fff; background: #fff; color: #143f41; }
.medical-weight-loss-page.mw-motion-ready .mw-reveal { opacity: 0; transform: translateY(12px); transition: opacity 420ms ease, transform 420ms ease; transition-delay: var(--mw-delay, 0ms); }
.medical-weight-loss-page.mw-motion-ready .mw-reveal.is-revealed { opacity: 1; transform: none; }
@media (max-width: 1199px) { .medical-weight-loss-page { --mw-header-height: 100px; } }
@media (max-width: 991px) {
  .medical-weight-loss-page .mw-hero-grid { gap: 26px; }
  .medical-weight-loss-page .mw-faq-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .medical-weight-loss-page .mw-cta { flex-direction: column; align-items: flex-start; }
  .medical-weight-loss-page .mw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .medical-weight-loss-page .mw-steps::before { display: none; }
}
@media (max-width: 767px) {
  .medical-weight-loss-page .mw-section { padding-block: 36px; }
  .medical-weight-loss-page .mw-hero-grid, .medical-weight-loss-page .mw-highlights-grid, .medical-weight-loss-page .mw-facts-grid, .medical-weight-loss-page .mw-education-grid, .medical-weight-loss-page .mw-components, .medical-weight-loss-page .mw-steps { grid-template-columns: minmax(0, 1fr); }
  .medical-weight-loss-page .mw-hero-grid { gap: 24px; }
  .medical-weight-loss-page .mw-hero-photo img { max-height: 320px; }
  .medical-weight-loss-page .mw-highlights { padding: 20px 0 0; }
  .medical-weight-loss-page .mw-steps { gap: 22px; }
  .medical-weight-loss-page .mw-steps::before { display: block; top: 0; bottom: 0; right: auto; left: 23px; width: 1px; height: auto; }
  .medical-weight-loss-page .mw-steps li { padding-left: 66px; min-height: 48px; }
  .medical-weight-loss-page .mw-steps li > span { position: absolute; left: 0; top: 0; margin: 0; }
  .medical-weight-loss-page .mw-education-card { padding: 22px; }
  .medical-weight-loss-page .mw-faq-list summary { padding: 15px 16px; }
  .medical-weight-loss-page .mw-cta { padding: 24px; gap: 22px; }
  .medical-weight-loss-page .mw-closing { padding-top: 0; }
  .medical-weight-loss-page .mw-cta .mw-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.medical-weight-loss-page) { scroll-behavior: auto !important; }
  .medical-weight-loss-page *, .medical-weight-loss-page *::before { transition: none !important; animation: none !important; }
  .medical-weight-loss-page.mw-motion-ready .mw-reveal { opacity: 1; transform: none; }
  .medical-weight-loss-page .mw-faq-list details[open] summary i { transform: none; }
}

/* Match Comprehensive Assessment’s desktop content grid. */
@media (min-width: 1400px) {
  .medical-weight-loss-page main .mw-container {
    width: 100%;
    max-width: 1320px;
    padding-inline: 12px;
  }
}
