html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block
}

body {
  line-height: 1
}

ol,
ul {
  list-style: none
}

blockquote,
q {
  quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}
div {box-sizing: border-box;}

@font-face {
  font-family: "Source Han Sans SC";
  src: url("SourceHanSansSC-VF.ttf.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 主题色板（默认：浅色） ---------- */
:root {
  color-scheme: light;
  --c-bg: #ffffff;
  --c-bg-b:#d9f0fa;
  --c-li: #ffffff;
  --c-title: #1c4fbe;
  --c-bd: #4894f8;
  --c-act: #eecb2e;
  --bg-btn: #1c4fbe;
  --c-text: #16202e;
  --c-dark: #000000;
  --fs-h1: 66px;
  --fs-h-title: 24px;
  --fs-h-p: 1.05vw;
  --fs-h-s: 13px;
  --fs-s-title: 42px;
  --fs-s-mark: 20px;
  --fs-s-subtitle: 28px;
  --fs-s-p: 18px;
  --fs-s-sm: 16px;
  --fs-f-p: 16px;
  --w-contwnt: 1200px;
  --v20: 1.04vw;
  --bdr: 1px;
  --bdr-s: 0.4vw;
  --bdr-c: 0.6vw;
  --font-sans:
    "Source Han Sans SC",
    "PingFang SC",
    "Microsoft YaHei",
    "Segoe UI",
    Arial,
    sans-serif;
}

/* ---------- 深色主题 ---------- */
[data-theme="dark"] {
  color-scheme: dark;

  --c-bg: #0f1420;
  --c-act: #eecb2e;
  --c-text: #ffffff;
}

@media (width <=400px) {
  :root {
    --w-contwnt: 91.4%;
    --fs-h1: 18px;
    --fs-h-title: 12px;
    --fs-h-p: 10px;
    --fs-s-title: 16px;
    --fs-s-mark: 10px;
    --fs-s-subtitle: 12px;
    --fs-s-p: 12px;
    --fs-s-sm: 10px;
    --fs-f-p: 10px;
    
  }
}

@media (400px < width <=768px) {
  :root {
    --w-contwnt: 91.4%;
    --fs-h1: 28px;
    --fs-h-title: 16px;
    --fs-h-p: 12px;
    --fs-s-title: 18px;
    --fs-s-mark: 12px;
    --fs-s-subtitle: 16px;
    --fs-s-p: 14px;
    --fs-s-sm: 12px;
    --fs-f-p: 11px;
  }
}

@media (768px < width <=1024px) {
  :root {
    --w-contwnt: 91.4%;
    --fs-h1: 32px;
    --fs-h-title: 18px;
    --fs-h-p: 13px;
    --fs-s-title: 24px;
    --fs-s-mark: 14px;
    --fs-s-subtitle: 18px;
    --fs-s-p: 14px;
    --fs-s-sm: 14px;
    --fs-f-p: 12px;
  }
}

@media (1024px < width <=1280px) {
  :root {
    --w-contwnt: 980px;
    --fs-h1: 42px;
    --fs-h-title: 20px;
    --fs-h-p: 14px;
    --fs-s-title: 28px;
    --fs-s-mark: 16px;
    --fs-s-subtitle: 24px;
    --fs-s-p: 16px;
    --fs-s-sm: 16px;
    --fs-f-p: 14px;
  }
}

@media (1280px < width <=1920px) {
  :root {
    --fs-h1: 52px;
    --w-contwnt: 1200px;
  }
}

@media (1920px < width) {
  :root {
    --w-contwnt: 1580px;
  }
}

.w50 {
  width: 50px;
}
.w50p {
  width: 50%;
}
.w60p {
  width: 60%;
}
.w70p {
  width: 70%;
}
.w100 {
  width: 100%;
}

.h33 {
  height: 33%;
}
.h35p {
  height: 35%;
}
.h67 {
  height: 67%;
}

.h100 {
  height: 100%;
}

.wh100 {
  width: 100%;
  height: 100%;
}
.center {
  justify-content: center;
  align-items: center;
}
.flec {
  display: flex;
  align-items: center;
}
.flee {
  display: flex;
  align-items: flex-end;
}

.flex1 {
  flex: 1;
}

.flex2 {
  flex: 2;
}

.flex3 {
  flex: 3;
}

.flex-sb {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bgbtn {
  background-color: var(--bg-btn);
}
.bglt {
  background-color: var(--c-li);
}

.bd1b {
  border: 1px solid var(--bg-btn);
  box-sizing: border-box;
}

.bd2b {
  border: 2px solid var(--bg-btn);
  box-sizing: border-box;
}
.bb2d {
  border-bottom: 2px solid var(--bg-btn);;
}

.br40v {
  border-radius: 2.08vw;
}

.br20 {
  border-radius: 20px;
}

.bgl {
  background-color: var(--c-bg);
}

.pdr15 {
  padding-right: 15px;
}

.marr10 {
  margin-right: 10px;
}

.cp {
  cursor: pointer;
}

.pdv10 {
  padding-left: 0.52vw;
  padding-right: 0.52vw;
}
.z1 {z-index: 1;}
.z2 {z-index: 2;}

body {
  /* font-family: sans-serif, "Segoe UI", "PingFang SC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei";*/
  font-family:  "PingFang SC", "Microsoft YaHei", "Segoe UI",Arial, sans-serif;
  min-height: 100vh;
  scrollbar-gutter: stable;
  position: relative;
  box-sizing: border-box;
  font-weight: 400;
}

p,div,span,label,input,textarea,button,a,h1,h2,h3,h4,h5,h6 {
  /*font-family:  "PingFang SC", "Microsoft YaHei", "Segoe UI",Arial, sans-serif;*/
  font-family: var(--font-sans);
}

.bg-index {
  background-color: var(--c-bg);
}

.bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.ww,
.w-container {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: 0 auto;
}

.h-header {
  min-height: 98px;
}

.title-wrap {
  height: 7.34vw;
  min-height: 54px;
}

.nav-wrap {
  height: 3.64vw;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-wrap nav {
  height: 88%;
  display: flex;
  align-items: center;
}

.bg-header {
  background-image: url(./header-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.w-logo-wrap {
  flex: 1;
  height: 62.4%;
  display: flex;
  align-items: center;
}

.w-logo {
  width: 45.8%;
  display: flex;
  align-items: center;
}

.search-wrap {
  width: 23.8%;
  height: 40px;
  display: flex;
  align-items: center;
  transition: width 0.35s ease, border-radius 0.35s ease, padding 0.35s ease, border-width 0.35s ease;
}

/* 隐藏 checkbox 切换控件 */
.search-toggle-check {
  display: none;
}

/* 遮罩层（移动端显示） */
.search-overlay-m {
  display: none;
}

.search-input {
  flex: 1;
  overflow: hidden;
  height: 100%;
  padding-left: 20px;
  display: flex;
  align-items: center;
}

.search-icon {
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  outline: none;
  background-color: transparent;
}

.w-logo-title {
  font-size: var(--fs-h-p);
  margin-left: 1.2rem;
}

.w-logo-title span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-wrap input {
  font-size: var(--fs-h-s);
  border: none;
  outline: none;
}

.bg-nav {
  background-color: rgba(2, 55, 181, 0.8);
}

.nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  height: 100%;
}
/* 导航项之间白色分隔竖线 */
.nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 75%;
  background: rgba(255, 255, 255, 0.98);
}
.nav-item a {
  text-decoration: none;
}
.nav-link {
  position: relative;
  padding: 0 0.2rem;
}

.nav-link-bd {
  height: 2px;
  background-color: transparent;
  position: absolute;
  bottom: -10px;
  left: 0px;
  right: 0px;
}

.nav-text {
  font-size: var(--fs-h-title);
  font-weight: 500;
  color: var(--c-li);
  letter-spacing: 0.04rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-link.active {
  font-weight: bold;
}

.nav-link.active .nav-link-bd {
  background-color: var(--c-li);
}

.section-banner {
  width: 100%;
  aspect-ratio: 1920 / 740;
  padding-bottom: 3.125vw;
  box-sizing: border-box;
}

.banner-home {
  aspect-ratio: 1200 / 670;
  margin: auto;
  width: var(--w-contwnt);
  position: relative;
  overflow: hidden;
}

.banner-home .carousel-dots {
  position: absolute;
  display: flex;
  align-items: center;
  bottom: 1.5vw;
  right: 1.5vw;
  z-index: 99;
}
.section-title-img {
  width: 5.33%;
  max-width: 64px;
  aspect-ratio: 1;
}
.carousel-dot {
  padding: 5px 0.5rem;
  color: var(--c-li);
  font-size: var(--fs-s-p);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-dot.active {
  color: var(--c-act);
}

.carousel-dot.active::after {
  content: '';
  display: block;
  width: 2vw;
  height: 6px;
  position: relative;
  top: 4px;
  background-color: var(--c-act);
  margin-left: 0.4rem;
  clip-path: polygon(0% 0, 100% 0%,
      calc(100% - 8px) 100%, calc(100% - 10px) 100%, calc(100% - 6px) 2px,
      0 2px);
}

.carousel-card-item {
  position: relative;
}

.carousel-card-item .carousel-card-img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

.carousel-card-item .carousel-card-body {
  width: 485px;
  height: 320px;
  padding: 50px 40px 30px 40px;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  bottom: 0;
  color: var(--c-li);
  background-color: rgba(2, 2, 2, 0.3);
}

.carousel-card-item .carousel-card-body ::before {
  content: '';
  width: 70px;
  height: 6px;
  display: none;
  background-color: var(--c-li);
  position: absolute;
  left: 40px;
  top: 10.9%;

}

.carousel-card-body .title {
  font-size: var(--fs-s-subtitle);
  line-height: 1.4;
  position: relative;

}

.carousel-card-body .title::before {
  content: '';
  width: 17.5%;
  height: 4px;
  display: block;
  background-color: var(--c-li);
  position: absolute;
  left: 0px;
  top: -10px;

}

.carousel-card-body .desc {
  margin-top: 10px;
  font-size: var(--fs-s-p);
  line-height: 1.7;
  text-indent: 2em;
  letter-spacing: 0.015em;
}

.carousel-arrow {
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  opacity: 0;
}

.carousel-arrow-prev {
  left: 12px;
}

.carousel-arrow-next {
  right: 12px;
}

.section-service {
  width: 100%;
  aspect-ratio: 1920 / 850;
  padding-top: 2.08vw;
  padding-bottom: 2.6vw;
  box-sizing: border-box;
}

.bg-service {
  background-image: url(./bg-section-1.jpg);
  background-size: 100% 100%;
  background-position: center;
}

.section-title-wrap {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
  aspect-ratio: 1200/ 90;
  display: flex;
  align-items: center;
  padding-left: var(--v20);
  box-sizing: border-box;
}
.sec-head {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0 0.4vw;
}

.sec-head .sec-title {
  flex: 1;
  display: flex;
  color: var(--c-title);
  font-weight: 700;
  padding-left: 2.08%;
  box-sizing: border-box;
}
.service-title {
  flex: 1;
  display: flex;
  color: var(--c-title);
  font-weight: 700;
}

.s-title {
  font-size: var(--fs-s-title);
  font-weight: 700;
  display: flex;
  align-items: center;
}

.bg-s-t {
  background-image: url(./title-bd-b.png);
  background-position: bottom;
  background-size: 100% 2px;
  background-repeat: no-repeat;
}

.service-body-wrap {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
}
.service-carousel-wrap{
  width: 100%;
  aspect-ratio: 1200 / 356;
  overflow: hidden;
}

.service-carousel-wrap {
  width: 100%;
  background-color: var(--c-bg);
  position: relative;
}
.service-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.section-cards-list {
  width: 100%;
  aspect-ratio: 1200 / 215;
  display: flex;
  gap: 1.2vw;
}

/* ---- 图文链接卡片 ---- */
.cards-link-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.cards-link-bg {
  position: absolute;
  inset: 0;
}
.cards-link-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cards-link-item:hover .cards-link-bg img {
  transform: scale(1.08);
}
.cards-link-body {
  position: absolute;
  inset: 0;
  padding: 5% 6%;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  display: flex;
  flex-direction: column;
  justify-content: start;
}
.cards-link-title {
  font-size: var(--fs-s-subtitle);
  position: relative;
  font-weight: 700;
  color: #fff;
  padding-bottom: 5.4%;
  height: 34.28%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.cards-link-title::after {
  content: '';
  position: absolute;
  right: 0;
  width: 2rem;
  height: 6px;
  top: 0.6rem;
  background-color: var(--c-li);
  clip-path: polygon(0% 0, 100% 0%, calc(100% - 8px) 100%, calc(100% - 10px) 100%, calc(100% - 6px) 2px, 0 2px);
}
.cards-link-tags {
  display: flex;
  height: 60.0%;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.4vw;
}
.cards-tag {
  display: flex;
  align-items: center;
  font-size: var(--fs-s-p);
  color: #fff;
  white-space: nowrap;
}
.cards-tag::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 0.5vw;
  background: #fff;
  flex-shrink: 0;
}
.service-carousel-text-dots {
  position: absolute;
  top: 0;
  right: 5.6%;
  width: 28.4%;;
  bottom: 0;
  display: flex;
  flex-direction: column;
  background-color: rgba(2, 2, 2, 0.3);
  color: var(--c-li);
  min-width: 240px;
}
.service-carousel-dots{
  position: absolute;
  bottom: 1.66%;right: 35%;
  display: flex;
}
.service-dot {
  padding: 5px 0.5rem;
  color: var(--c-li);
  font-size: var(--fs-s-p);
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-dot.active {
  color: var(--c-act);
}

.service-dot.active::after {
  content: '';
  display: block;
  width: 2vw;
  height: 6px;
  position: relative;
  top: 4px;
  background-color: var(--c-act);
  margin-left: 0.4rem;
  clip-path: polygon(0% 0, 100% 0%,
      calc(100% - 8px) 100%, calc(100% - 10px) 100%, calc(100% - 6px) 2px,
      0 2px);
}
.text-dot-item {
  position: relative;
  flex: 1;
  width: 100%;
  padding: 0.5vw 1vw;
  box-sizing: border-box;
  align-items: center;
  word-break: break-all;
  line-height: 1.1;
  min-height: 2.2rem;
  user-select: none;
  cursor: pointer;
  overflow: visible;
}
.text-dot-item .bg {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0px;
  top: 0px;
  transition: 0.4s;
  opacity: 0;
  background-image: linear-gradient(to left, #3b82f6, #550df7);
  transform: scaleX(1.12);
}
.text-dot-item.active .bg{
  opacity: 0.99;
}
.text-dot-item .text-dot-title {
  position: relative;
  font-size: var(--fs-s-p);
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0 1em;
  display: flex;
  align-items: center;
  line-height: 1.2;
}
.text-dot-title div {
  margin-bottom: 0;
  max-height: 100%;
}
/* ---- 服务纵向轮播卡片 ---- */
.service-card-item {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--bdr);
  overflow: hidden;
  cursor: pointer;
}
.service-card-item .sc-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.service-card-item .sc-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-item .sc-card-body {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  padding: 2.2vw 2.6vw 2.2vw 0;
  box-sizing: border-box;
  font-weight: bolder;
}
.service-card-item .sc-title {
  font-size: var(--fs-s-p);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6vw;
  display: inline-block;
  padding: 0.5vw 1.8vw;
  letter-spacing: 0.2rem;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  background: linear-gradient(to bottom, #3b82f6, #550df7);
  font-style: italic;
}
.txt{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.service-card-item .sc-desc {
  display: grid;
  padding-left: 1rem;
  font-size: calc(var(--fs-s-subtitle) * 1.5);
  line-height: 1.7;
  font-weight: bolder;
  letter-spacing: 0.1rem;
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.sc-desc-shadow,
.sc-desc-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* 底层：白色阴影 */
.sc-desc-shadow {
  color: #fff;
  text-shadow: 4px 4px 4px rgb(255, 255, 255),
  4px -4px 4px rgb(255, 255, 255),
  -4px -4px 4px rgb(255, 255, 255),
  -4px 4px 4px rgb(255, 255, 255);
  transform: scaleY(1.1);
  position: absolute ;
  left: 1rem; top: 0;right: 0;
}
/* 顶层：渐变文字 */
.sc-desc-text {
  position: relative;
  z-index: 2;
  background-image: linear-gradient(to right, #3b82f6, #550df7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/**********内容展示**********/

.section-display {
  width: 100%;
  aspect-ratio: auto;
  padding-top: 2.08vw;
  padding-bottom: 2.6vw;
  box-sizing: border-box;
}
.display-title {
  flex: 1;
  display: flex;
  color: var(--c-title);
  font-weight: 700;

}
.display-body-wrap {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
}
.mobile-show {
  display: none;
  cursor: pointer;
}
.section-service .more, .section-display .more {
  color: var(--c-title);
  font-size: var(--fs-h-p);
  cursor: pointer;
}
.sec-head .more {
  color: var(--c-title);
  font-size: var(--fs-h-p);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.display-list-wrap {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 1.55vw 3.1%;
  aspect-ratio: auto;
}

/* ---- 展示图文列表卡片 ---- */
.display-card {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  background-color: #fff;
  background-image: url(./bg-section.png);
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: 100% auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.16);
  padding: 2.5% 1.83%;
  transition: box-shadow 0.35s ease;
}
.display-card:hover {
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.4);
}
.display-card-img {
  width: 100%;
  aspect-ratio: 332 / 185;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}
.display-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.display-card:hover .display-card-img img {
  transform: scale(1.05);
}
.display-card-body {
  width: 100%;
  aspect-ratio: 332 / 220;
  min-height: 0;
}
.home-display-six-section .display-card-body {
  flex: 0 0 auto;
  min-height: 0;
}
.home-display-six-section .display-card-title {
  min-height: 0;
  font-weight: 500;
}
.home-display-six-section .display-card-list {
  margin-top: 2.2%;
}
.home-display-six-section .display-card-li {
  min-height: 0;
}
.display-card-title {
  font-size: var(--fs-s-subtitle);
  font-weight: 700;
  aspect-ratio: 332 / 60;
  color: var(--c-title);
  border-bottom: 1px solid #a1a1a1;
  position: relative;
}
.display-card-title div{
  line-height: 1.4;
  position: relative;
  top: 1px;
}

.display-card-list {
  width: 100%;
  aspect-ratio: 332 / 150;
  display: flex;
  flex-direction: column;
  margin-top: 2.2%;
  
}
.display-card-li {
  font-size: var(--fs-s-p);
  color: #555;
  display: flex;
  flex: 1;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.display-card-li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg-btn);
  margin-right: 0.4vw;
  flex-shrink: 0;
}

/* 首页内容展示：第一条最新稿件叠加在导图底部，其余稿件保留在标题下方。 */
.homepage-v8 .home-display-cover-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.homepage-v8 .display-card-cover-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  padding: 0.5em 0.7em;
  box-sizing: border-box;
  color: #fff;
  background: linear-gradient(to top, rgba(7, 24, 58, 0.9), rgba(7, 24, 58, 0.18));
  font-size: var(--fs-s-p);
  font-weight: 400;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/********** 创作交流 **********/

.section-exchange {
  width: 100%;
  aspect-ratio: 1920 / 780;
  padding-top: 2.08vw;
  padding-bottom: 2.6vw;
  box-sizing: border-box;
}
.bg-exchange {
  background-image: url(./bg-section-2.jpg);
  background-size: 100% 100%;
  background-position: center;
}
.exchange-body-wrap {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
}
.section-exchange .more {
  color: var(--c-title);
  font-size: var(--fs-h-p);
  cursor: pointer;
}
.exchange-list-wrap {
  width: 100%;
  aspect-ratio: 1200 / 520;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3%;
}

/* ---- 交流卡片 ---- */
.exchange-card {
  aspect-ratio: 376 / 240;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-radius: var(--bdr-s);
  overflow: hidden;
  border: 1px solid var(--c-bd);
  box-sizing: border-box;
  transition: box-shadow 0.35s ease;
}
.exchange-card:hover {
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.4);
}
.exchange-card-title {
  aspect-ratio: 376 / 70;
  padding: 0 6.0%;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
}
.exchange-title-inner {
  font-size: calc(var(--fs-s-subtitle) * 0.99);
  font-weight: 700;
  color: var(--c-title);
  white-space: nowrap;
  overflow: hidden;
  width: 86.36%;
  text-overflow: ellipsis;
  line-height: 1.8;
  border-bottom: 2px solid var(--bg-btn);
}
.exchange-card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 6.0% 1.0% 4% 6%;
}
.exchange-card-tags {
  display: flex;
  width: 68%;
  flex-wrap: wrap;
  gap: 6.8%;
  height: 100%;
  align-content: flex-start;
  align-items: start;
}
.exchange-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15vw 0.5vw;
  font-size: var(--fs-s-sm);
  color: #3b82f6;
  line-height: 1.2;
  border: 1px solid #3b82f6;
  border-radius: 0.4rem;
  white-space: nowrap;
}
.exchange-tag-2 {
  width: 45%;
  height: 27.7%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2vw 0.5vw;
  font-size: var(--fs-s-sm);
  color: #3b82f6;
  line-height: 1.2;
  border: 1px solid #3b82f6;
  border-radius: 0.4rem;
  white-space: nowrap;
  background-image: linear-gradient(110deg,  #3b82f6 0%,  #3b82f6 20%,  #550df7 80%,  #550df7 100%);
  color: var(--c-li);
}
.exchange-tag:first-child {
  background-image: linear-gradient(110deg,  #3b82f6 0%,  #3b82f6 20%,  #550df7 80%,  #550df7 100%);
  color: var(--c-li);
}
.exchange-card-icon {
  width: 33.33%;
  position: absolute;
  right: 1%;
  aspect-ratio: 1 / 1;
}
.exchange-card-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/********** 网站链接 **********/

.bg-links {
  background-image: url(./bg-grid-3.png);
  background-size: 100% 100%;
  background-position: center;
}
.section-links {
  width: 100%;
  aspect-ratio: 1920 / 730;
  padding-top: 2.08vw;
  padding-bottom: 2.6vw;
  box-sizing: border-box;
}
.links-body-wrap {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
}
.section-links .more {
  color: var(--c-title);
  font-size: var(--fs-h-p);
  cursor: pointer;
}
.links-content-wrap {
  width: 100%;
  aspect-ratio: 1200 / 520;
  display: flex;
  align-items: center;
}
.home-platform-matrix-section .links-content-wrap {
  transform: none;
  margin-top: 0;
  margin-bottom: 0;
}
.home-platform-matrix-section .section-title-wrap {
  aspect-ratio: 1200 / 90;
}

/* ---- 蜂窝排列容器 ---- */
.links-honeycomb-left,.links-honeycomb-right {
  display: grid;
  grid-template-columns: repeat(13, 1fr);
  grid-template-rows: repeat(8, 1fr);
  aspect-ratio: 1 / 1;
  flex: 1;
}
/* 蜂窝单元格：留间隔、白色背景、阴影 */
.honey-cell {
  width: 100%;
  aspect-ratio: 180 / 150;
  transition: 0.2s;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}
.honey-cell:hover {
  transform: scale(1.05) translateY(-2px);
  z-index: 2;
}

/* 首页平台矩阵：桌面端悬停时突出可点击平台，触控端保留稳定布局 */
@media (min-width: 769px) {
  .links-content-wrap .matrix-link:not(.matrix-link-disabled) {
    transition: transform .25s ease, filter .25s ease;
  }

  .links-content-wrap .matrix-link:not(.matrix-link-disabled):hover,
  .links-content-wrap .matrix-link:not(.matrix-link-disabled):focus-visible {
    transform: translateY(-5px) scale(1.06);
    filter: drop-shadow(0 8px 10px rgba(28, 79, 190, .35)) brightness(1.04);
    z-index: 3;
    outline: none;
  }

  .links-content-wrap .matrix-link:not(.matrix-link-disabled) .hex-clip2 img {
    transition: transform .25s ease;
  }

  .links-content-wrap .matrix-link:not(.matrix-link-disabled):hover .hex-clip2 img,
  .links-content-wrap .matrix-link:not(.matrix-link-disabled):focus-visible .hex-clip2 img {
    transform: scale(1.05);
  }
}

/* 首页微信二维码弹窗：固定在视口并居中，避免没有二级页样式时落入页面左下角。 */
.matrix-modal-open {
  overflow: hidden;
}
.matrix-qr-modal[hidden] {
  display: none !important;
}
.matrix-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(9, 30, 66, .58);
}
.matrix-qr-dialog {
  position: relative;
  width: min(360px, 100%);
  padding: 28px 28px 24px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(10, 37, 78, .28);
  text-align: center;
}
.matrix-qr-dialog h2 {
  margin: 0 0 18px;
  color: #243a57;
  font-size: 20px;
  line-height: 1.4;
}
.matrix-qr-dialog img {
  display: block;
  width: min(280px, 100%);
  height: auto;
  margin: 0 auto 14px;
}
.matrix-qr-dialog p {
  margin: 0;
  color: #63738a;
  font-size: 14px;
  line-height: 1.6;
}
.matrix-qr-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #6f7d92;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.matrix-qr-close:hover,
.matrix-qr-close:focus-visible {
  color: #1c4fbe;
  outline: none;
}

/* ---- 正六边形裁剪（独立可复用） ---- */
.hex-clip {
  width: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.links-honeycomb-left .hex-clip2 img ,.links-honeycomb-right .hex-clip2 img{
  display: block;
  
  object-fit: contain;
}

/* ---- 正六边形裁剪变体：顶部为水平线（平顶六边形） ---- */
.hex-clip2 {
  width: 96%;
  aspect-ratio: 180 / 150;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hex-clip2 img {
  width: 90%;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  object-fit: contain;
}
/* ---- 左蜂窝位置 (右移1格) ---- */
.l-r1   { grid-area: 2 / 7 / 4 / 11; }
.l-r2l  { grid-area: 3 / 4 / 5 / 8; }
.l-r2r  { grid-area: 3 / 10 / 5 / 14; }
.l-r3c  { grid-area: 4 / 7 / 6 / 11; }
.l-r4l  { grid-area: 5 / 4 / 7 / 8; }
.l-r4r  { grid-area: 5 / 10 / 7 / 14; }
.l-r5   { grid-area: 6 / 7 / 8 / 11; }
.l-bili { grid-area: 6 / 1 / 8 / 5; }
.l-ext  { grid-area: 4 / 1 / 6 / 5; }
.l-ext:hover  { transform: scale(1.05); }

/* ---- 右蜂窝位置 (左移1格) ---- */
.r-r1   { grid-area: 2 / 4 / 4 / 8; }
.r-r2l  { grid-area: 3 / 1 / 5 / 5; }
.r-r2r  { grid-area: 3 / 7 / 5 / 11; }
.r-r3c  { grid-area: 4 / 4 / 6 / 8; }
.r-r4l  { grid-area: 5 / 1 / 7 / 5; }
.r-r4r  { grid-area: 5 / 7 / 7 / 11; }
.r-r5   { grid-area: 6 / 4 / 8 / 8; }
.r-extr { grid-area: 4 / 10 / 6 / 14; }
.r-extr:hover { transform: scale(1.05); }

/* ---- 中间区域 ---- */
.links-center {
  flex-shrink: 0;
  width: 14.6%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6vw;
}
.links-center-logo {
  aspect-ratio: 180 / 150;
  background-image: linear-gradient(90deg,  #3b82f6 0%,  #3b82f6 20%,  #550df7 80%,  #550df7 100%);
}
.links-center-logo img {
  display: block;
  width: 80%;
  object-fit: contain;
}
.links-center-text {
  font-size: var(--fs-s-p);
  font-weight: 700;
  color: var(--c-title);
}
.links-center-sub {
  font-size: var(--fs-s-sm);
  color: #666;
  line-height: 1.6;
}

@media (width <=768px) {
  .carousel-arrow {
    display: none;
  }
}

/********** 友情链接 **********/

.section-friend {
  width: 100%;
  aspect-ratio: 1920 / 245;
  padding-top: 1.1vw;
  padding-bottom: 1.4vw;
  box-sizing: border-box;
}
.friend-body-wrap {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
}
.section-friend .more {
  color: var(--c-title);
  font-size: var(--fs-h-p);
}
.friend-list-wrap {
  width: 100%;
  aspect-ratio: 1200 / 100;
  display: flex;
  flex-wrap: wrap;
  gap: calc(max(1.2vw, 2%));
}
.friend-card {
  flex: 1;
  display: flex;
  min-width: 150px;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  text-decoration: none;
  box-sizing: border-box;
  gap: 2.2%;
  transition: 0.5s;
  background: radial-gradient(circle, rgba(234, 248, 253, 0.95) 30%, rgba(59,130,246,0.19) 100%);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-radius: 10px;
}
.friend-card:hover {
  transform: translateY(-5px);
}
.friend-icon {
  width: 17%;
  margin-top: 2%;
  aspect-ratio: 1 / 1;
}
.section-friend .section-title-wrap {
  aspect-ratio: 1200 / 70;
}
.friend-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.friend-name {
  font-size: calc(var(--fs-s-subtitle) * 0.7);
  color: var(--c-title);
  display: flex;
  align-items: center;
  overflow: visible;
}
.friend-name-text{
  font-weight: 600;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.friend-name span{
  display: flex;
  width: 1.0em;
  margin-left: 3px;
  aspect-ratio: 1 / 1;
  position: relative;
  top: 1px;
}

/* Desktop single-row arrangement requested for the compact platform matrix. */
@media (min-width: 769px) {
  .home-platform-matrix-section {
    aspect-ratio: auto;
    padding-top: .55vw;
    padding-bottom: .75vw;
  }

  .home-platform-matrix-section .section-title-wrap {
    min-height: 62px;
    aspect-ratio: auto;
  }

  .home-platform-matrix-section .section-space {
    display: none;
  }

  .home-platform-matrix-section .links-content-wrap {
    display: grid;
    grid-template-columns: repeat(14, minmax(0, 1fr));
    align-items: center;
    min-height: 110px;
    padding: 6px 0;
    aspect-ratio: auto;
    transform: none;
    margin-top: 0;
    margin-bottom: 0;
  }

  .home-platform-matrix-section .links-honeycomb-left,
  .home-platform-matrix-section .links-honeycomb-right,
  .home-platform-matrix-section .links-center {
    display: contents;
  }

  .home-platform-matrix-section .honey-cell {
    position: relative;
    grid-area: auto;
    width: min(74px, calc(100% - 4px));
    max-width: none;
    justify-self: center;
    transform: none;
  }

  .home-platform-matrix-section .honey-cell:hover {
    transform: scale(1.05);
  }

  .home-platform-matrix-section .links-center-logo {
    width: min(80px, calc(100% - 2px));
  }

  .home-platform-matrix-section .l-r5 { order: 1; }
  .home-platform-matrix-section .l-bili { order: 2; }
  .home-platform-matrix-section .l-r1 { order: 3; }
  .home-platform-matrix-section .l-r4l { order: 4; }
  .home-platform-matrix-section .l-r2l { order: 5; }
  .home-platform-matrix-section .l-r3c { order: 6; }
  .home-platform-matrix-section .l-r2r { order: 7; }
  .home-platform-matrix-section .l-r4r { order: 8; }
  .home-platform-matrix-section .links-center-logo { order: 9; }
  .home-platform-matrix-section .r-r1 { order: 10; }
  .home-platform-matrix-section .r-r3c { order: 11; }
  .home-platform-matrix-section .r-r2l { order: 12; }
  .home-platform-matrix-section .r-r4l { order: 13; }
  .home-platform-matrix-section .r-r4r { order: 14; }
}

/* Mobile platform matrix: keep the desktop grouping while reflowing nodes into
   two compact rows around a centered logo. */
@media (max-width: 768px) {
  .home-platform-matrix-section {
    aspect-ratio: auto;
    padding-top: 8px;
    padding-bottom: 10px;
    --matrix-row-shift: clamp(14px, 4.5vw, 22px);
  }

  .home-platform-matrix-section .section-title-wrap {
    min-height: 38px;
    aspect-ratio: auto;
  }

  .home-platform-matrix-section .section-space {
    display: none;
  }

  .home-platform-matrix-section .links-content-wrap {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    grid-template-rows: repeat(2, 38px);
    align-items: center;
    min-height: 80px;
    padding: 3px 0;
    aspect-ratio: auto;
    transform: none;
    margin-top: 0;
    margin-bottom: 0;
  }

  .home-platform-matrix-section .links-honeycomb-left,
  .home-platform-matrix-section .links-honeycomb-right,
  .home-platform-matrix-section .links-center {
    display: contents;
  }

  .home-platform-matrix-section .honey-cell {
    position: relative;
    grid-area: auto;
    width: min(44px, calc(100% - 4px));
    aspect-ratio: 180 / 150;
    max-width: none;
    justify-self: center;
    align-self: center;
    transform: none;
    clip-path: none;
    overflow: visible;
  }

  .home-platform-matrix-section .honey-cell:hover {
    transform: scale(1.04);
  }

  .home-platform-matrix-section .links-center-logo {
    grid-column: 5;
    grid-row: 1 / span 2;
    width: min(60px, calc(100% - 2px));
    height: auto;
    aspect-ratio: 180 / 150;
    justify-self: center;
    align-self: center;
  }

  /* Keep the reference flat-top hexagon and stagger the lower row so adjacent
     tiles meet on their four slanted edges instead of horizontal edges. */
  .home-platform-matrix-section .hex-clip2,
  .home-platform-matrix-section .hex-clip2 img {
    width: 100%;
    height: 100%;
    aspect-ratio: 180 / 150;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  }

  .home-platform-matrix-section .hex-clip2 img {
    object-fit: fill;
  }

  /* The center tile uses a wide wordmark, so keep its intrinsic ratio instead
     of applying the square icon sizing used by the surrounding hexagons. */
  .home-platform-matrix-section .links-center-logo img {
    width: 80%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    clip-path: none;
  }

  /* The spanning center tile keeps its own flat-top ratio instead of
     stretching to the full two-row track height. */
  .home-platform-matrix-section .links-center-logo {
    height: auto;
    aspect-ratio: 180 / 150;
  }

  /* Upper row: four left nodes and three right nodes. */
  .home-platform-matrix-section .l-r5 { grid-column: 1; grid-row: 1; }
  .home-platform-matrix-section .l-r2l { grid-column: 2; grid-row: 1; }
  .home-platform-matrix-section .l-r1 { grid-column: 3; grid-row: 1; }
  .home-platform-matrix-section .l-r2r { grid-column: 4; grid-row: 1; }
  .home-platform-matrix-section .r-r1 { grid-column: 6; grid-row: 1; }
  .home-platform-matrix-section .r-r2l { grid-column: 7; grid-row: 1; }
  .home-platform-matrix-section .r-r3c { grid-column: 8; grid-row: 1; }

  /* Lower row: three left nodes and three right nodes, leaving the center
     column open so the diagonal offset never collides with the Logo. */
  .home-platform-matrix-section .l-bili { grid-column: 1; grid-row: 2; }
  .home-platform-matrix-section .l-r4l { grid-column: 2; grid-row: 2; }
  .home-platform-matrix-section .l-r3c { grid-column: 3; grid-row: 2; }
  .home-platform-matrix-section .l-r4r { grid-column: 6; grid-row: 2; }
  .home-platform-matrix-section .r-r4l { grid-column: 7; grid-row: 2; }
  .home-platform-matrix-section .r-r4r { grid-column: 8; grid-row: 2; }

  .home-platform-matrix-section .l-bili,
  .home-platform-matrix-section .l-r4l,
  .home-platform-matrix-section .l-r3c,
  .home-platform-matrix-section .l-r4r,
  .home-platform-matrix-section .r-r4l,
  .home-platform-matrix-section .r-r4r {
    transform: translateX(var(--matrix-row-shift));
  }

  .home-platform-matrix-section .l-bili:hover,
  .home-platform-matrix-section .l-r4l:hover,
  .home-platform-matrix-section .l-r3c:hover,
  .home-platform-matrix-section .l-r4r:hover,
  .home-platform-matrix-section .r-r4l:hover,
  .home-platform-matrix-section .r-r4r:hover {
    transform: translateX(var(--matrix-row-shift)) scale(1.04);
  }
}

/********** 页脚 **********/

.section-footer {
  width: 100%;
  height: 242px;
  background-color: #fff;
  position: relative;
}
.section-footer-bg-bar {
  width: 100%;
  height: 100%;
  position: absolute; top: 0;
  left: 0;
  background-image: url(./footer-bg-bar.png);
   background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;

}
.footer-body-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 205px;
  margin: auto;
  padding: 0 4vw;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0.1vw;
  background-color: #0943C2;
}

.footer-body-wrap > * {
  position: relative;
  z-index: 1;
}

/* 左 logo */
.footer-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-left img {
  display: block;
  max-width: 80%;
  max-height: 4vw;
  object-fit: contain;
}

/* 中间信息 */
.footer-center {
  flex: 2;
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 0.4vw;
}
.footer-info-line {
  font-size: calc(max(0.83vw, 12px));
  color: #fff;
  line-height: 1.6;
}
.footer-info-line img {
  width: calc(max(0.83vw, 12px));
  aspect-ratio: 1 / 1;
  position: relative;
  top: 1px;
}

/* 右侧图片链接 */
.footer-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1vw;
}
.footer-link-img {
  width: 3vw;
  height: 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-link-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
section a.more {
  text-decoration: none;
}
@media (width <=768px) {
  .w-logo-wrap {
    height: 77.77%;
    overflow: hidden;
  }
  .text-dot-title div {
    max-width: 100%;
    overflow: hidden;
  }
  .section-service.bg-service {
    background-image: none;
  }
  .service-carousel-text-dots {
    padding: 1.0vw 0;
  }
  .search-wrap {
    height: 34px;
    width: 34px;
    border-width: 0px;
    padding: 0px;
    justify-content: center;
    position: relative;
  }
  .more .mobile-show {
    display: inline;
  }
  .search-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
  }

  /* 移动端：搜索输入框浮动在图标左侧 */
  .search-input {
    position: absolute;
    right: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    height: 38px;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    z-index: 10;
    margin-right: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  /* checkbox 勾选时显示输入框 */
  .search-toggle-check:checked ~ .search-input {
    visibility: visible;
    opacity: 1;
  }

  /* 遮罩层：checkbox 勾选时显示，点击关闭 */
  .search-toggle-check:checked ~ .search-overlay-m {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 5;
    cursor: pointer;
  }
  .section-title-img {
    width: 22px;
  }
  .banner-home {
    aspect-ratio: 375 / 211;
  }

  .banner-home .carousel-dots {
    display: none;
  }
  .service-carousel-wrap {
    aspect-ratio: auto;
    position: relative;
  }
  .service-track,.service-carousel-dots {
    display: none;
  }
  .service-carousel-text-dots {
    position: relative;
    right: 0px;
    width: 100%;
    background-image: linear-gradient(to right, #E9F5FD 0%, #C0DCF8 100% );
    color: var(--c-text);
  }
  .carousel-card-item .carousel-card-body {
    height: 13.33vw;
    width: 100%;
    display: flex;
    padding: 0 2.6%;
    align-items: center;
    overflow: hidden;
  }
  .text-dot-item {
    display: flex;
    align-items: center;
  }
  .text-dot-item.active {
    color: var(--c-title);
  }
  .text-dot-item.active .bg{
    opacity: 0;
  }
  .text-dot-title {
    white-space: nowrap;
    overflow: hidden;
    
    text-overflow: ellipsis;
  }
  .section-cards-list{
    aspect-ratio: auto;
    flex-wrap: wrap;
  }
  .cards-link-item {
    width: 100%;
    flex: none;
    aspect-ratio: 343 / 193;
  }
  .cards-link-body {
    padding: 6% 12%;
  }
  .cards-link-title {
    font-size: calc(var(--fs-s-subtitle) * 1.5);
    line-height: 1.6;
  }
  .cards-tag {
    font-size: var(--fs-s-p);
    line-height: 1.6;
  }
  .cards-tag::before {
    margin-right: 2vw;
    width: 2px;
    height: 2px;
  }

  .display-list-wrap {
    aspect-ratio: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 12px;
  }
  .display-card {
    min-width: 0;
    aspect-ratio: 343 / 321;
    padding: 2% 2.3%;
    margin-bottom: 0;
  }
  .display-card .display-card-img {
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    margin-bottom: 1vw;
  }
  .display-card .display-card-body {
    aspect-ratio: 328 / 103;
  }
  .display-card-title {
    height: 28px;
    aspect-ratio: auto;
    aspect-ratio: auto;
  }
  .display-card-list{
    aspect-ratio: 300 / 67;
    min-height: 0;
    margin-top: 2.2%;
  }
  .display-card-li {
    min-height: 22px;
    font-size: var(--fs-s-sm);
  }
  .display-card-li::before {
    width: 4px;
    height: 4px;
    margin-right: 4px;
  }
  .homepage-v8 .display-card-cover-title {
    padding: 0.35em 0.5em;
    font-size: var(--fs-s-sm);
  }
  .section-exchange.bg-exchange{
    background-image: none;
  }
  .exchange-list-wrap {
    aspect-ratio: auto;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .exchange-card {
    aspect-ratio: 167.5 / 220;
    margin-bottom: 2vw;
    position: relative;
    padding-top: 40%;
    box-sizing: border-box;
    border-radius: calc(var(--bdr-s) * 2);
  }
  .exchange-title-inner {
    width: 100%;
    text-align: center;
  }
  .exchange-card-tags {
    width: 100%;
  }
  .exchange-tag {
    flex: 1;
    line-height: 1.6;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1vw;
    font-size: var(--fs-s-p);
    border-radius: var(--bdr-c);
  }
  .exchange-card-body {
    position: static;
    padding: 6.0% 6.0% 6% 6%;
  }
  .exchange-card-icon {
    right: 50%;
    top: 6.0%;
    transform: translateX(50%);
  }

  .carousel-card-body .title {
    white-space: nowrap;
    overflow-x: visible;
    overflow-y: visible;
    text-overflow: ellipsis;
  }

  .carousel-card-body .desc {
    display: none;
    letter-spacing: 0.015em;
  }

  .carousel-card-body .title::before {
    height: 2px;
    width: 8%;
  }
  .friend-list-wrap {
    aspect-ratio: 343 / 154;
    row-gap: 9.93%;
    column-gap: 4.37%;
  }
  .friend-card {
    flex: none;
    min-width: 47.8%;
    aspect-ratio: 164.4 / 70;
    border-radius: var(--bdr-c);
  }
  .friend-name {
    /*overflow: visible;*/
  }
  .friend-card .friend-name img {
    width: 1em;
    aspect-ratio: 1 / 1;
    display: inline;
    position: relative;
    top: 0.05em;
  }
  .friend-icon {
    width: 14.6%;
    aspect-ratio: 1 / 1;
    margin-bottom: 1vw;
  }
  .section-footer {
    height: 180px;
  }
  .section-footer .footer-body-wrap {
    height: 164px;
  }
  .section-footer .footer-left, .section-footer .footer-right {
    display: none;
  }
}
.ah704 {
  width: 100%;
  aspect-ratio: 1200 / 704;
}
.ah450 {
  width: 100%;
  aspect-ratio: 1200 / 450;
}
.ah254 {
  width: 100%;
  aspect-ratio: 1200 / 254;
}
.ah110 {
  width: 100%;
  aspect-ratio: 1200 / 110;
}
.ah100 {
  width: 100%;
  aspect-ratio: 1200 / 100;
}
.ah80 {
  width: 100%;
  aspect-ratio: 1200 / 80;
}
.ah75 {
  width: 100%;
  aspect-ratio: 1200 / 75;
}
.ah70 {
  width: 100%;
  aspect-ratio: 1200 / 70;
}
.ah60 {
  width: 100%;
  aspect-ratio: 1200 / 60;
}
.ah50 {
  width: 100%;
  aspect-ratio: 1200 / 50;
}
.ah50-66 {
  width: 100%;
  aspect-ratio: 660 / 50;
}
.ah50-51 {
  width: 100%;
  aspect-ratio: 510 / 50;
}
/* ====== service 页面 ====== */
.sec-body {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
}
.sec-body-full {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
}
/* ---- Banner ---- */
.service-banner {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: 0 auto;
  padding: 0 0.4vw;
  box-sizing: border-box;
}
.service-banner-img {
  width: 100%;
  aspect-ratio: 1200 / 320;
  overflow: hidden;
  position: relative;
  border-radius: var(--bdr-c);
}
.banner-title {
  font-size: var(--fs-h1);
  position: absolute;
  left: 8.33%;
  top: 30.625%;
  color: var(--c-li);
  letter-spacing: 0.4vw;
}
.service-banner-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ---- 右向箭头 (90°直角, 2px线宽) ---- */
.arrow-right {
  display: inline-block;
  width: 0.6vw;
  height: 0.6vw;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
  position: relative;
  top: 1px;
}

/* ====== 向右箭头组件：横线 + 90°直角> ======
   宽高比 30:20，1px 线宽
   --alr-color : 线条颜色（默认 --bg-btn）
   --alr-size  : 整体缩放倍数（默认 1）
   用法示例:
     <i class="arrow-line-right"></i>
     <i class="arrow-line-right" style="--alr-color:#f00;--alr-size:1.5"></i>
*/
.arrow-line-right {
  --alr-color: var(--bg-btn);
  --alr-size: 1;
  display: inline-block;
  position: relative;
  width:  1.56vw;
  min-width: 20px;
  aspect-ratio: 30 / 20;
  flex-shrink: 0;
  vertical-align: middle;
}
/* 中间横线：左起占 72% 宽度，垂直居中 */
.arrow-line-right::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 72%;
  height: 1px;
  background: var(--alr-color);
  transform: translateY(-0.5px);
}
/* 右侧90°直角>：正方形旋转45°，上边框+右边框构成尖角 */
.arrow-line-right::after {
  content: '';
  position: absolute;
  right: calc(var(--alr-size) * 2px);
  top: 50%;
  width:  calc(var(--alr-size) * 7px);
  height: calc(var(--alr-size) * 7px);
  border-top: 1px solid var(--alr-color);
  border-right: 1px solid var(--alr-color);
  transform: translateY(-50%) rotate(45deg);
}

/* ---- 栏目1：专题共创 ---- */
.cooperate-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.cooperate-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  padding: 0.5%;
  box-sizing: border-box;
}
.cooperate-card {
  aspect-ratio: 291 / 346;
  min-width: 0;
  background: #fff;
  border: 2px solid transparent;
  text-decoration: none;
  padding: 0.4vw 0.4vw;
  transition: box-shadow 0.35s ease, transform 0.3s ease;
}
.cooperate-card-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: var(--bdr-c);
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.cooperate-card:hover {
  transform: translateY(-3px);
}
.cooperate-card:hover .cooperate-card-inner {
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
}
.cooperate-card-img {
  width: 100%;
  aspect-ratio: 287 / 176;
  /*height: 51.4%;*/
  overflow: hidden;
  margin-bottom: 6.27%;
}
.cooperate-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.cooperate-card:hover .cooperate-card-img img {
  transform: scale(1.08);
}
.cooperate-card-body {
  padding: 3% 5% 4%;
  display: flex;
  gap: 0.3125vw;
  flex-direction: column;
  justify-content: center;
}
.cooperate-card-title {
  font-size: var(--fs-s-subtitle);
  font-weight: 700;
  color: var(--c-title);
  margin-bottom: 2%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cooperate-card-desc {
  font-size: var(--fs-s-p);
  color: #666;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cooperate-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  /*background: rgba(28, 79, 190, 0.85);*/
  background-color: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  align-items: center;
  justify-content: center;
  user-select: none;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}
.cooperate-arrow:hover {
  background-color: rgba(28, 79, 190, 0.85);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 14px rgba(28, 79, 190, 0.4);
}
.cooperate-arrow-img {
  display: block;
  width: 60%;
  height: 60%;
  object-fit: contain;
  pointer-events: none;
}
.cooperate-arrow-prev { left: 10px; }
.cooperate-arrow-next { right: 10px; }

/* ---- 栏目2：科学传播方法论 ---- */
.method-row {
  width: 100%;
  display: flex;
  gap: 1.0%;
  align-items: center;
}
.method-card {
  flex: 0 0 49.3%;
  aspect-ratio: 595 / 254;
  position: relative;
  overflow: hidden;
  
  border-radius: var(--bdr-c);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.35s ease;
  background-color: var(--c-bg-b);
  background-image: url(./s-s-bg-1.png);
  background-size: 100% 100%;
  
}
.method-card-wrap {
  width: 100%;
  aspect-ratio: 595 / 254;
  padding: 5.04% 3.36%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}
.method-row-bg {
  background-image: url(./s-s-bg-1.png);
  background-size: 100% 100%;
}
.method-card:hover {
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}
.method-card-img {
  width: 22.5%;
  inset: 0;
}
.method-card-img img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.method-card:hover .method-card-bg img {
  transform: scale(1.05);
}
.method-card-overlay {
  width: 74.5%;
  height: 100%;
  padding: 1% 2%;
  color: #fff;
  box-sizing: border-box;
  overflow-y: hidden;
}
.method-card-title {
  font-size: var(--fs-s-subtitle);
  color: var(--c-title);
  font-weight: 700;
  margin-bottom: 1.5%;
  line-height: 1.6;
}
.method-card-desc {
  display: flex;
}
.method-card-desc .desc{
  font-size: var(--fs-s-p);
  color: var(--c-text);
  letter-spacing: 0.015em;
  opacity: 0.92;
  line-height: 1.8;
  flex: 1;
  overflow: hidden;
}
.ic {
  display: inline-block;
  width: calc(var(--fs-s-p) * 1.8);
  height: calc(var(--fs-s-p) * 1.8);
  display: flex;
  align-items: center;
}
.ic::before {
  content: ' ';
  display: inline-block;
  opacity: 1;
  width: 6px;
  height: 6px;
  border-radius: 10px;
  background-color: var(--c-title);
}


/* ---- 栏目3+4：职称评审 + 科技馆之城 ---- */
.review-row {
  width: 100%;
  aspect-ratio: 1200 / 450;
  display: flex;
  justify-content: space-between;
}
.review-left {
  width: 55%;
  display: flex;
  flex-direction: column;
}
.review-right-col {
  width: 42.5%;
  display: flex;
  flex-direction: column;
}
.column-mini-title {

  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 660 / 80;
  flex-shrink: 0;
  box-sizing: border-box;
}
.column-mini-title-r {
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 510 / 80;
  flex-shrink: 0;
  box-sizing: border-box;
}
.column-mini-title .section-title-img {
  width: 9.69%;
  aspect-ratio:  1 / 1;
}
.column-mini-title-r .section-title-img {
  width: 12.5%;
  aspect-ratio:  1 / 1;
}
.column-mini-title-text {
  font-size: var(--fs-s-title);
  font-weight: 700;
  color: var(--c-title);
}
.review-text-grid {
  flex: 1;
  display: flex;
  justify-content: space-between;
  padding: 4.5% 5.1%;
  background-color: var(--c-li);
  border-radius: var(--bdr-c);
  box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.08), 2px 2px 4px rgba(0, 0, 0, 0.08);
}
.review-text-card {
  width: 44%;
  /*height: 100%;*/
  position: relative;
}
.review-card-title {
  font-size: var(--fs-s-subtitle);
  color: var(--c-title);
  font-weight: 600;
  margin-bottom: 0.5vw;
}
.review-text-card:hover {
  border-color: #bcd4f9;
}
.review-line {
  display: flex;
}
.review-text-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bg-btn);
  margin-right: 2.5%;
  flex-shrink: 0;
}
.review-text-content {
  font-size: var(--fs-s-p);
  line-height: 1.8;
  color: #333;
  flex: 1;
}
.review-card-more {
  position: absolute;
  bottom: 3%;
  right: 2%;
  padding: 0.6vw 0.8vw;
  border-radius: 20px;
  font-size: var(--fs-s-sm);
  color: var(--c-title);
  opacity: 1;
  display: flex;
  align-items: center;
  cursor: pointer;
  background-color: rgba(162,219, 247, 0.8);
}
.review-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.08),2px 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.35s ease;
  background-color: var(--c-bg);
}
.review-right:hover {
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
}
.review-right-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 506 / 176;
}
.review-right-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.review-right:hover .review-right-bg img {
  transform: scale(1.05);
}
.review-right-overlay {
  position: relative;
  width: 100%;
  aspect-ratio: 506/108;
  padding: 4% 5%;
  box-sizing: border-box;
  color: var(--c-text);
}

.review-right-desc {
  font-size: var(--fs-s-p);
  opacity: 0.88;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-right-link {
  margin-top: 1%;
  display: inline-block;
  float: right;
  font-size: var(--fs-s-p);
  color: var(--c-li);
  font-weight: 600;
  background-color: var(--c-title);
  border-radius: 10vw;
  padding: 0.6vw 1.6vw;
}
.review-right-link:hover {
  transition: 0.4s;
  transform: translateY(-2px);
  opacity: 0.95;
}
/* ---- service 移动端 ---- */
@media (width <= 768px) {
  .page-service section, .page-service .review-left {
    margin-bottom: 6.4%;
  }
  .mobile-hide {
    display: none;
  }
  .sec-body-full {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .cooperate-wrap {
    aspect-ratio: 375 / 200;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }
  .cooperate-card {
    padding: 1vw;
  }
  .cooperate-grid {
    width: 61.8%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
  }
  .cooperate-card-img {
    margin-bottom: 0;
    aspect-ratio: 232 / 140;
  }
  .cooperate-card-body {
    padding: 0.2vw 0.8vw;
    flex: 1;
  }
  .cooperate-arrow {
    display: flex;
  }
  .method-row {
    aspect-ratio: auto;
    flex-direction: column;
    gap: 3%;
  }
  .method-card {
    flex: 1 1 auto;
    aspect-ratio: 343 / 127;
    width: 100%;
  }
  .method-card:first-child {
    margin-bottom: 10%;
  }
  .method-card-wrap {
    aspect-ratio: auto;
    height: 100%;
    height: 100%;
    padding: 4% 4%;;
  }
  .method-card-img {
    width: 17.77%;
  }
  .method-card-overlay {
    width: 80.31%;
    padding: 1% 1%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .method-card-desc .ic {
    width: calc(var(--fs-s-sm) * 1.6);
    height: calc(var(--fs-s-sm) * 1.6);
  }
  .method-card-desc .desc {
    font-size: var(--fs-s-sm);
    line-height: 1.6;
    letter-spacing: 0.015em;
  }
  .review-row {
    aspect-ratio: auto;
    flex-direction: column;
    gap: 3%;
  }
  .review-left {
    width: 100%;
  }
  .review-right-col {
    width: 100%;
  }
  .review-right {
    aspect-ratio: 341 / 200;
    margin-bottom: 3.4%;
    position: relative;
  }
  .review-right-bg{
    aspect-ratio: 341 / 120;
  }
  .review-right-overlay {
    aspect-ratio: 341 / 67;
  }
  .review-right-link {
    height: 37.31%;
    width: 29.32%;
    right: 4%;
    bottom: 3%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .review-text-grid {
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    aspect-ratio: 343 / 152;
    overflow: hidden;
    padding: 4% 4%;
    gap: 4%;
  }
  .review-text-card {
    width: 46%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .review-card-title {
    width: 100%;
    height: 17%;
  }
  .review-card-body {
    width: 100%;
    height: 57%;
    overflow-y: hidden;
  }
  .review-card-more {
    height: 20%;
    width: 52.4%;
    border-radius: 30px;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ====== display 页面 ====== */
.sec-section {
  width: 100%;
}
.sec-section-body {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
  aspect-ratio: 1200 / 674;
}
.sec-section-content {
  width: 100%;
  aspect-ratio: 1200 / 544;
  overflow: hidden;
  position: relative;
}

/* 卡片网格 */
.sec-section-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0;
  padding: 0%;
  box-sizing: border-box;
}

/* 展示卡片 */
.d-card {
  aspect-ratio: 291 / 266;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid transparent;
  text-decoration: none;
  padding: 0.4vw 0.4vw;
  transition: box-shadow 0.35s ease, transform 0.3s ease;
}
.d-card:hover {
  transform: translateY(-3px);
}
.d-card:hover .d-card-inner {
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.35);
}
.d-card-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: var(--bdr-c);
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.d-card-img {
  width: 100%;
  aspect-ratio: 287 / 176;
  overflow: hidden;
}
.d-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.d-card:hover .d-card-img img {
  transform: scale(1.08);
}
.d-card-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 5%;
}
.d-card-title {
  font-size: var(--fs-s-p);
  color: var(--c-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 轮播箭头 */
.d-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  align-items: center;
  justify-content: center;
  user-select: none;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}
.d-arrow:hover {
  background-color: rgba(28, 79, 190, 0.85);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 14px rgba(28, 79, 190, 0.4);
}
.d-arrow-img {
  display: block;
  width: 60%;
  height: 60%;
  object-fit: contain;
  pointer-events: none;
}
.d-arrow-prev { left: 10px; }
.d-arrow-next { right: 10px; }

/* display 移动端 */
@media (width <= 768px) {
  .sec-section {
    margin-bottom: 20px;
    overflow: hidden;
  }
  .sec-section-body {
    aspect-ratio: auto;
  }
  .sec-section-content {
    aspect-ratio: 375 / 200;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }
  .sec-head .sec-title {
    padding-bottom: 1.2%;
    align-items: center;
  }
  .sec-section-grid {
    width: 62.4%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
  }
  .d-card {
    padding: 1vw;
    aspect-ratio: 234 / 183;
  }
  .d-card-img {
    aspect-ratio: 232 / 139;
  }
  .d-card-body {
    padding: 0 2vw;
  }
  .d-arrow {
    display: flex;
  }
}

/* ====== exchange 页面 ====== */
.exch-section {
  width: 100%;
}
.exch-body {
  width: var(--w-contwnt);
  max-width: var(--w-contwnt);
  margin: auto;
}

/* activity 外层包装容器（始终存在于 DOM） */
.activity-carousel-wrap {
  width: 100%;
}

/* 栏目标题 */
.exch-title-wrap {
  height: 100%;
  
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-exch-t-1 {
  background: url(./s-bd-1.png);
  background-position: bottom;
  background-size: 100%;
  background-repeat: no-repeat;
}
.bg-exch-t-2 {
  background: url(./s-bd-2.png);
  background-position: bottom;
  background-size: 100%;
  background-repeat: no-repeat;
}
.exch-title-text {
  font-size: var(--fs-s-subtitle);
  font-weight: 700;
  color: var(--c-title);
}

/* 活动展示卡片 */
.activity-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.activity-card {
  width: 48.33%;
  aspect-ratio: 580 / 507;
  background: #fff;
  border-radius: calc(var(--bdr-c));
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.35s ease, transform 0.3s ease;
  margin-bottom: 2.66%;
  padding: 1% 1%;
  box-sizing: border-box;
}
.activity-card-wrap {
  display: flex;
  border-radius: calc(var(--bdr-c) * 0.8);
  overflow: hidden;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.activity-card:hover {
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.3);
  transform: translateY(-3px);
}
.activity-card-img {
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
}
.activity-card-img-inner {
  width: 100%;
  aspect-ratio: 567 / 274;
  display: block;
}
.activity-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.activity-card:hover .activity-card-img img {
  transform: scale(1.05);
}
.activity-card-body {
  width: 100%;
  margin-top: 4.48%;
  aspect-ratio: 567 / 174;
  display: flex;
  flex-direction: column;
  padding: 3% 4% 3%;
}
.activity-card-title {
  font-size: var(--fs-s-subtitle);
  font-weight: 700;
  color: var(--c-title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-card-desc {
  flex: 1;
  font-size: var(--fs-s-p);
  color: #777;
  line-height: 1.7;
  margin: 2% 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-card-link {
  align-self: flex-end;
  font-size: var(--fs-s-p);
  color: var(--bg-btn);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 在线投稿 */
.submission-wrap {
  width: 100%;
  aspect-ratio: 1200 / 530;
  background: linear-gradient(to bottom, #550df7, #3b82f6);
  background-image: url(./exch-s-bg-b.png);
  background-position: bottom;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: var(--bdr-c);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 1% 1%;
  box-sizing: border-box;
}
.submission-top {
  display: flex;
  align-items: center;
  gap: 1.5%;
  flex-shrink: 0;
  padding-bottom: 2%;
  border-bottom: 1px solid transparent;
  /*padding: 1% 2.5% 1% 3.33%;*/
  overflow: hidden;
}
.submission-top .submission-title-wrap {
  width: 89.16%;
  aspect-ratio: 1070 / 64;
  display: flex;
  align-items: center;
  margin-left: 2.5%;
}
.submission-icon {
  height: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background-color: var(--c-bg);
  border-radius: var(--bdr-c);
  display: flex;
  align-items: center;
  justify-content: center;
}
.submission-icon img {
  display: block;
  width: 60%;
  height: 60%;
}
.submission-top-title {
  font-size: calc(var(--fs-s-subtitle) * 0.8);
  font-weight: 700;
  color: var(--c-li);
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.1vw 2vw;
}
.submission-top-title .desc {
  font-size: var(--fs-s-p);
  font-weight: normal;
  letter-spacing: 0.015em;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis ;
  opacity: 0.8;
}
.submission-top-btn-1 {
  width: 14%;
  aspect-ratio: 168 / 56;
  background-color: var(--c-bg);
  font-size: calc(var(--fs-s-subtitle) * 0.8);
  gap: 0.2vw;
  color: var(--c-title);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--bdr-s);
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis ;
}
.submission-top-btn {
  width: 7%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 0.4vw;
  background-color: var(--c-bg);
  border-radius: var(--bdr-s);
  margin-right: 1.66%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.submission-top-btn:hover {
  background: #1558c2;
}
.submission-body {
  width: 91.66%;
  flex: 1;
  /*aspect-ratio: 1200 / 430;*/
  display: flex;
  flex-direction: column;
  padding-top: 2%;
  overflow: hidden;
  
}
.line-ic {
  width: calc(var(--fs-s-p) * 1.8);
  height: calc(var(--fs-s-p) * 1.8);
  font-size: var(--fs-s-p);
  display: flex;
  align-items: center;
  justify-content: center;
  
  
  color: var(--c-li);
  margin-right: 0.5em;
}
.line-ic span {
  width: 1.2em;
  height: 1.2em;
  background-color: var(--c-title);
  border-radius: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.submission-body-title {
  font-size: calc(var(--fs-s-subtitle) * 0.85);
  font-weight: 700;
  line-height: 1.0;
  color: var(--c-title);
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.submission-body-desc {
  font-size: var(--fs-s-sm);
  color: var(--c-text);
  margin-left: 0.5em;
  opacity: 0.8;
  position: relative;
  top: 0.4em;
}
.submission-rules {
  width: 100%;
  aspect-ratio: 1100 / 267;
  font-size: var(--fs-s-p);
  color: var(--c-text);
  line-height: 2;
  overflow-y: auto;
  line-height: 1.8;
}
.submission-rules .line-ic {
  width: calc(var(--fs-s-p) * 1.8);
  height: calc(var(--fs-s-p) * 1.8);
}
.submission-rules .rules-line {
  display: flex;
}
.rules-line p {
  flex: 1;
  overflow: hidden;
  margin-bottom: 1.2%;
}
.mobile-100 {
  width: 100%;
  display: none;
}
/* exchange 移动端 */
@media (width <= 768px) {
  .exch-title-wrap {
    aspect-ratio: 343 / 40;
  }
  .activity-grid {
    grid-template-columns: 1fr;
    gap: 3%;
  }
  .activity-card {
    aspect-ratio: 343 / 380;
  }
  .activity-card-img-inner {
    aspect-ratio: 164 / 79;
  }
  .activity-card-body {
    aspect-ratio: 164 / 88;
  }
  .submission-wrap {
    aspect-ratio: 343 / 361;
    background-image: url(./exch-s-bg-sm.png);
  }
  .submission-wrap .ah110 {
    aspect-ratio: 343 / 122
  }
  .submission-top .submission-title-wrap {
    width: 61.22%;
    aspect-ratio: 210 / 92;
    flex-wrap: wrap;
  }
  .submission-top-title {
    width: 78.5%;
    height: auto;
    aspect-ratio: 165 / 51;
  }
  .submission-icon {
    width: 21.5%;
    height: auto;
    aspect-ratio: 45 / 51;
  }
  .mobile-100{
    display: block;
  }
  .submission-top-btn-1 {
    width: 40%;
    aspect-ratio: 84 / 28;
  }
  .submission-top-btn {
    width: 26.82%;

  }
  .submission-body {
    aspect-ratio: 343 / 240;
  }
  .submission-top {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3%;
  }
  .submission-top-btn {
    padding: 2% 4%;
  }
  .submission-rules{
    aspect-ratio: 315 / 192;
  }
}

/* exchange 活动轮播 <= 700px：2行2列滑动查看 */
@media (width <= 700px) {
  .activity-grid {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 343 / 390;
  }
  .activity-grid > .activity-grid-page {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 3%;
    padding: 2%;
    box-sizing: border-box;
    transition: transform 0.45s ease, opacity 0.35s ease;
  }
  .activity-grid > .activity-grid-page > .activity-card {
    aspect-ratio: 166 / 190;
    margin-bottom: 0;
    width: 100%;
  }
  .activity-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    opacity: 0;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d0d7e2;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    color: var(--bg-btn);
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    user-select: none;
    transition: background 0.2s;
  }
  .activity-arrow:hover {
    background: rgba(255, 255, 255, 1);
  }
  .activity-arrow-prev { left: 6px; }
  .activity-arrow-next { right: 6px; }

  /* dots 指示器（包装容器内、grid 下方） */
  .activity-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
  }
  .activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(28, 79, 190, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
  }
  .activity-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--bg-btn);
  }
}

/* ====== 滚动渐入动画 ====== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 移动端减弱动画幅度 */
@media (width <= 768px) {
  .reveal {
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}

/* TRS enhancements retained from the responsive template version. */
.display-card-li {
  min-width: 0;
  transition: color 0.2s ease;
}
.display-card-li:hover,
.display-card-li:focus-visible {
  color: var(--c-title);
}
.display-card-li-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Keep the first rendered homepage card visible before scripts initialize. */
.reveal { opacity: 1; transform: none; }
.reveal-visible { opacity: 1; transform: none; }
.banner-carousel-track > .carousel-card-item {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.banner-carousel-track > .carousel-card-item:first-child {
  opacity: 1;
  z-index: 2;
}

.home-platform-friend-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.home-platform-friend-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}
.home-platform-friend-band > .home-platform-matrix-section,
.home-platform-friend-band > .section-friend {
  position: relative;
  z-index: 1;
  background: transparent;
}

/* Plain-text footer links matching the supplied compact layout. */
.section-friend {
  aspect-ratio: auto;
  padding-top: 1.1vw;
  padding-bottom: 1.4vw;
}
.section-friend .section-title-wrap {
  aspect-ratio: auto;
  min-height: 70px;
}
.section-friend .display-title {
  flex: 0 0 auto;
}
.section-friend .section-title-img {
  width: 52px;
  flex: 0 0 52px;
}
.friend-inline-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1.6vw;
  margin-left: 4.5vw;
  min-width: 0;
}
.friend-inline-link {
  color: var(--c-title);
  font-size: var(--fs-s-p);
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s ease;
}
.friend-inline-link:hover,
.friend-inline-link:focus-visible {
  color: #2b8adf;
}
@media (max-width: 768px) {
  .section-friend {
    padding-top: 10px;
    padding-bottom: 12px;
  }
  .section-friend .section-title-wrap {
    min-height: 58px;
    padding-left: 0;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .section-friend .display-title {
    flex: 0 0 100%;
    min-height: 30px;
  }
  .section-friend .section-title-img {
    width: 30px;
    flex-basis: 30px;
  }
  .friend-inline-links {
    flex: 0 0 100%;
    margin: 7px 0 0;
    justify-content: space-between;
    gap: 7px 12px;
    flex-wrap: wrap;
  }
  .friend-inline-link {
    font-size: 12px;
  }
}
