/* Reset */
    body, h1, h2, h3, p, ul {
      margin: 0;
      padding: 0;
    }

    h1 {
      font-size: 20px;
      color: var(--faq-text);
      text-align: center;
      margin: 10px 0;
      font-weight: 300;
      line-height: 1;
    }
@media (max-width: 768px) {
  h1 {
    font-size: 20px;
  }
}
.main-title {
  font-size: 14px;
  font-weight: 200;
  line-height: 1;
  color: var(--faq-text);
  text-align: left;
  margin: 20px 0;
}

body {
  font-family: 'Arial', sans-serif;
  background:var(--bg-color, linear-gradient(45deg, #01325b, #1f6196));
  color :var(--text-color, #fff);
  line-height: 1.4;
}

/* Header */
.site-header {
  background: var(--header-bg, #181a20);
  color: var(--faq-text);
  padding: 10px 0;
}

.container-header {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

.logo h1 a {
  color: var(--faq-text);
  font-size: 26px;
  text-decoration: none;
}

.nav-menu a {
  color: var(--faq-text);
  margin-left: 20px;
  text-decoration: none;
  font-size: 16px;
}

/* Slider */
.slider {
  overflow: hidden;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.slide-track {
  display: flex;
  width: calc(300%);
  animation: scroll 24s linear infinite;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}

/* Main Container */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 15px;
}

/* Articles List */
.articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.article-card {
  background: linear-gradient(0deg, #153f68, #466ebf);
  border: 2px solid var(--text-color, #fff);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: 0.3s;
  box-shadow: 0 2px 5px var(--text-color, #fff)fffe6;
}

.article-card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.article-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.article-card h2 a {
  color: var(--faq-text);
  text-decoration: none;
}

/* 文章内容页 */
.content {
  background: var(--article-bg, #224b7b);
  padding: 30px;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.content p {
  margin-bottom: 18px;
  font-size: 18px;
  line-height: 1.8;
}

.content a {
  color: var(--faq-text);
  text-decoration: none;
}

.content h2, .content h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: bold;
  color: var(--faq-text);
}

/* Footer */
.site-footer {
  background: var(--header-bg, #121b28);
  color: var(--faq-text);
  text-align: center;
  padding: 20px 0;
  margin-top: 0px;
  font-size: 14px;
}

.container-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 回到顶部按钮（可选） */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background: #3399ff;
  color: var(--faq-text);
  padding: 10px 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 999;
}

.back-to-top:hover {
  background: #007bff;
}

/* 响应式布局（适配手机） */
@media (max-width: 768px) {
  .site-header {
    padding: 5px 0;
  }
  .logo h1 a {
    font-size: 20px;
  }
  .nav-menu {
    display: none;
  }
  .articles-list {
    grid-template-columns: 1fr;
  }
  .content {
    padding: 20px;
  }
}
/* Swiper容器 */
.swiper {
  width: 100%;
  height: auto;
  margin: 20px auto;
  max-width: 1200px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 单个slide */
.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* 左右按钮样式 */
.swiper-button-prev,
.swiper-button-next {
  color: #3399ff;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 10%;
  font-size: 20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: #3399ff;
  color: var(--faq-text);
}

/* 小圆点pagination */
.swiper-pagination-bullet {
  background: #3399ff;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #189e74;
}

.slider-container {
  width: 95%;
  max-width: 800px;
  margin: auto;
  padding: 0px;
}

.swiper {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.logo-img {
  height: 25px;
  width: auto;
  max-width: 100%;
}

.site-header {
  background: var(--header-bg, #265baa);
  padding: 8px 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.25);
}

.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-menu a {
  margin-left: 20px;
  color: var(--faq-text);
  text-decoration: none;
  font-weight: bold;
}

.nav-menu a:hover {
  color: var(--faq-text);
}
.nav-menu {
  display: flex;
  gap: 2px;
}

.nav-menu a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

/* Home按钮 */
.btn-nav {
  background:#3977d1;
  box-shadow: inset 0px 0px 5px var(--text-color, #fff);
  color: var(--faq-text);
}

.btn-nav:hover {
  background: #64cc2f;
  box-shadow: inset 0px 0px 5px var(--text-color, #fff);
  color: var(--faq-text);
}

/* Join按钮（高亮） */
.btn-join {
  background: #64cc2f;
  box-shadow: inset 0px 0px 5px var(--text-color, #fff);
  color: var(--faq-text);
}

.btn-join:hover {
  background: #3977d1;
  box-shadow: inset 0px 0px 5px var(--text-color, #fff);
  color: var(--faq-text);

}
/* 分页按钮 Pagination */
.pagination {
    margin: 30px 0;
    text-align: center;
}

.pagination a {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 14px;
}

.pagination a:hover {
    background: #3d9172;
    color: var(--faq-text);
}

/* 当前页码高亮 */
.pagination a.active {
    background: #ffc107;
    color: var(--faq-text);
}

/* Prev / Next 特别处理 */
.pagination a.prev,
.pagination a.next {
    background: #ddd;
    color: #555;
}

.pagination a.prev:hover,
.pagination a.next:hover {
    background: #0077cc;
    color: var(--faq-text);
}


.marquee-container {
            width: auto;
            overflow: hidden;
            border: 1.5px solid #c4c4c4;
            background: transparent;}
.marquee-text {
            display: inline-block;
            white-space: nowrap;
            animation: marquee 15s linear infinite;
            font-size: 20px;
            color: var(--faq-text);}
@keyframes marquee {
            0%   { transform: translateX(100%);}
            100% { transform: translateX(-100%);}
}



/* ===== FAQ & Accordion Styles (integrated from previous site style) ===== */
.faq-section {
  --faq-bg: rgba(15, 23, 42, 0.85);
  --faq-text: var(--text-color, #fff);
  margin: 40px auto;
  max-width: 960px;
  background: var(--faq-bg);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.faq-section h4 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--faq-text);
  text-align: left;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.95);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.accordion-button {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--faq-text);
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-button::after {
  color: currentColor;
  content: '\25BC';
  font-size: 12px;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.accordion-button.active::after {
  transform: rotate(180deg);
}

.accordion-button:hover {
  background: rgba(56, 189, 248, 0.08);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  background: rgba(15, 23, 42, 0.98);
  transition: max-height 0.25s ease-out, padding 0.25s ease-out;
}

.accordion-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--faq-text);
  margin: 10px 0 14px;
}

.accordion-button.active + .accordion-content {
  padding-top: 4px;
  padding-bottom: 10px;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .faq-section {
  --faq-bg: rgba(15, 23, 42, 0.85);
  --faq-text: var(--text-color, #fff);
    margin: 24px 12px 40px;
    padding: 18px 14px;
  }

  .faq-section h4 {
    font-size: 18px;
  }

  .accordion-button {
    font-size: 14px;
    padding: 10px 14px;
  }

  .accordion-content {
    padding: 0 14px;
  }
}
