/* style/support.css */
/* body đã có padding-top: var(--header-offset); trang này không được viết thêm */
.page-support {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #F5F7FA; /* Sử dụng màu nền từ tùy chỉnh */
  line-height: 1.6;
}

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

.page-support__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn để tránh đệm kép với body */
  text-align: center;
  background-color: #F5F7FA;
}

.page-support__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-support__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-support__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-support__hero-description {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 30px;
}

.page-support__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

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

.page-support__faq-section {
  padding: 60px 0;
  text-align: center;
  background-color: #F5F7FA; /* Màu nền tùy chỉnh */
}

.page-support__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #E53935;
  margin-bottom: 20px;
}

.page-support__section-description {
  font-size: 1rem;
  color: #333333;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-support__faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: left;
}

.page-support__faq-item {
  background-color: #FFFFFF; /* Màu nền card tùy chỉnh */
  border: 1px solid #E0E0E0; /* Màu border tùy chỉnh */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-support__faq-question {
  display: block;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-support__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  font-size: 1.4rem;
  line-height: 1;
  color: #E53935;
  transition: transform 0.3s ease;
}

.page-support__faq-item[open] > .page-support__faq-question::after {
  content: '−';
  transform: rotate(0deg);
}

.page-support__faq-item[open] > .page-support__faq-question {
  background-color: #f9f9f9;
}

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

.page-support__faq-answer p {
  margin: 0;
}

.page-support__faq-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-support__contact-methods {
  padding: 60px 0;
  text-align: center;
  background-color: #E53935; /* Màu chủ đạo */
  color: #ffffff;
}

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

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

.page-support__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.page-support__contact-card {
  background-color: #FF5A4F; /* Màu phụ trợ */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-support__card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-support__card-text {
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-support__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #ffffff;
  color: #E53935;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid #ffffff;
  cursor: pointer;
  box-sizing: border-box;
}

.page-support__btn-secondary:hover {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.page-support__contact-image-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-support__responsible-gaming-section {
  padding: 50px 0;
  text-align: center;
  background-color: #F5F7FA;
}

/* Responsive styles */
@media (max-width: 768px) {
  .page-support {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-support__hero-section,
  .page-support__faq-section,
  .page-support__contact-methods,
  .page-support__responsible-gaming-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body đã xử lý header offset */
  }

  .page-support__hero-image,
  .page-support__faq-image,
  .page-support__contact-image,
  .page-support img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-support__hero-image-wrapper,
  .page-support__faq-image-wrapper,
  .page-support__contact-image-wrapper,
  .page-support__hero-content,
  .page-support__faq-list,
  .page-support__contact-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-support__hero-title {
    font-size: 1.8rem;
  }

  .page-support__section-title {
    font-size: 1.5rem;
  }

  .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-bottom: 15px;
  }

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

  .page-support__contact-card {
    margin-bottom: 15px;
  }

  .page-support__faq-question::after {
    right: 15px;
  }

  .page-support__faq-question,
  .page-support__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}