/* style/huong-dan-choi.css */
.page-huong-dan-choi {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Text Main */
    background-color: #F5F7FA; /* Background */
}

.page-huong-dan-choi__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Top Section */
.page-huong-dan-choi__top-section {
    padding-top: 10px; /* Specific top padding, not var(--header-offset) */
    padding-bottom: 40px;
    text-align: center;
    background-color: #F5F7FA; /* Background */
}

.page-huong-dan-choi__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Adjusted to avoid large fixed size */
    font-weight: 700;
    line-height: 1.2;
    color: #E53935; /* Main color */
    margin-bottom: 15px;
}

.page-huong-dan-choi__description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #333333; /* Text Main */
}

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

.page-huong-dan-choi__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

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

.page-huong-dan-choi__btn--primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-huong-dan-choi__btn--secondary {
    background: #ffffff;
    color: #E53935; /* Main color */
    border: 2px solid #E53935; /* Main color */
}

.page-huong-dan-choi__btn--secondary:hover {
    background: #E53935;
    color: #ffffff;
}

.page-huong-dan-choi__btn--light {
    background: #ffffff;
    color: #E53935;
    border: none;
}

.page-huong-dan-choi__btn--light:hover {
    background: #f0f0f0;
}

.page-huong-dan-choi__btn--outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-huong-dan-choi__btn--outline-light:hover {
    background: #ffffff;
    color: #E53935;
}

/* General Section Styling */
.page-huong-dan-choi__section {
    padding: 60px 0;
    background-color: #F5F7FA; /* Background */
}

.page-huong-dan-choi__section:nth-of-type(even) {
    background-color: #ffffff; /* Card BG for alternating sections */
}

.page-huong-dan-choi__heading {
    font-size: 2.2em;
    font-weight: 700;
    color: #E53935; /* Main color */
    text-align: center;
    margin-bottom: 30px;
}

.page-huong-dan-choi__paragraph {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #333333; /* Text Main */
}

.page-huong-dan-choi__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333333; /* Text Main */
}

.page-huong-dan-choi__list li {
    margin-bottom: 10px;
}

.page-huong-dan-choi__sub-list {
    list-style: circle;
    margin-left: 20px;
    margin-top: 5px;
    color: #333333; /* Text Main */
}

/* Image Styling */
.page-huong-dan-choi__figure {
    margin: 30px auto;
    text-align: center;
    max-width: 680px; /* Max width for content images */
}

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

.page-huong-dan-choi__figcaption {
    font-size: 0.9em;
    color: #555555;
    margin-top: 10px;
}

/* Step Cards */
.page-huong-dan-choi__step-card {
    background: #ffffff; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-huong-dan-choi__step-title {
    font-size: 1.8em;
    color: #E53935; /* Main color */
    margin-bottom: 25px;
    text-align: center;
}

/* Game Grid */
.page-huong-dan-choi__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-huong-dan-choi__game-card {
    background: #ffffff; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-huong-dan-choi__game-card:hover {
    transform: translateY(-5px);
}

.page-huong-dan-choi__game-title {
    font-size: 1.4em;
    color: #E53935; /* Main color */
    margin-bottom: 15px;
}

.page-huong-dan-choi__game-description {
    font-size: 0.95em;
    color: #333333; /* Text Main */
    margin-bottom: 20px;
}

.page-huong-dan-choi__game-link {
    display: inline-block;
    color: #FF5A4F; /* Auxiliary color */
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #FF5A4F; /* Auxiliary color */
    padding-bottom: 2px;
}

.page-huong-dan-choi__game-link:hover {
    color: #E53935; /* Main color */
    border-color: #E53935; /* Main color */
}

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

.page-huong-dan-choi__faq-item {
    background: #ffffff; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-huong-dan-choi__faq-question {
    font-size: 1.2em;
    color: #E53935; /* Main color */
    margin-bottom: 10px;
    cursor: default; /* FAQ is h3 + p, not interactive accordion */
}

.page-huong-dan-choi__faq-answer {
    font-size: 1em;
    color: #333333; /* Text Main */
}

/* Contact Promo Section (Dark Background) */
.page-huong-dan-choi__dark-section {
    background: #E53935; /* Main color */
    color: #ffffff;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    margin-top: 60px;
}

.page-huong-dan-choi__dark-section .page-huong-dan-choi__heading {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-huong-dan-choi__dark-section .page-huong-dan-choi__paragraph {
    color: #ffffff;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

/* Responsive Design for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-huong-dan-choi__container {
        padding: 0 15px;
    }

    /* 1. Top Section & CTA */
    .page-huong-dan-choi__top-section {
        padding-top: 10px !important; /* Specific top padding */
        padding-bottom: 30px;
    }

    .page-huong-dan-choi__main-title {
        font-size: 2em; /* Smaller for mobile */
    }

    .page-huong-dan-choi__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-huong-dan-choi__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-huong-dan-choi__btn {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single Column Long Content */
    .page-huong-dan-choi__section {
        padding: 40px 0;
    }

    .page-huong-dan-choi__heading {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .page-huong-dan-choi__paragraph,
    .page-huong-dan-choi__list li,
    .page-huong-dan-choi__sub-list li,
    .page-huong-dan-choi__figcaption,
    .page-huong-dan-choi__game-description,
    .page-huong-dan-choi__faq-answer {
        font-size: 0.95em;
    }

    .page-huong-dan-choi__step-card,
    .page-huong-dan-choi__game-card,
    .page-huong-dan-choi__faq-item,
    .page-huong-dan-choi__dark-section {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-huong-dan-choi__step-title {
        font-size: 1.5em;
    }

    /* 3. General Images and Figures */
    .page-huong-dan-choi__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-huong-dan-choi__figure {
        margin-left: 0;
        margin-right: 0;
    }

    /* 4. Buttons and Button Containers - Already covered in top section & general btn rules */
    .page-huong-dan-choi__game-grid {
        grid-template-columns: 1fr; /* Single column for game cards */
        gap: 20px;
    }

    /* 5. Registration Tutorial and FAQ Blocks */
    /* FAQ h3 and p readability already handled by general font-size */
    .page-huong-dan-choi__faq-question {
        font-size: 1.1em;
    }
}