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

.page-resources-online-betting-guide__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #003366; /* Dark blue background for hero content area */
  color: #ffffff;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-resources-online-betting-guide__hero-container {
  position: relative;
  width: 100%;
}

.page-resources-online-betting-guide__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-resources-online-betting-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-resources-online-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-online-betting-guide__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-resources-online-betting-guide__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.page-resources-online-betting-guide__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #003366;
  border: 2px solid #FFD700;
}

.page-resources-online-betting-guide__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-resources-online-betting-guide__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-resources-online-betting-guide__table-of-contents {
  max-width: 800px;
  margin: 40px auto;
  background-color: #f8f8f8;
  border-left: 5px solid #003366;
  padding: 25px;
  border-radius: 5px;
}

.page-resources-online-betting-guide__toc-title {
  font-size: 1.8em;
  color: #003366;
  margin-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  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: 8px;
}

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

.page-resources-online-betting-guide__toc-list a:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources-online-betting-guide__article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-size: 1.1em;
}

.page-resources-online-betting-guide__section {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.page-resources-online-betting-guide__section:last-of-type {
  border-bottom: none;
}

.page-resources-online-betting-guide__section-title {
  font-size: 2em;
  color: #003366;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources-online-betting-guide__section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: #FFD700;
}

.page-resources-online-betting-guide__section-guide-title {
  font-size: 2em;
  color: #003366;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-resources-online-betting-guide__section-guide-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: #FFD700;
}

.page-resources-online-betting-guide__paragraph {
  margin-bottom: 1em;
  text-align: justify;
}

.page-resources-online-betting-guide__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-resources-online-betting-guide__image--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-online-betting-guide__unordered-list,
.page-resources-online-betting-guide__ordered-list {
  margin-bottom: 1em;
  padding-left: 25px;
}

.page-resources-online-betting-guide__unordered-list li,
.page-resources-online-betting-guide__ordered-list li {
  margin-bottom: 0.5em;
}

.page-resources-online-betting-guide__blockquote {
  background-color: #e6f2ff; /* Light blue background for quote */
  border-left: 5px solid #003366;
  padding: 15px 20px;
  margin: 20px 0;
  font-style: italic;
  color: #003366;
  border-radius: 5px;
}

.page-resources-online-betting-guide__faq-item {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #e0e0e0;
}

.page-resources-online-betting-guide__faq-item:last-of-type {
  border-bottom: none;
}

.page-resources-online-betting-guide__faq-question {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
}

.page-resources-online-betting-guide__faq-answer {
  font-size: 1em;
  color: #555;
  padding-left: 15px;
}

.page-resources-online-betting-guide__section--conclusion {
  text-align: center;
  border-bottom: none;
  margin-top: 50px;
}

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

.page-resources-online-betting-guide__back-link {
  display: inline-block;
  margin-top: 30px;
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-resources-online-betting-guide__back-link:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-resources-online-betting-guide__back-to-resources-container {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-resources-online-betting-guide {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
  }

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

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

  .page-resources-online-betting-guide__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-online-betting-guide__button {
    width: 80%;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-resources-online-betting-guide__article-content,
  .page-resources-online-betting-guide__table-of-contents {
    padding: 15px;
    margin: 20px auto;
  }

  .page-resources-online-betting-guide__section-title,
  .page-resources-online-betting-guide__section-guide-title {
    font-size: 1.6em;
  }

  .page-resources-online-betting-guide__faq-question {
    font-size: 1.1em;
  }

  .page-resources-online-betting-guide__image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
  }

  /* Ensure content images do not cause horizontal scroll */
  .page-resources-online-betting-guide img {
    max-width: 100%;
    height: auto;
  }
}