/* style/the-thao.css */

:root {
  --primary-color: #FF8C1A;
  --secondary-color: #FFA53A;
  --card-bg: #17191F;
  --background-main: #0D0E12;
  --text-main: #FFF3E6;
  --border-color: #A84F0C;
  --glow-color: #FFB04D;
  --deep-orange: #D96800;
}

.page-the-thao {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background-main);
}

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

.page-the-thao__content-area {
  background-color: var(--background-main);
  color: var(--text-main);
}

.page-the-thao__dark-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-the-thao__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-the-thao__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for 16:9 aspect ratio at 1200px width */
  overflow: hidden;
}

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

.page-the-thao__hero-content {
  padding: 30px 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-the-thao__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 165, 58, 0.5);
}

.page-the-thao__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main);
}

.page-the-thao__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 165, 58, 0.3);
}

.page-the-thao__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-the-thao__paragraph {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-the-thao__paragraph a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

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

.page-the-thao__image-figure {
  margin: 30px auto;
  text-align: center;
  max-width: 800px;
}

.page-the-thao__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-the-thao__image-caption {
  font-style: italic;
  font-size: 0.9em;
  color: var(--text-main);
  margin-top: 10px;
}

.page-the-thao__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.page-the-thao__cta-buttons--center {
  justify-content: center;
}

.page-the-thao__btn-primary,
.page-the-thao__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-the-thao__btn-primary {
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
  color: #ffffff;
  border: 2px solid var(--primary-color);
}

.page-the-thao__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-the-thao__btn-secondary {
  background: var(--card-bg);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-the-thao__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

/* Blog Section Specifics */
.page-the-thao__blog-section {
  padding: 60px 20px;
}

.page-the-thao__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-the-thao__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-the-thao__blog-card-link {
  text-decoration: none;
  display: block;
  color: inherit;
}

.page-the-thao__blog-card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

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

.page-the-thao__blog-card-title {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-the-thao__blog-card-excerpt {
  font-size: 0.95em;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-the-thao__blog-card-date {
  font-size: 0.85em;
  color: #aaa;
  display: block;
}

/* FAQ Section Specifics */
.page-the-thao__faq-list {
  margin-top: 30px;
}

.page-the-thao__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  padding: 20px;
}

.page-the-thao__faq-question {
  font-size: 1.2em;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.page-the-thao__faq-answer {
  font-size: 1em;
  color: var(--text-main);
}

.page-the-thao__faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-the-thao__faq-answer a:hover {
  text-decoration: underline;
}

/* Conclusion Section */
.page-the-thao__conclusion {
  text-align: center;
  padding-bottom: 60px;
}

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

  .page-the-thao__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-the-thao__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
  }

  .page-the-thao__sub-title {
    font-size: clamp(1.4em, 3vw, 1.8em);
  }

  .page-the-thao__blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

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

  .page-the-thao__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-the-thao__hero-content {
    padding: 15px;
    margin-top: 10px;
  }

  .page-the-thao__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em) !important;
    margin-bottom: 15px;
  }

  .page-the-thao__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-the-thao__section {
    padding: 30px 15px;
  }

  .page-the-thao__section-title {
    font-size: clamp(1.6em, 6vw, 2em) !important;
    margin-bottom: 20px;
  }

  .page-the-thao__sub-title {
    font-size: clamp(1.2em, 4.5vw, 1.6em) !important;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-the-thao__paragraph {
    font-size: 0.95em;
  }

  /* Images responsive */
  .page-the-thao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-the-thao__image-figure {
    margin: 20px auto;
  }

  /* Buttons responsive */
  .page-the-thao__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-the-thao__btn-primary,
  .page-the-thao__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  /* Blog Section responsive */
  .page-the-thao__blog-section {
    padding: 40px 15px;
  }

  .page-the-thao__blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-the-thao__blog-card-image {
    height: 180px; /* Adjust height for mobile */
  }

  .page-the-thao__blog-card-title {
    font-size: 1.15em;
  }

  .page-the-thao__blog-card-excerpt {
    font-size: 0.9em;
  }

  /* FAQ Section responsive */
  .page-the-thao__faq-item {
    padding: 15px;
  }

  .page-the-thao__faq-question {
    font-size: 1.1em;
  }

  .page-the-thao__faq-answer {
    font-size: 0.95em;
  }
}