.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f1f3f5;
}

/* Fixed navigation bar spacing */
.page-sports__hero-banner {
  padding-top: 100px; /* Desktop: Adjust based on actual shared header height */
}

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

.page-sports__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-sports__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

.page-sports__highlight-text {
  color: #003366;
  font-weight: bold;
}

/* Hero Banner Section */
.page-sports__hero-banner {
  background: linear-gradient(135deg, #003366, #1a4d80); /* Darker gradient for hero */
  color: #ffffff; /* Light text for dark background */
  padding-bottom: 80px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.page-sports__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Gold button */
  color: #003366; /* Dark blue text for gold button */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-sports__cta-button:hover {
  background: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__button-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

/* Introduction Section */
.page-sports__introduction-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-sports__image-wrapper {
  text-align: center;
  margin: 40px 0;
}

.page-sports__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Popular Sports Section */
.page-sports__popular-sports-section {
  background: linear-gradient(135deg, #003366, #004488); /* Dark background */
  color: #ffffff; /* Light text */
  padding: 60px 0;
}

.page-sports__popular-sports-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__popular-sports-section .page-sports__section-title::after {
  background-color: #FFD700;
}

.page-sports__popular-sports-section .page-sports__text-block {
  color: #f0f0f0;
}

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

.page-sports__sport-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text for light background */
}

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

.page-sports__sport-icon {
  width: 120px; /* Min 200px requirement is for content images, icons can be smaller but not tiny */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #003366;
  margin-bottom: 15px;
}

.page-sports__card-description {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
}

/* Benefits Section */
.page-sports__benefits-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-sports__benefit-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-sports__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-sports__benefit-icon {
  width: 100px; /* Min 200px requirement is for content images, icons can be smaller but not tiny */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-sports__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  position: relative;
  border: 1px solid #e0e0e0;
}

.page-sports__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #003366;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
  border-radius: 50%;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid #f1f3f5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-sports__step-card .page-sports__card-title {
  margin-top: 40px;
}

/* Featured Leagues Section */
.page-sports__featured-leagues-section {
  background: linear-gradient(135deg, #003366, #004488); /* Dark background */
  color: #ffffff; /* Light text */
  padding: 60px 0;
}

.page-sports__featured-leagues-section .page-sports__section-title {
  color: #ffffff;
}

.page-sports__featured-leagues-section .page-sports__section-title::after {
  background-color: #FFD700;
}

.page-sports__featured-leagues-section .page-sports__text-block {
  color: #f0f0f0;
}

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

.page-sports__league-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text for light background */
}

.page-sports__league-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-sports__league-logo {
  width: 150px; /* Min 200px requirement is for content images, logos can be smaller but not tiny */
  height: auto;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important; /* Important for smooth expansion */
  padding: 20px 15px !important; /* Important for padding transition */
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333; /* Dark text for light background */
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sports__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-sports__faq-question:active {
  background: #eeeeee;
}

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #003366; /* Dark blue for questions */
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  color: #333;
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-sports__hero-title {
    font-size: 40px;
  }

  .page-sports__hero-description {
    font-size: 18px;
  }

  .page-sports__section-title {
    font-size: 28px;
  }

  .page-sports__sports-grid, .page-sports__benefits-grid, .page-sports__guide-steps, .page-sports__leagues-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-sports__sport-card, .page-sports__benefit-card, .page-sports__step-card, .page-sports__league-card {
    padding: 25px;
  }

  .page-sports__card-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-banner {
    padding-top: 100px !important; /* Mobile: Adjust based on actual shared header height */
    padding-bottom: 40px;
    min-height: 300px;
  }

  .page-sports__hero-title {
    font-size: 32px;
  }

  .page-sports__hero-description {
    font-size: 16px;
  }

  .page-sports__cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .page-sports__container {
    padding: 15px;
  }

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

  .page-sports__text-block {
    font-size: 15px;
  }

  .page-sports__sports-grid, .page-sports__benefits-grid, .page-sports__guide-steps, .page-sports__leagues-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__sport-card, .page-sports__benefit-card, .page-sports__step-card, .page-sports__league-card {
    padding: 20px;
  }

  .page-sports__card-title {
    font-size: 20px;
  }

  .page-sports__card-description {
    font-size: 14px;
  }

  .page-sports__content-image, .page-sports__sport-icon, .page-sports__benefit-icon, .page-sports__league-logo {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__introduction-section, .page-sports__popular-sports-section, .page-sports__benefits-section, .page-sports__guide-section, .page-sports__featured-leagues-section, .page-sports__faq-section {
    padding: 30px 0;
  }

  .page-sports__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-sports__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-sports__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-sports__faq-answer {
    padding: 0 15px;
  }
  
  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }
  
  .page-sports__step-number {
    width: 40px;
    height: 40px;
    font-size: 24px;
    top: -20px;
    border-width: 3px;
  }

  .page-sports__step-card .page-sports__card-title {
    margin-top: 30px;
  }
}

/* Generic responsive for all image containers */
.page-sports__image-wrapper, .page-sports__sports-grid, .page-sports__benefits-grid, .page-sports__guide-steps, .page-sports__leagues-grid, .page-sports__faq-list {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-sports__image-wrapper, .page-sports__sports-grid, .page-sports__benefits-grid, .page-sports__guide-steps, .page-sports__leagues-grid, .page-sports__faq-list {
    padding-left: 15px;
    padding-right: 15px;
  }
}