:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --card-bg-color: #10233F;
    --text-main-color: #F3F8FF;
    --text-secondary-color: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B; /* This is the body background color from shared.css context */
}

.page-tai-xiu {
    color: var(--text-main-color); /* #F3F8FF */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Some padding at the bottom for overall page */
}

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

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

/* Hero Section */
.page-tai-xiu__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body padding for header offset */
    background: var(--deep-navy-color); /* Base background, image covers */
    color: var(--text-main-color);
}

.page-tai-xiu__hero-image {
    width: 100%;
    height: 600px; /* Fixed height for desktop */
    overflow: hidden;
}

.page-tai-xiu__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover for desktop */
    display: block;
}

.page-tai-xiu__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 800px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.page-tai-xiu__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--gold-color); /* Gold for main title */
}

.page-tai-xiu__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-secondary-color);
}

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

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

.page-tai-xiu__btn-primary {
    background: var(--button-gradient); /* linear-gradient(180deg, #2B73F6 0%, #1144A6 100%) */
    color: var(--text-main-color); /* #F3F8FF */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tai-xiu__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-tai-xiu__btn-secondary {
    background: transparent;
    color: var(--text-main-color); /* #F3F8FF */
    border: 2px solid var(--border-color); /* #244D84 */
}

.page-tai-xiu__btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--glow-color); /* #4FA8FF */
}

/* Section Titles and Descriptions */
.page-tai-xiu__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: var(--gold-color); /* Gold for section titles */
    padding-top: 40px;
}

.page-tai-xiu__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-secondary-color);
}

/* Content Blocks */
.page-tai-xiu__content-block {
    background: var(--card-bg-color); /* #10233F */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    color: var(--text-main-color);
}

.page-tai-xiu__content-block p,
.page-tai-xiu__content-block li {
    margin-bottom: 15px;
    color: var(--text-secondary-color);
}

.page-tai-xiu__content-block h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--gold-color); /* Gold for sub-titles */
}

.page-tai-xiu__content-block ul,
.page-tai-xiu__content-block ol {
    list-style-position: inside;
    padding-left: 20px;
    margin-bottom: 20px;
}

.page-tai-xiu__content-block ul li::marker {
    color: var(--gold-color);
}
.page-tai-xiu__content-block ol li::marker {
    color: var(--gold-color);
}


/* Images in content */
.page-tai-xiu__image-full {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px 0;
    object-fit: cover;
}

.page-tai-xiu__image-inline {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px auto;
    object-fit: cover;
}

/* FAQ Section */
.page-tai-xiu__faq-list {
    margin-top: 30px;
}

details.page-tai-xiu__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color); /* #244D84 */
  overflow: hidden;
  background: var(--card-bg-color); /* #10233F */
}
details.page-tai-xiu__faq-item summary.page-tai-xiu__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main-color);
}
details.page-tai-xiu__faq-item summary.page-tai-xiu__faq-question::-webkit-details-marker {
  display: none;
}
details.page-tai-xiu__faq-item summary.page-tai-xiu__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-tai-xiu__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main-color);
}
.page-tai-xiu__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color); /* Gold for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-tai-xiu__faq-item .page-tai-xiu__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.2); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary-color);
}
.page-tai-xiu__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-tai-xiu__hero-image {
        height: 500px;
    }
    .page-tai-xiu__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-tai-xiu__hero-description {
        font-size: 1.1rem;
    }
    .page-tai-xiu__section-title {
        font-size: 2rem;
    }
    .page-tai-xiu__content-block {
        padding: 25px;
    }
    .page-tai-xiu__content-block h3 {
        font-size: 1.5rem;
    }
    .page-tai-xiu__faq-qtext {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-tai-xiu__hero-section {
        padding-top: 10px; /* Small top padding, relying on body padding for header offset */
    }
}