.page-blog-huong-dan-dang-ky-subet {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main, #FFF1E8); /* Default text color from custom palette */
    background-color: var(--background, #140C0C); /* Default background from custom palette */
}

.page-blog-huong-dan-dang-ky-subet__top-section {
    padding-top: 10px; /* Rely on body padding for header offset, this is for internal section spacing */
    padding-bottom: 40px;
    text-align: center;
    background-color: var(--background, #140C0C);
    color: var(--text-main, #FFF1E8);
}

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

.page-blog-huong-dan-dang-ky-subet__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold, #F3C54D); /* Gold color for main title */
}

.page-blog-huong-dan-dang-ky-subet__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main, #FFF1E8);
}

.page-blog-huong-dan-dang-ky-subet__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container doesn't overflow */
    box-sizing: border-box;
    padding: 0 20px;
}

.page-blog-huong-dan-dang-ky-subet__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 100%; /* Important for button responsiveness */
    box-sizing: border-box; /* Important for button responsiveness */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    min-width: 180px; /* Minimum width for buttons */
}

.page-blog-huong-dan-dang-ky-subet__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Custom button color */
    color: #FFF1E8; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-blog-huong-dan-dang-ky-subet__btn-primary:hover {
    background: linear-gradient(180deg, #FFC77A 0%, #F0822A 100%);
    box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

.page-blog-huong-dan-dang-ky-subet__btn-secondary {
    background: #2A1212; /* Card BG */
    color: #F3C54D; /* Gold */
    border: 2px solid #6A1E1E; /* Border */
}

.page-blog-huong-dan-dang-ky-subet__btn-secondary:hover {
    background: #3a1e1e;
    color: #FFB04A;
    border-color: #7E0D0D;
}

.page-blog-huong-dan-dang-ky-subet__article-wrap {
    max-width: 900px; /* Slightly narrower for readability */
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background, #140C0C);
    color: var(--text-main, #FFF1E8);
}

.page-blog-huong-dan-dang-ky-subet__article-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-main, #FFF1E8);
}

.page-blog-huong-dan-dang-ky-subet__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--gold, #F3C54D);
    line-height: 1.3;
}

.page-blog-huong-dan-dang-ky-subet__sub-heading {
    font-size: clamp(1.4rem, 2.8vw, 1.8rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #C61F1F; /* Main color */
}

.page-blog-huong-dan-dang-ky-subet__figure {
    margin: 30px 0;
    text-align: center;
    background-color: var(--card-bg, #2A1212);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border, #6A1E1E);
}

.page-blog-huong-dan-dang-ky-subet__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    margin: 0 auto;
}

.page-blog-huong-dan-dang-ky-subet__figcaption {
    font-size: 0.9rem;
    color: #888;
    margin-top: 10px;
    color: var(--text-main, #FFF1E8);
}

.page-blog-huong-dan-dang-ky-subet__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-main, #FFF1E8);
}

.page-blog-huong-dan-dang-ky-subet__list li {
    margin-bottom: 8px;
    font-size: 1rem;
    color: var(--text-main, #FFF1E8);
}

.page-blog-huong-dan-dang-ky-subet__promo-box {
    background: linear-gradient(135deg, #2A1212 0%, #140C0C 100%); /* Card BG to Background */
    border: 2px solid var(--deep-red, #7E0D0D);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-blog-huong-dan-dang-ky-subet__promo-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--gold, #F3C54D);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-blog-huong-dan-dang-ky-subet__promo-text {
    font-size: 1.1rem;
    color: var(--text-main, #FFF1E8);
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Bottom CTA buttons */
.page-blog-huong-dan-dang-ky-subet__cta-buttons--bottom {
    margin-top: 50px;
    margin-bottom: 20px;
}

.page-blog-huong-dan-dang-ky-subet__article-content strong {
    color: var(--gold, #F3C54D); /* Strong text highlight */
}

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

    /* 1. 顶区标题 + 双 CTA */
    .page-blog-huong-dan-dang-ky-subet__top-section {
        padding-top: 10px !important; /* Fixed header padding: rely on body, this is section top */
        padding-bottom: 30px;
    }

    .page-blog-huong-dan-dang-ky-subet__main-title {
        font-size: 2rem !important;
        margin-bottom: 15px;
    }

    .page-blog-huong-dan-dang-ky-subet__description {
        font-size: 1rem !important;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .page-blog-huong-dan-dang-ky-subet__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-huong-dan-dang-ky-subet__btn {
        width: 100% !important; /* Full width for buttons */
        max-width: 100% !important;
        min-width: unset !important; /* Remove min-width on mobile */
        padding: 12px 15px !important;
        font-size: 0.95rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* 2. 单栏长文容器 */
    .page-blog-huong-dan-dang-ky-subet__article-wrap {
        padding: 20px 15px !important; /* Adjust padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-huong-dan-dang-ky-subet__heading {
        font-size: 1.5rem !important;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-blog-huong-dan-dang-ky-subet__sub-heading {
        font-size: 1.2rem !important;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-blog-huong-dan-dang-ky-subet__article-content p,
    .page-blog-huong-dan-dang-ky-subet__list li {
        font-size: 0.95rem !important;
        margin-bottom: 10px;
    }

    .page-blog-huong-dan-dang-ky-subet__list {
        margin-left: 15px;
    }

    .page-blog-huong-dan-dang-ky-subet__promo-box {
        padding: 20px !important;
        margin: 30px 0 !important;
    }

    .page-blog-huong-dan-dang-ky-subet__promo-title {
        font-size: 1.4rem !important;
        margin-bottom: 10px;
    }

    .page-blog-huong-dan-dang-ky-subet__promo-text {
        font-size: 0.95rem !important;
        margin-bottom: 20px;
    }

    /* 3. 通用图片与 figure */
    .page-blog-huong-dan-dang-ky-subet__figure {
        margin: 20px 0 !important;
        padding: 8px !important;
    }

    .page-blog-huong-dan-dang-ky-subet__figure img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-blog-huong-dan-dang-ky-subet__figcaption {
        font-size: 0.85rem !important;
    }

    /* Ensure all images within the main content are responsive */
    .page-blog-huong-dan-dang-ky-subet img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    /* 4. 按钮与按钮容器 - already covered in top CTA section */

    /* 5. 注册教程与 FAQ 区块 (H3s in this case) - text sizing already covered */
}