/* style/resources-online-gambling-safety-guide.css */
.page-resources-online-gambling-safety-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-resources-online-gambling-safety-guide__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px);
}

.page-resources-online-gambling-safety-guide__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

.page-resources-online-gambling-safety-guide__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

/* General Section Styling */
.page-resources-online-gambling-safety-guide__content-area,
.page-resources-online-gambling-safety-guide__faq-section {
  padding: 60px 0;
}

.page-resources-online-gambling-safety-guide__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

.page-resources-online-gambling-safety-guide__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-online-gambling-safety-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #0A2463;
}

.page-resources-online-gambling-safety-guide__dark-bg .page-resources-online-gambling-safety-guide__section-title {
  color: #FFD700;
}

.page-resources-online-gambling-safety-guide__sub-section-title {
  font-size: 2em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #0A2463;
}

.page-resources-online-gambling-safety-guide__dark-bg .page-resources-online-gambling-safety-guide__sub-section-title {
  color: #FFD700;
}

.page-resources-online-gambling-safety-guide__sub-sub-title {
  font-size: 1.5em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #0A2463;
}

.page-resources-online-gambling-safety-guide__dark-bg .page-resources-online-gambling-safety-guide__sub-sub-title {
  color: #f0f0f0;
}

.page-resources-online-gambling-safety-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
}

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

.page-resources-online-gambling-safety-guide__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-resources-online-gambling-safety-guide__list-item {
  margin-bottom: 10px;
}

/* Buttons */
.page-resources-online-gambling-safety-guide__btn-primary,
.page-resources-online-gambling-safety-guide__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-online-gambling-safety-guide__btn-primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid transparent;
}

.page-resources-online-gambling-safety-guide__btn-primary:hover {
  background-color: #e6c200;
}

.page-resources-online-gambling-safety-guide__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-resources-online-gambling-safety-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-resources-online-gambling-safety-guide__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* CTA Block */
.page-resources-online-gambling-safety-guide__cta-block {
  background-color: #0A2463;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-top: 60px;
  color: #ffffff;
}

.page-resources-online-gambling-safety-guide__cta-title {
  font-size: 2em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-online-gambling-safety-guide__cta-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* Links */
.page-resources-online-gambling-safety-guide__link {
  color: #0A2463;
  text-decoration: underline;
}

.page-resources-online-gambling-safety-guide__dark-bg .page-resources-online-gambling-safety-guide__link,
.page-resources-online-gambling-safety-guide__cta-block .page-resources-online-gambling-safety-guide__link {
  color: #FFD700;
}

.page-resources-online-gambling-safety-guide__link:hover {
  text-decoration: none;
  opacity: 0.8;
}

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

.page-resources-online-gambling-safety-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-online-gambling-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #0A2463;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-online-gambling-safety-guide__faq-question:hover {
  background-color: #1a3c7a;
}

.page-resources-online-gambling-safety-guide__faq-title {
  margin: 0;
  font-size: 1.2em;
  color: #FFD700;
}

.page-resources-online-gambling-safety-guide__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

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

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

.page-resources-online-gambling-safety-guide__faq-item.active .page-resources-online-gambling-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-gambling-safety-guide__hero-title {
    font-size: 3em;
  }

  .page-resources-online-gambling-safety-guide__section-title {
    font-size: 2em;
  }
}

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

  .page-resources-online-gambling-safety-guide__hero-section {
    padding: 80px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-online-gambling-safety-guide__hero-title {
    font-size: 2.2em;
  }

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

  .page-resources-online-gambling-safety-guide__section-title {
    font-size: 1.8em;
  }

  .page-resources-online-gambling-safety-guide__sub-section-title {
    font-size: 1.5em;
  }

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

  .page-resources-online-gambling-safety-guide__btn-primary,
  .page-resources-online-gambling-safety-guide__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 15px;
    padding: 12px 20px;
  }

  .page-resources-online-gambling-safety-guide__button-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-resources-online-gambling-safety-guide__cta-block {
    padding: 30px 20px;
  }

  .page-resources-online-gambling-safety-guide__cta-title {
    font-size: 1.5em;
  }

  .page-resources-online-gambling-safety-guide__faq-question {
    padding: 15px 20px;
  }

  .page-resources-online-gambling-safety-guide__faq-title {
    font-size: 1em;
  }

  .page-resources-online-gambling-safety-guide__faq-answer {
    padding: 15px 20px;
  }
  
  .page-resources-online-gambling-safety-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-online-gambling-safety-guide__section,
  .page-resources-online-gambling-safety-guide__card,
  .page-resources-online-gambling-safety-guide__container,
  .page-resources-online-gambling-safety-guide__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-resources-online-gambling-safety-guide__list {
    margin-left: 15px;
  }
}