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

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
}

.page-blog-huong-dan-dang-ky-bec88 {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--secondary-color);
}

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

/* Hero Section */
.page-blog-huong-dan-dang-ky-bec88__hero-section {
    padding-top: 10px; /* Adjusted to 10px as per instruction */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-bec88__hero-image-wrapper {
    width: 100%;
    max-height: 675px; /* Maintain aspect ratio for 1200x675 display */
    overflow: hidden;
}

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

.page-blog-huong-dan-dang-ky-bec88__hero-content {
    padding: 40px 20px;
    color: var(--text-light);
    max-width: 900px;
    z-index: 1;
}

.page-blog-huong-dan-dang-ky-bec88__hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--register-login-font-color);
}

.page-blog-huong-dan-dang-ky-bec88__hero-description {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

/* Shared Section Styles */
.page-blog-huong-dan-dang-ky-bec88__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-blog-huong-dan-dang-ky-bec88__dark-bg .page-blog-huong-dan-dang-ky-bec88__section-title {
    color: var(--register-login-font-color);
}

.page-blog-huong-dan-dang-ky-bec88__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-blog-huong-dan-dang-ky-bec88__dark-bg .page-blog-huong-dan-dang-ky-bec88__text-block {
    color: var(--text-light);
}

/* Intro Section */
.page-blog-huong-dan-dang-ky-bec88__intro-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

/* Steps Section */
.page-blog-huong-dan-dang-ky-bec88__steps-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-blog-huong-dan-dang-ky-bec88__step-item {
    margin-bottom: 50px;
    text-align: center;
}

.page-blog-huong-dan-dang-ky-bec88__step-title {
    font-size: 2rem;
    color: var(--register-login-font-color);
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-bec88__step-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-dang-ky-bec88__list {
    list-style-type: disc;
    padding-left: 40px;
    margin-bottom: 20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-huong-dan-dang-ky-bec88__list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Benefits Section */
.page-blog-huong-dan-dang-ky-bec88__benefits-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

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

.page-blog-huong-dan-dang-ky-bec88__benefit-card {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-bec88__benefit-card:hover {
    transform: translateY(-5px);
}

.page-blog-huong-dan-dang-ky-bec88__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-bec88__card-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-bec88__card-description {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-bec88__btn-text {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-blog-huong-dan-dang-ky-bec88__btn-text:hover {
    color: #005f2c; /* Slightly darker green */
}

/* Notes Section */
.page-blog-huong-dan-dang-ky-bec88__notes-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-blog-huong-dan-dang-ky-bec88__notes-section .page-blog-huong-dan-dang-ky-bec88__list {
    list-style-type: decimal;
    color: var(--text-light);
}

.page-blog-huong-dan-dang-ky-bec88__notes-section .page-blog-huong-dan-dang-ky-bec88__list li strong {
    color: var(--register-login-font-color);
}

.page-blog-huong-dan-dang-ky-bec88__notes-section a {
    color: var(--register-login-font-color);
    text-decoration: underline;
}

.page-blog-huong-dan-dang-ky-bec88__notes-section a:hover {
    color: #FFFF00;
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-bec88__faq-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.page-blog-huong-dan-dang-ky-bec88__faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.page-blog-huong-dan-dang-ky-bec88__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-blog-huong-dan-dang-ky-bec88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-light);
    list-style: none; /* For details/summary */
}

.page-blog-huong-dan-dang-ky-bec88__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-huong-dan-dang-ky-bec88__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
}

.page-blog-huong-dan-dang-ky-bec88__faq-answer {
    padding: 20px;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-align: justify;
}

.page-blog-huong-dan-dang-ky-bec88__faq-answer p {
    margin-bottom: 10px;
}

/* CTA Section */
.page-blog-huong-dan-dang-ky-bec88__cta-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    text-align: center;
    color: var(--text-light);
}

.page-blog-huong-dan-dang-ky-bec88__cta-section .page-blog-huong-dan-dang-ky-bec88__section-title {
    color: var(--register-login-font-color);
}

/* Buttons */
.page-blog-huong-dan-dang-ky-bec88__btn-primary,
.page-blog-huong-dan-dang-ky-bec88__btn-secondary,
.page-blog-huong-dan-dang-ky-bec88__btn-register {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-bec88__btn-primary {
    background-color: var(--register-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-color);
}

.page-blog-huong-dan-dang-ky-bec88__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-blog-huong-dan-dang-ky-bec88__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-blog-huong-dan-dang-ky-bec88__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2c;
    border-color: #005f2c;
}

.page-blog-huong-dan-dang-ky-bec88__btn-register {
    background-color: var(--register-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-color);
    margin-top: 20px;
}

.page-blog-huong-dan-dang-ky-bec88__btn-register:hover {
    background-color: #a30606;
    border-color: #a30606;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-huong-dan-dang-ky-bec88__container {
        padding: 20px;
    }

    .page-blog-huong-dan-dang-ky-bec88__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-blog-huong-dan-dang-ky-bec88__hero-description {
        font-size: 1.1rem;
    }

    .page-blog-huong-dan-dang-ky-bec88__section-title {
        font-size: 2rem;
    }

    .page-blog-huong-dan-dang-ky-bec88__step-title {
        font-size: 1.8rem;
    }

    .page-blog-huong-dan-dang-ky-bec88__benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-blog-huong-dan-dang-ky-bec88__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    /* HERO 主图区域 */
    .page-blog-huong-dan-dang-ky-bec88__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-blog-huong-dan-dang-ky-bec88__hero-content {
        padding: 30px 15px;
    }

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

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

    /* 深色导语区 */
    .page-blog-huong-dan-dang-ky-bec88__intro-section,
    .page-blog-huong-dan-dang-ky-bec88__steps-section,
    .page-blog-huong-dan-dang-ky-bec88__benefits-section,
    .page-blog-huong-dan-dang-ky-bec88__notes-section,
    .page-blog-huong-dan-dang-ky-bec88__faq-section,
    .page-blog-huong-dan-dang-ky-bec88__cta-section {
        padding: 40px 0;
    }

    .page-blog-huong-dan-dang-ky-bec88__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-blog-huong-dan-dang-ky-bec88__text-block {
        font-size: 1rem;
    }

    /* 博客网格 (Benefits Grid in this case) */
    .page-blog-huong-dan-dang-ky-bec88__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-huong-dan-dang-ky-bec88__benefit-card {
        padding: 20px;
    }

    .page-blog-huong-dan-dang-ky-bec88__card-image {
        height: 180px;
    }

    .page-blog-huong-dan-dang-ky-bec88__card-title {
        font-size: 1.3rem;
    }

    /* 通用图片与容器 */
    .page-blog-huong-dan-dang-ky-bec88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog-huong-dan-dang-ky-bec88__hero-image,
    .page-blog-huong-dan-dang-ky-bec88__step-image,
    .page-blog-huong-dan-dang-ky-bec88__card-image {
        object-fit: cover;
    }

    /* 按钮与按钮容器 */
    .page-blog-huong-dan-dang-ky-bec88__btn-primary,
    .page-blog-huong-dan-dang-ky-bec88__btn-secondary,
    .page-blog-huong-dan-dang-ky-bec88__btn-register,
    .page-blog-huong-dan-dang-ky-bec88 a[class*="button"],
    .page-blog-huong-dan-dang-ky-bec88 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 20px;
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .page-blog-huong-dan-dang-ky-bec88__button-group,
    .page-blog-huong-dan-dang-ky-bec88__cta-buttons,
    .page-blog-huong-dan-dang-ky-bec88__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* FAQ */
    .page-blog-huong-dan-dang-ky-bec88__faq-question {
        font-size: 1rem;
        padding: 15px;
    }

    .page-blog-huong-dan-dang-ky-bec88__faq-answer {
        font-size: 0.95rem;
        padding: 15px;
    }

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

    .page-blog-huong-dan-dang-ky-bec88__list {
        padding-left: 20px;
    }

    .page-blog-huong-dan-dang-ky-bec88__list li {
        font-size: 1rem;
    }
}

/* Contrast Fixes */
.page-blog-huong-dan-dang-ky-bec88__dark-bg {
    color: var(--text-light);
    background: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-bec88__light-bg {
    color: var(--text-dark);
    background: var(--secondary-color);
}

.page-blog-huong-dan-dang-ky-bec88__contrast-fix {
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #e0e0e0 !important;
}

.page-blog-huong-dan-dang-ky-bec88__text-contrast-fix {
    color: #333333 !important;
    text-shadow: none !important;
}