/* Ayamen R151 — targeted layout fixes */

/* Landing projects slider: keep every description inside the blue card. */
body.ayamen-landing-r3 .l-gallery__content .content-animation--bottom > [data-content-animation-item]{
  min-width:0;
}
body.ayamen-landing-r3 .l-gallery__content .l-exquisite-content__text{
  max-width:100%;
  overflow-wrap:break-word;
  box-sizing:border-box;
}

/* About statistics/counter band: move slightly upward without replacing its parallax transform. */
.about-page .ab-info__numbers{
  position:relative;
  top:clamp(-3rem,-3.5vh,-1.6rem);
}
@media (max-width:979px){
  .about-page .ab-info__numbers{top:-1.25rem}
}

/* English canonical footer: lock the breadcrumb surface to the same Ayamen blue. */
html:not([lang="ar"]) footer.ayamen-footer-canonical .footer__inner::before,
html:not([lang="ar"]) footer.ayamen-footer-canonical .footer__container,
html:not([lang="ar"]) footer.ayamen-footer-canonical .footer-breadcrumps,
html:not([lang="ar"]) footer.ayamen-footer-canonical .footer-breadcrumps::after{
  background:#0c436a!important;
  background-color:#0c436a!important;
}
html:not([lang="ar"]) footer.ayamen-footer-canonical .footer-breadcrumps::before{
  background:linear-gradient(90deg,rgba(12,67,106,0) 0,#0c436a 100%)!important;
}
html:not([lang="ar"]) footer.ayamen-footer-canonical .footer-breadcrumps{
  box-shadow:none!important;
}

/* Careers slider cards 4 and 5: zoom and anchor crop at the bottom. */
.l-gallery--business .js-exquisite-carousel > .content-animation > [data-content-animation-item="3"] .l-gallery__img img,
.l-gallery--business .js-exquisite-carousel > .content-animation > [data-content-animation-item="4"] .l-gallery__img img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center bottom!important;
  transform:scale(1.14)!important;
  transform-origin:center bottom!important;
}
.l-gallery--business .is-hidden--md-up .js-compounds-list-mobile > li:nth-child(4) .l-exquisite-mob-card__image img,
.l-gallery--business .is-hidden--md-up .js-compounds-list-mobile > li:nth-child(5) .l-exquisite-mob-card__image img{
  object-fit:cover!important;
  object-position:center bottom!important;
  transform:scale(1.12)!important;
  transform-origin:center bottom!important;
}

/* Contact page eyebrow: raise "Contact Ayamen" slightly. */
.ayamen-contact-page .ayc-contact-hero__copy > .ayc-eyebrow{
  position:relative;
  top:-0.85rem;
}
.ayamen-contact-page .ayc-contact-office__top > .ayc-eyebrow{
  position:relative;
  top:-0.55rem;
}
@media (max-width:979px){
  .ayamen-contact-page .ayc-contact-hero__copy > .ayc-eyebrow{top:-0.5rem}
  .ayamen-contact-page .ayc-contact-office__top > .ayc-eyebrow{top:-0.35rem}
}

/* R154 careers hero reset: crop adjustment belongs only to the white-section feature image. */
.ayamen-careers-hero-image{object-fit:cover!important;object-position:50% 50%!important;transform:none!important;}
