.page-faq {
  background-color: #F5F7FA; /* Background color from custom config */
  color: #333333; /* Text Main color from custom config */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-faq__hero-section {
  padding-top: 10px; /* Small top padding as per instruction */
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  background-color: #F5F7FA;
}

.page-faq__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-faq__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-faq__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #E53935; /* Main color */
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-faq__intro-text {
  font-size: 1.1em;
  color: #333333; /* Text Main color */
  margin-bottom: 30px;
}

.page-faq__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-faq__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #E53935; /* Main color */
  border: 2px solid #E53935; /* Main color */
}

.page-faq__btn-secondary:hover {
  background: #E53935; /* Main color */
  color: #ffffff;
  transform: translateY(-2px);
}

.page-faq__content-section {
  padding: 60px 20px;
  background-color: #ffffff; /* Card BG */
}

.page-faq__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-faq__section-title {
  font-size: 2.5em;
  color: #E53935; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__section-description {
  font-size: 1.05em;
  color: #333333; /* Text Main color */
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.page-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq__faq-item {
  background: #ffffff; /* Card BG */
  border: 1px solid #E0E0E0; /* Border color */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-faq__faq-item[open] {
  background: #fff8f8; /* Light background when open */
  border-color: #FF5A4F;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333; /* Text Main color */
  cursor: pointer;
  background-color: #ffffff;
  user-select: none;
  list-style: none; /* Remove default marker */
}

.page-faq__faq-item[open] .page-faq__faq-question {
  color: #E53935; /* Main color when open */
}

.page-faq__faq-question::-webkit-details-marker {
  display: none;
}
.page-faq__faq-question::marker {
  display: none;
}

.page-faq__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  color: #E53935;
  transition: transform 0.3s ease;
}

.page-faq__faq-item[open] .page-faq__faq-toggle {
  transform: rotate(45deg);
  color: #FF5A4F;
}

.page-faq__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

.page-faq__faq-answer p {
  margin-bottom: 15px;
}

.page-faq__read-more-link {
  color: #E53935; /* Main color */
  text-decoration: none;
  font-weight: 500;
  margin-right: 15px;
  display: inline-block;
  margin-top: 5px;
}

.page-faq__read-more-link:hover {
  text-decoration: underline;
  color: #FF5A4F; /* Auxiliary color */
}

.page-faq__cta-bottom-section {
  padding: 80px 20px;
  background-color: #E53935; /* Main color as dark background */
  text-align: center;
  color: #ffffff; /* White text for contrast */
}

.page-faq__cta-bottom-title {
  font-size: 2.8em;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-faq__cta-bottom-description {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* General image responsiveness */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General container responsiveness */
.page-faq__container,
.page-faq__hero-section,
.page-faq__content-section,
.page-faq__cta-bottom-section {
  width: 100%;
  box-sizing: border-box;
}

/* --- Mobile Responsive Styles --- */
@media (max-width: 768px) {
  .page-faq {
    font-size: 15px;
    line-height: 1.5;
  }

  /* HERO 主图区域 */
  .page-faq__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }

  .page-faq__hero-image {
    margin-bottom: 20px;
    border-radius: 5px;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__hero-content {
    padding: 0 15px;
  }

  .page-faq__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-faq__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* 按钮与按钮容器 */
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Content Section */
  .page-faq__content-section {
    padding: 40px 15px;
  }

  .page-faq__container {
    padding: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-faq__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-faq__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* FAQ List */
  .page-faq__faq-item {
    border-radius: 5px;
  }

  .page-faq__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }

  .page-faq__faq-toggle {
    font-size: 1.3em;
  }

  .page-faq__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }
  
  .page-faq__read-more-link {
    margin-right: 10px;
    font-size: 0.9em;
  }

  /* CTA Bottom Section */
  .page-faq__cta-bottom-section {
    padding: 50px 15px;
  }

  .page-faq__cta-bottom-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-faq__cta-bottom-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific overrides for containers to remove inner padding on mobile if needed */
  .page-faq__hero-section .page-faq__container { padding-left: 0 !important; padding-right: 0 !important; }
  .page-faq__content-section .page-faq__container { padding-left: 0 !important; padding-right: 0 !important; }
  .page-faq__cta-bottom-section .page-faq__container { padding-left: 0 !important; padding-right: 0 !important; }
}

/* The following CSS blocks are from the "首页模块3-6必出CSS模板" but are not strictly required for an FAQ page. 
   However, the prompt *insists* that the CSS field must contain *all* selectors from that template if it exists. 
   Since this is an FAQ page, these sections are not present in the HTML, but I will include the CSS definitions 
   to strictly adhere to the prompt's "必写清单" for the CSS field. */

.page-faq__home-content { /* Placeholder for homepage content section */
  border: 1px solid #FBB00D;
  border-radius: 10px;
  height: 650px;
  overflow-y: auto;
  margin: 40px auto;
  max-width: 1200px;
  padding: 20px;
}

.page-faq__row-games, .page-faq__row-sport, .page-faq__row-coop {
  background-color: #1A202C;
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
}

.page-faq__games-title, .page-faq__sport-title, .page-faq__coop-title {
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.2em;
}

.page-faq__slider-wrapper {
  overflow: hidden;
  margin-bottom: 30px;
}

.page-faq__slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  transition: transform 0.5s ease-in-out;
}

.page-faq__game-slide {
  flex: 0 0 200px;
  max-width: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background-color: #333;
  text-align: center;
  color: #fff;
  padding: 10px;
}

.page-faq__game-slide img {
  border-radius: 5px;
  margin-bottom: 10px;
}

.page-faq__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-faq__banner-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-faq__banner-item img {
  
  
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-faq__blog-masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 40px;
}

.page-faq__blog-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-faq__blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-faq__blog-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-faq__blog-card-title {
  font-size: 1.4em;
  color: #E53935;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-faq__blog-card-title a {
  text-decoration: none;
  color: inherit;
}

.page-faq__blog-card-title a:hover {
  text-decoration: underline;
}

.page-faq__blog-card-meta {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 15px;
}

.page-faq__blog-card-description {
  font-size: 1em;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-faq__btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #E53935;
  color: #E53935;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto; /* Pushes button to the bottom */
}

.page-faq__btn-outline:hover {
  background-color: #E53935;
  color: #ffffff;
}

.page-faq__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

.page-faq__blog-slider {
  overflow: hidden;
  margin-top: 40px;
}

.page-faq__blog-slide {
  flex: 0 0 calc(33.333% - 14px); /* (3 * 20px gap) / 3 = 14px */
  max-width: calc(33.333% - 14px);
}

@media (max-width: 1024px) {
  .page-faq__hero-image {
    max-width: 1000px;
  }
  .page-faq__banners-top-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .page-faq__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-faq__blog-slide {
    flex: 0 0 calc(50% - 10px); /* (2 * 20px gap) / 2 = 10px */
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  /* Long form content section */
  .page-faq__home-content {
    height: auto;
    overflow-y: visible;
    margin: 20px auto;
    padding: 15px;
  }

  /* Game Slider */
  .page-faq__row-games, .page-faq__row-sport, .page-faq__row-coop {
    padding: 30px 15px;
  }

  .page-faq__games-title, .page-faq__sport-title, .page-faq__coop-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-faq__slider-track {
    gap: 10px;
  }

  .page-faq__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
    padding: 8px;
  }

  /* Banners / Gameshow Grid */
  .page-faq__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 30px;
  }

  .page-faq__banner-item img {
    
    
  }

  /* Blog Masonry */
  .page-faq__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-faq__blog-card-image {
    height: 180px;
  }

  .page-faq__blog-card-title {
    font-size: 1.2em;
  }

  .page-faq__blog-card-description {
    font-size: 0.95em;
  }

  /* Blog Slider */
  .page-faq__blog-slider-track {
    gap: 15px;
  }

  .page-faq__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Ensure general images and containers are responsive */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__section,
  .page-faq__card,
  .page-faq__container,
  .page-faq__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Specific overrides for containers to remove inner padding on mobile if needed */
  .page-faq__hero-section .page-faq__container { padding-left: 0 !important; padding-right: 0 !important; }
  .page-faq__content-section .page-faq__container { padding-left: 0 !important; padding-right: 0 !important; }
  .page-faq__cta-bottom-section .page-faq__container { padding-left: 0 !important; padding-right: 0 !important; }
}