:root {
  --bg: #eef3fb;
  --card: #ffffff;
  --card-soft: #f6f9ff;
  --text: #142033;
  --muted: #60708a;
  --line: rgba(20, 32, 51, 0.09);
  --primary: #0b57d0;
  --primary-deep: #083b8f;
  --accent: #14b8a6;
  --accent-soft: rgba(20, 184, 166, 0.12);
  --warn: #f59e0b;
  --shadow: 0 24px 60px rgba(16, 37, 66, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shell: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(11, 87, 208, 0.08), transparent 28%),
    radial-gradient(circle at right center, rgba(20, 184, 166, 0.08), transparent 24%),
    var(--bg);
  color: var(--text);
  font: 16px/1.7 "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

img {
  max-width: 100%;
}

input,
textarea,
button {
  font: inherit;
}

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

.site-topline {
  background: #09121f;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.topline-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topline-side {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topline-side a {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(20, 32, 51, 0.06);
}

.header-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #3d8bfd);
  color: #fff;
  font: 800 18px/1 "Bahnschrift", "Arial Narrow", sans-serif;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 32px rgba(11, 87, 208, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font: 800 24px/1.1 "Bahnschrift", "Arial Narrow", "PingFang SC", sans-serif;
  letter-spacing: 0.02em;
}

.brand-copy em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  margin-top: 4px;
}

.site-nav {
  justify-self: center;
}

.nav-menu,
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 600;
  color: #243247;
  transition: 0.25s ease;
}

.nav-menu > li > a:hover {
  color: var(--primary);
  background: rgba(11, 87, 208, 0.08);
}

.nav-menu > li > ul {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 220px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: none;
}

.nav-menu > li:hover > ul {
  display: block;
}

.nav-menu > li > ul > li > a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #31445f;
}

.nav-menu > li > ul > li > a:hover {
  background: var(--card-soft);
  color: var(--primary);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #2f7df5);
  color: #fff;
  box-shadow: 0 18px 32px rgba(11, 87, 208, 0.24);
}

.header-cta:hover,
.btn-primary:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid rgba(11, 87, 208, 0.16);
  background: rgba(255, 255, 255, 0.74);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--card-soft);
  color: var(--text);
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 700;
}

.site-main {
  padding: 28px 0 72px;
}

.hero-section,
.feature-layout,
.channel-section,
.content-layout,
.detail-layout,
.not-found-section {
  margin-top: 24px;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
  gap: 26px;
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(5, 24, 57, 0.94), rgba(9, 55, 129, 0.92)),
    radial-gradient(circle at top right, rgba(20, 184, 166, 0.22), transparent 34%);
  border-radius: var(--radius-xl);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 14px;
  font: 800 clamp(34px, 5vw, 58px)/1.08 "Bahnschrift", "Arial Narrow", "PingFang SC", sans-serif;
  letter-spacing: -0.03em;
}

.hero-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-search,
.footer-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-search input,
.footer-search input,
.not-found-search input {
  flex: 1;
  min-width: 0;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.footer-search input {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.footer-search input::placeholder {
  color: #8290a4;
}

.hero-search button,
.footer-search button,
.not-found-search button {
  min-width: 128px;
  min-height: 54px;
  border-radius: 16px;
  border: 0;
  background: linear-gradient(135deg, var(--accent), #32d3c0);
  color: #04263f;
  font-weight: 800;
  cursor: pointer;
}

.hero-keywords,
.footer-tags,
.story-tags,
.tag-cloud,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-keywords {
  margin-top: 18px;
}

.hero-keywords a,
.footer-tags a,
.story-tags a,
.tag-cloud a,
.article-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 13px;
}

.footer-tags a,
.story-tags a,
.tag-cloud a,
.article-tags a {
  background: var(--card-soft);
  color: var(--primary-deep);
}

.hero-panels,
.feature-side,
.sidebar-stack {
  display: grid;
  gap: 16px;
}

.metric-card,
.feature-card,
.sidebar-card,
.story-card,
.feature-main,
.channel-card,
.article-card,
.not-found-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px rgba(16, 37, 66, 0.08);
}

.metric-card {
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.metric-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.72);
}

.section-title {
  margin-bottom: 18px;
}

.section-title h2 {
  margin: 0;
  font: 800 clamp(26px, 3vw, 34px)/1.2 "Bahnschrift", "Arial Narrow", "PingFang SC", sans-serif;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 18px;
}

.feature-main,
.feature-card,
.story-card,
.article-card,
.not-found-card {
  padding: 24px;
}

.feature-main {
  background:
    linear-gradient(180deg, rgba(11, 87, 208, 0.04), transparent 50%),
    var(--card);
}

.feature-main h2,
.story-title,
.article-hero h1,
.feature-card h3 {
  margin: 14px 0 12px;
  line-height: 1.25;
}

.feature-main h2,
.article-hero h1 {
  font-size: clamp(28px, 3.5vw, 42px);
}

.feature-card h3,
.story-title {
  font-size: 24px;
}

.feature-main p,
.feature-card p,
.story-desc,
.article-summary,
.sidebar-card p {
  margin: 0;
  color: var(--muted);
}

.feature-meta,
.story-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
  color: #6d7d94;
  font-size: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(11, 87, 208, 0.08);
  color: var(--primary-deep);
  font-size: 13px;
  font-weight: 700;
}

.pill-primary {
  background: var(--accent-soft);
  color: #0c7065;
}

.feature-badges,
.story-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.channel-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover,
.story-card:hover,
.feature-card:hover,
.feature-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(16, 37, 66, 0.12);
}

.channel-card strong {
  font-size: 22px;
}

.channel-card span {
  color: var(--muted);
}

.channel-card em {
  color: var(--primary);
  font-style: normal;
  font-weight: 700;
}

.content-layout,
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.content-main,
.detail-main,
.content-sidebar,
.detail-sidebar {
  min-width: 0;
}

.content-main,
.detail-main {
  max-width: none;
  margin: 0;
}

.story-card + .story-card {
  margin-top: 18px;
}

.story-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.story-date {
  color: #7c8aa0;
  font-size: 14px;
}

.story-desc {
  font-size: 15px;
}

.story-meta {
  padding-top: 16px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.story-tags {
  margin-top: 16px;
}

.sidebar-card {
  padding: 22px;
}

.sidebar-card__title {
  font: 800 20px/1.2 "Bahnschrift", "Arial Narrow", "PingFang SC", sans-serif;
  margin-bottom: 16px;
}

.sidebar-list,
.footer-links,
.module-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-list li,
.module-body li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.sidebar-list li:first-child,
.module-body li:first-child {
  border-top: 0;
  padding-top: 0;
}

.sidebar-list a,
.module-body a {
  color: var(--text);
  font-weight: 600;
}

.sidebar-list span,
.module-body li {
  color: var(--muted);
  font-size: 13px;
}

.module-body ul li {
  display: block;
}

.module-body ul li a {
  display: block;
  padding: 8px 0;
}

.breadcrumb-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #728198;
  font-size: 14px;
  margin-bottom: 18px;
}

.article-hero {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.article-summary {
  font-size: 17px;
  margin-top: 10px;
}

.article-content {
  margin-top: 24px;
  color: #203148;
  font-size: 17px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5 {
  margin: 1.4em 0 0.6em;
  line-height: 1.3;
  color: #0d1a2d;
}

.article-content p,
.article-content ul,
.article-content ol,
.article-content blockquote {
  margin: 0 0 1.1em;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
}

.article-content blockquote {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: var(--card-soft);
  border-radius: 14px;
  color: #4d627d;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.2em;
}

.article-content th,
.article-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
}

.article-content img {
  border-radius: 18px;
  height: auto;
}

.article-tags {
  margin-top: 22px;
}

.article-block {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-block__title {
  margin-bottom: 14px;
  font: 800 22px/1.2 "Bahnschrift", "Arial Narrow", "PingFang SC", sans-serif;
  color: #102540;
}

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

.related-card {
  padding: 18px;
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.related-card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.comment-panel {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.msg,
#divCommentPost {
  margin: 18px 0 0;
  padding: 22px;
  background: var(--card-soft);
  border-radius: 18px;
  list-style: none;
}

.msghead {
  font-weight: 700;
}

.msgname {
  color: var(--muted);
}

.msgarticle {
  margin-top: 12px;
  color: var(--text);
}

.avatar {
  border-radius: 50%;
  vertical-align: middle;
}

#divCommentPost .text,
#divCommentPost textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}

#divCommentPost .button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.pager-wrap {
  margin-top: 26px;
}

.pagebar-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-number {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: #335072;
  font-weight: 700;
}

.page-number.is-current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.site-footer {
  margin-top: 36px;
  padding: 42px 0 22px;
  background: #08111d;
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 24px;
}

.footer-block h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.footer-intro p {
  color: rgba(255, 255, 255, 0.72);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: #fff;
  font: 800 24px/1.2 "Bahnschrift", "Arial Narrow", "PingFang SC", sans-serif;
}

.footer-contact {
  margin-top: 10px;
  color: #fff;
}

.footer-links li + li {
  margin-top: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.not-found-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.not-found-card h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 54px);
}

.not-found-card p {
  color: var(--muted);
  margin: 0 auto;
  max-width: 680px;
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 8px);
    display: none;
    justify-self: stretch;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-menu {
    display: block;
  }

  .nav-menu > li > a {
    width: 100%;
    border-radius: 14px;
  }

  .nav-menu > li > ul {
    position: static;
    display: block;
    margin-top: 10px;
    box-shadow: none;
    border-radius: 14px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .hero-card,
  .feature-grid,
  .content-layout,
  .detail-layout,
  .footer-grid,
  .channel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 24px), var(--shell));
  }

  .topline-inner,
  .footer-bottom,
  .story-head,
  .hero-search,
  .footer-search {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card,
  .story-card,
  .feature-main,
  .feature-card,
  .article-card,
  .sidebar-card,
  .not-found-card {
    padding: 18px;
  }

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

  .hero-search,
  .footer-search {
    width: 100%;
  }

  .hero-search input,
  .hero-search button,
  .footer-search input,
  .footer-search button,
  .not-found-search input,
  .not-found-search button {
    width: 100%;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 74px;
    gap: 14px;
  }

  .brand-copy strong {
    font-size: 20px;
  }
}
