/* KIM Neurosurgery modern design (2026-10-29). Replaces the old YOOtheme styles. */
:root {
  --plum-900: #2f1838; --plum-800: #482856; --plum-700: #5a3369; --plum: #6c3f7c; --plum-500: #8a5c99;
  --lilac-100: #f6f1f8; --lilac-200: #ece1f0; --lilac-300: #dccbe3;
  --ink: #241d28; --muted: #5a5160; --link: #6c3f7c; --white: #fff;
  --radius: 0; --shadow: 0 1px 2px rgba(47,36,52,.06), 0 8px 24px rgba(47,36,52,.08);
  --wrap: 1180px; --serif: "Lora", Georgia, serif; --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--lilac-100); color: var(--ink); font: 400 18px/1.65 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-900); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #a674b8; outline-offset: 2px; border-radius: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--plum-800); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(28px, 4vw, 38px); }
h2 { font-size: 26px; } h3 { font-size: 22px; } h4 { font-size: 19px; }
p, ul, ol { margin: 0 0 1em; }

/* Skip link */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--white); color: var(--plum-800); padding: 10px 16px; border-radius: 0; font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

/* Top bar + header */
.topbar { background: var(--plum-900); color: var(--white); font-size: 15px; }
.topbar .wrap { display: flex; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar-call { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar-call::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z"/></svg>') center/contain no-repeat; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z"/></svg>') center/contain no-repeat; }
.topbar-call:hover { color: var(--lilac-300); }
.site-header { position: sticky; top: 0; z-index: 1000; background: linear-gradient(90deg, var(--plum-800), var(--plum)); box-shadow: 0 2px 12px rgba(0,0,0,.18); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.logo { flex: none; display: block; }
.logo img { display: block; width: 300px; }
.nav-toggle { display: none; }

/* Main menu */
.site-nav { margin-left: auto; }
.nav-list, .sub-list { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 12px; border-radius: 0; color: var(--white); font: 600 16px/1.2 var(--sans); text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-item:hover > .nav-link, .nav-item.open > .nav-link { color: var(--white); background: rgba(255,255,255,.14); text-decoration: none; }
.nav-item.is-active > .nav-link { background: var(--white); color: var(--plum-800); }
.sub-toggle:not(.nav-group) { width: 26px; height: 36px; margin-left: -8px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--white); }
.sub-toggle::after { content: ""; display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); margin-left: 6px; }
.nav-group::after { margin-left: 8px; }
.sub-list { position: absolute; top: 100%; left: 0; min-width: 250px; padding: 8px; background: var(--white); border-radius: 0; box-shadow: 0 12px 32px rgba(47,36,52,.22); display: none; z-index: 10; }
.nav-item:last-child .sub-list { left: auto; right: 0; }
.nav-item.open > .sub-list { display: block; }
@media (hover: hover) and (min-width: 1061px) { .nav-item.has-sub:hover > .sub-list { display: block; } }
.sub-list a { display: block; padding: 10px 14px; border-radius: 0; color: var(--ink); text-decoration: none; font-size: 16px; }
.sub-list a:hover { background: var(--lilac-100); color: var(--plum-800); }
.sub-list a[aria-current="page"] { background: var(--lilac-200); color: var(--plum-800); font-weight: 700; }

/* Hero slideshow (homepage) */
.hero { position: relative; background: var(--plum-900); }
.hero-track { position: relative; max-width: 1440px; margin: 0 auto; }
.slide { position: relative; display: grid; grid-template-columns: minmax(320px, 42%) 1fr; min-height: 440px; }
.slide[hidden] { display: none; }
.slide-img { grid-column: 2; grid-row: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-text { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 48px 80px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); background: linear-gradient(135deg, var(--plum-900), var(--plum-700)); color: var(--white); }
.slide-kicker { font: 600 clamp(28px, 3.2vw, 42px)/1.15 var(--serif); margin: 0 0 14px; }
.slide-address { font-size: 19px; color: var(--lilac-300); margin: 0 0 18px; }
.slide-caption { font-size: 20px; line-height: 1.5; margin: 0; }
.slide-text a { color: var(--white); font-weight: 700; text-decoration: underline; text-decoration-color: #cfaedb; }
.slide-text a:hover { text-decoration-color: var(--white); }
.slide:not(:has(.slide-kicker)) .slide-caption { font: 500 clamp(22px, 2.4vw, 30px)/1.35 var(--serif); }
.hero-controls { position: absolute; left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); bottom: 22px; display: flex; align-items: center; gap: 8px; }
.hero-btn { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); background: rgba(0,0,0,.15); color: var(--white); cursor: pointer; display: grid; place-items: center; padding: 0; }
.hero-btn:hover { background: rgba(255,255,255,.18); border-color: var(--white); }
.hero-btn::before { content: ""; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2.5px 2.5px 0; }
.hero-prev::before { transform: translateX(2px) rotate(135deg); }
.hero-next::before { transform: translateX(-2px) rotate(-45deg); }
.hero-pause::before { width: 10px; height: 12px; border-width: 0 3px; transform: none; }
.hero-pause[aria-pressed="true"]::before { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; transform: translateX(2px); }
.hero-dots { display: flex; gap: 6px; margin-left: 8px; }
.hero-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
.hero-dots i.on { background: var(--white); }

/* Home cards */
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 48px 0 56px; }
.card { background: var(--white); border-radius: 0; box-shadow: var(--shadow); padding: 28px; }
.home-cards .card { display: flex; flex-direction: column; }
.home-cards .card img { width: 100% !important; border: 0 !important; border-radius: 0; display: block; aspect-ratio: 275/172; object-fit: cover; }
.module-title { font-size: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--lilac-200); }
.module-title .color { color: var(--plum-500); }

/* Inner pages */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; margin-top: 40px; margin-bottom: 56px; }
.page-content { background: var(--white); border-radius: 0; box-shadow: var(--shadow); padding: 40px 44px; min-width: 0; }
.page-content article + article, .items .grid-box + .grid-box { border-top: 1px solid var(--lilac-200); margin-top: 32px; padding-top: 32px; }
.page-content h1.title { margin-bottom: .7em; }
.items h1.title { font-size: 26px; }
.page-content .content img[style*="float: right"], .page-content img[align="right"] { margin: 4px 0 16px 24px; border-radius: 0; }
.page-content .content img[style*="float: left"], .page-content img[align="left"] { margin: 4px 24px 16px 0; border-radius: 0; }
.page-content ul li { margin-bottom: .35em; }
.page-content table { border-collapse: collapse; max-width: 100%; }
.page-content td, .page-content th { padding: 6px 10px; vertical-align: top; }
.page-content iframe { max-width: 100%; border: 0; border-radius: 0; }
.clearfix::after { content: ""; display: table; clear: both; }
.item-list { margin-top: 32px; padding: 24px 28px; background: var(--lilac-100); border-radius: 0; }
.item-list h3 { font-size: 20px; }
.item-list ul { margin: 0; padding-left: 20px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pagination a, .pagination strong { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 0; border: 1px solid var(--lilac-300); text-decoration: none; font-weight: 600; }
.pagination strong { background: var(--plum); border-color: var(--plum); color: var(--white); }
.pagination a:hover { background: var(--lilac-100); }
.note { background: var(--lilac-100); border-left: 4px solid var(--plum-500); padding: 14px 20px; border-radius: 0; }
.sidebar { position: sticky; top: 108px; display: grid; gap: 24px; }
.side-card { padding: 24px; }
.side-card img { width: 100%; border-radius: 0; display: block; }
.side-card h3:not(.module-title) { font-size: 19px; margin-top: 1.2em; }
.side-card button { border-radius: 0; padding: 12px 22px !important; font: 700 16px var(--sans) !important; letter-spacing: .03em; cursor: pointer; }

/* Footer */
.site-footer { background: var(--plum-900); color: #e9ddee; text-align: center; padding: 32px 0; font-size: 16px; }
.site-footer p { margin: 0; line-height: 2; }
.site-footer a { color: var(--white); }

/* Tablet */
@media (max-width: 1060px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; }
  .logo img { width: 240px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; height: 46px; padding: 0 16px; border-radius: 0; border: 2px solid rgba(255,255,255,.75); background: none; color: var(--white); font: 700 16px var(--sans); cursor: pointer; }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -6px; } .nav-toggle .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
  .site-nav { display: none; flex-basis: 100%; margin: 0 -24px; padding: 8px 16px 20px; background: var(--white); max-height: calc(100vh - 110px); overflow-y: auto; }
  .site-nav.open { display: block; }
  .nav-list { display: block; }
  .nav-item { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--lilac-200); }
  .nav-link, .nav-group { flex: 1; color: var(--ink); border-radius: 0; padding: 14px 12px; font-size: 18px; text-align: left; }
  .nav-link:hover, .nav-item:hover > .nav-link, .nav-item.open > .nav-link { background: var(--lilac-100); color: var(--plum-800); }
  .nav-item.is-active > .nav-link { background: var(--lilac-200); color: var(--plum-800); }
  .sub-toggle:not(.nav-group) { width: 52px; height: 52px; margin: 0; color: var(--plum-800); }
  .sub-toggle::after { margin: 0; }
  .nav-item.open > .sub-toggle::after { transform: translateY(2px) rotate(-135deg); }
  .sub-list { position: static; flex-basis: 100%; box-shadow: none; padding: 0 0 10px 14px; min-width: 0; }
  .sub-list a { font-size: 17px; padding: 12px 14px; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .home-cards { grid-template-columns: 1fr 1fr; }
}
/* Phone */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .site-nav { margin: 0 -16px; }
  .topbar .wrap { justify-content: center; }
  .logo img { width: 200px; }
  .nav-toggle-label { font-size: 15px; }
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide-img { grid-column: 1; grid-row: 1; height: auto; aspect-ratio: 930/350; }
  .slide-text { grid-column: 1; grid-row: 2; padding: 24px 16px 76px; }
  .slide-caption { font-size: 18px; }
  .hero-controls { left: 16px; bottom: 18px; }
  .home-cards { grid-template-columns: 1fr; gap: 20px; margin: 28px 0 36px; }
  .card { padding: 22px; }
  .page-layout { margin-top: 20px; gap: 20px; margin-bottom: 36px; }
  .page-content { padding: 26px 20px; border-radius: 0; }
  .page-content img[style*="float"], .page-content img[align] { float: none !important; display: block; margin: 0 auto 16px !important; }
  .page-content table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.page-layout.one-col { grid-template-columns: minmax(0, 760px); justify-content: center; }
.error-404 h1.error { font-size: 64px; margin: 0; color: var(--plum-500); }
.innertop { padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--lilac-200); }
.innertop::after { content: ""; display: table; clear: both; }
.innertop img[style*="float"] { border-radius: 0; margin-bottom: 12px; }
/* keep the desktop menu on one line */
@media (min-width: 1061px) {
  .header-inner { gap: 16px; }
  .logo img { width: 250px; }
  .nav-list { flex-wrap: nowrap; }
  .nav-link { padding: 9px 11px; font-size: 15.5px; white-space: nowrap; }
}
@media (min-width: 1061px) and (max-width: 1240px) { .logo img { width: 200px; } .nav-link { padding: 8px 8px; font-size: 15px; } .sub-toggle:not(.nav-group) { width: 20px; margin-left: -6px; } }
/* headings re-levelled for screen readers keep their original size */
.look-h3 { font-size: 22px; } .look-h4 { font-size: 19px; }
.home-cards .module-title, .side-card .module-title { font-size: 24px; }
.items .look-h1 { font-size: 26px; }
.page-content .look-h1 { font-size: clamp(26px, 3.4vw, 32px); }
/* slideshow sits in the same centered column as the logo and the homepage boxes */
.hero { width: calc(100% - 48px); max-width: calc(var(--wrap) - 48px); margin: 40px auto 0; box-shadow: var(--shadow); overflow: hidden; }
.hero-track { max-width: none; }
.slide-text { padding: 48px 44px 84px; }
.hero-controls { left: 44px; }
@media (max-width: 760px) {
  .hero { width: calc(100% - 32px); margin-top: 20px; }
  .slide-text { padding: 28px 20px 76px; }
  .hero-controls { left: 20px; }
}
/* no black outlines on photos (carried over from the original pages) */
.page-content img, .innertop img, .side-card img { border: 0 !important; }

/* ===== Header, Auerbach style: purple band (logo + phone) over a full-width menu bar ===== */
.site-header { position: sticky; top: -135px; background: none; box-shadow: 0 2px 10px rgba(47,36,52,.12); }
.brand-band { background: linear-gradient(180deg, #7a5e7e 0%, #634a6c 100%); }
.brand-band .header-inner { min-height: 135px; gap: 24px; }
.brand-band .logo img { width: 390px; }
.header-call { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; color: var(--white); text-decoration: none; line-height: 1.1; }
.header-call .call-label { font: 600 14px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.header-call .call-number { font: 700 30px var(--sans); letter-spacing: .01em; }
.header-call:hover .call-number { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.menu-bar { background: linear-gradient(180deg, #fbfafc, #ece8ef); border-bottom: 1px solid #d9d2de; }
.menu-bar .site-nav { margin-left: 0; }
.menu-bar .nav-list { justify-content: flex-start; flex-wrap: wrap; gap: 0; }
.menu-bar .nav-link { color: var(--plum-800); font-weight: 600; font-size: 16px; padding: 15px 14px; white-space: nowrap; }
.menu-bar .nav-item:first-child > .nav-link { margin-left: -14px; }
.menu-bar .nav-link:hover, .menu-bar .nav-item:hover > .nav-link, .menu-bar .nav-item.open > .nav-link { background: rgba(108,63,124,.09); color: var(--plum-800); }
.menu-bar .nav-item.is-active > .nav-link { background: none; color: var(--plum-800); box-shadow: inset 0 -3px 0 var(--plum-500); }
.menu-bar .sub-toggle:not(.nav-group) { color: var(--plum-800); height: 48px; }
.menu-bar .sub-list { border-top: 3px solid var(--plum-500); }
@media (min-width: 1061px) and (max-width: 1240px) { .menu-bar .nav-link { padding: 15px 10px; font-size: 15.5px; } .menu-bar .nav-item:first-child > .nav-link { margin-left: -10px; } }
@media (max-width: 1060px) {
  .site-header { top: 0; }
  .brand-band .header-inner { min-height: 76px; flex-wrap: nowrap; }
  .brand-band .logo img { width: 280px; }
  .header-call .call-number { font-size: 22px; }
  .header-call .call-label { font-size: 12px; }
  .nav-toggle { margin-left: 4px; }
  .menu-bar { background: var(--white); border: 0; }
  .menu-bar .wrap { padding: 0; }
  .menu-bar .site-nav { margin: 0; padding: 8px 16px 20px; }
  .menu-bar .nav-link, .menu-bar .nav-group { padding: 14px 12px; font-size: 18px; white-space: normal; }
  .menu-bar .nav-item:first-child > .nav-link { margin-left: 0; }
  .menu-bar .nav-item.is-active > .nav-link { background: var(--lilac-200); box-shadow: none; }
  .menu-bar .sub-toggle:not(.nav-group) { height: 52px; }
  .menu-bar .sub-list { border-top: 0; }
}
@media (max-width: 760px) {
  .brand-band .header-inner { flex-wrap: wrap; row-gap: 0; padding-top: 10px; padding-bottom: 10px; min-height: 0; }
  .brand-band .logo img { width: 215px; }
  .nav-toggle { margin-left: auto; height: 42px; padding: 0 12px; }
  .header-call { order: 3; flex-basis: 100%; flex-direction: row; justify-content: center; align-items: baseline; gap: 8px; margin: 10px -16px -10px; padding: 9px 16px; background: rgba(0,0,0,.18); }
  .header-call .call-number { font-size: 19px; }
  .site-nav { max-height: calc(100vh - 140px); }
}
@media (max-width: 760px) { .header-call { flex-basis: auto; width: calc(100% + 32px); box-sizing: border-box; } }

/* ===== Education videos (2026-10-29, like drauerbach.com): tiles grouped by topic on /education.html, one page per video
   in /education/. Generated by templates/edu-gen/gen.py from the ViewMedica CSV. ===== */
.edu-big { font-size: 26px; margin: 1.6em 0 .2em; padding-bottom: .35em; border-bottom: 2px solid var(--lilac-200); }
.edu-index .edu-big:first-child { margin-top: .4em; }
.edu-group { margin-top: 22px; }
.edu-group h3 { font-size: 19px; margin: 0 0 12px; padding-left: 12px; border-left: 4px solid var(--plum-500); }
.edu-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.edu-thumbs li { margin: 0; padding: 0; }
.edu-tile { display: block; color: inherit; text-decoration: none; }
.edu-tile-img { position: relative; display: block; overflow: hidden; border: 1px solid var(--lilac-200); background: var(--white); transition: box-shadow .15s, transform .15s; }
.edu-tile-img img { display: block; width: 100%; height: auto; aspect-ratio: 300/223; object-fit: cover; }
.edu-tile-img em { position: absolute; right: 6px; bottom: 6px; background: rgba(47,24,56,.88); color: var(--white); font-style: normal; font-weight: 600; font-size: 13px; line-height: 1.5; padding: 0 6px; }
.edu-tile strong { display: block; margin-top: 7px; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--plum-800); }
.edu-tile:hover { color: inherit; }
.edu-tile:hover .edu-tile-img { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(47,24,56,.5); }
.edu-tile:hover strong { text-decoration: underline; text-decoration-color: var(--plum-500); text-decoration-thickness: 2px; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.vid-screen { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--plum-900); box-shadow: 0 18px 36px -18px rgba(47,24,56,.55); }
.page-content .vid-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; margin: 0; max-width: none; }
.vid-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 22px; }
.vid-meta { margin-right: auto; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); }
.edu-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 16px; border: 2px solid var(--plum); background: var(--white); color: var(--plum); font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.edu-btn:hover { background: var(--plum); color: var(--white); }
.edu-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vid-share { position: relative; }
.vid-share-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 190px; background: var(--white); border: 1px solid var(--lilac-200); box-shadow: var(--shadow); padding: 6px; display: grid; }
.vid-share-menu[hidden] { display: none; }
.vid-share-menu a, .vid-share-menu button { display: block; text-align: left; padding: 10px 12px; border: 0; background: none; font: 600 16px var(--sans); color: var(--plum-800); text-decoration: none; cursor: pointer; }
.vid-share-menu a:hover, .vid-share-menu button:hover { background: var(--lilac-100); }
.vid-q { margin-top: 22px; padding: 16px 20px; background: var(--lilac-100); border-left: 4px solid var(--plum-500); }
.vid-disc { font-size: 15px; color: var(--muted); }
.vid-more { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--lilac-200); }
.vid-more h2 { font-size: 22px; margin: 0 0 16px; }
.edu-all { display: inline-block; margin-top: 18px; padding: 10px 20px; background: var(--plum); color: var(--white); font-weight: 700; text-decoration: none; }
.edu-all:hover { background: var(--plum-800); color: var(--white); }
.edu-sitemap { margin: 6px 0 6px 20px; font-size: 16px; }
@media (max-width: 600px) { .edu-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .vid-meta { width: 100%; } }

/* Desktop menu fills the full bar: items spread edge to edge, slightly larger */
@media (min-width: 1061px) {
  .menu-bar .nav-list { justify-content: space-between; flex-wrap: nowrap; }
  .menu-bar .nav-link { font-size: 18px; letter-spacing: .01em; padding: 15px 18px; }
  .menu-bar .nav-item:first-child > .nav-link { margin-left: -18px; }
  .menu-bar .nav-item:last-child > .nav-link { margin-right: -18px; }
}
@media (min-width: 1061px) and (max-width: 1240px) {
  .menu-bar .nav-link { font-size: 17px; letter-spacing: 0; padding: 15px 13px; }
  .menu-bar .nav-item:first-child > .nav-link { margin-left: -13px; }
  .menu-bar .nav-item:last-child > .nav-link { margin-right: -13px; }
}

/* Sidebar Contact Us: icon list for phone, fax, address */
.contact-list { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.cl-icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--lilac-100); color: var(--plum-800); }
.side-card .contact-list .cl-label { display: block; margin: 0 0 2px; font: 700 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--plum-500); }
.contact-list .cl-value { font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.contact-list a.cl-value { color: var(--plum-800); text-decoration: none; }
.contact-list a.cl-value:hover { text-decoration: underline; }
.contact-list address { font-style: normal; line-height: 1.5; }
.cl-directions { display: inline-block; margin-top: 6px; font-weight: 600; font-size: 16px; }
.cl-directions::after { content: " \2192"; }

/* Sidebar Online Bill Pay panel (button stays a real <button>: the Converge script enables the first button beside it) */
.billpay { margin-top: 8px; padding: 18px; background: var(--lilac-100); border-top: 3px solid var(--plum-500); }
.billpay-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.billpay .cl-icon { background: var(--white); }
.side-card .billpay-title { margin: 0; font: 600 19px/1.25 var(--serif); color: var(--plum-800); }
.billpay-note { margin: 2px 0 0; font-size: 15px; line-height: 1.4; color: var(--muted); }
.side-card .billpay-btn { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px !important; border: 0; border-radius: 0; background: var(--plum); color: var(--white); font: 700 17px var(--sans) !important; letter-spacing: .03em; cursor: pointer; transition: background .15s; }
.side-card .billpay-btn:hover:not(:disabled), .side-card .billpay-btn:focus-visible { background: var(--plum-800); }
.side-card .billpay-btn:focus-visible { outline: 3px solid var(--plum-500); outline-offset: 2px; }
.side-card .billpay-btn:disabled { cursor: default; }

/* Testimonial pages: intro in a tinted panel, each testimonial a quote card */
.page-testimonials .innertop { background: var(--lilac-100); border: 0; border-left: 5px solid var(--plum); padding: 28px 30px; margin: 0 0 36px; }
.page-testimonials .innertop h1 { margin-top: 0; }
.page-testimonials .innertop p { font-size: 19px; color: var(--ink); }
.page-testimonials .innertop p:last-child { margin-bottom: 0; font-weight: 600; color: var(--plum-800); }
.page-testimonials .items .grid-box + .grid-box { border-top: 0; margin-top: 24px; padding-top: 0; }
.page-testimonials article.item { position: relative; background: var(--white); border: 1px solid var(--lilac-300); box-shadow: 0 2px 10px rgba(72,40,86,.07); padding: 30px 32px 26px 84px; }
.page-testimonials article.item::before { content: "\201C"; position: absolute; left: 24px; top: 14px; font: 600 80px/1 var(--serif); color: var(--plum-500); opacity: .55; }
.page-testimonials article.item .look-h1 { font: italic 600 23px/1.35 var(--serif); color: var(--plum-800); margin: 0 0 14px; }
.page-testimonials article.item .content p { font-size: 17px; line-height: 1.7; }
.page-testimonials article.item .content p:last-child { margin-bottom: 0; }
.page-testimonials article.item .content em { display: block; margin-top: 12px; font-style: normal; font-weight: 700; color: var(--plum-800); }
@media (max-width: 760px) {
  .page-testimonials .innertop { padding: 20px; }
  .page-testimonials article.item { padding: 56px 20px 20px; }
  .page-testimonials article.item::before { left: 18px; top: 8px; font-size: 64px; }
}

/* ---- Inside pages: layout & formatting ---- */
.page-content h1.title, .page-content:not(.page-testimonials) .items > .grid-box > article > header > .title { position: relative; padding-bottom: 16px; margin-bottom: 26px; font-size: clamp(28px, 3.4vw, 36px); }
.page-content h1.title::after, .page-content:not(.page-testimonials) .items > .grid-box > article > header > .title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--plum); }
.page-testimonials article.item .look-h1::after { display: none; }
.page-testimonials article.item .look-h1 { padding-bottom: 0; }
.page-content .content > h2, .page-content .content > h3 { margin: 1.6em 0 .7em; padding-top: 22px; border-top: 1px solid var(--lilac-200); font-size: 24px; }
.page-content .content > p:first-child + h2, .page-content .content > h2:first-child { border-top: 0; padding-top: 0; }
.page-content .content > p, .page-content .content li { font-size: 18px; line-height: 1.7; }
.page-content .content > ul:not([class]) { list-style: none; padding-left: 0; }
.page-content .content > ul:not([class]) > li { position: relative; padding-left: 22px; }
.page-content .content > ul:not([class]) > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--plum-500); }
.page-content img.float-photo, .page-content .content img[style*="float: right"] { margin: 4px 0 18px 28px !important; box-shadow: 0 6px 18px rgba(72,40,86,.15); }

/* Highlight boxes */
.callout { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--lilac-100); border-left: 5px solid var(--plum); color: var(--plum-800); }
.callout strong { font-weight: 700; }
.callout-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; background: var(--white); color: var(--plum); }
.box-hint { margin: 1.4em 0; padding: 22px 26px; background: #faf8fb; border: 1px solid var(--lilac-200); border-top: 4px solid var(--plum-500); }
.box-hint p:last-child { margin-bottom: 0; }

/* Services: hospitals as tiles, conditions as a two-column checklist */
.tile-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tile-list li { margin: 0 !important; }
.tile-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--lilac-300); background: var(--white); color: var(--plum-800); font-weight: 600; text-decoration: none; line-height: 1.35; transition: background .15s, border-color .15s; }
.tile-list a::after { content: "\2197"; color: var(--plum-500); font-weight: 700; }
.tile-list a:hover { background: var(--lilac-100); border-color: var(--plum-500); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.check-list li { position: relative; margin: 0 !important; padding-left: 30px; line-height: 1.45 !important; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; background: var(--lilac-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23482856' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.check-list li:last-child { grid-column: 1 / -1; }

/* Buttons and link cards */
.btn-row { margin-top: 1.4em; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 2px solid var(--plum); color: var(--plum) !important; font-weight: 700; text-decoration: none !important; transition: background .15s, color .15s; }
.btn-outline::after { content: "\2192"; }
.btn-outline:hover { background: var(--plum); color: var(--white) !important; }
.link-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.link-cards li { margin: 0 !important; }
.link-cards a { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border: 1px solid var(--lilac-300); border-left: 5px solid var(--plum); background: var(--white); color: var(--plum-800); font-weight: 600; font-size: 18px; text-decoration: none; transition: background .15s; }
.link-cards a::after { content: "\2197"; color: var(--plum-500); }
.link-cards a:hover { background: var(--lilac-100); }

/* Providers list: each doctor a clear section */
.page-content:not(.page-testimonials) .items .grid-box + .grid-box { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--lilac-300); }

@media (max-width: 760px) {
  .check-list { grid-template-columns: 1fr; }
  .callout { align-items: flex-start; }
}
.page-content .content > h2 { clear: both; }

/* Homepage card buttons, lined up at the bottom of each card */
.home-cards .card-cta { margin-top: auto; padding-top: 1em; margin-bottom: 0; }
