/* ==================== 基础重置 ==================== */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  font-size:15px;
  line-height:1.65;
  color:#1e2434;
  background-color:#f5f7fb;
  background-image:
    radial-gradient(720px 380px at 8% -6%, rgba(99,102,241,.20), transparent 70%),
    radial-gradient(620px 340px at 92% -4%, rgba(6,182,212,.18), transparent 70%),
    radial-gradient(520px 300px at 50% -12%, rgba(236,72,153,.10), transparent 72%);
  background-repeat:no-repeat;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;border:0;}
ul,ol{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{margin:0;font-weight:700;}
button{font-family:inherit;}

.container{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* ==================== 顶部导航 ==================== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid #e8ecf4;
}
.nav-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:68px;
}
.logo{
  display:inline-flex;
  align-items:center;
  font-size:20px;
  font-weight:800;
  letter-spacing:.4px;
  white-space:nowrap;
}
.logo span{
  background:linear-gradient(120deg,#4f46e5 0%,#7c3aed 40%,#06b6d4 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.logo::before{
  content:"";
  width:10px;height:10px;
  margin-right:9px;
  border-radius:50%;
  background:linear-gradient(135deg,#6366f1,#06b6d4);
  box-shadow:0 0 0 4px rgba(99,102,241,.14);
  flex:0 0 auto;
}
.nav ul{display:flex;align-items:center;gap:4px;}
.nav a{
  display:block;
  padding:8px 15px;
  border-radius:999px;
  font-size:14.5px;
  font-weight:500;
  color:#4a5468;
  transition:color .25s ease,background .25s ease,box-shadow .25s ease;
}
.nav a.active,.nav a:hover{
  color:#fff;
  background:linear-gradient(135deg,#6366f1,#06b6d4);
  box-shadow:0 8px 18px -10px rgba(79,70,229,.9);
}
.nav-toggle{
  display:none;
  width:42px;height:42px;
  padding:0;
  border:1px solid #e8ecf4;
  border-radius:13px;
  background:#fff;
  cursor:pointer;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  transition:box-shadow .25s ease;
}
.nav-toggle:active{box-shadow:0 0 0 4px rgba(99,102,241,.14);}
.nav-toggle span{
  display:block;
  width:18px;height:2px;
  border-radius:2px;
  background:#2b3346;
  transition:transform .3s ease,opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.is-open span:nth-child(2){opacity:0;}
.nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* ==================== 主体容器 ==================== */
.main{padding:34px 0 70px;}
.section + .section{margin-top:52px;}

/* ==================== 板块标题 ==================== */
.section-head{
  display:flex;
  align-items:baseline;
  gap:14px;
  margin-bottom:22px;
  flex-wrap:wrap;
}
.section-title{
  position:relative;
  padding-left:17px;
  font-size:22px;
  letter-spacing:-.4px;
  line-height:1.3;
}
.section-title::before{
  content:"";
  position:absolute;
  left:0;top:50%;
  width:6px;height:21px;
  margin-top:-10.5px;
  border-radius:3px;
  background:linear-gradient(180deg,#6366f1,#06b6d4);
}
.section-sub{
  font-size:12px;
  letter-spacing:1.6px;
  text-transform:uppercase;
  color:#98a1b6;
}

/* ==================== 面包屑 ==================== */
.breadcrumb{padding-top:4px;}
.breadcrumb ol{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  font-size:13.5px;
  color:#98a1b6;
}
.breadcrumb li{display:flex;align-items:center;gap:8px;min-width:0;}
.breadcrumb li + li::before{
  content:"/";
  color:#c9d1e0;
  font-size:12px;
}
.breadcrumb a{
  color:#5b657a;
  transition:color .2s ease;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.breadcrumb a:hover{color:#4f46e5;}
.breadcrumb li[aria-current]{
  color:#2a3245;
  font-weight:600;
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* ==================== 最新发布文章列表 ==================== */
.newlist{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 22px;
}
.newlist li{
  min-width:0;
}
.newlist a{
  position:relative;
  display:block;
  padding:17px 20px 17px 22px;
  background:#fff;
  border:1px solid #e8ecf4;
  border-radius:15px;
  font-size:15.5px;
  font-weight:600;
  line-height:1.62;
  color:#2a3245;
  overflow-wrap:anywhere;
  word-break:break-word;
  white-space:normal;
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease,color .28s ease;
}
.newlist a::before{
  content:"";
  position:absolute;
  left:0;top:50%;
  width:3px;height:0;
  margin-top:0;
  border-radius:0 3px 3px 0;
  background:linear-gradient(180deg,#6366f1,#06b6d4);
  transition:height .3s ease,margin-top .3s ease;
}
.newlist a:hover{
  transform:translateY(-3px);
  color:#3b3fd8;
  border-color:rgba(99,102,241,.36);
  box-shadow:0 20px 36px -26px rgba(79,70,229,.95);
}
.newlist a:hover::before{
  height:56%;
  margin-top:-28%;
}

/* ==================== 页脚 ==================== */
.site-footer{
  position:relative;
  margin-top:16px;
  padding:52px 0 30px;
  color:#b6bfd4;
  background:linear-gradient(135deg,#161b2b 0%,#212a45 52%,#0f1422 100%);
}
.site-footer::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;
  height:3px;
  background:linear-gradient(90deg,#6366f1,#06b6d4,#ec4899,#f59e0b);
}
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:28px;
  align-items:flex-start;
  justify-content:space-between;
}
.footer-brand{max-width:360px;}
.footer-logo{
  display:inline-block;
  margin-bottom:10px;
  font-size:19px;
  font-weight:800;
  color:#fff;
  letter-spacing:.4px;
  transition:opacity .25s ease;
}
.footer-logo:hover{opacity:.8;}
.footer-brand p{margin:0;font-size:14px;line-height:1.75;color:#8c96ad;}
.footer-links{display:flex;flex-wrap:wrap;gap:10px 24px;}
.footer-links a{
  font-size:14px;
  color:#a7b1c7;
  transition:color .25s ease;
}
.footer-links a:hover{color:#fff;}
.copyright{
  width:100%;
  margin:26px 0 0;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.09);
  font-size:13.5px;
  color:#7f8aa3;
}
.copyright a{
  color:#9fb0ff;
  font-weight:600;
  border-bottom:1px solid rgba(159,176,255,.45);
  transition:color .25s ease,border-color .25s ease;
}
.copyright a:hover{color:#fff;border-color:#fff;}

/* ==================== 响应式 ==================== */
@media (max-width:900px){
  /* 导航折叠 */
  .nav-toggle{display:flex;}
  .nav{
    position:absolute;
    top:100%;left:0;right:0;
    max-height:0;
    overflow:hidden;
    background:#fff;
    border-bottom:1px solid #e8ecf4;
    box-shadow:0 26px 40px -30px rgba(30,36,52,.6);
    transition:max-height .38s cubic-bezier(.22,.61,.36,1);
  }
  .nav.is-open{max-height:520px;}
  .nav ul{
    flex-direction:column;
    align-items:stretch;
    gap:2px;
    padding:10px 20px 18px;
  }
  .nav a{padding:12px 14px;border-radius:12px;}
}

@media (max-width:760px){
  /* 移动端每行一篇 */
  .newlist{grid-template-columns:minmax(0,1fr);gap:12px;}
}

@media (max-width:620px){
  .container{padding:0 16px;}
  .main{padding:24px 0 50px;}
  .section + .section{margin-top:40px;}
  .section-head{gap:6px;margin-bottom:18px;}
  .section-title{font-size:19px;}
  .section-title::before{height:18px;margin-top:-9px;}
  .section-sub{font-size:11px;letter-spacing:1.2px;}

  .newlist a{
    padding:15px 16px 15px 18px;
    font-size:15px;
    border-radius:14px;
  }
  .newlist a::before{width:3px;}

  .footer-inner{flex-direction:column;gap:20px;}
  .site-footer{padding:40px 0 26px;}
}