/* style/tai-xiu.css */

/* Base styles for the page-tai-xiu scope */
.page-tai-xiu {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Explicitly set for clarity, though body default is white */
}

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

.page-tai-xiu__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-tai-xiu__dark-section {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
}

.page-tai-xiu__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #26A9E0;
}

.page-tai-xiu__section-title--white {
    color: #ffffff;
}

.page-tai-xiu__sub-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-tai-xiu__sub-title--white {
    color: #ffffff;
}

.page-tai-xiu__text-block--white p,
.page-tai-xiu__text-block--white li {
    color: #ffffff;
}

.page-tai-xiu__text-block--white ul,
.page-tai-xiu__text-block--white ol {
    padding-left: 20px;
}

/* Button styles */
.page-tai-xiu__btn-primary,
.page-tai-xiu__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tai-xiu__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-tai-xiu__btn-primary:hover {
    background-color: #d16b06;
    border-color: #d16b06;
}

.page-tai-xiu__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-tai-xiu__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-tai-xiu__btn-primary--large,
.page-tai-xiu__btn-secondary--large {
    padding: 15px 30px;
    font-size: 1.1em;
}

.page-tai-xiu__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    justify-content: flex-start;
}

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

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

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

.page-tai-xiu__content-wrapper > div {
    flex: 1;
    min-width: 300px; /* Ensure content blocks have a minimum width */
}

.page-tai-xiu__image-block {
    text-align: center;
}

.page-tai-xiu__image-block--full-width {
    flex: 0 0 100%;
    margin-top: 30px;
}

/* Hero Section */
.page-tai-xiu__hero-section {
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #26A9E0, #4a90e2); /* Gradient background */
    color: #ffffff;
}

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

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

.page-tai-xiu__hero-title {
    font-size: clamp(2.5em, 4vw, 3.2em); /* Using clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-tai-xiu__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-tai-xiu__main-hero-image {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
}