.page-faq {
    background-color: var(--background); /* Assuming --background is #08160F from shared.css */
    color: var(--text-main); /* Default text color for the page content */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

/* --- Hero Section --- */
.page-faq__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-faq__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width */
    margin-bottom: 30px; /* Space between image and content */
}

.page-faq__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-faq__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: var(--text-main); /* Light text on dark background */
}

.page-faq__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Using clamp as required, not fixed large size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-faq__intro-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-faq__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Limit button group width */
    margin: 0 auto;
}

.page-faq__btn-primary,
.page-faq__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
    min-width: 180px; /* Ensure buttons are not too small */
}

.page-faq__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff; /* White text on green gradient */
    border: 2px solid transparent;
}

.page-faq__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-faq__btn-secondary {
    background: transparent;
    color: var(--gold); /* Gold text */
    border: 2px solid var(--gold); /* Gold border */
}

.page-faq__btn-secondary:hover {
    background: var(--gold);
    color: #08160F; /* Dark background color for text on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* --- Content Area --- */
.page-faq__content-area {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: var(--card-bg); /* Darker background for content area */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-main); /* Light text on dark background */
}

.page-faq__section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--gold); /* Gold color for section titles */
}

.page-faq__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

/* --- FAQ List --- */
.page-faq__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-faq__faq-item {
    background-color: var(--deep-green); /* Slightly lighter dark green for items */
    border-radius: 8px;
    border: 1px solid var(--border); /* Border color */
    overflow: hidden;
    color: var(--text-main);
}

.page-faq__faq-item details {
    border: none; /* Remove default details border */
}

.page-faq__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--deep-green);
    color: var(--text-main);
    transition: background-color 0.3s ease;
}

.page-faq__faq-question:hover {
    background-color: #1A422D; /* Lighter shade of deep green on hover */
}

.page-faq__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--gold);
    margin-left: 15px;
}

/* Hide default details marker */
.page-faq__faq-item summary {
    list-style: none;
}
.page-faq__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-faq__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    max-height: 0; /* For JS based toggle, if not using native details */
    overflow: hidden; /* For JS based toggle */
    transition: max-height 0.3s ease-out, padding 0.3s ease-out; /* For JS based toggle */
}

.page-faq__faq-item[open] .page-faq__faq-answer {
    max-height: 2000px; /* Enough for content, for JS based toggle */
    padding-top: 10px; /* Add padding when open */
    transition: max-height 0.5s ease-in, padding 0.5s ease-in;
}

.page-faq__faq-answer p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-faq__answer-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-faq__answer-list li {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.page-faq__answer-list strong {
    color: var(--text-main);
}

.page-faq__faq-answer a {
    color: var(--gold);
    text-decoration: underline;
}

.page-faq__faq-answer a:hover {
    color: var(--glow);
}

.page-faq__image-wrapper {
    margin: 20px 0;
    text-align: center;
}

.page-faq__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center the image */
}

/* --- Inline CTA Buttons for FAQ Answers --- */
.page-faq__cta-buttons--inline {
    justify-content: flex-start;
    margin-top: 20px;
    gap: 10px;
    max-width: none; /* Remove max-width for inline buttons */
}

.page-faq__cta-buttons--inline .page-faq__btn-primary,
.page-faq__cta-buttons--inline .page-faq__btn-secondary {
    min-width: unset; /* Allow buttons to size based on content */
    padding: 10px 20px;
    font-size: 0.95em;
}

/* --- CTA Section --- */
.page-faq__cta-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 60px 20px;
    background-color: var(--deep-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 40px;
    color: var(--text-main);
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-faq__cta-content {
    flex: 1;
}

.page-faq__cta-title {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-faq__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.page-faq__cta-image-wrapper {
    flex: 0 0 400px; /* Fixed width for desktop, flexible on mobile */
    max-width: 400px;
    text-align: center;
}

.page-faq__cta-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .page-faq__hero-content {
        padding: 0 15px;
    }

    .page-faq__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }

    .page-faq__cta-section {
        flex-direction: column;
        text-align: center;
    }

    .page-faq__cta-image-wrapper {
        flex: none;
        max-width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-faq {
        font-size: 15px;
    }

    .page-faq__hero-section {
        padding: 10px 15px 40px;
    }

    .page-faq__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em) !important;
    }

    .page-faq__intro-description {
        font-size: 1em;
    }

    .page-faq__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
    }

    .page-faq__btn-primary,
    .page-faq__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-faq__content-area,
    .page-faq__cta-section {
        padding: 30px 15px !important;
        margin: 30px auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-faq__section-title {
        font-size: 1.8em;
    }

    .page-faq__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }

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

    /* Images responsiveness */
    .page-faq img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-faq__image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* Video responsiveness (if any, though not in this specific content) */
    .page-faq video,
    .page-faq__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-faq__video-section,
    .page-faq__video-container,
    .page-faq__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-faq__video-section {
        padding-top: 10px !important;
    }
}