.page-sports {
  background-color: var(--background-color, #F4F7FB); /* Default to F4F7FB if not set in shared */
  color: var(--text-main-color, #1F2D3D);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-sports__container {
  max-width: 1200px; /* Aligned with 3WIN style boxed layout */
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #0a0909; /* Deep red/dark background for hero */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Ensure hero image is not too small */
}

.page-sports__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  color: #FFFFFF; /* White text on dark background */
}

.page-sports__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Clamp for responsive H1, avoids huge fixed size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #d6d604; /* Yellow-green/lemon yellow for emphasis */
}

.page-sports__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #F4F7FB; /* Lighter text for description */
}

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

.page-sports__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 150px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-sports__button--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  border: none;
}

.page-sports__button--primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Slight inverse for hover */
  transform: translateY(-2px);
}

.page-sports__button--secondary {
  background-color: transparent;
  color: #d6d604; /* Yellow-green for secondary button text */
  border: 2px solid #d6d604;
}

.page-sports__button--secondary:hover {
  background-color: rgba(214, 214, 4, 0.1);
  transform: translateY(-2px);
}

/* General Section Styling */
.page-sports__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: var(--text-main-color, #1F2D3D);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

/* Overview Section */
.page-sports__overview-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG color */
}

.page-sports__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

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

.page-sports__text-content p {
  margin-bottom: 20px;
  font-size: 1.05em;
  color: var(--text-main-color, #1F2D3D);
}

.page-sports__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__image-wrapper--center {
    margin-top: 40px;
}

.page-sports__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

/* Features Section */
.page-sports__features-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background color */
}

.page-sports__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-sports__feature-item {
  background-color: #FFFFFF; /* Card BG color */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-sports__feature-title {
  font-size: 1.5em;
  color: #2F6BFF; /* Primary color for feature titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports__feature-item p {
  color: var(--text-main-color, #1F2D3D);
  font-size: 0.95em;
}

/* CTA Section */
.page-sports__cta-section {
  background: linear-gradient(90deg, #2F6BFF 0%, #6FA3FF 100%); /* Blue gradient background */
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
}

.page-sports__cta-title {
  font-size: clamp(2em, 4vw, 3em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-sports__cta-description {
  font-size: 1.15em;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-sports__button--cta {
  background: #d6d604; /* Yellow-green for CTA button */
  color: #1F2D3D; /* Dark text for contrast */
  font-size: 1.2em;
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
}

.page-sports__button--cta:hover {
  background: #e6e605;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__container {
    padding: 20px;
  }
  .page-sports__content-grid {
    flex-direction: column;
  }
  .page-sports__image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-bottom: 30px;
  }
  .page-sports__hero-content {
    padding: 30px 15px;
  }
  .page-sports__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__button {
    width: 80%;
    margin: 0 auto;
    padding: 10px 20px;
  }
  .page-sports__section-title {
    font-size: clamp(1.6em, 5vw, 2.2em);
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-sports__overview-section,
  .page-sports__features-section,
  .page-sports__cta-section {
    padding: 40px 0;
  }
  .page-sports__features-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__feature-title {
    font-size: 1.3em;
  }
  .page-sports__cta-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-sports__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-sports__button--cta {
    font-size: 1.1em;
    padding: 12px 30px;
  }

  /* Mobile image overflow prevention */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content area images are not too small */
.page-sports__image {
    min-width: 200px;
    min-height: 200px;
}
.page-sports__image-wrapper {
    min-width: 200px; /* Ensure the wrapper itself doesn't shrink too much */
}

/* CSS variables for colors */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg-color: #FFFFFF;
  --background-color: #F4F7FB;
  --text-main-color: #1F2D3D;
  --text-black-color: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --accent-yellow-green: #d6d604; /* Custom accent color from 3WIN style */
}

/* Ensure images maintain aspect ratio and don't shrink below 200px within content */
.page-sports img:not(.page-sports__hero-image) { /* Exclude hero image from this specific rule if needed, or include if it applies */
    width: auto; /* Allow natural width */
    height: auto; /* Allow natural height */
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Cover for consistency */
}
.page-sports__content-grid img,
.page-sports__features-section img {
    min-width: 200px;
    min-height: 200px;
    width: 100%; /* Make them fill their container, combined with object-fit */
    height: auto;
}