/* style/cau-hoi-thuong-gap.css */

/* Base styles for the page content */
.page-cau-hoi-thuong-gap {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    background-color: var(--secondary-color, #FFFFFF); /* Ensure consistent background */
}

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

/* Hero Section */
.page-cau-hoi-thuong-gap__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #f0f0f0; /* Light background for the section */
}

.page-cau-hoi-thuong-gap__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.page-cau-hoi-thuong-gap__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for large screens */
}

.page-cau-hoi-thuong-gap__hero-text-container {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
}

.page-cau-hoi-thuong-gap__main-title {
    font-size: clamp(2em, 3.5vw, 2.8em); /* Responsive font size */
    color: var(--primary-color, #017439);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.page-cau-hoi-thuong-gap__hero-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

/* CTA Buttons */
.page-cau-hoi-thuong-gap__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Max width for button group */
    margin: 0 auto;
    box-sizing: border-box;
}

.page-cau-hoi-thuong-gap__btn-primary,
.page-cau-hoi-thuong-gap__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Ensure button itself is responsive */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-cau-hoi-thuong-gap__btn-primary {
    background-color: var(--primary-color, #017439);
    color: #ffffff;
    border: 2px solid var(--primary-color, #017439);
}

.page-cau-hoi-thuong-gap__btn-primary:hover {
    background-color: #005f2f; /* Darken primary color */
    border-color: #005f2f;
}

.page-cau-hoi-thuong-gap__btn-secondary {
    background-color: #ffffff;
    color: var(--primary-color, #017439);
    border: 2px solid var(--primary-color, #017439);
}

.page-cau-hoi-thuong-gap__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2f; /* Darken primary color */
}

/* Specific button colors for Register/Login */
a[href*="redirect?plink_id"]:not(.page-cau-hoi-thuong-gap__btn-secondary) {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border-color: #C30808;
}
a[href*="redirect?plink_id"]:not(.page-cau-hoi-thuong-gap__btn-secondary):hover {
    background-color: #a30606; /* Darken register/login color */
    border-color: #a30606;
}

.page-cau-hoi-thuong-gap__btn-primary--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
}

/* FAQ Section */
.page-cau-hoi-thuong-gap__faq-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-cau-hoi-thuong-gap__section-title {
    font-size: 2.2em;
    color: var(--primary-color, #017439);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-cau-hoi-thuong-gap__section-intro {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-cau-hoi-thuong-gap__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    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.15em;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #ffffff;
    position: relative;
    user-select: none;
    list-style: none; /* For details/summary */
}

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