.page-blog-huong-dan-dang-ky-b29 {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #F5F7FA; /* Matches body background for consistency */
}

.page-blog-huong-dan-dang-ky-b29__hero-section {
    padding: 10px 20px 40px; /* Adjusted padding-top for fixed header offset */
    text-align: center;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient background */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.page-blog-huong-dan-dang-ky-b29__hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-blog-huong-dan-dang-ky-b29__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Using clamp for responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-huong-dan-dang-ky-b29__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-huong-dan-dang-ky-b29__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-blog-huong-dan-dang-ky-b29__btn-primary,
.page-blog-huong-dan-dang-ky-b29__btn-secondary,
.page-blog-huong-dan-dang-ky-b29__btn-inline {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-blog-huong-dan-dang-ky-b29__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid #E53935;
}

.page-blog-huong-dan-dang-ky-b29__btn-primary:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-dang-ky-b29__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
}

.page-blog-huong-dan-dang-ky-b29__btn-secondary:hover {
    background: #f0f0f0;
    color: #FF5A4F;
    border-color: #FF5A4F;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-b29__btn-inline {
    margin-top: 20px;
    width: fit-content;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid #E53935;
}

.page-blog-huong-dan-dang-ky-b29__article-wrap {
    max-width: 900px; /* Single column long-form content */
    margin: 40px auto;
    padding: 0 20px;
}

.page-blog-huong-dan-dang-ky-b29__article-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-b29__section-title {
    font-size: 2em;
    color: #E53935;
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.page-blog-huong-dan-dang-ky-b29 h3 {
    font-size: 1.5em;
    color: #FF5A4F;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-huong-dan-dang-ky-b29 p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
}

.page-blog-huong-dan-dang-ky-b29__highlight {
    color: #E53935;
    font-weight: bold;
}

.page-blog-huong-dan-dang-ky-b29__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-blog-huong-dan-dang-ky-b29__list li {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-blog-huong-dan-dang-ky-b29__figure {
    margin: 30px 0;
    text-align: center;
    background-color: #f8f8f8;
    padding: 10px;
    border-radius: 8px;
}

.page-blog-huong-dan-dang-ky-b29__figure img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    display: block; /* Ensures proper spacing and centering */
    margin: 0 auto;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-blog-huong-dan-dang-ky-b29__figcaption {
    font-size: 0.9em;
    color: #666666;
    margin-top: 10px;
}

.page-blog-huong-dan-dang-ky-b29__step-by-step {
    margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-b29__step-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #fdfdfd;
    border-left: 5px solid #FF5A4F;
    border-radius: 5px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
}

.page-blog-huong-dan-dang-ky-b29__step-title {
    color: #E53935;
    margin-top: 0;
}

.page-blog-huong-dan-dang-ky-b29__faq-section {
    margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-b29__faq-item {
    margin-bottom: 10px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    background-color: #ffffff;
}

.page-blog-huong-dan-dang-ky-b29__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-blog-huong-dan-dang-ky-b29__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker */
}

.page-blog-huong-dan-dang-ky-b29__faq-qtext {
    flex-grow: 1;
    color: #E53935;
}

.page-blog-huong-dan-dang-ky-b29__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    color: #FF5A4F;
}

.page-blog-huong-dan-dang-ky-b29__faq-answer {
    padding: 0 20px 15px;
    color: #555555;
    font-size: 0.95em;
}

.page-blog-huong-dan-dang-ky-b29__bottom-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #E0E0E0;
}

/* --- Responsive styles for mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-blog-huong-dan-dang-ky-b29__hero-section {
        padding: 10px 15px 30px; /* top-section padding-top 10px */
    }

    .page-blog-huong-dan-dang-ky-b29__main-title {
        font-size: 1.8em;
        max-width: 100%;
    }

    .page-blog-huong-dan-dang-ky-b29__description {
        font-size: 1em;
        padding: 0 10px;
    }

    /* top-section double CTA */
    .page-blog-huong-dan-dang-ky-b29__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px !important; /* Ensure container has padding */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Buttons responsive adaptation */
    .page-blog-huong-dan-dang-ky-b29__btn-primary,
    .page-blog-huong-dan-dang-ky-b29__btn-secondary,
    .page-blog-huong-dan-dang-ky-b29__btn-inline {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        font-size: 1em;
    }

    /* Single column long-form content container */
    .page-blog-huong-dan-dang-ky-b29__article-wrap {
        margin: 20px auto;
        padding: 0 15px !important; /* Adjust padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-blog-huong-dan-dang-ky-b29__article-content {
        padding: 20px 15px;
    }

    .page-blog-huong-dan-dang-ky-b29__section-title {
        font-size: 1.6em;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-blog-huong-dan-dang-ky-b29 h3 {
        font-size: 1.3em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-blog-huong-dan-dang-ky-b29 p,
    .page-blog-huong-dan-dang-ky-b29__list li {
        font-size: 0.95em;
    }

    /* Generic images and figure */
    .page-blog-huong-dan-dang-ky-b29 img {
        max-width: 100% !important;
        height: auto !important;
        width: 100% !important;
        min-width: 200px !important; /* Ensure min-width is maintained */
        min-height: 200px !important; /* Ensure min-height is maintained */
        box-sizing: border-box !important;
    }

    .page-blog-huong-dan-dang-ky-b29__figure {
        margin: 20px 0;
        padding: 5px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* FAQ section mobile adjustments */
    .page-blog-huong-dan-dang-ky-b29__faq-question {
        padding: 12px 15px;
        font-size: 0.95em;
    }

    .page-blog-huong-dan-dang-ky-b29__faq-answer {
        padding: 0 15px 12px;
        font-size: 0.9em;
    }

    .page-blog-huong-dan-dang-ky-b29__bottom-cta {
        margin-top: 30px;
    }
}

/* For larger tablets, if needed, though 768px often covers it */
@media (max-width: 1024px) {
    .page-blog-huong-dan-dang-ky-b29__article-wrap {
        max-width: 760px;
        padding: 0 25px;
    }
    .page-blog-huong-dan-dang-ky-b29__main-title {
        font-size: clamp(2.5em, 5vw, 3.2em);
    }
    .page-blog-huong-dan-dang-ky-b29__hero-section {
        padding-bottom: 30px;
    }
}