.page-sports {
  color: #333333; /* Dark text for light body background */
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  min-height: 500px;
}

.page-sports__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-sports__hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  border-radius: 10px;
}

.page-sports__hero-content {
  color: #ffffff;
}

.page-sports__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #007bff; /* Brand primary color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-sports__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-sports__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  text-align: center;
}

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

.page-sports__button--primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-sports__button--secondary {
  background-color: #28a745; /* Brand auxiliary color */
  color: #ffffff;
  border: 2px solid #28a745;
}

.page-sports__button--secondary:hover {
  background-color: #1e7e34;
  border-color: #1e7e34;
  transform: translateY(-2px);
}

.page-sports__button--link {
  background: none;
  color: #007bff;
  border: none;
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-sports__button--link:hover {
  color: #0056b3;
  transform: none;
}

.page-sports__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-sports__section-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #007bff;
}

.page-sports__section-description {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__section-description--more {
  margin-top: 40px;
}

.page-sports__section-description--small {
  font-size: 0.9em;
  margin-top: 30px;
}

.page-sports__why-choose .page-sports__section-description {
  margin-bottom: 60px;
}

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

.page-sports__feature-card,
.page-sports__sport-item,
.page-sports__guide-card,
.page-sports__promo-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__feature-card:hover,
.page-sports__sport-item:hover,
.page-sports__guide-card:hover,
.page-sports__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-image,
.page-sports__sport-image,
.page-sports__promo-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__feature-title,
.page-sports__sport-title,
.page-sports__guide-title,
.page-sports__promo-title {
  font-size: 1.6em;
  color: #007bff;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-sports__guide-title a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-sports__guide-title a:hover {
  color: #0056b3;
}

.page-sports__feature-text,
.page-sports__sport-text,
.page-sports__guide-text,
.page-sports__promo-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__sports-covered .page-sports__section-description {
  margin-bottom: 60px;
}

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

.page-sports__responsible-gaming {
  background-color: #f8f9fa;
  border-top: 1px solid #e0e0e0;
}

.page-sports__responsible-gaming .page-sports__section-title {
  color: #333333;
}

.page-sports__responsible-gaming .page-sports__section-description {
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 3em;
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
  .page-sports__section-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px);
  }
  .page-sports__hero-title {
    font-size: 2.5em;
  }
  .page-sports__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-sports__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
  .page-sports__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-sports__features-grid,
  .page-sports__sports-grid,
  .page-sports__guides-grid,
  .page-sports__promo-cards {
    grid-template-columns: 1fr;
  }
  .page-sports__feature-card,
  .page-sports__sport-item,
  .page-sports__guide-card,
  .page-sports__promo-card {
    padding: 25px;
  }
  .page-sports__feature-image,
  .page-sports__sport-image,
  .page-sports__promo-image {
    height: auto; /* Allow image to scale with width */
    max-width: 100%; /* Ensure images don't overflow */
    min-width: 200px;
    min-height: 200px;
  }
  .page-sports__section {
    padding: 40px 15px;
  }
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all images within .page-sports are responsive and don't cause overflow */
  .page-sports img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 2em;
  }
  .page-sports__hero-description {
    font-size: 0.9em;
  }
  .page-sports__hero-container {
    padding: 30px 15px;
  }
  .page-sports__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-sports__section-title {
    font-size: 1.8em;
  }
  .page-sports__feature-title,
  .page-sports__sport-title,
  .page-sports__guide-title,
  .page-sports__promo-title {
    font-size: 1.4em;
  }
}