@layer klinik-kontrast {
 html[data-klinik-tema="koyu"] footer,
 html[data-klinik-tema="koyu"] footer * {
   color:white!important;
   -webkit-text-fill-color:white!important;
 }
 html[data-klinik-tema="koyu"] :is(.cms-header-social-icons,.topbar .social,footer .social,.cms-floating-tools) a {
   color:white!important;background:#20384a!important;border-color:white!important;
   -webkit-text-fill-color:white!important;
 }
 html[data-klinik-tema="koyu"] :is(.cms-header-social-icons,.topbar .social,footer .social,.cms-floating-tools) a :is(svg,path) {
   fill:white!important;color:white!important;filter:none!important;
 }
 html[data-klinik-tema="koyu"] .klinik-randevu-araclari .headercta{
   --klinik-cta-bg:#fff;--klinik-cta-image:none;--klinik-cta-base:#fff;--klinik-cta-ink:#18354a;
   -webkit-text-fill-color:#18354a!important;
 }
}

@media screen and (max-width:767px){
 html body .site-box .cms-family-page nav.cms-family-tabs{
   display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px;
   box-sizing:border-box;width:100%;max-width:100%;overflow:visible;padding:5px;
 }
 html body .site-box .cms-family-page nav.cms-family-tabs a[data-panel]{
   grid-column:span 4;min-width:0!important;min-height:44px;max-width:100%;margin:0;
   white-space:normal!important;overflow-wrap:anywhere;text-align:center;text-wrap:balance;
   font-size:clamp(11.5px,3.1vw,14px);line-height:1.22;padding:5px 3px!important;
 }
}
@media screen and (max-width:767px){
 .cms-family-tabs:has(>a:nth-child(10):last-child) > a[data-panel]:nth-child(-n+4){grid-column:span 3!important}
}
@media screen and (max-width:767px){
 .cms-family-page nav.cms-family-tabs{align-items:stretch}
}

@media screen and (max-width:767px){
 html body .site-box main.cms-family-page nav.cms-family-tabs > a[data-guide][data-panel] {
   grid-column:span 4!important;
 }
 html body .site-box main.cms-family-page nav.cms-family-tabs > a[data-guide][data-panel]:nth-child(-n+4) {
   grid-column:span 3!important;
 }
}
