/* General Styling for page-huong-dan-choi */
.page-huong-dan-choi {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background: #F4F7FB; /* Background */
}

.page-huong-dan-choi__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-huong-dan-choi__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-huong-dan-choi__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-huong-dan-choi__section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2F6BFF, #6FA3FF);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-huong-dan-choi__sub-title {
    font-size: 24px;
    font-weight: 600;
    color: #2F6BFF; /* Main Color */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-huong-dan-choi__text-block {
    font-size: 17px;
    color: #1F2D3D;
}

.page-huong-dan-choi__text-block p {
    margin-bottom: 15px;
}

.page-huong-dan-choi__text-block ol,
.page-huong-dan-choi__text-block ul {
    margin-bottom: 15px;
    padding-left: 25px;
}

.page-huong-dan-choi__text-block ol li,
.page-huong-dan-choi__text-block ul li {
    margin-bottom: 8px;
    color: #1F2D3D;
}

/* Hero Section */
.page-huong-dan-choi__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as per rules */
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-huong-dan-choi__hero-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

.page-huong-dan-choi__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
    height: auto;
}

.page-huong-dan-choi__hero-content {
    background: #FFFFFF; /* Card BG */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: -80px; /* Overlap with image */
    position: relative;
    z-index: 10;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
}

.page-huong-dan-choi__main-title {
    font-size: clamp(28px, 4vw, 48px);
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-huong-dan-choi__intro-text {
    font-size: 18px;
    color: #1F2D3D;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-huong-dan-choi__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For responsive */
    box-sizing: border-box; /* For responsive */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

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

.page-huong-dan-choi__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
}

.page-huong-dan-choi__btn-secondary {
    background: #ffffff;
    color: #2F6BFF;
    border: 2px solid #2F6BFF;
    margin-left: 20px;
}

.page-huong-dan-choi__btn-secondary:hover {
    background: #2F6BFF;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.2);
}

.page-huong-dan-choi__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Image wrappers */
.page-huong-dan-choi__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-huong-dan-choi__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

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

.page-huong-dan-choi__image-card {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.page-huong-dan-choi__image-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency in grid */
    object-fit: cover;
    display: block;
    max-width: 100%;
    height: auto; /* Override fixed height for responsiveness */
}

/* Dark Section */
.page-huong-dan-choi__dark-section {
    background: #2F6BFF; /* Main Color */
    color: #ffffff;
    padding: 60px 0;
}

.page-huong-dan-choi__dark-section .page-huong-dan-choi__section-title,
.page-huong-dan-choi__dark-section .page-huong-dan-choi__sub-title {
    color: #ffffff;
}

.page-huong-dan-choi__dark-section .page-huong-dan-choi__section-title::after {
    background: #A5C4FF; /* Glow */
}

.page-huong-dan-choi__dark-section .page-huong-dan-choi__text-block,
.page-huong-dan-choi__dark-section .page-huong-dan-choi__text-block p,
.page-huong-dan-choi__dark-section .page-huong-dan-choi__text-block ol li,
.page-huong-dan-choi__dark-section .page-huong-dan-choi__text-block ul li {
    color: #f0f0f0;
}

/* FAQ Section */
details.page-huong-dan-choi__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #D6E2FF; /* Border Color */
    overflow: hidden;
    background: #ffffff; /* Card BG */
    color: #1F2D3D;
    transition: all 0.3s ease;
}

details.page-huong-dan-choi__faq-item[open] {
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.15);
    border-color: #2F6BFF;
}

details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    font-weight: 600;
    font-size: 18px;
    color: #1F2D3D;
}

details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question::-webkit-details-marker {
    display: none;
}

details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question:hover {
    background: #f5f8ff;
}

.page-huong-dan-choi__faq-qtext {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #1F2D3D;
}

.page-huong-dan-choi__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #2F6BFF;
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    line-height: 1;
}

details.page-huong-dan-choi__faq-item .page-huong-dan-choi__faq-answer {
    padding: 0 25px 20px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    font-size: 16px;
    color: #333333;
}

.page-huong-dan-choi__faq-answer p {
    margin-bottom: 0;
}

/* Call to Action Section */
.page-huong-dan-choi__call-to-action {
    text-align: center;
    background: #F4F7FB; /* Background */
    padding: 80px 0;
}

.page-huong-dan-choi__call-to-action .page-huong-dan-choi__section-title {
    margin-bottom: 20px;
}

.page-huong-dan-choi__call-to-action .page-huong-dan-choi__text-block p {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 40px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-huong-dan-choi__hero-content {
        margin-top: -60px;
        padding: 30px;
    }
    .page-huong-dan-choi__main-title {
        font-size: clamp(26px, 3.5vw, 40px);
    }
    .page-huong-dan-choi__section {
        padding: 50px 0;
    }
    .page-huong-dan-choi__section-title {
        font-size: 30px;
    }
    .page-huong-dan-choi__sub-title {
        font-size: 22px;
    }
    .page-huong-dan-choi__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-huong-dan-choi__image-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question {
        padding: 15px 20px;
    }
    .page-huong-dan-choi__faq-qtext {
        font-size: 16px;
    }
    .page-huong-dan-choi__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    .page-huong-dan-choi__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }
}


@media (max-width: 768px) {
    /* General Mobile Adaptations */
    .page-huong-dan-choi {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-huong-dan-choi__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-huong-dan-choi__section {
        padding: 40px 0;
    }

    .page-huong-dan-choi__section-title {
        font-size: clamp(24px, 7vw, 32px); 
        margin-bottom: 30px;
    }

    .page-huong-dan-choi__sub-title {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-huong-dan-choi__text-block {
        font-size: 16px;
    }

    /* HERO 主图区域 */
    .page-huong-dan-choi__hero-section {
        padding-top: 10px; /* Small top padding */
        margin-bottom: 0;
    }
    .page-huong-dan-choi__hero-image img {
        object-fit: contain !important; /* Ensure image is fully visible */
        aspect-ratio: unset !important; /* Remove aspect ratio if needed, or set a new one */
        height: auto !important; /* Allow height to adjust */
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-huong-dan-choi__hero-content {
        margin-top: -40px; /* Less overlap */
        padding: 25px;
        max-width: 95%;
    }
    .page-huong-dan-choi__main-title {
        font-size: clamp(26px, 8vw, 36px); /* Use clamp for H1 */
        margin-bottom: 15px;
    }
    .page-huong-dan-choi__intro-text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    /* 通用图片与容器 */
    .page-huong-dan-choi img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-huong-dan-choi__image-wrapper {
        margin: 20px 0;
    }
    .page-huong-dan-choi__image-grid {
        grid-template-columns: 1fr; /* Single column for image grid */
        gap: 20px;
    }
    .page-huong-dan-choi__image-card img {
        height: auto !important; /* Allow height to adjust naturally */
    }
    .page-huong-dan-choi__section,
    .page-huong-dan-choi__card,
    .page-huong-dan-choi__container,
    .page-huong-dan-choi__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 */
    .page-huong-dan-choi__cta-button,
    .page-huong-dan-choi__btn-primary,
    .page-huong-dan-choi__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 15px !important;
        font-size: 16px !important;
        margin-left: 0 !important; /* Remove margin-left from secondary button */
    }
    .page-huong-dan-choi__button-group {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important; /* Space between stacked buttons */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ Section Mobile */
    details.page-huong-dan-choi__faq-item summary.page-huong-dan-choi__faq-question {
        padding: 15px 15px;
        flex-wrap: wrap;
    }
    .page-huong-dan-choi__faq-qtext {
        font-size: 15px;
        width: calc(100% - 40px);
    }
    .page-huong-dan-choi__faq-toggle {
        font-size: 22px;
        width: 25px;
        height: 25px;
        margin-left: 10px;
    }
    details.page-huong-dan-choi__faq-item .page-huong-dan-choi__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }
}