.page-resources-online-betting-safety-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body, but explicitly set for context */
}

.page-resources-online-betting-safety-guide__hero-section {
  position: relative;
  background: linear-gradient(rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.8)), url('[GALLERY:bg:1920x1080:abstract,green,gradient,security]') no-repeat center center/cover;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  min-height: 600px;
  overflow: hidden;
}

.page-resources-online-betting-safety-guide__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  z-index: 2;
  position: relative;
}

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

.page-resources-online-betting-safety-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-resources-online-betting-safety-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Yellow for prominence */
}

.page-resources-online-betting-safety-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  line-height: 1.5;
}

.page-resources-online-betting-safety-guide__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1em;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-resources-online-betting-safety-guide__btn-secondary {
  display: inline-block;
  background-color: #017439;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #017439;
  cursor: pointer;
  font-size: 1.1em;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-online-betting-safety-guide__btn-secondary:hover {
  background-color: #005a2d;
  border-color: #005a2d;
}

.page-resources-online-betting-safety-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a2e; /* Body background color */
  color: #ffffff; /* Light text for dark background */
}

.page-resources-online-betting-safety-guide__section-wrapper {
  margin-bottom: 60px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for sections */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-online-betting-safety-guide__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-resources-online-betting-safety-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: #f0f0f0;
}

.page-resources-online-betting-safety-guide__text-link {
  color: #FFFF00; /* Yellow for links */
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-resources-online-betting-safety-guide__text-link:hover {
  color: #FFD700;
}

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

.page-resources-online-betting-safety-guide__grid-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources-online-betting-safety-guide__grid-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-resources-online-betting-safety-guide__grid-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-resources-online-betting-safety-guide__feature-image,
.page-resources-online-betting-safety-guide__alert-image,
.page-resources-online-betting-safety-guide__support-image,
.page-resources-online-betting-safety-guide__faq-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-resources-online-betting-safety-guide__ordered-list,
.page-resources-online-betting-safety-guide__unordered-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-resources-online-betting-safety-guide__list-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  padding-left: 40px;
}

.page-resources-online-betting-safety-guide__list-item::before {
  content: '✓';
  color: #FFFF00;
  font-weight: bold;
  position: absolute;
  left: 15px;
  top: 25px;
}

.page-resources-online-betting-safety-guide__list-item strong {
  color: #FFFF00;
}

.page-resources-online-betting-safety-guide__list-title {
  font-size: 1.3em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-resources-online-betting-safety-guide__fraud-detection {
  margin-top: 30px;
}

.page-resources-online-betting-safety-guide__customer-support-content {
  margin-top: 30px;
}

.page-resources-online-betting-safety-guide__faq-section {
  margin-top: 60px;
}

.page-resources-online-betting-safety-guide__faq-container {
  margin-top: 30px;
}

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

.page-resources-online-betting-safety-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #017439; /* Brand color for questions */
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  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-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFFF00;
}

.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-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

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

.page-resources-online-betting-safety-guide__dark-section {
  background-color: #017439; /* Primary brand color for a strong call to action */
  color: #ffffff;
  text-align: center;
}

.page-resources-online-betting-safety-guide__dark-section .page-resources-online-betting-safety-guide__section-title {
  color: #FFFF00;
}

.page-resources-online-betting-safety-guide__dark-section .page-resources-online-betting-safety-guide__text-block {
  color: #ffffff;
}

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

@media (max-width: 768px) {
  .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__content-area {
    padding: 30px 15px;
  }
  .page-resources-online-betting-safety-guide__section-wrapper {
    padding: 25px;
    margin-bottom: 40px;
  }
  .page-resources-online-betting-safety-guide__section-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-safety-guide__grid-container {
    grid-template-columns: 1fr;
  }
  .page-resources-online-betting-safety-guide__list-item {
    padding: 20px 15px 20px 40px;
  }
  .page-resources-online-betting-safety-guide__list-item::before {
    top: 20px;
  }
  .page-resources-online-betting-safety-guide__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-resources-online-betting-safety-guide__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile image responsiveness */
  .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__hero-image-wrapper,
  .page-resources-online-betting-safety-guide__section-wrapper,
  .page-resources-online-betting-safety-guide__grid-item,
  .page-resources-online-betting-safety-guide__list-item,
  .page-resources-online-betting-safety-guide__faq-item,
  .page-resources-online-betting-safety-guide__faq-section,
  .page-resources-online-betting-safety-guide__faq-container,
  .page-resources-online-betting-safety-guide__customer-support-content,
  .page-resources-online-betting-safety-guide__fraud-detection {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-resources-online-betting-safety-guide__btn-primary,
  .page-resources-online-betting-safety-guide__btn-secondary,
  .page-resources-online-betting-safety-guide a[class*="button"],
  .page-resources-online-betting-safety-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px;
  }
  .page-resources-online-betting-safety-guide__cta-buttons,
  .page-resources-online-betting-safety-guide__button-group,
  .page-resources-online-betting-safety-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-resources-online-betting-safety-guide__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}

@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__section-title {
    font-size: 1.5em;
  }
  .page-resources-online-betting-safety-guide__grid-title {
    font-size: 1.3em;
  }
  .page-resources-online-betting-safety-guide__text-block {
    font-size: 0.95em;
  }
  .page-resources-online-betting-safety-guide__btn-primary,
  .page-resources-online-betting-safety-guide__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}