/* Base styles for the page content */
.page-blog-huong-dan-dang-ky-win8 {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #f8f8f8; /* Light background for the main content area */
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-win8__hero-section {
    background: linear-gradient(180deg, #C61F1F 0%, #E53030 100%);
    padding: 20px 0 40px;
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-blog-huong-dan-dang-ky-win8__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.page-blog-huong-dan-dang-ky-win8__hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.page-blog-huong-dan-dang-ky-win8__hero-content {
    max-width: 800px;
    padding: 0 15px;
}

.page-blog-huong-dan-dang-ky-win8__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFF1E8; /* Custom text color */
}

.page-blog-huong-dan-dang-ky-win8__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-blog-huong-dan-dang-ky-win8__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Custom button color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-win8__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-blog-huong-dan-dang-ky-win8__section {
    padding: 60px 0;
    margin-top: 10px; /* Small top padding for sections, body handles header offset */
}

.page-blog-huong-dan-dang-ky-win8__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-win8__section-title {
    font-size: 2.2rem;
    color: #C61F1F; /* Brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-blog-huong-dan-dang-ky-win8__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333;
}

/* Why Register Section */
.page-blog-huong-dan-dang-ky-win8__why-register {
    background-color: #ffffff;
}

.page-blog-huong-dan-dang-ky-win8__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-win8__feature-list li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #333333;
    display: flex;
    align-items: center;
}

.page-blog-huong-dan-dang-ky-win8__feature-list li .icon-check {
    color: #C61F1F;
    margin-right: 10px;
    font-weight: bold; /* Placeholder for actual icon */
}

/* Registration Guide Section */
.page-blog-huong-dan-dang-ky-win8__registration-guide {
    background-color: #f8f8f8;
}

.page-blog-huong-dan-dang-ky-win8__step-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.page-blog-huong-dan-dang-ky-win8__step-title {
    font-size: 1.8rem;
    color: #E53030; /* Auxiliary color for step titles */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-huong-dan-dang-ky-win8__step-description {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555555;
}

.page-blog-huong-dan-dang-ky-win8__step-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    margin-bottom: 20px;
    min-width: 200px; /* Min size for images */
    min-height: 200px;
}

.page-blog-huong-dan-dang-ky-win8__info-list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: #333333;
}

.page-blog-huong-dan-dang-ky-win8__info-list li {
    margin-bottom: 8px;
    font-size: 1rem;
}

.page-blog-huong-dan-dang-ky-win8__button-inline {
    display: inline-block;
    background: #C61F1F;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-win8__button-inline:hover {
    background: #E53030;
}

.page-blog-huong-dan-dang-ky-win8__cta-button--bottom {
    margin-top: 20px;
}

/* Important Notes Section */
.page-blog-huong-dan-dang-ky-win8__important-notes {
    background-color: #fefefe;
}

.page-blog-huong-dan-dang-ky-win8__note-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-blog-huong-dan-dang-ky-win8__note-list li {
    background: #fff3e0;
    border-left: 5px solid #FFB04A;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-size: 1rem;
    color: #333333;
}

.page-blog-huong-dan-dang-ky-win8__note-list li strong {
    color: #D86A14;
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-win8__faq-section {
    background-color: #f0f0f0;
    padding-bottom: 80px;
}

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

details.page-blog-huong-dan-dang-ky-win8__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
details.page-blog-huong-dan-dang-ky-win8__faq-item summary.page-blog-huong-dan-dang-ky-win8__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-blog-huong-dan-dang-ky-win8__faq-item summary.page-blog-huong-dan-dang-ky-win8__faq-question::-webkit-details-marker {
    display: none;
}
details.page-blog-huong-dan-dang-ky-win8__faq-item summary.page-blog-huong-dan-dang-ky-win8__faq-question:hover {
    background: #f5f5f5;
}
.page-blog-huong-dan-dang-ky-win8__faq-qtext {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #333333;
}
.page-blog-huong-dan-dang-ky-win8__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #666;
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-blog-huong-dan-dang-ky-win8__faq-item .page-blog-huong-dan-dang-ky-win8__faq-answer {
    padding: 0 20px 20px;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #555555;
}

/* Final CTA Section */
.page-blog-huong-dan-dang-ky-win8__cta-final {
    background: #140C0C; /* Custom background color */
    color: #FFF1E8; /* Custom text color */
    padding: 80px 0;
    text-align: center;
}

.page-blog-huong-dan-dang-ky-win8__cta-container {
    max-width: 900px;
}

.page-blog-huong-dan-dang-ky-win8__section-title--white {
    color: #FFF1E8; /* Custom text color */
}

.page-blog-huong-dan-dang-ky-win8__text-block--white {
    color: #f0f0f0;
}

.page-blog-huong-dan-dang-ky-win8__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%; /* Ensure group responsiveness */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-huong-dan-dang-ky-win8__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Custom button color */
    color: #ffffff;
    border: none;
}

.page-blog-huong-dan-dang-ky-win8__btn-secondary {
    background: #2A1212; /* Custom card background */
    color: #FFF1E8; /* Custom text color */
    border: 2px solid #6A1E1E; /* Custom border color */
}

.page-blog-huong-dan-dang-ky-win8__btn-primary:hover {
    background: linear-gradient(180deg, #FFC06A 0%, #E87A24 100%);
}

.page-blog-huong-dan-dang-ky-win8__btn-secondary:hover {
    background: #3A2222;
    border-color: #8A2E2E;
}

/* Responsive styles for 1024px */
@media (max-width: 1024px) {
    .page-blog-huong-dan-dang-ky-win8__hero-content {
        max-width: 700px;
    }
    .page-blog-huong-dan-dang-ky-win8__main-title {
        font-size: clamp(2rem, 4.5vw, 2.8rem);
    }
    .page-blog-huong-dan-dang-ky-win8__section-title {
        font-size: 2rem;
    }
    .page-blog-huong-dan-dang-ky-win8__step-title {
        font-size: 1.6rem;
    }
}

/* Responsive styles for 768px (mobile) */
@media (max-width: 768px) {
    /* General mobile adjustments */
    .page-blog-huong-dan-dang-ky-win8 {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Hero Section */
    .page-blog-huong-dan-dang-ky-win8__hero-section {
        padding: 10px 0 30px; /* Small top padding for mobile */
    }
    .page-blog-huong-dan-dang-ky-win8__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-blog-huong-dan-dang-ky-win8__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-blog-huong-dan-dang-ky-win8__hero-image-wrapper {
        margin-bottom: 20px;
    }

    /* General Section Styles */
    .page-blog-huong-dan-dang-ky-win8__section {
        padding: 40px 0;
    }
    .page-blog-huong-dan-dang-ky-win8__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-huong-dan-dang-ky-win8__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-blog-huong-dan-dang-ky-win8__text-block {
        font-size: 0.95rem;
    }

    /* Images responsiveness */
    .page-blog-huong-dan-dang-ky-win8 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Why Register Section */
    .page-blog-huong-dan-dang-ky-win8__feature-list li {
        font-size: 0.95rem;
    }

    /* Registration Guide Section */
    .page-blog-huong-dan-dang-ky-win8__step-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-blog-huong-dan-dang-ky-win8__step-title {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }
    .page-blog-huong-dan-dang-ky-win8__step-description {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    .page-blog-huong-dan-dang-ky-win8__info-list {
        padding-left: 15px;
    }
    .page-blog-huong-dan-dang-ky-win8__info-list li {
        font-size: 0.9rem;
    }

    /* Buttons responsiveness */
    .page-blog-huong-dan-dang-ky-win8__cta-button,
    .page-blog-huong-dan-dang-ky-win8__button-inline,
    .page-blog-huong-dan-dang-ky-win8__btn-primary,
    .page-blog-huong-dan-dang-ky-win8__btn-secondary,
    .page-blog-huong-dan-dang-ky-win8 a[class*="button"],
    .page-blog-huong-dan-dang-ky-win8 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;
        padding-right: 15px;
        text-align: center;
    }
    .page-blog-huong-dan-dang-ky-win8__cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .page-blog-huong-dan-dang-ky-win8__button-inline {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Button Group responsiveness */
    .page-blog-huong-dan-dang-ky-win8__button-group {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* FAQ Section */
    details.page-blog-huong-dan-dang-ky-win8__faq-item summary.page-blog-huong-dan-dang-ky-win8__faq-question {
        padding: 15px;
    }
    .page-blog-huong-dan-dang-ky-win8__faq-qtext {
        font-size: 15px;
    }
    details.page-blog-huong-dan-dang-ky-win8__faq-item .page-blog-huong-dan-dang-ky-win8__faq-answer {
        padding: 0 15px 15px;
    }

    /* Final CTA Section */
    .page-blog-huong-dan-dang-ky-win8__cta-final {
        padding: 50px 0;
    }
}