/* =========================================================
   Eleventy ADS v14.2 — Biz Kimiz yerleşim düzeltmesi
   Amaç: MacBook/laptop ve Windows masaüstünde aynı dengeli kompozisyon,
   mobil hizmet butonlarında kontrollü boşluk.
   ========================================================= */

/* Panelin dikey ritmini sabitle; içerik yüksekliği ekrana göre dengelensin. */
.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel {
  min-height: clamp(660px, 50vw, 820px) !important;
}

/* Üst içerik: Bootstrap kolonlarını daha dengeli bir grid'e çevir. */
.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type {
  width: min(calc(100% - 96px), 1360px) !important;
  max-width: 1360px !important;
  padding: clamp(54px, 5vw, 84px) 0 clamp(34px, 3.2vw, 52px) !important;
}

.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type > .row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr) !important;
  align-items: center !important;
  column-gap: clamp(44px, 6vw, 104px) !important;
  row-gap: 32px !important;
  margin: 0 !important;
}

.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type > .row > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}

.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-about-title-wrap {
  max-width: 760px !important;
  margin: 0 !important;
}

.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-section-title {
  max-width: 760px !important;
  margin-top: 20px !important;
  margin-bottom: 28px !important;
  font-size: clamp(3.4rem, 4.25vw, 5.15rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.052em !important;
  text-wrap: balance;
}

.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-about-title-wrap > p {
  max-width: 640px !important;
  font-size: clamp(1rem, 1.18vw, 1.2rem) !important;
  line-height: 1.55 !important;
}

/* Görseli metinle aynı optik eksene al; HTML'deki br boşluklarını etkisizleştir. */
.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .card-item > br {
  display: none !important;
}

.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .tp_fade-anim {
  justify-self: end !important;
  align-self: center !important;
}

.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .card-item,
.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .card-item__bg {
  width: min(100%, 390px) !important;
  max-width: 390px !important;
  margin: 0 !important;
}

/* Alt hizmet menüsü panelden bağımsız, eşit aralıklı bir grid olsun. */
.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type {
  width: min(calc(100% - 96px), 1360px) !important;
  max-width: 1360px !important;
  padding: 0 0 clamp(42px, 4vw, 64px) !important;
}

.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type > .row {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin: 0 !important;
}

.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type > .row > [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-btn-border-white {
  min-height: 62px !important;
  padding: 12px 14px !important;
}

/* MacBook / kısa laptop ekranları: başlık ve görseli küçült, kompozisyonu bozma. */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .eleventy-home-v2 .sec-2-home-2.container-2200 {
    width: 100% !important;
    max-width: none !important;
    padding-inline: clamp(14px, 2vw, 28px) !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel {
    min-height: clamp(640px, 56vw, 740px) !important;
    margin-inline: 0 !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type,
  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type {
    width: min(calc(100% - 64px), 1180px) !important;
    max-width: 1180px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type {
    padding-top: clamp(44px, 4vw, 62px) !important;
    padding-bottom: clamp(28px, 2.8vw, 40px) !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type > .row {
    grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr) !important;
    column-gap: clamp(36px, 4.6vw, 68px) !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-about-title-wrap,
  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-section-title {
    max-width: 650px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-section-title {
    font-size: clamp(3.05rem, 4.05vw, 4.1rem) !important;
    line-height: 0.99 !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .card-item,
  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .card-item__bg {
    width: min(100%, 335px) !important;
    max-width: 335px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type > .row {
    gap: 8px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-btn-border-white {
    min-height: 58px !important;
    padding: 10px 9px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }
}

@media (min-width: 992px) and (max-height: 800px) {
  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel {
    min-height: 620px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type {
    padding-top: 38px !important;
    padding-bottom: 24px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-section-title {
    font-size: clamp(2.9rem, 3.9vw, 3.9rem) !important;
    margin-bottom: 22px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .card-item,
  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .card-item__bg {
    width: min(100%, 305px) !important;
    max-width: 305px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type {
    padding-bottom: 34px !important;
  }
}

/* Tablet: iki kolonlu buton düzeni ve dengeli içerik akışı. */
@media (max-width: 991.98px) {
  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel {
    min-height: 0 !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type,
  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type {
    width: 100% !important;
    max-width: none !important;
    padding-inline: 24px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type {
    padding-top: 52px !important;
    padding-bottom: 30px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type > .row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .tp_fade-anim {
    justify-self: center !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type {
    padding-top: 0 !important;
    padding-bottom: 32px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-btn-border-white {
    min-height: 60px !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 14px !important;
  }
}

/* Telefon: butonlar arasında küçük ama görünür boşluk. */
@media (max-width: 575.98px) {
  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:first-of-type,
  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type {
    padding-inline: 18px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-section-title {
    font-size: clamp(2.05rem, 10vw, 3rem) !important;
    line-height: 1.02 !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel > .container:last-of-type > .row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .eleventy-home-v2 .sec-2-home-2 .eleventy-home-about-panel .at-btn-border-white {
    min-height: 56px !important;
    padding: 11px 14px !important;
  }
}
