/* style/resources-td88-club-game-security-guide.css */
.page-resources-td88-club-game-security-guide {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Inherit from body or set a consistent dark background */
}

.page-resources-td88-club-game-security-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-td88-club-game-security-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  min-width: 200px; /* Global image size requirement */
  min-height: 200px; /* Global image size requirement */
  filter: none; /* Ensure no filters are applied */
}

.page-resources-td88-club-game-security-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-td88-club-game-security-guide__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-resources-td88-club-game-security-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-td88-club-game-security-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-td88-club-game-security-guide__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-td88-club-game-security-guide__content-section {
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content */
  color: #ffffff;
}

.page-resources-td88-club-game-security-guide__dark-bg {
  background-color: #0d0d0d;
}

.page-resources-td88-club-game-security-guide__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-td88-club-game-security-guide__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-resources-td88-club-game-security-guide__subsection-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid #017439;
  padding-bottom: 10px;
}

.page-resources-td88-club-game-security-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-td88-club-game-security-guide__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-td88-club-game-security-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-resources-td88-club-game-security-guide__ordered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-td88-club-game-security-guide__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-resources-td88-club-game-security-guide__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Global image size requirement */
  min-height: 200px; /* Global image size requirement */
  filter: none; /* Ensure no filters are applied */
}

/* Buttons */
.page-resources-td88-club-game-security-guide__btn-primary,
.page-resources-td88-club-game-security-guide__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-td88-club-game-security-guide__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-td88-club-game-security-guide__btn-primary:hover {
  background-color: #d82c2c;
  border-color: #d82c2c;
}

.page-resources-td88-club-game-security-guide__btn-secondary {
  background-color: transparent;
  color: #017439;
  border: 2px solid #017439;
}

.page-resources-td88-club-game-security-guide__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-resources-td88-club-game-security-guide__text-link {
  color: #017439;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-resources-td88-club-game-security-guide__text-link:hover {
  color: #02a04d;
}

/* CTA Section */
.page-resources-td88-club-game-security-guide__cta-section {
  padding: 80px 20px;
  background-color: #017439; /* Brand color background for CTA */
  color: #ffffff;
  text-align: center;
}

.page-resources-td88-club-game-security-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* FAQ Styles */
.page-resources-td88-club-game-security-guide__faq-container {
  margin-top: 40px;
}

.page-resources-td88-club-game-security-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for items */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-td88-club-game-security-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-resources-td88-club-game-security-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-td88-club-game-security-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-td88-club-game-security-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-resources-td88-club-game-security-guide__faq-answer p {
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-td88-club-game-security-guide__faq-item.active .page-resources-td88-club-game-security-guide__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px;
}

.page-resources-td88-club-game-security-guide__faq-item.active .page-resources-td88-club-game-security-guide__faq-toggle {
  transform: rotate(45deg); /* Change + to X or - */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-td88-club-game-security-guide__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-resources-td88-club-game-security-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-td88-club-game-security-guide__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-td88-club-game-security-guide__hero-title {
    font-size: 2.2em;
  }

  .page-resources-td88-club-game-security-guide__hero-description {
    font-size: 1em;
  }

  .page-resources-td88-club-game-security-guide__hero-buttons,
  .page-resources-td88-club-game-security-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
    /* padding: 0 15px; Removed here as container already has it */
  }

  .page-resources-td88-club-game-security-guide__btn-primary,
  .page-resources-td88-club-game-security-guide__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-td88-club-game-security-guide__section-title {
    font-size: 2em;
  }

  .page-resources-td88-club-game-security-guide__subsection-title {
    font-size: 1.5em;
  }

  .page-resources-td88-club-game-security-guide__content-image,
  .page-resources-td88-club-game-security-guide__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-td88-club-game-security-guide__image-wrapper,
  .page-resources-td88-club-game-security-guide__hero-section,
  .page-resources-td88-club-game-security-guide__content-section,
  .page-resources-td88-club-game-security-guide__cta-section,
  .page-resources-td88-club-game-security-guide__container,
  .page-resources-td88-club-game-security-guide__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
  
  .page-resources-td88-club-game-security-guide__faq-question,
  .page-resources-td88-club-game-security-guide__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-td88-club-game-security-guide__list,
  .page-resources-td88-club-game-security-guide__ordered-list {
    margin-left: 15px;
  }
}