* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: #222;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px minmax(0, 1fr);
  align-items: stretch;
  max-width: 1440px;
  min-height: 93px;
  margin: 0 auto;
  padding: 0 18px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  width: 156px;
}

.nav-side {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.nav-link {
  display: flex;
  min-width: 78px;
  height: 93px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #41b900;
  background: #fff;
  padding: 0 8px;
  text-align: center;
  white-space: nowrap;
}

.nav-link span {
  font-size: 16px;
  line-height: 28px;
}

.nav-link small {
  color: #999;
  font-size: 12px;
}

.nav-menu {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 93px;
  left: 50%;
  min-width: 150px;
  transform: translateX(-50%);
  background: #41b900;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.nav-menu:hover .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  color: #fff;
}

.dropdown a:hover {
  background: #fff;
  color: #41b900;
}

.site-main {
  min-height: calc(100vh - 153px);
}

.site-footer {
  width: 100%;
  border-top: 10px solid #d2e8cc;
  background: #1f8c00;
  color: #fff;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
  padding: 14px 20px;
}

.site-footer a {
  color: #fff;
}

.home-hero {
  position: relative;
  height: 530px;
  overflow: hidden;
  background: #eef7ef;
}

.hero-slide,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 530px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-fallback {
  opacity: 1;
  background: linear-gradient(120deg, #e8f5e5, #ffffff);
}

.hero-wave {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.home-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1180px;
  margin: 24px auto 50px;
  padding: 0 24px;
}

.home-panel h2 {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 500;
  text-align: center;
}

.partner-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  flex-wrap: wrap;
}

.partner-row img {
  max-height: 60px;
  width: auto;
}

.report-lines {
  display: grid;
  gap: 10px;
}

.report-lines a {
  border-bottom: 1px solid #111;
  line-height: 30px;
}

.report-lines a:hover {
  color: #ff6c00;
}

.page-banner {
  position: relative;
  height: 275px;
  overflow: hidden;
  border-bottom: 5px solid #63c048;
  background: #fafafa;
}

.page-banner img {
  width: 100%;
  height: 275px;
  object-fit: cover;
}

.banner-copy {
  position: absolute;
  z-index: 2;
  top: 70px;
  left: clamp(24px, 13vw, 200px);
  width: 300px;
  height: 150px;
  border: 1px solid #fff;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  color: #fff;
  text-align: center;
}

.banner-copy h1 {
  margin: 15px 0 0;
  font-size: 50px;
  font-weight: 700;
}

.banner-copy p {
  margin: 0;
  color: #ddd;
  font-size: 40px;
  font-weight: 700;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: 1180px;
  gap: 24px;
  align-items: center;
  margin: 0 auto;
  padding: 0 24px;
}

.section-head.single {
  grid-template-columns: 1fr;
  justify-items: start;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  min-height: 56px;
  align-items: center;
}

.tab-item {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-bottom: 2px solid transparent;
  color: #333;
  font-size: 15px;
}

.tab-item.active,
.tab-item:hover {
  color: #41b900;
  border-bottom-color: #41b900;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  color: #444;
  font-size: 18px;
}

.breadcrumb a:hover {
  color: #41b900;
}

.content-wrap,
.rich-content,
.detail-table-wrap,
.article,
.contact-box,
.image-grid {
  max-width: 1180px;
  margin: 0 auto 48px;
  padding: 24px;
}

.rich-content {
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.rich-content img {
  height: auto;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 0 0 24px;
}

.search-form input {
  width: 300px;
  max-width: 100%;
  height: 38px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 14px;
}

.search-form button {
  height: 38px;
  border: 0;
  border-radius: 4px;
  background: #63c048;
  color: #fff;
  padding: 0 20px;
  cursor: pointer;
}

.search-form button:hover {
  background: #41b900;
}

.card-list {
  display: grid;
  gap: 15px;
}

.list-card {
  display: block;
  width: 100%;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  background: #fff;
  padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.list-card:hover .card-title {
  color: #ff6c00;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding-left: 30px;
  background: url("../assets/i1.png") no-repeat center left;
  font-size: 16px;
  line-height: 1.5;
}

.new-mark {
  width: auto;
  height: 14px;
}

.card-meta {
  line-height: 30px;
  color: #666;
  font-size: 12px;
}

.pagination {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 22px 0 12px;
}

.pagination a {
  min-width: 34px;
  height: 34px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 7px 10px;
  text-align: center;
  color: #333;
}

.pagination a.active,
.pagination a:hover {
  background: #41b900;
  border-color: #41b900;
  color: #fff;
}

.notice {
  max-width: 1180px;
  margin: 16px auto;
  border-left: 4px solid #ffb020;
  background: #fff8e8;
  color: #6b4a00;
  padding: 12px 16px;
}

.empty {
  color: #888;
  padding: 24px 0;
}

.data-table,
.detail-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.data-table th,
.data-table td,
.detail-table th,
.detail-table td {
  border: 2px solid #a8c9a8;
  padding: 10px;
  line-height: 1.6;
  vertical-align: middle;
}

.data-table th,
.detail-table th {
  background: #e4f9e4;
  text-align: center;
  font-weight: 500;
}

.technical-team-table {
  table-layout: fixed;
}

.technical-team-table .team-name-col {
  width: calc(4em + 20px);
}

.technical-team-table .team-education-col {
  width: calc(5em + 20px);
}

.technical-team-table th:nth-child(1),
.technical-team-table td:nth-child(1),
.technical-team-table th:nth-child(2),
.technical-team-table td:nth-child(2) {
  white-space: nowrap;
  text-align: center;
}

.technical-team-table .certificate-cell {
  overflow-wrap: anywhere;
  word-break: break-all;
}

.detail-table td {
  background: #fff;
}

.detail-table th {
  width: 18%;
}

.detail-table.compact th {
  width: 20%;
}

.attachment-img {
  width: min(900px, 100%);
  height: auto;
  max-height: 600px;
  object-fit: contain;
}

.attachment-list {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.attachment-preview {
  display: inline-block;
  max-width: 100%;
}

.download-link {
  color: #1f8c00;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.report-document-viewer {
  max-height: 760px;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid #dcdfe6;
  background: #fff;
  padding: 18px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.report-document-protected,
.report-document-protected * {
  -webkit-user-select: none;
  user-select: none;
}

.report-document-viewer img {
  max-width: 100%;
  height: auto;
}

.report-document-viewer table {
  max-width: 100%;
  border-collapse: collapse;
}

.report-document-viewer th,
.report-document-viewer td {
  border: 1px solid #dcdfe6;
  padding: 6px 8px;
}

.report-document-download {
  display: inline-block;
  margin-top: 10px;
}

.detail-table .report-content-row > th {
  vertical-align: top;
  padding-top: 28px;
}

.detail-table .report-content-cell {
  padding: 24px 28px 28px;
}

.report-content-panel {
  width: min(100%, 1020px);
  margin: 0 auto;
}

.report-pdf-viewer {
  height: 1180px;
  min-height: 960px;
  margin: 18px auto 0;
  border: 1px solid #cfd4dc;
  border-radius: 4px;
  background: #e9edf2;
  box-shadow: 0 4px 16px rgba(31, 45, 61, 0.12);
  overflow: hidden;
}

.report-pdf-viewer:first-child {
  margin-top: 0;
}

.report-pdf-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  color-scheme: light;
}

@media (max-width: 768px) {
  .detail-table .report-content-cell {
    min-width: 720px;
    padding: 16px;
  }

  .report-pdf-viewer {
    height: 82vh;
    min-height: 560px;
    margin-top: 14px;
  }
}

.article h1 {
  margin: 0;
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.6;
}

.article-meta {
  margin: 12px 0 20px;
  border-bottom: 1px solid #ddd;
  color: #666;
  text-align: center;
  padding: 0 0 15px;
  font-size: 15px;
}

.article-meta span {
  margin-left: 28px;
}

.article-body {
  padding: 0;
  margin-bottom: 0;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px 60px;
}

.image-grid img {
  width: 100%;
  border: 1px solid #ddd;
  padding: 10px;
  background: #fff;
}

.job-list {
  display: grid;
  gap: 15px;
}

.job-card {
  border: 1px solid #ebeef5;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.job-title {
  width: 100%;
  border: 0;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 20px;
  color: #222;
  cursor: pointer;
  text-align: left;
}

.job-title small {
  background: #999;
  border-radius: 3px;
  color: #fff;
  padding: 4px 10px;
  font-size: 14px;
}

.job-detail {
  display: none;
  padding: 0 20px 20px;
}

.job-card.open .job-detail {
  display: block;
}

.job-row {
  display: grid;
  grid-template-columns: 15% 18% 15% 18% 15% 19%;
  border: 1px solid #ddd;
  border-bottom: 0;
  line-height: 50px;
}

.job-row b {
  background: #ddd;
  text-align: center;
  font-weight: 500;
}

.job-row span {
  text-align: center;
  padding: 0 8px;
}

.job-desc {
  border: 1px solid #ddd;
  background: #fafafa;
  line-height: 30px;
  padding: 15px;
}

.contact-box dl {
  margin: 0;
  font-size: 25px;
}

.contact-box dt,
.contact-box dd {
  display: inline-block;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px dotted #ddd;
}

.contact-box dt {
  width: 90px;
}

.contact-box dd {
  width: calc(100% - 100px);
}

@media (max-width: 1100px) {
  .site-nav {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px 16px;
  }

  .brand {
    order: -1;
    padding: 8px 0;
  }

  .nav-side {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-link {
    height: 58px;
  }

  .dropdown {
    top: 58px;
  }

  .section-head,
  .home-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .home-hero,
  .hero-slide,
  .hero-fallback {
    height: 320px;
  }

  .hero-wave {
    height: 92px;
  }

  .page-banner,
  .page-banner img {
    height: 210px;
  }

  .banner-copy {
    top: 48px;
    width: 230px;
    height: 115px;
  }

  .banner-copy h1 {
    font-size: 34px;
  }

  .banner-copy p {
    font-size: 26px;
  }

  .breadcrumb {
    font-size: 15px;
  }

  .content-wrap,
  .rich-content,
  .detail-table-wrap,
  .article,
  .contact-box,
  .image-grid {
    padding: 18px;
  }

  .data-table,
  .detail-table {
    display: block;
    overflow-x: auto;
  }

  .job-row {
    grid-template-columns: 35% 65%;
  }

  .contact-box dt,
  .contact-box dd {
    display: block;
    width: 100%;
  }
}
