/* 桌面样式 */
.page-tai-xiu {
  background-color: #B71C1C; /* Custom Background */
  color: #FFF5E1; /* Custom Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-tai-xiu__container--center {
  text-align: center;
}

.page-tai-xiu__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding for fixed header */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has some height */
  overflow: hidden;
}

.page-tai-xiu__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-tai-xiu__hero-content-wrapper {
  padding: 40px 20px;
  max-width: 900px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.4); /* Slightly dark overlay for readability */
  border-radius: 8px;
  margin-top: 20px; /* Space below image */
}

.page-tai-xiu__main-title {
  font-size: 3.2em;
  font-weight: bold;
  color: #F4D34D; /* Custom Gold */
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-tai-xiu__subtitle {
  font-size: 1.3em;
  color: #FFF5E1; /* Custom Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-tai-xiu__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

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

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

.page-tai-xiu__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom Button */
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-tai-xiu__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-tai-xiu__btn-secondary {
  background-color: transparent;
  color: #F4D34D; /* Custom Gold */
  border: 2px solid #F4D34D; /* Custom Gold */
  box-shadow: 0 4px 15px rgba(244, 211, 77, 0.2);
}

.page-tai-xiu__btn-secondary:hover {
  background-color: #F4D34D;
  color: #7A0E0E; /* Deep Red for contrast */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 211, 77, 0.4);
}

.page-tai-xiu__section {
  padding: 60px 0;
}

.page-tai-xiu__section-title {
  font-size: 2.5em;
  color: #F4D34D; /* Custom Gold */
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-tai-xiu__text-block {
  font-size: 1.1em;
  color: #FFF5E1; /* Custom Text Main */
  margin-bottom: 20px;
  text-align: justify;
}

.page-tai-xiu__highlight {
  color: #FFCC66; /* Custom Glow */
  font-weight: bold;
}

.page-tai-xiu__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-tai-xiu__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #F2B544; /* Custom Border */
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.05em;
  color: #FFF5E1; /* Custom Text Main */
}

.page-tai-xiu__list-item strong {
  color: #FFCC66; /* Custom Glow */
}

.page-tai-xiu__image-with-text {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.page-tai-xiu__image-with-text .page-tai-xiu__content-image {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Custom Border */
}

.page-tai-xiu__image-with-text .page-tai-xiu__list {
  flex-grow: 1;
  margin-bottom: 0;
}

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

.page-tai-xiu__card {
  background-color: #D32F2F; /* Custom Card BG */
  color: #FFF5E1; /* Custom Text Main */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #7A0E0E; /* Custom Deep Red */
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-tai-xiu__card-title {
  font-size: 1.4em;
  color: #FFCC66; /* Custom Glow */
  margin-bottom: 15px;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-tai-xiu__card-text {
  font-size: 1em;
  color: #FFF5E1; /* Custom Text Main */
  flex-grow: 1;
}

.page-tai-xiu__content-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-tai-xiu__text-column {
  flex: 1;
}

.page-tai-xiu__image-column {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #F2B544; /* Custom Border */
}

.page-tai-xiu__image-column .page-tai-xiu__content-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-tai-xiu__numbered-list {
  list-style: decimal;
  padding-left: 25px;
  color: #FFF5E1; /* Custom Text Main */
  margin-bottom: 20px;
}

.page-tai-xiu__numbered-list .page-tai-xiu__list-item {
  background-color: transparent;
  border-left: none;
  padding: 5px 0;
  margin-bottom: 10px;
  border-radius: 0;
  font-size: 1.05em;
}

.page-tai-xiu__faq-list {
  margin-top: 30px;
}

.page-tai-xiu__faq-item {
  background-color: #D32F2F; /* Custom Card BG */
  border: 1px solid #7A0E0E; /* Custom Deep Red */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFCC66; /* Custom Glow */
  background-color: #C91F17; /* Main Color */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-tai-xiu__faq-question:hover {
  background-color: #E53935; /* Accent Color */
}

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

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

.page-tai-xiu__faq-answer {
  padding: 20px 25px;
  background-color: #D32F2F; /* Custom Card BG */
  border-top: 1px solid #7A0E0E; /* Custom Deep Red */
  color: #FFF5E1; /* Custom Text Main */
  font-size: 1.05em;
}

/* 通用图片响应式样式 */
.page-tai-xiu img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 移动端样式 */
@media (max-width: 768px) {
  .page-tai-xiu {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-tai-xiu__container {
    padding: 15px;
  }

  .page-tai-xiu__hero-section {
    padding-top: 10px; /* Small top padding for fixed header on mobile */
    min-height: auto;
  }

  .page-tai-xiu__hero-content-wrapper {
    padding: 25px 15px;
    margin-top: 15px;
  }

  .page-tai-xiu__main-title {
    font-size: 2em;
    margin-bottom: 10px;
  }

  .page-tai-xiu__subtitle {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-tai-xiu__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

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

  .page-tai-xiu__section {
    padding: 40px 0;
  }

  .page-tai-xiu__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-tai-xiu__text-block {
    font-size: 1em;
  }

  .page-tai-xiu__image-with-text {
    flex-direction: column;
    gap: 25px;
  }

  .page-tai-xiu__image-with-text .page-tai-xiu__content-image {
    width: 100%;
    height: auto;
  }

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

  .page-tai-xiu__card {
    padding: 25px;
  }

  .page-tai-xiu__card-title {
    font-size: 1.2em;
  }

  .page-tai-xiu__content-flex {
    flex-direction: column;
    gap: 25px;
  }

  .page-tai-xiu__image-column {
    width: 100%;
    height: auto;
  }

  .page-tai-xiu__image-column .page-tai-xiu__content-image {
    width: 100%;
    height: auto;
  }

  .page-tai-xiu__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-tai-xiu__faq-answer {
    padding: 15px 20px;
    font-size: 1em;
  }

  /* 移动端通用图片适配 */
  .page-tai-xiu img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-tai-xiu__section,
  .page-tai-xiu__card,
  .page-tai-xiu__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}