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

/* Base styles for the page content */
.page-resources-online-betting-safety-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Matches body background */
}

/* Ensure main content starts below header */
.page-resources-online-betting-safety-guide__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Container for content sections */
.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;
  min-height: 500px;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  background-color: #26A9E0; /* Brand primary color */
  padding: 80px 0;
}

.page-resources-online-betting-safety-guide__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-resources-online-betting-safety-guide__hero-section .page-resources-online-betting-safety-guide__container {
  position: relative;
  z-index: 2;
}

.page-resources-online-betting-safety-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-resources-online-betting-safety-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

/* General Content Sections */
.page-resources-online-betting-safety-guide__content-area {
  padding: 60px 0;
}

.page-resources-online-betting-safety-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand primary color */
}

.page-resources-online-betting-safety-guide__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand primary color */
}

.page-resources-online-betting-safety-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-online-betting-safety-guide__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #333333;
}

.page-resources-online-betting-safety-guide__list-item {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* Image Block */
.page-resources-online-betting-safety-guide__image-block {
  text-align: center;
  margin: 40px 0;
}

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

/* Buttons */
.page-resources-online-betting-safety-guide__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login/CTA color */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-resources-online-betting-safety-guide__btn-primary:hover {
  background-color: #d86a00;
  transform: translateY(-2px);
}

/* Color Schemes */
.page-resources-online-betting-safety-guide__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-resources-online-betting-safety-guide__light-bg .page-resources-online-betting-safety-guide__sub-title,
.page-resources-online-betting-safety-guide__light-bg .page-resources-online-betting-safety-guide__section-title {
  color: #26A9E0;
}

.page-resources-online-betting-safety-guide__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-online-betting-safety-guide__dark-bg .page-resources-online-betting-safety-guide__section-title,
.page-resources-online-betting-safety-guide__dark-bg .page-resources-online-betting-safety-guide__sub-title {
  color: #ffffff;
}

.page-resources-online-betting-safety-guide__dark-bg .page-resources-online-betting-safety-guide__paragraph,
.page-resources-online-betting-safety-guide__dark-bg .page-resources-online-betting-safety-guide__list-item {
  color: #f0f0f0;
}

/* FAQ Section */
.page-resources-online-betting-safety-guide__faq-list {
  margin-top: 40px;
}

.page-resources-online-betting-safety-guide__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-resources-online-betting-safety-guide__faq-item.active {
  background-color: #eaf7ff; /* Lighter background when active */
}

.page-resources-online-betting-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.page-resources-online-betting-safety-guide__faq-question:hover {
  background-color: #f0f0f0;
}

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

.page-resources-online-betting-safety-guide__faq-item.active .page-resources-online-betting-safety-guide__faq-question {
  border-bottom: none;
}

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

.page-resources-online-betting-safety-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.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;
  padding-top: 0;
}

.page-resources-online-betting-safety-guide__faq-answer p {
  margin-bottom: 0;
}

/* CTA Section */
.page-resources-online-betting-safety-guide__cta-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
  padding: 60px 0;
  background-color: #26A9E0;
}

.page-resources-online-betting-safety-guide__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-resources-online-betting-safety-guide__cta-section .page-resources-online-betting-safety-guide__container {
  position: relative;
  z-index: 2;
}

.page-resources-online-betting-safety-guide__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-resources-online-betting-safety-guide__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-betting-safety-guide__hero-title {
    font-size: 2.8em;
  }

  .page-resources-online-betting-safety-guide__hero-description {
    font-size: 1.2em;
  }

  .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.4em;
  }
}

@media (max-width: 768px) {
  .page-resources-online-betting-safety-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-resources-online-betting-safety-guide__container {
    padding: 0 15px;
  }

  .page-resources-online-betting-safety-guide__hero-section {
    min-height: 400px;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }

  .page-resources-online-betting-safety-guide__hero-title {
    font-size: 2em;
  }

  .page-resources-online-betting-safety-guide__hero-description {
    font-size: 1em;
  }

  .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__content-area {
    padding: 40px 0;
  }

  .page-resources-online-betting-safety-guide__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-online-betting-safety-guide__image-block,
  .page-resources-online-betting-safety-guide__cta-section .page-resources-online-betting-safety-guide__container,
  .page-resources-online-betting-safety-guide__hero-section .page-resources-online-betting-safety-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-resources-online-betting-safety-guide__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-resources-online-betting-safety-guide__cta-section {
    min-height: 300px;
    padding: 40px 0;
  }

  .page-resources-online-betting-safety-guide__cta-title {
    font-size: 2em;
  }

  .page-resources-online-betting-safety-guide__cta-description {
    font-size: 1em;
  }

  .page-resources-online-betting-safety-guide__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-resources-online-betting-safety-guide__faq-answer {
    padding: 0 15px;
  }

  .page-resources-online-betting-safety-guide__faq-item.active .page-resources-online-betting-safety-guide__faq-answer {
    padding: 15px;
    padding-top: 0;
  }
}

@media (max-width: 480px) {
  .page-resources-online-betting-safety-guide__hero-title {
    font-size: 1.8em;
  }

  .page-resources-online-betting-safety-guide__section-title {
    font-size: 1.6em;
  }

  .page-resources-online-betting-safety-guide__sub-title {
    font-size: 1.2em;
  }

  .page-resources-online-betting-safety-guide__cta-title {
    font-size: 1.8em;
  }
}