.page-sports {
  color: #ffffff; /* Body background is dark (#121212), so use light text */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #ffc107; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

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

.page-sports__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

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

.page-sports__btn-secondary:hover {
  background-color: #ffc107;
  color: #121212;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

.page-sports__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

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

.page-sports__hero-title {
  font-size: 3.8em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* Intro Section */
.page-sports__intro-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #f0f0f0;
}

/* Featured Sports Section */
.page-sports__featured-sports {
  padding: 80px 0;
  background-color: #121212;
}

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

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

.page-sports__sport-card:hover {
  transform: translateY(-10px);
}

.page-sports__sport-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-sports__sport-title {
  font-size: 1.5em;
  color: #ffc107;
  padding: 20px 15px 10px;
}

.page-sports__sport-description {
  padding: 0 15px 20px;
  font-size: 1em;
}

/* Advantages Section */
.page-sports__advantages-section {
  padding: 80px 0;
  background-color: #007bff; /* Primary brand color as background */
  color: #ffffff;
}

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

.page-sports__advantage-item {
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent white for contrast */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-sports__advantage-title {
  font-size: 1.6em;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-sports__advantage-description {
  font-size: 1em;
  line-height: 1.6;
}

/* Guide CTA Section */
.page-sports__guide-cta-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
  color: #f0f0f0;
}

.page-sports__guide-cta-section .page-sports__btn-primary {
  margin-top: 30px;
}

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

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

.page-sports__promo-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
}

.page-sports__promo-card:hover {
  transform: translateY(-10px);
}

.page-sports__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-sports__promo-title {
  font-size: 1.5em;
  color: #ffc107;
  padding: 20px 15px 10px;
}

.page-sports__promo-description {
  padding: 0 15px 20px;
  font-size: 1em;
  flex-grow: 1;
}

.page-sports__promo-cta {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-sports__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: #007bff; /* Primary color for question background */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__faq-question:hover {
  background-color: #0056b3;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px !important;
}

.page-sports__faq-answer p {
  margin-bottom: 10px;
}

/* CTA Section */
.page-sports__cta-section {
  padding: 80px 0;
  background-color: #007bff;
  text-align: center;
  color: #ffffff;
}

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

/* Global Image/Video Responsiveness */
.page-sports img,
.page-sports video {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-sports__sport-image,
.page-sports__promo-image {
  min-height: 200px; /* Ensure minimum size */
}

/* 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: 2em;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }

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

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

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-sports__container {
    padding: 0 20px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-sports__text-block {
    font-size: 1em;
  }

  .page-sports__sports-grid,
  .page-sports__advantages-grid,
  .page-sports__promo-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports__sport-card,
  .page-sports__promo-card,
  .page-sports__advantage-item {
    padding: 20px;
  }

  .page-sports__sport-image,
  .page-sports__promo-image {
    height: 180px;
    min-height: 180px;
    max-width: 100% !important;
    width: 100% !important;
  }

  .page-sports__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-sports__faq-answer {
    padding: 0 15px;
  }

  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }

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

  /* Image and Video Responsiveness for mobile */
  .page-sports img,
  .page-sports video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-section,
  .page-sports__intro-section,
  .page-sports__featured-sports,
  .page-sports__advantages-section,
  .page-sports__guide-cta-section,
  .page-sports__promotions-section,
  .page-sports__faq-section,
  .page-sports__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}

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

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