.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #1a1a1a; /* Inherited from shared.css, explicitly set for clarity */
}

.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  min-height: 600px;
  overflow: hidden;
  background-color: #0A246A; /* Primary brand color for hero background */
  color: #ffffff;
}

.page-sports__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-sports__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

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

.page-sports__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E0B300; /* Accent color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-sports__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-sports__btn-primary {
  background-color: #E0B300;
  color: #0A246A;
  border: 2px solid #E0B300;
}

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

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

.page-sports__btn-secondary:hover {
  background-color: #E0B300;
  color: #0A246A;
}

.page-sports__section {
  padding: 80px 20px;
}

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

.page-sports__container--centered {
  text-align: center;
}

.page-sports__section-title {
  font-size: 2.5em;
  color: #E0B300;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-sports__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #0A246A;
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

.page-sports__dark-section .page-sports__section-title::after {
  background-color: #E0B300;
}

.page-sports__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
  text-align: justify;
}

.page-sports__overview-section {
  background-color: #1a1a1a;
}

.page-sports__betting-types-section,
.page-sports__tips-section {
  background-color: #2a2a2a;
}

.page-sports__guide-section {
  background-color: #1a1a1a;
}

.page-sports__advantages-section,
.page-sports__faq-section,
.page-sports__cta-bottom-section {
  background-color: #0A246A;
  color: #ffffff;
}

.page-sports__advantages-section .page-sports__section-title {
  color: #E0B300;
}

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

.page-sports__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-sports__card-title {
  font-size: 1.5em;
  color: #E0B300;
  margin-bottom: 15px;
}

.page-sports__card-text {
  font-size: 1em;
  line-height: 1.7;
  flex-grow: 1;
}

.page-sports__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-sports__numbered-list {
  list-style-type: decimal;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-sports__list-item {
  margin-bottom: 10px;
}

.page-sports__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-sports__card--no-bg {
  background-color: transparent;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-sports__faq-list {
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__faq-item {
  background-color: 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 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #E0B300;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

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

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

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 25px 20px 25px;
}

.page-sports__cta-bottom-section {
  padding-bottom: 80px;
}

.page-sports__cta-bottom-section .page-sports__section-title {
  color: #E0B300;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.8em;
  }
  .page-sports__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    min-height: 450px;
    padding: 40px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing below fixed header for mobile */
  }

  .page-sports__hero-title {
    font-size: 2.2em;
  }

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

  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95em;
  }

  .page-sports__section {
    padding: 50px 15px;
  }

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

  .page-sports__section-title {
    font-size: 1.8em;
  }

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

  .page-sports__advantages-grid,
  .page-sports__grid-2-cols {
    grid-template-columns: 1fr;
  }

  .page-sports__card {
    padding: 20px;
  }

  .page-sports__card-title {
    font-size: 1.3em;
  }

  .page-sports__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

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

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

  /* Image responsive enforcement */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all image containers are responsive */
  .page-sports__image-wrapper,
  .page-sports__hero-image-wrapper,
  .page-sports__container,
  .page-sports__section,
  .page-sports__card,
  .page-sports__advantages-grid,
  .page-sports__grid-2-cols,
  .page-sports__faq-list,
  .page-sports__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
}

@media (max-width: 480px) {
  .page-sports__hero-title {
    font-size: 1.8em;
  }
  .page-sports__section-title {
    font-size: 1.6em;
  }
}