/* style/sports.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background #1a1a2e (dark), so text must be light */
  background-color: transparent; /* Rely on body background from shared.css */
}

.page-sports__section {
  padding: 60px 20px;
  text-align: center;
}

.page-sports__dark-bg {
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
}

.page-sports__light-bg {
  background-color: #1a1a2e; /* Dark background from body */
  color: #ffffff;
}

.page-sports__section-title {
  font-size: clamp(2em, 5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-sports__subsection-title {
  font-size: clamp(1.5em, 4vw, 2.2em);
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-sports__section-text {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 600px;
  overflow: hidden;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
}

.page-sports__hero-title {
  font-size: clamp(2.5em, 6vw, 3.8em);
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
  font-size: clamp(1.2em, 3vw, 1.5em);
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  width: auto; /* Default for desktop */
}

.page-sports__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom color for register/login font */
  border: 2px solid #C30808;
}

.page-sports__btn-primary:hover {
  background-color: #E01010;
  border-color: #E01010;
  color: #FFFFFF;
}

.page-sports__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-sports__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  border-color: #ffffff;
}

.page-sports__image-container {
  margin: 40px auto;
  max-width: 1000px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-sports__section-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-sports__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-sports__numbered-list {
  counter-reset: list-counter;
}

.page-sports__numbered-list .page-sports__list-item {
  counter-increment: list-counter;
  position: relative;
  padding-left: 50px;
}

.page-sports__numbered-list .page-sports__list-item::before {
  content: counter(list-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #C30808;
  color: #FFFF00;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

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

.page-sports__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  background-color: #017439;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  list-style: none; /* Remove default marker */
}

.page-sports__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

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

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

.page-sports__faq-item[open] .page-sports__faq-toggle {
  transform: rotate(45deg);
}

.page-sports__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-sports__faq-answer p {
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-sports__hero-description {
    font-size: clamp(1em, 2.5vw, 1.3em);
  }

  .page-sports__section-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }

  .page-sports__subsection-title {
    font-size: clamp(1.4em, 3.5vw, 2em);
  }

  .page-sports__section-text {
    font-size: 1em;
  }
}

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

  .page-sports__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-sports__hero-content {
    padding: 30px 15px;
  }

  .page-sports__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: 1em;
  }

  .page-sports__image-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__section,
  .page-sports__card,
  .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__faq-item summary {
    padding: 15px 20px;
    font-size: 1.05em;
  }

  .page-sports__faq-answer {
    padding: 15px 20px;
  }

  .page-sports__numbered-list .page-sports__list-item {
    padding-left: 45px;
  }

  .page-sports__numbered-list .page-sports__list-item::before {
    width: 25px;
    height: 25px;
    font-size: 1em;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-sports__hero-description {
    font-size: clamp(0.9em, 3.5vw, 1.1em);
  }

  .page-sports__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-sports__subsection-title {
    font-size: clamp(1.2em, 5vw, 1.8em);
  }
}