.page-resources-online-betting-guide {
  color: #333333; /* Dark text for light body background */
}

.page-resources-online-betting-guide__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-resources-online-betting-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent black overlay for text readability */
  border-radius: 8px;
}

.page-resources-online-betting-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  line-height: 1.2;
}

.page-resources-online-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-resources-online-betting-guide__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.page-resources-online-betting-guide__hero-button:hover {
  background-color: #FFD700; /* Slightly lighter yellow on hover */
}

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

.page-resources-online-betting-guide__table-of-contents {
  flex: 0 0 250px;
  position: sticky;
  top: calc(var(--header-offset, 120px) + 20px); /* Stick below header with some margin */
  background-color: #f8f8f8;
  border-left: 3px solid #FCBC45;
  padding: 20px;
  border-radius: 5px;
}

.page-resources-online-betting-guide__toc-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

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

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

.page-resources-online-betting-guide__toc-list a {
  text-decoration: none;
  color: #333333;
  font-size: 1em;
  transition: color 0.2s ease;
}

.page-resources-online-betting-guide__toc-list a:hover {
  color: #FCBC45;
}

.page-resources-online-betting-guide__article-wrapper {
  flex: 1;
  display: flex;
  gap: 40px;
}

.page-resources-online-betting-guide__article-content {
  flex: 1;
  max-width: 700px; /* Content width for readability */
  line-height: 1.8;
}

.page-resources-online-betting-guide__article-heading {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #FCBC45;
  padding-bottom: 10px;
}

.page-resources-online-betting-guide__article-subheading {
  font-size: 1.5em;
  color: #333333;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-resources-online-betting-guide__article-image {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-resources-online-betting-guide__inline-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-online-betting-guide__inline-link:hover {
  text-decoration: underline;
}

.page-resources-online-betting-guide__button-group {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-resources-online-betting-guide__article-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1em;
  border: 1px solid #000000;
}

.page-resources-online-betting-guide__article-button:hover {
  background-color: #333333;
  color: #FCBC45;
}

.page-resources-online-betting-guide__article-button--primary {
  background-color: #FCBC45;
  color: #000000;
  border-color: #FCBC45;
}

.page-resources-online-betting-guide__article-button--primary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-resources-online-betting-guide__return-link-container {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.page-resources-online-betting-guide__return-link {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-online-betting-guide__return-link:hover {
  color: #000000;
}

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

  .page-resources-online-betting-guide__table-of-contents {
    position: static;
    width: 100%;
    margin-bottom: 30px;
  }

  .page-resources-online-betting-guide__article-wrapper {
    flex-direction: column;
    gap: 20px;
  }

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

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

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

  .page-resources-online-betting-guide__article-heading {
    font-size: 1.8em;
  }

  .page-resources-online-betting-guide__article-subheading {
    font-size: 1.3em;
  }

  .page-resources-online-betting-guide__article-paragraph {
    font-size: 1em;
  }

  .page-resources-online-betting-guide__hero-content {
    padding: 20px;
  }

  .page-resources-online-betting-guide__content-area {
    padding: 0 15px;
  }

  .page-resources-online-betting-guide__article-image {
    max-width: 100%;
    height: auto;
  }

  .page-resources-online-betting-guide__hero-section {
    min-height: 400px;
  }

  .page-resources-online-betting-guide__button-group {
    flex-direction: column;
    align-items: center;
  }

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

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

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

  .page-resources-online-betting-guide__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-resources-online-betting-guide__article-heading {
    font-size: 1.5em;
  }

  .page-resources-online-betting-guide__article-subheading {
    font-size: 1.2em;
  }

  .page-resources-online-betting-guide__article-paragraph {
    font-size: 0.95em;
  }
}