.page-sports {
  color: #333333; /* Dark text for default white body background */
}

.page-sports__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-sports__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

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

.page-sports__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 90%;
  background: rgba(26, 46, 68, 0.7);
  padding: 30px;
  border-radius: 10px;
}

.page-sports__hero-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-sports__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-sports__button--primary {
  background-color: #FFD700;
  color: #1A2E44;
}

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

.page-sports__button--secondary {
  background-color: #1A2E44;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-sports__button--secondary:hover {
  background-color: #0d1e2e;
  transform: translateY(-2px);
}

.page-sports__button--link {
  background: none;
  color: #1A2E44;
  border: 2px solid #1A2E44;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-sports__button--link:hover {
  background-color: #1A2E44;
  color: #FFD700;
}

.page-sports__button--center {
  margin: 30px auto 0 auto;
  display: block;
  width: fit-content;
}

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

.page-sports__section-title {
  font-size: 2.2em;
  color: #1A2E44;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-sports__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-sports__subsection-title {
  font-size: 1.8em;
  color: #1A2E44;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 25px;
}

.page-sports__text-content {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-sports__introduction-section, .page-sports__coverage-section, 
.page-sports__live-betting-section, .page-sports__features-section, 
.page-sports__promotions-section, .page-sports__security-section, 
.page-sports__cta-section, .page-sports__support-section {
  padding: 60px 0;
}

.page-sports__introduction-section {
  background-color: #f9f9f9;
}

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

.page-sports__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-sports__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-sports__card-title {
  font-size: 1.5em;
  color: #1A2E44;
  margin: 15px 10px;
}

.page-sports__card-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.page-sports__card-title a:hover {
  color: #FFD700;
}

.page-sports__card-description {
  font-size: 1em;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports__content-with-image {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-sports__content-with-image--reversed {
  flex-direction: row-reverse;
}

.page-sports__content-with-image img {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-sports__text-block {
  flex: 1;
}

.page-sports__image--right {
  order: 2;
}

.page-sports__image--left {
  order: 1;
}

.page-sports__image--full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

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

.page-sports__feature-item, .page-sports__promo-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-sports__feature-title, .page-sports__promo-title {
  font-size: 1.4em;
  color: #1A2E44;
  margin-bottom: 10px;
}

.page-sports__feature-description, .page-sports__promo-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-sports__cta-section {
  background-color: #1A2E44;
  color: #ffffff;
  text-align: center;
}

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

.page-sports__cta-section .page-sports__section-title::after {
  background-color: #ffffff;
}

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

.page-sports__support-section {
  background-color: #f9f9f9;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__hero-title {
    font-size: 2.2em;
  }

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

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

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding-top: var(--header-offset-mobile, 80px); /* Adjust for mobile header */
  }

  .page-sports__hero-content {
    padding: 20px;
  }

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

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

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

  .page-sports__button {
    width: 80%;
    margin: 0 auto;
  }

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

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

  .page-sports__text-content {
    font-size: 1em;
  }

  .page-sports__grid-layout {
    grid-template-columns: 1fr;
  }

  .page-sports__card-image {
    height: 200px;
  }

  .page-sports__content-with-image, .page-sports__content-with-image--reversed {
    flex-direction: column;
  }

  .page-sports__content-with-image img {
    max-width: 100%;
    width: 100%; /* Ensure images are not smaller than 200px */
    height: auto; /* Maintain aspect ratio */
  }

  /* Critical for mobile image overflow */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
  }

  .page-sports__feature-list, .page-sports__promo-list {
    grid-template-columns: 1fr;
  }

  .page-sports__cta-actions {
    flex-direction: column;
  }
}

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

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

  .page-sports__button {
    padding: 10px 20px;
    width: 90%;
  }

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

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

  .page-sports__feature-title, .page-sports__promo-title {
    font-size: 1.2em;
  }
}