.page-sports-football {
  color: #333333; /* Default text color for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content starts below the fixed header */
}

.page-sports-football__section {
  padding: 80px 20px;
  text-align: center;
}

.page-sports-football__section--dark {
  background-color: #0A2463; /* Primary color as dark background */
  color: #ffffff; /* Light text for dark background */
}

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

.page-sports-football__section-title {
  font-size: 2.8em;
  color: #0A2463; /* Primary color for titles */
  margin-bottom: 30px;
  font-weight: 700;
}

.page-sports-football__section-title--light {
  color: #E3B23C; /* Secondary color for titles on dark background */
}

.page-sports-football__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports-football__section-text--light {
  color: #f0f0f0;
}

.page-sports-football__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  padding: 60px 20px;
  background-color: #0A2463; /* Fallback for hero background */
}

.page-sports-football__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}

.page-sports-football__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
  max-width: 900px;
}

.page-sports-football__hero-title {
  font-size: 3.8em;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #E3B23C; /* Secondary color for hero title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports-football__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  line-height: 1.5;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-sports-football__hero-button,
.page-sports-football__live-betting-button,
.page-sports-football__get-started-button,
.page-sports-football__promo-button,
.page-sports-football__cta-button {
  display: inline-block;
  background-color: #E3B23C; /* Secondary color for buttons */
  color: #0A2463; /* Primary color for button text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-sports-football__hero-button:hover,
.page-sports-football__live-betting-button:hover,
.page-sports-football__get-started-button:hover,
.page-sports-football__promo-button:hover,
.page-sports-football__cta-button:hover {
  background-color: #f5db9c; /* Lighter shade of secondary color */
  transform: translateY(-3px);
}

.page-sports-football__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports-football__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-sports-football__feature-title {
  font-size: 1.8em;
  color: #E3B23C;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports-football__feature-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sports-football__markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.page-sports-football__market-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports-football__market-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-sports-football__market-description {
  font-size: 0.95em;
  line-height: 1.5;
  color: #555555;
}

.page-sports-football__section-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-top: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  display: block; /* Ensure it's a block element */
  max-width: 100%; /* Ensure responsiveness */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  object-fit: cover;
}

.page-sports-football__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports-football__promo-card {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.page-sports-football__promo-title {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-sports-football__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports-football__promo-button {
  margin-top: auto; /* Push button to bottom */
}

.page-sports-football__responsible-gaming-button {
  background-color: #E3B23C;
  color: #0A2463;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
  display: inline-block;
}

.page-sports-football__responsible-gaming-button:hover {
  background-color: #f5db9c;
  transform: translateY(-3px);
}

.page-sports-football__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-sports-football__step-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-sports-football__step-title {
  font-size: 1.7em;
  color: #0A2463;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-sports-football__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-sports-football__faq-accordion {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

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

.page-sports-football__accordion-header {
  background-color: #0A2463;
  color: #E3B23C;
  padding: 20px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-sports-football__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  color: #E3B23C;
  transition: transform 0.3s ease;
}

.page-sports-football__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-sports-football__accordion-content {
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-sports-football__accordion-content p {
  padding: 15px 0;
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-sports-football__cta-section {
  background-color: #E3B23C; /* Secondary color for CTA background */
  color: #0A2463; /* Primary color for CTA text */
  padding: 100px 20px;
}

.page-sports-football__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports-football__cta-section .page-sports-football__section-title {
  color: #0A2463;
}

.page-sports-football__cta-section .page-sports-football__section-text {
  color: #333333;
  margin-bottom: 40px;
}

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

.page-sports-football__cta-button--primary {
  background-color: #0A2463;
  color: #E3B23C;
}

.page-sports-football__cta-button--primary:hover {
  background-color: #1c4dc3; /* Darker shade of primary for hover */
}

.page-sports-football__cta-button--secondary {
  background-color: #ffffff;
  color: #0A2463;
  border: 2px solid #0A2463;
}

.page-sports-football__cta-button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #1c4dc3;
}

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

  .page-sports-football__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-sports-football__hero-section {
    min-height: 60vh;
  }

  .page-sports-football__hero-title {
    font-size: 2.5em;
  }

  .page-sports-football__hero-description {
    font-size: 1.2em;
  }

  .page-sports-football__section {
    padding: 60px 15px;
  }

  .page-sports-football__section-title {
    font-size: 2em;
  }

  .page-sports-football__hero-button,
  .page-sports-football__live-betting-button,
  .page-sports-football__get-started-button,
  .page-sports-football__promo-button,
  .page-sports-football__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-sports-football__features-grid,
  .page-sports-football__markets-grid,
  .page-sports-football__promo-grid,
  .page-sports-football__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-sports-football__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-sports-football__accordion-content p {
    padding: 10px 0;
  }

  .page-sports-football__cta-section {
    padding: 80px 15px;
  }

  .page-sports-football__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-sports-football img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-sports-football__hero-title {
    font-size: 2em;
  }

  .page-sports-football__hero-description {
    font-size: 1em;
  }

  .page-sports-football__section-title {
    font-size: 1.8em;
  }

  .page-sports-football__accordion-header {
    font-size: 1em;
  }

  .page-sports-football__cta-buttons {
    flex-direction: column;
  }
}