:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-light: #FFFFFF;
  --text-dark: #000000; /* For elements with light backgrounds */
  --login-button-color: #EA7C07;
  --body-bg: #0a0a0a; /* Inherited from shared.css, dark background */
}

.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--body-bg); /* Ensure consistency if needed, though body handles it */
}

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

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0a0a0a; /* Ensure dark background for the section */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px; /* Space between image and text */
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-sports__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.page-sports__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Flexible font size for H1 */
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

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

/* Buttons */
.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  text-align: center;
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-sports__btn-primary {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: 2px solid var(--primary-color);
}

.page-sports__btn-primary:hover {
  background-color: #1e87bb; /* Slightly darker blue */
  border-color: #1e87bb;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-sports__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.page-sports__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
}

/* Sections */
.page-sports__section {
  padding: 60px 0;
}

.page-sports__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-sports__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

/* Dark section for contrast */
.page-sports__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
}

/* Lists */
.page-sports__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sports__ordered-list {
  list-style: decimal;
  padding-left: 20px;
}

.page-sports__list-item {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.page-sports__list-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

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

/* Image alignment */
.page-sports__image-full {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.page-sports__image-right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 50%;
  height: auto;
  object-fit: cover;
}

.page-sports__image-left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 50%;
  height: auto;
  object-fit: cover;
}

/* Clear floats */
.page-sports__section::after {
  content: "";
  display: table;
  clear: both;
}

/* CTA final section */
.page-sports__cta-final-content {
  text-align: center;
}

.page-sports__cta-buttons--center {
  justify-content: center;
  margin-top: 30px;
}

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

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

.page-sports__faq-item details { /* For native details element */
  margin: 0;
  padding: 0;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-sports__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-sports__faq-item[open] > .page-sports__faq-question,
.page-sports__faq-item.active > .page-sports__faq-question {
  background-color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.page-sports__faq-qtext {
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

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

  .page-sports__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-sports__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

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

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__section {
    padding: 40px 0;
  }

  .page-sports__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-sports__text-block {
    font-size: 0.95rem;
  }

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

  .page-sports__list--two-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Images */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    float: none !important; /* Remove float */
    margin: 0 auto 20px auto !important; /* Center and add margin */
  }

  /* Videos (if any) */
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-sports__video-section {
    padding-top: 10px !important; /* Small top padding */
  }

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