/* style/ththao.css */
.page-ththao {
  color: #ffffff; /* Body background #1a1a2e (dark), so text must be light */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-ththao__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(135deg, #26A9E0, #1a1a2e);
}

.page-ththao__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-ththao__hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-ththao__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-ththao__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-ththao__section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.3;
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0;
}

.page-ththao__content-section {
  padding: 40px 0;
}

.page-ththao__content-section p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-ththao__content-section a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-ththao__image-content {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-ththao__btn-primary,
.page-ththao__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-ththao__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
  margin-top: 20px;
}

.page-ththao__btn-primary:hover {
  background: #1e87c2;
  border-color: #1e87c2;
}

.page-ththao__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-top: 20px;
}

.page-ththao__btn-secondary:hover {
  background: #e0e0e0;
}

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

.page-ththao__card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-ththao__card:hover {
  transform: translateY(-5px);
}

.page-ththao__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-ththao__card p {
  font-size: 0.95rem;
  color: #f0f0f0;
}

.page-ththao__benefit-list,
.page-ththao__steps-list,
.page-ththao__tips-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-ththao__benefit-list li,
.page-ththao__steps-list li,
.page-ththao__tips-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  color: #f0f0f0;
}

.page-ththao__benefit-list li::before,
.page-ththao__steps-list li::before,
.page-ththao__tips-list li::before {
  content: '✓';
  color: #26A9E0;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.2rem;
  line-height: 1;
}

.page-ththao__steps-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.page-ththao__faq-list {
  margin-top: 40px;
}

.page-ththao__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-ththao__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  list-style: none; /* For details summary */
}

.page-ththao__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome/Safari */
}

.page-ththao__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-ththao__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-ththao__faq-answer p {
    margin-bottom: 0;
}

.page-ththao__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: #1a1a2e;
}

.page-ththao__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-ththao__video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-ththao__video-wrapper .page-ththao__video,
.page-ththao__video-wrapper .page-ththao__video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  cursor: pointer;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-ththao__container {
    padding: 0 15px;
  }

  .page-ththao__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-ththao__hero-image {
    margin-bottom: 20px;
  }

  .page-ththao__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-ththao__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-ththao__content-section {
    padding: 30px 0;
  }

  .page-ththao__image-content {
    margin: 20px auto;
  }

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

  .page-ththao__card {
    padding: 20px;
  }

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

  .page-ththao__benefit-list li,
  .page-ththao__steps-list li,
  .page-ththao__tips-list li {
    padding: 15px;
  }

  .page-ththao__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-ththao__faq-answer {
    padding: 0 20px 15px;
  }

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

  .page-ththao__video-section {
    padding-top: 10px !important;
  }

  .page-ththao video,
  .page-ththao__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-ththao__video-section,
  .page-ththao__video-container,
  .page-ththao__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

  .page-ththao__section,
  .page-ththao__card,
  .page-ththao__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-ththao__cta-buttons,
  .page-ththao__button-group,
  .page-ththao__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-ththao__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}