.page-resources-online-betting-guide {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-color: #EA7C07;
  --bg-white: #FFFFFF;
  --bg-dark-1: var(--dark-bg-1, #0d0d0d); /* Assuming --dark-bg-1 is dark from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
}

.page-resources-online-betting-guide__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  box-sizing: border-box;
}

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

.page-resources-online-betting-guide__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: -1;
}

.page-resources-online-betting-guide__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  color: var(--text-light);
}

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

.page-resources-online-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.page-resources-online-betting-guide__cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-online-betting-guide__cta-button:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
}

.page-resources-online-betting-guide__cta-button--large {
  padding: 18px 40px;
  font-size: 1.1em;
}

.page-resources-online-betting-guide__content-area {
  padding: 80px 0;
  text-align: center;
  box-sizing: border-box;
}

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

.page-resources-online-betting-guide__dark-bg {
  background-color: var(--bg-dark-1);
  color: var(--text-light);
}

.page-resources-online-betting-guide__light-bg {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.page-resources-online-betting-guide__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-online-betting-guide__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
}

.page-resources-online-betting-guide__content-area p {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: inherit;
}

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

.page-resources-online-betting-guide__category-card {
  background-color: var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  color: var(--text-dark);
}

.page-resources-online-betting-guide__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-online-betting-guide__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-resources-online-betting-guide__category-title {
  font-size: 1.5em;
  margin: 20px 20px 10px;
  color: var(--primary-color);
}

.page-resources-online-betting-guide__category-title a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-resources-online-betting-guide__category-title a:hover {
  text-decoration: underline;
}

.page-resources-online-betting-guide__category-card p {
  font-size: 0.95em;
  padding: 0 20px 20px;
  color: var(--text-dark);
  margin-bottom: 0;
}

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

.page-resources-online-betting-guide__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-online-betting-guide__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--secondary-color);
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-online-betting-guide__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-resources-online-betting-guide__step-item p {
  font-size: 1em;
  color: var(--text-light);
  flex-grow: 1;
}

.page-resources-online-betting-guide__btn-secondary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid var(--primary-color);
  margin-top: 20px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-online-betting-guide__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

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

.page-resources-online-betting-guide__strategy-item {
  background-color: var(--secondary-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
}

.page-resources-online-betting-guide__strategy-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-resources-online-betting-guide__strategy-title {
  font-size: 1.4em;
  margin: 20px 20px 10px;
  color: var(--primary-color);
}

.page-resources-online-betting-guide__strategy-item p {
  font-size: 1em;
  padding: 0 20px 20px;
  color: var(--text-dark);
  margin-bottom: 0;
  flex-grow: 1;
}

.page-resources-online-betting-guide__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-resources-online-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-dark);
  background-color: var(--secondary-color);
  border-bottom: 1px solid #eee;
}

.page-resources-online-betting-guide__faq-question:hover {
  background-color: #f5f5f5;
}

.page-resources-online-betting-guide__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.page-resources-online-betting-guide__faq-item.active .page-resources-online-betting-guide__faq-toggle {
  transform: rotate(45deg);
  content: '−';
}

.page-resources-online-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark);
  background-color: var(--secondary-color);
}

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

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

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

@media (max-width: 768px) {
  .page-resources-online-betting-guide__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

  .page-resources-online-betting-guide__cta-button--large {
    padding: 15px 30px;
    font-size: 1em;
  }

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

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

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

  .page-resources-online-betting-guide__game-categories,
  .page-resources-online-betting-guide__steps,
  .page-resources-online-betting-guide__strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Force responsive images */
  .page-resources-online-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-online-betting-guide__category-image,
  .page-resources-online-betting-guide__strategy-image {
    height: 200px; /* Maintain a reasonable height for content images */
  }

  /* Ensure all containers with images/buttons/videos are responsive */
  .page-resources-online-betting-guide__section,
  .page-resources-online-betting-guide__card,
  .page-resources-online-betting-guide__container,
  .page-resources-online-betting-guide__game-categories,
  .page-resources-online-betting-guide__steps,
  .page-resources-online-betting-guide__strategy-grid,
  .page-resources-online-betting-guide__faq-list,
  .page-resources-online-betting-guide__cta-buttons,
  .page-resources-online-betting-guide__button-group,
  .page-resources-online-betting-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  /* Buttons mobile specific */
  .page-resources-online-betting-guide__cta-button,
  .page-resources-online-betting-guide__btn-primary,
  .page-resources-online-betting-guide__btn-secondary,
  .page-resources-online-betting-guide a[class*="button"],
  .page-resources-online-betting-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;
  }

  .page-resources-online-betting-guide__cta-buttons,
  .page-resources-online-betting-guide__button-group,
  .page-resources-online-betting-guide__btn-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 10px;
  }
}

/* Content area images CSS size lower bound enforcement */
.page-resources-online-betting-guide__content-area img,
.page-resources-online-betting-guide__category-image,
.page-resources-online-betting-guide__strategy-image {
  min-width: 200px;
  min-height: 200px;
  /* Other styles like width: 100%; height: auto; object-fit: cover; */
}

/* Ensure text contrast for default body dark background */
.page-resources-online-betting-guide p,
.page-resources-online-betting-guide li,
.page-resources-online-betting-guide h1,
.page-resources-online-betting-guide h2,
.page-resources-online-betting-guide h3,
.page-resources-online-betting-guide h4,
.page-resources-online-betting-guide h5,
.page-resources-online-betting-guide h6 {
  color: var(--text-light);
}

.page-resources-online-betting-guide__light-bg p,
.page-resources-online-betting-guide__light-bg li,
.page-resources-online-betting-guide__light-bg h1,
.page-resources-online-betting-guide__light-bg h2,
.page-resources-online-betting-guide__light-bg h3,
.page-resources-online-betting-guide__light-bg h4,
.page-resources-online-betting-guide__light-bg h5,
.page-resources-online-betting-guide__light-bg h6 {
  color: var(--text-dark);
}

.page-resources-online-betting-guide__category-card,
.page-resources-online-betting-guide__strategy-item,
.page-resources-online-betting-guide__faq-item {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.page-resources-online-betting-guide__category-title,
.page-resources-online-betting-guide__strategy-title,
.page-resources-online-betting-guide__faq-question {
  color: var(--primary-color); /* Use primary color for titles on light backgrounds */
}

.page-resources-online-betting-guide__faq-answer p {
  color: var(--text-dark);
}

.page-resources-online-betting-guide__step-item p {
  color: var(--text-light);
}

.page-resources-online-betting-guide__step-title {
  color: var(--secondary-color);
}