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

/* Base styles for the page content */
.page-resources-sports-betting-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Container for consistent padding */
.page-resources-sports-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-resources-sports-betting-guide__hero-section {
  position: relative;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #017439; /* Primary brand color for hero background */
  color: #ffffff;
  text-align: center;
  overflow: hidden; /* For image positioning */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.page-resources-sports-betting-guide__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFF00; /* Register/Login font color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-resources-sports-betting-guide__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-sports-betting-guide__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  margin-top: 30px;
}

.page-resources-sports-betting-guide__btn-primary,
.page-resources-sports-betting-guide__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;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-sports-betting-guide__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-resources-sports-betting-guide__btn-primary:hover {
  background-color: #e00a0a;
  border-color: #e00a0a;
}

.page-resources-sports-betting-guide__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Primary brand color */
  border: 2px solid #017439;
}

.page-resources-sports-betting-guide__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005a2d;
}

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

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

.page-resources-sports-betting-guide__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2; /* Subtle background image */
}

/* Content Area */
.page-resources-sports-betting-guide__content-area {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff; /* Light text for dark background */
}

.page-resources-sports-betting-guide__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Emphasize titles */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-resources-sports-betting-guide__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-sports-betting-guide__text-center {
  text-align: center;
}

/* Feature Grid */
.page-resources-sports-betting-guide__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-resources-sports-betting-guide__feature-card,
.page-resources-sports-betting-guide__step-card,
.page-resources-sports-betting-guide__tip-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent light background on dark */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height in grid */
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.page-resources-sports-betting-guide__feature-card:hover,
.page-resources-sports-betting-guide__step-card:hover,
.page-resources-sports-betting-guide__tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources-sports-betting-guide__feature-icon {
  width: 100%;
  max-width: 250px; /* Adjust as needed, but min 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-resources-sports-betting-guide__feature-title,
.page-resources-sports-betting-guide__step-title,
.page-resources-sports-betting-guide__tip-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-resources-sports-betting-guide__feature-description {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1; /* Make description take available space */
}

/* Step-by-step section */
.page-resources-sports-betting-guide__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* List styles */
.page-resources-sports-betting-guide__list {
  list-style-type: disc;
  padding-left: 40px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-resources-sports-betting-guide__list-item strong {
  color: #FFFF00;
}

/* Tips Grid */
.page-resources-sports-betting-guide__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* Video Section */
.page-resources-sports-betting-guide__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Max width for the video */
  margin: 40px auto;
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  /* Aspect ratio for video if not using intrinsic height/width */
  padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width * 100%) */
  height: 0;
  cursor: pointer; /* Indicate clickable */
}

.page-resources-sports-betting-guide__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block; /* Ensure it behaves as a block element */
}

/* FAQ Section */
.page-resources-sports-betting-guide__faq-list {
  max-width: 900px;
  margin: 40px auto 60px auto;
}

.page-resources-sports-betting-guide__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.page-resources-sports-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #017439; /* Primary brand color for question header */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-resources-sports-betting-guide__faq-question:hover {
  background-color: #005a2d;
}

.page-resources-sports-betting-guide__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #FFFF00; /* Emphasize FAQ question */
  flex-grow: 1;
}

.page-resources-sports-betting-guide__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an 'x' or minus */
}

.page-resources-sports-betting-guide__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05); /* Lighter background for answer */
}

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

.page-resources-sports-betting-guide__faq-answer .page-resources-sports-betting-guide__paragraph {
  margin-bottom: 15px;
}

.page-resources-sports-betting-guide__faq-answer .page-resources-sports-betting-guide__btn-primary,
.page-resources-sports-betting-guide__faq-answer .page-resources-sports-betting-guide__btn-secondary {
  margin-top: 10px;
  margin-bottom: 10px;
}


/* CTA Section at the bottom */
.page-resources-sports-betting-guide__cta-section {
  text-align: center;
  margin-top: 60px;
  padding-bottom: 40px;
}


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

@media (max-width: 768px) {
  .page-resources-sports-betting-guide__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-resources-sports-betting-guide__hero-title {
    font-size: 2.2em;
  }
  .page-resources-sports-betting-guide__hero-description {
    font-size: 1.1em;
  }
  .page-resources-sports-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-resources-sports-betting-guide__btn-primary,
  .page-resources-sports-betting-guide__btn-secondary,
  .page-resources-sports-betting-guide a[class*="button"],
  .page-resources-sports-betting-guide a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-resources-sports-betting-guide__cta-buttons,
  .page-resources-sports-betting-guide__button-group,
  .page-resources-sports-betting-guide__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

  .page-resources-sports-betting-guide__content-area {
    padding: 40px 0;
  }
  .page-resources-sports-betting-guide__container {
    padding: 0 15px;
  }
  .page-resources-sports-betting-guide__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-resources-sports-betting-guide__paragraph {
    font-size: 1em;
  }
  .page-resources-sports-betting-guide__feature-grid,
  .page-resources-sports-betting-guide__step-by-step,
  .page-resources-sports-betting-guide__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-resources-sports-betting-guide__feature-card,
  .page-resources-sports-betting-guide__step-card,
  .page-resources-sports-betting-guide__tip-card {
    padding: 20px;
  }
}