.page-resources-online-betting-guide {
  color: #ffffff; /* Dark body background #1a1a2e, so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-resources-online-betting-guide__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure header offset */
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.9) 0%, rgba(255, 215, 0, 0.2) 100%), url('[GALLERY:bg:1920x1080:abstract_pattern,gold_red_gradient,luxury_gaming]') center/cover no-repeat;
  min-height: 600px;
  overflow: hidden;
}

.page-resources-online-betting-guide__hero-content {
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

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

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

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

.page-resources-online-betting-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-resources-online-betting-guide__content-section {
  padding: 60px 20px;
}

.page-resources-online-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-online-betting-guide__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-resources-online-betting-guide__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #8B0000;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-resources-online-betting-guide__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-resources-online-betting-guide__text-block a {
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
}

.page-resources-online-betting-guide__text-block a:hover {
  text-decoration: underline;
}

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

.page-resources-online-betting-guide__feature-card {
  background: rgba(255, 215, 0, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-resources-online-betting-guide__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-resources-online-betting-guide__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-resources-online-betting-guide__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-resources-online-betting-guide__card-text {
  color: #e0e0e0;
  font-size: 1em;
}

.page-resources-online-betting-guide__card-text a {
  color: #FFD700;
  font-weight: bold;
  text-decoration: none;
}

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

.page-resources-online-betting-guide__guide-section {
  background: rgba(139, 0, 0, 0.2);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 60px;
  border: 1px solid rgba(139, 0, 0, 0.5);
}

.page-resources-online-betting-guide__ordered-list,
.page-resources-online-betting-guide__unordered-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-resources-online-betting-guide__ordered-list li,
.page-resources-online-betting-guide__unordered-list li {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
  position: relative;
  padding-left: 30px;
}

.page-resources-online-betting-guide__ordered-list li strong {
  color: #FFD700;
  display: block;
  margin-bottom: 5px;
}

.page-resources-online-betting-guide__ordered-list li::before {
  content: counter(list-item);
  counter-increment: list-item;
  background-color: #FFD700;
  color: #1a1a2e;
  font-weight: bold;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.9em;
}

.page-resources-online-betting-guide__unordered-list li::before {
  content: '•';
  color: #FFD700;
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: -5px;
}

.page-resources-online-betting-guide__unordered-list li strong {
  color: #FFD700;
}

.page-resources-online-betting-guide__content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 20px auto;
  display: block;
  object-fit: cover;
}

.page-resources-online-betting-guide__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

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

.page-resources-online-betting-guide__btn-primary {
  background-color: #FFD700;
  color: #1a1a2e;
  border: 2px solid #FFD700;
}

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

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

.page-resources-online-betting-guide__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a2e;
  transform: translateY(-3px);
}

.page-resources-online-betting-guide__btn-center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 300px;
}

.page-resources-online-betting-guide__tips-section {
  background: rgba(255, 215, 0, 0.1);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 60px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-resources-online-betting-guide__video-container {
  margin-bottom: 60px;
  text-align: center;
}

.page-resources-online-betting-guide__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 0 auto 20px;
}

.page-resources-online-betting-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
}

.page-resources-online-betting-guide__video-caption {
  font-size: 1em;
  color: #e0e0e0;
  margin-top: 10px;
}

.page-resources-online-betting-guide__faq-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-online-betting-guide__faq-item {
  background: rgba(139, 0, 0, 0.2);
  border: 1px solid rgba(139, 0, 0, 0.5);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-resources-online-betting-guide__faq-item:hover {
  background-color: rgba(139, 0, 0, 0.3);
}

.page-resources-online-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
}

.page-resources-online-betting-guide__faq-title {
  margin: 0;
  color: #FFD700;
  font-size: 1.2em;
}

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

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

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

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

.page-resources-online-betting-guide__cta-final {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

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

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

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

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

  .page-resources-online-betting-guide__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

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

  .page-resources-online-betting-guide__content-section {
    padding: 40px 15px;
  }

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

  .page-resources-online-betting-guide__text-block,
  .page-resources-online-betting-guide__card-text,
  .page-resources-online-betting-guide__ordered-list li,
  .page-resources-online-betting-guide__unordered-list li,
  .page-resources-online-betting-guide__video-caption,
  .page-resources-online-betting-guide__faq-question {
    font-size: 1em;
  }

  .page-resources-online-betting-guide__features-grid {
    grid-template-columns: 1fr;
  }

  .page-resources-online-betting-guide__guide-section,
  .page-resources-online-betting-guide__tips-section {
    padding: 30px 20px;
  }

  .page-resources-online-betting-guide__ordered-list li::before {
    top: 2px;
  }

  .page-resources-online-betting-guide__cta-buttons,
  .page-resources-online-betting-guide__cta-final {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-resources-online-betting-guide__video-container,
  .page-resources-online-betting-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-resources-online-betting-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-online-betting-guide__faq-question {
    padding: 15px 20px;
  }

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

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

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

  /* Image responsiveness */
  .page-resources-online-betting-guide img {
    max-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,
  .page-resources-online-betting-guide__video-section,
  .page-resources-online-betting-guide__video-container,
  .page-resources-online-betting-guide__video-wrapper,
  .page-resources-online-betting-guide__guide-section,
  .page-resources-online-betting-guide__tips-section,
  .page-resources-online-betting-guide__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-online-betting-guide__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-resources-online-betting-guide__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-online-betting-guide__main-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-guide__hero-description {
    font-size: 0.9em;
  }
  .page-resources-online-betting-guide__section-title {
    font-size: 1.5em;
  }
}