/* ============================================================
   微信小程序开发页面专属样式
   模板文件：page-csxiaochengxu.php
   资源目录：/wp-content/themes/zhizhikj/static/csxcx/
   ============================================================ */

/* ============================================================
   1. Hero 顶部
   ============================================================ */
.sw-title-sep {
  display: inline-block;
  margin: 0 14px;
  color: var(--c-brand-hover);
  font-weight: 400;
}

.sw-hero-headline {
  margin: clamp(20px, 8.33vw, 160px) 0 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 1px;
  color: var(--c-grey-dark);
}
.sw-hero-headline-key {
  font-weight: 700;
  color: var(--c-text-2);
}
.sw-hero-headline--brand,
.sw-hero-headline--brand .sw-hero-headline-key {
  color: var(--c-brand);
}

#sw-hero .news-hero-desc { margin-top: 20px; }

#sw-hero .news-hero-img {
  top: 60%;
  bottom: auto;
  right: clamp(0px, 3vw, 20px);
  transform: translateY(-50%);
  width: clamp(380px, 42vw, 868px);
  height: auto;
  z-index: 2;
}
@media (max-width: 1199px) {
  #sw-hero .news-hero-img { top: 45%; }
}
#sw-hero.sg-hero .news-hero-img {
  top: 55%;
  width: clamp(289px, 60vw, 1136px);
  right: clamp(-20px, 3vw, 10px);
}
#sw-hero.sp-hero .news-hero-img {
  top: 55%;
  width: clamp(217px, 60vw, 765px);
  right: clamp(20px, 8vw, 200px);
}
@media (max-width: 991.98px) {
  .sw-title-sep { margin: 0 8px; }
  #sw-hero .news-hero-img {
    top: 12%;
    right: -10%;
    transform: none;
    width: clamp(300px, 70vw, 520px);
  }
  #sw-hero.sg-hero .news-hero-img { top: 30%; right: -10%; }
  #sw-hero.sp-hero .news-hero-img { top: 20%; right: 0; }
  .sw-hero-headline { margin: 24px 0 0; }
}
@media (max-width: 1199px) {
  #sw-hero .news-hero-img { top: 17%; }
}

#sw-hero {
  background: url('../static/csxcx/sw-hero-bg.png') top center no-repeat;
  background-size: contain;
  overflow: hidden;
  padding: 220px 0 0;
}
@media (max-width: 1199px) {
  #sw-hero { padding: 120px 0 0; }
}
@media (max-width: 575px) {
  #sw-hero { padding: 80px 0 0; }
}
#sw-hero .container { position: relative; z-index: 5; }

#sw-hero .news-hero-eyebrow.sw-hero-h1 {
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.1;
  color: #231815;
  letter-spacing: 1px;
}
#sw-hero .news-hero-title.sw-hero-uiux {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 32px);
  letter-spacing: 0.5px;
  color: var(--c-brand);
}
#sw-hero .news-hero-title.sw-hero-uiux br { display: none; }
#sw-hero .news-breadcrumb { margin-top: 20px; }
#sw-hero.sg-hero .news-breadcrumb { margin-top: 24px; }
#sw-hero.sp-hero .news-breadcrumb { margin-top: 24px; }
@media (max-width: 991.98px) {
  #sw-hero .news-breadcrumb,
  #sw-hero.sg-hero .news-breadcrumb,
  #sw-hero.sp-hero .news-breadcrumb { margin-top: 150px; }
  #sw-hero .news-hero-title.sw-hero-uiux {
    margin: 6px 0 0;
    gap: 7px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  #sw-hero .news-hero-title.sw-hero-uiux br { display: block; }
}

#sw-hero .sw-hero-headline {
  color: #222;
  font-size: clamp(16px, 1.8vw, 24px);
}
#sw-hero .sw-hero-headline-key { color: var(--c-brand); }
#sw-hero .news-hero-desc { font-size: 18px; line-height: 1.6; }
@media (max-width: 991.98px) {
  #sw-hero .sw-hero-headline-val { display: block; }
}
@media (max-width: 575px) {
  #sw-hero {
    background: url('../static/csxcx/sw-hero-bg-mobile.png') top center no-repeat;
    background-size: contain;
  }
  #sw-hero .news-hero-desc { font-size: 14px; }
}

.sw-hero-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.sw-hero-pills-prefix {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 1px;
  margin-right: 4px;
}
.sw-hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--c-brand);
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 500;
  backdrop-filter: blur(6px);
}

/* ============================================================
   2. 服务简介
   ============================================================ */
.sw-app-intro {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}
@media (max-width: 575px) {
  .sw-app-intro { padding: 0 0 60px; }
}
.sw-app-intro-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 991.98px) {
  .sw-hero-pills { gap: 8px; }
  .sw-hero-pill { font-size: var(--fs-xs); padding: 6px 14px; }
  .sw-app-intro-layout { grid-template-columns: 1fr; gap: 60px; }
}

.sw-app-intro-deco {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sw-app-intro-photo {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}
.sw-app-intro-copy { padding-left: 16px; }
.sw-app-intro-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--c-text-2);
  margin: 0 0 16px;
  letter-spacing: 1px;
}
.sw-app-intro-title span { color: var(--c-brand); }
.sw-app-intro-sub {
  font-size: var(--fs-caption);
  line-height: 1.85;
  color: var(--c-divider);
  margin: 0 0 32px;
}
@media (max-width: 575.98px) {
  .sw-app-intro-title, .sw-app-cross-title, .sw-secure-title {
    font-size: var(--fs-lg);
  }
}

.sw-bullet-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.sw-bullet-row {
  width: calc(50% - 9px);
  display: grid;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 24px;
  background: var(--c-bg-white);
  border: 1px solid var(--c-bg-page);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  background: linear-gradient(-33deg, var(--c-brand) 0%, rgba(255, 255, 255, 0) 6%);
}
.sw-bullet-body { display: flex; flex-direction: column; gap: 4px; }
.sw-bullet-body strong {
  font-size: var(--fs-sm);
  color: var(--c-brand);
  font-weight: 700;
  transition: all 0.35s ease-in-out;
}
.sw-bullet-row:hover .sw-bullet-body strong { color: var(--c-brand-hover); }
.sw-bullet-body span {
  font-size: var(--fs-xs);
  color: var(--c-divider);
  line-height: 1.7;
}

/* ============================================================
   3. 行业范例
   ============================================================ */
.sw-secure {
  position: relative;
  padding: 8vw 0 60px;
  color: var(--c-text-2);
  background-image: url('../static/csxcx/app-dev-bg.png');
  background-position: top left;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (max-width: 991px) {
  .sw-secure { padding: 0 0 60px; }
}
.sw-secure-head { text-align: center; margin-bottom: 40px; }
.sw-secure-title .accent { color: var(--c-brand); }
.sw-secure-title {
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: 1px;
}
.sw-secure-sub {
  font-size: var(--fs-md);
  line-height: 1.5;
  color: #fff;
  margin: 0;
}
@media (max-width: 991px) {
  .sw-secure-title { color: #000; }
  .sw-secure-sub { color: #000; }
}
@media (max-width: 575.98px) {
  .sw-secure-sub { font-size: var(--fs-sm); }
}

#app_card_list_block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.app_card_list {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: var(--sh-card);
  padding: 24px 26px;
  backdrop-filter: blur(4px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (max-width: 767px) {
  .app_card_list { padding: 10px 15px; }
}
.app_card_list:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-strong);
}
.app_card_list_title_block {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
@media (max-width: 767px) {
  .app_card_list_title_block { padding-right: 30px; }
}
.app_card_list_icon_block {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #E8E8E8;
  overflow: hidden;
}
@media (max-width: 575px) {
  .app_card_list_icon_block { width: 26px; height: 26px; }
}
.app_card_list_icon { width: 60%; height: 60%; object-fit: contain; }
.app_card_list_title {
  margin: 0;
  scroll-margin-top: 160px;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.app_card_list_title_link { color: inherit; text-decoration: none; }
.app_card_list_title_link:hover {
  color: var(--c-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.app_card_list_mobile_btn {
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  transition: all 0.3s ease;
  display: none;
}
@media (max-width: 767px) {
  .app_card_list_mobile_btn { display: block; }
}
.app_card_list_mobile_btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 0%;
  width: 17px; height: 2px;
  transform: translate(0%, -50%) rotate(45deg);
  background: var(--c-brand);
}
.app_card_list_mobile_btn::after {
  content: '';
  position: absolute;
  top: 50%; right: 0%;
  width: 18px; height: 2px;
  transform: translate(0%, -50%) rotate(-45deg);
  background: var(--c-brand);
}
.app_card_list.open .app_card_list_mobile_btn::before {
  transform: translate(0%, -50%) rotate(-45deg);
}
.app_card_list.open .app_card_list_mobile_btn::after {
  transform: translate(0%, -50%) rotate(45deg);
}
.app_card_list_chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
  transition: all 0.3s ease;
}
@media (max-width: 767px) {
  .app_card_list_chips { display: none; }
  .app_card_list.open .app_card_list_chips { display: flex; }
}
.app_card_chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 500;
  color: #6b6b6b;
  line-height: 1.4;
}
@media (max-width: 991.98px) {
  #app_card_list_block { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 767px) {
  #app_card_list_block { grid-template-columns: 1fr; }
}
.app_card_bottom_btn_block { text-align: center; padding-top: 65px; }
.app_card_bottom_btn {
  display: inline-flex;
  padding: 12px 46px;
  background: linear-gradient(90deg, var(--c-brand) 22%, #EA9604 100%);
  gap: 20px;
  color: #fff;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.app_card_bottom_btn:hover { color: #fff; transform: translateY(-2px); }

/* ============================================================
   4. 技术架构（深色带）—— 只提亮文字，不动背景
   ============================================================ */
.sw-tech {
  position: relative;
  padding: 60px 0 70px;
  background-color: #0d0d0d;
  background-image: url('../static/csxcx/app-tech-bg.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.sw-tech-head { text-align: center; margin-bottom: 48px; }
.sw-tech-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 18px;
  letter-spacing: 1px;
}
.sw-tech-title .accent { color: var(--c-brand); }
.sw-tech-sub {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.sw-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 880px;
  margin: 0 auto;
}
.sw-tech-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.sw-tech-card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(237, 109, 31, 0.6);
}
.sw-tech-card-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.sw-tech-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
  filter: brightness(1.1);
}
.sw-tech-card-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}
.sw-tech-card-desc {
  font-size: var(--fs-xs);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
@media (max-width: 767px) {
  .sw-tech-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   5. 开发流程
   ============================================================ */
.sw-flow { padding: 60px 0; }
.sw-flow-head { text-align: center; margin-bottom: 56px; }
.sw-flow-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--c-text-2);
  margin: 0 0 18px;
  letter-spacing: 1px;
}
.sw-flow-title .accent { color: var(--c-brand); }
.sw-flow-sub {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--c-grey-dark);
  margin: 0;
}
.sw-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  position: relative;
}
.sw-flow-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 7.14%;
  right: 7.14%;
  height: 2px;
  background: var(--c-brand);
  opacity: 0.5;
  z-index: 0;
}
.sw-flow-step {
  flex: 1;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}
.sw-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  box-shadow: 0 6px 14px rgba(237, 109, 31, 0.35);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.sw-flow-num::before {
  width: 80%;
  height: 80%;
  border-radius: 50%;
  position: absolute;
  background-color: var(--c-brand);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: '';
  z-index: -1;
}
.sw-flow-step-title {
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  color: var(--c-text-2);
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}
.sw-flow-step-desc {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--c-grey-dark);
  margin: 0;
}
@media (max-width: 991.98px) {
  .sw-flow-steps { flex-wrap: wrap; gap: 36px 0; }
  .sw-flow-steps::before { display: none; }
  .sw-flow-step { flex: 0 0 25%; }
}
@media (max-width: 575px) {
  .sw-flow-step { flex: 0 0 50%; }
}

/* ============================================================
   6. FAQ（紧凑型，一排 2 个）
   ============================================================ */
.sw-qa {
  padding: 70px 0 80px;
  position: relative;
}
.sw-qa-bg {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.sw-qa-block {
  width: 100%;
  height: auto;
  max-height: none;
  overflow: visible;
}
.sw-qa-head { text-align: center; margin-bottom: 40px; }
.sw-qa-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
  letter-spacing: 1px;
}
.sw-qa-eyebrow {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  color: #ED6D1F;
  display: inline-block;
  margin-left: 8px;
  letter-spacing: 0;
}
.sw-qa-sub {
  font-size: 14px;
  color: #666;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.sw-qa-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .sw-qa-list { grid-template-columns: 1fr; }
}

.faq-item {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
  transition: border-color .25s ease, box-shadow .25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.faq-item:hover {
  border-color: rgba(237, 109, 31, 0.4);
  box-shadow: 0 4px 16px rgba(237, 109, 31, 0.08);
}
.faq-item[open] {
  border-color: #ED6D1F;
  box-shadow: 0 6px 20px rgba(237, 109, 31, 0.12);
}
.faq-item summary {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  min-height: 0;
}
.faq-item summary::-webkit-details-marker { display: none; }

.q-badge {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(237, 109, 31, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.q-badge span { display: none; }
.q-badge::after {
  content: "Q";
  font-size: 12px;
  font-weight: 700;
  color: #ED6D1F;
}
.faq-item[open] .q-badge { background: #ED6D1F; }
.faq-item[open] .q-badge::after { color: #fff; }

.q-text {
  flex: 1;
  font-size: 14.5px;
  font-weight: 500;
  color: #222;
  margin: 0;
  line-height: 1.5;
}
.faq-item[open] .q-text { color: #ED6D1F; }

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f5f5f5;
  border: none;
  position: relative;
  transition: all .3s ease;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: #666;
  border-radius: 1px;
  transition: all .3s ease;
}
.faq-toggle::before {
  width: 10px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-toggle::after {
  width: 1.5px; height: 10px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-toggle { background: #ED6D1F; }
.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after { background: #fff; }
.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-a {
  padding: 0 18px 16px 52px;
  margin: 0;
  background: transparent;
  border-radius: 0;
  display: block;
  color: #555;
}
.a-badge { display: none; }
.faq-a p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #555;
  margin: 0;
  letter-spacing: 0;
}
@media (max-width: 767px) {
  .faq-item summary { padding: 14px 14px; }
  .q-text { font-size: 14px; }
  .faq-a { padding: 0 14px 14px 48px; }
}

/* ============================================================
   7. Hero H1 单独尺寸
   ============================================================ */
#sw-hero .news-hero-eyebrow.app-hero-h1 {
  font-size: 40px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  #sw-hero .news-hero-eyebrow.app-hero-h1 { font-size: 25px; }
}

/* ============================================================
   8. 小程序资讯
   ============================================================ */
.sw-news {
  padding: 60px 0;
  background: var(--c-bg-page);
}
.sw-news-head { text-align: center; margin-bottom: 48px; }
.sw-news-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--c-text-2);
  margin: 0 0 18px;
  letter-spacing: 1px;
}
.sw-news-title .accent { color: var(--c-brand); }
.sw-news-sub {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--c-grey-dark);
  margin: 0 auto;
  max-width: 640px;
}
.sw-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.sw-news-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
  transition: transform .35s ease, box-shadow .35s ease;
}
.sw-news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
}
.sw-news-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f0f0f0;
}
.sw-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sw-news-item:hover .sw-news-thumb img { transform: scale(1.06); }
.sw-news-body { padding: 24px; }
.sw-news-date {
  font-size: 13px;
  color: #999;
  letter-spacing: .5px;
}
.sw-news-name {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin: 10px 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-news-name a {
  color: var(--c-text-2);
  text-decoration: none;
  transition: color .25s;
}
.sw-news-name a:hover { color: var(--c-brand); }
.sw-news-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #777;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-news-more { text-align: center; }
.sw-news-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: 1px solid var(--c-brand);
  border-radius: 999px;
  color: var(--c-brand);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}
.sw-news-more-btn:hover {
  background: var(--c-brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(237, 109, 31, .3);
}
.sw-news-empty {
  text-align: center;
  color: #999;
  font-size: 15px;
  padding: 60px 0;
  grid-column: 1 / -1;
}
@media (max-width: 991.98px) {
  .sw-news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 575.98px) {
  .sw-news-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   9. Footer 5 列 + 边框
   ============================================================ */
.site-footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, .7);
  padding: 60px 0 0;
  margin-top: 0;
}
.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-brand { text-align: center; margin-bottom: 40px; }
.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo-image { width: 180px; height: auto; display: block; }
.footer-desc {
  max-width: 760px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .5);
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}
.footer-col {
  padding: 28px 24px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.footer-col:last-child { border-right: none; }
.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: .5px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  padding: 5px 0;
  text-decoration: none;
  transition: color .2s;
  line-height: 1.6;
}
.footer-col a:hover { color: #ED6D1F; }
.footer-col p {
  font-size: 14px;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 8px;
  line-height: 1.7;
}
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, .4);
  line-height: 1.8;
}
.footer-copyright a {
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
}
.footer-copyright a:hover { color: #ED6D1F; }
.back-to-top-btn {
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s;
}
.back-to-top-btn:hover {
  background: #ED6D1F;
  border-color: #ED6D1F;
  transform: translateY(-2px);
}
@media (max-width: 991.98px) {
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
  .footer-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .footer-col:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, .1);
  }
  .footer-col:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 575.98px) {
  .footer-columns { grid-template-columns: 1fr; }
  .footer-col { border-right: none !important; }
  .footer-col:last-child { border-bottom: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   10. 底部空白修复
   ============================================================ */
.main-content,
main {
  min-height: auto !important;
  padding-bottom: 0 !important;
}