/* style/sports.css */
.page-sports {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

.page-sports__section {
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-sports__section:last-of-type {
  border-bottom: none;
}

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

.page-sports__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #F2C14E; /* Primary color */
}

.page-sports__section-title--light {
  color: #FFF6D6; /* Text Main */
}

.page-sports__section-text {
  font-size: 18px;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
}

.page-sports__section-text--light {
  color: #FFF6D6; /* Text Main */
}

.page-sports__highlight {
  color: #FFD36B; /* Secondary color */
  font-weight: bold;
}

/* 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: 10px; /* Small top padding, body handles header offset */
  background-color: #0A0A0A; /* Background */
}

.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;
}

.page-sports__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-sports__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: bold;
  color: #FFD36B; /* Secondary color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-sports__hero-description {
  font-size: 20px;
  color: #FFF6D6; /* Text Main */
  max-width: 800px;
  margin: 0 auto 30px;
}

.page-sports__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

/* Grid Container */
.page-sports__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports__grid-container--2col {
  grid-template-columns: 1fr 1fr;
  text-align: left;
}

.page-sports__grid-container--3col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Cards */
.page-sports__card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

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

.page-sports__card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
}

.page-sports__card-title a {
  color: #F2C14E;
  text-decoration: none;
}

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

.page-sports__card-text {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

.page-sports__card-description {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
  flex-grow: 1;
}

.page-sports__dark-bg {
  background-color: #0A0A0A; /* Background */
}

.page-sports__dark-card {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

/* Feature Items */
.page-sports__feature-item {
  background: #111111; /* Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #3A2A12; /* Border */
}

.page-sports__feature-item img {
  width: 100%;
  
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-sports__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFD36B; /* Secondary color */
  margin-bottom: 10px;
}

.page-sports__feature-description {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

/* Button Group */
.page-sports__button-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-sports__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #0A0A0A; /* Dark text for bright button */
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

/* Ordered List (Download Guide) */
.page-sports__ordered-list {
  list-style: none;
  counter-reset: download-step;
  text-align: left;
  padding: 0;
  margin: 0;
}

.page-sports__ordered-list li {
  margin-bottom: 25px;
  position: relative;
  padding-left: 50px;
}

.page-sports__ordered-list li::before {
  counter-increment: download-step;
  content: counter(download-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 35px;
  height: 35px;
  background: #F2C14E; /* Primary color */
  color: #0A0A0A; /* Dark text for bright number */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.page-sports__list-title {
  font-size: 20px;
  font-weight: bold;
  color: #FFD36B; /* Secondary color */
  margin-bottom: 5px;
}

.page-sports__list-title--light {
  color: #FFD36B;
}

.page-sports__ordered-list p {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
  margin: 0;
}

.page-sports__list-text--light {
  color: #FFF6D6;
}

/* Unordered List (Safety Section) */
.page-sports__unordered-list {
  list-style: none;
  text-align: left;
  padding: 0;
  margin: 0;
}

.page-sports__unordered-list li {
  margin-bottom: 20px;
  position: relative;
  padding-left: 30px;
}

.page-sports__unordered-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #F2C14E; /* Primary color */
  font-weight: bold;
  font-size: 20px;
}

.page-sports__unordered-list--light li::before {
  color: #F2C14E;
}

/* Image Block for Two Column Layout */
.page-sports__image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
details.page-sports__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

details.page-sports__faq-item summary.page-sports__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-sports__faq-item summary.page-sports__faq-question:hover {
  background: rgba(242, 193, 78, 0.1); /* Primary color with transparency */
}

.page-sports__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Primary color */
}

.page-sports__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD36B; /* Secondary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-sports__faq-item .page-sports__faq-answer {
  padding: 0 20px 20px;
  background: rgba(17, 17, 17, 0.8); /* Slightly lighter card BG */
  border-radius: 0 0 10px 10px;
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
  text-align: left;
}

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

/* News Section */
.page-sports__news-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #3A2A12; /* Border */
}

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

.page-sports__news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-sports__news-card .page-sports__card-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #F2C14E; /* Primary color */
}

.page-sports__news-card .page-sports__card-title a {
  color: #F2C14E;
  text-decoration: none;
}

.page-sports__news-card .page-sports__card-title a:hover {
  text-decoration: underline;
}

.page-sports__news-card .page-sports__card-text {
  font-size: 14px;
  color: #FFD36B; /* Secondary color for date */
  margin-bottom: 10px;
}

.page-sports__news-card .page-sports__card-description {
  font-size: 16px;
  color: #FFF6D6; /* Text Main */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-sports__section-title {
    font-size: 30px;
  }

  .page-sports__hero-description {
    font-size: 18px;
  }

  .page-sports__grid-container--2col {
    grid-template-columns: 1fr;
  }

  .page-sports__content-block,
  .page-sports__image-block {
    order: unset; /* Reset order for smaller screens */
  }

  .page-sports__image-block {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-sports__section {
    padding: 40px 15px;
  }

  .page-sports__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-sports__cta-button,
  .page-sports__btn-primary,
  .page-sports a[class*="button"],
  .page-sports 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-left: 15px !important;
    padding-right: 15px !important;
    font-size: 16px;
  }

  .page-sports__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports__card img,
  .page-sports__feature-item img,
  .page-sports__news-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-sports__card,
  .page-sports__feature-item,
  .page-sports__news-card,
  .page-sports__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-sports__grid-container {
    grid-template-columns: 1fr;
  }

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

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

  details.page-sports__faq-item .page-sports__faq-answer {
    padding: 0 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-sports__section-title {
    font-size: 26px;
  }

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

  .page-sports__feature-title {
    font-size: 18px;
  }

  .page-sports__ordered-list li {
    padding-left: 45px;
  }

  .page-sports__ordered-list li::before {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}