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

/* Base styles for the page content */
.page-blog-huong-dan-dang-ky-sv88 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color, #333333); /* Default text color, will be adjusted by smart contrast */
    background-color: var(--page-bg, #ffffff); /* Default page background */
}

/* Container for content sections */
.page-blog-huong-dan-dang-ky-sv88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Hero Section */
.page-blog-huong-dan-dang-ky-sv88__hero-section {
    padding-top: 10px; /* Small top padding, relying on body padding for header offset */
    background-color: #B71C1C; /* Custom background color */
    color: #FFF5E1; /* Custom text color for dark background */
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
}

.page-blog-huong-dan-dang-ky-sv88__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-huong-dan-dang-ky-sv88__hero-content {
    padding: 20px 0;
}

.page-blog-huong-dan-dang-ky-sv88__main-title {
    font-size: clamp(2.2em, 4.5vw, 3.5em); /* Using clamp for H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFF5E1; /* Custom text color */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-sv88__description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #FFF5E1; /* Custom text color */
}

/* CTA Buttons */
.page-blog-huong-dan-dang-ky-sv88__cta-button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.page-blog-huong-dan-dang-ky-sv88__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
    color: #7A0E0E; /* Deep Red text for primary button */
    border: none;
}

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

.page-blog-huong-dan-dang-ky-sv88__btn-secondary {
    background-color: #D32F2F; /* Card BG as secondary button bg */
    color: #FFF5E1; /* Text Main for secondary button text */
    border: 2px solid #F2B544; /* Border color */
    padding: 10px 25px;
}

.page-blog-huong-dan-dang-ky-sv88__btn-secondary:hover {
    background-color: #7A0E0E; /* Deep Red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-blog-huong-dan-dang-ky-sv88__content-section {
    padding: 40px 0;
}

.page-blog-huong-dan-dang-ky-sv88__section-title {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
    color: #C91F17; /* Main brand color for titles */
}

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

.page-blog-huong-dan-dang-ky-sv88__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #333333; /* Default text color on light background */
}

.page-blog-huong-dan-dang-ky-sv88__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-huong-dan-dang-ky-sv88__intro-text--white {
    color: #FFF5E1; /* Custom text color */
}

.page-blog-huong-dan-dang-ky-sv88__feature-list,
.page-blog-huong-dan-dang-ky-sv88__important-notes,
.page-blog-huong-dan-dang-ky-sv88__sub-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-sv88__feature-list li,
.page-blog-huong-dan-dang-ky-sv88__important-notes li,
.page-blog-huong-dan-dang-ky-sv88__sub-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #333333; /* Default text color */
}

.page-blog-huong-dan-dang-ky-sv88__feature-list li::before,
.page-blog-huong-dan-dang-ky-sv88__important-notes li::before,
.page-blog-huong-dan-dang-ky-sv88__sub-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #C91F17; /* Main brand color */
    font-weight: bold;
    font-size: 1.2em;
}

.page-blog-huong-dan-dang-ky-sv88__list-highlight {
    color: #C91F17; /* Main brand color for highlights */
}

/* Guide Section (Steps) */
.page-blog-huong-dan-dang-ky-sv88__guide-section {
    background-color: #B71C1C; /* Custom background color */
    padding: 50px 0;
    color: #FFF5E1; /* Custom text color */
}

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

.page-blog-huong-dan-dang-ky-sv88__step-card {
    background-color: #D32F2F; /* Card BG color */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.page-blog-huong-dan-dang-ky-sv88__step-title {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFF5E1; /* Custom text color */
}

.page-blog-huong-dan-dang-ky-sv88__step-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-blog-huong-dan-dang-ky-sv88__step-description {
    font-size: 1em;
    margin-bottom: 20px;
    color: #FFF5E1; /* Custom text color */
    flex-grow: 1; /* Allow description to grow */
}

/* FAQ Section */
.page-blog-huong-dan-dang-ky-sv88__faq-section {
    background-color: #B71C1C; /* Custom background color */
    padding: 50px 0;
    color: #FFF5E1; /* Custom text color */
}

.page-blog-huong-dan-dang-ky-sv88__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-huong-dan-dang-ky-sv88__faq-item {
    background-color: #D32F2F; /* Card BG color */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-blog-huong-dan-dang-ky-sv88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    color: #FFF5E1; /* Custom text color */
    background-color: #C91F17; /* Main brand color for question background */
    border-bottom: 1px solid #E53935; /* Auxiliary color for border */
    list-style: none; /* For details/summary */
}

.page-blog-huong-dan-dang-ky-sv88__faq-item[open] .page-blog-huong-dan-dang-ky-sv88__faq-question {
    border-bottom: none;
}

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

.page-blog-huong-dan-dang-ky-sv88__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #FFD86A; /* Gold color for toggle */
}

.page-blog-huong-dan-dang-ky-sv88__faq-item[open] .page-blog-huong-dan-dang-ky-sv88__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-huong-dan-dang-ky-sv88__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #FFF5E1; /* Custom text color */
    line-height: 1.8;
}

.page-blog-huong-dan-dang-ky-sv88__faq-answer p {
    margin-bottom: 10px;
    color: #FFF5E1; /* Custom text color */
}

/* CTA Section */
.page-blog-huong-dan-dang-ky-sv88__cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-blog-huong-dan-dang-ky-sv88__center-text {
    text-align: center;
}

/* Smart Contrast & Color Safety (as per prompt) */
.page-blog-huong-dan-dang-ky-sv88__light-bg {
    background-color: #ffffff; /* Default white background */
    color: #333333; /* Dark text for light background */
}

.page-blog-huong-dan-dang-ky-sv88__dark-bg {
    background-color: #B71C1C; /* Custom background color */
    color: #FFF5E1; /* Custom text color for dark background */
}

/* Ensure all images are responsive by default */
.page-blog-huong-dan-dang-ky-sv88 img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page-blog-huong-dan-dang-ky-sv88__container {
        padding: 15px;
    }

    /* Hero Section */
    .page-blog-huong-dan-dang-ky-sv88__hero-section {
        padding-top: 10px !important; /* Fixed header offset */
    }

    .page-blog-huong-dan-dang-ky-sv88__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-blog-huong-dan-dang-ky-sv88__description {
        font-size: 1em;
    }

    /* CTA Buttons Mobile */
    .page-blog-huong-dan-dang-ky-sv88__cta-button,
    .page-blog-huong-dan-dang-ky-sv88__btn-primary,
    .page-blog-huong-dan-dang-ky-sv88__btn-secondary,
    .page-blog-huong-dan-dang-ky-sv88 a[class*="button"],
    .page-blog-huong-dan-dang-ky-sv88 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;
        margin-bottom: 10px; /* Add spacing between stacked buttons */
    }

    .page-blog-huong-dan-dang-ky-sv88__cta-buttons,
    .page-blog-huong-dan-dang-ky-sv88__button-group,
    .page-blog-huong-dan-dang-ky-sv88__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    /* Content Sections */
    .page-blog-huong-dan-dang-ky-sv88__section-title {
        font-size: 1.8em;
    }

    /* Guide Section (Steps) Mobile */
    .page-blog-huong-dan-dang-ky-sv88__steps-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

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

    /* FAQ Section Mobile */
    .page-blog-huong-dan-dang-ky-sv88__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-blog-huong-dan-dang-ky-sv88__faq-answer {
        padding: 15px 20px;
    }

    /* General Images Mobile */
    .page-blog-huong-dan-dang-ky-sv88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog-huong-dan-dang-ky-sv88__section,
    .page-blog-huong-dan-dang-ky-sv88__card,
    .page-blog-huong-dan-dang-ky-sv88__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}