.page-resources-football-odds-analysis {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #ffffff); /* Fallback to white if var not defined */
}

.page-resources-football-odds-analysis__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-resources-football-odds-analysis__section {
  padding: 60px 0;
  text-align: center;
}

.page-resources-football-odds-analysis__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-resources-football-odds-analysis__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-resources-football-odds-analysis__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: inherit; /* Inherit color from parent section */
}

.page-resources-football-odds-analysis__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Hero Section */
.page-resources-football-odds-analysis__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-football-odds-analysis__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-resources-football-odds-analysis__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-resources-football-odds-analysis__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 800px;
  padding: 20px;
}

.page-resources-football-odds-analysis__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-resources-football-odds-analysis__description {
  font-size: 1.3em;
  margin-bottom: 30px;
}

/* Buttons */
.page-resources-football-odds-analysis__btn-primary,
.page-resources-football-odds-analysis__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  margin: 10px;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-resources-football-odds-analysis__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-resources-football-odds-analysis__btn-primary:hover {
  background-color: #1a7bb0;
  border-color: #1a7bb0;
}

.page-resources-football-odds-analysis__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-resources-football-odds-analysis__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1a7bb0;
  border-color: #1a7bb0;
}

.page-resources-football-odds-analysis__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Images */
.page-resources-football-odds-analysis img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-football-odds-analysis__image-full-width {
  width: 100%;
  object-fit: cover;
  max-width: 1000px; /* Example max width for content images */
  min-height: 200px; /* Ensure minimum height */
}

.page-resources-football-odds-analysis__image-centered {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  min-height: 200px; /* Ensure minimum height */
}

/* Lists */
.page-resources-football-odds-analysis__list {
  list-style-type: disc;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 30px auto;
  padding-left: 20px;
  color: inherit;
}

.page-resources-football-odds-analysis__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Video Section */
.page-resources-football-odds-analysis__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.page-resources-football-odds-analysis__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* FAQ Section */
.page-resources-football-odds-analysis__faq-section {
  text-align: left;
}

.page-resources-football-odds-analysis__faq-list {
  max-width: 900px;
  margin: 30px auto;
}

.page-resources-football-odds-analysis__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-resources-football-odds-analysis__faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-resources-football-odds-analysis__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #ffffff;
}

.page-resources-football-odds-analysis__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-resources-football-odds-analysis__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-resources-football-odds-analysis__faq-item.active .page-resources-football-odds-analysis__faq-toggle {
  transform: rotate(45deg);
}

.page-resources-football-odds-analysis__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0; /* Lighter text for answer in dark section */
}

.page-resources-football-odds-analysis__faq-item.active .page-resources-football-odds-analysis__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-resources-football-odds-analysis__main-title {
    font-size: 2.8em;
  }
  .page-resources-football-odds-analysis__description {
    font-size: 1.1em;
  }
  .page-resources-football-odds-analysis__section-title {
    font-size: 2em;
  }
  .page-resources-football-odds-analysis__text-block, .page-resources-football-odds-analysis__list-item {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-resources-football-odds-analysis {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-resources-football-odds-analysis__hero-section {
    height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
  }
  .page-resources-football-odds-analysis__hero-content {
    padding: 15px;
  }
  .page-resources-football-odds-analysis__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-resources-football-odds-analysis__description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-resources-football-odds-analysis__section {
    padding: 40px 0;
  }
  .page-resources-football-odds-analysis__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-resources-football-odds-analysis__text-block {
    font-size: 0.95em;
    text-align: left;
  }
  .page-resources-football-odds-analysis__list {
    padding-left: 15px;
  }
  .page-resources-football-odds-analysis__list-item {
    font-size: 0.95em;
  }
  .page-resources-football-odds-analysis__btn-primary,
  .page-resources-football-odds-analysis__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100%;
    max-width: 100% !important;
    margin: 5px 0;
  }
  .page-resources-football-odds-analysis__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-resources-football-odds-analysis__container,
  .page-resources-football-odds-analysis__video-wrapper,
  .page-resources-football-odds-analysis__faq-list,
  .page-resources-football-odds-analysis__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-resources-football-odds-analysis img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important; /* Ensure minimum height for content images */
  }
  .page-resources-football-odds-analysis__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-resources-football-odds-analysis__video-wrapper {
    padding-bottom: 75%; /* Adjust aspect ratio for better mobile view if needed */
  }
}

@media (max-width: 480px) {
  .page-resources-football-odds-analysis__main-title {
    font-size: 1.8em;
  }
  .page-resources-football-odds-analysis__description {
    font-size: 0.9em;
  }
  .page-resources-football-odds-analysis__section-title {
    font-size: 1.5em;
  }
  .page-resources-football-odds-analysis__hero-section {
    height: 50vh;
  }
}