.page-the-thao {
  color: #333333;
}

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

/* Hero Section - Desktop */
.page-the-thao__hero-section {
  background: linear-gradient(135deg, #e6f7ff 0%, #ffffff 100%);
  display: flex;
  flex-direction: column;
  padding: 10px 0 0;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  margin-bottom: 20px;
}

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

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

.page-the-thao__hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 20px 16px 40px;
}

.page-the-thao__hero-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 850px;
  margin: 0 auto 16px;
  color: #1a1a2e;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.page-the-thao__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444457;
  max-width: 85ch;
  margin: 0 auto 12px;
}

.page-the-thao__hero-tagline {
  font-size: 1rem;
  color: #0477db;
  font-weight: 600;
  margin-bottom: 28px;
}

/* Buttons */
.page-the-thao__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn--primary {
  background: #0477db;
  color: #ffffff;
}

.page-the-thao__btn--secondary {
  background: #EA7C07;
  color: #ffffff;
  margin-left: 15px;
}

.page-the-thao__btn--highlight {
  background: #EA7C07;
  color: #ffffff;
  font-size: 1rem;
  margin-top: 16px;
}

.page-the-thao__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-the-thao__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* Brand Section - Grid 4+2 */
.page-the-thao__brand-section {
  padding: 40px 16px;
  background-color: #ffffff;
}

.page-the-thao__brand-header {
  text-align: center;
  margin-bottom: 36px;
}

.page-the-thao__brand-title {
  font-weight: 700;
  color: #1a1a2e;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.page-the-thao__brand-subtitle {
  color: #555;
  max-width: 65ch;
  margin: 10px auto 0;
}

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

.page-the-thao__brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #f8fbff;
  border: 1px solid #e3f0fc;
  border-radius: 12px;
  padding: 20px 16px;
  transition: box-shadow 0.3s ease;
  max-width: 280px;
  width: 100%;
  box-sizing: border-box;
  justify-self: center;
}

.page-the-thao__brand-item:hover {
  box-shadow: 0 8px 30px rgba(38, 169, 224, 0.12);
}

.page-the-thao__brand-logo {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: contain;
  margin-bottom: 12px;
}

.page-the-thao__brand-cta {
  padding: 10px 30px;
  border-radius: 50px;
  background: #26A9E0;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  display: inline-block;
  margin-top: auto;
}

.page-the-thao__brand-cta:hover {
  background: #1b8cc2;
  transform: scale(1.02);
}

/* Place the 5th & 6th items in the center of the 2nd row */
.page-the-thao__brand-item:nth-child(5) {
  grid-column: 2;
}

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

/* Guide Section */
.page-the-thao__guide-section {
  background-color: #f6fafe;
  border-top: 1px solid #e6f2fa;
  padding-top: 40px;
}

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

.page-the-thao__guide-title {
  text-align: center;
  color: #0477db;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 0 0 8px;
}

.page-the-thao__guide-subtitle {
  text-align: center;
  color: #556;
  margin-bottom: 40px;
}

.page-the-thao__guide-post {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.page-the-thao__guide-figure {
  background: #eef6fd;
}

.page-the-thao__guide-media {
  width: 100%;
  max-width: 800px;
  aspect-ratio: 2/1;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.page-the-thao__guide-body {
  padding: 24px 28px 28px;
}

.page-the-thao__guide-mini-title {
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.page-the-thao__guide-text {
  line-height: 1.7;
  color: #444457;
}

/* FAQ Styles */
.page-the-thao__guide-faq {
  background: #ffffff;
  border-radius: 16px;
  margin-top: 40px;
  padding: 28px 24px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.page-the-thao__guide-faq-title {
  color: #0477db;
  margin-top: 0;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e6f2fa;
}

.page-the-thao__guide-details {
  border-bottom: 1px solid #edf3f8;
  border-radius: 8px;
  margin-bottom: 6px;
  background: #fafdff;
  transition: background 0.3s ease;
}

.page-the-thao__guide-details:hover {
  background: #f2f9fe;
}

.page-the-thao__guide-summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1a1a2e;
  padding: 16px 18px;
  cursor: pointer;
}

.page-the-thao__guide-summary::-webkit-details-marker {
  display: none;
}

.page-the-thao__guide-answer {
  padding: 0 20px 20px 36px;
  color: #555;
  line-height: 1.65;
}

.page-the-thao__guide-note {
  margin-top: 20px;
  text-align: center;
  background: #f0f9ff;
  padding: 20px;
  border-radius: 12px;
  border-left: 5px solid #26A9E0;
}

.page-the-thao__guide-note-text {
  color: #1a1a2e;
  font-weight: 500;
}

/* Responsive (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-the-thao__hero-inner {
    padding: 20px 20px 36px;
  }

  .page-the-thao__brand-grid {
    gap: 20px 16px;
  }
}

/* Responsive (max-width: 768px) */
@media (max-width: 768px) {
  .page-the-thao__hero-section {
    padding-top: 10px;
  }

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

  .page-the-thao__hero-inner {
    padding: 16px 12px 32px;
  }

  .page-the-thao__hero-title {
    font-size: 1.6rem;
    line-height: 1.35;
  }

  .page-the-thao__hero-description {
    font-size: 1rem;
  }

  .page-the-thao__btn--secondary {
    margin-left: 0;
  }

  .page-the-thao__hero-actions {
    gap: 12px;
  }

  /* Brand Grid 2 columns */
  .page-the-thao__brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

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

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

  .page-the-thao__brand-cta {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-the-thao__guide-section {
    padding-top: 24px;
  }

  .page-the-thao__guide-inner {
    padding: 0 12px 40px;
  }

  .page-the-thao__guide-subtitle {
    font-size: 0.98rem;
  }

  .page-the-thao__guide-figure {
    max-width: 100%;
  }

  .page-the-thao__guide-body {
    padding: 20px 18px 22px;
  }

  .page-the-thao__guide-mini-title {
    font-size: 1.15rem;
  }

  .page-the-thao__guide-answer {
    padding-left: 18px;
  }

  .page-the-thao__guide-note {
    padding: 16px;
  }

  /* Ensure all images are fluid on mobile */
  .page-the-thao img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-the-thao {
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-the-thao__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    font-size: 0.93rem;
    padding: 12px 20px;
    display: inline-block;
    width: auto;
  }

  .page-the-thao__btn--highlight {
    width: 100%;
  }
}