/* style/blog-cap-nhat-khuyen-mai-game88.css */

:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg-color: #D32F2F;
    --background-color-page: #B71C1C;
    --text-main-color: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red-color: #7A0E0E;
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
    --white-bg: #ffffff;
    --gray-light: #f5f5f5;
}

.page-blog-cap-nhat-khuyen-mai-game88 {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Main text color for the page */
    background-color: var(--background-color-page);
    line-height: 1.6;
}

.page-blog-cap-nhat-khuyen-mai-game88__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-blog-cap-nhat-khuyen-mai-game88__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, relying on body padding-top for header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
}

.page-blog-cap-nhat-khuyen-mai-game88__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height of the banner */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.page-blog-cap-nhat-khuyen-mai-game88__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-blog-cap-nhat-khuyen-mai-game88__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-blog-cap-nhat-khuyen-mai-game88__hero-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-cap-nhat-khuyen-mai-game88__hero-description {
    font-size: 1.1em;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-cap-nhat-khuyen-mai-game88__hero-cta-button,
.page-blog-cap-nhat-khuyen-mai-game88__card-button,
.page-blog-cap-nhat-khuyen-mai-game88__cta-button,
.page-blog-cap-nhat-khuyen-mai-game88__conclusion-cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--dark-text-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-cap-nhat-khuyen-mai-game88__hero-cta-button:hover,
.page-blog-cap-nhat-khuyen-mai-game88__card-button:hover,
.page-blog-cap-nhat-khuyen-mai-game88__cta-button:hover,
.page-blog-cap-nhat-khuyen-mai-game88__conclusion-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

/* Intro Section */
.page-blog-cap-nhat-khuyen-mai-game88__intro-section,
.page-blog-cap-nhat-khuyen-mai-game88__how-to-claim-section,
.page-blog-cap-nhat-khuyen-mai-game88__terms-section,
.page-blog-cap-nhat-khuyen-mai-game88__benefits-section,
.page-blog-cap-nhat-khuyen-mai-game88__faq-section,
.page-blog-cap-nhat-khuyen-mai-game88__conclusion-section {
    padding: 60px 0;
    background-color: var(--deep-red-color);
    margin-bottom: 20px;
    border-radius: 10px;
}

.page-blog-cap-nhat-khuyen-mai-game88__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-blog-cap-nhat-khuyen-mai-game88__section-subtitle {
    font-size: 1.2em;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-blog-cap-nhat-khuyen-mai-game88__section-text {
    font-size: 1.1em;
    color: var(--text-main-color);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

/* Promotions List Section */
.page-blog-cap-nhat-khuyen-mai-game88__promotions-list-section {
    background-color: var(--background-color-page);
}

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

.page-blog-cap-nhat-khuyen-mai-game88__promotion-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-blog-cap-nhat-khuyen-mai-game88__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-blog-cap-nhat-khuyen-mai-game88__card-image {
    width: 100%;
    height: 225px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.page-blog-cap-nhat-khuyen-mai-game88__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin: 20px 15px 10px 15px;
    min-height: 40px;
}

.page-blog-cap-nhat-khuyen-mai-game88__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-blog-cap-nhat-khuyen-mai-game88__card-title a:hover {
    text-decoration: underline;
}

.page-blog-cap-nhat-khuyen-mai-game88__card-description {
    font-size: 0.95em;
    color: var(--text-main-color);
    padding: 0 15px;
    margin-bottom: 20px;
    min-height: 90px; /* Ensure consistent height for description */
}

.page-blog-cap-nhat-khuyen-mai-game88__card-button {
    margin-bottom: 20px;
    padding: 10px 20px;
    font-size: 1em;
}

/* How to Claim Section */
.page-blog-cap-nhat-khuyen-mai-game88__steps-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-blog-cap-nhat-khuyen-mai-game88__step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: var(--card-bg-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-blog-cap-nhat-khuyen-mai-game88__step-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--gold-color);
    margin-right: 20px;
    flex-shrink: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-blog-cap-nhat-khuyen-mai-game88__step-content {
    text-align: left;
}

.page-blog-cap-nhat-khuyen-mai-game88__step-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-blog-cap-nhat-khuyen-mai-game88__step-description {
    font-size: 1em;
    color: var(--text-main-color);
}

.page-blog-cap-nhat-khuyen-mai-game88__step-description a {
    color: var(--gold-color);
    text-decoration: underline;
}

.page-blog-cap-nhat-khuyen-mai-game88__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

/* Terms and Conditions Section */
.page-blog-cap-nhat-khuyen-mai-game88__terms-list {
    list-style: disc;
    color: var(--text-main-color);
    max-width: 900px;
    margin: 0 auto 30px auto;
    padding-left: 20px;
}

.page-blog-cap-nhat-khuyen-mai-game88__terms-item {
    margin-bottom: 15px;
    font-size: 1em;
    line-height: 1.8;
}

.page-blog-cap-nhat-khuyen-mai-game88__terms-note {
    font-style: italic;
    text-align: center;
    color: var(--gold-color);
    font-size: 1em;
}

/* Benefits Section */
.page-blog-cap-nhat-khuyen-mai-game88__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-blog-cap-nhat-khuyen-mai-game88__benefit-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

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

.page-blog-cap-nhat-khuyen-mai-game88__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-cap-nhat-khuyen-mai-game88__benefit-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-blog-cap-nhat-khuyen-mai-game88__benefit-description {
    font-size: 0.95em;
    color: var(--text-main-color);
}

/* FAQ Section */
.page-blog-cap-nhat-khuyen-mai-game88__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-blog-cap-nhat-khuyen-mai-game88__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-blog-cap-nhat-khuyen-mai-game88__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--gold-color);
    cursor: pointer;
    background-color: var(--deep-red-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-blog-cap-nhat-khuyen-mai-game88__faq-question:hover {
    background-color: var(--primary-color);
}

.page-blog-cap-nhat-khuyen-mai-game88__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-blog-cap-nhat-khuyen-mai-game88__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--text-main-color);
}

.page-blog-cap-nhat-khuyen-mai-game88__faq-item[open] .page-blog-cap-nhat-khuyen-mai-game88__faq-toggle {
    content: '−';
}

.page-blog-cap-nhat-khuyen-mai-game88__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1em;
    color: var(--text-main-color);
    text-align: left;
    line-height: 1.7;
}

/* Conclusion Section */
.page-blog-cap-nhat-khuyen-mai-game88__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

.page-blog-cap-nhat-khuyen-mai-game88__conclusion-cta-button {
    margin-top: 30px;
    padding: 18px 40px;
    font-size: 1.2em;
}

/* General text styling */
.page-blog-cap-nhat-khuyen-mai-game88 p {
    color: var(--text-main-color);
}

/* --- Responsive Styles --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-blog-cap-nhat-khuyen-mai-game88__container {
        padding: 15px;
    }

    .page-blog-cap-nhat-khuyen-mai-game88__hero-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }

    .page-blog-cap-nhat-khuyen-mai-game88__section-title {
        font-size: 2em;
    }

    .page-blog-cap-nhat-khuyen-mai-game88__promotion-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-blog-cap-nhat-khuyen-mai-game88__card-image {
        height: 180px;
    }

    .page-blog-cap-nhat-khuyen-mai-game88__card-title {
        font-size: 1.3em;
    }

    .page-blog-cap-nhat-khuyen-mai-game88__card-description {
        min-height: 70px;
    }

    .page-blog-cap-nhat-khuyen-mai-game88__step-number {
        font-size: 2em;
    }

    .page-blog-cap-nhat-khuyen-mai-game88__step-title {
        font-size: 1.5em;
    }

    .page-blog-cap-nhat-khuyen-mai-game88__benefit-icon {
        width: 80px;
        height: 80px;
    }

    .page-blog-cap-nhat-khuyen-mai-game88__benefit-title {
        font-size: 1.4em;
    }

    .page-blog-cap-nhat-khuyen-mai-game88__faq-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }

    .page-blog-cap-nhat-khuyen-mai-game88__faq-answer {
        padding: 12px 20px 15px 20px;
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .page-blog-cap-nhat-khuyen-mai-game88 {
        font-size: 15px;
        line-height: 1.5;
    }

    /* HERO 主图区域 */
    .page-blog-cap-nhat-khuyen-mai-game88__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__hero-image-wrapper {
        max-height: 300px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__hero-title {
        font-size: clamp(1.5em, 6vw, 2.5em) !important; /* Adjusted for mobile */
        margin-bottom: 15px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__hero-cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 深色导语区 及其他模块通用容器 */
    .page-blog-cap-nhat-khuyen-mai-game88__intro-section,
    .page-blog-cap-nhat-khuyen-mai-game88__how-to-claim-section,
    .page-blog-cap-nhat-khuyen-mai-game88__terms-section,
    .page-blog-cap-nhat-khuyen-mai-game88__benefits-section,
    .page-blog-cap-nhat-khuyen-mai-game88__faq-section,
    .page-blog-cap-nhat-khuyen-mai-game88__conclusion-section {
        padding: 30px 0;
        border-radius: 0;
        margin-bottom: 10px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__section-title {
        font-size: 1.8em !important;
        margin-bottom: 15px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__section-subtitle {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__section-text {
        font-size: 0.95em;
    }

    /* 博客网格 (Promotion Grid acts like blog grid here) */
    .page-blog-cap-nhat-khuyen-mai-game88__promotion-grid {
        grid-template-columns: 1fr !important; /* Single column on mobile */
        gap: 20px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__promotion-card {
        margin-bottom: 15px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__card-image {
        height: 200px !important; /* Ensure image is not too small */
        max-width: 100% !important;
        width: 100% !important;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__card-title {
        font-size: 1.2em;
        min-height: auto;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__card-description {
        min-height: auto;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 通用图片与容器 */
    .page-blog-cap-nhat-khuyen-mai-game88 img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* 按钮与按钮容器 */
    .page-blog-cap-nhat-khuyen-mai-game88__hero-cta-button,
    .page-blog-cap-nhat-khuyen-mai-game88__card-button,
    .page-blog-cap-nhat-khuyen-mai-game88__cta-button,
    .page-blog-cap-nhat-khuyen-mai-game88__conclusion-cta-button,
    .page-blog-cap-nhat-khuyen-mai-game88 a[class*="button"],
    .page-blog-cap-nhat-khuyen-mai-game88 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;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__cta-bottom,
    .page-blog-cap-nhat-khuyen-mai-game88__button-group,
    .page-blog-cap-nhat-khuyen-mai-game88__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

    /* FAQ */
    .page-blog-cap-nhat-khuyen-mai-game88__faq-item {
        margin-bottom: 10px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__faq-question {
        font-size: 1em !important;
        padding: 15px 18px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__faq-toggle {
        font-size: 1.3em;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__faq-answer {
        padding: 10px 18px 15px 18px;
        font-size: 0.95em;
    }

    /* Steps List */
    .page-blog-cap-nhat-khuyen-mai-game88__step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__step-title {
        font-size: 1.4em;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__step-description {
        font-size: 0.9em;
    }

    /* Benefits Grid */
    .page-blog-cap-nhat-khuyen-mai-game88__benefits-grid {
        grid-template-columns: 1fr !important;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__benefit-icon {
        width: 70px;
        height: 70px;
    }
    .page-blog-cap-nhat-khuyen-mai-game88__benefit-title {
        font-size: 1.3em;
    }
}