/* Kilya Clinic top bar
   Koyu lacivert zemin + beyaz metin. Amaci menuden gorsel olarak
   ayrilmak: header seffaf oldugu ve sayfaya gore acik/koyu zemin
   uzerine bindigi icin, sabit koyu bir serit ikisinin ic ice
   gecmesini onluyor. */

.kc-topbar {
  background: #0F306B !important;
  border-bottom: 0;
}

.kc-topbar,
.kc-topbar a,
.kc-topbar .qodef-e-title-text,
.kc-topbar .qodef-e-icon-wrapper {
  color: #fff;
}

.kc-topbar a:hover,
.kc-topbar a:focus-visible {
  color: #1E9CD7;
}

.kc-topbar a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 3px;
}

/* Tema her ikonun arkasina 29px acik mavi daire koyuyor
   (.qodef-icon-list-item.qodef-icon--custom-icon .qodef-e-icon-wrapper).
   Acik zeminde sorun degildi, koyu seritte leke gibi duruyor. */
.kc-topbar .qodef-icon-list-item.qodef-icon--custom-icon .qodef-e-icon-wrapper {
  width: auto;
  height: auto;
  padding: 0;
  background-color: transparent;
  border-radius: 0;
}

/* Bilgi ikonlari aksan mavisi: koyu lacivert uzerinde 4.10:1,
   ikonlar icin esik 3:1. */
.kc-tb-loc .qodef-e-icon-wrapper,
.kc-tb-hours .qodef-e-icon-wrapper,
.kc-tb-phone .qodef-e-icon-wrapper {
  color: #1E9CD7;
}

/* Sosyal ikonlar biraz sonuk: sagliktaki ana kanal onlar degil.
   rgba(255,255,255,.75) -> 7.78:1, hover'da tam beyaz. */
.kc-tb-social a {
  color: rgba(255, 255, 255, 0.75);
}

.kc-tb-social a:hover,
.kc-tb-social a:focus-visible {
  color: #fff;
}

.kc-topbar .qodef-e-icon-wrapper svg {
  display: block;
}

/* --- sosyal ikonlar --- */

.kc-tb-social .qodef-e-title-inner {
  display: inline-flex;
  align-items: center;
}

.kc-tb-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
}

/* --- mobil ---
   Tema top bar'i 1024px altinda gizliyordu. Konum ve telefon yerel
   aramada kritik oldugu icin serit mobilde de gosteriliyor; yer
   kazanmak adina saat ve sosyal ikonlar gizleniyor (ikisi de
   footer'da mevcut). */

@media (max-width: 1024px) {
  .kc-topbar {
    display: block !important;
  }

  .kc-topbar #qodef-top-area-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 20px !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .kc-topbar .qodef-widget-holder.qodef--left {
    display: flex !important;
    align-items: center;
    gap: 18px;
    min-width: 0;
  }

  .kc-tb-hours,
  .kc-tb-social {
    display: none !important;
  }

  .kc-topbar .kc-tb-item,
  .kc-topbar .kc-tb-item .qodef-icon-list-item,
  .kc-topbar .kc-tb-item .qodef-e-title {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
  }

  .kc-topbar .qodef-e-title-text {
    font-size: 13px;
  }

  .kc-topbar .kc-tb-loc {
    min-width: 0;
  }

  .kc-topbar .kc-tb-loc .qodef-e-title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .kc-topbar .kc-tb-phone {
    flex: none;
  }
}

@media (max-width: 400px) {
  .kc-topbar #qodef-top-area-inner {
    padding: 7px 14px !important;
  }

  .kc-topbar .qodef-e-title-text {
    font-size: 12px;
  }

  .kc-topbar .qodef-widget-holder.qodef--left {
    gap: 12px;
  }
}
