.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

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

.page-sports__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

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

.page-sports__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  color: #333333;
}

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

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

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

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

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

.page-sports__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-sports__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Ensure hero section has a minimum height */
}

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

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

.page-sports__hero-content-wrapper {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 60px 0;
  width: 100%;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports__hero-title {
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 900px;
  font-size: clamp(2em, 4vw, 3.5em);
}

.page-sports__hero-description {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

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

/* Intro Section */
.page-sports__intro-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-sports__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-sports__feature-item {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-sports__feature-heading {
  color: #26A9E0;
  font-size: 1.3em;
  margin-bottom: 10px;
  display: block;
}

/* Gameshow Section */
.page-sports__gameshow-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__gameshow-section .page-sports__section-title,
.page-sports__gameshow-section .page-sports__text-block {
  color: #ffffff;
}

.page-sports__gameshow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-sports__gameshow-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__gameshow-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

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

.page-sports__gameshow-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-sports__gameshow-description {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 15px;
  flex-grow: 1;
}

/* Guide Section */
.page-sports__guide-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-sports__guide-step {
  text-align: center;
  background: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-sports__step-icon {
  width: 60px;
  height: 60px;
  background: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px;
}

.page-sports__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports__step-description {
  font-size: 1em;
  color: #555555;
}

.page-sports__step-description a {
  color: #26A9E0;
  text-decoration: underline;
}

/* Promo Section */
.page-sports__promo-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__promo-section .page-sports__section-title,
.page-sports__promo-section .page-sports__text-block {
  color: #ffffff;
}

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

.page-sports__promo-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease, background 0.3s ease;
}

.page-sports__promo-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.page-sports__promo-image {
  width: 100%;
  max-width: 400px; /* Constrain image width within card */
  height: auto;
  min-height: 200px; /* Ensure minimum size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports__promo-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-sports__promo-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Section */
.page-sports__security-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-sports__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-sports__security-item {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
}

.page-sports__security-heading {
  color: #26A9E0;
  font-size: 1.3em;
  margin-bottom: 10px;
  display: block;
}

/* Support Section */
.page-sports__support-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-sports__support-section .page-sports__section-title,
.page-sports__support-section .page-sports__text-block {
  color: #ffffff;
}

.page-sports__support-contact {
  text-align: center;
  margin-top: 40px;
}

.page-sports__contact-info {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-sports__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.1em;
  color: #ffffff;
}

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

/* FAQ Section */
.page-sports__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-sports__faq-item {
  background: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-sports__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.2em;
  color: #26A9E0;
  outline: none;
  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-qtext {
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-sports__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.7;
}

/* Conclusion Section */
.page-sports__conclusion-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-sports__conclusion-section .page-sports__section-title,
.page-sports__conclusion-section .page-sports__text-block {
  color: #ffffff;
}

/* Global image settings to prevent small icons and ensure responsiveness */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Ensure all images are at least 200x200px where applicable */
.page-sports__promo-image, .page-sports__gameshow-image {
  min-width: 200px;
  min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__gameshow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-sports__hero-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-sports__hero-description {
    font-size: 1.1em;
  }
}

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

  .page-sports__hero-section {
    min-height: 450px;
    padding-top: 10px !important; /* Ensure small padding */
  }

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

  .page-sports__hero-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    margin-bottom: 15px;
  }

  .page-sports__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px;
  }

  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary,
  .page-sports a[class*="button"],
  .page-sports a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-sports__hero-cta-buttons,
  .page-sports__cta-wrapper,
  .page-sports__button-group,
  .page-sports__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

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

  .page-sports__sub-title {
    font-size: 1.5em !important;
  }

  .page-sports__text-block {
    font-size: 1em !important;
  }

  .page-sports__gameshow-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .page-sports__gameshow-image {
    height: 250px; /* Adjust height for mobile */
  }

  .page-sports__guide-steps {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-sports__promo-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .page-sports__feature-list {
    grid-template-columns: 1fr !important;
  }

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

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

  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports__section,
  .page-sports__card,
  .page-sports__container,
  .page-sports__hero-image-wrapper,
  .page-sports__gameshow-item,
  .page-sports__promo-card,
  .page-sports__guide-step,
  .page-sports__security-item,
  .page-sports__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-sports__hero-section .page-sports__container {
    padding-left: 0;
    padding-right: 0;
  }
  .page-sports__gameshow-section .page-sports__container,
  .page-sports__promo-section .page-sports__container,
  .page-sports__support-section .page-sports__container,
  .page-sports__conclusion-section .page-sports__container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* Dark background text color override */
.page-sports__dark-bg {
  color: #ffffff;
}

.page-sports__dark-bg .page-sports__text-block, 
.page-sports__dark-bg .page-sports__sub-title,
.page-sports__dark-bg .page-sports__feature-heading {
  color: #f0f0f0;
}

/* Light background text color override */
.page-sports__light-bg {
  color: #333333;
}

.page-sports__light-bg .page-sports__text-block, 
.page-sports__light-bg .page-sports__sub-title,
.page-sports__light-bg .page-sports__feature-heading {
  color: #333333;
}