/* style/resources-online-betting-safety-guide.css */

:root {
  --78win-gold: #FFD700;
  --78win-dark-red: #8B0000;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #ffffff;
  --bg-dark-section: #8B0000; /* Using auxiliary color for dark sections for contrast */
}

.page-resources-online-betting-safety-guide {
  font-family: 'Arial', sans-serif;
  color: var(--text-dark); /* Default text color for light body background */
  line-height: 1.6;
}

.page-resources-online-betting-safety-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-online-betting-safety-guide__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding-top: var(--header-offset, 120px);
  background-color: #f5f5f5;
  overflow: hidden;
}

.page-resources-online-betting-safety-guide__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-resources-online-betting-safety-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-resources-online-betting-safety-guide__hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-light);
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 8px;
}

.page-resources-online-betting-safety-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: var(--78win-gold);
  line-height: 1.2;
}

.page-resources-online-betting-safety-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.page-resources-online-betting-safety-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-resources-online-betting-safety-guide__btn-primary {
  background-color: var(--78win-gold);
  color: var(--text-light);
  border: 2px solid var(--78win-gold);
}

.page-resources-online-betting-safety-guide__btn-primary:hover {
  background-color: #e6c200; /* Darken gold */
  transform: translateY(-2px);
}

.page-resources-online-betting-safety-guide__btn-secondary {
  background-color: transparent;
  color: var(--78win-gold);
  border: 2px solid var(--78win-gold);
  margin-left: 20px;
}

.page-resources-online-betting-safety-guide__btn-secondary:hover {
  background-color: var(--78win-gold);
  color: var(--text-light);
  transform: translateY(-2px);
}

/* Content Sections */
.page-resources-online-betting-safety-guide__content-section {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.page-resources-online-betting-safety-guide__dark-section {
  background-color: var(--bg-dark-section);
  color: var(--text-light);
}

.page-resources-online-betting-safety-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--78win-dark-red);
}

.page-resources-online-betting-safety-guide__dark-section .page-resources-online-betting-safety-guide__section-title {
  color: var(--78win-gold);
}

.page-resources-online-betting-safety-guide__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--78win-dark-red);
}

.page-resources-online-betting-safety-guide__dark-section .page-resources-online-betting-safety-guide__sub-title {
  color: var(--78win-gold);
}

.page-resources-online-betting-safety-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-resources-online-betting-safety-guide__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Call to Action Section */
.page-resources-online-betting-safety-guide__cta-section {
  background-color: var(--78win-dark-red);
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
}

.page-resources-online-betting-safety-guide__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-online-betting-safety-guide__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--78win-gold);
}

.page-resources-online-betting-safety-guide__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-resources-online-betting-safety-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-resources-online-betting-safety-guide__faq-section {
  padding: 60px 0;
  background-color: var(--bg-dark-section);
  color: var(--text-light);
}

.page-resources-online-betting-safety-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-resources-online-betting-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--78win-gold);
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-resources-online-betting-safety-guide__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-online-betting-safety-guide__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.page-resources-online-betting-safety-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-online-betting-safety-guide__faq-item.active .page-resources-online-betting-safety-guide__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-online-betting-safety-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.05);
}

.page-resources-online-betting-safety-guide__faq-item.active .page-resources-online-betting-safety-guide__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px 25px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-betting-safety-guide__hero-title {
    font-size: 3em;
  }
  .page-resources-online-betting-safety-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-online-betting-safety-guide__section-title {
    font-size: 2em;
  }
  .page-resources-online-betting-safety-guide__sub-title {
    font-size: 1.5em;
  }
  .page-resources-online-betting-safety-guide__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-resources-online-betting-safety-guide {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-online-betting-safety-guide__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-online-betting-safety-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-online-betting-safety-guide__hero-description {
    font-size: 1em;
  }
  .page-resources-online-betting-safety-guide__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important; /* Remove margin for single column layout */
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }
  .page-resources-online-betting-safety-guide__btn-secondary {
    margin-left: 0;
  }
  .page-resources-online-betting-safety-guide__cta-buttons {
    flex-direction: column;
    gap: 0; /* Gap handled by margin-bottom on buttons */
  }
  .page-resources-online-betting-safety-guide__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-resources-online-betting-safety-guide__content-section,
  .page-resources-online-betting-safety-guide__faq-section,
  .page-resources-online-betting-safety-guide__cta-section {
    padding: 40px 0;
  }
  .page-resources-online-betting-safety-guide__section-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-safety-guide__sub-title {
    font-size: 1.3em;
  }
  .page-resources-online-betting-safety-guide__cta-title {
    font-size: 1.8em;
  }
  /* Images responsive */
  .page-resources-online-betting-safety-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-resources-online-betting-safety-guide__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-resources-online-betting-safety-guide__hero-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-safety-guide__hero-description {
    font-size: 0.9em;
  }
  .page-resources-online-betting-safety-guide__cta-title {
    font-size: 1.5em;
  }
  .page-resources-online-betting-safety-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-online-betting-safety-guide__faq-answer {
    padding: 0 20px;
  }
  .page-resources-online-betting-safety-guide__faq-item.active .page-resources-online-betting-safety-guide__faq-answer {
    padding: 15px 20px;
  }
}