/* style/cau-hoi-thuong-gap.css */
/* Base Styles */
.page-cau-hoi-thuong-gap {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF6D6; /* Text Main */
    background: #0A0A0A; /* Background */
    padding-bottom: 50px; /* Add some space above footer */
}

/* Hero Section */
.page-cau-hoi-thuong-gap__hero-section {
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 40px;
}

.page-cau-hoi-thuong-gap__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 20px; /* Space between image and content */
}

.page-cau-hoi-thuong-gap__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-cau-hoi-thuong-gap__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Glow */
}

.page-cau-hoi-thuong-gap__intro-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
    opacity: 0.9;
}

.page-cau-hoi-thuong-gap__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

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

.page-cau-hoi-thuong-gap__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #0A0A0A; /* Dark text for contrast on bright gradient */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4); /* Glow */
}

.page-cau-hoi-thuong-gap__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6); /* Enhanced Glow */
}

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

.page-cau-hoi-thuong-gap__btn-secondary:hover {
    background: #F2C14E; /* Main color */
    color: #0A0A0A; /* Background color for text */
    transform: translateY(-2px);
}

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

/* Section Titles */
.page-cau-hoi-thuong-gap__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.3); /* Glow */
}

/* FAQ Section */
.page-cau-hoi-thuong-gap__faq-list {
    margin-top: 30px;
}

.page-cau-hoi-thuong-gap__faq-item {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-cau-hoi-thuong-gap__faq-item[open] {
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.2); /* Subtle glow when open */
}

.page-cau-hoi-thuong-gap__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.15rem;
    color: #FFF6D6; /* Text Main */
    list-style: none; /* Remove default marker */
    position: relative;
    transition: background-color 0.3s ease;
}

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

.page-cau-hoi-thuong-gap__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1); /* Slight highlight on hover */
}

.page-cau-hoi-thuong-gap__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-cau-hoi-thuong-gap__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #F2C14E; /* Main color */
    transition: transform 0.3s ease;
}

.page-cau-hoi-thuong-gap__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
    line-height: 1.7;
    border-top: 1px solid rgba(58, 42, 18, 0.5); /* Lighter border for answer */
    margin-top: -1px; /* Overlap border for clean look */
}

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

.page-cau-hoi-thuong-gap__faq-answer a {
    color: #FFD36B; /* Auxiliary color for links */
    text-decoration: underline;
}

.page-cau-hoi-thuong-gap__faq-answer a:hover {
    color: #F2C14E; /* Main color on hover */
}

.page-cau-hoi-thuong-gap__faq-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* CTA Bottom Section */
.page-cau-hoi-thuong-gap__cta-bottom {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(180deg, #0A0A0A 0%, rgba(17, 17, 17, 0.8) 100%); /* Slight gradient for bottom */
    border-top: 1px solid #3A2A12; /* Border */
}

.page-cau-hoi-thuong-gap__text-center {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
    opacity: 0.9;
}

.page-cau-hoi-thuong-gap__cta-buttons--bottom {
    margin-top: 20px;
}

/* Generic image styling */
.page-cau-hoi-thuong-gap img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Placeholder styles for other modules (as per strict requirement) */
/* Long Gold Text Section (if present on other pages) */
.page-cau-hoi-thuong-gap__home-content {
    border: 1px solid #FBB00D;
    border-radius: 10px;
    height: 650px;
    overflow-y: auto;
    margin: 40px auto;
    max-width: 1200px;
    padding: 20px;
}

/* Game Sliders (if present on other pages) */
.page-cau-hoi-thuong-gap__row-games,
.page-cau-hoi-thuong-gap__row-sport,
.page-cau-hoi-thuong-gap__row-coop {
    background-color: #1A202C;
    padding: 40px 20px;
    max-width: 1330px;
    margin: 0 auto;
    margin-top: 40px;
}

.page-cau-hoi-thuong-gap__games-title,
.page-cau-hoi-thuong-gap__sport-title,
.page-cau-hoi-thuong-gap__coop-title {
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.page-cau-hoi-thuong-gap__slider-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.page-cau-hoi-thuong-gap__slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    transition: transform 0.5s ease-in-out;
}

.page-cau-hoi-thuong-gap__game-slide {
    flex: 0 0 200px;
    max-width: 200px;
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Partner Banners (if present on other pages) */
.page-cau-hoi-thuong-gap__banners-top-wrapper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-cau-hoi-thuong-gap__banner-item img {
    
    
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: grayscale(100%) opacity(0.7); /* Example subtle effect */
    transition: filter 0.3s ease;
}

.page-cau-hoi-thuong-gap__banner-item img:hover {
    filter: grayscale(0%) opacity(1);
}

/* Blog/News Sections (if present on other pages) */
.page-cau-hoi-thuong-gap__blog-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch; /* Ensure cards in a row have equal height */
    margin-top: 40px;
}

.page-cau-hoi-thuong-gap__blog-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cau-hoi-thuong-gap__blog-card-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-cau-hoi-thuong-gap__blog-card-image {
    width: 100%;
    height: 200px; /* Fixed height for blog card images */
    object-fit: cover;
    display: block;
}

.page-cau-hoi-thuong-gap__blog-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    color: #FFF6D6; /* Text Main */
}

.page-cau-hoi-thuong-gap__blog-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E; /* Main color */
}

.page-cau-hoi-thuong-gap__blog-card-meta {
    font-size: 0.85rem;
    color: rgba(255, 246, 214, 0.7); /* Lighter text for meta */
    margin-bottom: 15px;
}

.page-cau-hoi-thuong-gap__blog-card-excerpt {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-cau-hoi-thuong-gap__btn-outline {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #F2C14E; /* Main color */
    color: #F2C14E; /* Main color */
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    align-self: flex-start; /* Align to the start of the flex container */
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: auto; /* Push to bottom of flex container */
}

.page-cau-hoi-thuong-gap__btn-outline:hover {
    background-color: #F2C14E; /* Main color */
    color: #0A0A0A; /* Background color for text */
}

.page-cau-hoi-thuong-gap__blog-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
}

.page-cau-hoi-thuong-gap__blog-slide {
    flex: 0 0 calc(33.333% - 14px); /* For 3-column layout with 20px gap */
    max-width: calc(33.333% - 14px);
}


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

    /* HERO Section */
    .page-cau-hoi-thuong-gap__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

    .page-cau-hoi-thuong-gap__main-title {
        font-size: 2.2rem; /* Smaller for mobile */
        margin-bottom: 10px;
    }

    .page-cau-hoi-thuong-gap__intro-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-cau-hoi-thuong-gap__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Add padding to button container */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Buttons */
    .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: 12px 20px;
        font-size: 0.95rem;
    }

    /* General containers and images */
    .page-cau-hoi-thuong-gap__container,
    .page-cau-hoi-thuong-gap__faq-section,
    .page-cau-hoi-thuong-gap__cta-bottom,
    .page-cau-hoi-thuong-gap__home-content,
    .page-cau-hoi-thuong-gap__row-games,
    .page-cau-hoi-thuong-gap__row-sport,
    .page-cau-hoi-thuong-gap__row-coop,
    .page-cau-hoi-thuong-gap__slider-wrapper,
    .page-cau-hoi-thuong-gap__banners-top-wrapper,
    .page-cau-hoi-thuong-gap__blog-masonry,
    .page-cau-hoi-thuong-gap__blog-slider-track {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-cau-hoi-thuong-gap img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-cau-hoi-thuong-gap__faq-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Section Titles */
    .page-cau-hoi-thuong-gap__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
        margin-top: 40px;
    }

    /* FAQ List */
    .page-cau-hoi-thuong-gap__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

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

    /* Placeholder specific media queries (from prompt) */
    .page-cau-hoi-thuong-gap__blog-masonry {
        grid-template-columns: 1fr; /* Single column for blog masonry */
    }
    .page-cau-hoi-thuong-gap__game-slide {
        flex: 0 0 160px;
        max-width: 160px;
    }
    .page-cau-hoi-thuong-gap__banners-top-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columns for banners */
    }
    .page-cau-hoi-thuong-gap__banner-item img {
         /* Adjust banner image size for mobile */
        
    }
    .page-cau-hoi-thuong-gap__blog-slide {
        flex: 0 0 100%; /* Single column for blog slider items */
        max-width: 100%;
    }
    .page-cau-hoi-thuong-gap__slider-track,
    .page-cau-hoi-thuong-gap__blog-slider-track {
        display: flex; /* Ensure flex for horizontal scroll */
        overflow-x: auto; /* Enable horizontal scroll for sliders */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scroll-snap-type: x mandatory; /* Snap to items */
    }
    .page-cau-hoi-thuong-gap__game-slide,
    .page-cau-hoi-thuong-gap__blog-slide {
        scroll-snap-align: start; /* Snap alignment */
    }
}