/* General Styles */
.page-cau-hoi-thuong-gap {
    font-family: Arial, sans-serif;
    color: var(--text-main, #F2FFF6);
    background-color: var(--background, #08160F);
}

.page-cau-hoi-thuong-gap__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-cau-hoi-thuong-gap__section-title {
    color: var(--text-main, #F2FFF6);
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-cau-hoi-thuong-gap__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #11A84E, #22C768);
    border-radius: 2px;
}

/* Hero Section */
.page-cau-hoi-thuong-gap__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Rely on body padding for header offset */
    padding-bottom: 60px;
    background-color: var(--background, #08160F);
}

.page-cau-hoi-thuong-gap__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-cau-hoi-thuong-gap__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-cau-hoi-thuong-gap__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-cau-hoi-thuong-gap__main-title {
    color: var(--text-main, #F2FFF6);
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-cau-hoi-thuong-gap__description {
    color: var(--text-secondary, #A7D9B8);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.page-cau-hoi-thuong-gap__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Buttons */
.page-cau-hoi-thuong-gap__btn-primary,
.page-cau-hoi-thuong-gap__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-cau-hoi-thuong-gap__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6;
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-cau-hoi-thuong-gap__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-cau-hoi-thuong-gap__btn-secondary {
    background-color: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
}

.page-cau-hoi-thuong-gap__btn-secondary:hover {
    background-color: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
}

.page-cau-hoi-thuong-gap__btn-large {
    padding: 18px 40px;
    font-size: 1.1em;
}

/* FAQ Section */
.page-cau-hoi-thuong-gap__faq-section {
    padding: 60px 0;
    background-color: var(--background, #08160F);
}

.page-cau-hoi-thuong-gap__faq-list {
    margin-bottom: 40px;
}

.page-cau-hoi-thuong-gap__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--border, #2E7A4E);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-cau-hoi-thuong-gap__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    cursor: pointer;
    list-style: none;
    position: relative;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Safari */
    -khtml-user-select: none;    /* Konqueror HTML */
    -moz-user-select: none;      /* Old versions of Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-cau-hoi-thuong-gap__faq-question::-webkit-details-marker {
    display: none;
}

.page-cau-hoi-thuong-gap__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--glow, #57E38D);
}

.page-cau-hoi-thuong-gap__faq-item[open] .page-cau-hoi-thuong-gap__faq-toggle {
    transform: rotate(45deg);
}

.page-cau-hoi-thuong-gap__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.6;
    color: var(--text-secondary, #A7D9B8);
}

.page-cau-hoi-thuong-gap__faq-answer p {
    margin-bottom: 10px;
}

.page-cau-hoi-thuong-gap__faq-answer img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-cau-hoi-thuong-gap__bottom-cta-wrapper {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    border: 1px solid var(--border, #2E7A4E);
}

.page-cau-hoi-thuong-gap__bottom-cta-text {
    color: var(--text-main, #F2FFF6);
    font-size: 1.5em;
    margin-bottom: 25px;
    font-weight: bold;
}

/* Common image styles for content area */
.page-cau-hoi-thuong-gap__content-image {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-cau-hoi-thuong-gap__section-title {
        font-size: 2em;
    }

    .page-cau-hoi-thuong-gap__hero-content {
        padding: 0 15px;
    }

    .page-cau-hoi-thuong-gap__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-cau-hoi-thuong-gap__description {
        font-size: 1em;
    }

    .page-cau-hoi-thuong-gap__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }

    .page-cau-hoi-thuong-gap__faq-answer {
        padding: 0 20px 18px;
    }

    .page-cau-hoi-thuong-gap__btn-primary,
    .page-cau-hoi-thuong-gap__btn-secondary {
        padding: 12px 25px;
        font-size: 0.95em;
    }

    .page-cau-hoi-thuong-gap__btn-large {
        padding: 16px 35px;
        font-size: 1.05em;
    }

    .page-cau-hoi-thuong-gap__bottom-cta-text {
        font-size: 1.3em;
    }
}

@media (max-width: 768px) {
    .page-cau-hoi-thuong-gap {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-cau-hoi-thuong-gap__hero-section {
        padding-bottom: 40px;
    }

    .page-cau-hoi-thuong-gap__hero-image-wrapper {
        max-height: 300px;
    }

    .page-cau-hoi-thuong-gap__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-cau-hoi-thuong-gap__description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-cau-hoi-thuong-gap__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-cau-hoi-thuong-gap__btn-primary,
    .page-cau-hoi-thuong-gap__btn-secondary {
        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-cau-hoi-thuong-gap__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-cau-hoi-thuong-gap__faq-section {
        padding: 40px 0;
    }

    .page-cau-hoi-thuong-gap__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    .page-cau-hoi-thuong-gap__faq-answer {
        padding: 0 20px 15px;
    }

    .page-cau-hoi-thuong-gap__container,
    .page-cau-hoi-thuong-gap__hero-content,
    .page-cau-hoi-thuong-gap__bottom-cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Image specific mobile rules */
    .page-cau-hoi-thuong-gap img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: unset !important; /* Allow images to shrink below 200px on mobile if needed for layout, but still ensure max-width: 100% */
        min-height: unset !important;
    }

    .page-cau-hoi-thuong-gap__bottom-cta-text {
        font-size: 1.2em;
    }

    .page-cau-hoi-thuong-gap__bottom-cta-wrapper {
        padding: 30px 15px;
    }

    /* Placeholder for `__home-content` if it were present, ensures mobile adaptability */
    .page-cau-hoi-thuong-gap__home-content {
        height: auto !important;
        overflow-y: visible !important;
        padding: 20px 15px !important;
    }

    /* Placeholder for `__slider-track` if it were present, ensures mobile adaptability */
    .page-cau-hoi-thuong-gap__slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }

    .page-cau-hoi-thuong-gap__game-slide {
        flex: 0 0 160px !important;
        max-width: 160px !important;
        scroll-snap-align: start;
    }

    /* Placeholder for `__banners-top-wrapper` if it were present, ensures mobile adaptability */
    .page-cau-hoi-thuong-gap__banners-top-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
        max-width: 100% !important;
        padding: 0 15px;
    }

    .page-cau-hoi-thuong-gap__banner-item img {
        
        
    }

    /* Placeholder for `__blog-masonry` if it were present, ensures mobile adaptability */
    .page-cau-hoi-thuong-gap__blog-masonry {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Placeholder for `__blog-slider-track` if it were present, ensures mobile adaptability */
    .page-cau-hoi-thuong-gap__blog-slider-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }

    .page-cau-hoi-thuong-gap__blog-slide {
        flex: 0 0 80% !important; /* Adjust as needed for single card view */
        max-width: 80% !important;
        scroll-snap-align: start;
    }
}

/* Placeholder for `__row-games`, `__row-sport`, `__row-coop` if they were present */
.page-cau-hoi-thuong-gap__row-games,
.page-cau-hoi-thuong-gap__row-sport,
.page-cau-hoi-thuong-gap__row-coop {
    background-color: var(--background, #08160F);
    padding: 40px 20px;
    max-width: 1330px;
    margin: 0 auto;
}

.page-cau-hoi-thuong-gap__games-title,
.page-cau-hoi-thuong-gap__sport-title,
.page-cau-hoi-thuong-gap__coop-title {
    color: var(--text-main, #F2FFF6);
    text-align: center;
}

.page-cau-hoi-thuong-gap__slider-wrapper {
    overflow: hidden;
}

.page-cau-hoi-thuong-gap__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
}

.page-cau-hoi-thuong-gap__game-slide {
    flex: 0 0 200px;
    max-width: 200px;
}

.page-cau-hoi-thuong-gap__banners-top-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.page-cau-hoi-thuong-gap__banner-item img {
    
    
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.page-cau-hoi-thuong-gap__blog-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.page-cau-hoi-thuong-gap__blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-cau-hoi-thuong-gap__btn-outline {
    margin-top: auto;
}

.page-cau-hoi-thuong-gap__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.page-cau-hoi-thuong-gap__blog-slide {
    flex: 0 0 calc(33.333% - 14px);
    max-width: calc(33.333% - 14px);
}