/* 资料详情页样式 - 基于新闻详情页，主色调改为沃顿红 #b58a4f */
.material-detail-page {
  background: #f8f9fa;
  min-height: 100vh;
  padding: 20px 0 40px;
}

.material-detail-page .container {
  margin: 0 auto;
  max-width: 1200px;
  overflow: visible;
  padding: 0 20px;
}

.material-detail-page .breadcrumb {
  align-items: center;
  color: #666;
  display: flex;
  font-size: 14px;
  gap: 8px;
  margin-bottom: 20px;
}

.material-detail-page .breadcrumb-item {
  color: #666;
  text-decoration: none;
}

.material-detail-page .breadcrumb-item.active {
  color: #333;
  font-weight: 500;
}

.material-detail-page .breadcrumb-separator {
  color: #999;
}

.material-detail-page .content-frame {
  display: flex;
  gap: 20px;
}

.material-detail-page .main-content {
  flex: 1;
  min-width: 0;
}

.material-sidebar {
  align-self: flex-start;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
  width: 300px;
}

@media (max-width: 992px) {
  .material-detail-page .content-frame {
    flex-direction: column;
  }
  .material-sidebar {
    width: 100%;
  }
}

.material-detail {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
}

@media (max-width: 768px) {
  .material-detail {
    padding: 15px;
  }
}

.material-title {
  color: #333;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 16px;
}

.material-meta {
  align-items: center;
  color: #666;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.material-category-tag {
  background: #fde8ea;
  border-radius: 4px;
  color: #b58a4f;
  font-size: 12px;
  padding: 2px 8px;
}

.material-author {
  color: #999;
}

.material-view-count {
  align-items: center;
  color: #999;
  display: flex;
  gap: 4px;
}

.material-view-count i {
  font-size: 14px;
}

.material-share {
  align-items: center;
  background: #fde8ea;
  border-radius: 4px;
  color: #b58a4f;
  cursor: pointer;
  display: flex;
  gap: 4px;
  padding: 2px 8px;
  transition: all 0.3s;
}

.material-share:hover {
  background: #b58a4f;
  color: #fff;
}

.material-share i {
  font-size: 14px;
}

@media (max-width: 768px) {
  .material-share {
    display: none;
  }
  .material-title {
    font-size: 20px;
  }
}

/* 资料信息卡片 */
.material-info-card {
  background: linear-gradient(135deg, #fde8ea 0%, #fff5f6 100%);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.material-info-card .info-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.material-info-card .info-header i {
  font-size: 40px;
  color: #b58a4f;
}

.material-info-card .info-text h4 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.material-info-card .info-text p {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.download-btn {
  align-items: center;
  background: linear-gradient(135deg, #b58a4f, #7a5f33);
  border: none;
  border-radius: 25px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 8px;
  padding: 12px 30px;
  transition: all 0.3s;
  white-space: nowrap;
}

.download-btn:hover {
  background: linear-gradient(135deg, #c9a25f, #b58a4f);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(181, 138, 79, 0.3);
}

.download-btn i {
  font-size: 14px;
}

@media (max-width: 576px) {
  .material-info-card {
    flex-direction: column;
    text-align: center;
  }
  .material-info-card .info-header {
    flex-direction: column;
  }
  .download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* 资料内容样式 */
.material-content {
  color: #333;
  font-size: 16px;
  line-height: 1.8;
}

.material-content h2 {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  margin: 30px 0 15px;
  padding-left: 12px;
  border-left: 4px solid #b58a4f;
}

.material-content h3 {
  color: #333;
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 12px;
}

.material-content p {
  margin-bottom: 15px;
}

.material-content ul,
.material-content ol {
  margin-bottom: 15px;
  padding-left: 24px;
}

.material-content li {
  line-height: 1.8;
  margin-bottom: 8px;
}

.material-content strong {
  color: #b58a4f;
}

.material-content img {
  border-radius: 4px;
  display: block;
  height: auto;
  max-width: 100%;
}

.material-content table {
  border-collapse: collapse;
  margin-bottom: 16px;
  max-width: 100%;
  width: 100%;
}

.material-content td,
.material-content th {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.material-content th {
  background: #f5f5f5;
  font-weight: 600;
}

@media (max-width: 767px) {
  .material-content {
    font-size: 15px;
    line-height: 1.7;
  }
  .material-content h2 {
    font-size: 18px;
    margin: 20px 0 12px;
  }
  .material-content h3 {
    font-size: 16px;
    margin: 16px 0 10px;
  }
  .material-content ul,
  .material-content ol {
    padding-left: 20px;
  }
  .material-content p {
    margin-bottom: 12px;
  }
}

/* 侧边栏区块 */
.sidebar-section {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
}

.more-materials-header {
  align-items: center;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.more-materials-header h3 {
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.more-link {
  color: #b58a4f;
  font-size: 12px;
  text-decoration: none;
}

.more-link:hover {
  text-decoration: underline;
}

.more-materials-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.more-material-item {
  align-items: center;
  color: #333;
  cursor: pointer;
  display: flex;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
  transition: all 0.3s;
}

.more-material-item:hover {
  background: #f5f5f5;
  border-radius: 4px;
  margin: 0 -8px;
  padding: 8px;
  color: #b58a4f;
}

.material-rank {
  align-items: center;
  background: #f0f0f0;
  border-radius: 4px;
  color: #999;
  display: flex;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  height: 20px;
  justify-content: center;
  width: 20px;
}

.material-rank.top-three {
  background: #b58a4f;
  color: #fff;
}

.material-item-title {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 预约卡片样式 - 主色调改为红色 */
.appointment-card {
  background: url(../assets/remote/hdform.oss-cn-shanghai.aliyuncs.com/images/brand-strength-background.png) no-repeat center/cover;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 20px;
}

.appointment-header {
  padding: 0 0 10px;
  text-align: left;
}

.header-title-img {
  height: auto;
  width: 80%;
}

.benefits-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 15px;
}

.benefit-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.benefit-item img {
  height: 50px;
  margin-bottom: 6px;
  width: 50px;
}

.benefit-item span {
  color: #333;
  font-size: 12px;
  font-weight: 500;
}

.appointment-form {
  background: #fff;
  border-radius: 10px;
  margin-bottom: 15px;
}

.appointment-form .form-item {
  align-items: center;
  background: #f5f7fa;
  border-radius: 8px;
  display: flex;
  height: 44px;
  margin-bottom: 12px;
  padding: 0 12px;
}

.appointment-form .form-item:last-of-type {
  margin-bottom: 15px;
}

.appointment-form .form-item i {
  color: #999;
  font-size: 16px;
  margin-right: 10px;
  text-align: center;
  width: 20px;
}

.appointment-form .form-item input,
.appointment-form .form-item select {
  background: transparent;
  border: none;
  color: #333;
  flex: 1;
  font-size: 14px;
  height: 100%;
  outline: none;
}

.appointment-form .form-item input::placeholder,
.appointment-form .form-item select:invalid {
  color: #999;
}

.appointment-form .submit-btn {
  background: linear-gradient(135deg, #b58a4f, #7a5f33);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  height: 44px;
  transition: all 0.3s;
  width: 100%;
}

.appointment-form .submit-btn:hover {
  background: linear-gradient(135deg, #c9a25f, #b58a4f);
  box-shadow: 0 4px 12px rgba(181, 138, 79, 0.3);
}

.contact-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.contact-item {
  align-items: center;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  padding: 10px;
  position: relative;
}

.contact-item img {
  flex-shrink: 0;
  height: 36px;
  margin-right: 8px;
  width: 36px;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
}

.contact-desc {
  color: #666;
  font-size: 11px;
  line-height: 1.4;
}

.contact-item.online .contact-title {
  color: #b58a4f;
}

.contact-item.tel .contact-title {
  color: #52c41a;
}
