/*
  DEVASA MEDIA — HOME SERVICES + PROJECTS CARD FINAL LOCK
  SSOT: Ana sayfa «Neler Yapıyoruz?» + «Başarı Hikayeleri» kart ölçüleri.
  Son yüklenen kilit — stretch / height:100% / swiper 100vh sızıntısı (1080px) bozamaz.
  Unlock: yalnızca PO yazılı «KİLİDİ AÇ Home Services Projects Cards»
*/

/* Swiper kabuğu: ScrollSmoother / 100vh sızıntısı → 1080px boş alan YASAK */
html body .page-wrapper .dm-home-services-slider-wrap,
html body .page-wrapper .dm-home-services-slider,
html body .page-wrapper .dm-home-services-slider.swiper,
html body .page-wrapper .dm-home-services-slider.swiper-initialized,
html body .page-wrapper .dm-home-services-slider .swiper-wrapper {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

html body .page-wrapper .dm-home-services-slider .swiper-wrapper {
  align-items: flex-start !important;
}

html body .page-wrapper .dm-home-services-slider .swiper-slide {
  height: auto !important;
  align-self: flex-start !important;
}

html body .page-wrapper .dm-home-services-slider .service-block-one {
  height: auto !important;
  max-height: none !important;
}

html body .page-wrapper .dm-home-services-slider .service-block-one .inner-block {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  height: 340px !important;
  min-height: 340px !important;
  max-height: 340px !important;
  padding: 28px 26px 22px !important;
  padding-top: 78px !important;
  overflow: hidden !important;
}

html body .page-wrapper .dm-home-services-slider .service-block-one .inner-block .content-box {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 0 !important;
  max-height: 100% !important;
  height: auto !important;
  transform: translateY(0) !important;
  overflow: hidden !important;
}

html body .page-wrapper .dm-home-services-slider .service-block-one .inner-block .content-box .title {
  margin: 0 0 10px !important;
}

html body .page-wrapper .dm-home-services-slider .service-block-one .inner-block .content-box .text {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important;
  line-clamp: 4 !important;
  overflow: hidden !important;
  margin: 0 !important;
  max-height: 6.2em !important;
  line-height: 1.45 !important;
}

html body .page-wrapper .dm-home-services-slider .service-block-one .inner-block .content-box .arrow-link.dm-service-card-arrow-link {
  margin-top: auto !important;
  flex-shrink: 0 !important;
}

@media (max-width: 991.98px) {
  html body .page-wrapper .dm-home-services-slider .service-block-one .inner-block {
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    padding-top: 70px !important;
  }
}

@media (max-width: 575.98px) {
  html body .page-wrapper .dm-home-services-slider .service-block-one .inner-block {
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    padding: 24px 20px 18px !important;
    padding-top: 64px !important;
  }
}

/* ========== Başarı Hikayeleri (project cards) ========== */
html body .page-wrapper .dm-home-projects-slider,
html body .page-wrapper .dm-home-projects-slider.swiper,
html body .page-wrapper .dm-home-projects-slider.swiper-initialized,
html body .page-wrapper .dm-home-projects-slider .swiper-wrapper {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

html body .page-wrapper .dm-home-projects-slider .swiper-wrapper {
  align-items: flex-start !important;
}

html body .page-wrapper .dm-home-projects-slider .swiper-slide {
  height: auto !important;
  align-self: flex-start !important;
}

html body .page-wrapper .dm-home-projects-slider .project-block {
  height: auto !important;
  display: block !important;
}

html body .page-wrapper .dm-home-projects-slider .project-block .inner-block {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 414px !important;
  min-height: 414px !important;
  max-height: 414px !important;
  margin-top: 0 !important;
  overflow: hidden !important;
}

html body .page-wrapper .dm-home-projects-slider .project-block .inner-block .image-block {
  flex: 0 0 292px !important;
  width: 100% !important;
  height: 292px !important;
  min-height: 292px !important;
  max-height: 292px !important;
  overflow: hidden !important;
}

html body .page-wrapper .dm-home-projects-slider .project-block .inner-block .image-block img,
html body .page-wrapper .dm-home-projects-slider .project-block .inner-block .image-block .hover-img {
  width: 100% !important;
  height: 292px !important;
  max-height: 292px !important;
  object-fit: cover !important;
}

html body .page-wrapper .dm-home-projects-slider .project-block .inner-block .content-block {
  flex: 0 1 auto !important;
  min-height: 0 !important;
  max-height: 110px !important;
  overflow: hidden !important;
  padding: 12px 6px 0 !important;
}

html body .page-wrapper .dm-home-projects-slider .project-block .inner-block .content-block .title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  max-height: 2.6em !important;
}

html body .page-wrapper .dm-home-projects-slider .project-block .inner-block .content-block .dm-home-project-card-summary {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  overflow: hidden !important;
  max-height: 2.9em !important;
}

@media (max-width: 767.98px) {
  html body .page-wrapper .dm-home-projects-slider .project-block .inner-block {
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
  }

  html body .page-wrapper .dm-home-projects-slider .project-block .inner-block .image-block,
  html body .page-wrapper .dm-home-projects-slider .project-block .inner-block .image-block img,
  html body .page-wrapper .dm-home-projects-slider .project-block .inner-block .image-block .hover-img {
    height: 260px !important;
    min-height: 260px !important;
    max-height: 260px !important;
    flex-basis: 260px !important;
  }
}
