.alumni-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}
.slider-controls {
  display: flex;
  gap: 16px;
}

.alumni-slider {
  width: 100%;
  padding-bottom: 20px;
  overflow: visible !important;
  min-width: 0;
}

.swiper-slide {
  width: auto;
  height: auto;
  display: flex;
}

.alumni-card.compact {
  width: 100%;
  border: 1px solid var(--color-grey-050);
  background: var(--color-white);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (hover: hover) {
  .alumni-card.compact:hover {
    border-color: var(--color-blue-200);
    box-shadow: 8px 8px 0px rgba(22, 41, 91, 0.1);
    transform: translateY(-5px);
  }
}

.alumni-card.compact .alumni-photo {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-grey-050);
  background-color: var(--color-grey-200);
}

.alumni-card.compact .alumni-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .alumni-card.compact:hover .alumni-photo img {
    filter: grayscale(0%);
    transform: scale(1.03);
  }
}

.alumni-card.compact .alumni-info {
  padding: 20px;
  text-align: center;
  background: var(--color-grey-010);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.alumni-card.compact h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
  color: var(--color-black);
}

.alumni-card.compact .alumni-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-blue-100);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .alumni-header-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .alumni-card.compact {
    width: 100%;
  }
}

.alumni-card.compact {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.alumni-info {
  flex-grow: 1;
  padding-bottom: 10px;
}

.alumni-footer {
  padding: 12px 15px;
  border-top: 1px solid var(--color-grey-050);
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.alumni-spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey-300);
  transition: color 0.3s ease;
}

@media (hover: hover) {
  .alumni-card.compact:hover .alumni-spec-icon {
    color: var(--color-blue-200);
  }
}

.alumni-spec {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-grey-400);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 50px;
  display: flex;
  align-items: center;
}
@media (max-width: 1024px) {
  .alumni-card.compact {
    width: 100%;
  }

  .alumni-card.compact .alumni-photo {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .alumni-header-row { flex-direction: row; align-items: flex-end; justify-content: space-between; }

  .slider-controls { width: auto; justify-content: flex-end; }
}

@media (max-width: 600px) {
  .alumni-card.compact {
    width: 100%;
  }

  .alumni-card.compact:hover {
    transform: none;
    box-shadow: none;
  }

  .alumni-card.compact .alumni-photo {
    height: 260px;
  }

  .alumni-card.compact .alumni-info {
    padding: 16px;
    gap: 6px;
  }

  .alumni-card.compact h3 {
    font-size: 16px;
  }

  .alumni-card.compact .alumni-role {
    font-size: 11px;
  }

  .alumni-footer {
    padding: 10px;
    gap: 10px;
  }

  .alumni-spec {
    font-size: 10px;
    min-height: 40px;
  }

  .slider-controls {
    display: none;
  }
}

/* FORCE ARROWS ON SAME ROW ON MOBILE */
.alumni-header-row { flex-wrap: nowrap !important; }
.alumni-header-row .section-header { flex: 1 1 auto; width: auto !important; max-width: calc(100% - 100px); }
.alumni-header-row .slider-controls { flex-shrink: 0; width: auto !important; }

/* ALIGN ARROWS VERTICALLY ON DESKTOP */
.alumni-header-row .section-header h2 { margin-bottom: 0; }
.alumni-header-row .slider-controls { margin-bottom: 6px; }
