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

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

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

.page-sports__section-title {
  font-size: 36px;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-sports__section-title--light {
  color: #ffffff;
}

.page-sports__text-block {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
  text-align: left;
}

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

.page-sports__link {
  color: #DC143C; /* Red for links */
  text-decoration: none;
  font-weight: bold;
}

.page-sports__link:hover {
  text-decoration: underline;
}

.page-sports__link--light {
  color: #FFD700;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* As per example, for first content block */
  overflow: hidden;
  background: linear-gradient(135deg, #FFD700, #DC143C); /* Gradient background for hero */
}

.page-sports__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-sports__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.page-sports__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: #ffffff;
}

.page-sports__main-title {
  font-size: 48px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Primary color for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-sports__cta-button:hover {
  background: #DC143C; /* Secondary color on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-sports__cta-button--small {
  padding: 12px 30px;
  font-size: 16px;
}

/* Introduction Section */
.page-sports__introduction .page-sports__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
}

.page-sports__introduction .page-sports__image {
  width: 45%;
  margin-right: 5%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__introduction .page-sports__image--left {
  float: left;
  margin-right: 30px;
  margin-bottom: 20px;
}

.page-sports__introduction p {
  flex: 1;
  min-width: 300px;
  margin-bottom: 20px;
}

/* Popular Sports Section */
.page-sports__popular-sports {
  background-color: #333333; /* Dark background */
  color: #ffffff;
}

.page-sports__popular-sports .page-sports__text-block {
  color: #f0f0f0;
}

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

.page-sports__card {
  background: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-sports__card--dark {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-sports__card-title {
  font-size: 24px;
  color: #FFD700; /* Gold for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-sports__card p {
  font-size: 16px;
  line-height: 1.7;
}

/* Bet Types Section */
.page-sports__bet-types .page-sports__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: left;
}

.page-sports__bet-types .page-sports__image {
  width: 45%;
  margin-left: 5%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-sports__bet-types .page-sports__image--right {
  float: right;
  margin-left: 30px;
  margin-bottom: 20px;
}

.page-sports__bet-types p {
  flex: 1;
  min-width: 300px;
  margin-bottom: 20px;
}

.page-sports__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: left;
}

.page-sports__list li {
  background: #ffffff;
  border-left: 5px solid #FFD700; /* Gold accent */
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 17px;
}

.page-sports__list--light li {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-left-color: #DC143C; /* Red accent for dark background */
}

.page-sports__list li strong {
  color: #DC143C;
}

.page-sports__list--light li strong {
  color: #FFD700;
}

/* Advantages Section */
.page-sports__advantages {
  background-color: #DC143C; /* Secondary color background */
  color: #ffffff;
}

.page-sports__advantages .page-sports__grid--advantages {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-sports__advantages .page-sports__card--light {
  background: rgba(255, 255, 255, 0.95);
  color: #333333;
}

.page-sports__advantages .page-sports__card-title {
  color: #DC143C; /* Red for card titles on light background */
}

/* Guide Section */
.page-sports__guide-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 40px;
}

.page-sports__guide-list li {
  background: #ffffff;
  padding: 30px;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border-left: 8px solid #FFD700;
}

.page-sports__guide-list h3 {
  font-size: 22px;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-sports__guide-list p {
  font-size: 17px;
  line-height: 1.7;
}

/* Tips Section */
.page-sports__tips {
  background-color: #333333; /* Dark background */
  color: #ffffff;
}

.page-sports__tips .page-sports__text-block {
  color: #f0f0f0;
}

.page-sports__tips .page-sports__image--center {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-sports__faq {
  text-align: left;
}

.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-sports__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-sports__faq-item.active .page-sports__faq-answer {
  max-height: 2000px !important; /* Ensure content can expand */
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sports__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-sports__faq-question:active {
  background: #eeeeee;
}

.page-sports__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px; /* Slightly larger for readability */
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #333333;
}

.page-sports__faq-toggle {
  font-size: 28px; /* Larger toggle icon */
  font-weight: bold;
  line-height: 1;
  color: #DC143C; /* Red toggle icon */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* Larger touch target */
  height: 32px;
}

.page-sports__faq-item.active .page-sports__faq-toggle {
  color: #FFD700; /* Gold when active */
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

/* Conclusion Section */
.page-sports__conclusion {
  background-color: #f4f4f4;
  padding-bottom: 80px;
}

.page-sports__conclusion p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* General Image Styles (for all img within .page-sports) */
.page-sports img {
  max-width: 100%;
  height: auto;
  display: block;
  /* No filter property to change color */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports__main-title {
    font-size: 40px;
  }
  .page-sports__section-title {
    font-size: 30px;
  }
  .page-sports__hero-description {
    font-size: 18px;
  }
}

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

  .page-sports__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__hero-image {
    margin-bottom: 20px;
  }

  .page-sports__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-sports__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-sports__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    width: 100% !important;
    max-width: 300px !important; /* Constrain button width on mobile */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-sports__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }

  .page-sports__introduction .page-sports__image,
  .page-sports__bet-types .page-sports__image {
    width: 100%;
    margin: 0 0 20px 0;
    float: none;
  }

  .page-sports__introduction .page-sports__container,
  .page-sports__bet-types .page-sports__container {
    flex-direction: column;
  }

  .page-sports__introduction p,
  .page-sports__bet-types p {
    min-width: unset;
  }

  .page-sports__grid {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .page-sports__card {
    padding: 20px;
  }

  .page-sports__card-title {
    font-size: 20px;
  }

  .page-sports__list li {
    padding: 10px 15px;
    font-size: 16px;
  }

  .page-sports__guide-list li {
    padding: 20px;
  }

  .page-sports__guide-list h3 {
    font-size: 20px;
  }

  .page-sports__faq-question {
    padding: 15px;
  }

  .page-sports__faq-question h3 {
    font-size: 16px;
  }

  .page-sports__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-sports__faq-item.active .page-sports__faq-answer {
    padding: 15px !important;
  }
  
  /* Ensure all images are responsive and do not overflow */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__section, .page-sports__card, .page-sports__container, .page-sports__hero-container, .page-sports__hero-image, .page-sports__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-sports__text-block {
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-sports__cta-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}