/* 患者指南页面样式 */
.hzzn {
  color: #333;
}
main.content {
  position: relative;
}
.hzzn-section {
  padding-bottom: clamp(60px, 6vw, 120px);
}

.hzzn-tabs {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 50px);
  padding-bottom: clamp(15px, 2vw, 30px);
  margin-bottom: clamp(24px, 3vw, 48px);
  border-bottom: 1px solid #c39576;
}

.hzzn-tab {
  font-size: clamp(20px, 2.5vw, 36px);
  color: #828282;
  cursor: pointer;
  transition: color 0.2s;
  height: clamp(40px, 5vw, 60px);
  line-height: clamp(40px, 5vw, 60px);
  font-family: var(--font-decorative);
}

.hzzn-tab span {
  padding: 0 clamp(10px, 1.5vw, 20px);
  display: inline-block;
}

.hzzn-tab.active {
  color: #244840;
}

/* 标签页内容 */
.hzzn-pane {
  display: none;
}

.hzzn-pane.active {
  display: block;
}

/* 就医须知样式 */
.hzzn-guide-container {
  position: relative;
  max-width: 1026px;
  margin: 0 auto;
  background: url("../image/yygh-form.png") no-repeat center / 100% 100%;
  box-sizing: border-box;
}

.hzzn-guide-content .top,
.hzzn-guide-content .bottom {
  padding: 40px;
  margin: 0 auto;
}

.hzzn-guide-title {
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  /* padding-top: clamp(24px, 3vw, 40px); */
  margin-bottom: clamp(16px, 3vw, 30px);
}

.hzzn-guide-text {
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
}

.hzzn-divider {
  margin: 0 16px;
  height: 12px;
  background: url("../image/book-border.png") repeat-x center / auto 100%;
}

.hzzn-address {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 24px;
  font-weight: 500;
}

.hzzn-map-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #966041;
  margin-bottom: 12px;
}

.hzzn-map-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.hzzn-faq-container {
  position: relative;
  padding: 12px 32px;
  background: #fff;
  border: 1px solid #966041;
  border-radius: 16px;
  box-sizing: border-box;
}

/* 常见问题/关于我们/意见反馈 的通用简单板式 */
.hzzn-pane-common {
  background: #fff;
  border: 1px solid #c39576;
  border-radius: 16px;
  padding: clamp(20px, 4vw, 40px);
  color: #333;
}

.hzzn-faq-item {
  padding: 12px 0;
}

.hzzn-faq-item::after {
  content: "";
  display: block;
  height: 12px;
  background: url("../image/book-border.png") repeat-x center / auto 100%;
  margin-top: 24px;
}

.hzzn-faq-q {
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hzzn-faq-a {
  font-size: 16px;
  line-height: 24px;
  color: #666;
}

.hzzn-about-p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 16px;
  text-align: justify;
}

/* 意见反馈表单 */
.hzzn-feedback-form {
  max-width: 600px;
  margin: 0 auto;
}

.hzzn-form-group {
  margin-bottom: 20px;
}

.hzzn-form-group label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
  font-weight: bold;
}

.hzzn-form-group input,
.hzzn-form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 15px;
}

.hzzn-form-group textarea {
  height: 150px;
  resize: vertical;
}

.hzzn-submit-btn {
  background-color: #244840;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.hzzn-submit-btn:hover {
  background-color: #1b3630;
}

/* 关于我们子 Tab 及医院介绍样式 */
.hzzn-about-container {
  position: relative;
  min-height: 480px;
}

.hzzn-about-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 2vw, 24px);
  margin-bottom: clamp(20px, 3vw, 40px);
}

.hzzn-about-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(100px, 15vw, 212px);
  height: clamp(36px, 4vw, 50px);
  cursor: pointer;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.hzzn-about-tab.active {
  background: url("../image/ks-active.png") no-repeat center center;
  background-size: 100% 100%;
  color: #fff;
}

.hzzn-about-tab:not(.active) {
  background: url("../image/ks-inactive.png") no-repeat center center;
  background-size: 100% 100%;
  color: #73472e;
}

.hzzn-about-content {
  position: relative;
}

.hzzn-about-pane {
  display: none;
}

.hzzn-about-pane.active {
  display: block;
}

.hzzn-about-intro {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hzzn-about-intro .hzzn-about-images.with-border {
  border: 1px solid #966041;
  border-radius: 16px;
}

.hzzn-about-text {
  width: 100%;
  font-size: 16px;
  line-height: 2;
  position: relative;
  z-index: 2;
}

/* 移动端响应式适配 */
@media (max-width: 1440px) {
  .hzzn-about-container {
    min-height: 360px;
  }
}

@media (max-width: 1024px) {
  .hzzn-tabs {
    display: none;
  }
}

@media (max-width: 768px) {
  .hzzn-guide-container {
    padding: 20px 15px;
    background-image: url("../image/jjxz-mobile.png");
  }

  .hzzn-faq-container {
    padding: 20px 15px;
    border-radius: 12px;
  }

  .hzzn-guide-content .top,
  .hzzn-guide-content .bottom {
    padding: 12px;
  }

  .hzzn-about-text {
    font-size: 14px;
  }

  .hzzn-about-intro {
    gap: 24px;
  }
}

/* 医德医风 Tab 样式 (新闻报道式卡片网格) */
.hzzn-grid-news {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.hzzn-item-news {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #966041;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none !important;
  transition: background-color 0.25s ease;
  height: 100%;
}

.hzzn-img-box-news {
  width: 100%;
  height: 208px;
  overflow: hidden;
}

.hzzn-img-box-news img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hzzn-item-news:hover .hzzn-img-box-news img {
  transform: scale(1.05);
}

.hzzn-info-news {
  padding: 24px 20px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hzzn-title-news {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 16px;
  transition: color 0.25s ease;
  color: #244840;
}

.hzzn-desc-news {
  font-size: 14px;
  color: #666;
  line-height: 18px;
  margin-top: 0;
  margin-bottom: 40px;
  flex-grow: 1;
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.hzzn-meta-news {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  line-height: 18px;
  color: #666;
  transition: color 0.25s ease;
}

.hzzn-item-news:hover {
  background-color: #966041;
}

.hzzn-item-news:hover .hzzn-title-news {
  color: #fff;
}

.hzzn-item-news:hover .hzzn-desc-news {
  color: #fff;
}

.hzzn-item-news:hover .hzzn-meta-news {
  color: #fff;
}

@media (max-width: 1400px) {
  .hzzn-grid-news {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hzzn-grid-news {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 476px) {
  .hzzn-grid-news {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* 意见反馈 Tab 样式 */
.hzzn-feedback-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 110px);
  background: url("../image/yjfk-border.png") no-repeat center / 100% 100%;
  box-sizing: border-box;
}

.hzzn-feedback-form {
  max-width: 800px;
  margin: 0 auto;
}

.hzzn-feedback-row {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.hzzn-feedback-row.align-start {
  align-items: flex-start;
}

.hzzn-feedback-label {
  width: 100px;
  flex-shrink: 0;
  font-size: 15px;
  color: #333;
  text-align: right;
  padding-right: 24px;
}

.hzzn-feedback-field {
  flex: 1;
}

.hzzn-feedback-input,
.hzzn-feedback-textarea {
  width: 100%;
  border: 1px solid #e7d4c7;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.hzzn-feedback-input {
  height: 48px;
  padding: 0 16px;
}

.hzzn-feedback-textarea {
  height: 150px;
  padding: 12px 16px;
  resize: none;
}

.hzzn-feedback-input::placeholder,
.hzzn-feedback-textarea::placeholder {
  color: #bcbcbc;
}

.hzzn-feedback-input:focus,
.hzzn-feedback-textarea:focus {
  border-color: #966041;
}

.hzzn-feedback-submit {
  text-align: center;
  margin-top: 30px;
}

.hzzn-feedback-btn {
  display: inline-block;
  min-width: 180px;
  height: 56px;
  padding: 0 40px;
  border: none;
  font-size: 20px;
  color: #fff;
  background-image: url("../image/book-now.png");
  background-size: 100% 100%;
  cursor: pointer;
  transition: opacity 0.2s;
}

.hzzn-feedback-btn:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hzzn-feedback-container {
    /* padding: 20px 15px; */
    background-image: url("../image/border-mobile.png");
  }
  .hzzn-feedback-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .hzzn-feedback-label {
    text-align: left;
    padding-right: 0;
    width: 100%;
  }
  .hzzn-feedback-field {
    width: 100%;
  }
}
