.page-sports {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Body background #f4f7f6 (light), so text should be dark */
  line-height: 1.6;
  background-color: #f4f7f6;
}

.page-sports__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  background-color: #08160F; /* Deep Green background for hero */
  color: #F2FFF6; /* Main text color for dark background */
  position: relative;
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-sports__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1; /* Ensure content is above image if any layering occurs (though structure prevents direct overlap) */
}

.page-sports__main-title {
  font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2FFF6;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-sports__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

.page-sports__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-sports__section:nth-of-type(even) {
  background-color: #f0f3f2;
}

.page-sports__section-title {
  font-size: clamp(1.8em, 4vw, 2.8em);
  font-weight: 700;
  margin-bottom: 25px;
  color: #11A84E;
  line-height: 1.3;
}

.page-sports__section-description {
  font-size: 1.05em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #333333;
}

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

.page-sports__feature-card,
.page-sports__promotion-card,
.page-sports__security-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E0E0E0;
}

.page-sports__feature-card:hover,
.page-sports__promotion-card:hover,
.page-sports__security-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.page-sports__feature-image,
.page-sports__promotion-image,
.page-sports__security-icon {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-sports__card-title,
.page-sports__odds-title,
.page-sports__security-title,
.page-sports__guide-step-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0A4B2C; /* Deep Green */
}

.page-sports__card-text,
.page-sports__odds-text,
.page-sports__security-text,
.page-sports__guide-step-text {
  font-size: 1em;
  color: #333333;
  line-height: 1.6;
}

.page-sports__odds-item {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  color: #F2FFF6; /* Text Main */
  text-align: left;
  border: 1px solid #2E7A4E; /* Border */
}

.page-sports__odds-item .page-sports__odds-title {
  color: #57E38D; /* Glow */
}

.page-sports__odds-item .page-sports__odds-text {
  color: #A7D9B8; /* Text Secondary */
}

.page-sports__guide-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.page-sports__guide-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #11A84E;
}

.page-sports__guide-item:last-child {
  margin-bottom: 0;
}

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-sports__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-sports__btn-secondary:hover {
  background-color: #11A84E;
  color: #ffffff;
}

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

.page-sports__faq-section {
  background-color: #f0f3f2;
}

.page-sports__faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-sports__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #0A4B2C;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-sports__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-sports__faq-question:hover {
  background-color: #F2FFF6;
}

.page-sports__faq-item[open] .page-sports__faq-question {
  background-color: #F2FFF6;
  color: #11A84E;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #11A84E;
}

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

.page-sports__faq-item:not([open]) .page-sports__faq-answer {
  display: none;
}

/* Ensure __video-container has width: 100% in desktop CSS */
.page-sports__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-sports__hero-image-wrapper {
    max-height: 400px;
  }
  .page-sports__main-title {
    font-size: clamp(2em, 6vw, 3em);
  }
  .page-sports__section-title {
    font-size: clamp(1.6em, 5vw, 2.4em);
  }
  .page-sports__feature-image,
  .page-sports__promotion-image,
  .page-sports__security-icon {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-image-wrapper {
    max-height: 300px;
  }
  .page-sports__hero-section,
  .page-sports__section {
    padding: 30px 15px;
  }
  .page-sports__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-sports__hero-description {
    font-size: 1em;
  }
  .page-sports__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }
  .page-sports__grid-container,
  .page-sports__odds-grid,
  .page-sports__promotions-grid,
  .page-sports__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-sports__feature-card,
  .page-sports__promotion-card,
  .page-sports__security-item,
  .page-sports__odds-item,
  .page-sports__guide-item,
  .page-sports__faq-item {
    padding: 20px;
    border-radius: 8px;
  }
  .page-sports__feature-image,
  .page-sports__promotion-image,
  .page-sports__security-icon {
    height: 200px !important; /* Ensure minimum height for content images */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Containers for images, videos, buttons */
  .page-sports__hero-image-wrapper,
  .page-sports__feature-card,
  .page-sports__promotion-card,
  .page-sports__security-item,
  .page-sports__cta-buttons,
  .page-sports__hero-cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-sports__cta-buttons,
  .page-sports__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    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__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* General image responsive styles for all images within .page-sports */
  .page-sports img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* General video responsive styles for all videos within .page-sports */
  .page-sports video,
  .page-sports__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__video-section,
  .page-sports__video-container,
  .page-sports__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-sports__hero-section {
    padding-bottom: 40px;
  }
  .page-sports__hero-image-wrapper {
    max-height: 250px;
  }
  .page-sports__main-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }
  .page-sports__hero-description {
    font-size: 0.95em;
  }
  .page-sports__section-title {
    font-size: clamp(1.3em, 7vw, 1.8em);
  }
  .page-sports__feature-card,
  .page-sports__promotion-card,
  .page-sports__security-item,
  .page-sports__odds-item,
  .page-sports__guide-item,
  .page-sports__faq-item {
    padding: 15px;
  }
  .page-sports__card-title,
  .page-sports__odds-title,
  .page-sports__security-title,
  .page-sports__guide-step-title {
    font-size: 1.2em;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9em;
  }
  .page-sports__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-sports__faq-answer {
    padding: 0 20px 15px;
  }
}