/** @format */
/* 通用样式 */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-transform: inherit !important;
  text-align: left !important;
}

@media screen and (min-width: 1200px) {
  .supplements-detail-title {
    font-size: 38px !important;
  }

  h2 {
    font-size: 32px !important;
  }
  h3 {
    font-size: 28px !important;
  }
  h4 {
    font-size: 24px !important;
  }
}
.supplements-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.supplements-section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.supplements-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.supplements-item {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.supplements-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.supplements-item-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #333;
  line-height: 1.4;
  /* 限制标题行数 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.supplements-item-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 16px;
}

.supplements-item-more {
  display: inline-flex;
  align-items: center;
  color: #667eea;
  font-weight: 600;
  font-size: 14px;
}

.supplements-item-more svg {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.supplements-item:hover .supplements-item-more svg {
  transform: translateX(4px);
}

.supplements-records {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  color: #666;
  font-size: 16px;
}

.supplements-detail {
  margin: 0 auto;
}
.supplements-detail-title {
  font-weight: 600;
  margin-bottom: 40px;
  color: #333;
  line-height: 1.3;
}
.supplements-detail-content p {
  margin-bottom: 20px;
  font-weight: 400 !important;
}

/* Table styles */
.supplements-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.supplements-detail-content th,
.supplements-detail-content td {
  padding: 12px;
  text-align: left;
  border: 1px solid black;
}

.supplements-detail-content th {
  background-color: #f2f2f2;
  font-weight: 600;
}

.supplements-detail-content tr:hover {
  background-color: #f5f5f5;
}

/* List styles */
.supplements-detail-content ul,
.supplements-detail-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.supplements-detail-content li {
  margin-bottom: 8px;
}

.supplements-detail-content ul li {
  list-style-type: disc;
  display: list-item !important;
}

.supplements-detail-content ol li {
  list-style-type: decimal;
}

@media (max-width: 789px) {
  .supplements-detail {
    max-width: 90%;
  }
  .supplements-container {
    padding: 40px 16px;
  }

  .supplements-section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .supplements-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .supplements-item {
    padding: 20px;
  }

  .supplements-item-title {
    font-size: 18px;
  }

  .supplements-detail-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .supplements-detail-content {
    font-size: 16px;
  }
}
@media (min-width: 1200px) {
  .supplements-detail {
    max-width: 1200px !important;
  }
}
