.page-resources-online-betting-safety-guide {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

.page-resources-online-betting-safety-guide__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero text */
  color: #FFFFFF;
  padding: 0;
  text-align: center;
}

.page-resources-online-betting-safety-guide__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6; /* Slightly dim image to make text pop */
  object-fit: cover;
}

.page-resources-online-betting-safety-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-resources-online-betting-safety-guide__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-resources-online-betting-safety-guide__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-resources-online-betting-safety-guide__button--register {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color */
}

.page-resources-online-betting-safety-guide__button--register:hover {
  background-color: #FFD700;
}

.page-resources-online-betting-safety-guide__button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-online-betting-safety-guide__button--login:hover {
  background-color: #FFD700;
}

.page-resources-online-betting-safety-guide__button--download {
  background-color: #FCBC45;
  color: #000000;
}

.page-resources-online-betting-safety-guide__button--download:hover {
  background-color: #FFD700;
}

.page-resources-online-betting-safety-guide__button--back {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  margin-top: 40px;
}

.page-resources-online-betting-safety-guide__button--back:hover {
  background-color: #333333;
}

.page-resources-online-betting-safety-guide__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 40px;
}

.page-resources-online-betting-safety-guide__table-of-contents {
  flex: 0 0 250px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: calc(var(--header-offset, 120px) + 20px); /* Adjust sticky position */
  height: fit-content;
}

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

.page-resources-online-betting-safety-guide__toc-list {
  list-style: none;
  padding: 0;
}

.page-resources-online-betting-safety-guide__toc-list li {
  margin-bottom: 10px;
}

.page-resources-online-betting-safety-guide__toc-link {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-resources-online-betting-safety-guide__toc-link:hover,
.page-resources-online-betting-safety-guide__toc-link--active {
  color: #FCBC45;
}

.page-resources-online-betting-safety-guide__article {
  flex: 1;
  max-width: 800px; /* Article content width */
}

.page-resources-online-betting-safety-guide__section {
  margin-bottom: 40px;
}

.page-resources-online-betting-safety-guide__section-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-online-betting-safety-guide__subsection-title {
  font-size: 1.5em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.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;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-online-betting-safety-guide__commitment-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

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

.page-resources-online-betting-safety-guide__faq-item {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-resources-online-betting-safety-guide__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
}

.page-resources-online-betting-safety-guide__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-resources-online-betting-safety-guide__related-resources {
  margin-top: 60px;
  text-align: center;
}

.page-resources-online-betting-safety-guide__resource-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.page-resources-online-betting-safety-guide__resource-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 350px;
  flex: 1 1 300px;
  text-align: left;
  transition: transform 0.3s ease;
}

.page-resources-online-betting-safety-guide__resource-card:hover {
  transform: translateY(-5px);
}

.page-resources-online-betting-safety-guide__resource-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-resources-online-betting-safety-guide__resource-card-title {
  font-size: 1.3em;
  color: #000000;
  padding: 15px;
  margin-bottom: 5px;
}

.page-resources-online-betting-safety-guide__resource-card-link {
  text-decoration: none;
  color: #000000;
  transition: color 0.3s ease;
}

.page-resources-online-betting-safety-guide__resource-card-link:hover {
  color: #FCBC45;
}

.page-resources-online-betting-safety-guide__resource-card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-betting-safety-guide__content-area {
    flex-direction: column;
    gap: 20px;
  }

  .page-resources-online-betting-safety-guide__table-of-contents {
    position: static;
    width: auto;
    flex: none;
    margin-bottom: 20px;
  }

  .page-resources-online-betting-safety-guide__article {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .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__hero-content {
    width: 90%;
  }

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

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

  .page-resources-online-betting-safety-guide__paragraph,
  .page-resources-online-betting-safety-guide__commitment-item,
  .page-resources-online-betting-safety-guide__faq-answer {
    font-size: 1em;
  }

  .page-resources-online-betting-safety-guide__image,
  .page-resources-online-betting-safety-guide__resource-card-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-resources-online-betting-safety-guide__resource-cards {
    flex-direction: column;
    align-items: center;
  }

  .page-resources-online-betting-safety-guide__resource-card {
    max-width: 90%;
  }
}

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

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

  .page-resources-online-betting-safety-guide__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

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

  .page-resources-online-betting-safety-guide__toc-link {
    font-size: 0.9em;
  }

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

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