.page-the-thao {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D;
  background-color: #F4F7FB;
}

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

.page-the-thao__section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-the-thao__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D;
  line-height: 1.2;
}

.page-the-thao__section-title--light {
  color: #ffffff;
}

.page-the-thao__hero-section {
  position: relative;
  padding-top: 10px; /* Rely on body padding-top for header offset */
  background-color: #F4F7FB;
  overflow: hidden;
}

.page-the-thao__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 500px; /* Fixed height for desktop hero image */
  overflow: hidden;
}

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

.page-the-thao__hero-content-wrapper {
  position: relative;
  padding: 40px 0;
  text-align: center;
  background-color: #F4F7FB;
}

.page-the-thao__hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #1F2D3D;
  margin-bottom: 20px;
  line-height: 1.1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-the-thao__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: #1F2D3D;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-the-thao__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  box-shadow: 0 6px 20px rgba(47, 107, 255, 0.6);
  transform: translateY(-2px);
}

.page-the-thao__btn-secondary {
  background-color: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.1);
}

.page-the-thao__btn-secondary:hover {
  background-color: #F4F7FB;
  border-color: #4A8BFF;
  color: #4A8BFF;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.2);
  transform: translateY(-2px);
}

.page-the-thao__about-sports-section .page-the-thao__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-the-thao__text-block p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-the-thao__image-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-the-thao__grid {
  display: grid;
  gap: 30px;
}

.page-the-thao__grid--2-cols {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

.page-the-thao__grid--3-cols {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

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

.page-the-thao__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
}

.page-the-thao__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-the-thao__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-the-thao__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-the-thao__card-description {
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-the-thao__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__card-button:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-1px);
}

.page-the-thao__dark-section {
  background-color: #2F6BFF;
  color: #ffffff;
  padding: 80px 0;
}

.page-the-thao__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: background-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-the-thao__feature-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-the-thao__feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-the-thao__feature-description {
  font-size: 17px;
  color: #f0f0f0;
  line-height: 1.7;
}

.page-the-thao__promotions-section .page-the-thao__grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.page-the-thao__guide-section .page-the-thao__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF;
  height: 100%;
}

.page-the-thao__guide-section .page-the-thao__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-the-thao__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.page-the-thao__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #1F2D3D;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-the-thao__step-description {
  font-size: 16px;
  color: #1F2D3D;
  line-height: 1.7;
  flex-grow: 1;
}

.page-the-thao__center-button-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-the-thao__tips-section .page-the-thao__grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.page-the-thao__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-the-thao__tips-list li {
  background-color: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 17px;
  line-height: 1.6;
  color: #1F2D3D;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.page-the-thao__tips-list li:last-child {
  margin-bottom: 0;
}

.page-the-thao__tips-list li:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-the-thao__tips-list li strong {
  color: #2F6BFF;
}

.page-the-thao__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-the-thao__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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: #f0f4fa;
}

.page-the-thao__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}

.page-the-thao__faq-toggle {
  font-size: 26px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-the-thao__faq-item .page-the-thao__faq-answer {
  padding: 0 25px 20px;
  background: #f9fbfc;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-the-thao__cta-final-section {
  text-align: center;
  padding: 80px 0;
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-the-thao__center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-the-thao__description--light {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
  color: #f0f0f0;
}

.page-the-thao__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

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

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__grid--2-cols {
    grid-template-columns: 1fr;
  }
  .page-the-thao__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-the-thao__grid--4-cols {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .page-the-thao__about-sports-section .page-the-thao__grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao__promotions-section .page-the-thao__grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao__tips-section .page-the-thao__grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao__image-container:first-child {
    order: 2; /* For tips section to swap image and text */
  }
  .page-the-thao__hero-image-wrapper {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .page-the-thao__section {
    padding: 40px 0;
  }
  .page-the-thao__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-the-thao__hero-section {
    padding-top: 10px; /* Consistent top padding for mobile */
  }
  .page-the-thao__hero-image-wrapper {
    height: 250px;
  }
  .page-the-thao__hero-image {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
  .page-the-thao__hero-content-wrapper {
    padding: 20px 0;
  }
  .page-the-thao__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-the-thao__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary,
  .page-the-thao a[class*="button"],
  .page-the-thao 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;
    min-width: unset;
  }
  .page-the-thao__cta-buttons,
  .page-the-thao__button-group,
  .page-the-thao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 15px;
  }
  .page-the-thao__text-block p {
    font-size: 16px;
  }
  .page-the-thao__card {
    padding: 20px;
  }
  .page-the-thao__card-image {
    height: 180px;
  }
  .page-the-thao__card-title {
    font-size: 20px;
  }
  .page-the-thao__card-description {
    font-size: 15px;
  }
  .page-the-thao__feature-title {
    font-size: 20px;
  }
  .page-the-thao__feature-description {
    font-size: 16px;
  }
  .page-the-thao__step-card {
    padding: 25px;
  }
  .page-the-thao__step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .page-the-thao__step-title {
    font-size: 18px;
  }
  .page-the-thao__step-description {
    font-size: 15px;
  }
  .page-the-thao__tips-list li {
    font-size: 16px;
    padding: 18px 20px;
  }
  details.page-the-thao__faq-item summary.page-the-thao__faq-question {
    padding: 15px 20px;
  }
  .page-the-thao__faq-qtext {
    font-size: 16px;
  }
  .page-the-thao__faq-toggle {
    font-size: 22px;
    width: 25px;
    margin-left: 10px;
  }
  details.page-the-thao__faq-item .page-the-thao__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }
  .page-the-thao__description--light {
    font-size: 17px;
  }
  .page-the-thao__btn-large {
    padding: 16px 30px;
    font-size: 18px;
  }
  /* Universal image responsiveness for content area */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-the-thao__section,
  .page-the-thao__card,
  .page-the-thao__container,
  .page-the-thao__text-block,
  .page-the-thao__image-container,
  .page-the-thao__feature-item,
  .page-the-thao__step-card,
  .page-the-thao__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-the-thao__products-section { /* Assuming this might be present, for safety */
    overflow-x: hidden;
  }
  .page-the-thao__grid--2-cols, .page-the-thao__grid--3-cols, .page-the-thao__grid--4-cols {
    grid-template-columns: 1fr; /* Stack columns on small screens */
  }
}