/* style/resources-taya777-club-login-faq.css */

/* Base styles for the page content, ensuring it doesn't get hidden by a fixed header */
.page-resources-taya777-club-login-faq {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content starts below the fixed header */
  margin: 0;
  background-color: #FFFFFF; /* Explicitly set page background to auxiliary color */
}

/* Hero Section */
.page-resources-taya777-club-login-faq__hero-section {
  background-color: #000000; /* Main color as background for hero */
  color: #FFFFFF; /* Auxiliary color for text */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-taya777-club-login-faq__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Slightly dim the background image */
}

.page-resources-taya777-club-login-faq__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure image covers the area */
  display: block;
  /* No filter property to change image color */
}

.page-resources-taya777-club-login-faq__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-taya777-club-login-faq__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-resources-taya777-club-login-faq__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #F0F0F0; /* Slightly off-white for better readability */
}

.page-resources-taya777-club-login-faq__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-taya777-club-login-faq__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-resources-taya777-club-login-faq__button--login {
  background-color: #FCBC45; /* Login button background */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-resources-taya777-club-login-faq__button--login:hover {
  background-color: #E0A83A;
  border-color: #E0A83A;
}

.page-resources-taya777-club-login-faq__button--register {
  background-color: #000000; /* Main color as background */
  color: #FFFFFF; /* Register button text color */
  border: 2px solid #FFFFFF;
}

.page-resources-taya777-club-login-faq__button--register:hover {
  background-color: #333333;
  border-color: #333333;
}

/* Content Area */
.page-resources-taya777-club-login-faq__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 40px;
}

/* Table of Contents */
.page-resources-taya777-club-login-faq__toc {
  flex: 0 0 250px; /* Fixed width for TOC */
  background-color: #F8F8F8;
  padding: 20px;
  border-radius: 8px;
  align-self: flex-start; /* Stick to the top */
  position: sticky;
  top: calc(var(--header-offset, 120px) + 20px); /* Position below header with some margin */
  max-height: calc(100vh - var(--header-offset, 120px) - 40px); /* Limit height */
  overflow-y: auto; /* Scroll if content overflows */
}

.page-resources-taya777-club-login-faq__toc-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #000000;
  border-bottom: 1px solid #E0E0E0;
  padding-bottom: 10px;
}

.page-resources-taya777-club-login-faq__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-resources-taya777-club-login-faq__toc-list li {
  margin-bottom: 10px;
}

.page-resources-taya777-club-login-faq__toc-list a {
  text-decoration: none;
  color: #333333;
  font-size: 1em;
  transition: color 0.2s ease;
  display: block;
}

.page-resources-taya777-club-login-faq__toc-list a:hover {
  color: #FCBC45;
}

/* Article Content */
.page-resources-taya777-club-login-faq__article {
  flex: 1;
  max-width: 800px; /* Content width for comfortable reading */
}

.page-resources-taya777-club-login-faq__article-heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-taya777-club-login-faq__article-paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-taya777-club-login-faq__article-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  /* Ensure minimum size and no filter */
  min-width: 200px;
  min-height: 200px;
  /* No filter property to change image color */
}

/* Call to Action */
.page-resources-taya777-club-login-faq__call-to-action {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin: 40px 0;
  border: 1px solid #E0E0E0;
}

.page-resources-taya777-club-login-faq__call-to-action-text {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-taya777-club-login-faq__button--register-promo {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-taya777-club-login-faq__button--register-promo:hover {
  background-color: #E0A83A;
  border-color: #E0A83A;
}

.page-resources-taya777-club-login-faq__button--download-app {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-taya777-club-login-faq__button--download-app:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-resources-taya777-club-login-faq__button--view-promo {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-resources-taya777-club-login-faq__button--view-promo:hover {
  background-color: #E0A83A;
  border-color: #E0A83A;
}

/* Back to Resources Link */
.page-resources-taya777-club-login-faq__back-link {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #E0E0E0;
}

.page-resources-taya777-club-login-faq__button--back {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-resources-taya777-club-login-faq__button--back:hover {
  background-color: #333333;
  border-color: #333333;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-taya777-club-login-faq__content-area {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-taya777-club-login-faq__toc {
    flex: none;
    width: 100%;
    position: static; /* Remove sticky on smaller screens */
    max-height: none;
  }

  .page-resources-taya777-club-login-faq__article {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-resources-taya777-club-login-faq__hero-title {
    font-size: 2.5em;
  }

  .page-resources-taya777-club-login-faq__hero-description {
    font-size: 1em;
  }

  .page-resources-taya777-club-login-faq__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-taya777-club-login-faq__button {
    width: 100%;
    max-width: 250px;
  }

  .page-resources-taya777-club-login-faq__article-heading {
    font-size: 1.8em;
  }

  .page-resources-taya777-club-login-faq__article-paragraph {
    font-size: 1em;
  }

  /* Mobile content image constraint */
  .page-resources-taya777-club-login-faq img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-resources-taya777-club-login-faq__hero-title {
    font-size: 2em;
  }

  .page-resources-taya777-club-login-faq__hero-section {
    padding: 60px 15px;
  }

  .page-resources-taya777-club-login-faq__content-area {
    padding: 20px 15px;
  }
}