.page-sports {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bb5 100%); /* Brand color gradient */
  color: #ffffff; /* White text on dark background */
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
  box-sizing: border-box;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-sports__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-sports__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-sports__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-sports__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
}

.page-sports__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-sports__btn-primary:hover {
  background-color: #d16b05;
  transform: translateY(-2px);
}

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

.page-sports__btn-secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

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

.page-sports__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-sports__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: inherit; /* Inherit color from section background */
}

.page-sports__section-title--center {
  text-align: center;
}

.page-sports__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .page-sports__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-sports__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "text image"; /* Default order for desktop */
  }
  .page-sports__content-grid--reverse .page-sports__image-wrapper {
    grid-area: image;
  }
  .page-sports__content-grid--reverse .page-sports__text-block {
    grid-area: text;
  }
}

.page-sports__image-wrapper {
  text-align: center;
}

.page-sports__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Min size for content images */
  min-height: 200px;
}

.page-sports__text-block {
  font-size: 1rem;
  color: inherit;
}

.page-sports__text-block--light {
  color: #ffffff;
}

.page-sports__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: inherit;
}

.page-sports__sub-title--center {
  text-align: center;
}

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

.page-sports__link:hover {
  color: #d16b05;
}

.page-sports__highlight {
  font-weight: bold;
  color: inherit; /* Ensure contrast */
}

.page-sports__faq-list {
  max-width: 900px;
  margin: 60px auto 0;
  padding: 0 20px;
}

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

.page-sports__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  list-style: none;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

.page-sports__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-sports__faq-item summary::-webkit-details-marker {
  display: none;
}

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

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

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

.page-sports__faq-answer p {
  margin-top: 10px;
}

.page-sports__cta-section {
  padding: 80px 0;
  background-color: #f5f5f5; /* Light background for CTA */
  color: #333333;
}

.page-sports__cta-container {
  max-width: 800px;
  text-align: center;
}

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

.page-sports__btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

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

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

  .page-sports__main-title {
    font-size: 2rem;
  }

  .page-sports__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-sports__container {
    padding: 0 15px;
  }

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

  .page-sports__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-sports__content-grid--reverse {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .page-sports__image-wrapper {
    order: -1; /* Image first on mobile for reverse grid */
  }

  .page-sports__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: unset;
    min-height: unset;
  }
  
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__cta-section,
  .page-sports__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
    padding-left: 15px;
    padding-right: 15px;
  }

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

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