/* style/sports.css */

/* Base styles for the page */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Inherit from shared.css, expected dark */
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #ffffff; /* Default for dark sections */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-sports__section-description {
  font-size: 1.1em;
  color: #f0f0f0; /* Slightly lighter for descriptions */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Color contrast enforcement */
.page-sports__dark-bg {
  background-color: #0d0d0d; /* Simulating --black-color, ensure dark */
  color: #ffffff; /* Light text for dark background */
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-sports__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
  z-index: 1;
}

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