/* === Container === */
.profile-slider {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}

.profile-slider-name a:hover {
    text-decoration: underline;
}



.profile-slider-arrow {
  display: flex; /* or inline-flex */
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #333;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 10;
}

.profile-slider-arrow.hide {
  display: none !important;
}

/* === Track === */
.profile-slider-track {
  display: flex;
  scroll-behavior: smooth;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 2rem;
  cursor: grab;
  user-select: none;
  padding: 0 1rem;
}
.profile-slider-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

/* === Slide === */
.profile-slider-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .profile-slider-slide {
    flex: 0 0 90%;
  }
}
@media (min-width: 1024px) {
  .profile-slider-slide {
    flex: 0 0 85%;
  }
}

/* === Image & Info === */
.profile-slider-slide img {
  width: 220px;
  height: 320px;
  border-radius: 4px;
  object-fit: cover;
  pointer-events: none;
}
.profile-slider-info {
  flex: 1;
}
.profile-slider-date {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 0.25rem;
}
.profile-slider-career {
  font-weight: bold;
  color: #003366;
}
.profile-slider-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111;
  margin: 0.5rem 0;
}
.profile-slider-title {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.5rem;
}


/* === Arrows === */
.profile-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  color: #333;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.profile-slider-arrow:hover {
  background: #eee;
}

.profile-slider-arrow.left {
  left: 10px;
}
.profile-slider-arrow.right {
  right: 10px;
}

/* === Aesthetic Fix for Drupal Links === */
.profile-slider-slide a:after {
  border: 0 !important;
}

/* === Optional: hide unused nav blocks === */
.profile-slider-dots,
.profile-slider-nav {
  display: none;
}

/* Default: stacked layout for mobile */
.profile-slider-slide {
  flex-direction: column;
  text-align: center;
}

/* Medium screens and up: horizontal layout */
@media (min-width: 768px) {
  .profile-slider-slide {
    flex-direction: row;
    text-align: left;
    flex: 0 0 90%;
  }
  
  .profile-slider-info {
    margin-top: 0;
  }
}

@media (max-width: 400px){
	.profile-slider-track {
    gap: 1rem;
	}
	.profile-slider-slide {
    gap: 0;
	}
}

@media (min-width: 1024px) {
  .profile-slider-slide {
    flex: 0 0 85%;
  }
}

.profile-slider-info {
  margin-top: 1rem;
}

