/**
 * Image fit helpers — match BuildNow object-fit:cover behavior.
 * Does NOT change layout, spacing, colors, or typography.
 */
.hero-box-items-6 .hero-image-items img,
.hero-box-items-6 .hero-middle-box-items img,
.feature-image-style-1 img,
.about-left-item-style-1 .about-image img,
.contact-left-image-inner img,
.service-details-content .details-image img,
.news-details-content .details-image img,
.news-card-items .news-image img,
.service-card-items .service-image img,
.project-card-items .project-image img,
.highly-skill-thumb-style-6 img {
  object-fit: cover;
}

/* Brand logos in template brand-box-7 use dual images; keep contain */
.brand-section-7 .brand-box-7 .brand-img-1 img {
  object-fit: contain;
  max-height: 60px;
  width: auto;
}

/* Services page: keep Alba photos on BuildNow service-box-item-3-style-3 cards */
.alba-service-card {
  padding-top: 8px;
  overflow: visible;
}
.alba-service-card .alba-service-card__media {
  position: relative;
  margin: -8px -8px 28px;
  overflow: hidden;
}
.alba-service-card .alba-service-card__media > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.alba-service-card .alba-service-card__media .icon {
  position: absolute;
  right: 24px;
  bottom: -28px;
  width: 72px;
  height: 72px;
  line-height: 72px;
  text-align: center;
  background-color: var(--theme);
  z-index: 2;
}
.alba-service-card .alba-service-card__media .icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  vertical-align: middle;
}
.alba-service-card .top-item {
  margin-top: 16px;
  margin-right: 22px;
}
.alba-service-card .top-item .content {
  width: 100%;
}
.alba-service-card:hover .alba-service-card__media .icon img {
  transform: rotateY(180deg);
  transition: 0.3s;
}
@media (max-width: 575px) {
  .alba-service-card .alba-service-card__media > img {
    height: 180px;
  }
  .alba-service-card .alba-service-card__media .icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    right: 16px;
    bottom: -22px;
  }
  .alba-service-card .alba-service-card__media .icon img {
    width: 28px;
    height: 28px;
  }
}
