/* style/blog-huong-dan-dang-ky-888b.css */

/* General styles for the page */
.page-blog-huong-dan-dang-ky-888b {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Main text color for dark body background */
    background-color: transparent; /* Assuming body handles var(--bg-color) */
}

.page-blog-huong-dan-dang-ky-888b__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-888b__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #F4D34D; /* Gold color for titles */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-blog-huong-dan-dang-ky-888b__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
}

/* Button styles */
.page-blog-huong-dan-dang-ky-888b__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-huong-dan-dang-ky-888b__cta-buttons--center {
    justify-content: center;
    margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-888b__btn-primary,
.page-blog-huong-dan-dang-ky-888b__btn-secondary,
.page-blog-huong-dan-dang-ky-888b__btn-primary--small {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-888b__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button gradient */
    color: #7A0E0E; /* Deep Red for text on gold button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-blog-huong-dan-dang-ky-888b__btn-primary:hover {
    background: linear-gradient(180deg, #FFE890 0%, #F5C600 100%);
    box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-blog-huong-dan-dang-ky-888b__btn-primary--small {
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 20px;
}

.page-blog-huong-dan-dang-ky-888b__btn-secondary {
    background: transparent;
    color: #F4D34D; /* Gold text for secondary button */
    border: 2px solid #F4D34D; /* Gold border */
}

.page-blog-huong-dan-dang-ky-888b__btn-secondary:hover {
    background: rgba(244, 211, 77, 0.1);
    color: #FFF5E1;
}

/* Image responsive base */
.page-blog-huong-dan-dang-ky-888b img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-888b__hero-section {
    padding-top: 10px; /* Fixed header spacing */
    padding-bottom: 60px;
    background-color: #B71C1C; /* Background color for hero */
}

.page-blog-huong-dan-dang-ky-888b__hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-blog-huong-dan-dang-ky-888b__hero-content {
    flex: 1 1 45%;
    min-width: 300px;
    color: #FFF5E1;
}

.page-blog-huong-dan-dang-ky-888b__main-title {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFF5E1;
}

.page-blog-huong-dan-dang-ky-888b__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFF5E1;
}

.page-blog-huong-dan-dang-ky-888b__hero-image {
    flex: 1 1 45%;
    text-align: center;
}

.page-blog-huong-dan-dang-ky-888b__hero-side-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Content Section (dark background) */
.page-blog-huong-dan-dang-ky-888b__dark-section {
    background-color: #C91F17; /* Brand primary color for dark sections */
    color: #FFF5E1;
    padding: 60px 0;
}

.page-blog-huong-dan-dang-ky-888b__content-section {
    padding: 60px 0;
    background-color: #7A0E0E; /* Deep Red background */
    color: #FFF5E1;
}

/* Intro Features Section */
.page-blog-huong-dan-dang-ky-888b__intro-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    text-align: center;
}

.page-blog-huong-dan-dang-ky-888b__feature-item {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 280px;
    background-color: #D32F2F; /* Card BG color */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-888b__icon-box-media {
    width: 160px; /* Reduced for better desktop fit, will be 200px on mobile */
    height: 160px;
    aspect-ratio: 1/1;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F4D34D; /* Gold border for circular image */
}

.page-blog-huong-dan-dang-ky-888b__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* Ensure image is circular */
    display: block;
}

.page-blog-huong-dan-dang-ky-888b__feature-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #F4D34D; /* Gold color for feature titles */
}

.page-blog-huong-dan-dang-ky-888b__feature-description {
    font-size: 1em;
    color: #FFF5E1;
}

/* Guide Section */
.page-blog-huong-dan-dang-ky-888b__guide-steps {
    margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-888b__step-item {
    background-color: #D32F2F; /* Card BG color */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: #FFF5E1;
}

.page-blog-huong-dan-dang-ky-888b__step-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #FFD86A; /* Lighter gold for step titles */
}

.page-blog-huong-dan-dang-ky-888b__step-description {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-888b__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-blog-huong-dan-dang-ky-888b__step-list {
    list-style: disc;
    margin-left: 20px;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-888b__step-list li {
    margin-bottom: 8px;
}

/* Bullet list for important notes */
.page-blog-huong-dan-dang-ky-888b__bullet-list {
    list-style: disc;
    margin-left: 20px;
    font-size: 1.1em;
    max-width: 800px;
    margin: 20px auto 0;
    color: #FFF5E1;
}

.page-blog-huong-dan-dang-ky-888b__bullet-list li {
    margin-bottom: 10px;
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-888b__faq-list {
    margin-top: 40px;
}

.page-blog-huong-dan-dang-ky-888b__faq-item {
    background-color: #D32F2F; /* Card BG color */
    border: 1px solid #7A0E0E; /* Deep Red border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-blog-huong-dan-dang-ky-888b__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #E53935; /* Auxiliary color for question background */
    color: #FFF5E1;
    list-style: none; /* For details/summary */
    transition: background-color 0.3s ease;
}

.page-blog-huong-dan-dang-ky-888b__faq-question:hover {
    background-color: #C91F17; /* Primary color on hover */
}

.page-blog-huong-dan-dang-ky-888b__faq-item[open] > .page-blog-huong-dan-dang-ky-888b__faq-question {
    background-color: #C91F17; /* Primary color when open */
}

.page-blog-huong-dan-dang-ky-888b__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFD86A; /* Gold color for toggle icon */
}

.page-blog-huong-dan-dang-ky-888b__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.1em;
    color: #FFF5E1;
    background-color: #D32F2F; /* Card BG for answer */
}

.page-blog-huong-dan-dang-ky-888b__faq-answer p {
    margin-bottom: 0;
}

/* Call to Action Section */
.page-blog-huong-dan-dang-ky-888b__call-to-action-section {
    text-align: center;
    padding: 80px 0;
    background-color: #B71C1C; /* Background color */
    color: #FFF5E1;
}

.page-blog-huong-dan-dang-ky-888b__cta-content {
    max-width: 800px;
}

/* Remove default details marker */
.page-blog-huong-dan-dang-ky-888b__faq-item summary::-webkit-details-marker,
.page-blog-huong-dan-dang-ky-888b__faq-item summary::marker {
    display: none;
    content: "";
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-blog-huong-dan-dang-ky-888b__main-title {
        font-size: 2.5em;
    }
    .page-blog-huong-dan-dang-ky-888b__section-title {
        font-size: 2em;
    }
    .page-blog-huong-dan-dang-ky-888b__hero-container {
        flex-direction: column;
        text-align: center;
    }
    .page-blog-huong-dan-dang-ky-888b__hero-content {
        flex: 1 1 100%;
    }
    .page-blog-huong-dan-dang-ky-888b__hero-image {
        flex: 1 1 100%;
    }
    .page-blog-huong-dan-dang-ky-888b__intro-features {
        flex-direction: column;
        align-items: center;
    }
    .page-blog-huong-dan-dang-ky-888b__feature-item {
        flex: 1 1 90%;
        max-width: 400px;
    }
    .page-blog-huong-dan-dang-ky-888b__icon-box-media {
        width: 200px; /* Adjust for tablet */
        height: 200px;
    }
}

@media (max-width: 768px) {
    /* General mobile padding and font adjustments */
    .page-blog-huong-dan-dang-ky-888b__container {
        padding: 0 15px !important;
    }
    .page-blog-huong-dan-dang-ky-888b__main-title {
        font-size: 2em !important;
        text-align: center;
    }
    .page-blog-huong-dan-dang-ky-888b__hero-description,
    .page-blog-huong-dan-dang-ky-888b__text-block,
    .page-blog-huong-dan-dang-ky-888b__feature-description,
    .page-blog-huong-dan-dang-ky-888b__step-description,
    .page-blog-huong-dan-dang-ky-888b__step-list,
    .page-blog-huong-dan-dang-ky-888b__bullet-list,
    .page-blog-huong-dan-dang-ky-888b__faq-answer p {
        font-size: 1em !important;
        text-align: center;
    }
    .page-blog-huong-dan-dang-ky-888b__section-title {
        font-size: 1.8em !important;
        margin-bottom: 30px !important;
    }
    .page-blog-huong-dan-dang-ky-888b__hero-section,
    .page-blog-huong-dan-dang-ky-888b__content-section,
    .page-blog-huong-dan-dang-ky-888b__guide-section,
    .page-blog-huong-dan-dang-ky-888b__faq-section,
    .page-blog-huong-dan-dang-ky-888b__call-to-action-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .page-blog-huong-dan-dang-ky-888b__hero-section {
        padding-top: 10px !important; /* Fixed header spacing */
    }

    /* Buttons and button containers */
    .page-blog-huong-dan-dang-ky-888b__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
        padding: 0 15px !important; /* Add padding to container */
    }
    .page-blog-huong-dan-dang-ky-888b__btn-primary,
    .page-blog-huong-dan-dang-ky-888b__btn-secondary,
    .page-blog-huong-dan-dang-ky-888b__btn-primary--small,
    .page-blog-huong-dan-dang-ky-888b a[class*="button"],
    .page-blog-huong-dan-dang-ky-888b a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        font-size: 1em !important;
    }
    
    /* Image responsiveness for mobile */
    .page-blog-huong-dan-dang-ky-888b img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-blog-huong-dan-dang-ky-888b__section,
    .page-blog-huong-dan-dang-ky-888b__card,
    .page-blog-huong-dan-dang-ky-888b__container,
    .page-blog-huong-dan-dang-ky-888b__hero-container,
    .page-blog-huong-dan-dang-ky-888b__intro-features,
    .page-blog-huong-dan-dang-ky-888b__guide-steps,
    .page-blog-huong-dan-dang-ky-888b__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden; /* Prevent content overflow */
    }

    /* Module 1: Icon Box Media (must remain square) */
    .page-blog-huong-dan-dang-ky-888b__icon-box-media {
        width: 200px !important; /* Square on mobile */
        height: 200px !important;
        margin-bottom: 15px !important;
    }
    .page-blog-huong-dan-dang-ky-888b__icon-box-media img {
        height: 100% !important; /* Fill parent */
        object-fit: cover !important; /* Maintain aspect ratio */
    }

    /* Intro Features (now columnar) */
    .page-blog-huong-dan-dang-ky-888b__intro-features {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .page-blog-huong-dan-dang-ky-888b__feature-item {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        padding: 20px !important;
    }

    /* Guide Section */
    .page-blog-huong-dan-dang-ky-888b__step-item {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }
    .page-blog-huong-dan-dang-ky-888b__step-title {
        font-size: 1.5em !important;
    }
    .page-blog-huong-dan-dang-ky-888b__step-list {
        margin-left: 15px !important;
    }

    /* FAQ Section */
    .page-blog-huong-dan-dang-ky-888b__faq-question {
        font-size: 1.1em !important;
        padding: 15px 20px !important;
    }
    .page-blog-huong-dan-dang-ky-888b__faq-answer {
        padding: 10px 20px 15px !important;
    }
    .page-blog-huong-dan-dang-ky-888b__faq-toggle {
        font-size: 1.2em !important;
    }

    /* Call to Action Section */
    .page-blog-huong-dan-dang-ky-888b__cta-content {
        padding: 0 15px !important;
    }
}