/* Base Styles & Typography */
.page-support {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

.page-support__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-support__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #FF8C1A; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-support__section-title--light {
  color: #FFF3E6;
}

.page-support__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF3E6;
}

.page-support__section-description--light {
  color: #FFF3E6;
}

.page-support__article-subtitle {
  font-size: 24px;
  font-weight: 600;
  color: #FFA53A;
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Hero Section */
.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  padding-top: 10px; /* Small top padding for fixed header */
  padding-bottom: 60px;
  background-color: #0D0E12;
  overflow: hidden;
}

.page-support__hero-image {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.page-support__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-support__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: #FFF3E6;
}

.page-support__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-support__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-support__btn-primary,
.page-support__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-support__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  margin-right: 15px;
}

.page-support__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-support__btn-secondary {
  background: #17191F; /* Card BG */
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #A84F0C; /* Border */
}

.page-support__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
  border-color: #FFA53A;
  transform: translateY(-2px);
}

/* Quick Access Section */
.page-support__quick-access-section {
  padding: 60px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-support__topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-support__topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-decoration: none;
  color: #FFF3E6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.page-support__topic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px #FFB04D; /* Glow */
}

.page-support__topic-card img {
  width: 100%;
  
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__topic-card .page-support__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFA53A;
}

.page-support__topic-card p {
  font-size: 15px;
  color: #FFF3E6;
}

/* FAQ Section */
.page-support__faq-section {
  padding: 60px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-support__faq-category {
  margin-bottom: 40px;
}

.page-support__faq-category-title {
  font-size: 28px;
  font-weight: 700;
  color: #FF8C1A;
  margin-bottom: 30px;
  text-align: left;
  border-bottom: 2px solid #A84F0C;
  padding-bottom: 10px;
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
}

details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}

details.page-support__faq-item summary.page-support__faq-question:hover {
  background: rgba(255, 165, 58, 0.1);
}

.page-support__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: rgba(23, 25, 31, 0.8); /* Slightly lighter Card BG */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
  font-size: 15px;
}

/* Contact CTA Section */
.page-support__contact-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-support__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Article Body Section */
.page-support__article-body {
  padding: 60px 0;
  background-color: #0D0E12;
  color: #FFF3E6;
}

.page-support__article-body p {
  margin-bottom: 15px;
  font-size: 16px;
}

/* General Images */
.page-support img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-support__container {
    padding: 0 30px;
  }

  .page-support__section-title {
    font-size: 28px;
  }

  .page-support__hero-description {
    font-size: 18px;
  }

  .page-support__topic-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-support__faq-category-title {
    font-size: 24px;
  }

  .page-support__faq-qtext {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-support__hero-section {
    min-height: 400px;
    padding-top: 10px; /* Small top padding for fixed header */
    padding-bottom: 40px;
  }

  .page-support__hero-image img {
    object-fit: contain !important; /* HERO 移动 object-fit:contain !important */
    aspect-ratio: unset !important; /* aspect-ratio:unset */
    filter: brightness(0.6);
  }

  .page-support__hero-content {
    padding: 15px;
  }

  .page-support__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem); /* Adjust clamp for mobile */
    margin-bottom: 15px;
  }

  .page-support__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* 按钮与按钮容器 */
  .page-support__btn-primary,
  .page-support__btn-secondary,
  .page-support a[class*="button"],
  .page-support a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 0 !important; /* Remove right margin for primary button */
  }

  .page-support__cta-buttons,
  .page-support__button-group,
  .page-support__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* 多个按钮横向排列时，允许换行 */
    gap: 15px !important;
  }

  /* 通用图片与容器 */
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-support__section,
  .page-support__card,
  .page-support__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 (Not applicable for this page, but including for completeness per rules) */
  /* This page does not have a products-grid, so this rule is a placeholder for the general requirement */
  .page-support__products-grid {
    grid-template-columns: 1fr 1fr; /* 2 列×3 行 */
    gap: 15px;
  }
  .page-support__products-section {
    overflow-x: hidden;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-support__section-title,
  .page-support__article-subtitle {
    font-size: 24px;
    text-align: center;
    line-height: 1.3;
  }

  .page-support__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-support__article-body {
    padding: 40px 0;
  }

  .page-support__article-body p {
    font-size: 15px;
  }

  .page-support__topic-grid {
    grid-template-columns: 1fr;
  }

  .page-support__topic-card {
    padding: 20px;
  }

  .page-support__topic-card .page-support__card-title {
    font-size: 20px;
  }

  details.page-support__faq-item summary.page-support__faq-question {
    padding: 15px;
  }
  .page-support__faq-qtext {
    font-size: 15px;
  }
  .page-support__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-support__faq-item .page-support__faq-answer {
    padding: 0 15px 15px;
    font-size: 14px;
  }
  .page-support__faq-category-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
}