.page-faq {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    padding-top: 10px; /* Small top padding to avoid header overlap */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.page-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
}

/* Hero Section */
.page-faq__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile */
    align-items: center;
    text-align: center;
    padding: 40px 15px 60px;
    background-color: #0A4B2C; /* Deep Green for hero background */
    border-bottom: 2px solid #1E3A2A; /* Divider */
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image wrapper */
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 16/9; /* Default aspect ratio */
}

.page-faq__hero-content {
    max-width: 900px;
    width: 100%;
}

.page-faq__main-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-faq__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-faq__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-faq__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.page-faq__btn--primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-faq__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-faq__btn--secondary {
    background-color: transparent;
    color: #57E38D; /* Glow */
    border: 2px solid #2E7A4E; /* Border */
}

.page-faq__btn--secondary:hover {
    background-color: #11271B; /* Card BG */
    color: #F2FFF6; /* Text Main */
    border-color: #57E38D; /* Glow */
}

/* Accordion Section */
.page-faq__accordion-section {
    padding: 60px 0;
}

.page-faq__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.page-faq__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #F2C14E; /* Gold */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-faq__faq-category {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #1E3A2A; /* Divider */
}

.page-faq__category-title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 600;
    color: #F2C14E; /* Gold */
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-faq__accordion-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #1E3A2A; /* Divider */
    padding-bottom: 15px;
}

.page-faq__accordion-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.page-faq__accordion-header {
    width: 100%;
    background-color: transparent;
    border: none;
    text-align: left;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.page-faq__accordion-header:hover {
    color: #57E38D; /* Glow */
}

.page-faq__accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    color: #57E38D; /* Glow */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-faq__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-faq__accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 15px; /* Adjust padding for content */
}

.page-faq__accordion-content.active {
    max-height: 500px; /* Sufficiently large height for content */
    padding: 15px 15px 0;
}

.page-faq__accordion-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 10px;
}

.page-faq__inline-link {
    color: #57E38D; /* Glow */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.page-faq__inline-link:hover {
    text-decoration: underline;
    color: #F2C14E; /* Gold */
}

.page-faq__category-image {
    width: 100%;
    max-width: 400px; /* Example size, adjust as needed */
    height: auto;
    display: block;
    margin: 30px auto 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Contact Promo Section */
.page-faq__contact-promo {
    background-color: #0A4B2C; /* Deep Green */
    padding: 80px 15px;
    text-align: center;
    border-top: 2px solid #1E3A2A; /* Divider */
}

.page-faq__contact-promo-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
}

.page-faq__contact-promo-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .page-faq__hero-section {
        flex-direction: column; /* Keep column for hero, as per "强制上图下文、禁止在主图上叠字" rule */
        text-align: center;
        padding-top: 60px;
    }
    .page-faq__hero-image-wrapper {
        margin-bottom: 40px;
    }
    .page-faq__main-title {
        font-size: 3.2rem; /* Larger for desktop */
    }
    .page-faq__description {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .page-faq__hero-image {
        max-width: 100%;
        height: auto;
    }
    .page-faq__category-image {
        max-width: 100%;
        height: auto;
    }
    .page-faq__accordion-content {
        padding: 0 10px; /* Smaller padding for mobile */
    }
    .page-faq__accordion-content.active {
        padding: 10px 10px 0;
    }
    .page-faq__btn {
        width: 100%; /* Full width buttons on small screens */
    }
    .page-faq__cta-buttons {
        flex-direction: column;
    }
}

/* Global image CSS constraint for content area */
.page-faq img {
    max-width: 100%; /* Ensure images don't overflow on mobile */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Remove extra space below images */
}

/* Ensure no content area images are smaller than 200px */
.page-faq__category-image {
    min-width: 200px;
    min-height: 200px;
}
/* For any other img in page-faq that might be added later */
.page-faq img:not(.page-faq__hero-image) {
    min-width: 200px;
    min-height: 200px;
}