/* style/resources-online-betting-guide.css */

:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #1a1a2e;
  --card-bg-dark: rgba(255, 255, 255, 0.1);
  --card-bg-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-resources-online-betting-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency if body background is overridden */
}

.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;
  text-align: center;
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

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

.page-resources-online-betting-guide__hero-section .page-resources-online-betting-guide__container {
  position: relative;
  z-index: 1;
}

.page-resources-online-betting-guide__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-light);
}

.page-resources-online-betting-guide__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

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

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

.page-resources-online-betting-guide__btn-primary {
  background-color: var(--secondary-color);
  color: var(--bg-dark);
  border: 2px solid var(--secondary-color);
}

.page-resources-online-betting-guide__btn-primary:hover {
  background-color: darken(var(--secondary-color), 10%);
  border-color: darken(var(--secondary-color), 10%);
}

.page-resources-online-betting-guide__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-resources-online-betting-guide__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.page-resources-online-betting-guide__btn-large {
  padding: 18px 35px;
  font-size: 1.1em;
}

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

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

.page-resources-online-betting-guide__light-bg {
  background-color: #2a2a4a; /* Slightly lighter dark background for contrast */
  color: var(--text-light);
}

.page-resources-online-betting-guide__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

.page-resources-online-betting-guide__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
  color: var(--text-light);
}

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

.page-resources-online-betting-guide__card {
  background-color: var(--card-bg-dark);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-online-betting-guide__feature-icon,
.page-resources-online-betting-guide__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

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

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

.page-resources-online-betting-guide__strategy-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-resources-online-betting-guide__strategy-item {
  background-color: var(--card-bg-dark);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.page-resources-online-betting-guide__faq-item {
  background-color: var(--card-bg-dark);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-online-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--text-light);
  transition: background-color 0.3s ease;
}

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

.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-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, padding 0.3s ease;
  color: var(--text-light);
}

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

.page-resources-online-betting-guide__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-resources-online-betting-guide__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-resources-online-betting-guide__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-light);
}

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

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

  .page-resources-online-betting-guide__feature-grid,
  .page-resources-online-betting-guide__guide-steps,
  .page-resources-online-betting-guide__game-category-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

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

  .page-resources-online-betting-guide__hero-section {
    padding: 60px 15px;
  }

  .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__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-resources-online-betting-guide__btn-primary,
  .page-resources-online-betting-guide__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

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

  .page-resources-online-betting-guide__text-block {
    font-size: 1em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-resources-online-betting-guide__feature-grid,
  .page-resources-online-betting-guide__guide-steps,
  .page-resources-online-betting-guide__game-category-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }

  .page-resources-online-betting-guide__card {
    padding: 25px;
  }

  .page-resources-online-betting-guide__feature-title,
  .page-resources-online-betting-guide__step-title,
  .page-resources-online-betting-guide__game-title {
    font-size: 1.5em;
  }

  .page-resources-online-betting-guide__strategy-item {
    padding: 20px;
    margin: 0 15px 20px 15px;
  }

  .page-resources-online-betting-guide__strategy-title {
    font-size: 1.4em;
  }

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

  .page-resources-online-betting-guide__faq-question {
    padding: 18px 20px;
    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: 15px 20px 20px 20px;
  }

  .page-resources-online-betting-guide__cta-section {
    padding: 60px 15px;
  }

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

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

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

  /* Image and video containers responsiveness */
  .page-resources-online-betting-guide__section,
  .page-resources-online-betting-guide__card,
  .page-resources-online-betting-guide__container,
  .page-resources-online-betting-guide__video-section,
  .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;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Video section padding-top for mobile */
  .page-resources-online-betting-guide__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

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

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

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