/* style/blog-huong-dan-dang-ky-99wim.css */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --site-bg: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-blog-huong-dan-dang-ky-99wim {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--site-bg); /* Page background from site-bg */
    line-height: 1.6;
}

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

.page-blog-huong-dan-dang-ky-99wim__hero-section {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background: var(--site-bg);
    text-align: center;
}

.page-blog-huong-dan-dang-ky-99wim__hero-image-wrapper {
    width: 100%;
    max-width: 1000px; /* Max width for the image */
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-blog-huong-dan-dang-ky-99wim__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
}

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

.page-blog-huong-dan-dang-ky-99wim__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.3);
}

.page-blog-huong-dan-dang-ky-99wim__description {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-huong-dan-dang-ky-99wim__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-blog-huong-dan-dang-ky-99wim__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-huong-dan-dang-ky-99wim__btn--primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-blog-huong-dan-dang-ky-99wim__btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
    opacity: 0.9;
}

.page-blog-huong-dan-dang-ky-99wim__btn--secondary {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(255, 211, 107, 0.2);
}

.page-blog-huong-dan-dang-ky-99wim__btn--secondary:hover {
    background: var(--secondary-color);
    color: var(--site-bg);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-blog-huong-dan-dang-ky-99wim__content-section {
    padding: 60px 0;
    background-color: var(--site-bg);
}

.page-blog-huong-dan-dang-ky-99wim__dark-bg {
    background-color: var(--card-bg);
}

.page-blog-huong-dan-dang-ky-99wim__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.2);
}

.page-blog-huong-dan-dang-ky-99wim__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-main);
    text-align: justify;
}

.page-blog-huong-dan-dang-ky-99wim__list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-blog-huong-dan-dang-ky-99wim__list-item {
    background-color: var(--card-bg);
    border-left: 5px solid var(--primary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.05rem;
    color: var(--text-main);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-99wim__list-item strong {
    color: var(--secondary-color);
}

.page-blog-huong-dan-dang-ky-99wim__numbered-list {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-blog-huong-dan-dang-ky-99wim__numbered-list .page-blog-huong-dan-dang-ky-99wim__list-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 25px 20px 20px 60px;
    margin-bottom: 20px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-blog-huong-dan-dang-ky-99wim__numbered-list .page-blog-huong-dan-dang-ky-99wim__list-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--site-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog-huong-dan-dang-ky-99wim__numbered-list .page-blog-huong-dan-dang-ky-99wim__list-item h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-blog-huong-dan-dang-ky-99wim__sub-list {
    list-style: disc;
    margin-left: 25px;
    color: var(--text-main);
    margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-99wim__sub-list li {
    margin-bottom: 5px;
}

.page-blog-huong-dan-dang-ky-99wim__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-blog-huong-dan-dang-ky-99wim__cta-block {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.page-blog-huong-dan-dang-ky-99wim__cta-text {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 25px;
}

.page-blog-huong-dan-dang-ky-99wim__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg);
}

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

.page-blog-huong-dan-dang-ky-99wim__faq-item {
    background-color: var(--site-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-99wim__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
    outline: none;
}

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

.page-blog-huong-dan-dang-ky-99wim__faq-qtext {
    flex-grow: 1;
    color: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-99wim__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-blog-huong-dan-dang-ky-99wim__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05rem;
    color: var(--text-main);
    line-height: 1.7;
    text-align: justify;
}

.page-blog-huong-dan-dang-ky-99wim__conclusion-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--site-bg);
}

@media (max-width: 1024px) {
    .page-blog-huong-dan-dang-ky-99wim__container {
        padding: 15px;
    }

    .page-blog-huong-dan-dang-ky-99wim__hero-content {
        padding: 0 15px;
    }

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

    .page-blog-huong-dan-dang-ky-99wim__description {
        font-size: clamp(0.95rem, 1.8vw, 1.2rem);
    }

    .page-blog-huong-dan-dang-ky-99wim__section-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }

    .page-blog-huong-dan-dang-ky-99wim__btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-blog-huong-dan-dang-ky-99wim__text-block,
    .page-blog-huong-dan-dang-ky-99wim__list-item,
    .page-blog-huong-dan-dang-ky-99wim__cta-text,
    .page-blog-huong-dan-dang-ky-99wim__faq-item summary,
    .page-blog-huong-dan-dang-ky-99wim__faq-answer {
        font-size: 1rem;
    }

    .page-blog-huong-dan-dang-ky-99wim__numbered-list .page-blog-huong-dan-dang-ky-99wim__list-item h3 {
        font-size: 1.2rem;
    }
}

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

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

    .page-blog-huong-dan-dang-ky-99wim__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page-blog-huong-dan-dang-ky-99wim__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-blog-huong-dan-dang-ky-99wim__hero-image {
        object-fit: contain !important; /* Mobile hero image must contain, not cover */
        aspect-ratio: unset !important;
        max-height: none !important;
    }

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

    .page-blog-huong-dan-dang-ky-99wim__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-blog-huong-dan-dang-ky-99wim__cta-buttons {
        flex-direction: column !important; /* Buttons stack vertically on mobile */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-blog-huong-dan-dang-ky-99wim__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-blog-huong-dan-dang-ky-99wim__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-blog-huong-dan-dang-ky-99wim__text-block,
    .page-blog-huong-dan-dang-ky-99wim__list-item,
    .page-blog-huong-dan-dang-ky-99wim__cta-text,
    .page-blog-huong-dan-dang-ky-99wim__faq-answer {
        font-size: 0.95rem;
    }

    .page-blog-huong-dan-dang-ky-99wim__numbered-list .page-blog-huong-dan-dang-ky-99wim__list-item {
        padding: 20px 15px 15px 50px;
    }

    .page-blog-huong-dan-dang-ky-99wim__numbered-list .page-blog-huong-dan-dang-ky-99wim__list-item::before {
        left: 15px;
        top: 15px;
        width: 25px;
        height: 25px;
        font-size: 1rem;
    }

    .page-blog-huong-dan-dang-ky-99wim__numbered-list .page-blog-huong-dan-dang-ky-99wim__list-item h3 {
        font-size: 1.1rem;
    }

    .page-blog-huong-dan-dang-ky-99wim__image {
        margin: 20px auto;
    }

    .page-blog-huong-dan-dang-ky-99wim__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }

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

    /* General image response for content area */
    .page-blog-huong-dan-dang-ky-99wim img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Ensure content containers don't cause horizontal scroll */
    .page-blog-huong-dan-dang-ky-99wim__content-section,
    .page-blog-huong-dan-dang-ky-99wim__faq-section,
    .page-blog-huong-dan-dang-ky-99wim__conclusion-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}

/* Contrast Fixes */
.page-blog-huong-dan-dang-ky-99wim__dark-bg {
  color: #ffffff;
}
.page-blog-huong-dan-dang-ky-99wim__content-area,
.page-blog-huong-dan-dang-ky-99wim__text-block {
  color: var(--text-main); /* Ensure contrast with dark background */
}
.page-blog-huong-dan-dang-ky-99wim__card {
  background: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.page-blog-huong-dan-dang-ky-99wim__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
}
.page-blog-huong-dan-dang-ky-99wim__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}
.page-blog-huong-dan-dang-ky-99wim__faq-item summary {
    color: var(--primary-color);
}
.page-blog-huong-dan-dang-ky-99wim__faq-answer {
    color: var(--text-main);
}