/* Premium header applied only to the existing header; no rules for body content or slider buttons. */
header{position:relative!important;top:auto!important;z-index:100!important;background:#fff!important}
header>.premium-clinic-bar{position:relative;overflow:hidden;isolation:isolate;border-top:2px solid #7c328b;border-bottom:1px solid #e7d9ed;background:#fff url('../img/frenkel-header-premium.webp') center center/cover no-repeat!important;box-shadow:0 3px 12px rgba(53,15,65,.10)}
header>.premium-clinic-bar .premium-clinic-inner{box-sizing:border-box;max-width:1530px;min-height:132px;margin:auto;padding:18px 38px;display:flex;align-items:center;justify-content:space-between;gap:32px}
header>.premium-clinic-bar .premium-clinic-brand{display:flex;align-items:center;flex:1 1 48%;min-width:0;max-width:610px;text-decoration:none!important}
header>.premium-clinic-bar .premium-clinic-original-logo{display:block!important;width:100%!important;max-width:580px!important;height:auto!important;max-height:112px!important;object-fit:contain;object-position:left center;filter:sepia(.25) saturate(2) hue-rotate(238deg) brightness(.87)}
header>.premium-clinic-bar .premium-clinic-actions{display:flex;align-items:center;gap:26px;flex:0 0 auto}
header>.premium-clinic-bar .premium-clinic-call{display:flex;align-items:center;gap:13px;padding-left:26px;border-left:1px solid #a986b5;text-decoration:none!important;white-space:nowrap}
header>.premium-clinic-bar .premium-clinic-call-icon{display:flex;align-items:center;justify-content:center;width:55px;height:55px;flex:0 0 55px;border-radius:50%;background:linear-gradient(145deg,#a940b5,#52115f);color:#fff;font-size:29px;border-bottom:3px solid #e5bc68;box-shadow:0 3px 9px rgba(53,16,63,.25)}
header>.premium-clinic-bar .premium-clinic-call-copy{display:flex;flex-direction:column;gap:3px}
header>.premium-clinic-bar .premium-clinic-call-copy small{font:700 13px/1.2 Arial,sans-serif;color:#2c2630;letter-spacing:.04em}
header>.premium-clinic-bar .premium-clinic-call-copy strong{font:700 clamp(20px,2.1vw,29px)/1.15 Arial,sans-serif;color:#5b176b}
header>.premium-clinic-bar .premium-clinic-book{display:inline-flex;align-items:center;justify-content:center;gap:11px;min-height:57px;box-sizing:border-box;padding:12px 24px;border:2px solid #e6c16f;border-radius:99px;background:linear-gradient(180deg,#a42eae,#5b146a);color:#fff!important;text-decoration:none!important;font:700 16px/1.2 Arial,sans-serif;white-space:nowrap;box-shadow:0 5px 10px rgba(54,15,65,.2)}
header>.premium-clinic-bar .premium-clinic-book:hover,header>.premium-clinic-bar .premium-clinic-book:focus-visible{color:#fff!important;background:linear-gradient(180deg,#b945c0,#752080)}
/* Hide only the duplicate legacy contact controls; preserve the entire original navigation and all buttons below the header. */
header>.premium-clinic-bar~.container .headerMoreInfo{display:none!important}
header>.premium-clinic-bar~.container .headerTopInfoContaner>a.logo{display:none!important}
header>.premium-clinic-bar~.container .headerTopInfo{height:auto!important;min-height:0!important}
@media(min-width:768px) and (max-width:1199px){header>.premium-clinic-bar .premium-clinic-inner{min-height:110px;padding:16px 23px;gap:17px}header>.premium-clinic-bar .premium-clinic-brand{flex-basis:42%}header>.premium-clinic-bar .premium-clinic-actions{gap:12px}header>.premium-clinic-bar .premium-clinic-call{padding-left:14px;gap:8px}header>.premium-clinic-bar .premium-clinic-call-icon{width:42px;height:42px;flex-basis:42px;font-size:23px}header>.premium-clinic-bar .premium-clinic-call-copy strong{font-size:20px}header>.premium-clinic-bar .premium-clinic-book{min-height:48px;padding:9px 14px;font-size:13px}}
@media(max-width:767px){header>.premium-clinic-bar .premium-clinic-inner{min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:17px 14px}header>.premium-clinic-bar .premium-clinic-brand{width:100%;max-width:100%;justify-content:center}header>.premium-clinic-bar .premium-clinic-original-logo{width:100%!important;max-width:340px!important;max-height:85px!important;object-position:center}header>.premium-clinic-bar .premium-clinic-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}header>.premium-clinic-bar .premium-clinic-call{padding:0;border:0;gap:6px;min-width:0}header>.premium-clinic-bar .premium-clinic-call-icon{width:34px;height:34px;flex-basis:34px;font-size:19px}header>.premium-clinic-bar .premium-clinic-call-copy small{font-size:9px}header>.premium-clinic-bar .premium-clinic-call-copy strong{font-size:clamp(13px,3.4vw,17px)}header>.premium-clinic-bar .premium-clinic-book{white-space:normal;text-align:center;min-height:43px;padding:8px 7px;font-size:clamp(11px,3vw,14px);gap:5px}}


/* Correct legacy-header spacing: the original logo/phone row was still
   reserving height beneath the premium bar. Scope exclusively to header. */
header > .container {width:100%!important;max-width:none!important;padding-left:0!important;padding-right:0!important}
header > .container > .row {margin:0!important}
header > .container > .row > [class*="col-"] {float:none!important;width:100%!important;padding:0!important}
header .responsiveSrollWrapper {margin:0!important;padding:0!important;min-height:0!important;height:auto!important}
header .headerTopInfo {display:none!important}
header .headerMoreInfo {display:none!important}
header .responsiveWrapper {margin:0!important;padding:0!important;min-height:0!important}
header .responsiveWrapper .navScroll {margin:0!important;padding:0!important}
header .responsiveWrapper nav {margin:0 auto!important;padding:0!important;max-width:1380px!important}
@media(min-width:768px){
 header .responsiveWrapper {display:block!important;position:relative!important;background:#fff!important;border-bottom:1px solid #ece2f0!important}
 header .responsiveWrapper .navScroll {height:auto!important;max-height:none!important;overflow:visible!important}
 header .responsiveWrapper nav > ul {display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:wrap!important;gap:0 12px!important;margin:0!important;padding:0 16px!important;min-height:60px!important}
 header .responsiveWrapper nav > ul > li {float:none!important;margin:0!important;padding:0!important}
 header .responsiveWrapper nav > ul > li > a {padding:18px 10px!important;line-height:24px!important}
}
@media(max-width:767px){
 /* Retain existing mobile hamburger/navigation instead of leaving an empty strip. */
 header .headerTopInfo {display:block!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important}
 header .headerTopInfoContaner {display:flex!important;justify-content:flex-end!important;align-items:center!important;min-height:42px!important;padding:4px 16px!important}
 header .headerTopInfoContaner > a.logo {display:none!important}
 header .headerTopInfoContaner .menuIcon {position:relative!important;display:block!important;float:none!important;margin:0!important}
 header .responsiveWrapper {min-height:0!important}
}

/* Header navigation: fix overlapping arrows and enable accessible dropdowns. */
@media (min-width:768px){
 header .responsiveWrapper nav>ul>li{position:relative!important;display:flex!important;align-items:center!important;gap:0!important;white-space:nowrap!important}
 header .responsiveWrapper nav>ul>li>a{display:inline-flex!important;align-items:center!important;min-height:60px!important;box-sizing:border-box!important}
 header .responsiveWrapper nav>ul>li:has(>ul)>a{padding-right:3px!important}
 header .responsiveWrapper nav>ul>li>i.fa-angle-down{position:static!important;display:inline-block!important;transform:none!important;float:none!important;pointer-events:none!important;margin:0 9px 0 1px!important;color:#50205e!important;font-size:12px!important}
 header .responsiveWrapper nav>ul>li>ul{position:absolute!important;top:100%!important;left:0!important;min-width:235px!important;width:max-content!important;max-width:min(360px,90vw)!important;display:block!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;transform:translateY(7px)!important;transition:opacity .16s ease,transform .16s ease!important;z-index:1000!important;background:#fff!important;box-shadow:0 9px 22px rgba(36,12,46,.17)!important;white-space:normal!important}
 header .responsiveWrapper nav>ul>li:hover>ul,header .responsiveWrapper nav>ul>li:focus-within>ul,header .responsiveWrapper nav>ul>li.is-menu-open>ul{visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:translateY(0)!important}
 header .responsiveWrapper nav>ul>li>ul>li{display:block!important;float:none!important;width:100%!important}
 header .responsiveWrapper nav>ul>li>ul>li>a{display:block!important;white-space:normal!important;line-height:1.4!important;padding:11px 15px!important}
}
@media(max-width:767px){
 header .responsiveWrapper nav>ul>li>i.fa-angle-down{cursor:pointer!important}
 header .responsiveWrapper nav>ul>li.is-menu-open>ul{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important}
}


/* Sharp approved header logo and CSS-drawn accents: avoids blurred image backdrop. */
header>.premium-clinic-bar {
 background:linear-gradient(112deg,#f4e6fa 0%,#fff 19%,#fff 76%,#f3e4fa 100%)!important;
 border-top:2px solid #6c227c!important;
}
header>.premium-clinic-bar::before,
header>.premium-clinic-bar::after {
 content:"";position:absolute;z-index:-1;pointer-events:none;
 width:290px;height:95px;
 background:linear-gradient(160deg,#6f2c86 0%,#b76acb 58%,#f2cb6d 60%,#f2cb6d 64%,transparent 65%);
}
header>.premium-clinic-bar::before {top:0;left:0;clip-path:ellipse(100% 100% at 0 0)}
header>.premium-clinic-bar::after {bottom:0;right:0;transform:rotate(180deg);clip-path:ellipse(100% 100% at 0 0)}
header>.premium-clinic-bar .premium-clinic-brand {max-width:690px!important;flex:1 1 50%!important}
header>.premium-clinic-bar .premium-clinic-original-logo {
 width:100%!important;max-width:690px!important;max-height:135px!important;
 height:auto!important;object-fit:contain!important;object-position:left center!important;
 filter:none!important;image-rendering:auto!important;
}
header>.premium-clinic-bar .premium-clinic-inner {min-height:155px!important}
@media(min-width:768px) and (max-width:1199px){
 header>.premium-clinic-bar .premium-clinic-inner{min-height:120px!important}
 header>.premium-clinic-bar .premium-clinic-original-logo{max-height:100px!important}
}
@media(max-width:767px){
 header>.premium-clinic-bar .premium-clinic-inner{min-height:0!important}
 header>.premium-clinic-bar .premium-clinic-original-logo{max-width:100%!important;max-height:100px!important;object-position:center!important}
 header>.premium-clinic-bar::before,header>.premium-clinic-bar::after{width:105px;height:45px}
}


/* Final header backdrop correction: soft premium lavender with refined flowing
   edge ribbons, not hard geometric wedges. All navigation/body styles untouched. */
header > .premium-clinic-bar {
  isolation: isolate!important;
  background-color:#fdfafd!important;
  background-image:url('../img/frenkel-header-soft-waves.svg')!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
  background-size:100% 100%!important;
  border-top:2px solid #6b257b!important;
  border-bottom:1px solid #e8d8ed!important;
}
header > .premium-clinic-bar::before,
header > .premium-clinic-bar::after {
  content:none!important;
  display:none!important;
  background:none!important;
}
@media(max-width:767px){
 header > .premium-clinic-bar {
   background-size:cover!important;
   background-position:center!important;
 }
}

/* DROP-DOWN ONLY: eliminate the theme's gray gradient bars, inset shading,
   and generated strips. No changes to the header, slider or body buttons. */
header .responsiveWrapper nav ul li ul,
header .responsiveWrapper nav ul li ul li,
header .responsiveWrapper nav ul li ul li > a,
header .responsiveWrapper nav ul li ul li > a:hover,
header .responsiveWrapper nav ul li ul li > a:focus,
header .responsiveWrapper nav ul li ul li > a:active {
  background-color:#fff!important;
  background-image:none!important;
  background: #fff!important;
  filter:none!important;
  text-shadow:none!important;
  -webkit-box-shadow:none!important;
  box-shadow:none!important;
}
header .responsiveWrapper nav ul li ul {
  border:1px solid #e9dced!important;
  border-radius:0 0 7px 7px!important;
  padding:0!important;
  overflow:visible!important;
  box-shadow:0 9px 22px rgba(35,12,46,.14)!important;
}
header .responsiveWrapper nav ul li ul li {
  margin:0!important;
  padding:0!important;
  border:0!important;
  min-height:0!important;
  height:auto!important;
}
header .responsiveWrapper nav ul li ul li + li {
  border-top:1px solid #f1e9f3!important;
}
header .responsiveWrapper nav ul li ul li > a {
  display:block!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:12px 16px!important;
  color:#3a2547!important;
  line-height:1.45!important;
}
header .responsiveWrapper nav ul li ul li > a:hover,
header .responsiveWrapper nav ul li ul li > a:focus-visible {
  background:#f7eef9!important;
  color:#69227a!important;
}
header .responsiveWrapper nav ul li ul::before,
header .responsiveWrapper nav ul li ul::after,
header .responsiveWrapper nav ul li ul li::before,
header .responsiveWrapper nav ul li ul li::after,
header .responsiveWrapper nav ul li ul li > a::before,
header .responsiveWrapper nav ul li ul li > a::after {
  content:none!important;
  display:none!important;
  background:none!important;
  box-shadow:none!important;
}

/* Restore persistent navigation. The theme's #content-block overflow:hidden
   prevented its descendant header from sticking to the viewport.
   overflow:clip retains visual clipping without creating a scroll container. */
#content-block { overflow: clip; }

/* Navigation-only follow-on-scroll: keep the branding/phone/booking banner in the page.
   The existing global.js scroll handler adds responsiveHeaderSrolled after the header
   has passed; only the menu wrapper becomes fixed at that point. */
header.header-scrolled, header.header-scrolled-animated,
header.responsiveHeaderSrolled {position:relative!important;top:auto!important;}
header.responsiveHeaderSrolled .responsiveSrollWrapper {
 position:fixed!important;top:0!important;left:0!important;width:100%!important;
 z-index:10000!important;background:#fff!important;animation:none!important;
 box-shadow:0 3px 10px rgba(0,0,0,.10);
}
@media (max-width:767px) {
 header.responsiveHeaderSrolled .responsiveSrollWrapper {
  position:fixed!important;top:0!important;left:0!important;width:100%!important;
 }
}

/* Inner-page content headings: match the approved About Rubin Frenkel, MD style.
   Excludes hero/banner titles and white-on-dark headings. */
body:not(.home) .contentPadding:not(.topicHero2026) h2.h2.as:not(.light) {
  color:#43145e;
  font-size:clamp(28px,3vw,38px);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.025em;
  margin-bottom:20px;
}
body:not(.home) .contentPadding:not(.topicHero2026) h2.h2.as:not(.light)::after {
  content:"";
  display:block;
  width:74px;
  height:4px;
  margin-top:16px;
  border-radius:3px;
  background:#a35abb;
}
@media(max-width:767px) {
 body:not(.home) .contentPadding:not(.topicHero2026) h2.h2.as:not(.light) {
   font-size:28px; line-height:1.25;
 }
}
