.header-area {
  background-color: rgb(0 0 0 / 20%);
}
.header-area .header-inner-box .logo {
  height: 120px;
}
.header-area .header-inner-box .logo img {
  height: 120px;
}
.sub-menu {
  width: 290px;
}
.service-single:after {
  background: #a29061;
}
.service-content h4 a {
  height: 30px;
}
.breadcrumb-area {
  height: 400px;
}
.service-details {
  padding: 60px 0 60px;
}
.service-details_content {
  margin-top: 0;
}
.overlay {
  opacity: 0;
}
.breadcrumb-area {
  align-items: flex-end;
}
.breadcrumb-area .breadcrumb-title h1 {
  font-size: 40px;
  text-align: center;
  padding-bottom: 5px;
}
.sub-lang {
  width: 60px;
}

.single-slide-item {
  height: 800px;
  align-items: flex-end;
  justify-content: center;
}
.single-slide-item video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}

.service-details_content ul {
  list-style: disc !important;
  padding-left: 22px !important;
  margin: 15px 0 20px !important;
}
.service-details_content ul li {
  display: list-item !important;
  padding: 4px 0 !important;
  line-height: 1.7 !important;
}
.service-details_content h4 {
  margin-top: 25px !important;
  margin-bottom: 12px !important;
  font-size: 20px !important;
}
.service-details_content p {
  margin-bottom: 15px !important;
  line-height: 1.8 !important;
}

.blog-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-radius: 4px;
  overflow: hidden;
}
.blog-wrap .blog-img,
.blog-wrap .blog-video {
  flex-shrink: 0;
  height: 220px;
  overflow: hidden;
}
.blog-wrap .blog-img img,
.blog-wrap .blog-video video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.blog-wrap .blog-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.blog-wrap .blog-content h5 {
  flex-shrink: 0;
}
.blog-wrap .blog-content h5 a {
  color: #1d2636;
  text-decoration: none;
}
.blog-wrap .blog-content h5 a:hover {
  color: #a29061;
}
.blog-wrap .blog-content p {
  flex: 1;
}
.blog-wrap .blog-meta .blog-date {
  font-size: 13px;
  color: #a29061;
  margin-bottom: 8px;
  display: block;
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a29061;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 10px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.read-more-link:hover {
  color: #a29061;
  border-bottom-color: #a29061;
}
#blog-page .row {
  align-items: stretch;
}
#blog-page .col-xl-4,
#blog-page .col-lg-4,
#blog-page .col-md-6 {
  display: flex;
  flex-direction: column;
}

/* Equal-height service carousel cards */
.service-item-wrap.owl-carousel .owl-stage {
  display: flex;
  align-items: stretch;
}
.service-item-wrap.owl-carousel .owl-item {
  display: flex;
  flex-direction: column;
}
.service-item-wrap.owl-carousel .service-single {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.service-single .service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-single .service-content .main-btn {
  margin-top: auto;
}

@media (max-width: 767px) {
  .single-slide-item {
    height: 300px;
    background-position: left;
  }
  .single-slide-item {
    align-items: normal;
  }
  .breadcrumb-area .breadcrumb-title h1 {
    font-size: 20px;
  }
  .main-menu .sub-lang li a {
    padding-left: 15px !important;
  }

  .service-item-wrap .owl-dots button.owl-dot span {
    width: 15px;
    height: 3px;
  }
  .service-item-wrap .owl-dots {
    text-align: center;
  }

  .service-item-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .service-single {
    width: 100%;
  }


}
/* === CLS Düzeltmeleri === */

/* Owl Carousel JS yüklenmeden önce sadece ilk item görünsün */
/* (JS defer nedeniyle init gecikmeli — aksi halde tüm itemler dikey sıralanıp CLS=1 olur) */
.homepage-slides:not(.slick-initialized) {
  overflow: hidden;
  height: 700px;
}
@media (max-width: 767px) {
  .homepage-slides:not(.slick-initialized) {
    height: 600px;
  }
}
.service-item-wrap.owl-carousel:not(.owl-loaded) > *:not(:first-child),
.project-wrap-2.owl-carousel:not(.owl-loaded) > *:not(:first-child) {
  display: none;
}

/* Sektör kartları: tarayıcı 380×440 alanı önceden ayırsın */
.project-img {
  aspect-ratio: 380 / 440;
  overflow: hidden;
  background: #ddd;
}
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Haber/blog kartları: tarayıcı 350×220 alanı önceden ayırsın */
.blog-img {
  aspect-ratio: 350 / 220;
  overflow: hidden;
  background: #ddd;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hizmet ikonları: yüksekliği önceden ayır */
.service-icon {
  min-height: 70px;
  display: flex;
  align-items: center;
}
