/* WordPress'e özgü ekler. */

/* Formlardaki gizli alan: ziyaretçi görmez, ekran okuyucu okumaz. */
.me-tuzak {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Bülten kutusunda KVKK aydınlatma metni bağlantısı: e-posta alanının altında (iletişim formundaki bağlantıyla aynı pencere). */
.bulten-kvkk { grid-column: 2; margin: -6px 0 0 16px; font-size: 13.5px; line-height: 1.4; }
.bulten-kvkk button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bulten-kvkk button:hover { text-decoration-thickness: 2px; }
@media (max-width: 959px) {
  .bulten-kvkk { grid-column: auto; }
}

/* Yönetici girişliyken üst çubuk: sabit menü çubuğun altına iner. */
.admin-bar .ust { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .ust { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .ust { top: 0; }
}

/* Sağ kutusu olmayan sayfa başı (genel sayfalar, sözleşmeler, 404): tek sütun. */
.sayfa-bas-ic:not(:has(> .sb-yan, > .sb-sahne)) { grid-template-columns: minmax(0, 1fr); }
.sayfa-bas-ic:not(:has(> .sb-yan, > .sb-sahne)) .sb-yazi { max-width: 900px; }

/* Blog listesinde sayfalama (yazı sayısı "Ayarlar → Okuma"daki sınırı geçince). */
.gs-sayfalama { margin-top: 40px; }
.gs-sayfalama ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; }
.gs-sayfalama a, .gs-sayfalama span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--cizgi-guclu);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--metin);
  text-decoration: none;
  background: #fff;
}
.gs-sayfalama a:hover { border-color: var(--metin); }
.gs-sayfalama .current { border-color: var(--murekkep); color: #fff; background: var(--murekkep); }
.gs-sayfalama .dots { border-color: transparent; background: transparent; }

/* Blok düzenleyiciyle yazılan içerik: yazı tipografisinin içinde görsel, liste ve alıntı. */
.gs-makale img { max-width: 100%; height: auto; border-radius: 18px; }
.gs-makale figure { margin: 28px 0; }
.gs-makale figcaption { margin-top: 10px; font-size: 14px; color: var(--metin-2); }
.gs-makale ul, .gs-makale ol { margin: 16px 0 0; padding-left: 1.3em; }
.gs-makale li { font-size: 17.5px; line-height: 1.75; color: var(--metin-2); }
.gs-makale li + li { margin-top: 6px; }
.gs-makale blockquote { margin: 28px 0; padding: 6px 0 6px 22px; border-left: 3px solid var(--turuncu); }
.gs-makale blockquote p { font-size: 19px; color: var(--metin); }
.gs-makale h3 { margin-top: 32px; font-size: 22px; line-height: 1.3; }

/* Üst menünün sağı: iletişim hapı + hesap / sepet hapı (mağaza kuruluysa). Hesapta yazı var ("Giriş yap / Kayıt ol" ya da
   "Hesabım"; yer darsa yalnız "Giriş yap", telefonda yalnız simge ve adı ekran okuyucuda), sepet yalnız simge. */
.ust-sag { justify-self: end; display: flex; align-items: center; gap: 6px; }
.hap-hesap {
  display: flex;
  align-items: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
}
.hap-hesap a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  transition: background-color .2s;
}
.hap-hesap a:hover, .hap-hesap a[aria-current] { background: rgba(255, 255, 255, .08); }
.hap-hesap a + a::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 1px; background: rgba(255, 255, 255, .16); }
.hap-hesap .ik { width: 19px; height: 19px; }
.hap-hesap .hh-hesap, .hap-hesap .hh-kayit { width: auto; gap: 8px; padding: 0 15px 0 12px; font-size: 15px; font-weight: 560; white-space: nowrap; }
.hap-hesap .hh-kayit { padding: 0 15px; }
/* "Giriş yap / Kayıt ol": iki ayrı bağlantı, arada sade eğik çizgi */
.hap-hesap .hh-hesap:has(+ .hh-ayrac) { padding-right: 8px; }
.hap-hesap .hh-ayrac + .hh-kayit { padding-left: 8px; }
.hh-ayrac { color: rgba(255, 255, 255, .34); font-size: 15px; }
.menu-mobil-hesap { display: none; }
.hy-gizli .hy {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hh-sayi {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border: 2px solid var(--murekkep);
  border-radius: 999px;
  background: var(--turuncu);
  color: var(--murekkep);
  font-size: 11px;
  font-weight: 760;
  line-height: 15px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1440px) and (max-width: 1599.98px) {
  .ust-sag .hap-iletisim a { padding: 0 14px; }
}
/* 1080-1439: iletişim hapında da yalnız simge (menü ortada kalsın, çakışmasın) */
@media (min-width: 1080px) and (max-width: 1439.98px) {
  .ust-sag .hap-iletisim a { width: 42px; padding: 0; justify-content: center; }
  .ust-sag .hap-iletisim .hy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* 1080-1239: üstte yalnız "Giriş yap" (Kayıt ol giriş sayfasında); WhatsApp / Ara hapı açıksa (Site ayarları) hesap
   eskisi gibi yalnız simge, menü ortada kalır */
@media (min-width: 1080px) and (max-width: 1239.98px) {
  .hh-ayrac, .hap-hesap .hh-kayit { display: none; }
  .hap-hesap .hh-hesap:has(+ .hh-ayrac) { padding-right: 15px; }
}
@media (min-width: 1080px) {
  .ust-sag:has(.hap-iletisim) .hh-ayrac, .ust-sag:has(.hap-iletisim) .hh-kayit { display: none; }
  .ust-sag:has(.hap-iletisim) .hh-hesap { width: 42px; padding: 0; }
  .ust-sag:has(.hap-iletisim) .hh-hesap .hy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* telefon ve tablet: hesap ve sepet menü düğmesinin solunda, menü düğmesi yalnız çizgi */
@media (max-width: 1079px) {
  .ust-ic:has(.hap-hesap) { grid-template-columns: 1fr auto auto; gap: 8px; }
  .ust-sag { display: contents; }
  .hap-hesap { gap: 6px; padding: 0; border: 0; background: none; }
  .hap-hesap a { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); }
  .hap-hesap a + a::before { content: none; }
  .hh-sayi { top: -4px; right: -4px; }
  .ust-ic:has(.hap-hesap) .menu-ac { width: 44px; padding: 0; justify-content: center; }
  .ust-ic:has(.hap-hesap) .menu-ac-yazi { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* üstte yalnız hesap (Kayıt ol açılan menüde); telefonda hesap yalnız simge */
  .hh-ayrac, .hap-hesap .hh-kayit { display: none; }
  .hap-hesap .hh-hesap { width: 44px; padding: 0; }
  .hh-hesap .hy { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* açılan menünün altında hesap düğmeleri (WhatsApp / Ara açıksa onların üstünde) */
  .menu-mobil-hesap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
  .menu-mobil-hesap.tek { grid-template-columns: 1fr; }
  .menu-mobil-hesap + .menu-mobil-iletisim { margin-top: -14px; }
}
/* geniş telefon ve tablet: hesapta yazı da görünür */
@media (min-width: 480px) and (max-width: 1079px) {
  .hap-hesap .hh-hesap { width: auto; padding: 0 16px 0 13px; }
  .hh-hesap .hy { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
