.page-sports {
  background-color: var(--bg-color, #08160F); /* Default to a dark green if --bg-color is not set */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

/* Sections */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  overflow: hidden;
  padding-bottom: 60px; /* Space below content */
  background-color: #08160F; /* Ensure dark background for hero */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 300px; /* Ensure minimum height */
}

.page-sports__hero-content {
  position: relative; /* Ensure content is in normal flow, not overlaid */
  text-align: center;
  padding: 20px 20px 0;
  max-width: 900px;
  margin-top: -80px; /* Overlap slightly with image for visual flow, but not overlay text on image */
  background-color: transparent; /* Text background should not cover image */
  z-index: 2;
}

.page-sports__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 15px;
  padding: 0 10px; /* Small padding to prevent text from touching edges */
  font-size: clamp(2rem, 5vw, 3.5rem); /* Example clamp for responsive H1 */
}

.page-sports__hero-description {
  font-size: 1.15rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-sports__btn-primary,
.page-sports__btn-secondary,
.page-sports__card-link,
.page-sports__faq-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Ensure padding is included in width */
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
  text-align: center;
}

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #F2FFF6;
  border: 2px solid #2E7A4E; /* Border color */
}

.page-sports__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* #2E7A4E with opacity */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* General Section Styling */
.page-sports__intro-section,
.page-sports__sports-types-section,
.page-sports__experience-section,
.page-sports__promotions-section,
.page-sports__guide-section,
.page-sports__safety-section,
.page-sports__faq-section,
.page-sports__conclusion-section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-sports__dark-bg {
  background-color: #08160F;
}

.page-sports__section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold for section titles */
  text-align: center;
  margin-bottom: 20px;
}

.page-sports__section-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-sports__sub-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-sports__text-block p,
.page-sports__text-block ul,
.page-sports__text-block li {
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-sports__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

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

/* Card Styling */
.page-sports__card {
  background-color: #11271B; /* Card BG color */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure cards in a grid have equal height */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-sports__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-sports__card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Minimum image size */
  display: block;
}

.page-sports__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-sports__card-text {
  font-size: 0.95rem;
  color: #A7D9B8;
  flex-grow: 1; /* Allow text to grow and fill space */
  margin-bottom: 20px;
}

.page-sports__card-link {
  color: #2AD16F; /* Green for links */
  font-weight: 600;
  text-decoration: none;
  margin-top: auto; /* Push link to bottom of card */
  align-self: flex-start;
}

.page-sports__card-link:hover {
  text-decoration: underline;
  color: #57E38D; /* Glow color on hover */
}

/* Sports Grid */
.page-sports__sports-grid,
.page-sports__promo-grid,
.page-sports__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-sports__step-card .page-sports__card-title {
  color: #F2C14E; /* Gold for step titles */
}

.page-sports__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2AD16F; /* Green for step number */
  margin-bottom: 15px;
  display: block;
}

/* Safety Section */
.page-sports__safety-section .page-sports__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-sports__safety-section .page-sports__image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Limit image size */
  border-radius: 12px;
  object-fit: cover;
  min-height: 200px; /* Minimum image size */
  display: block;
}

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

.page-sports__faq-item {
  background-color: #11271B; /* Card BG color */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6;
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: rgba(46, 122, 78, 0.2); /* #2E7A4E with opacity */
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2AD16F;
  margin-left: 15px;
}

/* Hide default details marker */
.page-sports__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-sports__faq-item summary {
  list-style: none;
}

.page-sports__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8;
}

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

.page-sports__faq-link {
  color: #2AD16F;
  text-decoration: none;
  font-weight: 600;
}

.page-sports__faq-link:hover {
  text-decoration: underline;
  color: #57E38D;
}

/* CTA Wrapper */
.page-sports__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__grid-2-cols {
    grid-template-columns: 1fr;
  }
  .page-sports__safety-section .page-sports__image-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__container {
    padding: 0 15px;
  }

  .page-sports__hero-section {
    padding-bottom: 40px;
  }

  .page-sports__hero-content {
    margin-top: -60px;
    padding: 15px 15px 0;
  }

  .page-sports__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-sports__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports__card-link,
  .page-sports__faq-link {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px;
  }
  
  .page-sports__cta-wrapper {
    padding: 0 15px; /* Add padding to wrapper */
  }

  .page-sports__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 15px;
  }

  .page-sports__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-sports__sub-title {
    font-size: 1.3rem;
  }

  .page-sports__intro-section,
  .page-sports__sports-types-section,
  .page-sports__experience-section,
  .page-sports__promotions-section,
  .page-sports__guide-section,
  .page-sports__safety-section,
  .page-sports__faq-section,
  .page-sports__conclusion-section {
    padding: 40px 0;
  }

  .page-sports__card {
    padding: 20px;
  }

  .page-sports__card-title {
    font-size: 1.15rem;
  }

  .page-sports__card-text {
    font-size: 0.9rem;
  }

  /* Mobile image, video, button responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports video { /* No video on this page, but for completeness */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__video-section, /* If video was present */
  .page-sports__video-container,
  .page-sports__video-wrapper,
  .page-sports__cta-buttons,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  .page-sports__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
  }

  .page-sports__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-sports__faq-answer {
    padding: 0 20px 15px;
  }
}