/* Staff Slider Wrapper */
.ft-staff-slider-wrap {
  padding: 2rem 0;
  position: relative;
  width: 100%;
}

.ft-staff-slider {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

/* Slide */
.ft-staff-slide {
  flex: 1;
  min-width: 0;
}

/* Card */
.ft-staff-card {
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ft-staff-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Photo */
.ft-staff-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
}

.ft-staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Name */
.ft-staff-name {
  margin: 1rem 1rem 0.25rem 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  word-break: break-word;
  flex-shrink: 0;
}

/* Academic Title */
.ft-staff-academic-title {
  margin: 0 1rem 0.5rem 1rem;
  font-size: 0.8125rem;
  color: #9ca3af;
  font-style: italic;
  line-height: 1.3;
  flex-shrink: 0;
}

/* Position */
.ft-staff-position {
  margin: 0 1rem 0.5rem 1rem;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.4;
  flex-shrink: 0;
}

/* Spacer for cards */
.ft-staff-card::after {
  content: '';
  flex-grow: 1;
}

/* Contacts */
.ft-staff-contacts {
  padding: 1rem 1rem 1rem 1rem;
  margin-top: auto;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}

.ft-staff-contact-item {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.ft-staff-contact-item:last-child {
  margin-bottom: 0;
}

.ft-contact-label {
  font-weight: 600;
  color: #374151;
}

.ft-staff-contact-item a {
  color: #4f46e5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ft-staff-contact-item a:hover {
  color: #4338ca;
  text-decoration: underline;
}

/* Slick Overrides */
.ft-staff-slider .slick-slide {
  padding: 0 0.75rem;
}

/* Style Slick Arrows */
.ft-staff-slider .slick-prev,
.ft-staff-slider .slick-next {
  width: 70px !important;
  height: 70px !important;
  z-index: 10;
  background: linear-gradient(135deg, #3d4ba8 0%, #495bb8 100%) !important;
  border-radius: 0 !important;
}

.ft-staff-slider .slick-prev:before,
.ft-staff-slider .slick-next:before {
  font-size: 40px !important;
  color: #fff !important;
  opacity: 1 !important;
}

.ft-staff-slider .slick-prev:hover,
.ft-staff-slider .slick-next:hover {
  background: linear-gradient(135deg, #2f3a8a 0%, #3d4ba8 100%) !important;
}

.ft-staff-slider .slick-prev:focus,
.ft-staff-slider .slick-next:focus {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

/* Slick dots */
.ft-staff-slider .slick-dots {
  bottom: -40px;
  margin-top: 2rem;
  position: relative;
}

.ft-staff-slider .slick-dots li button:before {
  color: #d1d5db;
  font-size: 10px;
}

.ft-staff-slider .slick-dots li.slick-active button:before {
  color: #4f46e5;
}

/* Responsive */
@media (max-width: 1024px) {
  .ft-staff-slider-wrap {
    padding: 1.75rem 0;
  }

  .ft-staff-slider {
    gap: 1rem;
  }

  .ft-staff-slider .slick-prev,
  .ft-staff-slider .slick-next {
    width: 66px !important;
    height: 66px !important;
  }

  .ft-staff-slider .slick-prev:before,
  .ft-staff-slider .slick-next:before {
    font-size: 38px !important;
  }
}

@media (max-width: 768px) {
  .ft-staff-slider-wrap {
    padding: 1.5rem 0.75rem;
  }

  .ft-staff-slider {
    gap: 1rem;
  }

  .ft-staff-card {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }

  .ft-staff-photo {
    aspect-ratio: 1.1;
  }

  .ft-staff-name {
    font-size: 1rem;
    margin: 0.75rem 0.75rem 0.2rem 0.75rem;
  }

  .ft-staff-academic-title {
    margin: 0 0.75rem 0.3rem 0.75rem;
    font-size: 0.75rem;
  }

  .ft-staff-position {
    margin: 0 0.75rem 0.3rem 0.75rem;
    font-size: 0.8125rem;
  }

  .ft-staff-contacts {
    padding: 0.75rem 0.75rem 0.75rem 0.75rem;
  }

  .ft-staff-contact-item {
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
  }

  .ft-staff-slider .slick-prev,
  .ft-staff-slider .slick-next {
    width: 62px !important;
    height: 62px !important;
  }

  .ft-staff-slider .slick-prev:before,
  .ft-staff-slider .slick-next:before {
    font-size: 36px !important;
  }

  .ft-staff-slider .slick-dots {
    bottom: -35px;
  }
}

@media (max-width: 640px) {
  .ft-staff-slider-wrap {
    padding: 1.25rem 0.5rem;
  }

  .ft-staff-slider {
    gap: 0.75rem;
  }

  .ft-staff-slider .slick-slide {
    padding: 0 0.375rem;
  }

  .ft-staff-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .ft-staff-photo {
    aspect-ratio: 1;
  }

  .ft-staff-name {
    font-size: 0.9375rem;
    margin: 0.625rem 0.625rem 0.15rem 0.625rem;
  }

  .ft-staff-academic-title {
    margin: 0 0.625rem 0.25rem 0.625rem;
    font-size: 0.7rem;
  }

  .ft-staff-position {
    margin: 0 0.625rem 0.25rem 0.625rem;
    font-size: 0.75rem;
  }

  .ft-staff-contacts {
    padding: 0.625rem 0.625rem 0.625rem 0.625rem;
  }

  .ft-staff-contact-item {
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
  }

  .ft-contact-label {
    display: block;
    font-size: 0.65rem;
    margin-bottom: 0.1rem;
  }

  .ft-staff-slider .slick-prev,
  .ft-staff-slider .slick-next {
    width: 56px !important;
    height: 56px !important;
  }

  .ft-staff-slider .slick-prev:before,
  .ft-staff-slider .slick-next:before {
    font-size: 32px !important;
  }

  .ft-staff-slider .slick-dots {
    bottom: -25px;
  }

  .ft-staff-slider .slick-dots li button:before {
    font-size: 8px;
  }
}

@media (max-width: 480px) {
  .ft-staff-slider-wrap {
    padding: 1rem 0;
  }

  .ft-staff-slider {
    gap: 0.5rem;
  }

  .ft-staff-slider .slick-slide {
    padding: 0 0.25rem;
  }

  .ft-staff-card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  }

  .ft-staff-photo {
    aspect-ratio: 1.05;
  }

  .ft-staff-name {
    font-size: 0.875rem;
    margin: 0.5rem 0.5rem 0.1rem 0.5rem;
  }

  .ft-staff-academic-title {
    margin: 0 0.5rem 0.2rem 0.5rem;
    font-size: 0.65rem;
  }

  .ft-staff-position {
    margin: 0 0.5rem 0.2rem 0.5rem;
    font-size: 0.7rem;
  }

  .ft-staff-contacts {
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  }

  .ft-staff-contact-item {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
  }

  .ft-contact-label {
    display: inline;
    font-size: 0.65rem;
  }

  .ft-staff-slider .slick-prev,
  .ft-staff-slider .slick-next {
    width: 56px !important;
    height: 56px !important;
  }

  .ft-staff-slider .slick-prev:before,
  .ft-staff-slider .slick-next:before {
    font-size: 32px !important;
  }

  .ft-staff-slider .slick-dots {
    bottom: -20px;
    margin-top: 1.25rem;
  }

  .ft-staff-slider .slick-dots li button:before {
    font-size: 7px;
  }
}
