.page-sports-live-scores {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a1a; /* Body background from shared.css */
}

/* Hero Section */
.page-sports-live-scores__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #1a1a1a; /* Ensure dark background for hero */
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-sports-live-scores__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Subtle background image */
}

.page-sports-live-scores__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-sports-live-scores__main-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports-live-scores__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styling */
.page-sports-live-scores__section {
  padding: 60px 20px;
}

.page-sports-live-scores__container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-sports-live-scores__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Brand main color for titles */
  text-align: center;
  margin-bottom: 40px;
}

.page-sports-live-scores__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for dark backgrounds */
}

/* Link styling */
.page-sports-live-scores__link {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-sports-live-scores__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-sports-live-scores__link-text {
  color: #26A9E0;
  text-decoration: underline;
}

.page-sports-live-scores__link-text:hover {
  color: #ffffff;
}

/* Buttons */
.page-sports-live-scores__btn-primary,
.page-sports-live-scores__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.page-sports-live-scores__btn-primary {
  background-color: #26A9E0; /* Brand main color */
  color: #ffffff;
  border: 2px solid #26A9E0;
  margin-right: 15px;
}

.page-sports-live-scores__btn-primary:hover {
  background-color: #1f8ac9;
  border-color: #1f8ac9;
}

.page-sports-live-scores__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-sports-live-scores__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

/* Section specific backgrounds and text colors */
.page-sports-live-scores__dark-bg {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-sports-live-scores__light-bg {
  background-color: #222222; /* Slightly lighter dark background for contrast */
  color: #f0f0f0;
}

/* Introduction Section */
.page-sports-live-scores__introduction .page-sports-live-scores__section-title {
  color: #ffffff;
}

/* Features Section */
.page-sports-live-scores__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-sports-live-scores__feature-item {
  background-color: #333333; /* Card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-sports-live-scores__feature-image {
  width: 100%;
  max-width: 400px; /* Example max width, actual display size */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-sports-live-scores__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-sports-live-scores__feature-description {
  color: #f0f0f0;
}

/* Analysis Section */
.page-sports-live-scores__analysis-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-sports-live-scores__analysis-text {
  flex: 1;
}

.page-sports-live-scores__analysis-image-wrapper {
  flex: 0 0 600px; /* Example fixed width for desktop */
}

.page-sports-live-scores__analysis-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* How to Use Section */
.page-sports-live-scores__ordered-list {
  list-style: none;
  padding: 0;
  counter-reset: section-counter;
}

.page-sports-live-scores__list-item {
  background-color: #333333;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 70px;
}

.page-sports-live-scores__list-item::before {
  counter-increment: section-counter;
  content: counter(section-counter);
  position: absolute;
  left: 20px;
  top: 30px;
  width: 40px;
  height: 40px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
}

.page-sports-live-scores__list-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 10px;
}

/* More Services Section */
.page-sports-live-scores__more-services-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-sports-live-scores__more-services-text {
  flex: 1;
}

.page-sports-live-scores__more-services-image-wrapper {
  flex: 0 0 600px; /* Example fixed width for desktop */
}

.page-sports-live-scores__more-services-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}


/* FAQ Section */
.page-sports-live-scores__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports-live-scores__faq-item {
  background-color: #333333;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports-live-scores__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #26A9E0; /* Brand color for question background */
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.page-sports-live-scores__faq-question:hover {
  background-color: #1f8ac9;
}

.page-sports-live-scores__faq-title {
  margin: 0;
  color: #ffffff; /* Ensure title is white */
}

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

.page-sports-live-scores__faq-item.active .page-sports-live-scores__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to form an X or minus */
}

.page-sports-live-scores__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #333333; /* Answer background */
  color: #f0f0f0;
}

.page-sports-live-scores__faq-item.active .page-sports-live-scores__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px !important;
}

.page-sports-live-scores__faq-answer .page-sports-live-scores__text-block {
  margin-bottom: 0; /* Remove extra margin for last paragraph in answer */
}

/* Call to Action Section */
.page-sports-live-scores__cta {
  text-align: center;
}

.page-sports-live-scores__cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-sports-live-scores__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-sports-live-scores__main-title {
    font-size: 2.5em;
  }
  .page-sports-live-scores__section-title {
    font-size: 2em;
  }
  .page-sports-live-scores__analysis-content,
  .page-sports-live-scores__more-services-content {
    flex-direction: column;
    text-align: center;
  }
  .page-sports-live-scores__analysis-image-wrapper,
  .page-sports-live-scores__more-services-image-wrapper {
    flex: none;
    width: 100%;
    max-width: 700px; /* Adjust max width for larger tablets */
    margin-top: 30px;
  }
  .page-sports-live-scores__analysis-image,
  .page-sports-live-scores__more-services-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-sports-live-scores {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hero Section */
  .page-sports-live-scores__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
  }
  .page-sports-live-scores__main-title {
    font-size: 2em;
  }
  .page-sports-live-scores__hero-description {
    font-size: 1em;
  }

  /* Sections and Containers */
  .page-sports-live-scores__section {
    padding: 40px 15px;
  }
  .page-sports-live-scores__container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-sports-live-scores__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  /* Images */
  .page-sports-live-scores img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important; /* Ensure padding/border doesn't overflow */
  }

  /* Buttons */
  .page-sports-live-scores__btn-primary,
  .page-sports-live-scores__btn-secondary,
  .page-sports-live-scores a[class*="button"],
  .page-sports-live-scores 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: 12px 20px; /* Adjust padding for smaller screens */
  }
  .page-sports-live-scores__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports-live-scores__btn-primary {
    margin-right: 0; /* Remove right margin for stacked buttons */
  }

  /* Features Grid */
  .page-sports-live-scores__features-grid {
    grid-template-columns: 1fr;
  }

  /* Analysis & More Services Sections */
  .page-sports-live-scores__analysis-image-wrapper,
  .page-sports-live-scores__more-services-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 20px;
    box-sizing: border-box !important;
  }

  /* How to Use List */
  .page-sports-live-scores__list-item {
    padding-left: 20px; /* Adjust padding for number */
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .page-sports-live-scores__list-item::before {
    left: 15px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 1.2em;
  }
  .page-sports-live-scores__list-title {
    font-size: 1.4em;
    margin-left: 30px; /* Adjust title position */
  }

  /* FAQ Section */
  .page-sports-live-scores__faq-question {
    font-size: 1em;
    padding: 15px;
  }
  .page-sports-live-scores__faq-answer {
    padding: 15px !important;
  }
}