/* style/ththao.css */
/* Base styles for the page content, considering the shared body background is #08160F (dark) */
.page-ththao {
  font-family: Arial, sans-serif;
  color: #F2FFF6; /* Text Main for dark background */
  background-color: transparent; /* Rely on shared.css for body background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-ththao__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Background for hero section */
}

.page-ththao__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 40px;
}

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

.page-ththao__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-ththao__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  color: #F2C14E; /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-ththao__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 40px;
}

/* Buttons */
.page-ththao__cta-buttons {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 20px;
  justify-content: center;
}

.page-ththao__cta-buttons--center {
  margin-top: 40px;
}

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box; /* Crucial for responsive buttons */
  max-width: 100%; /* Ensure buttons don't exceed container */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-ththao__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button gradient */
  color: #F2FFF6; /* Text Main for button text */
  border: 2px solid transparent;
}

.page-ththao__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-ththao__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Green from gradient for secondary button text */
  border: 2px solid #2AD16F; /* Green border */
}

.page-ththao__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.2);
}

/* Video Section */
.page-ththao__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0A4B2C; /* Deep Green for video section */
}

.page-ththao__video-wrapper {
  position: relative;
  width: 100%; /* Must be 100% on desktop */
  max-width: 1200px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 0 auto 30px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-ththao__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer; /* Added for JS click functionality */
}

.page-ththao__text-block--center {
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section titles */
.page-ththao__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E; /* Gold for section titles */
  text-align: center;
  margin-bottom: 50px;
  margin-top: 60px;
  line-height: 1.3;
}

.page-ththao__introduction-section,
.page-ththao__sports-categories,
.page-ththao__guide-section,
.page-ththao__tips-section,
.page-ththao__conclusion-section {
  padding: 60px 0;
}

.page-ththao__dark-section {
  background-color: #0A4B2C; /* Deep Green for dark sections */
  padding: 60px 0;
}

.page-ththao__text-block {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

.page-ththao__text-block a {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-ththao__text-block a:hover {
  text-decoration: underline;
}

/* Sports Grid */
.page-ththao__sports-grid,
.page-ththao__promo-grid,
.page-ththao__guide-steps,
.page-ththao__features-grid,
.page-ththao__tips-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}