/* =========================================================
   Eleventy ADS v16.8.21 — requested targeted cleanup
   Scope: the eight user-requested areas only.
   ========================================================= */

/* 4) Biz Kimiz: service labels are easier to read on every device. */
.eleventy-home-v2 .eleventy-home-about-panel .service-full-link + span,
.eleventy-home-v2 .eleventy-home-about-panel .service-full-link + span .text-1,
.eleventy-home-v2 .eleventy-home-about-panel .service-full-link + span .text-2 {
  font-size: clamp(15px, 1.05vw, 18px) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.015em !important;
}

/* Remove only the arrows belonging to the six service links. */
.eleventy-home-v2 .eleventy-home-about-panel .service-full-link ~ i {
  display: none !important;
}

/* 5) Defensive fallback in case the service button is restored by a child-theme copy. */
.eleventy-service-detail a[href="#hizmet-sureci"].es-btn-secondary,
body.single-services a[href="#hizmet-sureci"].es-btn-secondary {
  display: none !important;
}

/* 6) Neler Yapıyoruz: keep the card colour and parallax, remove decorative lines/effects. */
.eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .corridor-wall::before {
  background: #f4f5f6 !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .corridor-wall::after {
  display: none !important;
  content: none !important;
}

/* 7) Remove the clipped decorative pill above the first statistic card. */
.eleventy-home-v2 .eleventy-stats-section .row::before {
  display: none !important;
  content: none !important;
}

@media (max-width: 767.98px) {
  /* 2) References / latest posts: remove the coloured panel behind the cards. */
  .eleventy-home-v2 #referanslar .eleventy-references-shell,
  .eleventy-home-v2 .eleventy-home-insights .ehi-shell {
    background: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  .eleventy-home-v2 #referanslar .eleventy-references-shell::before,
  .eleventy-home-v2 .eleventy-home-insights .ehi-shell::before {
    display: none !important;
    content: none !important;
  }

  /* Keep the actual content cards intact, but remove mobile-only coloured glow layers. */
  .eleventy-home-v2 .eleventy-home-insights .ehi-card::before {
    display: none !important;
    content: none !important;
  }

  /* 3) Remove the tinted transition strip before Dijital Büyüme Sistemi. */
  html.eleventy-mobile-horizontal-v16-8 .eleventy-home-v2 .eleventy-growth-sec,
  .eleventy-home-v2 .eleventy-growth-sec {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: #ffffff !important;
    background-image: none !important;
  }

  .eleventy-home-v2 .eleventy-growth-shell {
    box-shadow: none !important;
  }

  .eleventy-home-v2 .eleventy-growth-shell::before {
    display: none !important;
    content: none !important;
  }

  /* 8) Neler Yapıyoruz: centre the complete card vertically on every mobile height.
     The horizontal/parallax track and all desktop rules remain untouched. */
  html.eleventy-mobile-horizontal-v16-8 body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .corridor-wall,
  html.eleventy-mobile-native-sticky-v16-5 body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .corridor-wall,
  body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .corridor-wall {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    align-content: center !important;
    padding: 62px 0 18px !important;
    box-sizing: border-box !important;
  }

  html.eleventy-mobile-horizontal-v16-8 body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .wall__inner,
  html.eleventy-mobile-native-sticky-v16-5 body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .wall__inner,
  body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .wall__inner {
    margin: auto !important;
    align-self: center !important;
    justify-self: center !important;
    align-content: start !important;
  }
}

/* Short-height phones: compact the same centred layout without changing its structure. */
@media (max-width: 767.98px) and (max-height: 720px) {
  html.eleventy-mobile-horizontal-v16-8 body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .corridor-wall,
  html.eleventy-mobile-native-sticky-v16-5 body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .corridor-wall,
  body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .corridor-wall {
    --elv-v16-819-service-top: 58px;
    --elv-v16-819-gap-index-title: 5px;
    --elv-v16-819-gap-title-text: 9px;
    --elv-v16-819-gap-text-features: 10px;
    --elv-v16-819-gap-features-image: 14px;
    --elv-v16-819-title-slot: 60px;
    --elv-v16-819-text-slot: 68px;
    --elv-v16-819-features-slot: 90px;
    --elv-v16-819-image-height: clamp(138px, 39vw, 164px);
    padding: 54px 0 12px !important;
  }

  html.eleventy-mobile-horizontal-v16-8 body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .wall__copy > p,
  html.eleventy-mobile-native-sticky-v16-5 body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .wall__copy > p,
  body .eleventy-home-v2 #hizmetlerimiz.eleventy-fortress-services .wall__copy > p {
    -webkit-line-clamp: 3 !important;
  }
}
