/* v142 – limited to the existing top-left clinic identity link.
   Keeps logo/title editable via current admin settings and leaves nav/contact alone. */
html body .site-box > header.header .nav > a.brand.cms-editable-header-brand,
html body header.header .nav > a.brand.cms-editable-header-brand {
  box-sizing: border-box !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: max-content !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 9px 17px !important;
  margin: 5px 0 !important;
  background: linear-gradient(125deg,#eff8ff 0%,#fff 48%,#f0f8ff 100%) !important;
  border: 2px solid rgba(255,255,255,.95) !important;
  border-radius: 999px !important;
  box-shadow: 0 3px 12px rgba(29,99,160,.16), inset 0 0 0 1px rgba(106,180,235,.15) !important;
  text-decoration: none !important;
  overflow: hidden !important;
}
html body header.header .nav > a.brand.cms-editable-header-brand > img.cms-header-symbol {
  display: block !important;
  flex: 0 0 40px !important;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  object-fit: contain !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: content-box !important;
  border-right: 0 !important;
}
html body header.header .nav > a.brand.cms-editable-header-brand > .template1-brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 2px !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  text-align: left !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}
html body header.header .nav > a.brand.cms-editable-header-brand > .template1-brand-text > strong {
  display: block !important;
  font-size: clamp(15px,1.20vw,18px) !important;
  line-height: 1.14 !important;
  font-weight: 750 !important;
  letter-spacing: -.55px !important;
  color: #103b70 !important;
  white-space: nowrap !important;
}
html body header.header .nav > a.brand.cms-editable-header-brand > .template1-brand-text > em {
  display: block !important;
  margin: 0 !important;
  font-size: clamp(10px,.77vw,11px) !important;
  line-height: 1.25 !important;
  font-style: normal !important;
  font-weight: 500 !important;
  color: #516b88 !important;
  white-space: nowrap !important;
}
@media (max-width: 600px) {
  html body header.header .nav > a.brand.cms-editable-header-brand {
    gap: 7px !important;
    padding: 7px 10px !important;
    margin: 4px 0 !important;
  }
  html body header.header .nav > a.brand.cms-editable-header-brand > img.cms-header-symbol {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    flex-basis: 32px !important;
    padding-right: 0 !important;
  }
  html body header.header .nav > a.brand.cms-editable-header-brand > .template1-brand-text > strong {font-size: 14px !important;letter-spacing: -.4px !important;}
  html body header.header .nav > a.brand.cms-editable-header-brand > .template1-brand-text > em {font-size: 9px !important;}
}

/* v143: exactly one divider between the symbol and the doctor name. */
html body header.header .nav > a.brand.cms-editable-header-brand > img.cms-header-symbol {
  border: 0 !important; border-right: 0 !important; border-left: 0 !important;
  padding: 0 !important;
}
html body header.header .nav > a.brand.cms-editable-header-brand > .template1-brand-text {
  border: 0 !important; border-left: 1px solid #9fc3df !important;
  padding: 0 0 0 10px !important;
  background: transparent !important;
}
html body header.header .nav > a.brand.cms-editable-header-brand > .template1-brand-text::before,
html body header.header .nav > a.brand.cms-editable-header-brand > .template1-brand-text::after,
html body header.header .nav > a.brand.cms-editable-header-brand > img.cms-header-symbol::before,
html body header.header .nav > a.brand.cms-editable-header-brand > img.cms-header-symbol::after {
  content: none !important; display: none !important;
}
@media (max-width:600px) {
 html body header.header .nav > a.brand.cms-editable-header-brand > .template1-brand-text {padding-left:7px !important;}
}

@layer klinik-header-isim {
  @media screen and (min-width:768px) {
    html body .site-box > header.header .nav > a.brand.cms-editable-header-brand
      > .template1-brand-text > strong {
      font-size:clamp(18px,1.75vw,24px) !important;
      font-weight:600 !important;
      letter-spacing:0 !important;
      line-height:1.2 !important;
    }
    html body .site-box > header.header .nav > a.brand.cms-editable-header-brand
      > .template1-brand-text > strong > :is(.cms-doctor-prefix,.cms-doctor-person) {
      font-size:inherit !important;
      font-weight:inherit !important;
      letter-spacing:inherit !important;
      line-height:inherit !important;
    }
  }
}
