/* Header compact + news dropdowns v2; only main navigation */
@media(min-width:1251px){
 html body .site-box > header.header .nav > #mainNav{justify-content:flex-start!important;gap:clamp(1px,.2vw,4px)!important;min-width:0!important;padding-right:12px!important;}
 html body .site-box > header.header .nav > #mainNav > .cms-nav-item{flex:0 0 auto!important;position:relative!important;min-width:0!important;}
 html body .site-box > header.header .nav > #mainNav > .cms-nav-item > a{font-size:clamp(10px,.76vw,12px)!important;font-weight:500!important;letter-spacing:0!important;padding:9px clamp(3px,.42vw,7px)!important;white-space:nowrap!important;}
 html body .site-box > header.header .nav > .headercta{margin-left:14px!important;white-space:nowrap!important;flex-shrink:0!important;}
 html body .site-box > header.header .nav > #mainNav .cms-news-dropdown{display:none!important;position:absolute!important;z-index:9999!important;top:calc(100% - 2px)!important;left:0!important;width:285px!important;max-width:min(330px,90vw)!important;min-width:260px!important;flex-direction:column!important;background:#fff!important;padding:8px!important;border:1px solid #d9e8f2!important;border-radius:12px!important;box-shadow:0 16px 34px rgba(27,69,111,.16)!important;}
 html body .site-box > header.header .nav > #mainNav > .cms-nav-item:nth-last-child(-n+3) .cms-news-dropdown{left:auto!important;right:0!important;}
 html body .site-box > header.header .nav > #mainNav > .cms-nav-item:hover > .cms-news-dropdown,
 html body .site-box > header.header .nav > #mainNav > .cms-nav-item:focus-within > .cms-news-dropdown{display:flex!important;}
}
html body .site-box > header.header .nav > #mainNav .cms-news-dropdown a{display:block!important;height:auto!important;min-height:0!important;font-size:12px!important;font-weight:400!important;letter-spacing:0!important;text-transform:none!important;line-height:1.4!important;white-space:normal!important;padding:9px 10px!important;text-decoration:none!important;border-radius:7px!important;color:#254c65!important;}
html body .site-box > header.header .nav > #mainNav .cms-news-dropdown a:hover,
html body .site-box > header.header .nav > #mainNav .cms-news-dropdown a:focus-visible{background:#edf7fc!important;color:#126fa0!important;}
html body .site-box > header.header .nav > #mainNav .cms-news-dropdown .cms-all-link{margin-top:5px!important;border-top:1px solid #e1edf5!important;border-radius:0!important;color:#147ca7!important;font-weight:600!important;}
@media(min-width:768px) and (max-width:1250px){
 html body .site-box > header.header .nav > #mainNav{gap:3px 5px!important;justify-content:flex-start!important;}
 html body .site-box > header.header .nav > #mainNav > .cms-nav-item > a{font-weight:500!important;letter-spacing:0!important;font-size:11px!important;padding:8px 5px!important;}
 html body .site-box > header.header .nav > .headercta{margin-left:10px!important;}
 html body .site-box > header.header .nav > #mainNav .cms-news-dropdown{z-index:9999!important;}
}
@media(max-width:1250px){
 html body .site-box > header.header .nav > #mainNav .cms-news-dropdown{position:static!important;display:flex!important;flex-direction:column!important;box-shadow:none!important;border:0!important;border-left:2px solid #d7eafa!important;border-radius:0!important;padding:3px 0 4px 9px!important;margin:3px 0 7px 10px!important;width:auto!important;max-width:100%!important;}
 html body .site-box > header.header .nav > #mainNav .cms-news-dropdown a{padding:7px 9px!important;}
}
/* In narrow desktop widths keep the appointment visually separate. */
@media(min-width:1251px) and (max-width:1400px){html body .site-box > header.header .nav > #mainNav > .cms-nav-item > a{font-size:10px!important;padding:8px 3px!important;}}
/* The navbar must not clip its dropdowns */
html body .site-box > header.header,html body .site-box > header.header .nav,html body .site-box > header.header .nav > #mainNav{overflow:visible!important;}

/* Larger desktop dropdown labels, including Family Guide and Media. */
@layer klinik-menu-okunurluk {
  @media screen and (min-width:1251px) {
    html body .site-box > header.header .nav > #mainNav .cms-submenu {
      box-sizing:border-box !important;
      width:340px !important;
      min-width:300px !important;
      max-width:calc(100vw - 32px) !important;
      max-height:calc(100dvh - 180px) !important;
      overflow-y:auto !important;
      padding:8px !important;
    }
    html body .site-box > header.header .nav > #mainNav .cms-submenu > a {
      display:block !important;
      box-sizing:border-box !important;
      font-size:15px !important;
      line-height:1.5 !important;
      font-weight:500 !important;
      padding:10px 12px !important;
      height:auto !important;
      min-height:43px !important;
      white-space:normal !important;
      overflow-wrap:anywhere;
      text-transform:none !important;
      letter-spacing:0 !important;
    }
    html body .site-box > header.header .nav > #mainNav .cms-submenu > a.cms-all-link {
      font-weight:600 !important;
    }
  }
}
