.page-the-thao {
  background-color: #B71C1C; /* Custom Background */
  color: #FFF5E1; /* Custom Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-the-thao__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Fixed header offset, small top padding */
  padding-bottom: 50px;
  background: linear-gradient(180deg, #7A0E0E 0%, #B71C1C 100%); /* Deep Red to Background */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFD86A; /* Gold-like for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-the-thao__lead-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1; /* Custom Text Main */
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary,
.page-the-thao__btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom Button Gradient */
  color: #7A0E0E; /* Deep Red for contrast on gold */
  border: 2px solid #F4D34D; /* Custom Gold for border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-the-thao__btn-secondary {
  background: #B71C1C; /* Custom Background */
  color: #FFD86A; /* Gold-like for contrast */
  border: 2px solid #FFD86A; /* Gold-like for border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #7A0E0E; /* Deep Red on hover */
}

.page-the-thao__btn-link {
  background: none;
  border: 1px solid #F4D34D; /* Custom Gold */
  color: #F4D34D; /* Custom Gold */
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  margin-top: 15px;
}

.page-the-thao__btn-link:hover {
  background: #F4D34D;
  color: #7A0E0E; /* Deep Red on hover */
}

.page-the-thao__section {
  padding: 60px 0;
  text-align: center;
}

.page-the-thao__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #FFD86A; /* Gold-like for titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-the-thao__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1; /* Custom Text Main */
}

.page-the-thao__highlight {
  color: #FFD86A; /* Gold-like for highlights */
  font-weight: 600;
}

.page-the-thao__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-the-thao__card {
  background-color: #D32F2F; /* Custom Card BG */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF5E1; /* Custom Text Main */
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #F2B544; /* Custom Border */
}

.page-the-thao__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum image size */
}

.page-the-thao__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD86A; /* Gold-like for card titles */
}

.page-the-thao__card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF5E1;
  flex-grow: 1;
}

.page-the-thao__steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-the-thao__step-card {
  justify-content: flex-start;
}

.page-the-thao__promotion-banner {
  margin: 40px auto;
  max-width: 1000px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__promotion-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.page-the-thao__promo-list,
.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-the-thao__promo-list li,
.page-the-thao__tips-list li {
  background-color: #D32F2F; /* Custom Card BG */
  border: 1px solid #F2B544; /* Custom Border */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #FFF5E1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-the-thao__promo-list li::before,
.page-the-thao__tips-list li::before {
  content: '★';
  color: #FFD86A; /* Gold-like star */
  font-weight: bold;
  font-size: 1.2em;
  flex-shrink: 0;
}

.page-the-thao__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #F2B544; /* Custom Border */
  overflow: hidden;
  background: #D32F2F; /* Custom Card BG */
  color: #FFF5E1;
}

details.page-the-thao__faq-item summary.page-the-thao__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-the-thao__faq-item summary.page-the-thao__faq-question::-webkit-details-marker {
  display: none;
}

details.page-the-thao__faq-item summary.page-the-thao__faq-question:hover {
  background: #7A0E0E; /* Deep Red on hover */
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFD86A; /* Gold-like for question text */
}

.page-the-thao__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD86A; /* Gold-like for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 20px 20px;
  background: #7A0E0E; /* Deep Red for answer background */
  border-radius: 0 0 5px 5px;
  text-align: left;
  font-size: 1rem;
  color: #FFF5E1;
}

.page-the-thao__conclusion-section {
  padding-bottom: 80px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-the-thao__hero-section {
    padding-bottom: 40px;
  }

  .page-the-thao__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-the-thao__lead-text {
    font-size: 1.1rem;
  }

  .page-the-thao__section-title {
    font-size: 2rem;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-link {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 849px) {
  .page-the-thao__hero-image img {
    object-fit: contain !important; 
    aspect-ratio: unset !important; 
    width: 100% !important; 
    height: auto !important;
    max-height: 400px; /* Adjust max height for smaller screens */
  }
}

@media (max-width: 768px) {
  .page-the-thao__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

  .page-the-thao__hero-image {
    margin-bottom: 20px;
  }

  .page-the-thao__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Ensure image is fully visible */
    aspect-ratio: unset !important;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-the-thao__lead-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-the-thao__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao__btn-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-the-thao__section {
    padding: 40px 0;
  }

  .page-the-thao__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-the-thao__text-block {
    font-size: 1rem;
  }

  .page-the-thao__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__sports-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns for sports cards */
  }

  .page-the-thao__card {
    padding: 20px;
  }

  .page-the-thao__card img {
    min- /* Adjust min height for mobile cards */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__card-title {
    font-size: 1.3rem;
  }

  .page-the-thao__promo-list,
  .page-the-thao__tips-list {
    margin: 20px auto;
    padding: 0 15px;
  }

  .page-the-thao__promo-list li,
  .page-the-thao__tips-list li {
    font-size: 1rem;
    padding: 12px 15px;
  }

  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-the-thao__faq-qtext {
    font-size: 1rem;
    width: calc(100% - 40px);
  }

  .page-the-thao__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

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

  .page-the-thao__promotion-banner {
    margin: 20px auto;
  }

  .page-the-thao__promotion-banner img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}