/* style/tai-xiu.css */

/* Base Styles */
.page-tai-xiu {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-tai-xiu__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

.page-tai-xiu__section-title {
  font-size: 2.5em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-tai-xiu__text-block {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Images Global */
.page-tai-xiu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons Global */
.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary,
.page-tai-xiu a[class*="button"],
.page-tai-xiu a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding in width */
  max-width: 100%;
}

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-tai-xiu__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-tai-xiu__btn-secondary {
  background: #ffffff; /* Card BG */
  color: #2F6BFF; /* Main color for text */
  border: 2px solid #2F6BFF; /* Main color for border */
}

.page-tai-xiu__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Hero Section */
.page-tai-xiu__hero-section {
  padding-top: 10px; /* Small top padding, assuming shared handles body padding */
  padding-bottom: 40px;
  background-color: #F4F7FB; /* Background */
}

.page-tai-xiu__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 40px 16px;
  gap: 24px;
}

.page-tai-xiu__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__main-title {
  font-size: 3em;
  font-weight: 800;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-tai-xiu__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-tai-xiu__hero-image {
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
}

.page-tai-xiu__main-visual {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(47, 107, 255, 0.15); /* Subtle shadow with brand color */
}

/* Intro Section (Module 1) */
.page-tai-xiu__intro-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

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

.page-tai-xiu__feature-item {
  background: #ffffff; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__feature-item:hover {
  transform: translateY(-5px);
}

.page-tai-xiu__icon-box-media {
  width: 200px; /* Fixed size for circular image */
  height: 200px; /* Fixed size for circular image */
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #D6E2FF; /* Border color */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-tai-xiu__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.page-tai-xiu__feature-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
}

.page-tai-xiu__feature-description {
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
}

/* Guide Section */
.page-tai-xiu__guide-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-tai-xiu__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  gap: 25px;
}

.page-tai-xiu__guide-item {
  background: #ffffff; /* Card BG */
  border-left: 5px solid #2F6BFF; /* Main color */
  border-radius: 8px;
  padding: 25px 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__guide-step-title {
  font-size: 1.3em;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-tai-xiu__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Advantages Section */
.page-tai-xiu__advantages-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

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

.page-tai-xiu__advantage-item {
  background: #ffffff; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  color: #1F2D3D; /* Text Main */
  text-align: center;
}

.page-tai-xiu__advantage-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-tai-xiu__advantage-title {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000000; /* Custom Color_1776249996415 */
}

/* FAQ Section */
.page-tai-xiu__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-tai-xiu__faq-list {
  margin-top: 40px;
  display: grid;
  gap: 15px;
}

.page-tai-xiu__faq-item {
  background: #ffffff; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  color: #1F2D3D; /* Text Main */
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  list-style: none; /* For details/summary */
}

.page-tai-xiu__faq-question::-webkit-details-marker {
  display: none;
}

.page-tai-xiu__faq-question::marker {
  display: none;
}

.page-tai-xiu__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF; /* Main color */
}

.page-tai-xiu__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #1F2D3D; /* Text Main */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tai-xiu__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-tai-xiu__hero-content,
  .page-tai-xiu__hero-image {
    flex: 1 1 100%;
  }

  .page-tai-xiu__cta-buttons {
    justify-content: center;
  }

  .page-tai-xiu__main-title {
    font-size: 2.5em;
  }

  .page-tai-xiu__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  /* HERO Section (top padding) */
  .page-tai-xiu__hero-section {
    padding-top: 10px !important;
    padding-left: 0 !important; /* Resetting container handles padding */
    padding-right: 0 !important;
  }

  .page-tai-xiu__hero-container {
    padding: 20px 15px !important; /* Adjusted padding for mobile */
    gap: 15px !important;
  }

  .page-tai-xiu__main-title {
    font-size: 2em !important;
    text-align: center;
  }

  .page-tai-xiu__hero-description {
    font-size: 1em !important;
    text-align: center;
  }

  .page-tai-xiu__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important; /* Buttons handle their own padding */
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* Buttons (max-width, word-wrap) */
  .page-tai-xiu__btn-primary,
  .page-tai-xiu__btn-secondary,
  .page-tai-xiu a[class*="button"],
  .page-tai-xiu 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 !important;
    padding-right: 15px !important;
  }

  /* Module 1 (circular images) */
  .page-tai-xiu__intro-section .page-tai-xiu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-tai-xiu__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-tai-xiu__icon-box-media {
    width: 150px !important; /* Still square */
    height: 150px !important; /* Still square */
    border-width: 3px !important;
  }
  .page-tai-xiu__feature-title {
    font-size: 1.3em !important;
  }

  /* Guide Section (content modules) */
  .page-tai-xiu__guide-section .page-tai-xiu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-tai-xiu__guide-item {
    padding: 20px 25px !important;
  }
  .page-tai-xiu__guide-step-title {
    font-size: 1.2em !important;
  }
  .page-tai-xiu__text-block {
    font-size: 0.95em !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Advantages Section (content modules) */
  .page-tai-xiu__advantages-section .page-tai-xiu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-tai-xiu__advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-tai-xiu__advantage-title {
    font-size: 1.2em !important;
  }

  /* FAQ Section (content modules) */
  .page-tai-xiu__faq-section .page-tai-xiu__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-tai-xiu__faq-question {
    padding: 15px 20px !important;
    font-size: 1em !important;
  }
  .page-tai-xiu__faq-answer {
    padding: 0 20px 15px !important;
  }

  /* Universal Images and Containers */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-tai-xiu__hero-section,
  .page-tai-xiu__intro-section,
  .page-tai-xiu__guide-section,
  .page-tai-xiu__advantages-section,
  .page-tai-xiu__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Padding handled by inner containers */
  }

  .page-tai-xiu__section-title {
    font-size: 1.8em !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}