/*
  Aurora 高端首页模板
  你只需要改这里的颜色就能换一套“品牌感觉”
*/
:root{
  --bg:#05060a;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.62);
  --stroke:rgba(255,255,255,.12);
  --card:rgba(255,255,255,.06);
  --card2:rgba(255,255,255,.10);

  --accent1:#7c3aed; /* 紫 */
  --accent2:#22c55e; /* 绿 */
  --accent3:#06b6d4; /* 青 */
  --shadow:0 16px 60px rgba(0,0,0,.45);

  --radius:18px;
  --container:1120px;
}

*{box-sizing:border-box}
html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}
body{
  min-height:100%;
  overflow-x:hidden;
  touch-action:pan-y;
  overscroll-behavior-x:none;

  margin:0;
  color:var(--text);
  background: radial-gradient(1200px 800px at 10% -10%, rgba(124,58,237,.35), transparent 55%),
              radial-gradient(1000px 700px at 90% 0%, rgba(6,182,212,.28), transparent 60%),
              radial-gradient(1200px 700px at 40% 120%, rgba(34,197,94,.22), transparent 60%),
              var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing:.2px;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

.container{
  min-width:0;

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

.aurora-bg{
  pointer-events:none;
  position:fixed;
  inset:0;
  width:100vw;
  height:100vh;
  contain: paint;
  overflow:hidden;
  z-index:-1;
  filter: blur(60px);
  opacity:.75;
}
.aurora-bg::before,
.aurora-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(closest-side at 25% 30%, rgba(124,58,237,.55), transparent 60%),
    radial-gradient(closest-side at 65% 45%, rgba(6,182,212,.45), transparent 58%),
    radial-gradient(closest-side at 50% 85%, rgba(34,197,94,.42), transparent 55%);
  transform: translate3d(var(--mx,0), var(--my,0), 0) scale(1.05);
  transition: transform .3s ease;
}
.aurora-bg::after{
  opacity:.55;
  filter: blur(90px);
  transform: translate3d(calc(var(--mx,0) * -1), calc(var(--my,0) * -1), 0) scale(1.1);
}

.nav{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav--solid{background: rgba(7,8,12,.35)}
.nav__inner{
  height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.nav__brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:220px;
}
.nav__logo{
  width:32px;height:32px;
  border-radius:10px;
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.nav__logo img{width:100%;height:100%;object-fit:cover}
.nav__name{
  font-weight:700;
  letter-spacing:.5px;
}
.nav__badge{
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.75);
}

.nav__links{
  display:flex;
  align-items:center;
  gap:16px;
  color:rgba(255,255,255,.72);
}
.nav__links a{
  padding:8px 10px;
  border-radius:10px;
  transition: all .2s ease;
}
.nav__links a:hover{
  background: rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
}

.nav__actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav__burger{
  display:none;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  padding:10px 11px;
}
.nav__burger span{
  display:block;
  height:2px;
  background: rgba(255,255,255,.82);
  margin:5px 0;
  border-radius:2px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  font-weight:600;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
  box-shadow:none;
}
.btn:hover{transform: translateY(-1px); opacity:.95}
.btn--primary{
  border:none;
  background: linear-gradient(135deg, var(--accent1), var(--accent3));
  box-shadow: 0 16px 50px rgba(124,58,237,.22);
}
.btn--ghost{
  background: rgba(255,255,255,.06);
}
.btn--lg{
  padding:12px 18px;
  border-radius:16px;
}

.hero{
  padding:56px 0 36px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:28px;
  align-items:start;
}
.hero__kicker{
  color:rgba(255,255,255,.70);
  font-weight:600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size:12px;
}
.hero__title{
  margin:16px 0 14px;
  font-size:48px;
  line-height:1.08;
  letter-spacing:-.02em;
}
.gradient{
  background: linear-gradient(135deg, var(--accent1), var(--accent3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.gradient2{
  background: linear-gradient(135deg, var(--accent2), var(--accent3));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.gradient3{
  background: linear-gradient(135deg, #f59e0b, var(--accent1));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero__subtitle{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.75;
  max-width: 52ch;
}
.hero__cta{
  margin-top:22px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.hero__meta{
  margin-top:22px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.metaCard{
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.metaCard__title{font-weight:700;font-size:13px}
.metaCard__desc{color:rgba(255,255,255,.62);font-size:12px;margin-top:4px;line-height:1.5}

.glass{
  border-radius:22px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.glass__top{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: rgba(10,12,18,.35);
}
.dot{width:10px;height:10px;border-radius:50%}
.dot--r{background:#ef4444}
.dot--y{background:#f59e0b}
.dot--g{background:#22c55e}
.glass__title{
  margin-left:6px;
  color:rgba(255,255,255,.75);
  font-weight:650;
  font-size:13px;
}
.glass__pill{
  margin-left:auto;
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.22);
  color: rgba(34,197,94,.95);
}
.glass__body{
  padding:16px 16px 14px;
}
.kpiGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
}
.kpi{
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
}
.kpi__label{color:rgba(255,255,255,.62);font-size:12px}
.kpi__value{margin-top:6px;font-weight:750;letter-spacing:.2px}
.codeCard{
  margin-top:12px;
  padding:12px 12px;
  border-radius:16px;
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.10);
  overflow-x:auto;
  overflow-y:hidden;
}
.codeCard pre{
  margin:0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  font-size:12px;
  line-height:1.55;
  color: rgba(255,255,255,.78);
}

/* Prevent horizontal overflow from long code lines on mobile */
@media (max-width: 760px){
  .codeCard{overflow-x:hidden;}
  .codeCard pre{
    white-space: pre-wrap;
    overflow-wrap:anywhere;
    word-break: break-word;
  }
}

/* Article/content code blocks should not force horizontal scroll */
.articleCard__content pre,
.articleCard__content code,
.policies pre,
.policies code{
  max-width:100%;
  white-space: pre-wrap;
  overflow-wrap:anywhere;
  word-break: break-word;
}
.glass__tips{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.tag{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.72);
}
.hero__hint{
  margin-top:10px;
  color:rgba(255,255,255,.55);
  font-size:12px;
  text-align:right;
}

.section{
  padding:52px 0;
}
.section--alt{
  padding:56px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.section__title{
  margin:0;
  font-size:28px;
  letter-spacing:-.01em;
}
.section__desc{
  margin:0;
  color:var(--muted);
  max-width: 60ch;
  line-height:1.7;
}

.cardGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  padding:16px 16px 18px;
  box-shadow: none;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
}
.card__icon{
  width:40px;height:40px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  margin-bottom:12px;
}
.card__icon svg{width:22px;height:22px;opacity:.92}
.card__title{
  margin:0 0 6px;
  font-size:16px;
}
.card__desc{
  margin:0;
  color:rgba(255,255,255,.62);
  line-height:1.65;
  font-size:13px;
}

.split{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:start;
}
.list{margin-top:18px; display:grid; gap:12px}
.list__item{display:flex; gap:10px; align-items:flex-start}
.list__dot{width:10px;height:10px;border-radius:50%;
  background: linear-gradient(135deg, var(--accent1), var(--accent3));
  margin-top:6px; flex:0 0 auto;
}
.list__title{font-weight:750}
.list__desc{color:rgba(255,255,255,.62); font-size:13px; margin-top:4px; line-height:1.6}
.actions{margin-top:18px; display:flex; gap:10px; flex-wrap:wrap}

.sideCard{
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  padding:16px;
}
.sideCard__title{
  font-weight:800;
  margin-bottom:8px;
}
.sideLink{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  margin-top:10px;
  color:rgba(255,255,255,.82);
}
.sideLink span{opacity:.65}
.sideLink:hover{border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.06)}
.sideCard__foot{
  margin-top:14px;
  color:rgba(255,255,255,.62);
  font-size:13px;
}
.qq{display:inline-block; padding:10px 12px; border-radius:16px;
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.10);
}

.newsGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.newsCard{
  border-radius: 22px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  padding:16px;
  transition: transform .15s ease, border-color .15s ease;
}
.newsCard:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.18);
}
.newsCard__title{font-weight:800; line-height:1.35}
.newsCard__meta{margin-top:8px; color:rgba(255,255,255,.55); font-size:12px}
.newsCard__more{margin-top:14px; color:rgba(255,255,255,.80); font-weight:650}

.empty{
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border:1px dashed rgba(255,255,255,.16);
  padding:16px;
}
.empty.small{padding:12px}
.empty__title{font-weight:800}
.empty__desc{margin-top:6px; color:rgba(255,255,255,.62); line-height:1.6}
.centered{margin-top:16px; text-align:center}

.section--cta{
  padding:56px 0 66px;
}
.cta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 18px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(6,182,212,.12));
  border:1px solid rgba(255,255,255,.12);
}
.cta__title{margin:0; font-size:28px}
.cta__desc{margin:8px 0 0; color:rgba(255,255,255,.66); line-height:1.7}
.cta__right{display:flex; gap:10px; flex-wrap:wrap}

.footer{
  padding:40px 0;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.footer__top{
  display:grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap:22px;
  align-items:start;
}
.footer__brand{min-width:0}
.footer__name{font-weight:850; letter-spacing:.2px}
.footer__desc{margin-top:8px; color:rgba(255,255,255,.62); font-size:13px; line-height:1.65}
.footer__cols{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:18px;
}
.footer__col{min-width:0}
.footer__colTitle{
  font-size:12px;
  color:rgba(255,255,255,.55);
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.footer__col a{
  display:block;
  padding:6px 0;
  color:rgba(255,255,255,.80);
  text-decoration:none;
}
.footer__col a:hover{color:rgba(255,255,255,.95)}
.footer__col a.subtle{color:rgba(255,255,255,.68)}

.footer__bottom{
  margin-top:22px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footer__copy{color:rgba(255,255,255,.55); font-size:12px; display:flex; align-items:center; gap:8px}
.footer__copy .sep{opacity:.55}

@media (max-width: 760px){
  .footer{padding:34px 0}
  .footer__top{grid-template-columns:1fr}
  .footer__cols{grid-template-columns:1fr 1fr; gap:12px 16px}
  .footer__colTitle{margin-bottom:6px}
  .footer__col a{padding:5px 0}
  .footer__bottom{margin-top:18px; padding-top:14px}
}

/* Article page */
.articleWrap{padding:24px 0 56px}
.articleGrid{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap:18px;
  align-items:start;
}
.search{display:flex; gap:10px; margin-top:10px}
.search__input{
  width:100%;
  padding:12px 12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
  color:rgba(255,255,255,.90);
  outline:none;
}
.search__input::placeholder{color:rgba(255,255,255,.50)}
.sideCard__sub{margin-top:14px; color:rgba(255,255,255,.72); font-weight:700}
.sideList{margin-top:10px; display:grid; gap:8px; max-height: 520px; overflow:auto; padding-right:4px}
.sideItem{
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.sideItem.is-active{border-color: rgba(124,58,237,.45); background: rgba(124,58,237,.10)}
.sideItem__title{font-weight:750; line-height:1.35}
.sideItem__meta{margin-top:6px; font-size:12px; color:rgba(255,255,255,.55)}
.pin{
  display:inline-block;
  font-size:11px;
  padding:3px 8px;
  border-radius:999px;
  background: rgba(245,158,11,.16);
  border:1px solid rgba(245,158,11,.25);
  color: rgba(245,158,11,.95);
  margin-right:6px;
}
.articleCard{
  border-radius: 24px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  padding:18px;
  box-shadow: var(--shadow);
}
.articleCard__title{margin:0 0 8px; font-size:26px; letter-spacing:-.01em}
.articleCard__meta{color:rgba(255,255,255,.55); font-size:12px}
.articleCard__content{
  margin-top:16px;
  color:rgba(255,255,255,.84);
  line-height:1.8;
}
.articleCard__content img{max-width:100%; height:auto; border-radius:14px}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap:18px}
  .hero__title{font-size:40px}
  .hero__meta{grid-template-columns: 1fr; gap:10px}
  .cardGrid{grid-template-columns: repeat(2, 1fr)}
  .newsGrid{grid-template-columns: 1fr}
  .split{grid-template-columns: 1fr}
  .cta{flex-direction:column; align-items:flex-start}
  .hero__hint{text-align:left}
  .articleGrid{grid-template-columns: 1fr}
  .sideList{max-height: 360px}
}

@media (max-width: 760px){
  .nav__links{
    display:none;
    position:absolute;
    top:74px; left:0; right:0;
    padding:12px 14px;
    background: rgba(7,8,12,.75);
    border-bottom:1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(16px);
  }
  .nav__links.is-open{display:flex; flex-direction:column; align-items:flex-start; gap:6px}
  .nav__burger{display:inline-flex; flex-direction:column; justify-content:center}
  .nav__brand{min-width: auto}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto !important}
  .btn:hover{transform:none}
  .card:hover{transform:none}
  .newsCard:hover{transform:none}
}


/* Prevent horizontal scrolling on small screens */
main{overflow-x:clip;}
@supports not (overflow: clip){
  main{overflow-x:hidden;}
}

/* Hero hint */
.hero__hint{
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
}

/* Legal pages */
.legal{
  padding:110px 0 60px;
}
.legal__card{
  max-width: 920px;
  margin: 0 auto;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.legal__card h1{
  margin:0 0 8px;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.legal__meta{
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 18px;
}
.legal__card h2{
  margin: 22px 0 10px;
  font-size: 18px;
}
.legal__card p, .legal__card li{
  color: rgba(255,255,255,.86);
  line-height: 1.85;
  font-size: 15px;
}
.legal__card ul{
  padding-left: 18px;
}

/* Mobile overflow fixes */
@media (max-width: 760px){
  .codeCard pre{
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
}

/* Footer layout v3 */
.footer{
  padding:60px 0 28px;
  border-top:1px solid rgba(255,255,255,.08);
}
.footer__top{
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap:28px;
  align-items:start;
}
.footer__brand{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer__name{
  font-weight:800;
  letter-spacing:.02em;
}
.footer__desc{
  color:var(--muted);
  line-height:1.75;
  max-width:54ch;
}
.footer__cols{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:22px;
}
.footer__colTitle{
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.75);
  margin-bottom:12px;
}
.footer__col a{
  display:block;
  color:rgba(255,255,255,.78);
  padding:6px 0;
  text-decoration:none;
}
.footer__col a:hover{color:#fff}
.footer__bottom{
  margin-top:34px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.06);
  color:rgba(255,255,255,.55);
  font-size:13px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
@media (max-width: 760px){
  .footer{padding:44px 0 22px;}
  .footer__top{grid-template-columns:1fr;}
  .footer__cols{grid-template-columns: 1fr 1fr; gap:16px 18px;}
  .footer__colTitle{margin-bottom:8px;}
  .footer__desc{max-width:unset;}
}
@media (max-width: 420px){
  .footer__cols{grid-template-columns:1fr;}
}

/* Prevent horizontal overflow */
.container, .heroGrid, .nav__inner, .footer__top, .footer__cols{min-width:0;}

/* ===== v4: mobile overflow + footer cleanup + cover restore ===== */

html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
img, video, canvas, svg { max-width: 100%; height: auto; }
a, p, div { overflow-wrap: anywhere; word-break: break-word; }

.newsCard { display: flex; flex-direction: column; overflow: hidden; }
.newsCard__cover { height: 120px; background-size: cover; background-position: center; border-radius: 18px; margin: 14px 14px 0; }
.newsCard__body { padding: 14px; }
.newsCard__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; opacity: .85; }
.newsCard__more { white-space: nowrap; }

.articleCard__cover { height: 180px; background-size: cover; background-position: center; border-radius: 18px; margin-bottom: 16px; }

.sideItem { display: flex; gap: 12px; align-items: center; }
.sideItem__thumb { width: 64px; height: 42px; border-radius: 10px; background-size: cover; background-position: center; flex: 0 0 auto; }
.sideItem__main { min-width: 0; }
.sideItem__title { line-height: 1.35; }
.sideItem__meta { margin-top: 4px; font-size: 12px; opacity: .75; }
.sideItem__title, .sideItem__meta { overflow: hidden; text-overflow: ellipsis; }
.sideItem__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.footer { padding: 56px 0 28px; }
.footer__top { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1.4fr) minmax(0,0.9fr); gap: 28px; align-items: start; }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.footer__logo { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.footer__desc { opacity: .85; line-height: 1.6; margin: 0; }
.footer__title { font-size: 14px; font-weight: 700; margin-bottom: 10px; opacity: .95; }
.footer__group a, .footer__contact a { display: block; padding: 6px 0; opacity: .9; }
.footer__group a:hover, .footer__contact a:hover { opacity: 1; }
.footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; opacity: .75; }

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; gap: 18px; }
  .footer__nav { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
  .newsCard__cover { height: 96px; border-radius: 14px; }
  .articleCard__cover { height: 140px; border-radius: 16px; }
}

@media (max-width: 420px) {
  .footer__nav { grid-template-columns: 1fr; }
  .sideItem__thumb { width: 72px; height: 48px; }
}

/* =========================
   v5 polish: layout/overflow/footer/article list
   ========================= */

html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

/* 100vw on fixed backgrounds is a common cause of horizontal "drag" on mobile */
.aurora-bg{
  width:100% !important;
  left:0 !important;
  right:0 !important;
}

/* Prevent children from forcing container overflow */
.container, .hero__grid, .capabilities__grid, .featureGrid, .news__grid, .ctaBand__inner{
  min-width:0;
}

/* Long code / pre blocks should not cause page-level horizontal scroll */
pre, code{
  max-width:100%;
}
@media (max-width: 768px){
  pre{ white-space: pre-wrap; word-break: break-word; }
  code{ word-break: break-word; }
}

/* Section spacing polish (avoid "压到下面") */
.section{ padding-top:64px; padding-bottom:64px; }
.section--tight{ padding-top:40px; padding-bottom:40px; }
.section--cta{ padding-top:56px; padding-bottom:56px; margin-bottom:0; }
.footer{ margin-top:0; }

/* Footer: stable 3-column layout on desktop, stacked on mobile */
.footer{
  padding:56px 0 40px;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}
.footer__top{
  display:grid !important;
  grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,.9fr);
  gap:40px;
  align-items:start;
}
.footer__brand p{
  margin:10px 0 0;
  line-height:1.65;
  opacity:.82;
  max-width:46ch;
}
.footer__nav{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:28px;
}
.footer__group h4,
.footer__contact h4{
  margin:0 0 10px;
  font-size:14px;
  letter-spacing:.3px;
  opacity:.9;
}
.footer__group a{
  display:block;
  margin:8px 0 0;
  font-size:14px;
  line-height:1.45;
  opacity:.85;
  text-decoration:none;
}
.footer__group a:hover{ opacity:1; }
.footer__contact a{
  display:inline-flex;
  gap:8px;
  align-items:center;
  margin:8px 0 0;
  font-size:14px;
  opacity:.9;
  text-decoration:none;
}
.footer__contact a:hover{ opacity:1; }
.footer__bottom{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.06);
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  opacity:.75;
  font-size:13px;
}

@media (max-width: 900px){
  .footer__top{ grid-template-columns: 1fr; gap:22px; }
  .footer__nav{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 360px){
  .footer__nav{ grid-template-columns: 1fr; }
  .footer__contact a{ display:block; }
}

/* News/Article list (thumbnail on the left) */
.articleList{
  display:flex;
  flex-direction:column;
  gap:0;
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
}
.articleRow{
  display:flex;
  gap:16px;
  align-items:flex-start;
  padding:16px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
  text-decoration:none;
}
.articleRow:hover{ background: rgba(255,255,255,.03); }
.articleRow__thumb{
  width:128px;
  height:80px;
  border-radius:16px;
  background: rgba(255,255,255,.06);
  background-position:center;
  background-size:cover;
  flex:0 0 auto;
}
.articleRow__main{ min-width:0; }
.articleRow__title{
  font-size:16px;
  line-height:1.35;
  font-weight:600;
  margin:0;
  color:#fff;
}
.articleRow__meta{
  margin-top:6px;
  font-size:13px;
  opacity:.72;
}
.articleRow__desc{
  margin-top:8px;
  font-size:14px;
  line-height:1.55;
  opacity:.82;
  overflow:hidden;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}

@media (max-width: 640px){
  .articleRow{ padding:14px 0; }
  .articleRow__thumb{ width:96px; height:64px; border-radius:14px; }
  .articleRow__title{ font-size:15px; }
  .articleRow__desc{ -webkit-line-clamp:2; }
}

/* Ensure homepage announcement cards show cover when present */
.newsCard{ display:flex; gap:14px; align-items:center; }
.newsCard__cover{ display:block; flex:0 0 auto; }


/* Ensure announcement cards can show thumbnail reliably */
.newsCard{display:flex; align-items:stretch;}
.newsCard__cover{display:block; flex:0 0 auto;}
.newsCard__body{min-width:0;}
