.p-top-staff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 180px 0 80px;
}

.p-top-staff.page_bg-name::after {
  top: 116px;
}

.p-top-staff__inner {
  position: relative;
  width: 100%;
}

/* Section Heading */
.p-top-staff__heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin-bottom: 40px;
}

.p-top-staff__title {
  color: var(--text-color);
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  text-align: center;
  margin: 0;
}

/* Staff Cards Swiper */
.p-top-staff__cards {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding-block: 24px;
}

.p-top-staff__cards .swiper-wrapper {
}

.p-top-staff__cards .swiper-slide {
  width: auto;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  transform: scale(0.9);
}

/* Center slide scaling effect */
.p-top-staff__cards .swiper-slide-active {
  transform: scale(1);
  z-index: 2;
}




.p-top-staff__card {
  flex-shrink: 0;
}

/* Staff Card Styles - Using existing p-card__staff pattern */

/* Card background images - these will need to be added to the img directory */
.p-card__staff-01 .p-card__box::before {
  background-image: url("./img/staff-01.jpg");
}

.p-card__staff-02 .p-card__box::before {
  background-image: url("./img/staff-02.jpg");
}

.p-card__staff-03 .p-card__box::before {
  background-image: url("./img/staff-03.jpg");
}

.p-card__staff-04 .p-card__box::before {
  background-image: url("./img/staff-04.jpg");
}

.p-card__staff-05 .p-card__box::before {
  background-image: url("./img/staff-05.jpg");
}

/* Swiper Navigation Buttons */
.p-top-staff__cards .swiper-button-next,
.p-top-staff__cards .swiper-button-prev {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.p-top-staff__cards .swiper-button-next:hover,
.p-top-staff__cards .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.p-top-staff__cards .swiper-button-next:after,
.p-top-staff__cards .swiper-button-prev:after {
  font-size: 18px;
  color: var(--text-color);
  font-weight: bold;
}

.p-top-staff__cards .swiper-button-next {
  right: 16px;
}

.p-top-staff__cards .swiper-button-prev {
  left: 16px;
}

/* Swiper Pagination */
.p-top-staff__cards .swiper-pagination {
  position: relative;
  margin-top: 32px;
  text-align: center;
}

.p-top-staff__cards .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(93, 87, 89, 0.3);
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.p-top-staff__cards .swiper-pagination-bullet-active {
  background: var(--text-color);
  transform: scale(1.2);
}

/* More Button */
.p-top-staff__button {
  display: flex;
  justify-content: center;
}

.p-top-staff__button .c-more {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.p-top-staff__button .c-more:hover {
  opacity: 0.8;
}

.p-top-staff__button .c-more__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .p-top-staff__inner {
    padding: 0 24px;
  }
  
  .p-top-staff__cards {
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .p-top-staff {
    padding: 40px 0;
    gap: 32px;
  }
  .p-top-staff__inner {
    padding-inline: 0;
  }
  
  .p-top-staff.page_bg-name::after {
    top: 24px;
  }
  
  .p-top-staff__heading {
    margin-bottom: 32px;
  }
  
  .p-top-staff__title {
    font-size: var(--font-size-md);
  }
  
  .p-top-staff__cards .swiper-slide {
    width: 100%;
    max-width: 240px;
  }
  
  /* Mobile center slide effect */
  .p-top-staff__cards .swiper-slide-active {
    transform: scale(1.05);
  }
  
  .p-top-staff__cards .swiper-slide-next,
  .p-top-staff__cards .swiper-slide-prev {
    transform: scale(0.98);
  }
  
  .p-top-staff__card.p-card__staff,
  .p-top-staff__card.p-card__staff--large {
    width: 100%;
    max-width: 240px;
    height: 320px;
    aspect-ratio: 240 / 320;
  }
  
  .p-top-staff__cards .swiper-button-next,
  .p-top-staff__cards .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  
  .p-top-staff__cards .swiper-button-next:after,
  .p-top-staff__cards .swiper-button-prev:after {
    font-size: 16px;
  }
  
  .p-top-staff__cards .swiper-button-next {
    right: 8px;
  }
  
  .p-top-staff__cards .swiper-button-prev {
    left: 8px;
  }
  
}
