/* style/sports.css */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensures consistency */
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: #FFFFFF; /* Light background for text area */
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-sports__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-sports__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-sports__lead-text {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-sports__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  margin-right: 15px;
}

.page-sports__btn-primary:hover {
  background-color: #1a8cc4;
  border-color: #1a8cc4;
}

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

.page-sports__btn-secondary:hover {
  background-color: #e0f0fb;
}

.page-sports__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding */
  background-color: #26A9E0; /* Dark background for video section */
  color: #ffffff;
}

.page-sports__section-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
}

.page-sports__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: inherit;
}

.page-sports__section-description {
  font-size: 1.1rem;
  color: #f0f0f0;
}

.page-sports__video-wrapper {
  width: 100%;
  max-width: 1000px; /* Max width for video */
  margin: 0 auto;
  background-color: #000000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.page-sports__video {
  width: 100%;
  height: auto;
  display: block;
}

.page-sports__content-section {
  padding: 80px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-sports__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-sports__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  color: #333333;
}

.page-sports__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-sports__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__card p {
  font-size: 1rem;
  color: #555555;
  padding: 0 15px;
}

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

.page-sports__features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-sports__feature-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 8px;
}

.page-sports__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-sports__feature-item p {
  font-size: 1.05rem;
  color: #555555;
}

.page-sports__guide-list {
  list-style: none;
  counter-reset: guide-counter;
  padding: 0;
  margin-top: 40px;
}

.page-sports__guide-list li {
  counter-increment: guide-counter;
  margin-bottom: 30px;
  padding-left: 60px;
  position: relative;
}

.page-sports__guide-list li::before {
  content: counter(guide-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.page-sports__guide-list h3 {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-sports__guide-list p {
  color: #555555;
}

.page-sports__strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__content-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-sports__faq-list {
  margin-top: 40px;
}

.page-sports__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-sports__faq-item summary {
  display: block;
  padding: 20px;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  font-size: 1.1rem;
  color: #26A9E0;
  list-style: none; /* Hide default marker */
}

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-sports__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 25px;
  text-align: center;
  color: #26A9E0;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  content: '−';
}

.page-sports__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-sports__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .page-sports__hero-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .page-sports {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports__hero-section {
    padding: 10px 15px 40px;
  }

  .page-sports__hero-image {
    height: 300px;
    margin-bottom: 20px;
  }

  .page-sports__main-title {
    font-size: 2.2rem !important;
    margin-bottom: 15px;
  }

  .page-sports__lead-text {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
    padding: 12px 20px;
  }

  .page-sports__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 15px;
  }

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

  .page-sports__section-header {
    margin-bottom: 30px;
  }

  .page-sports__section-title {
    font-size: 1.8rem !important;
  }

  .page-sports__section-description {
    font-size: 0.95rem;
  }

  .page-sports__video-wrapper,
  .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-sports__card-image {
    height: 200px; /* Adjust for mobile */
  }

  .page-sports__feature-item {
    padding: 20px;
  }

  .page-sports__guide-list li {
    padding-left: 50px;
  }

  .page-sports__guide-list li::before {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }

  .page-sports__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

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

@media (max-width: 480px) {
  .page-sports__main-title {
    font-size: 1.8rem !important;
  }
  .page-sports__section-title {
    font-size: 1.5rem !important;
  }
  .page-sports__card-image {
    height: 180px;
  }
}

/* Contrast Fixes (if needed) */
.page-sports__dark-bg {
  color: #ffffff;
}

.page-sports__light-bg {
  color: #333333;
}

/* Button specific contrast */
.page-sports__btn-primary {
  color: #ffffff;
}

.page-sports__btn-secondary {
  color: #26A9E0;
}