/* style/sports.css */

/* Base styles for the page, assuming a dark body background from shared.css */
.page-sports {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Main text color for dark backgrounds */
  background-color: #08160F; /* Overall page background */
  line-height: 1.6;
}

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

/* Sections */
.page-sports__section {
  padding: 60px 0;
  text-align: center;
  background-color: #08160F;
}

.page-sports__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-sports__light-bg {
  background-color: #11271B; /* Card BG color for contrast */
  color: #F2FFF6;
}

.page-sports__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: #F2C14E; /* Gold for main titles */
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
}

.page-sports__section-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #2AD16F; /* Green for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-sports p {
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-sports a {
  color: #57E38D;
  text-decoration: none;
}

.page-sports a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-sports__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles padding-top, add small top padding here */
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-sports__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-sports__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-sports__main-title {
  font-size: 3.2em;
  font-weight: 800;
  color: #F2C14E; /* Gold for H1 */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-sports__hero-description {
  font-size: 1.3em;
  color: #A7D9B8;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-sports__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

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

.page-sports__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main for primary button */
  border: none;
  box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-sports__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
}

.page-sports__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Green for secondary button text */
  border: 2px solid #2AD16F;
}

.page-sports__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F; /* Dark background color for hover */
  transform: translateY(-3px);
}

.page-sports__btn-primary.--small,
.page-sports__btn-secondary.--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Grid Layouts */
.page-sports__grid-layout {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.page-sports__grid-layout.--reversed {
  flex-direction: row-reverse;
}

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

.page-sports__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-sports__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-sports__card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border color */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-sports__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #F2C14E; /* Gold for card titles */
  margin-bottom: 15px;
}

.page-sports__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

/* FAQ Section */
.page-sports__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-sports__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-sports__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #11271B;
  transition: background-color 0.3s ease;
}

.page-sports__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-sports__faq-item summary:hover {
  background-color: #0A4B2C; /* Deep Green for hover */
}

.page-sports__faq-qtext {
  flex-grow: 1;
}

.page-sports__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-sports__faq-item[open] .page-sports__faq-toggle {
  content: '−';
}

.page-sports__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.1em;
  color: #A7D9B8;
}

.page-sports__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-sports__main-title {
    font-size: 2.5em;
  }

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

  .page-sports__sub-title {
    font-size: 1.6em;
  }

  .page-sports__grid-layout {
    flex-direction: column;
    text-align: center;
  }

  .page-sports__grid-layout.--reversed {
    flex-direction: column;
  }

  .page-sports__text-block, .page-sports__image-block {
    width: 100%;
  }
}

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

  .page-sports__main-title {
    font-size: clamp(2em, 8vw, 2.8em);
  }

  .page-sports__section-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }

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

  .page-sports__hero-section,
  .page-sports__section {
    padding: 40px 0; /* Adjust padding for mobile */
  }

  .page-sports__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, small top padding here */
  }

  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-sports__card {
    padding: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile image responsiveness */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-sports__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-sports__hero-image-wrapper {
    max-height: 400px; /* Adjust hero image height for mobile */
  }

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

  .page-sports__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 1em;
  }
}