/* CSS file for blog-huong-dan-dang-ky-b29.css */

:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --card-bg-color: #10233F;
    --text-main-color: #F3F8FF;
    --text-secondary-color: #AFC4E8;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B;
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-blog-huong-dan-dang-ky-b29 {
    font-family: Arial, sans-serif;
    color: var(--text-main-color);
    background-color: var(--deep-navy-color); /* Matches body background for consistency */
}

.page-blog-huong-dan-dang-ky-b29__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as shared.css handles body padding */
    margin-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

.page-blog-huong-dan-dang-ky-b29__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-blog-huong-dan-dang-ky-b29__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    width: 100%;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 10px;
    box-sizing: border-box;
}

.page-blog-huong-dan-dang-ky-b29__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: var(--gold-color);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-blog-huong-dan-dang-ky-b29__description {
    font-size: clamp(1em, 1.8vw, 1.3em);
    color: var(--text-main-color);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-huong-dan-dang-ky-b29__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-blog-huong-dan-dang-ky-b29__btn-primary,
.page-blog-huong-dan-dang-ky-b29__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-blog-huong-dan-dang-ky-b29__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: 2px solid var(--glow-color);
    box-shadow: 0 0 15px rgba(79, 168, 255, 0.5);
}

.page-blog-huong-dan-dang-ky-b29__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    box-shadow: 0 0 20px rgba(79, 168, 255, 0.8);
}

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

.page-blog-huong-dan-dang-ky-b29__btn-secondary:hover {
    background-color: var(--glow-color);
    color: var(--primary-color);
}

.page-blog-huong-dan-dang-ky-b29__content-section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-b29__content-section.page-blog-huong-dan-dang-ky-b29__dark-bg {
    background-color: var(--card-bg-color);
}

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

.page-blog-huong-dan-dang-ky-b29__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-blog-huong-dan-dang-ky-b29__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
    text-align: justify;
}

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

.page-blog-huong-dan-dang-ky-b29__feature-card {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-b29__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-b29__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-huong-dan-dang-ky-b29__card-text {
    font-size: 1em;
    color: var(--text-secondary-color);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-b29__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-blog-huong-dan-dang-ky-b29__step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.page-blog-huong-dan-dang-ky-b29__step-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    position: relative;
    padding-left: 80px;
}

.page-blog-huong-dan-dang-ky-b29__step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 25px;
    top: 30px;
    background-color: var(--gold-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-blog-huong-dan-dang-ky-b29__step-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-blog-huong-dan-dang-ky-b29__step-description {
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-secondary-color);
    margin-bottom: 20px;
    text-align: justify;
}

.page-blog-huong-dan-dang-ky-b29__step-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-blog-huong-dan-dang-ky-b29__sub-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    border-left: 2px solid var(--divider-color);
    padding-left: 20px;
}

.page-blog-huong-dan-dang-ky-b29__sub-item {
    margin-bottom: 15px;
}

.page-blog-huong-dan-dang-ky-b29__sub-title {
    font-size: 1.3em;
    color: var(--text-main-color);
    margin-bottom: 5px;
}

.page-blog-huong-dan-dang-ky-b29__sub-text {
    font-size: 0.95em;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

.page-blog-huong-dan-dang-ky-b29__cta-block {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

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

.page-blog-huong-dan-dang-ky-b29__tip-item {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    position: relative;
    transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-b29__tip-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-b29__tip-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-blog-huong-dan-dang-ky-b29__tip-description {
    font-size: 1em;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

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

.page-blog-huong-dan-dang-ky-b29__promo-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-blog-huong-dan-dang-ky-b29__promo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-huong-dan-dang-ky-b29__promo-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-blog-huong-dan-dang-ky-b29__promo-description {
    font-size: 1em;
    color: var(--text-secondary-color);
    line-height: 1.6;
}

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

.page-blog-huong-dan-dang-ky-b29__faq-item {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog-huong-dan-dang-ky-b29__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.25em;
    color: var(--text-main-color);
    cursor: pointer;
    font-weight: bold;
    background-color: var(--primary-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For <summary> tag */
}

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

.page-blog-huong-dan-dang-ky-b29__faq-question:hover {
    background-color: var(--secondary-color);
}

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

.page-blog-huong-dan-dang-ky-b29__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

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

.page-blog-huong-dan-dang-ky-b29__faq-answer {
    padding: 15px 25px 25px;
    font-size: 1.05em;
    color: var(--text-secondary-color);
    line-height: 1.7;
    background-color: var(--card-bg-color);
    border-top: 1px solid var(--border-color);
}

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

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

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

    .page-blog-huong-dan-dang-ky-b29__hero-section {
        margin-bottom: 20px;
    }

    .page-blog-huong-dan-dang-ky-b29__hero-content {
        padding: 15px;
        position: static; /* Remove absolute positioning on mobile */
        transform: none; /* Remove transform on mobile */
        background-color: rgba(0, 0, 0, 0.7); /* Stronger background for text */
        margin-top: -100px; /* Pull content slightly over image */
        width: calc(100% - 30px); /* Adjust width for padding */
        margin-left: 15px;
        margin-right: 15px;
    }

    .page-blog-huong-dan-dang-ky-b29__main-title {
        font-size: 2em; /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }

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

    .page-blog-huong-dan-dang-ky-b29__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

    .page-blog-huong-dan-dang-ky-b29__btn-primary,
    .page-blog-huong-dan-dang-ky-b29__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-blog-huong-dan-dang-ky-b29__content-section {
        padding: 30px 0;
    }

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

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

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

    .page-blog-huong-dan-dang-ky-b29__feature-grid,
    .page-blog-huong-dan-dang-ky-b29__tip-list,
    .page-blog-huong-dan-dang-ky-b29__promo-list {
        grid-template-columns: 1fr; /* Single column layout for cards/lists */
        gap: 20px;
    }

    .page-blog-huong-dan-dang-ky-b29__feature-card,
    .page-blog-huong-dan-dang-ky-b29__tip-item,
    .page-blog-huong-dan-dang-ky-b29__promo-item {
        padding: 20px;
    }

    .page-blog-huong-dan-dang-ky-b29__card-title,
    .page-blog-huong-dan-dang-ky-b29__tip-title,
    .page-blog-huong-dan-dang-ky-b29__promo-title {
        font-size: 1.3em;
    }

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

    .page-blog-huong-dan-dang-ky-b29__step-item::before {
        left: 15px;
        top: 20px;
        width: 30px;
        height: 30px;
        font-size: 1.2em;
    }

    .page-blog-huong-dan-dang-ky-b29__step-title {
        font-size: 1.5em;
    }

    .page-blog-huong-dan-dang-ky-b29__sub-list {
        padding-left: 15px;
    }

    .page-blog-huong-dan-dang-ky-b29__sub-title {
        font-size: 1.1em;
    }

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

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

    .page-blog-huong-dan-dang-ky-b29__conclusion-section {
        padding: 40px 0;
    }

    .page-blog-huong-dan-dang-ky-b29 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}