/* 医生介绍页面样式 */

/* 预约挂号按钮样式 - 主调 #53391e */
.ysjs-appointment-wrapper {
  display: flex;

  margin-top: 24px;
  margin-bottom: 4px;
}

.ysjs-appointment-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #53391e;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 12px 44px;
  border-radius: 40px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  border: none;
  box-shadow: 0 4px 12px rgba(83, 57, 30, 0.35);
  letter-spacing: 1px;
}

.ysjs-appointment-btn:hover {
  background-color: #6f4d2b;
  color: #fff;
  text-decoration: none;
  transform: scale(1.02);
}

.ysjs-appointment-btn:active {
  transform: scale(0.97);
}

.ysjs-appointment-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}


.ysjs-section {
  padding-top: 20px;
  padding-bottom: clamp(60px, 8vw, 120px);
  color: #333;
}

.ysjs-container {
  display: flex;
  gap: clamp(30px, 4vw, 70px);
  align-items: flex-start;
}

.ysjs-image-wrap {
  flex-shrink: 0;
  width: 350px;
  height: 468px;
  border: 1px solid #c39576;
  border-radius: 16px;
  overflow: hidden;
}

.ysjs-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ysjs-info {
  flex: 1;
  padding-top: 10px;
}

.ysjs-name-wrapper {
  display: inline-flex;
  flex-direction: column;
  gap: 16px;
}

.ysjs-name {
  font-size: 30px;
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}

.ysjs-divider {
  width: 100%;
  height: 4px;
  background-color: #966041;
  border-radius: 2px;
}

.ysjs-title {
  font-size: 18px;
  color: #73472e;
  font-weight: 500;
  margin-top: 24px;
  margin-bottom: 48px;
}

.ysjs-desc {
  font-size: 18px;
  line-height: 32px;
  color: #666;
  max-width: 910px;
}

/* 响应式适配 */
@media (max-width: 968px) {
  .ysjs-container {
    gap: 30px;
  }

  .ysjs-image-wrap {
    width: 300px;
    height: 401px;
  }
}

@media (max-width: 768px) {
  .ysjs-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .ysjs-info {
    width: 100%;
    padding-top: 0;
  }

  .ysjs-title {
    margin-top: 12px;
    margin-bottom: 24px;
  }

  .ysjs-desc {
    padding: 0 12px;
    font-size: 16px;
    line-height: 24px;
  }
  .ysjs-desc p {
    text-align: justify;
  }
}

@media (max-width: 576px) {
  .ysjs-image-wrap {
    width: 100%;
    max-width: 280px;
    height: 374px;
  }

  .ysjs-name {
    font-size: 26px;
  }

  .ysjs-title {
    font-size: 16px;
    margin-bottom: 20px;
  }
}
