/* style/ththao.css */

/* Base styles for the page */
.page-ththao {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  line-height: 1.6;
}

/* Sections */
.page-ththao__section {
  padding: 60px 20px;
  text-align: center;
  color: #F2FFF6; /* Default text for dark sections */
}

.page-ththao__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-ththao__light-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

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

/* Hero Section */
.page-ththao__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: 10px; /* Small top padding for first section */
  overflow: hidden;
}

.page-ththao__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-ththao__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-ththao__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  margin: 20px;
}

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

.page-ththao__subtitle {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 30px;
}

/* Headings */
.page-ththao__section-title {
  font-size: 2.5rem;
  color: #F2C14E; /* Gold */
  margin-bottom: 40px;
  font-weight: bold;
}

.page-ththao__sub-title {
  font-size: 1.8rem;
  color: #57E38D; /* Glow */
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Paragraphs and Lists */
.page-ththao p {
  margin-bottom: 15px;
  color: #F2FFF6;
}

.page-ththao__list,
.page-ththao__ordered-list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  text-align: left;
  color: #F2FFF6;
}

.page-ththao__ordered-list {
  list-style-type: decimal;
}

.page-ththao__list li,
.page-ththao__ordered-list li {
  margin-bottom: 10px;
  color: #F2FFF6;
}

/* Images */
.page-ththao__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

.page-ththao__image-center {
  display: block;
  margin: 30px auto;
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* Buttons */
.page-ththao__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-ththao__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-ththao__btn-link {
  color: #57E38D; /* Glow color for inline links */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-ththao__btn-link:hover {
  color: #F2C14E; /* Gold on hover */
}

/* Call to Action Section */
.page-ththao__cta-section {
  padding: 80px 20px;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6;
}

.page-ththao__cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-ththao__cta-text {
  font-size: 1.3rem;
  max-width: 800px;
  line-height: 1.8;
  color: #A7D9B8;
}

/* FAQ Section */
.page-ththao__faq-intro {
  font-size: 1.1rem;
  color: #A7D9B8;
  margin-bottom: 40px;
}

.page-ththao__faq-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-ththao__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-ththao__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  color: #F2FFF6;
  background-color: #0A4B2C; /* Deep Green */
  transition: background-color 0.3s ease;
}

.page-ththao__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-ththao__faq-item summary:hover {
  background-color: #13994A;
}

.page-ththao__faq-qtext {
  flex-grow: 1;
}

.page-ththao__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: #57E38D;
}

.page-ththao__faq-answer {
  padding: 20px;
  font-size: 1rem;
  color: #A7D9B8;
  background-color: #11271B;
  line-height: 1.7;
  border-top: 1px solid #2E7A4E;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-ththao__hero-section {
    min-height: 400px;
    padding-top: 10px !important;
  }

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

  .page-ththao__subtitle {
    font-size: 0.95rem;
  }

  .page-ththao__section-title {
    font-size: 2rem;
  }

  .page-ththao__sub-title {
    font-size: 1.5rem;
  }

  .page-ththao__section {
    padding: 40px 15px;
  }

  .page-ththao__container {
    padding: 0 10px;
  }

  /* Images */
  .page-ththao img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !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;
    overflow-x: hidden;
  }

  /* Videos (if any) */
  .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__video-section {
    padding-top: 10px !important;
  }

  /* Buttons */
  .page-ththao__cta-button,
  .page-ththao__btn-primary,
  .page-ththao__btn-secondary,
  .page-ththao a[class*="button"],
  .page-ththao a[class*="btn"] {
    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;
  }

  .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;
  }

  .page-ththao__cta-text {
    font-size: 1rem;
  }

  .page-ththao__faq-item summary {
    font-size: 1rem;
    padding: 15px;
  }

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