/* style/blog-new-features-88club8-app.css */

/* Variables based on provided color scheme */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F; /* This should match body's var(--bg-color) */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-blog-new-features-88club8-app {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background-color); /* Ensure this matches body's background */
    line-height: 1.6;
}

.page-blog-new-features-88club8-app__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-new-features-88club8-app__section {
    padding: 40px 0;
    position: relative;
}

.page-blog-new-features-88club8-app__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    color: var(--text-main);
    text-align: center;
    background-color: var(--card-bg); /* Fallback if image doesn't load */
}

.page-blog-new-features-88club8-app__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
    z-index: 0;
    margin-bottom: 20px; /* Space between image and content */
}

.page-blog-new-features-88club8-app__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly dim the image for text readability if needed */
}

.page-blog-new-features-88club8-app__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px 40px;
    box-sizing: border-box;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Enhance text readability */
}

.page-blog-new-features-88club8-app__main-title {
    font-size: clamp(2em, 5vw, 3.5em);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-blog-new-features-88club8-app__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-blog-new-features-88club8-app__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-blog-new-features-88club8-app__cta-buttons--centered {
    margin-top: 40px;
    justify-content: center;
}

.page-blog-new-features-88club8-app__btn-primary,
.page-blog-new-features-88club8-app__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
}

.page-blog-new-features-88club8-app__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-blog-new-features-88club8-app__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-blog-new-features-88club8-app__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-blog-new-features-88club8-app__btn-secondary:hover {
    background-color: rgba(var(--primary-color), 0.1);
    transform: translateY(-2px);
}

.page-blog-new-features-88club8-app__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-blog-new-features-88club8-app__text-block {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-blog-new-features-88club8-app__text-block a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-blog-new-features-88club8-app__text-block a:hover {
    color: var(--secondary-color);
}

/* Feature Grid */
.page-blog-new-features-88club8-app__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-new-features-88club8-app__feature-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.page-blog-new-features-88club8-app__feature-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency, object-fit will handle aspect ratio */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-blog-new-features-88club8-app__feature-title {
    font-size: 1.5em;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-new-features-88club8-app__feature-description {
    font-size: 0.95em;
    line-height: 1.7;
}

/* Benefits List */
.page-blog-new-features-88club8-app__benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-new-features-88club8-app__benefit-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.page-blog-new-features-88club8-app__benefit-title {
    font-size: 1.4em;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-blog-new-features-88club8-app__benefit-description {
    font-size: 0.95em;
    line-height: 1.7;
}

.page-blog-new-features-88club8-app__benefit-description a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Guide Section */
.page-blog-new-features-88club8-app__guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-blog-new-features-88club8-app__guide-block {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

.page-blog-new-features-88club8-app__guide-subtitle {
    font-size: 1.3em;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-new-features-88club8-app__guide-list {
    list-style: decimal;
    padding-left: 20px;
    color: var(--text-secondary);
}

.page-blog-new-features-88club8-app__guide-list li {
    margin-bottom: 10px;
    font-size: 0.95em;
}

.page-blog-new-features-88club8-app__guide-list li a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* FAQ Section */
.page-blog-new-features-88club8-app__faq-list {
    margin-top: 30px;
}

.page-blog-new-features-88club8-app__faq-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    overflow: hidden; /* For smooth collapse/expand */
}

.page-blog-new-features-88club8-app__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.1em;
    background-color: var(--deep-green); /* Slightly darker background for summary */
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* Hide default marker for <summary> */
}

.page-blog-new-features-88club8-app__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for <summary> in Webkit */
}

.page-blog-new-features-88club8-app__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--text-main);
}

.page-blog-new-features-88club8-app__faq-item[open] .page-blog-new-features-88club8-app__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-new-features-88club8-app__faq-answer {
    padding: 15px 20px;
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.7;
}

.page-blog-new-features-88club8-app__faq-answer p {
    margin: 0;
}

.page-blog-new-features-88club8-app__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Conclusion Section */
.page-blog-new-features-88club8-app__conclusion {
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-blog-new-features-88club8-app {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-new-features-88club8-app__container {
        padding: 0 15px;
    }

    .page-blog-new-features-88club8-app__hero-section {
        padding-bottom: 30px;
    }

    .page-blog-new-features-88club8-app__main-title {
        font-size: 2em;
    }

    .page-blog-new-features-88club8-app__hero-description {
        font-size: 1em;
    }

    .page-blog-new-features-88club8-app__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-blog-new-features-88club8-app__btn-primary,
    .page-blog-new-features-88club8-app__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
    }

    .page-blog-new-features-88club8-app__section-title {
        font-size: 1.8em;
    }

    .page-blog-new-features-88club8-app__feature-grid,
    .page-blog-new-features-88club8-app__benefit-list,
    .page-blog-new-features-88club8-app__guide-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-blog-new-features-88club8-app__feature-card,
    .page-blog-new-features-88club8-app__benefit-item,
    .page-blog-new-features-88club8-app__guide-block,
    .page-blog-new-features-88club8-app__faq-item {
        padding: 20px;
        box-sizing: border-box;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-blog-new-features-88club8-app__feature-image {
        height: 200px; /* Adjust height for mobile */
        min-width: 200px; /* Enforce min size */
        min-height: 200px; /* Enforce min size */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-new-features-88club8-app img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-new-features-88club8-app__video,
    .page-blog-new-features-88club8-app video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-new-features-88club8-app__video-section,
    .page-blog-new-features-88club8-app__video-container,
    .page-blog-new-features-88club8-app__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    .page-blog-new-features-88club8-app__video-section {
        padding-top: 10px !important; /* body đã xử lý --header-offset, cấm dùng var(--header-offset) tại đây */
    }

    /* Đảm bảo tất cả các container chứa hình ảnh/nút/video đều phản hồi */
    .page-blog-new-features-88club8-app__section,
    .page-blog-new-features-88club8-app__card,
    .page-blog-new-features-88club8-app__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-blog-new-features-88club8-app__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Xếp chồng các nút dọc trên thiết bị di động */
    }
}