/* style/sports.css */

/* Base styles for page-sports */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

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

.page-sports__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-sports__main-title {
  font-size: clamp(36px, 5vw, 56px);
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.1;
}

.page-sports__description,
.page-sports__text-block,
.page-sports__list-description,
.page-sports__advantages-description,
.page-sports__guide-description,
.page-sports__faq-answer p {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 15px;
  text-align: justify;
}

.page-sports__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
}

.page-sports__hero-image-wrapper {
  width: 100%;
  position: relative;
  margin-bottom: 30px;
}

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

.page-sports__hero-content {
  width: 100%;
  max-width: 900px;
  text-align: center;
  z-index: 1;
}

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

.page-sports__btn-primary,
.page-sports__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-sports__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-sports__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
}

.page-sports__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-sports__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
}

.page-sports__introduction-section,
.page-sports__advantages-section,
.page-sports__faq-section {
  padding: 60px 0;
}

.page-sports__sports-types-section,
.page-sports__guide-section,
.page-sports__cta-bottom-section {
  padding: 60px 0;
}

.page-sports__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-sports__light-bg .page-sports__section-title {
  color: #000000;
}

.page-sports__light-bg .page-sports__description,
.page-sports__light-bg .page-sports__text-block,
.page-sports__light-bg .page-sports__list-description,
.page-sports__light-bg .page-sports__advantages-description,
.page-sports__light-bg .page-sports__guide-description,
.page-sports__light-bg .page-sports__faq-answer p {
  color: #333333;
}

.page-sports__dark-section {
  background-color: #1a1a1a; /* Assuming var(--dark-bg-1) is dark */
  color: #ffffff;
}

.page-sports__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin: 30px auto;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-sports__list,
.page-sports__advantages-list,
.page-sports__guide-list,
.page-sports__faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-sports__list-item,
.page-sports__advantages-item,
.page-sports__guide-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  border-left: 5px solid #26A9E0;
}

.page-sports__light-bg .page-sports__list-item,
.page-sports__light-bg .page-sports__advantages-item,
.page-sports__light-bg .page-sports__guide-item {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #26A9E0;
}

.page-sports__list-title,
.page-sports__advantages-title,
.page-sports__guide-title {
  font-size: 22px;
  color: #26A9E0;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-sports__light-bg .page-sports__list-title,
.page-sports__light-bg .page-sports__advantages-title,
.page-sports__light-bg .page-sports__guide-title {
  color: #26A9E0;
}

.page-sports__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 5px solid #26A9E0;
}

.page-sports__light-bg .page-sports__faq-item {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-left: 5px solid #26A9E0;
}

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

.page-sports__light-bg .page-sports__faq-question {
  color: #333333;
}

.page-sports__faq-question:hover {
  color: #26A9E0;
}

.page-sports__light-bg .page-sports__faq-question:hover {
  color: #26A9E0;
}

.page-sports__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-sports__faq-answer {
  padding: 0 25px 18px;
  font-size: 16px;
  color: #f0f0f0;
}

.page-sports__light-bg .page-sports__faq-answer {
  color: #333333;
}

/* Hide default details marker */
.page-sports__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-sports__faq-item summary {
  list-style: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-sports__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-sports__section-title {
    font-size: clamp(24px, 3.5vw, 36px);
  }
  .page-sports__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }
  .page-sports__introduction-section,
  .page-sports__sports-types-section,
  .page-sports__advantages-section,
  .page-sports__guide-section,
  .page-sports__faq-section,
  .page-sports__cta-bottom-section {
    padding: 40px 0;
  }
  .page-sports__container {
    padding: 0 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-sports__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }
  .page-sports__main-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .page-sports__section-title {
    font-size: clamp(24px, 7vw, 32px);
  }
  .page-sports__description,
  .page-sports__text-block,
  .page-sports__list-description,
  .page-sports__advantages-description,
  .page-sports__guide-description,
  .page-sports__faq-answer p {
    font-size: 16px;
  }

  /* Images */
  .page-sports img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-sports__hero-image-wrapper,
  .page-sports__container,
  .page-sports__cta-buttons,
  .page-sports__list-item,
  .page-sports__advantages-item,
  .page-sports__guide-item,
  .page-sports__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Buttons */
  .page-sports__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-sports__btn-primary,
  .page-sports__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 15px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-sports__list-item,
  .page-sports__advantages-item,
  .page-sports__guide-item {
    padding: 20px;
  }

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