/* style/tai-xiu-chien-thuat-choi.css */
.page-tai-xiu-chien-thuat-choi {
  color: #333333; /* Default text color for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-tai-xiu-chien-thuat-choi__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-tai-xiu-chien-thuat-choi__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  margin-bottom: 40px;
  background-color: var(--primary-color);
}

.page-tai-xiu-chien-thuat-choi__hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.page-tai-xiu-chien-thuat-choi__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-tai-xiu-chien-thuat-choi__hero-content {
  text-align: center;
  padding: 40px 20px;
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.page-tai-xiu-chien-thuat-choi__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Register/Login font color for emphasis */
}

.page-tai-xiu-chien-thuat-choi__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu-chien-thuat-choi__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-tai-xiu-chien-thuat-choi__btn-primary,
.page-tai-xiu-chien-thuat-choi__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-tai-xiu-chien-thuat-choi__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-tai-xiu-chien-thuat-choi__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-tai-xiu-chien-thuat-choi__btn-secondary {
  background-color: #ffffff;
  color: #017439; /* Main brand color */
  border: 2px solid #017439;
}

.page-tai-xiu-chien-thuat-choi__btn-secondary:hover {
  background-color: #e0e0e0;
  border-color: #017439;
}

/* Content Sections */
.page-tai-xiu-chien-thuat-choi__content-section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-tai-xiu-chien-thuat-choi__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-tai-xiu-chien-thuat-choi__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-tai-xiu-chien-thuat-choi__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.page-tai-xiu-chien-thuat-choi__light-bg .page-tai-xiu-chien-thuat-choi__section-title {
  color: #017439;
}

.page-tai-xiu-chien-thuat-choi__dark-bg .page-tai-xiu-chien-thuat-choi__section-title {
  color: #FFFF00;
}

.page-tai-xiu-chien-thuat-choi__subsection-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-tai-xiu-chien-thuat-choi__light-bg .page-tai-xiu-chien-thuat-choi__subsection-title {
  color: #017439;
}

.page-tai-xiu-chien-thuat-choi__dark-bg .page-tai-xiu-chien-thuat-choi__subsection-title {
  color: #ffffff;
}

.page-tai-xiu-chien-thuat-choi p {
  margin-bottom: 1em;
  font-size: 1.05em;
}

.page-tai-xiu-chien-thuat-choi__image-block {
  text-align: center;
  margin: 30px 0;
}

.page-tai-xiu-chien-thuat-choi__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-tai-xiu-chien-thuat-choi__list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1.5em;
}

.page-tai-xiu-chien-thuat-choi__list li {
  margin-bottom: 0.8em;
  font-size: 1.05em;
}

.page-tai-xiu-chien-thuat-choi__cta-buttons--center {
  margin-top: 40px;
}

/* FAQ Section */
.page-tai-xiu-chien-thuat-choi__faq-section {
  padding-bottom: 80px;
}

.page-tai-xiu-chien-thuat-choi__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-tai-xiu-chien-thuat-choi__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-tai-xiu-chien-thuat-choi__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  color: #FFFF00;
  background-color: rgba(0, 0, 0, 0.2);
}

.page-tai-xiu-chien-thuat-choi__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-tai-xiu-chien-thuat-choi__faq-item[open] .page-tai-xiu-chien-thuat-choi__faq-toggle {
  transform: rotate(45deg);
}

.page-tai-xiu-chien-thuat-choi__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-tai-xiu-chien-thuat-choi__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Placeholder styles for homepage-specific elements (as per strict checklist) */
.page-tai-xiu-chien-thuat-choi__hero-carousel-section,
.page-tai-xiu-chien-thuat-choi__guide-box,
.page-tai-xiu-chien-thuat-choi__home-content-box,
.page-tai-xiu-chien-thuat-choi__blog-section {
  /* These elements are not present on this page, but media queries are required */
  display: none; /* Hide if they somehow appear */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tai-xiu-chien-thuat-choi__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }

  .page-tai-xiu-chien-thuat-choi__section-title {
    font-size: 2em;
  }

  .page-tai-xiu-chien-thuat-choi__subsection-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-tai-xiu-chien-thuat-choi {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-tai-xiu-chien-thuat-choi__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-tai-xiu-chien-thuat-choi__hero-section {
    padding-top: 10px !important;
    margin-bottom: 20px;
  }

  .page-tai-xiu-chien-thuat-choi__hero-content {
    padding: 30px 15px;
  }

  .page-tai-xiu-chien-thuat-choi__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-tai-xiu-chien-thuat-choi__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-tai-xiu-chien-thuat-choi__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-tai-xiu-chien-thuat-choi__btn-primary,
  .page-tai-xiu-chien-thuat-choi__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Content Sections */
  .page-tai-xiu-chien-thuat-choi__content-section {
    padding: 40px 0;
  }

  .page-tai-xiu-chien-thuat-choi__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-tai-xiu-chien-thuat-choi__subsection-title {
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-tai-xiu-chien-thuat-choi p,
  .page-tai-xiu-chien-thuat-choi__list li {
    font-size: 1em;
  }

  .page-tai-xiu-chien-thuat-choi__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* FAQ Section */
  .page-tai-xiu-chien-thuat-choi__faq-item summary {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-tai-xiu-chien-thuat-choi__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }

  /* REQUIRED PLACEHOLDER MEDIA QUERIES FOR HOMEPAGE-SPECIFIC ELEMENTS */
  /* 1. Top section/Hero Carousel (Even if not used on this page) */
  .page-tai-xiu-chien-thuat-choi__hero-carousel-section {
    display: none; /* Ensure it's hidden if not used */
    padding-top: 10px !important;
    /* More specific carousel styles if it were present */
  }
  .page-tai-xiu-chien-thuat-choi__hero-slider {
    /* Placeholder for slider */
  }
  .page-tai-xiu-chien-thuat-choi__hero-slide {
    /* Placeholder for slide */
  }

  /* 2. Operation Guide Box + Five vertical 'team' cards (Even if not used on this page) */
  .page-tai-xiu-chien-thuat-choi__guide-box {
    display: none; /* Ensure it's hidden if not used */
    padding: 15px !important;
  }
  .page-tai-xiu-chien-thuat-choi__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }
  .page-tai-xiu-chien-thuat-choi__guide-card {
    padding-top: 0 !important; /* Reset specific homepage padding */
    flex: 0 0 auto !important;
    max-width: none !important;
  }
  .page-tai-xiu-chien-thuat-choi__guide-card--pos-1,
  .page-tai-xiu-chien-thuat-choi__guide-card--pos-2 {
    grid-column: span 3;
  }
  .page-tai-xiu-chien-thuat-choi__guide-card--pos-3,
  .page-tai-xiu-chien-thuat-choi__guide-card--pos-4,
  .page-tai-xiu-chien-thuat-choi__guide-card--pos-5 {
    grid-column: span 2;
  }
  .page-tai-xiu-chien-thuat-choi__guide-card img {
    aspect-ratio: 250/350;
    object-fit: contain;
    width: 100% !important;
    height: auto !important;
  }

  /* 3. 'home_content' outer frame (Even if not used on this page) */
  .page-tai-xiu-chien-thuat-choi__home-content-box {
    display: none; /* Ensure it's hidden if not used */
    max-width: 100% !important;
    height: auto !important; /* Full height on mobile */
    padding: 10px !important;
  }
  .page-tai-xiu-chien-thuat-choi__home-content-inner {
    height: auto !important;
    overflow: visible !important;
  }

  /* 4. Blog card section (Even if not used on this page) */
  .page-tai-xiu-chien-thuat-choi__blog-section {
    display: none; /* Ensure it's hidden if not used */
    padding: 40px 0 !important;
  }
  .page-tai-xiu-chien-thuat-choi__blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr) !important; /* Single column on mobile */
    gap: 15px !important;
  }
  .page-tai-xiu-chien-thuat-choi__blog-card {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* 5. General Images and Buttons (already covered above, but explicitly here for checklist) */
  .page-tai-xiu-chien-thuat-choi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tai-xiu-chien-thuat-choi a[class*="button"],
  .page-tai-xiu-chien-thuat-choi 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-tai-xiu-chien-thuat-choi__cta-buttons,
  .page-tai-xiu-chien-thuat-choi__button-group,
  .page-tai-xiu-chien-thuat-choi__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-tai-xiu-chien-thuat-choi__cta-buttons {
    flex-direction: column;
  }
}