.page-sports {
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #1A2E59; /* Fallback background */
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
  z-index: 1;
}

.page-sports__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  color: #ffffff;
}

.page-sports__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-sports__hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-sports__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.page-sports__btn--primary {
  background-color: #FFD700;
  color: #1A2E59;
  border: 2px solid #FFD700;
}

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

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

.page-sports__btn--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.page-sports__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-sports__btn--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

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

.page-sports__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #1A2E59;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

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

.page-sports__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #444444;
}

.page-sports__text-content--light {
  color: #e0e0e0;
}

.page-sports__overview-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-sports__features-section {
  padding: 80px 0;
  background-color: #1A2E59;
  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: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-sports__feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-sports__feature-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide in card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-sports__feature-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-sports__feature-description {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-sports__jili-integration-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-sports__jili-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-sports__jili-content {
  flex: 1;
}

.page-sports__jili-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__jili-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-sports__promo-section {
  padding: 80px 0;
  background-color: #1A2E59;
  text-align: center;
}

.page-sports__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-sports__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-sports__faq-question {
  font-size: 1.4em;
  color: #1A2E59;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-sports__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-sports__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-sports__faq-answer a:hover {
  color: #e5c000;
}

.page-sports__cta-section {
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #1A2E59 0%, #3a5c92 100%);
}

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

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

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

@media (max-width: 768px) {
  .page-sports__hero-title {
    font-size: 2.5em;
  }

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

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

  .page-sports__btn {
    width: 100%;
    max-width: 300px;
  }

  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-sports__features-grid,
  .page-sports__faq-grid {
    grid-template-columns: 1fr;
  }

  .page-sports__jili-container {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__jili-image {
    margin-top: 30px;
  }

  /* Ensure all content images in mobile are responsive and not smaller than 200px */
  .page-sports img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
}

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

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

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

  .page-sports__hero-section {
    min-height: 500px;
  }
}