/* style/blog-huong-dan-dang-ky-nwe88.css */

:root {
    --nwe88-primary-color: #C91F17;
    --nwe88-secondary-color: #E53935;
    --nwe88-button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --nwe88-card-bg: #D32F2F;
    --nwe88-background-color: #B71C1C;
    --nwe88-text-main-color: #FFF5E1;
    --nwe88-border-color: #F2B544;
    --nwe88-glow-color: #FFCC66;
    --nwe88-gold-color: #F4D34D;
    --nwe88-deep-red-color: #7A0E0E;
    --header-offset: 122px; /* Fallback, should be defined in shared.css */
}

.page-blog-huong-dan-dang-ky-nwe88 {
    font-family: 'Arial', sans-serif;
    color: var(--nwe88-text-main-color);
    background-color: var(--nwe88-background-color);
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
}

.page-blog-huong-dan-dang-ky-nwe88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-nwe88__hero-section {
    display: flex;
    flex-direction: column; /* Enforce image on top, text below */
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    background: var(--nwe88-deep-red-color);
    color: var(--nwe88-text-main-color);
}

.page-blog-huong-dan-dang-ky-nwe88__hero-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-nwe88__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog-huong-dan-dang-ky-nwe88__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-blog-huong-dan-dang-ky-nwe88__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* Use clamp for H1 font size */
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--nwe88-gold-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-blog-huong-dan-dang-ky-nwe88__subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-blog-huong-dan-dang-ky-nwe88__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--nwe88-button-gradient);
    color: #333333; /* Ensure contrast on gold button */
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--nwe88-border-color);
}

.page-blog-huong-dan-dang-ky-nwe88__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%); /* Invert gradient on hover */
}

.page-blog-huong-dan-dang-ky-nwe88__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-blog-huong-dan-dang-ky-nwe88__cta-button--large {
    padding: 18px 35px;
    font-size: 1.3em;
}

.page-blog-huong-dan-dang-ky-nwe88__section-title {
    font-size: 2.5em;
    color: var(--nwe88-gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-blog-huong-dan-dang-ky-nwe88__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--nwe88-text-main-color);
}

.page-blog-huong-dan-dang-ky-nwe88__dark-section {
    background-color: var(--nwe88-deep-red-color);
    padding: 60px 0;
    color: var(--nwe88-text-main-color);
}

.page-blog-huong-dan-dang-ky-nwe88__light-bg {
    background-color: var(--nwe88-primary-color);
    padding: 60px 0;
    color: var(--nwe88-text-main-color);
}

.page-blog-huong-dan-dang-ky-nwe88__step-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-blog-huong-dan-dang-ky-nwe88__card {
    background-color: var(--nwe88-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--nwe88-border-color);
    color: var(--nwe88-text-main-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog-huong-dan-dang-ky-nwe88__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-blog-huong-dan-dang-ky-nwe88__step-title {
    font-size: 1.8em;
    color: var(--nwe88-gold-color);
    margin-bottom: 20px;
    text-align: center;
}

.page-blog-huong-dan-dang-ky-nwe88__step-image {
    width: 100%;
    height: auto;
    max-height: 400px; /* Limit height for consistency */
    object-fit: contain; /* Ensure image content is fully visible */
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--nwe88-border-color);
}

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

.page-blog-huong-dan-dang-ky-nwe88__bullet-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--nwe88-text-main-color);
}

.page-blog-huong-dan-dang-ky-nwe88__bullet-list li::before {
    content: '★';
    color: var(--nwe88-gold-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: -2px;
}

.page-blog-huong-dan-dang-ky-nwe88__icon-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-blog-huong-dan-dang-ky-nwe88__icon-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--nwe88-primary-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--nwe88-border-color);
}

.page-blog-huong-dan-dang-ky-nwe88__icon {
    font-size: 2.5em;
    margin-right: 15px;
    line-height: 1;
    color: var(--nwe88-gold-color);
}

.page-blog-huong-dan-dang-ky-nwe88__icon-item p {
    margin: 0;
    font-size: 1.1em;
    color: var(--nwe88-text-main-color);
}

.page-blog-huong-dan-dang-ky-nwe88__icon-item strong {
    color: var(--nwe88-gold-color);
}

.page-blog-huong-dan-dang-ky-nwe88__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-blog-huong-dan-dang-ky-nwe88__promo-card {
    text-align: center;
    background-color: var(--nwe88-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--nwe88-border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-blog-huong-dan-dang-ky-nwe88__promo-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--nwe88-border-color);
}

.page-blog-huong-dan-dang-ky-nwe88__promo-title {
    font-size: 1.6em;
    color: var(--nwe88-gold-color);
    margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-nwe88__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-blog-huong-dan-dang-ky-nwe88__faq-item {
    background-color: var(--nwe88-primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--nwe88-border-color);
}

.page-blog-huong-dan-dang-ky-nwe88__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--nwe88-gold-color);
    background-color: var(--nwe88-deep-red-color);
    transition: background-color 0.3s ease;
}

.page-blog-huong-dan-dang-ky-nwe88__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-blog-huong-dan-dang-ky-nwe88__faq-item summary:hover {
    background-color: var(--nwe88-secondary-color);
}

.page-blog-huong-dan-dang-ky-nwe88__faq-qtext {
    flex-grow: 1;
}

.page-blog-huong-dan-dang-ky-nwe88__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--nwe88-gold-color);
}

.page-blog-huong-dan-dang-ky-nwe88__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.1em;
    color: var(--nwe88-text-main-color);
    background-color: var(--nwe88-primary-color);
}

.page-blog-huong-dan-dang-ky-nwe88__conclusion-section {
    text-align: center;
    padding: 60px 0;
}

/* General image responsiveness */
.page-blog-huong-dan-dang-ky-nwe88 img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-blog-huong-dan-dang-ky-nwe88 {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-huong-dan-dang-ky-nwe88__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-huong-dan-dang-ky-nwe88__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }

    .page-blog-huong-dan-dang-ky-nwe88__hero-image-wrapper {
        margin-bottom: 15px;
    }

    .page-blog-huong-dan-dang-ky-nwe88__hero-image {
        object-fit: contain !important; /* Ensure image is fully contained, not cropped */
        max-height: 300px; /* Adjust as needed for mobile hero */
    }

    .page-blog-huong-dan-dang-ky-nwe88__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }

    .page-blog-huong-dan-dang-ky-nwe88__subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-blog-huong-dan-dang-ky-nwe88__cta-button,
    .page-blog-huong-dan-dang-ky-nwe88__cta-button--small,
    .page-blog-huong-dan-dang-ky-nwe88__cta-button--large,
    .page-blog-huong-dan-dang-ky-nwe88 a[class*="button"],
    .page-blog-huong-dan-dang-ky-nwe88 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: 12px 15px;
        font-size: 1em;
        margin-bottom: 10px; /* Space out multiple buttons if stacked */
    }

    .page-blog-huong-dan-dang-ky-nwe88__cta-button--large {
        font-size: 1.1em;
    }

    .page-blog-huong-dan-dang-ky-nwe88__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-blog-huong-dan-dang-ky-nwe88__dark-section,
    .page-blog-huong-dan-dang-ky-nwe88__light-bg {
        padding: 40px 0;
    }

    .page-blog-huong-dan-dang-ky-nwe88__step-list,
    .page-blog-huong-dan-dang-ky-nwe88__icon-list,
    .page-blog-huong-dan-dang-ky-nwe88__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-huong-dan-dang-ky-nwe88__card,
    .page-blog-huong-dan-dang-ky-nwe88__promo-card,
    .page-blog-huong-dan-dang-ky-nwe88__icon-item {
        padding: 20px;
    }

    .page-blog-huong-dan-dang-ky-nwe88__step-image,
    .page-blog-huong-dan-dang-ky-nwe88__promo-image {
        max-height: 200px;
        object-fit: contain !important; /* Ensure image content is fully visible */
    }

    .page-blog-huong-dan-dang-ky-nwe88__icon {
        font-size: 2em;
        margin-right: 10px;
    }

    .page-blog-huong-dan-dang-ky-nwe88__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-blog-huong-dan-dang-ky-nwe88__faq-answer {
        padding: 10px 20px 15px;
        font-size: 1em;
    }

    /* Ensure all images and their containers are responsive */
    .page-blog-huong-dan-dang-ky-nwe88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog-huong-dan-dang-ky-nwe88__hero-section,
    .page-blog-huong-dan-dang-ky-nwe88__intro-section,
    .page-blog-huong-dan-dang-ky-nwe88__steps-section,
    .page-blog-huong-dan-dang-ky-nwe88__important-notes-section,
    .page-blog-huong-dan-dang-ky-nwe88__promotions-section,
    .page-blog-huong-dan-dang-ky-nwe88__faq-section,
    .page-blog-huong-dan-dang-ky-nwe88__conclusion-section,
    .page-blog-huong-dan-dang-ky-nwe88__card,
    .page-blog-huong-dan-dang-ky-nwe88__promo-card,
    .page-blog-huong-dan-dang-ky-nwe88__icon-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-huong-dan-dang-ky-nwe88__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px; /* Space between stacked buttons */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Additional rules for content area images, min-size 200px */
.page-blog-huong-dan-dang-ky-nwe88__text-block img,
.page-blog-huong-dan-dang-ky-nwe88__bullet-list img {
    min-width: 200px;
    min-height: 200px;
    object-fit: contain;
}