/* style/sports.css */

/* Base styles for the sports 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); /* Assuming shared.css defines a dark black-color */
}

.page-sports__section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__sub-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__description,
.page-sports p,
.page-sports li {
  font-size: 1rem;
  color: #f0f0f0; /* Light text for readability on dark background */
  margin-bottom: 15px;
}

.page-sports__link {
  color: #26A9E0;
  text-decoration: underline;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom */
  overflow: hidden;
  text-align: center;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 15px;
}

.page-sports__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* H1 with clamp */
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.page-sports__hero-description {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow word breaking */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

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

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

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

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

/* Content Area */
.page-sports__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #1a1a1a; /* Slightly lighter dark background for content blocks */
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-sports__text-block {
  margin-bottom: 30px;
}

.page-sports__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  object-fit: cover;
}

.page-sports__image-content--center {
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.page-sports__dark-section {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 20px;
  margin-bottom: 40px;
  border-radius: 10px;
}

.page-sports__dark-section .page-sports__section-title,
.page-sports__dark-section .page-sports__sub-title {
  color: #FFFFFF;
}

.page-sports__dark-section .page-sports p,
.page-sports__dark-section .page-sports li {
  color: #f0f0f0;
}

.page-sports__features-grid,
.page-sports__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.page-sports__feature-card,
.page-sports__advantage-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-sports__feature-card .page-sports__card-title,
.page-sports__advantage-card .page-sports__card-title {
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-sports__feature-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.page-sports__feature-list li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-sports__faq-section {
  max-width: 1000px;
  margin: 0 auto 40px auto;
}

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

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

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #262626;
  font-weight: bold;
  color: #FFFFFF;
  font-size: 1.1rem;
  list-style: none; /* Remove default marker for details summary */
}

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

.page-sports__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 10px;
  color: #26A9E0;
}

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

/* Bottom CTA Section */
.page-sports__cta-bottom-section {
  background-color: #26A9E0;
  padding: 80px 20px;
  text-align: center;
  border-radius: 10px;
  margin-top: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__cta-bottom-section .page-sports__section-title,
.page-sports__cta-bottom-section .page-sports__description {
  color: #FFFFFF;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__cta-bottom-section .page-sports__cta-buttons {
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-image-wrapper {
    max-height: 500px;
  }
  .page-sports__hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
  .page-sports__hero-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 10px 15px 40px 15px;
  }
  .page-sports__hero-image-wrapper {
    max-height: 400px;
  }
  .page-sports__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-sports__hero-description {
    font-size: 1rem;
  }
  .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: 0.95rem;
  }

  .page-sports__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 30px;
  }

  .page-sports__sub-title {
    font-size: 1.4rem;
  }

  .page-sports__content-area,
  .page-sports__dark-section,
  .page-sports__cta-bottom-section {
    padding: 40px 15px;
    margin-left: 15px;
    margin-right: 15px;
    max-width: calc(100% - 30px) !important; /* Ensure content does not overflow */
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-sports__features-grid,
  .page-sports__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }
  .page-sports__hero-description {
    font-size: 0.9rem;
  }
  .page-sports__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .page-sports__sub-title {
    font-size: 1.2rem;
  }
}