.page-the-thao {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--card-bg);
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, main offset from body */
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-main);
  min-height: 500px;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  height: auto;
  max-height: 600px;
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content up over the image slightly for visual flow */
  background: linear-gradient(180deg, rgba(17, 59, 122, 0.9) 0%, rgba(8, 22, 43, 0.9) 100%);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-the-thao__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-the-thao__subtitle {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--text-main);
}

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

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: bold;
  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, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid #2B73F6;
}

.page-the-thao__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 0 15px var(--glow);
}

.page-the-thao__btn-secondary {
  background: #ffffff;
  color: var(--deep-navy);
  border: 2px solid var(--deep-navy);
}

.page-the-thao__btn-secondary:hover {
  background: var(--deep-navy);
  color: #ffffff;
  box-shadow: 0 0 15px var(--deep-navy);
}

.page-the-thao__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: var(--gold);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-the-thao__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
  color: var(--text-secondary);
}

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

.page-the-thao__guide-section {
  padding: 60px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
}

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

.page-the-thao__guide-card {
  flex: 0 0 calc(20% - 16px);
  max-width: calc(20% - 16px);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-the-thao__guide-card:hover {
  transform: translateY(-10px);
}

.page-the-thao__guide-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 250 / 350;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-the-thao__guide-card--pos-1, .page-the-thao__guide-card--pos-5 {
  padding-top: 50px;
}

.page-the-thao__guide-card--pos-2, .page-the-thao__guide-card--pos-4 {
  padding-top: 25px;
}

.page-the-thao__content-section {
  padding: 60px 0;
  background-color: var(--deep-navy);
  color: var(--text-main);
}

.page-the-thao__home-content-box {
  max-width: 91%;
  margin: 0 auto;
  padding: 10px 16px;
  border: 5px solid var(--border);
  border-radius: 15px;
  box-shadow: 0 0 20px var(--glow);
  height: 700px;
}

.page-the-thao__home-content-inner {
  height: 100%;
  overflow-y: auto;
  padding-right: 15px; /* For scrollbar space */
  color: var(--text-main);
}

.page-the-thao__home-content-inner::-webkit-scrollbar {
  width: 8px;
}

.page-the-thao__home-content-inner::-webkit-scrollbar-track {
  background: var(--deep-navy);
  border-radius: 10px;
}

.page-the-thao__home-content-inner::-webkit-scrollbar-thumb {
  background: var(--glow);
  border-radius: 10px;
}

.page-the-thao__content-title {
  font-size: 2em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--gold);
}

.page-the-thao__home-content-inner p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-the-thao__home-content-inner ul,
.page-the-thao__home-content-inner ol {
  margin-left: 20px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-the-thao__home-content-inner li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-the-thao__home-content-inner a {
  color: var(--glow);
  text-decoration: none;
}

.page-the-thao__home-content-inner a:hover {
  text-decoration: underline;
}

.page-the-thao__btn-inline {
  margin-top: 20px;
  display: inline-block;
}

.page-the-thao__image-container {
  text-align: center;
  margin: 30px 0;
}

.page-the-thao__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__faq-list {
  margin-top: 30px;
}

.page-the-thao__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--divider);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-the-thao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  background-color: var(--deep-navy);
  color: var(--text-main);
  border-bottom: 1px solid var(--divider);
}

.page-the-thao__faq-question:hover {
  background-color: rgba(var(--deep-navy-rgb), 0.8);
}

.page-the-thao__faq-qtext {
  flex-grow: 1;
  color: var(--gold);
}

.page-the-thao__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--glow);
}

.page-the-thao__faq-item[open] .page-the-thao__faq-toggle {
  transform: rotate(45deg);
}

.page-the-thao__faq-answer {
  padding: 15px 20px;
  font-size: 0.95em;
  line-height: 1.7;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

.page-the-thao__blog-section {
  padding: 60px 0;
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-the-thao__blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.page-the-thao__blog-card {
  background-color: var(--deep-navy);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-the-thao__blog-card:hover {
  transform: translateY(-5px);
}

.page-the-thao__blog-thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-the-thao__blog-content {
  padding: 20px;
}

.page-the-thao__blog-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-the-thao__blog-title a {
  color: var(--gold);
  text-decoration: none;
}

.page-the-thao__blog-title a:hover {
  text-decoration: underline;
}

.page-the-thao__blog-meta {
  font-size: 0.9em;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.page-the-thao__blog-excerpt {
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-the-thao__read-more {
  display: inline-block;
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
}

.page-the-thao__read-more:hover {
  text-decoration: underline;
}

.page-the-thao__view-all-button-container {
  text-align: center;
  margin-top: 40px;
}

.page-the-thao__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(90deg, #113B7A 0%, #1D5FD1 100%);
  color: #ffffff;
}

.page-the-thao__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin-top: 30px;
}

/* General image responsive styles */
.page-the-thao img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
  .page-the-thao__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-the-thao__section-title {
    font-size: 2em;
  }
  .page-the-thao__guide-card {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
  }
  .page-the-thao__blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .page-the-thao__home-content-box {
    max-width: 95%;
  }
}

@media (max-width: 768px) {
  .page-the-thao {
    font-size: 16px;
    line-height: 1.6;
  }

  /* Hero Section */
  .page-the-thao__hero-section {
    padding-top: 10px !important;
    min-height: auto;
  }
  .page-the-thao__hero-content {
    padding: 30px 15px;
    margin-top: -50px; /* Adjust for smaller screens */
  }
  .page-the-thao__main-title {
    font-size: clamp(1.8em, 7vw, 2.2em) !important;
  }
  .page-the-thao__subtitle {
    font-size: 1em;
  }
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    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;
  }

  /* Guide Section - 5 cards, 2 on top, 3 on bottom */
  .page-the-thao__guide-section {
    padding: 40px 0;
  }
  .page-the-thao__section-title {
    font-size: 1.8em !important;
    margin-bottom: 15px;
  }
  .page-the-thao__section-description {
    margin-bottom: 30px;
    padding: 0 15px;
  }
  .page-the-thao__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    padding: 0 15px;
  }
  .page-the-thao__guide-card {
    padding-top: 0 !important;
    flex: unset;
    max-width: unset;
  }
  .page-the-thao__guide-card--pos-1,
  .page-the-thao__guide-card--pos-2 {
    grid-column: span 3;
  }
  .page-the-thao__guide-card--pos-3,
  .page-the-thao__guide-card--pos-4,
  .page-the-thao__guide-card--pos-5 {
    grid-column: span 2;
  }
  .page-the-thao__guide-card img {
    min- /* Ensure min size for mobile too */
    min-height: 210px;
  }

  /* Home Content Box */
  .page-the-thao__content-section {
    padding: 40px 0;
  }
  .page-the-thao__home-content-box {
    max-width: 100% !important;
    height: auto !important;
    border-width: 3px;
    padding: 10px;
    margin: 0;
    border-radius: 10px;
    box-sizing: border-box;
  }
  .page-the-thao__home-content-inner {
    height: auto !important;
    overflow-y: visible !important;
    padding-right: 0;
    padding: 0 10px;
  }
  .page-the-thao__content-title {
    font-size: 1.5em !important;
    margin-top: 25px;
    margin-bottom: 10px;
  }
  .page-the-thao__home-content-inner p,
  .page-the-thao__home-content-inner li {
    font-size: 0.95em;
  }

  /* Image responsive */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-the-thao__image-container {
    padding: 0 15px;
  }
  .page-the-thao__content-image {
    min-width: 200px !important;
    min-height: 150px !important;
  }

  /* FAQ List */
  .page-the-thao__faq-list {
    margin-top: 20px;
    padding: 0 15px;
  }
  .page-the-thao__faq-question {
    padding: 12px 15px;
    font-size: 1em;
  }
  .page-the-thao__faq-answer {
    padding: 12px 15px;
  }

  /* Blog Section */
  .page-the-thao__blog-section {
    padding: 40px 0;
  }
  .page-the-thao__blog-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 15px;
  }
  .page-the-thao__blog-card {
    margin-bottom: 15px;
  }
  .page-the-thao__blog-thumbnail {
    min-width: 200px !important;
    min-height: 112px !important;
  }
  .page-the-thao__blog-title {
    font-size: 1.1em !important;
  }
  .page-the-thao__view-all-button-container {
    margin-top: 30px;
    padding: 0 15px;
  }

  /* CTA Bottom Section */
  .page-the-thao__cta-bottom-section {
    padding: 40px 15px;
  }
  .page-the-thao__btn-large {
    font-size: 1.1em !important;
    padding: 15px 25px !important;
  }

  /* Ensure all containers have max-width and box-sizing */
  .page-the-thao__container,
  .page-the-thao__blog-card,
  .page-the-thao__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}