.page-resources-online-betting-guide {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #000000; /* Assuming body background is black from shared.css */
}

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

.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 not hidden by fixed header */
}

.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-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-resources-online-betting-guide__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
}

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

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

.page-resources-online-betting-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-resources-online-betting-guide__introduction-section,
.page-resources-online-betting-guide__responsible-gaming-section,
.page-resources-online-betting-guide__benefits-section,
.page-resources-online-betting-guide__cta-section {
  padding: 80px 0;
}

.page-resources-online-betting-guide__dark-bg {
  background-color: #0d0d0d;
  color: #ffffff;
}

.page-resources-online-betting-guide__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

.page-resources-online-betting-guide__guide-section,
.page-resources-online-betting-guide__tips-section,
.page-resources-online-betting-guide__faq-section {
  padding: 80px 0;
}

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

.page-resources-online-betting-guide__guide-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff; /* White background for card */
  color: #333333; /* Dark text for white background */
}

.page-resources-online-betting-guide__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-online-betting-guide__guide-heading {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
}

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

.page-resources-online-betting-guide__btn-primary,
.page-resources-online-betting-guide__btn-secondary,
.page-resources-online-betting-guide__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-online-betting-guide__btn-primary,
.page-resources-online-betting-guide__cta-button {
  background-color: #FFD700;
  color: #000000; /* Black text for gold button */
  border: 2px solid #FFD700;
}

.page-resources-online-betting-guide__btn-primary:hover,
.page-resources-online-betting-guide__cta-button:hover {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #8B0000;
}

.page-resources-online-betting-guide__btn-secondary {
  background-color: transparent;
  color: #8B0000;
  border: 2px solid #8B0000;
}

.page-resources-online-betting-guide__btn-secondary:hover {
  background-color: #8B0000;
  color: #FFD700;
}

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

.page-resources-online-betting-guide__tip-card,
.page-resources-online-betting-guide__benefit-item {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  color: #333333;
}

.page-resources-online-betting-guide__tip-title,
.page-resources-online-betting-guide__benefit-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
}

.page-resources-online-betting-guide__benefit-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-resources-online-betting-guide__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-resources-online-betting-guide__faq-item {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-resources-online-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f0f0f0;
  color: #333333;
  transition: background-color 0.3s ease;
}

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

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

.page-resources-online-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.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;
}

.page-resources-online-betting-guide__faq-item.active .page-resources-online-betting-guide__faq-toggle {
  transform: rotate(45deg);
  content: '−'; /* Change to minus sign */
}

.page-resources-online-betting-guide__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-resources-online-betting-guide__cta-section .page-resources-online-betting-guide__section-title {
  color: #FFD700;
}

.page-resources-online-betting-guide__cta-section .page-resources-online-betting-guide__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-resources-online-betting-guide {
    font-size: 16px;
    line-height: 1.6;
  }

  .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: 2.5em;
  }

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

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

  .page-resources-online-betting-guide__introduction-section,
  .page-resources-online-betting-guide__guide-section,
  .page-resources-online-betting-guide__responsible-gaming-section,
  .page-resources-online-betting-guide__tips-section,
  .page-resources-online-betting-guide__benefits-section,
  .page-resources-online-betting-guide__faq-section,
  .page-resources-online-betting-guide__cta-section {
    padding: 60px 0;
  }

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

  .page-resources-online-betting-guide__guide-item,
  .page-resources-online-betting-guide__tip-card,
  .page-resources-online-betting-guide__benefit-item {
    padding: 20px;
  }

  .page-resources-online-betting-guide__guide-image,
  .page-resources-online-betting-guide__benefit-image {
    height: 200px;
  }

  .page-resources-online-betting-guide__guide-heading,
  .page-resources-online-betting-guide__tip-title,
  .page-resources-online-betting-guide__benefit-title {
    font-size: 1.3em;
  }

  .page-resources-online-betting-guide__btn-primary,
  .page-resources-online-betting-guide__btn-secondary,
  .page-resources-online-betting-guide__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-resources-online-betting-guide__button-group {
    flex-direction: column;
    gap: 10px;
  }

  .page-resources-online-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-resources-online-betting-guide__section,
  .page-resources-online-betting-guide__card,
  .page-resources-online-betting-guide__container,
  .page-resources-online-betting-guide__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by container */
    /* padding-right: 15px; */ /* Handled by container */
    overflow-x: hidden;
  }

  /* Ensure no horizontal scroll for main content area */
  .page-resources-online-betting-guide {
    overflow-x: hidden;
  }

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

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

  .page-resources-online-betting-guide__faq-item.active .page-resources-online-betting-guide__faq-answer {
    padding: 15px;
  }
}