/* ================================================
   1. CSS Variables & Reset
   ================================================ */
:root {
  /* 背景色 */
  --color-bg: #0d0d0d;
  --color-bg-card: #1a1a1a;
  --color-bg-elevated: #252525;
  --color-bg-dark: #0a0a0a;
  /* 文字色 */
  --color-text: #FFFFFF;
  --color-text-muted: #999999;
  --color-text-dim: #666666;
  /* 强调色 */
  --color-accent: #F5C518;
  --color-brand: #1A6DFF;
  --color-danger: #FF4444;
  /* 边框 */
  --color-border: #333333;
  /* 间距 */
  --section-gap: 60px;
  --card-gap: 20px;
  --max-width: 1400px;
  /* 圆角 */
  --radius-card: 4px;
  --radius-btn: 2px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: "PingFang SC", "Microsoft YaHei", Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea {
  font-family: inherit;
}

/* ================================================
   2. Typography
   ================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 30px;
}

.section-title a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-muted);
  float: right;
}

.section-title a:hover {
  color: var(--color-accent);
}

/* ================================================
   3. Navigation
   ================================================ */
.sw-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

/* 顶部 Logo 栏 - 仅移动端显示 */
.sw-top-bar {
  display: none;
}

.sw-top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sw-menu-toggle {
  flex-shrink: 0;
}

.sw-logo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sw-mobile-search {
  flex-shrink: 0;
}

/* 移动端搜索按钮 */
.sw-mobile-search {
  display: none;
}

.sw-mobile-search .tool-btn {
  color: var(--color-text);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.sw-mobile-search .tool-btn:hover {
  color: var(--color-accent);
}

/* 移动端汉堡菜单 */
.sw-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.sw-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

.sw-logo a {
  display: block;
}

.sw-logo img {
  height: 50px;
  width: auto;
}

/* 导航栏 */
.sw-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}

/* PC端导航栏Logo */
.sw-nav-logo {
  flex-shrink: 0;
  margin-right: 32px;
}

.sw-nav-logo a {
  display: block;
}

.sw-nav-logo img {
  height: 36px;
  width: auto;
}

.sw-nav {
  display: flex;
  align-items: center;
  flex: 1;
}

.sw-nav > ul {
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
}

.sw-nav > ul > li {
  display: flex;
  align-items: stretch;
  position: relative;
}

.sw-nav > ul > li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
}

.sw-nav a {
  display: flex;
  align-items: center;
  font-family: DINNext, Matterhorn, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.25px;
  line-height: 24px;
  text-align: center;
  -webkit-text-size-adjust: 100%;
  text-transform: capitalize;
  color: rgba(255, 255, 255, 0.75);
  padding: 0 20px;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.sw-nav a::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--color-accent);
  transition: width 0.25s ease;
}

.sw-nav a:hover::after,
.sw-nav a.active::after {
  width: 100%;
}

.sw-nav a:hover,
.sw-nav a.active {
  color: var(--color-text);
}

/* 下拉子菜单 */
.sw-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #343434;
  border: none;
  border-radius: 0;
  min-width: 180px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, max-height 0.3s ease;
  box-shadow: 0 4px 2px -3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.sw-nav li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sw-nav .sub-menu a {
  display: block;
  padding: 14px 20px;
  text-transform: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sw-nav .sub-menu a::after {
  display: none;
}

.sw-nav .sub-menu a:last-child {
  border-bottom: none;
}

.sw-nav .sub-menu a:hover {
  color: var(--color-brand);
  background: rgba(255, 255, 255, 0.03);
}

/* 工具图标 */
.sw-header-tools {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* PC 端搜索按钮 */
.sw-desktop-search {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.sw-desktop-search .tool-btn {
  color: var(--color-text);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.sw-desktop-search .tool-btn:hover {
  color: var(--color-accent);
}

.sw-header-tools .tool-btn {
  color: var(--color-text);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.sw-header-tools .tool-btn:hover {
  color: var(--color-accent);
}

/* 语言下拉菜单 */
.sw-lang-dropdown {
  position: relative;
}
.sw-lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
}
.sw-lang-current {
  font-size: 0.75rem;
  text-transform: uppercase;
}
.sw-lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  min-width: 120px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.sw-lang-dropdown:hover .sw-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sw-lang-item {
  display: block;
  padding: 8px 16px;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.sw-lang-item:hover {
  background: var(--color-bg);
  color: var(--color-accent);
}
.sw-lang-item.active {
  color: var(--color-accent);
  font-weight: 500;
}

/* 移动端汉堡菜单 */
.sw-menu-toggle {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.sw-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

/* 搜索覆盖层 */
.sw-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 13, 13, 0.98);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sw-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sw-search-overlay .search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  color: var(--color-text);
  cursor: pointer;
}

.sw-search-form {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
}

.sw-search-form input {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-text);
  font-size: 2rem;
  outline: none;
  text-align: center;
}

.sw-search-form input::placeholder {
  color: var(--color-text-dim);
}

.sw-search-form input:focus {
  border-bottom-color: var(--color-accent);
}

/* ================================================
   4. Hero / Banner
   ================================================ */
.sw-hero {
  padding-top: 60px; /* PC端 header height: nav only */
  height: 70vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.sw-hero .swiper {
  height: 100%;
}

.sw-hero-slide {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sw-hero-media {
  position: relative;
  flex: 1;
  min-height: 0;
}

.sw-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-hero-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-hero-slide .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(13, 13, 13, 0.9) 0%,
    rgba(13, 13, 13, 0.4) 50%,
    rgba(13, 13, 13, 0.2) 100%
  );
}

.sw-hero-slide .hero-content {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 767px) {
  .sw-hero-slide .hero-content {
    position: static;
    background: var(--color-bg-dark);
    padding: 24px 20px 60px;
    max-width: 100%;
    text-align: center;
  }
}

.sw-hero-slide .hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.sw-hero-slide .hero-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 24px;
}

.sw-hero-slide .hero-cta {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-btn);
  transition: all 0.3s ease;
}

.sw-hero-slide .hero-cta:hover {
  background: var(--color-text);
  color: var(--color-bg);
  transform: translateY(-2px);
}

/* Hero 分页圆点 */
.sw-hero .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 1;
}

.sw-hero .swiper-pagination-bullet-active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* Hero 箭头 */
.sw-hero .swiper-button-prev,
.sw-hero .swiper-button-next {
  color: var(--color-text);
  width: 48px;
  height: 48px;
  background: rgba(13, 13, 13, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sw-hero .swiper-button-prev::after,
.sw-hero .swiper-button-next::after {
  font-size: 1.25rem;
}

/* 内页 Banner */
.sw-page-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
  padding-top: 60px; /* PC端 header height */
}

.sw-page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-page-banner .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(13, 13, 13, 1) 0%,
    rgba(13, 13, 13, 0.6) 50%,
    rgba(13, 13, 13, 0.3) 100%
  );
}

.sw-page-banner .banner-content {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  padding: 0 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.sw-page-banner .banner-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 4px;
}

/* ================================================
   5. Cards Grid
   ================================================ */
.sw-section {
  padding: var(--section-gap) 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.sw-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--card-gap);
}

.sw-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.sw-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
}

/* 卡片基类 */
.sw-card {
  display: block;
  background: var(--color-bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.sw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sw-card:hover .sw-card-img img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.sw-card:hover .sw-card-title {
  color: var(--color-accent);
}

.sw-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.sw-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.sw-card-body {
  padding: 16px;
}

.sw-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.sw-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sw-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 视频卡片时长标签 */
.sw-card-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 2px;
}

/* 通用 See All / View All 按钮 */
.sw-see-all {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 32px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-btn);
  transition: all 0.3s ease;
}

.sw-see-all:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* 加载更多按钮 */
.sw-load-more {
  display: block;
  width: 200px;
  margin: 40px auto 0;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  cursor: pointer;
  border-radius: var(--radius-btn);
  transition: all 0.3s ease;
}

.sw-load-more:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ================================================
   6. Content Sections
   ================================================ */
/* 分类过滤器 */
.sw-filter-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.sw-filter-bar .filter-btn {
  padding: 8px 20px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sw-filter-bar .filter-btn:hover,
.sw-filter-bar .filter-btn.active {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

/* 推荐轮播 */
.sw-carousel-section {
  padding: var(--section-gap) 20px;
  overflow: hidden;
}

.sw-carousel-section .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto 24px;
}

.sw-carousel .swiper-slide {
  width: 300px;
  margin-right: var(--card-gap);
}

/* 探索更多 CTA 区 */
.sw-explore-section {
  background: var(--color-bg-card);
  padding: var(--section-gap) 20px;
}

.sw-explore-section .sw-grid-3 {
  max-width: var(--max-width);
  margin: 0 auto;
}

.sw-explore-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-card);
}

.sw-explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sw-explore-card:hover img {
  transform: scale(1.05);
}

.sw-explore-card .explore-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(13, 13, 13, 0.9) 0%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.sw-explore-card .explore-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
}

/* ================================================
   7. Detail Pages
   ================================================ */
/* 文章详情页 */
.sw-article-header {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 40px; /* PC端 header height */
  text-align: center;
}

.sw-article-header .article-category {
  font-size: 0.875rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.sw-article-header .article-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.sw-article-header .article-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.sw-article-hero-img {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 60px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.sw-article-hero-img img {
  width: 100%;
  height: auto;
}

.sw-article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 60px;
  color: var(--color-text);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.sw-article-body p {
  margin-bottom: 24px;
}

.sw-article-body img {
  max-width: 100%;
  height: auto;
  margin: 24px auto;
  border-radius: var(--radius-card);
}

.sw-article-body a {
  color: var(--color-accent);
}

.sw-article-body a:hover {
  text-decoration: underline;
}

/* 视频详情页 */
.sw-video-player {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px; /* PC端 header height */
}

.sw-video-player video,
.sw-video-player iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-card);
}

.sw-video-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

.sw-video-info .video-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.sw-video-info .video-meta {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

.sw-video-info .video-desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* 上一篇/下一篇 */
.sw-prev-next {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  border-top: 1px solid var(--color-border);
}

.sw-prev-next .prev-next-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.sw-prev-next .prev-item,
.sw-prev-next .next-item {
  flex: 1;
}

.sw-prev-next .prev-item {
  text-align: left;
}

.sw-prev-next .next-item {
  text-align: right;
}

.sw-prev-next .item-label {
  font-size: 0.75rem;
  color: var(--color-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.sw-prev-next .item-title {
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 500;
}

.sw-prev-next .item-title:hover {
  color: var(--color-accent);
}

/* ================================================
   8. Gallery
   ================================================ */
.sw-gallery {
  padding: 40px 0;
}

.sw-gallery .swiper {
  overflow: visible;
}

.sw-gallery .swiper-slide {
  width: 100%;
  max-width: 1000px;
}

.sw-gallery .swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

.sw-gallery .swiper-button-prev,
.sw-gallery .swiper-button-next {
  color: var(--color-text);
  width: 48px;
  height: 48px;
  background: rgba(13, 13, 13, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sw-gallery .swiper-button-prev::after,
.sw-gallery .swiper-button-next::after {
  font-size: 1.25rem;
}

.sw-gallery .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
}

.sw-gallery .swiper-pagination-bullet-active {
  background: var(--color-accent);
}

/* ================================================
   9. Footer
   ================================================ */
.sw-footer {
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
  padding: 60px 20px 40px;
  color: #fff;
}

.sw-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.sw-footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.sw-social-prompt {
  font-size: 0.8125rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.sw-social-list {
  display: flex;
  justify-content: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sw-social-item a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sw-social-item a:hover {
  color: var(--color-accent);
}

.sw-social-item i,
.sw-social-item svg {
  font-size: 1.875rem;
  width: 30px;
  height: 30px;
}

.sw-social-tiktok a span,
.sw-social-kids a span,
.sw-social-item a span {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sw-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 32px;
}

.sw-footer-links a {
  font-size: 0.875rem;
  color: #fff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.sw-footer-links a:hover {
  color: var(--color-accent);
}

.sw-footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  color: #fff;
}

/* ================================================
   10. Responsive
   ================================================ */
/* 平板端 */
@media (min-width: 768px) and (max-width: 1024px) {
  .sw-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sw-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sw-hero-slide .hero-title {
    font-size: 2.5rem;
  }

  .sw-nav a {
    padding: 0 14px;
    font-size: 12px;
  }
}

/* 移动端 */
@media (max-width: 767px) {
  :root {
    --section-gap: 40px;
  }

  .sw-grid-4,
  .sw-grid-3,
  .sw-grid-2 {
    grid-template-columns: repeat(1, 1fr);
  }

  /* 移动端 Hero 分页器增加底部间距 */
  .sw-hero .swiper-pagination {
    bottom: 16px;
  }

  /* 移动端显示顶部Logo栏 */
  .sw-top-bar {
    display: block;
  }

  /* 隐藏PC端导航栏Logo */
  .sw-nav-logo {
    display: none;
  }

  /* 隐藏导航栏 */
  .sw-header-inner {
    display: none;
  }

  /* 显示移动端汉堡菜单和搜索 */
  .sw-menu-toggle {
    display: flex;
  }

  .sw-mobile-search {
    display: block;
  }

  .sw-mobile-search .tool-btn {
    color: var(--color-text);
    font-size: 1.25rem;
    transition: color 0.3s ease;
  }

  .sw-mobile-search .tool-btn:hover {
    color: var(--color-accent);
  }

  /* 移动端顶部 Logo 栏 */
  .sw-top-bar-inner {
    padding: 12px 20px;
  }

  .sw-logo img {
    height: 36px;
  }

  .sw-hero {
    padding-top: 64px; /* 移动端 header 高度: 12px*2 + 36px + 4px = 64px */
    height: auto;
    min-height: 0;
  }

  .sw-hero-slide .hero-title {
    font-size: 1.75rem;
  }

  .sw-hero-slide .hero-desc {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .sw-page-banner {
    height: 200px;
    padding-top: 64px; /* 移动端 header 高度 */
  }

  .sw-page-banner .banner-title {
    font-size: 2rem;
  }

  .sw-article-header .article-title {
    font-size: 1.75rem;
  }

  .sw-article-header {
    padding: 64px 20px 24px; /* 移动端 header 高度 */
  }

  .sw-video-player {
    padding: 64px 20px 40px; /* 移动端 header 高度 */
  }

  /* 移动端卡片图片更高 */
  .sw-card-img {
    aspect-ratio: 16 / 9;
  }

  /* 移动端卡片横向布局 */
  .sw-card {
    display: flex;
    flex-direction: row;
    gap: 12px;
  }

  .sw-card-img {
    width: 180px;
    flex-shrink: 0;
    aspect-ratio: 16 / 9;
  }

  .sw-card-body {
    flex: 1;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .sw-card-tag {
    font-size: 0.625rem;
    margin-bottom: 4px;
  }

  .sw-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    -webkit-line-clamp: 2;
  }

  .sw-card-desc {
    display: none;
  }

  /* 视频列表中的播放按钮和时长标签调整 */
  .sw-card-duration {
    font-size: 0.625rem;
    padding: 2px 6px;
    bottom: 4px;
    right: 4px;
  }

  .sw-prev-next .prev-next-inner {
    flex-direction: column;
  }

  .sw-prev-next .next-item {
    text-align: left;
  }

  .sw-carousel .swiper-slide {
    width: 280px;
  }
}

/* 移动端全屏菜单 */
.sw-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-bg);
  z-index: 1500;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 80px 40px 40px;
}

.sw-mobile-menu.active {
  right: 0;
}

.sw-mobile-menu .mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: var(--color-text);
  cursor: pointer;
}

.sw-mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.sw-mobile-menu a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  text-transform: uppercase;
}

/* 移动端语言选择 */
.mobile-lang {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.mobile-lang a {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.mobile-lang a.active {
  color: var(--color-accent);
  font-weight: 600;
}
