.page-sports {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* Inherited from body via shared.css */
}

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

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  min-height: 600px;
  overflow: hidden;
  background-color: #1a1a2e; /* Ensure dark background */
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;\  height: 100%;
  z-index: 0;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-sports__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

.page-sports__intro-text {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-sports__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

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

.page-sports__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

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

.page-sports__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-sports__about-section,
.page-sports__why-choose,
.page-sports__promotions-section,
.page-sports__cta-bottom {
  padding: 60px 0;
  color: #333333; /* Light background, dark text */
  background-color: #ffffff;
}

.page-sports__about-section .page-sports__section-title,
.page-sports__why-choose .page-sports__section-title,
.page-sports__promotions-section .page-sports__section-title,
.page-sports__cta-bottom .page-sports__section-title,
.page-sports__about-section .page-sports__paragraph,
.page-sports__why-choose .page-sports__paragraph,
.page-sports__promotions-section .page-sports__paragraph,
.page-sports__cta-bottom .page-sports__paragraph,
.page-sports__about-section .page-sports__card-title,
.page-sports__why-choose .page-sports__card-title,
.page-sports__promotions-section .page-sports__card-title,
.page-sports__cta-bottom .page-sports__card-title,
.page-sports__about-section .page-sports__card-description,
.page-sports__why-choose .page-sports__card-description,
.page-sports__promotions-section .page-sports__card-description,
.page-sports__cta-bottom .page-sports__card-description {
  color: #333333;
}

.page-sports__popular-sports,
.page-sports__guide-section,
.page-sports__faq-section {
  padding: 60px 0;
  color: #ffffff; /* Dark background, light text */
  background-color: #1a1a2e;
}

.page-sports__popular-sports .page-sports__section-title,
.page-sports__guide-section .page-sports__section-title,
.page-sports__faq-section .page-sports__section-title,
.page-sports__popular-sports .page-sports__paragraph,
.page-sports__guide-section .page-sports__paragraph,
.page-sports__faq-section .page-sports__paragraph,
.page-sports__popular-sports .page-sports__card-title,
.page-sports__guide-section .page-sports__card-title,
.page-sports__faq-section .page-sports__card-title,
.page-sports__popular-sports .page-sports__card-description,
.page-sports__guide-section .page-sports__card-description,
.page-sports__faq-section .page-sports__card-description,
.page-sports__popular-sports .page-sports__faq-question h3,
.page-sports__guide-section .page-sports__faq-question h3,
.page-sports__faq-section .page-sports__faq-question h3 {
  color: #ffffff;
}

.page-sports__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-sports__image-item {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-sports__sports-grid,
.page-sports__features-grid,
.page-sports__guide-steps,
.page-sports__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__sport-card,
.page-sports__feature-card,
.page-sports__step-card,
.page-sports__promo-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark sections */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-sports__about-section .page-sports__sport-card,
.page-sports__about-section .page-sports__feature-card,
.page-sports__about-section .page-sports__step-card,
.page-sports__about-section .page-sports__promo-card,
.page-sports__why-choose .page-sports__sport-card,
.page-sports__why-choose .page-sports__feature-card,
.page-sports__why-choose .page-sports__step-card,
.page-sports__why-choose .page-sports__promo-card,
.page-sports__promotions-section .page-sports__sport-card,
.page-sports__promotions-section .page-sports__feature-card,
.page-sports__promotions-section .page-sports__step-card,
.page-sports__promotions-section .page-sports__promo-card,
.page-sports__cta-bottom .page-sports__sport-card,
.page-sports__cta-bottom .page-sports__feature-card,
.page-sports__cta-bottom .page-sports__step-card,
.page-sports__cta-bottom .page-sports__promo-card {
  background-color: #f8f8f8; /* Light background for light sections */
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-sports__sport-card .page-sports__card-title,
.page-sports__feature-card .page-sports__card-title,
.page-sports__step-card .page-sports__card-title,
.page-sports__promo-card .page-sports__card-title {
  color: #26A9E0; /* Brand color for titles */
}

.page-sports__card-description {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-sports__full-width-btn {
  width: 100%;
  margin-top: 30px;
}

.page-sports__step-icon {
  background-color: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-sports__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
}

.page-sports__faq-toggle {
  font-size: 1.8em;
  font-weight: 700;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  transform: rotate(45deg);
  color: #EA7C07;
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: 2.8em;
  }
  .page-sports__intro-text {
    font-size: 1.2em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 500px;
    padding: 60px 15px;
  }
  .page-sports__main-title {
    font-size: 2.2em;
    line-height: 1.2;
  }
  .page-sports__intro-text {
    font-size: 1em;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-sports__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-sports__paragraph {
    font-size: 0.95em;
  }
  .page-sports__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-sports__image-grid,
  .page-sports__sports-grid,
  .page-sports__features-grid,
  .page-sports__guide-steps,
  .page-sports__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__card-image {
    height: 180px;
  }
  .page-sports__card-title {
    font-size: 1.3em;
  }
  .page-sports__faq-question h3 {
    font-size: 1em;
  }

  /* Mobile image responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-sports__image-grid,
  .page-sports__sports-grid,
  .page-sports__features-grid,
  .page-sports__guide-steps,
  .page-sports__promo-cards,
  .page-sports__section,
  .page-sports__card,
  .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-sports__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section respects header offset on mobile */
  }
  /* All content images must be >= 200px. No specific CSS rule needed to enforce this, but rather a check of width/height attributes in HTML. */
  .page-sports__about-section,
  .page-sports__why-choose,
  .page-sports__promotions-section,
  .page-sports__cta-bottom,
  .page-sports__popular-sports,
  .page-sports__guide-section,
  .page-sports__faq-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .page-sports__main-title {
    font-size: 1.8em;
  }
  .page-sports__hero-section {
    padding: 40px 10px;
  }
  .page-sports__section-title {
    font-size: 1.5em;
  }
  .page-sports__faq-question h3 {
    font-size: 0.9em;
  }
}