/* style/faq.css */
.page-faq {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background #f8f8f8 */
  background-color: #f8f8f8;
}

.page-faq__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
  box-sizing: border-box;
}

.page-faq__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-faq__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 20px;
  max-width: 800px;
  margin-top: 20px;
}

.page-faq__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #11A84E; /* Brand primary color */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-faq__description {
  font-size: 18px;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-faq__cta-button, .page-faq__download-button, .page-faq__contact-button, .page-faq__promotions-button, .page-faq__responsible-gaming-button, .page-faq__contact-us-button, .page-faq__register-now-button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-faq__cta-button:hover, .page-faq__download-button:hover, .page-faq__contact-button:hover, .page-faq__promotions-button:hover, .page-faq__responsible-gaming-button:hover, .page-faq__contact-us-button:hover, .page-faq__register-now-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-faq__section-title {
  font-size: 36px;
  color: #11A84E;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-faq__intro-text {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 50px;
  color: #555555;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-faq__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  user-select: none;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

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

.page-faq__faq-item[open] .page-faq__faq-question {
  background-color: #e6ffe6;
  border-bottom-color: #d1ffd1;
}

.page-faq__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-faq__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #11A84E;
  transition: transform 0.3s ease;
}

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

.page-faq__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  line-height: 1.8;
  color: #555555;
  background-color: #ffffff;
}

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

.page-faq__faq-answer ul,
.page-faq__faq-answer ol {
  margin-left: 25px;
  margin-bottom: 10px;
}

.page-faq__faq-answer li {
  margin-bottom: 5px;
}

.page-faq__additional-info {
  text-align: center;
  padding: 50px 20px;
  background-color: #08160F; /* Custom background color */
  border-radius: 10px;
  color: #F2FFF6; /* Text main color */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-faq__sub-title {
  font-size: 28px;
  color: #F2FFF6; /* Text main color */
  margin-bottom: 20px;
  font-weight: 600;
}

.page-faq__text {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text secondary color */
}

.page-faq__contact-us-button, .page-faq__register-now-button {
  margin: 0 10px 15px 10px;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
}

.page-faq__contact-us-button:hover, .page-faq__register-now-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-faq__hero-section {
    padding: 10px 0 30px 0;
  }

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

  .page-faq__description {
    font-size: 16px;
  }

  .page-faq__cta-button, .page-faq__download-button, .page-faq__contact-button, .page-faq__promotions-button, .page-faq__responsible-gaming-button, .page-faq__contact-us-button, .page-faq__register-now-button {
    padding: 12px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Stack buttons vertically */
  }

  .page-faq__hero-content, .page-faq__content-area, .page-faq__additional-info {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-faq__intro-text {
    font-size: 15px;
  }

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

  .page-faq__faq-answer {
    font-size: 15px;
    padding: 15px 20px;
  }

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

  .page-faq__text {
    font-size: 15px;
  }

  .page-faq img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-faq__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
}