/* General styles for the page */
.page-huong-dan-choi-tai-xiu {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit or default to white */
}

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

/* Hero Section */
.page-huong-dan-choi-tai-xiu__hero-section {
    position: relative;
    padding-top: 10px; /* Small top margin, as body handles header offset */
    background-color: #f0f8ff; /* Light background for hero */
    text-align: center;
    overflow: hidden;
}

.page-huong-dan-choi-tai-xiu__hero-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.page-huong-dan-choi-tai-xiu__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for hero image */
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-huong-dan-choi-tai-xiu__hero-content {
    padding: 40px 15px;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white for readability */
    margin-top: -50px; /* Overlap slightly for visual effect */
    position: relative;
    z-index: 1;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
}

.page-huong-dan-choi-tai-xiu__main-title {
    font-size: 2.8em;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-huong-dan-choi-tai-xiu__description {
    font-size: 1.2em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-huong-dan-choi-tai-xiu__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-huong-dan-choi-tai-xiu__btn-primary,
.page-huong-dan-choi-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; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-huong-dan-choi-tai-xiu__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-huong-dan-choi-tai-xiu__btn-primary:hover {
    background-color: #1a7bbd;
    border-color: #1a7bbd;
    transform: translateY(-2px);
}

.page-huong-dan-choi-tai-xiu__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-huong-dan-choi-tai-xiu__btn-secondary:hover {
    background-color: #e0f2f7;
    color: #1a7bbd;
    transform: translateY(-2px);
}

/* Content Area */
.page-huong-dan-choi-tai-xiu__content-area {
    padding: 60px 0;
    background-color: #FFFFFF; /* Default light background */
    color: #333333; /* Dark text for light background */
}

.page-huong-dan-choi-tai-xiu__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-huong-dan-choi-tai-xiu__sub-title {
    font-size: 1.6em;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-huong-dan-choi-tai-xiu__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-huong-dan-choi-tai-xiu__text-block a {
    color: #26A9E0;
    text-decoration: none;
}

.page-huong-dan-choi-tai-xiu__text-block a:hover {
    text-decoration: underline;
}

.page-huong-dan-choi-tai-xiu__list,
.page-huong-dan-choi-tai-xiu__numbered-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-huong-dan-choi-tai-xiu__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.7;
    position: relative;
    padding-left: 25px;
}

.page-huong-dan-choi-tai-xiu__list-item::before {
    content: '•';
    color: #26A9E0;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-huong-dan-choi-tai-xiu__numbered-list .page-huong-dan-choi-tai-xiu__list-item {
    counter-increment: list-counter;
}

.page-huong-dan-choi-tai-xiu__numbered-list .page-huong-dan-choi-tai-xiu__list-item::before {
    content: counter(list-counter) ".";
    color: #26A9E0;
    font-weight: bold;
}

.page-huong-dan-choi-tai-xiu__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-huong-dan-choi-tai-xiu__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

/* Call to Action Box */
.page-huong-dan-choi-tai-xiu__cta-box {
    background-color: #e0f2f7; /* Light blue background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-huong-dan-choi-tai-xiu__cta-text {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-huong-dan-choi-tai-xiu__cta-buttons--bottom {
    margin-top: 50px;
    margin-bottom: 20px;
}

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

.page-huong-dan-choi-tai-xiu__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-huong-dan-choi-tai-xiu__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #e0f2f7; /* Light blue for summary */
    border-bottom: 1px solid #d0eaf0;
    list-style: none; /* For details/summary */
}

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

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

.page-huong-dan-choi-tai-xiu__faq-qtext {
    flex-grow: 1;
}

.page-huong-dan-choi-tai-xiu__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #26A9E0;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-huong-dan-choi-tai-xiu__faq-item[open] .page-huong-dan-choi-tai-xiu__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or similar */
}

.page-huong-dan-choi-tai-xiu__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1.05em;
    color: #555555;
    background-color: #fdfdfd;
    border-top: 1px solid #e0e0e0;
}

.page-huong-dan-choi-tai-xiu__faq-answer p {
    margin-bottom: 10px;
}

/* Mobile Responsiveness - @media (max-width: 768px) */
@media (max-width: 768px) {
    /* 1. HERO Section */
    .page-huong-dan-choi-tai-xiu__hero-section {
        padding-top: 10px; /* Small top margin */
    }
    .page-huong-dan-choi-tai-xiu__hero-image img {
        max-height: 300px;
    }
    .page-huong-dan-choi-tai-xiu__hero-content {
        padding: 25px 15px;
        margin-top: -30px;
    }
    .page-huong-dan-choi-tai-xiu__main-title {
        font-size: clamp(1.8em, 5vw, 2.2em); /* Use clamp for H1 */
        margin-bottom: 15px;
    }
    .page-huong-dan-choi-tai-xiu__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* 2. Long Text Area */
    .page-huong-dan-choi-tai-xiu__content-area {
        padding: 30px 0;
    }
    .page-huong-dan-choi-tai-xiu__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-huong-dan-choi-tai-xiu__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-huong-dan-choi-tai-xiu__text-block,
    .page-huong-dan-choi-tai-xiu__list-item {
        font-size: 1em;
        line-height: 1.6;
    }
    .page-huong-dan-choi-tai-xiu__cta-box {
        padding: 20px;
        margin: 30px auto;
    }
    .page-huong-dan-choi-tai-xiu__cta-text {
        font-size: 1.1em;
        margin-bottom: 20px;
    }

    /* 3. Blog Section - N/A for this page, but general card-like elements */

    /* 4. Generic Images and Containers */
    .page-huong-dan-choi-tai-xiu img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min size even on mobile */
        min-height: 200px !important; /* Enforce min size even on mobile */
    }
    .page-huong-dan-choi-tai-xiu__container,
    .page-huong-dan-choi-tai-xiu__hero-section,
    .page-huong-dan-choi-tai-xiu__content-area,
    .page-huong-dan-choi-tai-xiu__image-wrapper,
    .page-huong-dan-choi-tai-xiu__cta-box,
    .page-huong-dan-choi-tai-xiu__faq-list,
    .page-huong-dan-choi-tai-xiu__faq-item,
    .page-huong-dan-choi-tai-xiu__faq-answer {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-huong-dan-choi-tai-xiu__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-huong-dan-choi-tai-xiu__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 5. Buttons and Button Containers */
    .page-huong-dan-choi-tai-xiu__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
    }
    .page-huong-dan-choi-tai-xiu__btn-primary,
    .page-huong-dan-choi-tai-xiu__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }

    /* FAQ for mobile */
    .page-huong-dan-choi-tai-xiu__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-huong-dan-choi-tai-xiu__faq-answer {
        padding: 15px 20px;
        font-size: 0.95em;
    }
}