.page-hoi-dap-faq__hero-section {
  padding-top: 10px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding-bottom: 40px;
}

.page-hoi-dap-faq__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 0 15px;
}

.page-hoi-dap-faq__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-hoi-dap-faq__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-hoi-dap-faq__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

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

.page-hoi-dap-faq__btn-primary:hover {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-hoi-dap-faq__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-hoi-dap-faq__btn-secondary:hover {
  background: #f0f0f0;
  color: #FF5A4F;
  border-color: #FF5A4F;
}

.page-hoi-dap-faq__faq-section {
  padding: 60px 0;
  background-color: #F5F7FA;
  color: #333333;
}

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

.page-hoi-dap-faq__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #E53935;
}

.page-hoi-dap-faq__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

.page-hoi-dap-faq__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #E0E0E0;
}

.page-hoi-dap-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  list-style: none;
  outline: none;
  user-select: none;
  position: relative;
  transition: background-color 0.3s ease;
}

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

.page-hoi-dap-faq__faq-question:hover {
  background-color: #f9f9f9;
}

.page-hoi-dap-faq__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #E53935;
  transition: transform 0.3s ease;
}

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

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

.page-hoi-dap-faq__faq-answer h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #E53935;
  margin-top: 15px;
  margin-bottom: 10px;
}

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

.page-hoi-dap-faq__faq-answer img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-hoi-dap-faq__cta-buttons--bottom {
  margin-top: 30px;
}

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

/* Mandatory CSS blocks for mobile responsiveness */
@media (max-width: 768px) {
  .page-hoi-dap-faq {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO 主图区域 */
  .page-hoi-dap-faq__hero-section {
    padding-top: 10px; /* 約10px級頂距 */
    padding-bottom: 30px;
  }

  .page-hoi-dap-faq__hero-container {
    padding: 0 10px;
  }

  .page-hoi-dap-faq__main-title {
    font-size: 2.2rem;
  }

  .page-hoi-dap-faq__hero-description {
    font-size: 1rem;
  }

  .page-hoi-dap-faq__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* 按钮与按钮容器 */
  .page-hoi-dap-faq__btn-primary,
  .page-hoi-dap-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: 1rem;
  }

  /* 长文金框区 - Not applicable for FAQ, but template requires placeholder */
  /* .page-hoi-dap-faq__home-content { height: auto; overflow-y: visible; padding: 20px; } */

  /* 游戏轮播 - Not applicable for FAQ, but template requires placeholder */
  /* .page-hoi-dap-faq__slider-track { display: flex; flex-wrap: nowrap; } */
  /* .page-hoi-dap-faq__game-slide { flex: 0 0 160px; max-width: 160px; } */

  /* 合作品牌六宫格 - Not applicable for FAQ, but template requires placeholder */
  /* .page-hoi-dap-faq__banners-top-wrapper { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 100%; } */
  /* .page-hoi-dap-faq__banner-item img {   } */

  /* 博客卡片区 - Not applicable for FAQ, but template requires placeholder */
  /* .page-hoi-dap-faq__blog-masonry { grid-template-columns: 1fr; } */
  /* .page-hoi-dap-faq__blog-slider-track { display: flex; flex-wrap: nowrap; } */
  /* .page-hoi-dap-faq__blog-slide { flex: 0 0 100%; max-width: 100%; } */

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

  .page-hoi-dap-faq__container,
  .page-hoi-dap-faq__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-hoi-dap-faq__faq-section {
    padding: 40px 0;
  }

  .page-hoi-dap-faq__section-title {
    font-size: 2rem;
  }

  .page-hoi-dap-faq__faq-question {
    padding: 15px 20px;
    font-size: 1.1rem;
  }

  .page-hoi-dap-faq__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 0.95rem;
  }
  
  .page-hoi-dap-faq__faq-answer h3 {
    font-size: 1.15rem;
  }

  /* Placeholder for other required media queries for non-existent blocks */
  .page-hoi-dap-faq__home-content { /* Placeholder for long text area */
    height: auto;
    overflow-y: visible;
    padding: 20px;
  }

  .page-hoi-dap-faq__slider-track { /* Placeholder for game carousel */
    display: flex;
    flex-wrap: nowrap;
  }

  .page-hoi-dap-faq__game-slide { /* Placeholder for game slide */
    flex: 0 0 160px;
    max-width: 160px;
  }

  .page-hoi-dap-faq__banners-top-wrapper { /* Placeholder for partners grid */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 100%;
  }

  .page-hoi-dap-faq__banner-item img { /* Placeholder for partner image */
    
    
  }

  .page-hoi-dap-faq__blog-masonry { /* Placeholder for blog masonry */
    grid-template-columns: 1fr;
  }

  .page-hoi-dap-faq__blog-slider-track { /* Placeholder for blog slider */
    display: flex;
    flex-wrap: nowrap;
  }

  .page-hoi-dap-faq__blog-slide { /* Placeholder for blog slide */
    flex: 0 0 100%;
    max-width: 100%;
  }
}