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

.page-sports__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-sports__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  font-size: 1em;
}

.page-sports__button--primary {
  background-color: #FFD700;
  color: #003366;
  border: 2px solid #FFD700;
}

.page-sports__button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-sports__button--secondary {
  background-color: transparent;
  color: #003366;
  border: 2px solid #003366;
}

.page-sports__button--secondary:hover {
  background-color: #003366;
  color: #FFD700;
  transform: translateY(-2px);
}

.page-sports__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

/* Hero Section */
.page-sports__hero-section {
  background-color: #003366;
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.page-sports__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD700;
  font-weight: 800;
}

.page-sports__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-sports__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-sports__hero-image-container {
  width: 100%;
  max-width: 1000px; /* Adjust based on desired display size */
  margin-top: 40px;
  position: relative;
  z-index: 0;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.page-sports__features-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-sports__feature-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-sports__feature-icon {
  width: 100%; /* Ensure images fill card width, max 400px as per HTML */
  max-width: 400px; /* Ensure images fill card width */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-height: 200px; /* Minimum size for content images */
}

.page-sports__card-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-sports__card-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
}

/* Sports Covered Section */
.page-sports__sports-covered-section {
  padding: 80px 0;
  background-color: #f0f5f9;
}

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

.page-sports__sport-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__sport-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-sports__sport-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum size for content images */
}

.page-sports__sport-card .page-sports__card-title {
  padding: 20px 20px 0;
  font-size: 1.4em;
}

.page-sports__sport-card .page-sports__card-text {
  padding: 0 20px 20px;
  font-size: 0.95em;
}

/* Betting Guide Section */
.page-sports__betting-guide-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-sports__step-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.page-sports__step-number {
  background-color: #FFD700;
  color: #003366;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Promotions Section */
.page-sports__promotions-section {
  padding: 80px 0;
  background-color: #003366;
  color: #ffffff;
}

.page-sports__promotions-section .page-sports__section-title {
  color: #FFD700;
}

.page-sports__promotions-section .page-sports__section-description {
  color: #e0e0e0;
}

.page-sports__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  text-align: center;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__promo-image {
  width: 100%;
  height: 280px; /* Fixed height for promo images */
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum size for content images */
}

.page-sports__promo-card .page-sports__card-title {
  color: #FFD700;
  margin-top: 20px;
}

.page-sports__promo-card .page-sports__card-text {
  color: #e0e0e0;
  padding: 0 20px 20px;
}

.page-sports__promo-card .page-sports__button {
  margin-bottom: 20px;
}

/* Mobile CTA Section */
.page-sports__mobile-cta-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-sports__mobile-cta-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.page-sports__mobile-cta-text {
  flex: 1;
  min-width: 300px;
}

.page-sports__mobile-cta-text .page-sports__section-title {
  text-align: left;
}

.page-sports__mobile-cta-text .page-sports__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-sports__mobile-cta-image-container {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-sports__mobile-cta-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-height: 200px; /* Minimum size for content images */
}

/* Responsible Gaming Section */
.page-sports__responsible-gaming-section {
  padding: 80px 0;
  background-color: #f0f5f9;
}

.page-sports__responsible-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 700px;
  text-align: left;
}

.page-sports__responsible-item {
  background-color: #ffffff;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #333333;
  display: flex;
  align-items: center;
}

.page-sports__responsible-item::before {
  content: '✓';
  color: #FFD700;
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2em;
}

.page-sports__responsible-gaming-section .page-sports__button {
  margin-top: 20px;
}

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-sports__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-sports__faq-question {
  font-size: 1.3em;
  color: #003366;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-sports__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-question::after {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
  display: none;
  margin-top: 10px;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  display: block;
}

.page-sports__faq-section .page-sports__button {
  margin-top: 40px;
}

/* CTA Bottom Section */
.page-sports__cta-bottom-section {
  padding: 80px 0;
  background-color: #FFD700;
  color: #003366;
  text-align: center;
}

.page-sports__cta-bottom-section .page-sports__section-title {
  color: #003366;
}

.page-sports__cta-bottom-section .page-sports__section-description {
  color: #333333;
  margin-bottom: 30px;
}

.page-sports__cta-bottom-section .page-sports__button--primary {
  background-color: #003366;
  color: #FFD700;
  border-color: #003366;
}

.page-sports__cta-bottom-section .page-sports__button--primary:hover {
  background-color: #002244;
  border-color: #002244;
}

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

@media (max-width: 768px) {
  .page-sports__hero-section {
    flex-direction: column;
    padding: 60px 20px;
  }

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

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

  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__button {
    width: 100%;
    max-width: 300px; /* Constrain button width on mobile */
    margin: 0 auto;
  }

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

  .page-sports__section-description {
    font-size: 0.95em;
  }

  .page-sports__features-grid,
  .page-sports__sports-grid,
  .page-sports__steps-grid,
  .page-sports__promotions-grid {
    grid-template-columns: 1fr;
  }

  .page-sports__mobile-cta-content {
    flex-direction: column;
  }

  .page-sports__mobile-cta-text .page-sports__section-title,
  .page-sports__mobile-cta-text .page-sports__section-description {
    text-align: center;
  }

  /* Ensure content images are responsive on mobile */
  .page-sports__features-section img,
  .page-sports__sports-covered-section img,
  .page-sports__promotions-section img,
  .page-sports__mobile-cta-section img,
  .page-sports__hero-section img {
    max-width: 100%;
    height: auto;
    min-height: 200px; /* Maintain minimum height for content images */
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-sports__card-title {
    font-size: 1.3em;
  }
  .page-sports__faq-question {
    font-size: 1.1em;
  }
}