/* style/resources-sports-betting-strategy.css */

:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --text-color-dark-bg: #FFFFFF;
  --text-color-light-bg: #333333;
  --button-register: #C30808;
  --button-login: #C30808;
  --font-color-register-login: #FFFF00;
  --body-bg-color: #1a1a2e; /* From shared.css */
}

.page-resources-sports-betting-strategy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark-bg); /* Default text color for dark body background */
  background-color: var(--body-bg-color);
}

.page-resources-sports-betting-strategy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
  overflow: hidden;
}

.page-resources-sports-betting-strategy__hero-content {
  max-width: 900px;
  z-index: 1;
  margin-bottom: 30px;
}

.page-resources-sports-betting-strategy__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-color-dark-bg);
}

.page-resources-sports-betting-strategy__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-color-dark-bg);
}

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

.page-resources-sports-betting-strategy__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-resources-sports-betting-strategy__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-resources-sports-betting-strategy__btn-primary,
.page-resources-sports-betting-strategy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping initially */
}

.page-resources-sports-betting-strategy__btn-primary {
  background-color: var(--button-register);
  color: var(--font-color-register-login);
  border: 2px solid var(--button-register);
}

.page-resources-sports-betting-strategy__btn-primary:hover {
  background-color: darken(var(--button-register), 10%);
  border-color: darken(var(--button-register), 10%);
}

.page-resources-sports-betting-strategy__btn-secondary {
  background-color: transparent;
  color: var(--text-color-dark-bg);
  border: 2px solid var(--text-color-dark-bg);
}

.page-resources-sports-betting-strategy__btn-secondary:hover {
  background-color: var(--text-color-dark-bg);
  color: var(--primary-color);
}

.page-resources-sports-betting-strategy__video-section {
  background-color: var(--primary-color);
  padding: 60px 20px;
  color: var(--text-color-dark-bg);
  text-align: center;
}

.page-resources-sports-betting-strategy__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 30px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-sports-betting-strategy__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.page-resources-sports-betting-strategy__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.page-resources-sports-betting-strategy__content-area {
  background-color: var(--secondary-color);
  color: var(--text-color-light-bg);
  padding: 60px 20px;
}

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

.page-resources-sports-betting-strategy__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 25px;
  text-align: center;
  font-weight: bold;
}

.page-resources-sports-betting-strategy__section-description {
  font-size: 1.1em;
  color: var(--text-color-light-bg);
  margin-bottom: 40px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-sports-betting-strategy__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  line-height: 1.7;
  color: var(--text-color-light-bg);
}

.page-resources-sports-betting-strategy__text-block a {
  color: var(--primary-color);
  text-decoration: underline;
}

.page-resources-sports-betting-strategy__text-block a:hover {
  color: darken(var(--primary-color), 10%);
}

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

.page-resources-sports-betting-strategy__sub-section-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-resources-sports-betting-strategy__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 25px;
  color: var(--text-color-light-bg);
}

.page-resources-sports-betting-strategy__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.page-resources-sports-betting-strategy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-resources-sports-betting-strategy__btn-inline {
  margin-top: 20px;
  margin-left: 10px;
}

/* FAQ Section */
.page-resources-sports-betting-strategy__faq-container {
  margin-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.page-resources-sports-betting-strategy__faq-item {
  border-bottom: 1px solid #e0e0e0;
}

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

.page-resources-sports-betting-strategy__faq-question:hover {
  color: darken(var(--primary-color), 10%);
}

.page-resources-sports-betting-strategy__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: inherit;
}

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

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

.page-resources-sports-betting-strategy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-color-light-bg);
}

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

.page-resources-sports-betting-strategy__faq-answer p {
  margin-bottom: 15px;
}

/* Dark background for specific sections */
.page-resources-sports-betting-strategy__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-color-dark-bg);
}

.page-resources-sports-betting-strategy__light-bg {
  background-color: var(--secondary-color);
  color: var(--text-color-light-bg);
}

/* Responsive Design */

/* Desktop/Tablet */
@media (min-width: 769px) {
  .page-resources-sports-betting-strategy__hero-section {
    flex-direction: row;
    padding: 100px 50px;
    text-align: left;
    justify-content: space-between;
  }

  .page-resources-sports-betting-strategy__hero-content {
    max-width: 50%;
    margin-bottom: 0;
  }

  .page-resources-sports-betting-strategy__hero-title {
    font-size: 3.8em;
  }

  .page-resources-sports-betting-strategy__hero-description {
    font-size: 1.3em;
  }

  .page-resources-sports-betting-strategy__hero-buttons {
    justify-content: flex-start;
  }

  .page-resources-sports-betting-strategy__hero-image-wrapper {
    position: relative;
    width: 45%;
    height: auto;
    margin-left: 50px;
  }

  .page-resources-sports-betting-strategy__hero-image {
    position: relative;
    opacity: 1;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  }

  .page-resources-sports-betting-strategy__video-wrapper {
    max-width: 900px;
  }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px) {
  .page-resources-sports-betting-strategy__hero-title {
    font-size: 2.8em;
  }
  .page-resources-sports-betting-strategy__hero-description {
    font-size: 1.1em;
  }
  .page-resources-sports-betting-strategy__section-title {
    font-size: 2em;
  }
  .page-resources-sports-betting-strategy__sub-section-title {
    font-size: 1.5em;
  }
  .page-resources-sports-betting-strategy__image {
    margin: 20px auto;
  }
  .page-resources-sports-betting-strategy__video-wrapper {
    padding-bottom: 65%; /* Adjust aspect ratio for smaller screens */
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page-resources-sports-betting-strategy {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-resources-sports-betting-strategy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }

  .page-resources-sports-betting-strategy__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-resources-sports-betting-strategy__btn-primary,
  .page-resources-sports-betting-strategy__btn-secondary {
    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-sports-betting-strategy__hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 30px;
  }

  .page-resources-sports-betting-strategy__hero-image {
    opacity: 0.5;
    width: 100%;
    height: auto;
  }

  .page-resources-sports-betting-strategy__video-section {
    padding: 40px 15px;
  }

  .page-resources-sports-betting-strategy__video-wrapper {
    padding-bottom: 75%; /* More vertical space for mobile videos */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-resources-sports-betting-strategy__content-area {
    padding: 40px 15px;
  }

  .page-resources-sports-betting-strategy__container {
    padding: 0;
  }

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

  .page-resources-sports-betting-strategy__section-description {
    font-size: 0.95em;
  }

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

  .page-resources-sports-betting-strategy__text-block,
  .page-resources-sports-betting-strategy__list-item,
  .page-resources-sports-betting-strategy__faq-question,
  .page-resources-sports-betting-strategy__faq-answer p {
    font-size: 1em;
  }

  .page-resources-sports-betting-strategy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-resources-sports-betting-strategy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    flex-wrap: wrap !important;
  }

  .page-resources-sports-betting-strategy__faq-question {
    padding: 15px 0;
  }

  .page-resources-sports-betting-strategy__faq-answer {
    padding: 0 10px;
  }

  .page-resources-sports-betting-strategy__faq-item.active .page-resources-sports-betting-strategy__faq-answer {
    padding: 10px;
  }
  
  .page-resources-sports-betting-strategy__section,
  .page-resources-sports-betting-strategy__card,
  .page-resources-sports-betting-strategy__container,
  .page-resources-sports-betting-strategy__video-section,
  .page-resources-sports-betting-strategy__video-container,
  .page-resources-sports-betting-strategy__video-wrapper,
  .page-resources-sports-betting-strategy__cta-buttons,
  .page-resources-sports-betting-strategy__button-group,
  .page-resources-sports-betting-strategy__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scrolling */
  }

  .page-resources-sports-betting-strategy__btn-inline {
    margin-left: 0;
    width: 100%;
  }
}