/* Article */
.services-post {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.services-post .featured-post {
  overflow: hidden;
}

.services-post .featured-post img {
  transition: all 0.5s;
}

.services-post:hover .featured-post img {
  scale: 1.1;
}
.services-post .content {
  background: #fff;
  padding: 24px;
}

.services-post .title {
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  min-height: 60px;
  color: #0a1722;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}
.services-post .title a {
  display: inline !important;
  width: 100%;
  background-repeat: no-repeat;
  background-position-y: 0px;
  background-image: linear-gradient(
    transparent calc(100% - 1px),
    currentColor 1px
  );
  transition: 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  background-size: 0 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.services-post:hover .title a {
  background-size: 100% 100%;
  transition-delay: 0.2s;
  color: #34ccff;
}

.services-post .description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #777777;
}

.services-post .tf-btn-service {
  color: #34ccff;
  font-weight: 700;
  font-size: 15px;
  line-height: 26px;
  text-transform: capitalize;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f2f2f2;
}

.services-post .tf-btn-service svg {
  transition: all 0.3s ease-in-out;
  font-size: 20px;
  transform: translate(0px);
  display: inline-block;
}
.services-post .tf-btn-service:hover svg {
  transform: translate(3px);
}
.services-post .tf-btn-service:hover {
  color: #0a1722;
}
/* End Article */

.tf-services-wrap .services-post .featured-post img {
  height: 243px;
  width: 100%;
  object-fit: cover;
  -webkit-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
  -khtml-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
  -moz-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
  -ms-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
  -o-transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
  transition: all 1s cubic-bezier(0.24, 0.74, 0.58, 1);
}

.tf-services-wrap .services-post .featured-post a,
.tf-services-wrap .services-post .featured-post {
  overflow: hidden;
}

.no-carousel .wrap-services-post {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 30px;
}
.no-carousel .services-post .featured-post img {
  height: auto;
}
.no-carousel .wrap-services-post.column-3 {
  grid-template-columns: repeat(3, 1fr);
}

.no-carousel .wrap-services-post.column-2 {
  grid-template-columns: repeat(2, 1fr);
}

.no-carousel .wrap-services-post.column-1 {
  grid-template-columns: repeat(1, 1fr);
}

/* bullet */
.custom-pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.custom-pagination-wrapper .number-first,
.custom-pagination-wrapper .number-last {
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  color: #34ccff;
}

.custom-pagination-wrapper .owl-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.custom-pagination-wrapper .owl-dots .owl-dot {
  width: 92.5px;
  height: 1px;
  background: #fff;
  opacity: 0.2;
  position: relative;
}
.custom-pagination-wrapper .owl-dots .owl-dot::before {
  height: 15px;
  left: 0;
  top: 50%;
  right: 0;
  width: 100%;
  background: transparent;
  content: "";
  position: absolute;
  transform: translateY(-50%);
}

.custom-pagination-wrapper .owl-dots .owl-dot:hover,
.custom-pagination-wrapper .owl-dots .owl-dot.active {
  background: #34ccff;
  opacity: 1;
}

.wrapper-body {
  width: 100%;
}
/* single service */
.single-service .title {
  font-size: 36px;
  margin-bottom: 30px;
  display: none;
}

.single-service {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.single-service .main-content {
  width: 75%;
}

.single-service .service-sidebar {
  width: calc(25% - 36px);
  margin-left: 36px;
  padding-bottom: 80px;
}
/* archive service */
.tf-services-wrap .owl-nav {
  display: none;
}
.tf-services-wrap .owl-nav button {
  font-size: 20px !important;
  background: #fff !important;
  display: inline-flex;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 35%;
  border-radius: 100%;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}
.tf-services-wrap .owl-nav button:hover {
  background: #34ccff !important;
  color: #fff !important;
}

.tf-services-wrap .owl-nav .owl-next {
  right: 10px;
}
.tf-services-wrap .owl-nav .owl-prev {
  left: 10px;
  rotate: 180deg;
}
.tf-services-wrap .owl-nav button.disabled {
    opacity: 0.5;
}

@media only screen and (max-width: 1350px) {
  .no-carousel .wrap-services-post {
    gap: 30px;
  }
  .no-carousel .wrap-services-post.lap-column-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .no-carousel .wrap-services-post.lap-column-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .no-carousel .wrap-services-post.lap-column-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media only screen and (max-width: 1024px) {
  .single-service .main-content {
    width: 100%;
  }

  .single-service .service-sidebar {
    width: 100%;
    margin-left: 0px;
  }
}

@media only screen and (max-width: 991px) {
  .single-service .service-sidebar,
  .single-service .main-content {
    width: 100%;
    padding-right: 0px;
    margin-left: 0px;
  }
  .no-carousel .wrap-services-post {
    gap: 20px;
  }
  .no-carousel .wrap-services-post.tablet-column-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .no-carousel .wrap-services-post.tablet-column-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .no-carousel .wrap-services-post.tablet-column-1 {
    grid-template-columns: repeat(1, 1fr);
  }

  .custom-pagination-wrapper .owl-dots .owl-dot {
    width: 10px;
    height: 1px;
    background: #fff;
    opacity: 0.2;
  }
}

@media only screen and (max-width: 767px) {
  .tf-services-wrap .owl-nav {
    display: block;
  }

  .no-carousel .wrap-services-post.mobile-column-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .no-carousel .wrap-services-post.mobile-column-1 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media only screen and (max-width: 500px) {
  .custom-pagination-wrapper {
    margin-top: 20px;
  }
  .custom-pagination-wrapper .number-first,
  .custom-pagination-wrapper .number-last {
    font-size: 14px;
  }
}
