/*
Theme Name: Politic - Child
Template: politicia
Version: 1.0.0
*/

/*---------------------------------
      BARAN KANAT
------------------------------------*/

/* ===== Metin içi linkler ===== */
.entry-content a:not(.elementor-button) {
  color: #DD1818;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content a:not(.elementor-button):hover {
  color: #BC1414;
}

/* ===== Üst bar — kemko düzeni ===== */

/* Barın kendisi (temanın pre-header kapsayıcısı).
   Yüksekliği değiştirmek için sadece "height" değerini değiştir. */
.dsvy-pre-header-wrapper {
  height: 42px !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.dsvy-pre-header-wrapper > .container,
.dsvy-pre-header-wrapper > .container > .d-flex {
  height: 100%;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.dsvy-pre-header-wrapper > .container > .d-flex { align-items: center !important; }
.dsvy-pre-header-left,
.dsvy-pre-header-right {
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: normal !important;
}

.tybhd-tarih,
.tybhd-ust-sag { display: flex; align-items: center; margin: 0; }

.tybhd-ust-sag { justify-content: flex-end; }

/* Yazı boyutu ve inceliği — tema span'lere kendi boyutunu verdiği için hepsine uygulanır */
.tybhd-tarih, .tybhd-tarih *,
.tybhd-ust-oge, .tybhd-ust-oge * {
  font-family: 'Outfit', sans-serif !important;
  font-size: 13px !important;
  font-weight: 300 !important;
  line-height: 1.2 !important;
  color: #fff !important;
}

/* Telefon ve e-posta */
.tybhd-ust-oge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 14px; text-decoration: none;
}
.tybhd-ust-oge + .tybhd-ust-oge { border-left: 1px solid rgba(255,255,255,.3); }
.tybhd-ust-oge:hover { opacity: .8; }

/* Telefon ve e-posta ikonları (CSS ile; tema SVG'leri filtrelediği için) */
.tybhd-ust-oge::before {
  content: ""; width: 15px; height: 15px; flex: 0 0 15px;
  background-color: currentColor;
  -webkit-mask: var(--ikon) center / contain no-repeat;
          mask: var(--ikon) center / contain no-repeat;
}
.tybhd-ikon-tel {
  --ikon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
.tybhd-ikon-mail {
  --ikon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
}

/* Sosyal ikonlar: beyaz yuvarlak, bordo ikon */
.tybhd-ust-sosyal { display: flex; align-items: center; padding-left: 8px; }
.tybhd-ust-sosyal ul {
  display: flex !important; align-items: center; gap: 6px;
  margin: 0 !important; padding: 0 !important; list-style: none;
}
.tybhd-ust-sosyal li {
  display: flex !important;
  margin: 0 !important; padding: 0 !important;
  line-height: 1 !important;
  background: transparent !important;
}
.tybhd-ust-sosyal a {
  display: inline-flex !important;
  align-items: center !important; justify-content: center !important;
  width: 26px !important; height: 26px !important;
  padding: 0 !important; margin: 0 !important; border: 0 !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
  line-height: 1 !important;
  background: rgba(255,255,255,.92) !important;
}
.tybhd-ust-sosyal a i {
  display: inline-flex !important;
  align-items: center; justify-content: center;
  margin: 0 !important; padding: 0 !important;
  position: static !important;
}
.tybhd-ust-sosyal a i,
.tybhd-ust-sosyal a i::before {
  font-size: 15px !important;
  line-height: 1 !important;
  color: #7A1414 !important;
  background: transparent !important;
}
.tybhd-ust-sosyal a:hover { background: #fff !important; }
.tybhd-ust-sosyal a:hover i,
.tybhd-ust-sosyal a:hover i::before { color: #DD1818 !important; }

/* Mobil: telefon ve e-postayı gizle, sadece sosyal ikonlar kalsın */
@media (max-width: 767px) {
  .tybhd-ust-oge { display: none !important; }
}