:root {
  --page-bg: #eef4fb;
  --surface-bg: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 20%, rgba(255, 255, 255, 0.96) 80%, rgba(255, 255, 255, 0));
  --primary: #084098;
  --primary-deep: #062f70;
  --text-main: #1d2a3b;
  --text-muted: #6f7d90;
  --line: #d8e2ef;
  --accent: #f5a623;
  --radius: 4px;
  --shadow: 0 20px 48px rgba(15, 54, 120, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--page-bg);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid #9fc0ff;
  outline-offset: 3px;
}

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

button {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(238, 244, 251, 0.98);
  backdrop-filter: blur(10px);
}

.top-banner img {
  width: 100%;
  height: auto;
}

.main-nav {
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(8, 64, 152, 0.18);
}

.nav-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  height: 60px;
  align-items: center;
}

.nav-link {
  position: relative;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 0;
  height: 4px;
  background: #fff;
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 80%;
}

.page-shell {
  padding-bottom: 28px;
}

.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(60px, 10vw, 160px);
  background:
    linear-gradient(180deg, rgba(52, 116, 214, 0.95), rgba(15, 64, 145, 0.45)),
    radial-gradient(circle at 30% 60%, rgba(255, 199, 87, 0.95), transparent 32%);
  opacity: 0.75;
}

.hero-section::before {
  left: 0;
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0 100%);
}

.hero-section::after {
  right: 0;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-slider {
  position: relative;
  width: 100%;
  max-height: 540px;
  overflow: hidden;
  background: #0a387f;
}

.hero-slide {
  width: 100%;
  height: min(540px, 48vw);
  object-fit: cover;
  opacity: 0;
  position: absolute;
  inset: 0;
  transition: opacity 420ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  position: relative;
}

.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.12);
}

.content-surface {
  background: var(--surface-bg);
}

.news-section {
  padding: 18px 0 8px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 36px;
  align-items: start;
}

.news-tabs-panel {
  min-height: 360px;
}

.news-tab-bar {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.news-tab {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 8px 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 180ms ease;
}

.news-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.news-tab.is-active {
  color: var(--primary);
  font-weight: 700;
}

.news-tab.is-active::after {
  width: 100%;
}

.news-tab-panel {
  padding-top: 18px;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  transition: color 180ms ease, transform 180ms ease;
}

.news-row:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.news-row-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-row-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cfd9e8;
}

.news-focus-card {
  display: grid;
  gap: 14px;
}

.focus-cover {
  display: block;
  position: relative;
  background: #f5f6f8;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.focus-cover:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(15, 54, 120, 0.12);
}

.focus-placeholder {
  aspect-ratio: 35 / 24;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #f3f5f7 0%, #eceff3 100%);
}

.placeholder-icon {
  position: relative;
  width: 104px;
  height: 72px;
  border: 5px solid #cfd4dc;
  border-radius: 6px;
}

.placeholder-icon::before {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 44px;
  height: 24px;
  background: #cfd4dc;
  clip-path: polygon(0 100%, 30% 44%, 54% 74%, 70% 40%, 100% 100%);
}

.placeholder-icon::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 10px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #cfd4dc;
}

.placeholder-icon span {
  display: none;
}

.focus-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 42px;
  height: 26px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f5a623;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}

.focus-body {
  padding-right: 20px;
}

.focus-kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.focus-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
}

.publicity-section {
  padding: 14px 0 0;
}

.publicity-image {
  width: 100%;
  box-shadow: var(--shadow);
}

.notice-section {
  padding: 10px 0 28px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.notice-card {
  min-width: 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--primary);
}

.section-chip {
  position: relative;
  min-width: 120px;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(-114deg, transparent 18px, var(--primary) 19px);
  font-size: 16px;
  font-weight: 700;
}

.more-link {
  position: relative;
  padding-right: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.more-link::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
  transform: translateY(-50%) rotate(45deg);
}

.notice-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 2px;
  font-size: 16px;
  transition: color 180ms ease;
}

.notice-item:hover {
  color: var(--primary);
}

.notice-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice-date {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer {
  background: var(--primary);
  color: #fff;
}

.footer-content {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 24px 20px 28px;
  text-align: center;
  font-size: 14px;
}

.footer-content p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav-inner {
    gap: 20px;
    height: 52px;
  }

  .hero-slide {
    height: 42vw;
  }

  .news-grid,
  .notice-grid {
    grid-template-columns: 1fr;
  }

  .focus-title {
    font-size: 17px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .site-header {
    position: static;
  }

  .nav-inner {
    justify-content: space-around;
  }

  .nav-link {
    font-size: 14px;
  }

  .hero-slide {
    height: 52vw;
  }

  .news-tab-bar {
    gap: 16px;
  }

  .news-row,
  .notice-item {
    font-size: 14px;
  }

  .section-chip {
    min-width: 102px;
    padding: 12px 16px;
    font-size: 15px;
  }

  .footer-content {
    font-size: 12px;
    line-height: 1.8;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
