/* style/the-thao-cac-mon-khac.css */
.page-the-thao-cac-mon-khac {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #FFFFFF; /* Default body background is white */
}

.page-the-thao-cac-mon-khac__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-the-thao-cac-mon-khac__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-the-thao-cac-mon-khac__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

.page-the-thao-cac-mon-khac__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding if body padding-top is handled by shared.css */
  margin-bottom: 40px;
}

.page-the-thao-cac-mon-khac__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-the-thao-cac-mon-khac__hero-content {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white background for text */
  margin-top: -80px; /* Pull content up slightly over the image, but not covering text */
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-the-thao-cac-mon-khac__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #017439;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-the-thao-cac-mon-khac__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333333;
}

.page-the-thao-cac-mon-khac__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao-cac-mon-khac__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-the-thao-cac-mon-khac__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-the-thao-cac-mon-khac__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-the-thao-cac-mon-khac__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2f;
}

.page-the-thao-cac-mon-khac__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-the-thao-cac-mon-khac__dark-bg .page-the-thao-cac-mon-khac__section-title {
  color: #ffffff;
}

.page-the-thao-cac-mon-khac__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-the-thao-cac-mon-khac__popular-sports-section {
  padding: 60px 0;
}

.page-the-thao-cac-mon-khac__sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-the-thao-cac-mon-khac__sport-card {
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-the-thao-cac-mon-khac__sport-card:hover {
  transform: translateY(-5px);
}

.page-the-thao-cac-mon-khac__sport-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-the-thao-cac-mon-khac__sport-card .page-the-thao-cac-mon-khac__sport-title {
  font-size: 1.5em;
  color: #017439;
  padding: 15px 20px 10px;
  margin-top: 0;
}

.page-the-thao-cac-mon-khac__sport-card p {
  padding: 0 20px 15px;
  font-size: 0.95em;
  text-align: justify;
}

.page-the-thao-cac-mon-khac__sport-card .page-the-thao-cac-mon-khac__btn-secondary {
  display: block;
  text-align: center;
  margin: 0 20px 20px;
  padding: 10px 15px;
  font-size: 0.9em;
}

.page-the-thao-cac-mon-khac__benefits-section,
.page-the-thao-cac-mon-khac__guide-section,
.page-the-thao-cac-mon-khac__strategy-section,
.page-the-thao-cac-mon-khac__faq-section,
.page-the-thao-cac-mon-khac__conclusion-section {
  padding: 60px 0;
}

.page-the-thao-cac-mon-khac__benefits-list,
.page-the-thao-cac-mon-khac__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-the-thao-cac-mon-khac__benefits-list li,
.page-the-thao-cac-mon-khac__strategy-list li {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  line-height: 1.5;
}

.page-the-thao-cac-mon-khac__dark-bg .page-the-thao-cac-mon-khac__benefits-list li,
.page-the-thao-cac-mon-khac__dark-bg .page-the-thao-cac-mon-khac__strategy-list li {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-the-thao-cac-mon-khac__benefits-list li strong,
.page-the-thao-cac-mon-khac__strategy-list li strong {
  color: #017439;
}

.page-the-thao-cac-mon-khac__dark-bg .page-the-thao-cac-mon-khac__benefits-list li strong,
.page-the-thao-cac-mon-khac__dark-bg .page-the-thao-cac-mon-khac__strategy-list li strong {
  color: #FFFF00;
}

.page-the-thao-cac-mon-khac__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-top: 30px;
}

.page-the-thao-cac-mon-khac__guide-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.5;
  color: #ffffff;
}

.page-the-thao-cac-mon-khac__guide-list li strong {
  color: #FFFF00;
}

.page-the-thao-cac-mon-khac__guide-list li a,
.page-the-thao-cac-mon-khac__benefits-list li a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-the-thao-cac-mon-khac__guide-list li a:hover,
.page-the-thao-cac-mon-khac__benefits-list li a:hover {
  color: #ffcc00;
}

.page-the-thao-cac-mon-khac__cta-container {
  text-align: center;
  margin-top: 40px;
}

.page-the-thao-cac-mon-khac__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  color: #333333;
}

.page-the-thao-cac-mon-khac__dark-bg .page-the-thao-cac-mon-khac__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-the-thao-cac-mon-khac__faq-question {
  font-size: 1.2em;
  font-weight: bold;
  padding: 20px;
  cursor: pointer;
  color: #017439;
  margin: 0;
}

.page-the-thao-cac-mon-khac__dark-bg .page-the-thao-cac-mon-khac__faq-question {
  color: #FFFF00;
}

.page-the-thao-cac-mon-khac__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.5;
  text-align: justify;
}

.page-the-thao-cac-mon-khac__copyright {
  text-align: center;
  padding: 30px 15px;
  background-color: #017439;
  color: #ffffff;
  font-size: 0.9em;
  margin-top: 40px;
}

/* General image responsiveness */
.page-the-thao-cac-mon-khac img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
  .page-the-thao-cac-mon-khac {
    font-size: 16px;
    line-height: 1.5;
  }

  .page-the-thao-cac-mon-khac__hero-section {
    margin-bottom: 20px;
  }

  .page-the-thao-cac-mon-khac__hero-content {
    padding: 20px 15px;
    margin-top: -40px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  .page-the-thao-cac-mon-khac__main-title {
    font-size: 1.8em;
  }

  .page-the-thao-cac-mon-khac__description {
    font-size: 1em;
  }

  .page-the-thao-cac-mon-khac__cta-button,
  .page-the-thao-cac-mon-khac__btn-primary,
  .page-the-thao-cac-mon-khac__btn-secondary,
  .page-the-thao-cac-mon-khac a[class*="button"],
  .page-the-thao-cac-mon-khac 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;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-the-thao-cac-mon-khac__cta-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-the-thao-cac-mon-khac__section-title {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .page-the-thao-cac-mon-khac__text-block {
    font-size: 0.95em;
  }

  .page-the-thao-cac-mon-khac__sports-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao-cac-mon-khac__sport-card img {
    height: 200px;
  }

  .page-the-thao-cac-mon-khac__benefits-list li,
  .page-the-thao-cac-mon-khac__strategy-list li,
  .page-the-thao-cac-mon-khac__guide-list li,
  .page-the-thao-cac-mon-khac__faq-item {
    padding: 15px;
    font-size: 0.95em;
  }

  .page-the-thao-cac-mon-khac__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-the-thao-cac-mon-khac__faq-answer {
    padding: 0 15px 15px;
  }

  /* Universal image and container responsiveness */
  .page-the-thao-cac-mon-khac img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao-cac-mon-khac__section,
  .page-the-thao-cac-mon-khac__card,
  .page-the-thao-cac-mon-khac__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}