.elementor-6879 .elementor-element.elementor-element-3c98347{--display:flex;}/* Start custom CSS for html, class: .elementor-element-afd1527 *//* Faculty of Basic Medical and Health Sciences */

.biu-faculty {
  --biu-purple: #512080;
  --biu-blue: #3547A5;
  --biu-lavender: #7545A6;
  --biu-teal: #087F8C;
  --biu-light: #F5F2FA;

  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Faculty heading */
.biu-faculty-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  margin-bottom: 35px;
  padding: 25px;
  overflow: hidden;
  text-align: center;
  border-radius: 12px;
  background:
    linear-gradient(
      120deg,
      rgba(40, 20, 65, 0.93),
      rgba(81, 32, 128, 0.84)
    ),
    linear-gradient(135deg, #7545A6, #3547A5);
  box-shadow: 0 8px 24px rgba(46, 24, 74, 0.14);
}

.biu-faculty-header h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #ffffff;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
}

/* Responsive department grid */
.biu-department-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Department cards */
.biu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
  padding: 24px;
  overflow: hidden;
  color: #ffffff !important;
  text-decoration: none !important;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0 5px 16px rgba(28, 20, 50, 0.10);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.biu-card::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -45px;
  width: 125px;
  height: 125px;
  border: 22px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.biu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(28, 20, 50, 0.18);
  color: #ffffff !important;
}

.biu-card:focus-visible {
  outline: 3px solid #F0C75E;
  outline-offset: 4px;
}

.biu-card-label {
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.biu-card-title {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.35;
}

/* Colour variations */
.biu-card-purple {
  background: linear-gradient(135deg, #512080, #67359A);
}

.biu-card-blue {
  background: linear-gradient(135deg, #3547A5, #4664C5);
}

.biu-card-lavender {
  background: linear-gradient(135deg, #7545A6, #9066BE);
}

.biu-card-teal {
  background: linear-gradient(135deg, #087F8C, #159BA2);
}

/* Tablet and mobile */
@media (max-width: 640px) {
  .biu-faculty {
    padding: 12px;
  }

  .biu-faculty-header {
    min-height: 100px;
    margin-bottom: 22px;
    padding: 20px 14px;
  }

  .biu-department-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .biu-card {
    min-height: 100px;
    padding: 20px;
  }

  .biu-card-title {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .biu-card {
    transition: none;
  }

  .biu-card:hover {
    transform: none;
  }
}/* End custom CSS */