.page-faq {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
    padding-top: 10px; /* Small top padding as per rules */
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

/* Hero Section */
.page-faq__hero-section {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column; /* Ensure image above text for mobile, and then stack content */
    align-items: center;
    text-align: center;
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-faq__hero-content {
    max-width: 800px;
}

.page-faq__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Use clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #F2C14E; /* Main color */
}

.page-faq__intro-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Content Section */
.page-faq__content-section {
    max-width: 1000px;
    margin: 0 auto 60px auto;
    padding: 0 15px;
}

.page-faq__section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: #F2C14E;
    text-align: center;
    margin-bottom: 40px;
}

.page-faq__faq-list {
    margin-bottom: 50px;
}

.page-faq__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-faq__faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    color: #FFF6D6;
    text-align: left;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: #1a1a1a;
}

.page-faq__faq-question h3 {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.page-faq__toggle-icon {
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-faq__faq-question[aria-expanded="true"] .page-faq__toggle-icon {
    transform: rotate(45deg);
}

.page-faq__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-faq__faq-answer[hidden] {
    display: none; /* Hide for non-JS, but JS will control max-height */
}

.page-faq__faq-answer--open {
    max-height: 500px; /* Arbitrary large value for smooth transition */
    padding: 0 25px 20px 25px;
}

.page-faq__faq-answer p {
    margin-bottom: 0;
}

.page-faq__inline-link {
    color: #FFD36B; /* Auxiliary color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-faq__security-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 20px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

/* Contact Support Section */
.page-faq__contact-support {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-faq__contact-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: #F2C14E;
    margin-bottom: 15px;
}

.page-faq__contact-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ccc;
}

.page-faq__contact-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
    color: #0A0A0A; /* Dark text on bright button */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-faq__contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4); /* Glow effect */
}

.page-faq__contact-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 30px;
    border-radius: 8px;
    min-width: 200px;
    min-height: 200px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-faq__hero-section,
    .page-faq__content-section,
    .page-faq__contact-support {
        padding: 0 10px;
    }

    .page-faq__main-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .page-faq__faq-question {
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .page-faq__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    .page-faq__faq-answer--open {
        padding: 0 20px 15px 20px;
    }

    .page-faq__contact-support {
        padding: 30px 20px;
    }

    /* Ensure content area images are responsive and not too small */
    .page-faq__hero-image,
    .page-faq__security-image,
    .page-faq__contact-image {
        max-width: 100%;
        height: auto;
    }

    /* Enforce min display size for content images */
    .page-faq__content-section img {
        min-width: 200px; /* Ensure content images are not smaller than 200px */
        min-height: 200px;
        width: 100%; /* Make them fill width */
    }
}

@media (max-width: 480px) {
    .page-faq__hero-section {
        margin-bottom: 30px;
    }
    .page-faq__main-title {
        font-size: clamp(1.3rem, 7vw, 2.2rem);
    }
    .page-faq__intro-description {
        font-size: 1rem;
    }
    .page-faq__section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }
    .page-faq__faq-question {
        font-size: 1rem;
    }
    .page-faq__contact-support {
        padding: 25px 15px;
    }
    .page-faq__contact-button {
        padding: 10px 25px;
        font-size: 1rem;
    }
}