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

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

.page-resources-online-betting-safety__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #000080; /* Auxiliary color for hero section */
  color: #ffffff;
  overflow: hidden;
}

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

.page-resources-online-betting-safety__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Slightly dim the background image */
}

.page-resources-online-betting-safety__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

.page-resources-online-betting-safety__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-resources-online-betting-safety__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-resources-online-betting-safety__btn-primary,
.page-resources-online-betting-safety__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-online-betting-safety__btn-primary {
  background-color: #FFD700;
  color: #000080;
  border: 2px solid #FFD700;
}

.page-resources-online-betting-safety__btn-primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
}

.page-resources-online-betting-safety__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-resources-online-betting-safety__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

.page-resources-online-betting-safety__content-section {
  padding: 60px 0;
}

.page-resources-online-betting-safety__dark-bg {
  background-color: #000080;
  color: #ffffff;
}

.page-resources-online-betting-safety__light-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-resources-online-betting-safety__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
}

.page-resources-online-betting-safety__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-resources-online-betting-safety__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-online-betting-safety__text-block a {
  color: #FFD700;
  text-decoration: none;
}

.page-resources-online-betting-safety__text-block a:hover {
  text-decoration: underline;
}

.page-resources-online-betting-safety__highlight {
  color: #FFD700;
  font-weight: bold;
}

.page-resources-online-betting-safety__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-online-betting-safety__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-resources-online-betting-safety__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-resources-online-betting-safety__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-online-betting-safety__card p {
  font-size: 1em;
  color: #f0f0f0;
}

.page-resources-online-betting-safety__checklist {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-online-betting-safety__checklist li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  color: #f0f0f0;
  font-size: 1.05em;
}

.page-resources-online-betting-safety__checklist li strong {
  color: #FFD700;
}

.page-resources-online-betting-safety__video-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  margin: 40px auto;
  text-align: center;
}

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

.page-resources-online-betting-safety__video-caption {
  margin-top: 15px;
  font-size: 0.95em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-resources-online-betting-safety__faq-section {
  padding: 60px 0;
}

.page-resources-online-betting-safety__faq-list {
  margin-top: 40px;
}

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

.page-resources-online-betting-safety__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #000080;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-online-betting-safety__faq-question:hover {
  background-color: #000066;
}

.page-resources-online-betting-safety__faq-question h3 {
  margin: 0;
  color: #FFD700;
}

.page-resources-online-betting-safety__faq-toggle {
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

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

.page-resources-online-betting-safety__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-betting-safety__faq-item.active .page-resources-online-betting-safety__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 20px 25px;
}

.page-resources-online-betting-safety__faq-answer p {
  margin: 0;
  font-size: 1.05em;
}

.page-resources-online-betting-safety__cta-section {
  text-align: center;
  padding: 60px 0;
  background-color: #0d0d0d;
}

.page-resources-online-betting-safety__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

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

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

  .page-resources-online-betting-safety__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-resources-online-betting-safety__hero-title {
    font-size: 2.2em;
  }

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

  .page-resources-online-betting-safety__hero-cta-buttons,
  .page-resources-online-betting-safety__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-online-betting-safety__btn-primary,
  .page-resources-online-betting-safety__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-resources-online-betting-safety__sub-title {
    font-size: 1.5em;
  }

  .page-resources-online-betting-safety__text-block {
    font-size: 1em;
  }

  .page-resources-online-betting-safety__image-full-width,
  .page-resources-online-betting-safety__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-resources-online-betting-safety__video-container,
  .page-resources-online-betting-safety__feature-grid,
  .page-resources-online-betting-safety__card,
  .page-resources-online-betting-safety__checklist,
  .page-resources-online-betting-safety__faq-item {
    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__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

  .page-resources-online-betting-safety__faq-answer {
    padding: 15px 20px;
  }

  .page-resources-online-betting-safety__faq-item.active .page-resources-online-betting-safety__faq-answer {
    padding: 15px 20px !important;
  }
}

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

  .page-resources-online-betting-safety__section-title {
    font-size: 1.5em;
  }

  .page-resources-online-betting-safety__card-title {
    font-size: 1.3em;
  }
}