/* WordPress uyumluluk düzeltmeleri */
html {
  margin-top: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
  scroll-padding-top: 0;
  overflow-x: clip;
}

body {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: clip;
  min-height: 100vh;
}

body.admin-bar {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.admin-bar .header {
  top: 0;
}

#wpadminbar {
  display: none !important;
}

main {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero,
.header,
.footer,
.section,
.nav,
.header-ust,
.teklif-banner {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* WP blok / sayfa sarmalayıcı — kenar boşluğu oluşturmasın */
.wp-site-blocks,
.is-layout-constrained,
.is-layout-flow,
.alignwide,
.alignfull,
.entry-content,
.page-content {
  max-width: none !important;
  width: 100% !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

.header {
  margin: 0;
  padding: 0;
  top: 0;
}

.hero {
  margin-top: 0;
  padding-top: var(--s48);
}

.hero-rozet-google svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* Mobil hero — grid yerine dikey akış (önbellek/override güvenliği) */
@media (max-width: 1024px) {
  .hero-ic.konteyner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .hero-metin,
  .hero-sag {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .hero-metin {
    text-align: left !important;
  }

  .hero-baslik,
  .hero-altbaslik,
  .hero-cta-not,
  .hero-piller-baslik {
    text-align: left !important;
  }

  .hero-sag {
    padding-top: 0 !important;
    margin-bottom: 32px !important;
  }

  .hero-bar {
    margin-top: 24px !important;
  }

  .nasil-calisir {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-hero-cta,
  .nasil-calisir .btn-nasil-cta {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}

.konteyner {
  width: 100%;
  max-width: var(--konteyner);
  margin-inline: auto;
  padding-inline: var(--s24);
  box-sizing: border-box;
}

.logo-header img {
  height: 48px !important;
  width: auto !important;
  max-width: 201px !important;
  min-width: 140px;
}

.logo-footer img {
  height: 44px !important;
  width: auto !important;
  max-width: 198px !important;
}

/* WordPress emoji img — max-width:100% yüzünden devleşmesin */
img.emoji,
img.wp-smiley {
  display: inline !important;
  width: 1.1em !important;
  height: 1.1em !important;
  max-width: 1.1em !important;
  min-width: 0 !important;
  vertical-align: -0.15em;
  margin: 0 0.15em 0 0;
}

.ik-ikon img.emoji,
.dosya-ikon img.emoji {
  width: 1.25rem !important;
  height: 1.25rem !important;
  max-width: 1.25rem !important;
  margin: 0;
}

.header-adres img.emoji,
.header-tel img.emoji,
.footer-iletisim img.emoji,
.dropdown-iletisim img.emoji {
  width: 1em !important;
  height: 1em !important;
  max-width: 1em !important;
}

.header-ust-ic {
  min-height: var(--header-ust-yukseklik);
  max-height: none;
}

.header-adres,
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  white-space: nowrap;
}

/* WordPress varsayılan img kuralını geçersiz kıl */
.logo img {
  max-width: none;
}
