/* =========================================
   1. Global
========================================= */
:root {
  --bg: #101522;
  --bg-soft: #151c2b;
  --card: #192233;
  --card-hover: #202c40;
  --text: #f4f7fc;
  --muted: #a5b0c3;
  --accent: #8cf0c4;
  --accent-blue: #8aa8ff;
  --border: rgba(255, 255, 255, 0.10);
  --container: 1160px;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  font: inherit;
}

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

p {
  color: var(--muted);
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.container article h1{
	font-size:30px;
}
.container article .single-post-meta{
	margin-bottom: 15px;
}
.section {
  padding: 110px 0;
}

.gradient-text {
  color: var(--accent);
  background: linear-gradient(100deg, #8cf0c4, #9bc3ff 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease,
    border-color .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: #101522;
  background: var(--accent);
}

.btn-primary:hover {
  background: #b1ffdb;
}

.btn-secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, .025);
}

.btn-secondary:hover {
  border-color: var(--accent);
}

/* =========================================
   2. Header and navigation
========================================= */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(16, 21, 34, .88);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: var(--bg);
  font-size: 22px;
  font-weight: 900;
}

.logo-light {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav > a:not(.nav-cta) {
  color: #c0c9d8;
  font-size: 16px;
  transition: color .2s;
}

.main-nav > a:not(.nav-cta):hover,
.main-nav > a.active {
  color: var(--accent);
}

.search-form {
	padding:10px 15px;
}

.search-form input.search-field{
	font-size: 16px;
	padding:5px 10px;
}

.search-form button{
	font-size: 16px;
	background: var(--accent);
	color:#000;
	padding:2px 10px;
	border:none;
	border-radius: 3px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 17px;
  border: 1px solid rgba(140, 240, 196, .4);
  border-radius: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.nav-cta:hover {
  background: rgba(140, 240, 196, .08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform .2s;
}

/* =========================================
   3. Hero
========================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: 10px;
  padding-bottom: 38px;
}

.hero-glow {
  position: absolute;
  top: -180px;
  left: 42%;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: rgba(87, 113, 221, .13);
  filter: blur(100px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 70px;
  min-height: 510px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 25px;
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -2.8px;
}

.hero-description {
  max-width: 470px;
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.9;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 45px;
}

.trust-avatars {
  display: flex;
  padding-left: 4px;
}

.trust-avatars span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-left: -4px;
  place-items: center;
  border: 2px solid var(--bg);
  border-radius: 50%;
  background: #32405b;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.trust-avatars span:nth-child(2) {
  background: #4b806e;
}

.trust-avatars span:nth-child(3) {
  background: #79639f;
}

.hero-trust p {
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
}

.hero-trust strong {
  color: var(--text);
}

/* CSS-created abstract artwork */
.hero-visual {
  position: relative;
  display: grid;
  min-height: 490px;
  place-items: center;
  isolation: isolate;
}

.visual-orbit {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(140, 240, 196, .14);
  border-radius: 50%;
}

.orbit-one {
  transform: rotate(-25deg) scaleX(1.2);
}

.orbit-two {
  transform: rotate(55deg) scaleX(.8);
  border-color: rgba(138, 168, 255, .24);
}

.visual-core {
  position: relative;
  display: grid;
  width: 255px;
  height: 255px;
  place-items: center;
  border: 1px solid rgba(140, 240, 196, .3);
  border-radius: 50%;
  background: radial-gradient(circle, #29394b, #151d2c 68%);
  box-shadow: 0 0 100px rgba(140, 240, 196, .12),
    inset 0 0 40px rgba(140, 240, 196, .08);
  animation: float 6s ease-in-out infinite;
}

.core-ring {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(140, 240, 196, .32);
  border-radius: 50%;
}

.ring-two {
  width: 130px;
  height: 130px;
  border-color: rgba(138, 168, 255, .5);
}

.core-center {
  font-size: 78px;
  font-weight: 900;
  letter-spacing: -7px;
}

.core-center span {
  color: var(--accent);
}

.core-node {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 3px solid #101522;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}

.node-one {
  top: 30px;
  right: 25px;
}

.node-two {
  bottom: 36px;
  left: 20px;
  background: #9bc3ff;
  box-shadow: 0 0 20px #9bc3ff;
}

.node-three {
  right: -6px;
  bottom: 90px;
  width: 9px;
  height: 9px;
}

.visual-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(25, 34, 51, .9);
  box-shadow: 0 15px 45px rgba(0, 0, 0, .2);
  backdrop-filter: blur(14px);
}

.card-top {
  top: 48px;
  right: 0;
}

.card-bottom {
  bottom: 48px;
  left: 0;
  width: 265px;
}

.card-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.3px;
}

.status-online {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.card-bottom strong {
  font-size: 15px;
}

.arrow-circle {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 55px;
  color: #78849a;
  font-size: 9px;
  letter-spacing: 1.8px;
}

.scroll-line {
  width: 70px;
  height: 1px;
  background: #566174;
}

/* =========================================
   4. Section headings
========================================= */
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 50px;
}

.section-heading h2,
.about-copy h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: -1.5px;
}

.section-heading > p {
  max-width: 390px;
  margin-bottom: 4px;
  font-size: 13px;
  line-height: 1.9;
}

/* =========================================
   5. Services
========================================= */
.services-section {
  border-top: 1px solid var(--border);
  background: #121827;
}

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

.service-card {
  position: relative;
  min-height: 320px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform .3s, border-color .3s,
    background .3s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(140, 240, 196, .4);
  background: var(--card-hover);
}

.featured-card {
  background: linear-gradient(145deg, #22352f, #192536 65%);
  border-color: rgba(140, 240, 196, .25);
}

.service-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 35px;
  place-items: center;
  border: 1px solid rgba(140, 240, 196, .25);
  border-radius: 14px;
  color: var(--accent);
  font-size: 25px;
}

.service-number {
  color: #8290a5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.service-card h3 {
  margin: 12px 0;
  font-size: 20px;
}

.service-card p {
  min-height: 65px;
  font-size: 12px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.text-link span {
  transition: transform .2s;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* =========================================
   6. About
========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.about-visual {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
}

.about-panel {
  position: relative;
  z-index: 2;
  width: min(350px, 90%);
  padding: 40px;
  border: 1px solid rgba(140, 240, 196, .2);
  border-radius: 22px;
  background: linear-gradient(145deg, #233d3a, #192536 70%);
  box-shadow: 0 25px 80px rgba(0, 0, 0, .22);
}

.big-symbol {
  margin: 15px 0;
  color: var(--accent);
  font-size: 100px;
  font-weight: 300;
  line-height: 1.1;
}

.about-panel h3 {
  font-size: 27px;
  line-height: 1.35;
}

.about-panel p {
  margin-bottom: 0;
  font-size: 12px;
}

.about-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(138, 168, 255, .22);
  border-radius: 50%;
}

.decoration-one {
  top: 0;
  left: 0;
}

.decoration-two {
  right: 0;
  bottom: 0;
  width: 140px;
  height: 140px;
  border-color: rgba(140, 240, 196, .2);
}

.floating-tag {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 42px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #202c40;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.about-copy h2 {
  margin-bottom: 25px;
}

.about-copy > p {
  margin-bottom: 18px;
  font-size: 13px;
  line-height: 2;
}

.about-copy .btn {
  margin-top: 15px;
}

/* =========================================
   7. Statistics
========================================= */
.stats-section {
  padding: 55px 0;
  border-block: 1px solid var(--border);
  background: #141b2a;
}

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

.stat-item {
  padding-left: 25px;
  border-left: 1px solid var(--border);
}

.stat-item strong {
  display: block;
  color: var(--text);
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.3;
  letter-spacing: -1px;
}

.stat-item strong span:last-child {
  color: var(--accent);
}

.stat-item p {
  margin: 8px 0 0;
  font-size: 11px;
}

/* =========================================
   8. Selected work
========================================= */
.work-section {
  background: var(--bg);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
}

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

.work-art {
  position: relative;
  display: grid;
  min-height: 330px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.art-purple {
  background: linear-gradient(135deg, #44346b, #201d42 65%, #152032);
}

.art-green {
  background: linear-gradient(135deg, #244b43, #1b2c35 75%);
}

.art-window {
  position: relative;
  z-index: 2;
  width: 66%;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(17, 21, 36, .8);
  box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
  transform: rotate(-4deg);
  transition: transform .4s;
}

.work-card:hover .art-window {
  transform: rotate(0deg) scale(1.03);
}

.art-bar {
  display: flex;
  gap: 5px;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

.art-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8cf0c4;
}

.art-content {
  padding: 22px;
}

.art-content > span {
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 1.5px;
}

.art-content strong {
  display: block;
  margin-top: 15px;
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.1;
}

.art-button {
  width: 70px;
  height: 20px;
  margin-top: 20px;
  border-radius: 4px;
  background: var(--accent);
}

.art-orb {
  position: absolute;
  right: -50px;
  bottom: -110px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255, 255, 255, .025),
    0 0 0 60px rgba(255, 255, 255, .02);
}

.dashboard {
  width: 75%;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 12px;
  background: rgba(13, 26, 31, .5);
  color: var(--accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}

.dashboard > span {
  display: block;
  color: #b1c7bf;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.dashboard > strong {
  display: block;
  margin: 12px 0;
  font-size: 36px;
}

.dashboard svg {
  display: block;
  width: 100%;
  overflow: visible;
}

.work-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
}

.work-info h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.work-info p {
  margin-bottom: 0;
  font-size: 10px;
}

.work-info > a {
  display: grid;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: background .2s, color .2s;
}

.work-info > a:hover {
  background: var(--accent);
  color: var(--bg);
}

/* =========================================
   9. Call to action
========================================= */
.cta-section {
  padding-top: 30px;
  padding-bottom: 110px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 85px 30px;
  border: 1px solid rgba(140, 240, 196, .2);
  border-radius: 24px;
  background: linear-gradient(135deg, #1a2936, #182033 70%);
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: -250px;
  left: calc(50% - 250px);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(140, 240, 196, .1);
  filter: blur(100px);
  pointer-events: none;
}

.cta-panel > *:not(.cta-glow) {
  position: relative;
}

.cta-panel h2 {
  margin-bottom: 20px;
  font-size: clamp(35px, 5vw, 58px);
  line-height: 1.2;
  letter-spacing: -2px;
}

.cta-panel > p {
  margin-bottom: 28px;
  font-size: 13px;
}

/* =========================================
   10. Footer
========================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0d111b;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-top: 40px;
  padding-bottom: 35px;
}

.footer-top > p {
  margin: 0;
  font-size: 11px;
}

.back-top {
  color: var(--accent);
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 25px;
  border-top: 1px solid var(--border);
  color: #778399;
  font-size: 10px;
}

/* =========================================
   11. Scroll animations
========================================= */
.js-enabled .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* =========================================
   12. Responsive
========================================= */
@media (max-width: 1000px) {
  .main-nav {
    gap: 18px;
  }

  .hero-grid {
    gap: 30px;
  }

  .hero-visual {
    transform: scale(.9);
  }

  .about-grid {
    gap: 45px;
  }

  .service-card {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 75px 0;
  }

  .nav-wrap {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 18px 20px;
    border-bottom: 1px solid var(--border);
    background: #101522;
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .main-nav > a:not(.nav-cta) {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    justify-content: center;
    margin-top: 14px;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 65px;
  }

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

  .hero h1 {
    max-width: 600px;
    font-size: clamp(40px, 10vw, 58px);
    letter-spacing: -1.8px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-visual {
    min-height: 390px;
    margin-top: 5px;
    transform: none;
  }

  .visual-core {
    width: 210px;
    height: 210px;
  }

  .visual-orbit {
    width: 290px;
    height: 290px;
  }

  .core-center {
    font-size: 65px;
  }

  .core-ring {
    width: 160px;
    height: 160px;
  }

  .ring-two {
    width: 110px;
    height: 110px;
  }

  .card-top {
    top: 15px;
    right: 0;
  }

  .card-bottom {
    bottom: 15px;
    left: 0;
  }

  .hero-bottom {
    margin-top: 25px;
  }

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .section-heading > p {
    margin-top: 20px;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-card p {
    min-height: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .about-visual {
    min-height: 380px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 18px;
  }

  .stat-item {
    padding-left: 15px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .work-art {
    min-height: 280px;
  }

  .cta-section {
    padding-top: 0;
    padding-bottom: 75px;
  }

  .cta-panel {
    padding: 65px 20px;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 28px);
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: space-between;
  }

  .hero-visual {
    min-height: 350px;
  }

  .visual-card {
    padding: 12px;
  }

  .card-bottom {
    width: 230px;
  }

  .work-art {
    min-height: 235px;
  }

  .dashboard {
    width: 85%;
    padding: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 二级菜单样式 */
/* ========================================
   BlockchainNote 主导航
======================================== */

#main-nav.main-nav {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 999;
}

#main-nav.main-nav > li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

#main-nav.main-nav > li > a {
    display: block;
    padding: 14px 20px;
    color: #fff;
	font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: color .25s ease, background .25s ease;
}

/* 一级菜单悬停 */
#main-nav.main-nav > li:hover > a,
#main-nav.main-nav > li:focus-within > a {
    color: #fff;
}

/* 当前菜单 */
#main-nav.main-nav > li.current-menu-item > a,
#main-nav.main-nav > li.current-menu-ancestor > a,
#main-nav.main-nav > li.current_page_item > a {
    color: #fff;
    font-weight: 600;
	font-size: 16px;
}

/* ========================================
   二级下拉菜单
======================================== */

#main-nav.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 190px;
    margin: 0;
    padding: 8px 0;

    list-style: none;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;

    transition:
        opacity .22s ease,
        visibility .22s ease,
        transform .22s ease;

    z-index: 1000;
}

/* 鼠标悬停和键盘聚焦时展开 */
#main-nav.main-nav > li:hover > .sub-menu,
#main-nav.main-nav > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* 二级菜单列表项 */
#main-nav.main-nav .sub-menu li {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 二级菜单链接 */
#main-nav.main-nav .sub-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
	font-weight: 600;
    padding: 11px 18px;
    color: #374151;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;

    transition: color .2s ease, background .2s ease;
}

/* 二级菜单悬停 */
#main-nav.main-nav .sub-menu li:hover > a,
#main-nav.main-nav .sub-menu li:focus-within > a {
    color: #000;
    background: #F5F5F5;
}

/* ========================================
   三级菜单（可选）
======================================== */

#main-nav.main-nav .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 4px;
}

#main-nav.main-nav .sub-menu li:hover > .sub-menu,
#main-nav.main-nav .sub-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* ========================================
   移动端基础适配
======================================== */

@media (max-width: 768px) {
    #main-nav.main-nav {
        flex-wrap: wrap;
    }

    #main-nav.main-nav > li > a {
        padding: 12px 14px;
    }

    #main-nav.main-nav .sub-menu {
        min-width: 160px;
    }
}

/* 减少动态效果 */
@media (prefers-reduced-motion: reduce) {
    #main-nav.main-nav .sub-menu {
        transition: none;
    }
}

/* 面包屑导航css */
.breadcrumbs {
	margin-left:93px;
}

/* 页面css */
.article-wrap {
	margin:0 auto;
	width:900px;
}
.article-wrap h1{
	margin-top: 15px;
}
.article-wrap .post-meta{
	margin-bottom: 20px;
}

/* 单个文章css */
#primary {
	margin-top:40px;
	background: rgba(16, 21, 34, .88);
}

/* 分类归档页 */

/* ========================================
   Blockchain 分类归档页
======================================== */

.blockchain-category {
    padding: 48px 0 64px;
    background: #f7f9fc;
}

.blockchain-category__container {
    width: min(1400px, calc(100% - 40px));
    margin: 0 auto;
}

/* 分类标题 */
.blockchain-category__header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e3e8ef;
}

.blockchain-category__eyebrow {
    margin-bottom: 8px;
    color: #2878c8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.blockchain-category__title {
    margin: 0 0 12px;
    color: #fff;
    font-size: 32px;
    line-height: 1.35;
    font-weight: 700;
}

.blockchain-category__description {
    max-width: 800px;
    color: #697586;
    font-size: 15px;
    line-height: 1.8;
}

/* 两列网格 */
.blockchain-category__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* 单篇文章卡片 */
.blockchain-category__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(20, 35, 60, 0.035);
    transition: box-shadow 0.25s ease,
                transform 0.25s ease;
}

.blockchain-category__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(20, 35, 60, 0.09);
}

/* 左侧图片 */
.blockchain-category__thumb {
    display: block;
    flex: 0 0 38%;
    max-width: 38%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
    background: #edf1f6;
    text-decoration: none;
}

.blockchain-category__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blockchain-category__item:hover
.blockchain-category__thumb img {
    transform: scale(1.05);
}

.blockchain-category__no-image {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 70px;
    align-items: center;
    justify-content: center;
    color: #8a96a8;
    font-size: 12px;
}

/* 右侧文字 */
.blockchain-category__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.blockchain-category__meta {
    margin-bottom: 6px;
    color: #8792a2;
    font-size: 11px;
    line-height: 1.5;
}

.blockchain-category__post-title {
    width: 100%;
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.blockchain-category__post-title a {
    color: #172033;
    text-decoration: none;
	font-size: 20px;
}

.blockchain-category__post-title a:hover {
    color: #2878c8;
}

.blockchain-category__excerpt {
    display: -webkit-box;
    width: 100%;
    margin-bottom: 10px;
    color: #697586;
    font-size: 13px;
    line-height: 1.7;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blockchain-category__read-more {
    margin-top: auto;
    color: #2878c8;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.blockchain-category__read-more:hover {
    color: #155aa0;
}

/* 分页 */
.blockchain-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 42px;
}

.blockchain-pagination .page-numbers {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    color: #39465a;
    background: #fff;
    border: 1px solid #e0e6ee;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
}

.blockchain-pagination .page-numbers.current,
.blockchain-pagination .page-numbers:hover {
    color: #fff;
    background: #2878c8;
    border-color: #2878c8;
}

.blockchain-pagination .page-numbers.dots {
    color: #8792a2;
    background: transparent;
    border-color: transparent;
}

/* 空分类 */
.blockchain-category__empty {
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
}

.blockchain-category__empty h2 {
    color: #172033;
}

.blockchain-category__empty p {
    color: #697586;
}

.blockchain-category__empty a {
    color: #2878c8;
}

/* 平板：每行两篇 */
@media (max-width: 1100px) {
    .blockchain-category__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 手机：每行一篇 */
@media (max-width: 600px) {
    .blockchain-category {
        padding: 30px 0 40px;
    }

    .blockchain-category__container {
        width: calc(100% - 28px);
    }

    .blockchain-category__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .blockchain-category__item {
        gap: 14px;
        padding: 12px;
    }

    .blockchain-category__thumb {
        flex-basis: 34%;
        max-width: 34%;
    }

    .blockchain-category__title {
        font-size: 26px;
    }

    .blockchain-category__post-title {
        font-size: 14px;
    }

    .blockchain-category__excerpt {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .blockchain-pagination {
        gap: 5px;
        margin-top: 30px;
    }

    .blockchain-pagination .page-numbers {
        min-width: 34px;
        height: 36px;
        padding: 0 8px;
        font-size: 12px;
    }
}

/* 404页面 */

/* =========================================
   Blockchainnote 404 Page
========================================= */

.error-404-page {
    --error-primary: #3861fb;
    --error-text: #172033;
    --error-muted: #697386;
    --error-border: #e8ebf2;
    color: var(--error-text);
    background: #fff;
}

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

.error-404-hero {
    padding: 76px 0 70px;
    text-align: center;
    background: #2C303C;
}

.error-404-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
    margin-bottom: 12px;
}

.error-code {
    color: #e7edff;
    font-size: clamp(110px, 19vw, 190px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -10px;
}

.error-coin {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(56, 97, 251, 0.15);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 35px rgba(27, 49, 108, 0.10);
}

.error-coin-btc {
    top: 0;
    right: calc(50% - 105px);
    width: 58px;
    height: 58px;
    color: #f7931a;
    font-size: 34px;
    font-weight: 700;
}

.error-coin-chain {
    bottom: 12px;
    left: calc(50% - 130px);
    width: 48px;
    height: 48px;
    color: var(--error-primary);
    font-size: 24px;
}

.error-eyebrow,
.error-section-eyebrow {
    margin: 0 0 12px;
    color: var(--error-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.error-404-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.3;
}

.error-description {
    max-width: 600px;
    margin: 0 auto;
    color:#fff;
    font-size: 15px;
    line-height: 1.9;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.error-home-button,
.error-search-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 1px solid var(--error-border);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.error-home-button {
    border-color: var(--error-primary);
    background: var(--error-primary);
    color: #fff;
}

.error-home-button:hover {
    border-color: #2448d8;
    background: #2448d8;
    color: #fff;
    transform: translateY(-2px);
}

.error-search-button {
    background: #fff;
    color: var(--error-text);
}

.error-search-button:hover {
    border-color: var(--error-primary);
    color: var(--error-primary);
}

.error-search-wrapper {
    max-width: 560px;
    margin: 28px auto 0;
}

.error-search-form {
    display: flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid #dfe5f0;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 5px 22px rgba(25, 44, 90, 0.04);
}

.error-search-form input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--error-text);
    font-size: 14px;
}

.error-search-form button {
    flex-shrink: 0;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: var(--error-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.error-search-form button:hover {
    background: #2448d8;
}

.error-quick-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    color: #fff;
    font-size: 13px;
}

.error-quick-links a {
    padding: 6px 12px;
    border: 1px solid var(--error-border);
    border-radius: 20px;
    background: #fff;
    color: #44516a;
    text-decoration: none;
}

.error-quick-links a:hover {
    border-color: var(--error-primary);
    color: var(--error-primary);
}

.error-latest-section {
    padding: 65px 0 80px;
}

.error-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.error-section-heading h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
}

.error-section-heading > a {
    color: var(--error-primary);
    font-size: 14px;
    text-decoration: none;
}

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

.error-post-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--error-border);
    border-radius: 10px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.error-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 44, 84, 0.08);
}

.error-post-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef2ff;
}

.error-post-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.error-post-card:hover .error-post-image img {
    transform: scale(1.04);
}

.error-post-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #8da5ff;
    font-size: 48px;
    font-weight: 800;
}

.error-post-content {
    padding: 18px;
}

.error-post-meta {
    margin-bottom: 10px;
    color: #8791a4;
    font-size: 12px;
}

.error-post-content h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
}

.error-post-content h3 a {
    color: var(--error-text);
    text-decoration: none;
}

.error-post-content h3 a:hover {
    color: var(--error-primary);
}

.error-post-content > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 15px;
    color: var(--error-muted);
    font-size: 13px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.error-read-more {
    color: var(--error-primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.error-no-posts {
    grid-column: 1 / -1;
    color: var(--error-muted);
}

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

    .error-404-hero {
        padding: 60px 0;
    }
}

@media (max-width: 600px) {
    .error-404-container {
        width: calc(100% - 30px);
    }

    .error-404-hero {
        padding: 45px 0;
    }

    .error-404-visual {
        min-height: 135px;
    }

    .error-code {
        font-size: 115px;
        letter-spacing: -6px;
    }

    .error-coin-btc {
        right: calc(50% - 82px);
        width: 44px;
        height: 44px;
        font-size: 26px;
    }

    .error-coin-chain {
        left: calc(50% - 100px);
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .error-description {
        font-size: 14px;
    }

    .error-search-form button {
        padding: 0 15px;
    }

    .error-latest-section {
        padding: 45px 0;
    }

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

    .error-section-heading > a {
        font-size: 12px;
    }

    .error-latest-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .error-post-card {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .error-post-image {
        height: 100%;
        min-height: 150px;
        aspect-ratio: auto;
    }

    .error-post-content {
        padding: 13px;
    }

    .error-post-content h3 {
        font-size: 15px;
        line-height: 1.5;
    }

    .error-post-content > p {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
}
