/* MWhite visual system — local system fonts and no external font/icon downloads.
 * Headlines: Iowan Old Style/Baskerville/Georgia.
 * Body/UI: Helvetica Neue/Helvetica/Arial/platform sans-serif.
 * CSS is intentionally framework-independent so staging works without Vite.
 */
:root {
    color-scheme: light;
    --mw-sans: "Helvetica Neue", Helvetica, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --mw-display: "Iowan Old Style", "Baskerville", Georgia, "Times New Roman", serif;
    --mw-brand: #7ab5ef;
    --mw-logo-grey: #a6a9ab;
    --mw-ink: #223b58;
    --mw-text: #415771;
    --mw-muted: #64748b;
    --mw-cream: #ffffff;
    --mw-white: #fff;
    --mw-soft: #f0f7fe;
    --mw-border: #e4edf6;
    --mw-accent: #2868aa;
    --mw-dark: #163b66;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--mw-text); background: var(--mw-cream); font: 400 16px/1.7 var(--mw-sans); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #7ab5ef; outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.mw-skip { position: absolute; left: 16px; top: -90px; background: var(--mw-white); color: var(--mw-ink); z-index: 100; padding: 10px 18px; }
.mw-skip:focus { top: 8px; }
.mw-preview-bar { background: var(--mw-dark); color: white; text-align: center; padding: 10px 20px; font-size: .72rem; letter-spacing: .13em; font-weight: 700; }
.mw-site-header { background: var(--mw-white); border-bottom: 1px solid var(--mw-border); }
.mw-nav-shell { max-width: 1180px; padding: 22px 28px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.mw-logo { text-decoration: none; color: var(--mw-ink); font-weight: 700; font-size: 1.3rem; letter-spacing: -.035em; white-space: nowrap; }
.mw-logo span { color: var(--mw-accent); }
.mw-tag { font-size: .63rem; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--mw-muted); }
.mw-nav-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 16px 30px; }
.mw-nav-links a { text-decoration: none; font-size: .87rem; font-weight: 600; color: var(--mw-ink); }
.mw-nav-links a:hover, .mw-text-link:hover { color: var(--mw-accent); }
.mw-nav-links .mw-nav-accent { padding: 9px 16px; background: var(--mw-soft); border-radius: 3px; color: var(--mw-accent); }
.mw-container { width: min(100% - 48px, 1120px); margin-inline: auto; }
.mw-kicker { color: var(--mw-accent); font-weight: 700; font-size: .72rem; letter-spacing: .19em; text-transform: uppercase; }
.mw-display { font-family: var(--mw-display); font-weight: 400; letter-spacing: -.03em; line-height: 1.16; color: var(--mw-ink); }
.mw-hero { position: relative; overflow: hidden; background: linear-gradient(114deg, #f5faff 0%, #ffffff 49%, #e7f3ff 100%); }
.mw-hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); min-height: 440px; gap: 38px; align-items: center; padding-block: 52px; }
.mw-hero h1 { max-width: 700px; font-size: clamp(3rem, 5.5vw, 5.2rem); margin: 17px 0 20px; }
.mw-hero-lead { max-width: 610px; font-size: 1.04rem; line-height: 1.7; color: #506882; }
.mw-actions { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 30px; }
.mw-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; min-height: 49px; font-weight: 600; font-size: .87rem; text-decoration: none; border: 1px solid var(--mw-accent); border-radius: 999px; background: var(--mw-accent); color: white; }
.mw-button-outline { color: var(--mw-accent); background: #fff; }
.mw-visual { position: relative; min-height: 370px; isolation: isolate; }
.mw-visual::before { content: ""; display: block; position: absolute; inset: 15px 12% 15px 4%; background: radial-gradient(circle at 35% 34%, #9bcbf6, transparent 54%), linear-gradient(135deg,#c2dff8,#eaf4ff 62%,#ffffff); border-radius: 48% 48% 44% 44% / 46% 46% 54% 54%; }
.mw-visual::after { content: ""; position: absolute; width: 230px; height: 230px; border: 1px solid #ffffffbb; border-radius: 50%; top: 36px; right: 0; }
.mw-visual-label { position: absolute; bottom: 32px; left: -10px; background: #fffffff2; border: 1px solid #ffffffcc; border-radius: 4px; box-shadow: 0 20px 55px #2168a220; padding: 18px 22px; max-width: 275px; z-index: 1; font-size: .84rem; }
.mw-visual-label strong { display: block; font-family: var(--mw-display); font-weight: 400; font-size: 1.5rem; color: var(--mw-ink); line-height: 1.3; margin-bottom: 6px; }
.mw-section { padding: 68px 0; }
.mw-section-alt { background: white; }
.mw-section-heading { max-width: 780px; }
.mw-section-heading h2 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); margin: 15px 0 16px; }
.mw-section-heading p { color: var(--mw-muted); line-height: 1.8; font-size: 1.02rem; }
.mw-feature-grid, .mw-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 27px; }
.mw-feature, .mw-card { border: 1px solid var(--mw-border); background: var(--mw-white); border-radius: 5px; padding: 25px 25px; min-width: 0; }
.mw-feature-number { color: var(--mw-accent); font-size: .75rem; letter-spacing: .13em; font-weight: 700; }
.mw-feature h3, .mw-card h3 { color: var(--mw-ink); line-height: 1.35; font: 400 1.48rem/1.3 var(--mw-display); margin: 13px 0 10px; }
.mw-feature p, .mw-card p { font-size: .91rem; color: var(--mw-muted); margin: 0; }
.mw-card { padding: 0; overflow: hidden; }
.mw-card-graphic { background: linear-gradient(125deg,#dfedfb,#f6faff); min-height: 128px; display: flex; align-items: center; justify-content: center; }
.mw-card-graphic span { font-family: var(--mw-display); color: #7ab5ef; font-size: 3rem; }
.mw-card-content { padding: 15px 23px 22px; }
.mw-card-content h3 { margin: 12px 0; }
.mw-card a { font-size: .82rem; color: var(--mw-accent); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.mw-section-link { margin-top: 28px; }
.mw-cta-kicker { color: #c0dcd5; }
.empty-article { color: var(--mw-muted); font-style: italic; }
.mw-text-link { font-size: .87rem; font-weight: 700; color: var(--mw-accent); text-underline-offset: 4px; }
.mw-cta { background: var(--mw-dark); color: white; padding: 72px 0; }
.mw-cta .mw-display { color: white; font-size: clamp(2rem, 4vw, 3.1rem); max-width: 740px; margin: 15px 0; }
.mw-cta p { max-width: 670px; color: #e3f1ff; }
.mw-footer { background: #123353; color: #cedff0; padding: 34px 0; font-size: .8rem; }
.mw-footer-inner { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.mw-footer a { color: #edf7ff; text-underline-offset: 4px; }
.mw-article-shell { padding-top: 52px; padding-bottom: 100px; }
.mw-article-title { max-width: 850px; font-size: clamp(2.5rem,5vw,4.25rem); margin: 18px 0 22px; }
.mw-summary { max-width: 740px; font-size: 1.14rem; line-height: 1.85; color: #627791; }
.mw-meta { display: flex; flex-wrap: wrap; gap: 10px 25px; color: var(--mw-muted); font-size: .82rem; border-bottom: 1px solid var(--mw-border); padding: 26px 0 33px; margin-bottom: 42px; }
.mw-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 265px; gap: 65px; align-items: start; }
.mw-story { max-width: 730px; min-width: 0; font-size: 1.07rem; line-height: 1.94; overflow-wrap: anywhere; }
.mw-story p { margin: 0 0 1.45em; }
.mw-story h2, .mw-story h3 { font-family: var(--mw-display); font-weight: 400; color: var(--mw-ink); line-height: 1.38; margin: 1.65em 0 .75em; }
.mw-story h2 { font-size: 2rem; }
.mw-story h3 { font-size: 1.55rem; }
.mw-story ul,.mw-story ol { padding-left: 1.6em; margin-bottom: 1.4em; }
.mw-story li { margin-bottom: .4em; }
.mw-story blockquote { border-left: 3px solid var(--mw-accent); padding: 18px 25px; background: #f0f7fe; color: #436388; margin: 28px 0; }
.mw-story a { color: #2868aa; overflow-wrap: anywhere; text-underline-offset: 3px; }
.mw-story pre { background: #eaf4fd; overflow-x: auto; padding: 16px; font-size: .9rem; }
.mw-story figure { margin: 32px 0; }
.mw-story img { display: block; border-radius: 5px; }
.mw-story figcaption { margin-top: 12px; text-align: center; color: var(--mw-muted); font: .83rem/1.5 var(--mw-sans); }
.mw-empty { color: var(--mw-muted); font-style: italic; }
.mw-seo-panel { border-radius: 5px; padding: 25px; background: var(--mw-soft); font-size: .84rem; overflow-wrap: anywhere; line-height: 1.65; }
.mw-seo-panel h2 { color: var(--mw-ink); font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; margin: 0 0 18px; }
.mw-seo-panel dt { color: var(--mw-accent); font-weight: 700; margin-top: 14px; }
.mw-seo-panel dd { margin: 3px 0; }
.mw-seo-panel code { font-size: .77rem; overflow-wrap: anywhere; }
.mw-disclaimer { margin-top: 52px; border-top: 1px solid var(--mw-border); padding-top: 24px; font-size: .84rem; color: var(--mw-muted); }
.mw-listing-intro { padding-top: 75px; }
.mw-listing-intro h1 { font-size: clamp(2.6rem,5.2vw,4.4rem); margin: 15px 0; }
.mw-listing-intro p { max-width: 720px; color: var(--mw-muted); }
.mw-example-label { display: inline-block; font-size: .69rem; color: #2868aa; letter-spacing: .1em; text-transform: uppercase; margin-top: 17px; font-weight: 700; }
@media (max-width: 860px) {
    .mw-hero-inner { grid-template-columns: 1fr; gap: 12px; padding-block: 54px 30px; }
    .mw-visual { min-height: 240px; max-width: 570px; width: 100%; }
    .mw-visual::before { inset: 0 16% 0 10%; }
    .mw-visual-label { bottom: 12px; left: 0; }
    .mw-article-grid { grid-template-columns: 1fr; gap: 32px; }
    .mw-seo-panel { order: -1; }
    .mw-feature-grid,.mw-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 590px) {
    .mw-container { width: min(100% - 36px, 1120px); }
    .mw-nav-shell { flex-wrap: wrap; justify-content: center; padding: 16px; gap: 8px; }
    .mw-nav-links { width: 100%; justify-content: center; gap: 10px 22px; }
    .mw-nav-links a { font-size: .78rem; }
    .mw-nav-links .mw-nav-accent { padding: 6px 12px; }
    .mw-hero-inner { min-height: 0; }
    .mw-hero h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
    .mw-hero-lead { font-size: 1rem; }
    .mw-section { padding: 62px 0; }
    .mw-feature-grid, .mw-card-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
    .mw-feature { padding: 24px; }
    .mw-article-shell { padding-top: 38px; }
    .mw-article-title { font-size: clamp(2.45rem, 10.5vw, 3.3rem); }
    .mw-story { font-size: 1rem; }
    .mw-footer-inner { flex-direction: column; text-align: center; }
    .mw-meta { gap: 7px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Concise landing-page design, brand identity derived from uploaded MWhite logo. */
.mw-logo-image { display: block; width: 208px; max-width: 100%; height: auto; }
.mw-highlight { color: #2868aa; font-style: italic; }
.mw-section-bar { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.mw-preview-note { margin: 17px 0 0; color: var(--mw-muted); font-size: .8rem; }
.mw-card-content h3 { margin-bottom: 1px; }
.mw-visual::before { background: radial-gradient(circle at 32% 28%, #ffffffcf, transparent 53%), linear-gradient(135deg,#7ab5ef,#d8edff 62%,#f6fbff); border-radius: 46% 54% 48% 52% / 52% 46% 54% 48%; }
.mw-visual::after { width: 65%; height: 68%; right: 5%; top: 4%; border: 2px solid #fff; }
.mw-visual-orbit { position: absolute; z-index: 1; width: 48%; height: 65%; border: 2px solid #ffffffdb; border-radius: 50%; transform: rotate(-27deg); top: 18%; left: 28%; }
.mw-visual-core { position: absolute; z-index: 1; inset: 29% 31% 26% 31%; border-radius: 50%; background: radial-gradient(circle at 38% 30%, #ffffff, #d3e9fd 65%, #a4cef5); box-shadow: 15px 20px 45px #4779a526; }
.mw-feature { border-radius: 12px; }
.mw-card { border-radius: 12px; }
@media(max-width: 590px) { .mw-logo-image { width: 184px; } .mw-section-bar { align-items: start; flex-direction: column; gap: 7px; } .mw-visual { min-height: 190px; } .mw-hero-inner { gap: 15px; } }


/* Release-gated article screens reuse the compact MWhite palette. */
.mw-breadcrumb { margin-bottom: 22px; color: var(--mw-muted); font-size: .83rem; }
.mw-breadcrumb a { color: var(--mw-accent); text-underline-offset: 3px; }
.mw-breadcrumb span { margin: 0 7px; color: var(--mw-logo-grey); }
.mw-list-card-title { font-size: 1.5rem; margin: 11px 0 9px; }
.mw-list-card-title a { color: var(--mw-ink); text-decoration: none; font: inherit; }
.mw-list-card-title a:hover { color: var(--mw-accent); text-decoration: underline; }
.mw-public-sidebar { background: var(--mw-soft); padding: 24px; border-radius: 12px; }
.mw-public-sidebar h2 { margin: 0 0 8px; color: var(--mw-ink); font: 400 1.5rem/1.3 var(--mw-display); }
.mw-public-sidebar p { margin: 0 0 16px; font-size: .9rem; }

/* Clinic CMS-backed preview: no external assets or dynamic embeds. */
.mw-clinic-detail { max-width: 790px; margin-inline: auto; }
.mw-clinic-body { white-space: pre-line; overflow-wrap: anywhere; margin-top: 28px; line-height: 1.9; color: var(--mw-ink); }
.mw-clinic-meta { font-size: .96rem; line-height: 1.75; color: var(--mw-muted); }
.mw-preview-pagination { margin-top: 28px; }
.mw-card-content .mw-text-link { display: inline-block; margin-top: 16px; }

/* K2K-B: CMS-driven preview cards and location summaries. */
.mw-clinic-card-link { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.mw-clinic-card-link:hover, .mw-clinic-card-link:focus-visible { color: var(--mw-accent); text-decoration: underline; text-underline-offset: 4px; }
.mw-clinic-location-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 25px; }
.mw-clinic-location { background: var(--mw-white); border: 1px solid var(--mw-border); border-radius: 12px; padding: 25px; min-width: 0; }
.mw-clinic-location h3 { font: 400 1.55rem/1.35 var(--mw-display); margin: 0 0 13px; color: var(--mw-ink); }
.mw-clinic-location p { margin: 7px 0; color: var(--mw-muted); line-height: 1.75; overflow-wrap: anywhere; }
.mw-preview-empty { color: var(--mw-muted); line-height: 1.8; grid-column: 1 / -1; }
@media (max-width: 590px) {
  .mw-clinic-location-list { grid-template-columns: 1fr; }
  .mw-clinic-location { padding: 20px; }
}

/* P01-K2N-A: optional, owner-authorized photography from private CMS media. */
.mw-feature-media, .mw-card-media, .mw-location-media, .mw-detail-media { margin: 0; overflow: hidden; background: var(--mw-soft); }
.mw-feature-media { aspect-ratio: 1.55; margin: -25px -25px 18px; border-radius: 12px 12px 0 0; }
.mw-card-media { aspect-ratio: 1.45; }
.mw-location-media { aspect-ratio: 1.85; margin: -25px -25px 18px; border-radius: 12px 12px 0 0; }
.mw-detail-media { margin: 26px 0; max-height: 490px; border-radius: 12px; }
.mw-feature-media img, .mw-card-media img, .mw-location-media img, .mw-detail-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mw-detail-media img { max-height: 490px; aspect-ratio: 1.7; }
@media(max-width: 590px) { .mw-location-media { margin: -20px -20px 16px; } .mw-feature-media { margin: -24px -24px 16px; } }


/* P01-K2N-B — self-contained carousel and readable, CMS-driven service catalog. */
[hidden] { display: none !important; }
.mw-hero-carousel { background: #f3f8ff; }
.mw-hero-slide { background: linear-gradient(110deg, #fff 8%, #f3f8ff 58%, #d8e9fd 100%); }
.mw-hero-slide .mw-hero-inner { min-height: 500px; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); gap: 36px; padding-block: 34px; }
.mw-hero-copy { padding-block: 38px; }
.mw-hero-carousel .mw-display { font-size: clamp(2.6rem, 5vw, 4.8rem); max-width: 600px; margin: 14px 0 18px; }
.mw-hero-carousel .mw-hero-lead { max-width: 470px; margin: 0; line-height: 1.7; }
.mw-hero-photo { height: clamp(315px, 34vw, 445px

/* Bounded, readable pagination on isolated CMS catalog previews.
   Replaces Laravel's large unstyled default SVG chevrons. */
.mw-compact-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px; margin:28px auto 10px; font-family:var(--mw-sans); }
.mw-compact-pagination .mw-page-nav { display:inline-flex; align-items:center; justify-content:center; min-width:126px; min-height:40px; padding:7px 14px; text-decoration:none; font-size:.86rem; font-weight:600; background:#fff; border:1px solid var(--mw-border); border-radius:999px; color:var(--mw-accent); }
.mw-compact-pagination .mw-page-nav:hover { background:var(--mw-soft); border-color:var(--mw-brand); }
.mw-compact-pagination .mw-page-nav[aria-disabled="true"] { color:#7c8fa3; background:#f5f8fb; cursor:default; }
.mw-compact-pagination .mw-page-count { font-size:.8rem; color:var(--mw-muted); text-align:center; white-space:nowrap; }
.mw-compact-pagination svg { display:none; }
@media (max-width:590px) { .mw-compact-pagination { gap:8px; } .mw-compact-pagination .mw-page-nav { min-width:96px; padding-inline:10px; font-size:.78rem; } }
