/* ===== Thể Thao Page ===== */
.page-the-thao {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

.page-the-thao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
}

.page-the-thao__hero-image {
  width: 100%;
}

.page-the-thao__hero-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 12px;
}

.page-the-thao__hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 15px;
  text-align: center;
}

.page-the-thao__hero-title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 800;
  color: #f2f6f3;
  margin: 0 0 10px;
}

.page-the-thao__hero-text {
  color: #A7D9B8;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px;
}

.page-the-thao__hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: center;
}

.page-the-thao__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, opacity 0.2s ease;
}

.page-the-thao__btn--register {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
}

.page-the-thao__btn--login {
  background: rgba(255, 255, 255, 0.08);
  color: #F2FFF6;
  border-color: #2E7A4E;
}

.page-the-thao__btn:hover {
  transform: translateY(-2px);
  color: #06120c;
}

.page-the-thao__logo-section {
  padding: 20px 16px 40px;
}

.page-the-thao__logo-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #f2f6f3;
  margin: 15px 0 10px;
}

.page-the-thao__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-the-thao__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  background: #11271B;
  border: 1px solid #1E3A2A;
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
}

.page-the-thao__logo-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background-color: #ffffff;
  border-radius: 6px;
}

.page-the-thao__logo-link {
  padding: 8px 20px;
  border-radius: 50px;
  color: #11271B;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  width: 100%;
  max-width: 160px;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__logo-link:hover {
  background: #F2C14E;
  color: #08160F;
}

.page-the-thao__logo-item:nth-child(5) {
  grid-column: 2;
}

.page-the-thao__logo-item:nth-child(6) {
  grid-column: 3;
}

.page-the-thao__guide-section {
  background: #08160F;
  padding: 20px 0;
}

.page-the-thao__guide-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 16px;
}

.page-the-thao__guide-title {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: #F2FFF6;
  margin: 10px 0 16px;
}

.page-the-thao__guide-intro {
  color: #A7D9B8;
  line-height: 1.7;
  margin: 0 0 28px;
}

.page-the-thao__post {
  margin-bottom: 35px;
  background: #11271B;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #1E3A2A;
}

.page-the-thao__post-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #F2FFF6;
  margin-top: 0;
  margin-bottom: 12px;
}

.page-the-thao__post p, 
.page-the-thao__guide-steps {
  color: #D0E5D7;
  line-height: 1.7;
}

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

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

.page-the-thao__guide-steps li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .page-the-thao__hero-image img {
    aspect-ratio: 16 / 9;
  }

  .page-the-thao__logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-the-thao__logo-item:nth-child(5),
  .page-the-thao__logo-item:nth-child(6) {
    grid-column: auto;
  }

  .page-the-thao__hero-content {
    padding: 13px 8px 10px;
  }

  .page-the-thao__btn,
  .page-the-thao__logo-link {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-the-thao__hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-the-thao__btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

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

  .page-the-thao {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-the-thao__logo-grid {
    gap: 12px;
  }
}