@charset "UTF-8";

/* ========== CSS Variables ========== */
:root {
  --primary: #0A32DC;
  --primary-light: #1a4fc7;
  --text-dark: rgba(0, 0, 0, 0.85);
  --text-mid: rgba(0, 0, 0, 0.65);
  --text-light: rgba(0, 0, 0, 0.45);
  --bg-light: #ffffff;
  --bg-card: #ffffff;
  --border-radius: 0px;
  --transition: all 0.3s ease;
}

/* ========== Global ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Placeholder ========== */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.placeholder-text {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* ========== Page Header ========== */
.page-header {
  padding: 24px 0 0;
  background: #ffffff;
  border-bottom: none;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.page-header .breadcrumb a {
  color: var(--text-light);
}

.page-header .breadcrumb a:hover {
  color: var(--primary);
}

.page-header .breadcrumb i {
  font-size: 12px;
}

.page-header-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.page-header-title {
  /* 覆盖 main.css 全局 h1 的 SEO 隐藏手法（text-indent:-999px; float:left） */
  float: none;
  text-indent: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  height: 32px;
}

.page-header-desc {
  font-size: 14px;
  color: var(--text-light);
}

.page-header-tabs {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.header-tab {
  padding: 8px 20px;
  font-size: 14px;
  color: var(--text-mid);
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.header-tab.active {
  background: #ffeb3b;
  color: var(--text-dark);
}

.header-tab:hover:not(.active) {
  background: #eeeeee;
}

.page-header-line {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
}

/* ========== Healthcare Content ========== */
.healthcare-content {
  padding: 0 0 80px;
  background: #ffffff;
}

/* ========== Article Grid ========== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.article-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
  padding: 16px;
}

.article-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.article-card-img {
  position: relative;
  width: 100%;
  height: max-content;
}

.article-card-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.article-card-num {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.article-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  text-align: left;
}

.article-card-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-link {
  display: block;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 400;
  text-align: right;
}

.article-card-link:hover {
  color: var(--primary);
}

/* Mobile menu styles are in header.css */

/* ========== Responsive: Tablet ========== */
@media (max-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .article-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
}

/* ========== Responsive: Small Tablet ========== */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .page-header {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
  }

  .page-header-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .healthcare-content {
    padding: 24px 0 60px;
  }

  .article-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ========== Responsive: Mobile ========== */
@media (max-width: 480px) {
  body {
    padding-top: 50px;
  }

  .page-header {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
  }

  .page-header-title {
    font-size: 20px;
  }

  .page-header .breadcrumb {
    font-size: 12px;
  }

  .header-tab {
    padding: 6px 14px;
    font-size: 13px;
  }

  .article-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: center;
    padding-top: 40px !important;
    gap: 30px;
  }

  .footer-logo {
    margin-right: 0;
    text-align: center;
  }

  .footer-address {
    margin-right: 0;
    text-align: center;
  }

  .footer-pic-1 {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-big-wrap {
    margin-right: 16px;
    margin-bottom: 16px;
  }
}