/* bzzxgk520.cn · 原创静态导览站 · 2026-11 */

:root {
  --bg: #f5f7fd;
  --ink: #18213b;
  --muted: #64718e;
  --line: #e4eaf4;
  --brand: #6555df;
  --pink: #ed71b7;
  --cyan: #28b6cc;
  --card: #fff;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,input {
  font: inherit;
}

.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}

.site-header {
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.5px;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: white;
  background: linear-gradient(140deg,#6858e9,#eb75bb);
  box-shadow: 0 7px 18px #6555df30;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  font-size: 14px;
  font-weight: 650;
  color: #45516e;
}

.nav a:hover,.nav a.active {
  color: var(--brand);
}

.nav-external {
  padding: 9px 15px;
  border-radius: 99px;
  background: #f0edff;
  color: #5b50c8 !important;
}

.mobile-menu {
  display: none;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 2px;
  color: #7766db;
  text-transform: uppercase;
}

.hero {
  padding: 48px 0 30px;
}

.hero-shell {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 450px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(125deg,#1b224a,#483e87 70%,#7154ae);
  box-shadow: 0 24px 60px #27306220;
  color: #fff;
}

.hero-copy {
  padding: 65px 0 55px 56px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(32px,3.8vw,52px);
  line-height: 1.24;
  margin: 16px 0 20px;
  letter-spacing: -1.5px;
}

.hero p {
  color: #e8e5ff;
  font-size: 15px;
  max-width: 470px;
}

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

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 750;
}

.btn-primary {
  background: linear-gradient(135deg,#f18abe,#bda1ff);
  color: #271a50;
}

.btn-outline {
  border: 1px solid #ffffff77;
  color: white;
}

.hero-art {
  position: relative;
  min-height: 330px;
}

.hero-art img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 30% center;
}

.hero-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#332f70 0%,transparent 30%);
  z-index: 1;
}

.note-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 40px;
  padding: 15px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #56627f;
  font-size: 13px;
}

.note-strip b {
  color: #6957d9;
  white-space: nowrap;
}

.section {
  margin: 54px 0;
}

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

.section h2 {
  font-size: 28px;
  line-height: 1.35;
  margin: 5px 0 0;
  letter-spacing: -.5px;
}

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

.text-link {
  color: #6555df;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

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

.feature {
  background: #fff;
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform .2s,box-shadow .2s;
}

.feature:hover,.post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px #292a6810;
}

.feature-icon {
  height: 48px;
  width: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(140deg,#e7e1ff,#fff0fa);
  font-size: 23px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 18px;
  margin: 0 0 7px;
}

.feature p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

.editorial {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 23px;
  align-items: stretch;
}

.editorial-image {
  border-radius: 23px;
  overflow: hidden;
  min-height: 340px;
}

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

.editorial-copy {
  padding: 40px 40px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 23px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-copy h2 {
  font-size: 30px;
  margin: 10px 0;
}

.editorial-copy p {
  color: var(--muted);
  font-size: 15px;
}

.pill {
  display: inline-block;
  background: #f1ecff;
  color: #6a56c9;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 750;
  width: max-content;
}

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

.post {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .2s,box-shadow .2s;
  display: flex;
  flex-direction: column;
}

.post .cover {
  aspect-ratio: 1.45/1;
  overflow: hidden;
}

.post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.post:hover img {
  transform: scale(1.05);
}

.post-body {
  padding: 19px 20px 22px;
  flex: 1;
}

.meta {
  font-size: 12px;
  color: #9086b2;
  font-weight: 750;
}

.post h3 {
  font-size: 17px;
  line-height: 1.55;
  margin: 9px 0;
}

.post p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 32px 38px;
  background: linear-gradient(100deg,#e9e5ff,#fbe6f4);
  border-radius: 24px;
}

.cta-banner h2 {
  margin: 0 0 8px;
  font-size: 23px;
}

.cta-banner p {
  margin: 0;
  color: #66708e;
  font-size: 14px;
}

.cta-banner .btn {
  background: #6255d6;
  color: #fff;
}

.footer {
  margin-top: 74px;
  background: #19203c;
  color: #b9c4dc;
  padding: 45px 0 25px;
}

.footer a:hover {
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 45px;
  padding-bottom: 30px;
}

.footer .logo {
  color: white;
}

.footer p {
  max-width: 480px;
  font-size: 13px;
}

.footer h3 {
  color: white;
  font-size: 14px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 2.5;
}

.footer-bottom {
  border-top: 1px solid #ffffff21;
  padding-top: 20px;
  font-size: 12px;
}

.crumbs {
  font-size: 13px;
  color: #7783a0;
  margin: 27px 0;
}

.crumbs a:hover {
  color: #6756de;
}

.page-head {
  margin: 36px 0 28px;
  padding: 40px;
  background: linear-gradient(110deg,#e9ebff,#fff1f7);
  border-radius: 24px;
}

.page-head h1 {
  font-size: 35px;
  line-height: 1.35;
  margin: 8px 0 12px;
}

.page-head p {
  color: #66708e;
  max-width: 680px;
  margin: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 285px;
  gap: 28px;
  align-items: start;
}

.article-content {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 37px 44px;
}

.article-content h1 {
  font-size: 34px;
  line-height: 1.4;
  margin: 13px 0;
}

.article-content .lead {
  font-size: 17px;
  color: #55627f;
  border-left: 4px solid #9b80ef;
  padding-left: 18px;
}

.article-content .article-hero {
  border-radius: 18px;
  width: 100%;
  aspect-ratio: 1.95;
  object-fit: cover;
  margin: 26px 0;
}

.article-content h2 {
  font-size: 23px;
  line-height: 1.4;
  margin: 36px 0 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.article-content p {
  color: #4f5a75;
  line-height: 2.1;
}

.article-content .tip {
  background: #f5f3ff;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 14px;
  color: #584da5;
}

.sidebar {
  position: sticky;
  top: 105px;
}

.side-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
  padding: 25px;
  margin-bottom: 18px;
}

.side-panel h2 {
  font-size: 17px;
  margin: 0 0 13px;
}

.side-panel a {
  display: block;
  border-top: 1px solid var(--line);
  padding: 11px 0;
  color: #56627c;
  font-size: 13px;
}

.side-panel a:hover {
  color: #6655de;
}

.article-related {
  margin-top: 38px;
}

.empty {
  padding: 32px;
  background: white;
  border-radius: 20px;
}

@media (max-width:960px) {
  .nav {
    gap: 14px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero-copy {
    padding: 43px 20px 43px 36px;
  }

  .feature-grid {
    grid-template-columns: repeat(2,1fr);
  }

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

@media (max-width:700px) {
  .wrap {
    padding: 0 16px;
  }

  .header-inner {
    min-height: 67px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .logo {
    font-size: 17px;
  }

  .logo-mark {
    width: 35px;
    height: 35px;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
    padding: 7px 12px;
    background: #f1edff;
    border: 0;
    border-radius: 9px;
    color: #5e50c9;
    font-weight: 700;
  }

  .nav {
    display: none;
    width: 100%;
    margin: 0;
    gap: 0;
    flex-wrap: wrap;
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    width: 50%;
    font-size: 14px;
    padding: 8px;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 32px 27px;
  }

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

  .hero-art {
    min-height: 225px;
    max-height: 260px;
  }

  .hero-art:before {
    background: linear-gradient(180deg,#483e87,transparent 34%);
  }

  .feature-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 11px;
  }

  .feature {
    padding: 19px 15px;
  }

  .feature h3 {
    font-size: 16px;
  }

  .section {
    margin: 42px 0;
  }

  .section h2 {
    font-size: 23px;
  }

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

  .editorial-image {
    min-height: 220px;
    max-height: 310px;
  }

  .editorial-copy {
    padding: 26px;
  }

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

  .post-body {
    padding: 14px;
  }

  .post h3 {
    font-size: 15px;
  }

  .post p {
    font-size: 12px;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    padding: 27px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-about {
    grid-column: 1/-1;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .article-content {
    padding: 25px 22px;
  }

  .article-content h1 {
    font-size: 27px;
  }

  .page-head {
    padding: 28px 22px;
  }

  .page-head h1 {
    font-size: 27px;
  }
}

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

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

/* Layout reliability and accessibility upgrades — 2026-11-20 */

html {
  overflow-x: clip;
}

body {
  min-width: 320px;
  overflow-wrap: break-word;
}

.wrap {
  width: 100%;
  min-width: 0;
}

.hero-shell, .editorial, .article-layout, .footer-top {
  min-width: 0;
}

.hero-copy, .hero-art, .editorial-copy, .editorial-image, .article-content,
.post, .post-body, .section-head > *, .footer-top > * {
  min-width: 0;
}

.logo {
  max-width: 100%;
}

.logo-caption {
  color: #8f80a7;
  font-size: 12px;
  font-weight: 500;
}

.hero-eyebrow {
  color: #d8c8ff;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 9px;
  background: white;
  color: #18213b;
}

.skip-link:focus {
  top: 12px;
}

.toc-link {
  display: block;
  padding: 7px 0;
  font-size: 13px;
  color: #56627c;
  border-top: 1px solid var(--line);
}

.toc-link:hover {
  color: var(--brand);
}

:focus-visible {
  outline: 3px solid #f1a1d2;
  outline-offset: 3px;
}

.hero-art img, .editorial-image img {
  display: block;
}

.feature, .post {
  overflow: hidden;
}

.article-content h2 {
  scroll-margin-top: 112px;
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 16px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 13px;
  }

  .logo {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
    min-height: 68px;
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
    padding: 8px 14px;
    border-radius: 10px;
    background: #f1edff;
    color: #5e50c9;
    border: 0;
    cursor: pointer;
  }

  .nav {
    display: none;
    flex-basis: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 0;
  }

  .nav.show {
    display: flex;
  }

  .nav a {
    padding: 10px 12px;
    width: 33.3333%;
    font-size: 14px;
  }

  .nav-external {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .hero-shell {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 30px 23px;
  }

  .hero h1 {
    letter-spacing: -.4px;
  }

  .note-strip {
    align-items: flex-start;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .text-link {
    white-space: normal;
  }

  .editorial-image {
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .editorial-copy {
    padding: 24px;
  }

  .article-content {
    overflow: hidden;
  }

  .article-content .article-hero {
    height: auto;
    aspect-ratio: 1.5;
  }

  .nav a {
    width: 50%;
  }

  .footer .logo {
    white-space: normal;
  }
}

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

  .feature {
    padding: 16px 13px;
  }

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

  .post .cover {
    aspect-ratio: 1.7 / 1;
  }

  .hero-actions {
    gap: 9px;
  }

  .btn {
    padding: 10px 15px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .feature, .post, .post img {
    transition: none;
  }
}
