@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-line {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
}

.science-content {
  padding: 0 0 80px;
  background: #ffffff;
}

.science-grid {
  display: flex;
}

.menu {
  width: 200px;
}

.menu-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  padding: 16px;
  text-align: center;
}

.menu-item {
  width: 100%;
  height: 50px;
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 0;
}

.menu-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.menu-item:hover,
.menu-item.active {
  background: var(--primary);
  color: #ffffff;
}


.science-main {
  flex: 1;
  margin-left: 20px;
}

.science-main-header {
  padding: 10px 20px;
  background-color: #f5f5f5;
}

.science-main-header-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.science-main-header-desc {
  font-size: 14px;
  margin-bottom: 0;
  color: var(--text-light);
}

.science-main-content {
  margin-top: 10px;
}

.science-main-content-item {
  border-top: 1px solid rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  text-decoration: none;
  color: inherit;
}

.science-main-content-item:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.sm-item-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sm-item-index {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 0;
}

.sm-item-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}


.sm-item-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.sm-item-desc {
  margin: 0;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.sm-item-arrow {
  width: 20px;
  height: 20px;
}

.science-empty {
  padding: 60px 20px;
  text-align: center;
  color: rgba(0, 0, 0, 0.35);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .menu {
    width: 150px;
  }
}

/* ========== 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;
  }

  .science-grid {
    flex-direction: column;
  }

  .menu {
    width: 100%;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(0, 0, 0, 0.35);
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  }

  .menu-title {
    display: none;
  }

  .menu-item {
    flex: 0 0 auto;
    width: auto;
    height: 46px;
    padding: 0 18px;
    white-space: nowrap;
    border-top: none;
    border-right: 1px solid rgba(0, 0, 0, 0.35);
  }

  .menu-item:last-child {
    border-right: none;
    border-bottom: none;
  }

  .science-main {
    margin-left: 0;
    margin-top: 20px;
  }
}

/* ========== Responsive: Mobile ========== */
@media (max-width: 480px) {
  body {
    padding-top: 50px;
  }

  .page-header-title {
    font-size: 20px;
  }

  .page-header .breadcrumb {
    font-size: 12px;
  }

  .science-main-header {
    padding: 10px 14px;
  }

  .science-main-header-title {
    font-size: 18px;
  }

  .science-main-header-desc {
    font-size: 13px;
  }

  .science-main-content-item {
    padding: 10px 14px;
  }

  .sm-item-wrap {
    gap: 12px;
  }

  .sm-item-index {
    font-size: 16px;
  }

  .sm-item-title {
    font-size: 15px;
  }

  .menu-item {
    height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  .header-tab {
    padding: 6px 14px;
    font-size: 13px;
  }

  .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;
  }
}

/* ========== Footer Override ========== */
.footer-wrap {
  padding-top: 60px !important;
}

.record-information {
  padding-top: 40px !important;
}