.qa-doctors-page {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, .2509803922);
    padding: 20px;
    font-size: 16px;
    line-height: 1.5!important;
}

.qa-doctors-page .qa-doctors-page-title {
    font-weight: 700;
    text-align: center;
    margin: 0 0 5px;
    font-size: 26px;
    text-transform: uppercase;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cột desktop */
    gap: 20px;
    margin-top: 20px;
}
  
.doctor-card {
    background: #fff;
    border: 1px solid #eee;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.doctor-card a {
    text-decoration: none!important;
}
  
  .doctor-info {
    padding: 15px;
    position: relative;
  }

  .doctor-info .doctor-avatar {
    position: relative;
  }

  .doctor-card .doctor-avatar img {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    height: auto;
    max-height: 310px;
    object-position: top;
}

  .doctor-info .doctor-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: .5px solid #0e0e0e;
    padding-bottom: 5px;
    margin-bottom: 5px;
  }

  .doctor-info .doctor-info-top .doctor-info-top-left {
    text-align: left;
  }
  
  .doctor-info .doctor-info-title {
    text-transform: uppercase;
    font-size: 14px;
  }
  
  .doctor-info .doctor-info-name {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
    color: #e21818;
  }
  
  .doctor-info .experience {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #0e0e0e;
    border-radius: 100%;
    font-size: 11px;
    line-height: normal;
  }
  .doctor-info-bottom, .doctor-info-bottom p{
    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
  }
  
  .doctor-info p {
    font-size: 13px;
    margin: 10px 0 0;
  }


/* Doctor List (Other Doctors) Styles */
.related_nex2tek_1_0_0 {
  margin-top: 32px;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(11, 72, 189, 0.06);
  padding: 30px 20px;
}

.related_nex2tek_1_0_0__head {
  font-weight: 600;
  text-align: center;
  margin: 0 0 5px;
  font-size: 26px;
  text-transform: uppercase;
}

.related_nex2tek_1_0_0__list {
  overflow-x: auto;
  padding-bottom: 6px;
  margin-top: 15px;
}

.related_nex2tek_1_0_0__scroll {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.related_nex2tek_1_0_0__item {
  background: #f2f2f2;
  box-shadow: 0 1px 6px rgba(11, 72, 189, 0.05);
  min-width: 220px;
  max-width: 240px;
  flex: 0 0 auto;
  padding-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 1px solid #e6ecf5;
}

.related_nex2tek_1_0_0__item:hover {
  box-shadow: 0 4px 18px rgba(11, 72, 189, 0.12);
  transform: translateY(-2px) scale(1.03);
  border-color: #0b48bd22;
}

.related_nex2tek_1_0_0__thumb {
  margin-bottom: 12px;
}

.related_nex2tek_1_0_0__thumb img,
.related_nex2tek_1_0_0__thumb .wp-post-image {
  width: 100%;
  height: 345px;
  object-fit: cover;
}

.related_nex2tek_1_0_0__content {
  text-align: center;
  padding: 0px 10px;
}

.related_nex2tek_1_0_0__position {
  font-size: 15px;
  margin-bottom: 4px;
  font-weight: 500;
}

.related_nex2tek_1_0_0__name {
  font-size: 1px;
  font-weight: 700;
  margin: 0;
}

.related_nex2tek_1_0_0__name a {
  color: #d1a969;
  text-decoration: none;
  transition: color 0.18s;
  font-size: 18px;
}
@media (max-width: 600px) {
  .related_nex2tek_1_0_0 {
    padding: 30px 10px;
  }
  .related_nex2tek_1_0_0__scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .related_nex2tek_1_0_0__item {
    min-width: unset;
    max-width: unset;
    width: calc(50% - 8px);
    margin-bottom: 10px;
  }
  .related_nex2tek_1_0_0__thumb img,
  .related_nex2tek_1_0_0__thumb .wp-post-image {
    height: 200px;
  }
}
  
  /* Responsive cho tablet & mobile */
  @media (max-width: 768px) {
    .doctor-grid {
      grid-template-columns: repeat(2, 1fr); /* 2 cột trên mobile */
    }
  }
  
  @media (max-width: 575px) {
    .doctor-info h4 {
      font-size: 13px;
    }
    .doctor-info p {
      font-size: 12px;
    }
  }
  