/* style/resources-online-betting-strategy.css */
.page-resources-online-betting-strategy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Text color for dark body background */
  background-color: transparent; /* Body background is from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-online-betting-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #017439; /* Brand primary color for hero background */
  color: #ffffff;
  overflow: hidden;
}

.page-resources-online-betting-strategy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-resources-online-betting-strategy__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for highlight, good contrast on green */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-online-betting-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

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

.page-resources-online-betting-strategy__hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px; /* Max width for video */
  height: auto;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.page-resources-online-betting-strategy__hero-video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-resources-online-betting-strategy__section {
  padding: 60px 20px;
  text-align: center;
}

.page-resources-online-betting-strategy__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-resources-online-betting-strategy__dark-bg {
  background-color: #1a1a2e; /* From body background, ensure light text */
  color: #ffffff;
}

.page-resources-online-betting-strategy__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-resources-online-betting-strategy__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #017439; /* Brand primary color for titles */
}

.page-resources-online-betting-strategy__dark-bg .page-resources-online-betting-strategy__section-title {
  color: #FFFF00; /* Yellow for titles on dark background */
}

.page-resources-online-betting-strategy__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439;
}

.page-resources-online-betting-strategy__dark-bg .page-resources-online-betting-strategy__sub-title {
  color: #f0f0f0; /* Light grey for subtitles on dark background */
}

.page-resources-online-betting-strategy__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-resources-online-betting-strategy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-resources-online-betting-strategy__btn-primary {
  background-color: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login yellow text */
  border: 2px solid #C30808;
}

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

.page-resources-online-betting-strategy__btn-secondary {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-resources-online-betting-strategy__btn-secondary:hover {
  background-color: #005a2e;
  transform: translateY(-3px);
}

/* FAQ Section */
.page-resources-online-betting-strategy__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-resources-online-betting-strategy__faq-item {
  background-color: #f9f9f9; /* Light background for FAQ items */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333; /* Dark text for light background */
}

.page-resources-online-betting-strategy__dark-bg .page-resources-online-betting-strategy__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

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

.page-resources-online-betting-strategy__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-resources-online-betting-strategy__faq-question:hover {
  background-color: #eef;
}

.page-resources-online-betting-strategy__dark-bg .page-resources-online-betting-strategy__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

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

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

.page-resources-online-betting-strategy__cta-section {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  padding: 80px 20px;
}

.page-resources-online-betting-strategy__cta-section .page-resources-online-betting-strategy__section-title {
  color: #FFFF00; /* Yellow title on green background */
}

.page-resources-online-betting-strategy__cta-section .page-resources-online-betting-strategy__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-online-betting-strategy__hero-title {
    font-size: 2.5em;
  }
  .page-resources-online-betting-strategy__section-title {
    font-size: 2em;
  }
  .page-resources-online-betting-strategy__sub-title {
    font-size: 1.5em;
  }
}

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

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

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

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

  .page-resources-online-betting-strategy__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

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

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

  .page-resources-online-betting-strategy__content-area {
    padding: 30px 15px;
  }

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

  .page-resources-online-betting-strategy__sub-title {
    font-size: 1.3em;
  }

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

  .page-resources-online-betting-strategy video,
  .page-resources-online-betting-strategy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-online-betting-strategy__hero-video-wrapper,
  .page-resources-online-betting-strategy__section,
  .page-resources-online-betting-strategy__content-area,
  .page-resources-online-betting-strategy__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-resources-online-betting-strategy__faq-question,
  .page-resources-online-betting-strategy__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-resources-online-betting-strategy__faq-item.active .page-resources-online-betting-strategy__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .page-resources-online-betting-strategy__hero-title {
    font-size: 1.8em;
  }
  .page-resources-online-betting-strategy__section-title {
    font-size: 1.5em;
  }
  .page-resources-online-betting-strategy__sub-title {
    font-size: 1.2em;
  }
}