/* 必须含模块0-2精简样式 + 下文「首页模块3-6必出CSS模板」全部选择器 + 768px媒体查询；禁止在home-content处截断 */

/* Base styles for page-faq */
.page-faq {
  font-family: Arial, sans-serif;
  color: #333333; /* Default dark text for light body background */
  background-color: #f8f8f8; /* Light background for the FAQ page */
}

.page-faq__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-faq__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #08160F; /* Deep Green background for hero */
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 400px; /* Adjusted for image above text */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-faq__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #F2FFF6; /* Text Main for hero content */
}

.page-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-faq__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-faq__btn-primary,
.page-faq__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
}

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

.page-faq__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow color for secondary button text */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-faq__btn-secondary:hover {
  background: rgba(46, 122, 78, 0.2);
  transform: translateY(-2px);
}

.page-faq__introduction-section {
  padding: 60px 0;
  background-color: #08160F; /* Background color for this section */
  color: #F2FFF6; /* Text Main */
}

.page-faq__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-faq__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: left;
  color: #F2FFF6;
}

.page-faq__section-title--centered {
  text-align: center;
  color: #333333; /* Default dark for light background */
}

.page-faq__text-content {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-faq__faq-list-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-faq__faq-item-group {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
}

.page-faq__faq-item-group:nth-child(even) {
  flex-direction: row-reverse;
}

.page-faq__faq-image {
  flex: 0 0 40%;
  max-width: 40%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-faq__faq-image--left {
  margin-right: auto;
}

.page-faq__faq-image--right {
  margin-left: auto;
}

.page-faq__faq-items {
  flex: 1;
  max-width: 60%;
}

.page-faq__faq-category-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 30px;
  color: #11A84E; /* Main color */
}

.page-faq__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-faq__faq-item summary {
  display: block;
  padding: 20px 25px;
  cursor: pointer;
  outline: none;
  list-style: none; /* Hide default marker */
  color: #333333;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: background-color 0.3s ease;
}

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

.page-faq__faq-item summary:hover {
  background-color: #f0f0f0;
}

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-faq__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-faq__faq-answer p {
  margin-bottom: 0;
  color: #555555;
}

.page-faq__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-faq__cta-bottom-content {
  max-width: 900px;
}

.page-faq__cta-bottom-section .page-faq__section-title {
  color: #F2FFF6;
  margin-bottom: 25px;
}

.page-faq__cta-bottom-section .page-faq__description {
  color: #A7D9B8;
  margin-bottom: 40px;
}

/* --- General Image & Button Responsive Styles --- */
.page-faq img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-faq__section,
.page-faq__card,
.page-faq__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.page-faq__cta-button,
.page-faq__btn-primary,
.page-faq__btn-secondary,
.page-faq a[class*="button"],
.page-faq a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-buttons,
.page-faq__button-group,
.page-faq__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Homepage Module CSS Template (as required by prompt) --- */
/* This section is included as per the prompt's explicit instruction, */
/* even if these specific modules are not used on the FAQ page HTML.  */
.page-faq__home-content{
  border:1px solid #FBB00D;
  border-radius:10px;
  height:650px;
  overflow-y:auto;
  padding: 20px;
  margin-top: 40px;
  background-color: #11271B; /* Card BG */
  color: #F2FFF6; /* Text Main */
}
.page-faq__home-content h2 {
  color: #F2C14E; /* Gold */
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-align: center;
}
.page-faq__home-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-faq__row-games, .page-faq__row-sport, .page-faq__row-coop {
  background-color: #08160F; /* Background color */
  padding: 40px 20px;
  max-width: 1330px;
  margin: 0 auto;
  color: #F2FFF6;
}
.page-faq__games-title, .page-faq__sport-title, .page-faq__coop-title {
  color: #F2FFF6; /* Text Main */
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}
.page-faq__slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}
.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;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: center;
  color: #F2FFF6;
  padding-bottom: 15px;
}
.page-faq__game-slide img {
  width: 100%;
   /* Specific height for game slides */
  object-fit: cover;
  border-bottom: 1px solid #2E7A4E; /* Border color */
  margin-bottom: 10px;
}
.page-faq__game-slide h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #F2FFF6;
  margin: 0 10px;
}

.page-faq__banners-top-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}
.page-faq__banner-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.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;
  padding: 40px 0;
}
.page-faq__blog-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-faq__blog-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.page-faq__blog-card img {
  width: 100%;
  height: 200px; /* Example height for blog card image */
  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.25rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}
.page-faq__blog-card-excerpt {
  font-size: 0.95rem;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}
.page-faq__btn-outline {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 5px;
  color: #57E38D; /* Glow color */
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: auto;
  align-self: flex-start;
}
.page-faq__btn-outline:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

.page-faq__blog-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}
.page-faq__blog-slide {
  flex: 0 0 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

/* --- Media Queries --- */
@media (max-width: 1024px) {
  .page-faq__hero-content {
    max-width: 700px;
  }
  .page-faq__main-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
  }
  .page-faq__description {
    font-size: 1rem;
  }
  .page-faq__faq-item-group {
    flex-direction: column;
    align-items: center;
  }
  .page-faq__faq-image {
    max-width: 70%;
    margin-bottom: 30px;
  }
  .page-faq__faq-item-group:nth-child(even) {
    flex-direction: column;
  }
  .page-faq__faq-items {
    max-width: 100%;
  }
  .page-faq__blog-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-faq__blog-slide {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .page-faq {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-faq__container {
    padding: 0 15px;
  }
  .page-faq__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 40px;
  }
  .page-faq__hero-image-wrapper {
    max-height: 250px;
  }
  .page-faq__main-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  .page-faq__description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }
  .page-faq__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-faq__btn-primary,
  .page-faq__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px;
    font-size: 1rem;
  }
  .page-faq__introduction-section,
  .page-faq__faq-list-section,
  .page-faq__cta-bottom-section {
    padding: 40px 0;
  }
  .page-faq__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
  }
  .page-faq__text-content {
    font-size: 1rem;
  }
  .page-faq__faq-item-group {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }
  .page-faq__faq-image {
    max-width: 100%;
    margin: 0 auto 20px auto;
  }
  .page-faq__faq-item-group:nth-child(even) {
    flex-direction: column;
  }
  .page-faq__faq-items {
    max-width: 100%;
  }
  .page-faq__faq-category-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  .page-faq__faq-item summary {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-faq__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }
  .page-faq__cta-bottom-section .page-faq__section-title {
    font-size: 2rem;
  }
  .page-faq__cta-bottom-section .page-faq__description {
    font-size: 1rem;
  }

  /* Mobile specific for homepage modules (as required by prompt) */
  .page-faq__home-content {
    height: auto;
    overflow-y: visible;
    padding: 15px;
  }
  .page-faq__home-content h2 {
    font-size: 1.8rem;
  }
  .page-faq__home-content p {
    font-size: 0.95rem;
  }
  .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: 2rem;
    margin-bottom: 30px;
  }
  .page-faq__slider-track {
    display: flex;
    flex-wrap: nowrap;
  }
  .page-faq__game-slide {
    flex: 0 0 160px;
    max-width: 160px;
  }
  .page-faq__banners-top-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .page-faq__banner-item img {
    
    
  }
  .page-faq__blog-masonry {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .page-faq__blog-card img {
    
  }
  .page-faq__blog-card-title {
    font-size: 1.1rem;
  }
  .page-faq__blog-card-excerpt {
    font-size: 0.9rem;
  }
  .page-faq__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
  }
  .page-faq__blog-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Generic image and container mobile adaptation */
  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-faq__section,
  .page-faq__card,
  .page-faq__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* Button container mobile adaptation */
  .page-faq__cta-buttons,
  .page-faq__button-group,
  .page-faq__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* Ensure buttons wrap */
    gap: 10px;
  }
  .page-faq__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}