/* bzhanshipin4.cn · 独立原创设计 · 保持源文件可阅读 */
:root {
  --ink: #13243a;
  --muted: #63738a;
  --navy: #101e31;
  --blue: #245ad9;
  --orange: #ffac62;
  --line: #e7edf4;
  --canvas: #f5f7fa;
  --paper: #ffffff;
  --radius: 18px;
  --shadow: 0 16px 50px rgba(17, 40, 70, .07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  z-index: 100;
  transform: translateY(-150%);
  padding: 9px;
  background: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -.5px;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, #2664ea, #7e87ed);
  font-size: 24px;
}

.brand small {
  display: block;
  font: 700 10px/1.2 system-ui;
  letter-spacing: 2px;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover, .nav a[aria-current="page"] {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  padding: 6px 12px;
}

.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,28,50,.94) 0%, rgba(11,28,50,.78) 36%, rgba(11,28,50,.12) 90%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 510px;
  padding: 84px 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 800;
  color: #f4b681;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.28;
  letter-spacing: -1.5px;
  margin: 15px 0 20px;
}

.hero p {
  max-width: 595px;
  color: #dbe4f1;
  font-size: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
}

.button-primary {
  background: #ffad6b;
  color: #233044;
}

.button-outline {
  border: 1px solid rgba(255,255,255,.4);
  color: white;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.main-section {
  padding: 64px 0 10px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.35;
  margin: 0 0 5px;
  letter-spacing: -.6px;
}

.section-head p {
  color: var(--muted);
  font-size: 14px;
  max-width: 660px;
  margin: 0;
}

.more {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.topic-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s, box-shadow .2s;
}

.topic-card:hover, .article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.topic-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #eaf0ff;
  color: var(--blue);
  font-size: 24px;
  margin-bottom: 16px;
}

.topic-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.topic-card p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 0;
}

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

.article-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}

.article-cover {
  aspect-ratio: 1.65;
  overflow: hidden;
  background: #d5e1ef;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-copy {
  padding: 20px 21px 24px;
}

.article-copy .tag, .tag {
  font-size: 12px;
  color: var(--blue);
  font-weight: 800;
}

.article-copy h3 {
  font-size: 19px;
  line-height: 1.45;
  margin: 9px 0;
}

.article-copy p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.feature {
  margin-top: 60px;
  background: #172942;
  border-radius: 23px;
  padding: 40px 46px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 35px;
  align-items: center;
}

.feature h2 {
  font-size: clamp(27px,3vw,42px);
  line-height: 1.3;
  margin: 12px 0;
}

.feature p {
  color: #c7d5e6;
}

.feature img {
  border-radius: 14px;
  aspect-ratio: 1.5;
  object-fit: cover;
}

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

.editorial a {
  display: flex;
  gap: 18px;
  padding: 21px;
  background: white;
  border-radius: 15px;
  border: 1px solid var(--line);
}

.editorial b {
  display: block;
  font-size: 17px;
  line-height: 1.5;
}

.editorial span {
  color: var(--muted);
  font-size: 13px;
}

.editorial-number {
  font: 800 32px/1 system-ui;
  color: #b3c5e6;
}

.site-footer {
  margin-top: 75px;
  padding: 40px 0 30px;
  background: #142239;
  color: #d4dfed;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}

.site-footer p {
  font-size: 12px;
  color: #afc0d2;
  margin: 12px 0 0;
}

.page-intro {
  background: #eaf0f8;
  padding: 61px 0 50px;
}

.page-intro h1 {
  font-size: clamp(30px,4vw,45px);
  margin: 12px 0;
}

.page-intro p {
  color: var(--muted);
  max-width: 800px;
}

.breadcrumb {
  font-size: 13px;
  color: #64758d;
  margin-bottom: 12px;
}

.breadcrumb a {
  color: #285ac2;
}

.read-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 290px;
  gap: 28px;
  align-items: start;
  padding-top: 35px;
}

.read-body, .sidebar {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 35px;
}

.read-body h2 {
  font-size: 23px;
  margin: 31px 0 12px;
}

.read-body h3 {
  font-size: 18px;
  margin: 24px 0 10px;
}

.read-body p {
  font-size: 16px;
  color: #34445b;
  line-height: 2.05;
}

.read-image {
  border-radius: 12px;
  margin: 22px 0;
  aspect-ratio: 1.7;
  object-fit: cover;
}

.sidebar h2 {
  font-size: 19px;
}

.sidebar a {
  display: block;
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.sidebar a:last-child {
  border: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: #7b8ca0;
  font-size: 13px;
}

.empty-note {
  font-size: 12px;
  color: var(--muted);
}

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

@media (max-width: 970px) {
  .topic-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .read-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .sidebar {
    display: none;
  }

}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 18px 22px;
    flex-direction: column;
    gap: 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .hero-inner {
    min-height: 460px;
    padding: 65px 0;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(11,28,50,.94), rgba(11,28,50,.55));
  }

  .main-section {
    padding-top: 42px;
  }

  .section-head {
    display: block;
  }

  .section-head .more {
    display: inline-block;
    margin-top: 12px;
  }

  .topic-grid {
    gap: 10px;
  }

  .topic-card {
    padding: 17px;
  }

  .topic-card h3 {
    font-size: 17px;
  }

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

  .article-copy {
    padding: 13px;
  }

  .article-copy h3 {
    font-size: 16px;
  }

  .feature {
    grid-template-columns: 1fr;
    margin-top: 40px;
    padding: 25px;
  }

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

  .footer-grid {
    display: block;
  }

  .footer-links {
    margin-top: 18px;
  }

  .read-body {
    padding: 22px;
  }

}

@media (max-width: 420px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

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

  .topic-card p {
    font-size: 12px;
  }

}

