/* Page Header */
.doctors-header {
    text-align: center;
    display: flex;
    padding: 96px 15px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    background-color: transparent !important;
}

.doctors-title {
    width: 692px;
    font-family: 'Onest';
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    text-align: center;
    color: #4753A3;
}

.doctors-subtitle {
    width: 692px;
    font-family: 'Onest';
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #4753A3;
}

/* Grid Layout */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 0 15px 96px;
}

@media (max-width: 1024px) {
  .doctors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctors-header {
    padding: 48px 15px;
    gap: 16px;
  }

  .doctors-title {
    width: 100%;
    font-family: 'Onest';
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
    color: #4753A3;
  }

  .doctors-subtitle {
    width: 100%;
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #4753A3;
  }
}

@media (max-width: 480px) {
  .doctors-grid {
    grid-template-columns: 1fr;
  }
}

/* Doctor Card */
.doctor-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(193, 201, 252, 1);
  transition: all .2s ease;
}

.doctor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Featured Image */
.doctor-card__image img {
  width: 100%;
  height: 384px;
  object-fit: contain;
  display: block;
  background-color: #CCCCCE;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

/* Card content wrapper */
.doctor-card__content {
  padding: 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}

/* Text wrapper */
.doctor-card__text {
    display: flex;
    flex-direction: column;
  text-align: left;
  text-decoration: none !important;
  gap: 12px;
}

.doctor-card__name {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    color: #4753A3;
    text-decoration: none !important;
}

.doctor-card__specialty {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 125%;
    color: #4753A3;
    margin: 0;
}

/* CTA Button wrapper */
.doctor-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  background: rgba(223, 227, 246, 0.4);
  border-radius: 50px;
  font-size: 14px;
  color: #4753A3;
  transition: background .2s ease;
  width: 36px;
    height: 36px;
}

.doctor-card__button svg {
  transition: transform .2s ease;
}

.doctor-card__button:hover {
  background: #E2E8F0;
}

.doctor-card__button:hover svg {
  transform: translateX(3px);
}

a {
  text-decoration: none;
}

a:hover { text-decoration: none; }
a:active { text-decoration: none; }