/* ===== Desktop Default ===== */
.page-the-thao {
  background: #140C0C;
  color: #FFF1E8;
}

/* Hero Section */
.page-the-thao__hero-section {
  padding-top: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-the-thao__hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  border-radius: 12px;
}

.page-the-thao__hero-content {
  text-align: center;
}

.page-the-thao__main-title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.3;
  color: #FFF1E8;
  background: linear-gradient(90deg, #F3C54D, #FFF1E8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 900px;
  margin: 0 auto 12px;
}

.page-the-thao__hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 20px;
}

.page-the-thao__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.page-the-thao__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn--primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
}

.page-the-thao__btn--secondary {
  background: transparent;
  color: #F3C54D;
  border: 2px solid #F3C54D;
}

.page-the-thao__btn--primary:hover,
.page-the-thao__btn--secondary:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Features Section */
.page-the-thao__features-section {
  padding: 30px 20px;
}

.page-the-thao__features-header {
  text-align: center;
  margin-bottom: 30px;
}

.page-the-thao__features-title,
.page-the-thao__types-title,
.page-the-thao__guide-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: #F3C54D;
  font-weight: 700;
}

.page-the-thao__features-intro {
  max-width: 700px;
  margin: 8px auto 0;
}

.page-the-thao__features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.page-the-thao__feature-card {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  padding: 24px;
  border-radius: 12px;
  transition: all 0.3s;
}
.page-the-thao__feature-card:hover{
  transform: scale(1.02);
  border-color:#F3C54D;
}

.page-the-thao__feature-title {
  color: #FFF1E8;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.page-the-thao__feature-desc {
  line-height: 1.6;
}

/* Sports Types Section */
.page-the-thao__types-section {
  padding: 30px 20px;
}

.page-the-thao__types-header {
  text-align: center;
  margin-bottom: 30px;
}

.page-the-thao__types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-the-thao__type-card {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  border-radius: 12px;
  overflow: hidden;
}

.page-the-thao__type-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
}

.page-the-thao__type-title {
  padding: 16px 20px 4px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #F3C54D;
}

.page-the-thao__type-desc {
  padding: 0 20px 20px;
  line-height: 1.6;
}

/* Guide Section */
.page-the-thao__guide-section {
  padding: 30px 20px;
}

.page-the-thao__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.page-the-thao__guide-inner p {
  line-height: 1.8;
}

.page-the-thao__guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 40px 0;
  text-align: left;
}

.page-the-thao__guide-step {
  background-color: #2A1212;
  border: 1px solid #6A1E1E;
  padding: 20px;
  border-radius: 12px;
}

.page-the-thao__guide-step h3 {
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-the-thao__guide-figure {
  margin: 30px 0;
}

.page-the-thao__guide-figure img {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
}

.page-the-thao__guide-figure figcaption {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 12px;
}

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

/* ===== Tablet & Mobile Responsive ===== */
@media (max-width: 1024px) {
  .page-the-thao__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-the-thao__types-grid {
    grid-template-columns: 1fr;
  }
  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    overflow-x: hidden;
    max-width: 100%;
  }

  .page-the-thao__hero-section {
    padding-top: 0;
    padding: 0 12px;
  }

  .page-the-thao__hero-image {
    aspect-ratio: 2 / 1;
  }

  .page-the-thao__features-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__types-grid {
    grid-template-columns: 1fr;
  }

  .page-the-thao__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-the-thao img,
  .page-the-thao img:not(.page-the-thao__logo-image) {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-the-thao__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-the-thao__hero-actions,
  .page-the-thao__guide-actions{
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
  }
}