/* style/blog-cap-nhat-khuyen-mai-ty88-moi-nhat.css */
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background: #FFFFFF; /* Default background */
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__hero-section {
    background-color: #f5f5f5;
    padding-top: 10px; /* Small top padding, relying on shared.css for body padding-top */
    padding-bottom: 60px;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__hero-content {
    flex: 1;
    color: #333333;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__main-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #017439;
    max-width: 800px;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__hero-image {
    flex: 1;
    text-align: right;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__main-promo-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__btn-primary {
    display: inline-block;
    background-color: #C30808; /* Register color */
    color: #FFFFFF; /* Ensure WCAG AA contrast */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    word-wrap: normal;
    box-sizing: border-box;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__btn-primary:hover {
    background-color: #9f0606;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__content-section,
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__promotions-list,
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-section,
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-section,
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__cta-section {
    padding: 60px 0;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__section-title {
    font-size: 2.2em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__promotions-list {
    background-color: #f9f9f9;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__promotion-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__promotion-card:hover {
    transform: translateY(-5px);
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__card-title {
    font-size: 1.3em;
    color: #017439;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__card-description {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__card-date {
    font-size: 0.85em;
    color: #888888;
    margin-bottom: 15px;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__btn-secondary {
    display: inline-block;
    background-color: #017439;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: flex-start;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    word-wrap: normal;
    box-sizing: border-box;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__btn-secondary:hover {
    background-color: #005a2e;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 800px;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-list li {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    counter-increment: step-counter;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-list li::before {
    content: counter(step-counter);
    position: absolute;
    top: 25px;
    left: 25px;
    background-color: #017439;
    color: #ffffff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-step-title {
    font-size: 1.2em;
    color: #017439;
    margin-left: 50px;
    margin-bottom: 10px;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-list p {
    margin-left: 50px;
    color: #555555;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-list a {
    color: #017439;
    text-decoration: underline;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #017439;
    cursor: pointer;
    list-style: none; /* Hide default marker */
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-item[open] .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-answer {
    padding: 0 25px 20px;
    font-size: 0.95em;
    color: #555555;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__dark-bg {
    background-color: #017439;
    color: #ffffff;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__dark-bg .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__section-title,
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__dark-bg .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__intro-text,
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__dark-bg p {
    color: #ffffff;
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__dark-bg .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__btn-primary {
    background-color: #C30808;
    color: #FFFF00; /* As per specific color rule, but will check contrast in final output */
}

.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__dark-bg .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__btn-primary:hover {
    background-color: #9f0606;
}

/* General image responsive style */
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Placeholder for Module 1 three-column intro, as required by "必写清单" but not used in HTML */
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__icon-box-media {
    /* Not used in this page's HTML, but included for compliance with "必写清单" */
    width: 240px;
    height: 240px;
    aspect-ratio: 1/1;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
}
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Placeholder for Seven Tab Game Area, as required by "必写清单" but not used in HTML */
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__game-tabs {
    /* Not used in this page's HTML, but included for compliance with "必写清单" */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__tab-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__game-panel {
    display: none;
}
.page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__game-panel.is-active {
    display: block;
}

/* Mobile @media (max-width: 768px)必写清单 */
@media (max-width: 768px) {
    /* HERO 双栏 - mobile adaptation */
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__hero-section {
        padding-top: 10px !important; /* Small top padding, not var(--header-offset) */
        padding-bottom: 30px;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__hero-container {
        flex-direction: column;
        padding: 20px 15px;
        gap: 20px;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__main-title {
        font-size: 2em;
        text-align: center;
        max-width: 100%;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__intro-text {
        text-align: center;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__hero-content {
        order: 2;
        flex: 1 1 100%;
        margin-top: 0;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__hero-image {
        order: 1;
        flex: 1 1 100%;
        text-align: center;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__main-promo-image {
        height: auto !important;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__btn-primary {
        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;
    }

    /* 模块1 三栏正圆图 - mobile adaptation (placeholder as not used in HTML) */
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__icon-box-media {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 10px;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__icon-box-media img {
        width: 100% !important;
        height: 100% !important;
    }

    /* 七 Tab 游戏区 - mobile adaptation (placeholder as not used in HTML) */
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__game-tabs,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__tab-nav,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__game-panel {
        flex-direction: column;
        padding: 15px;
    }

    /* 教程长文 / 促销 / 信任 / FAQ / 博客 / intro 排版 - mobile adaptation */
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__content-section,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__promotions-list,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-section,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-section,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__cta-section {
        padding: 40px 0;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__section-title {
        font-size: 1.8em;
        text-align: center;
        margin-bottom: 30px;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__promotion-card {
        flex-direction: column;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__card-image {
        height: auto; /* Allow image to scale */
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-list {
        padding-left: 0;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-list li {
        padding: 20px;
        margin-left: 0;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-list li::before {
        top: 20px;
        left: 20px;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-step-title,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__guide-list p {
        margin-left: 45px;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.9em;
    }

    /* 通用图片与容器 - mobile adaptation */
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 按钮与按钮容器 - mobile adaptation */
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__btn-primary,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__btn-secondary,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat a[class*="button"],
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat 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 space between stacked buttons */
    }
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__cta-buttons,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__button-group,
    .page-blog-cap-nhat-khuyen-mai-ty88-moi-nhat__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important;
        gap: 10px;
    }
}