/* Homepage slideshow: preserve Allure's dark palette, typography and photo radius. */
.body-creative-agency .moving-testimonial {
  padding-bottom: clamp(64px, 7vw, 104px);
}
.home-projects {
  position: relative;
  background: #000;
  color: #efefda;
  padding-block: clamp(64px, 9vw, 128px) clamp(64px, 7vw, 104px);
}
.home-projects__title {
  color: inherit;
  font-size: clamp(32px, 4.5vw, 68px);
  line-height: 1.15;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.home-projects__slider { overflow: hidden; }
.home-projects__slider:not(.swiper-initialized) .swiper-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.home-projects__slide { min-width: 0; scroll-snap-align: start; }
.home-projects__image {
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #161616;
  width: 100%;
  height: clamp(280px, 32vw, 480px);
}
.home-projects__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-projects__caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
}
.home-projects__location { color: #b9b9ad; font-size: 16px; margin-bottom: 8px; }
.home-projects__caption h3 { color: inherit; font-size: clamp(25px, 3vw, 44px); line-height: 1.25; }
.home-projects__details, .home-projects__all { font-size: 16px; white-space: nowrap; text-decoration: underline; text-underline-offset: 6px; }
.home-projects__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #333; }
.home-projects__controls { display: flex; align-items: center; gap: 20px; }
.home-projects__controls[hidden] { display: none; }
.home-projects__controls button { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #77776e; border-radius: 50%; color: #efefda; background: transparent; font-size: 26px; transition: background-color .2s, color .2s; }
.home-projects__controls button:hover { background: #efefda; color: #000; }
.home-projects__count { min-width: 65px; text-align: center; font-size: 16px; font-variant-numeric: tabular-nums; }
.home-projects a:focus-visible, .home-projects button:focus-visible, .home-projects__slider:focus-visible { outline: 2px solid #efefda; outline-offset: -3px; }
[dir="rtl"] .home-projects__controls button span { transform: scaleX(-1); }
/* Keep the partners heading inside its own background, with room for Arabic glyphs. */
.home-projects + .client-area-2 {
  padding-top: clamp(64px, 7vw, 104px);
}
.client-area-2 .section-header .text {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.3;
  max-width: none;
  margin-bottom: 0;
}
.client-area-2 .logo-slider {
  margin-top: clamp(40px, 5vw, 64px);
}
@media (max-width: 767px) {
  .home-projects__image { height: auto; aspect-ratio: 4 / 3; border-radius: 16px; }
  .home-projects__caption { align-items: flex-start; flex-direction: column; gap: 16px; }
  .home-projects__controls { gap: 10px; }
  .home-projects__controls button { width: 44px; height: 44px; }
  .home-projects__all { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-projects *, .home-projects *::before, .home-projects *::after { transition-duration: 0s !important; }
}
