::slotted(swiper-slide)
 {

    margin-right: -40px !important;
 }


/* تقسيم الكتلة الأساسية إلى عمودين */
.cmhs-consultants-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  padding: 80px 6%;
}

/* العمود اليسار (العنوان) */
.cmhs-left {
  flex: 0 0 30%;     /* 30% من العرض */
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}



/* العمود اليمين (السوايبر) */
.cmhs-right {
  flex: 1;           /* ياخذ باقي المساحة */
}

/* عشان السلايدر يثبت في يمين الصفحة */
.cmhs-consultants-slider-wrapper {
  width: 100%;
}




/* الحاوية العامة */
.cmhs-consultants-section
 {
    padding: 80px 6%;
    height: 550px;
}

/* العنوان */
.cmhs-consultants-title {
    font-size: 55px !important;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 50px;
    color: black;
    text-align: left;
}

/* نوسّط السلايدر ونحدّد عرض معقول */
.cmhs-consultants-slider-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* كل سلايد نفس العرض ويسمح بخروج الكرت عند التكبير */
.cmhs-consultants-slider {
  overflow: visible; /* تأكيد زيادة */
}

.cmhs-consultants-slider .swiper-slide {
  display: flex;
  justify-content: center;
  margin-right:-70px !important;
  overflow: visible; /* مهم عشان الكرت المكبّر ما ينقص */
}

/* الكرت – الحجم الافتراضي (أصغر شوي من النهائي) */
.consultant-card {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  width: 100%;
  max-width: 300px;        /* حجم الكرت قبل التكبير */
  background: #000;        /* خلفية احتياطية تحت الصورة */
  transform-origin: center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
  filter: grayscale(25%);  /* الافتراض: شوي رمادي */
  z-index: 1;
}

/* الصورة – نفس الارتفاع دائماً (سيتغيّر بصرياً مع الـ scale) */
.consultant-photo {
  width: 100%;
  height: 380px;           /* ارتفاع الكرت في الوضع العادي */
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

/* الـ overlay أسفل الصورة (الاسم + الوظيفة) */
.consultant-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 22px 22px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0)
  );
  text-align: center;
}

/* الاسم – نفس ستايل الصورة الأولى */
.consultant-name {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  margin-top: -25px;
}

/* الوظيفة – أصغر شوية وتحت الاسم */
.consultant-position {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* تكبير الكرت عند الـ hover – بدون تغيير الـ width / height */
.consultant-card:hover {
  transform: scale(1.2);              /* درجة التكبير */
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.3);
  filter: none;                        /* ترجع الألوان طبيعية */
  z-index: 3;    /* يطلع قدّام الباقي */
  width:350px;
  height:420px;

}

.consultant-card:hover .consultant-photo {
  transform: scale(1.2);
}

/* أسهم سوايبر – دوائر ذهبية وسط الصور */
swiper-container::part(button-prev),
swiper-container::part(button-next) {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d3aa2d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  xbox-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9);
}
swiper-container::part(button-next) {
	margin-right:110px;
}

swiper-container::part(button-prev):hover,
swiper-container::part(button-next):hover {
  background: #b8901e;
}
