/* FAQs Page Styles - Minimal Ultra Clean */

/* Layout */
.faqs-main {
    max-width: 48rem;
    /* max-w-3xl */
    margin: 0 auto;
    padding: 0 1.5rem 3rem 1.5rem;
    /* Removed top padding */
    font-family: 'Open Sans', sans-serif;
    min-height: 60vh;
}

/* Header matched with News */
.page-header {
    background-color: var(--color-light);
    /* Ensure this var exists or use #f3f4f6 */
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    /* Ensure var exists or use #e5e7eb */
    margin-bottom: 2rem;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--color-dark, #1f2937);
    margin: 0 0 1rem 0;
}

.page-description {
    color: #6b7280;
    /* Gray-500 */
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 40rem;
    margin: 0 auto 2rem auto;
    text-align: center;
}

/* Search Bar */
.search-section {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
}

.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 32rem;
    /* max-w-lg */
}

/* Rounded full & shadow equivalent */
.search-wrapper.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 9999px;
    /* rounded-full */
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    /* Left padding for icon */
    border: 1px solid #e5e7eb;
    /* Gray-200 */
    border-radius: 9999px;
    font-size: 1rem;
    outline: none;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.search-input:focus {
    border-color: var(--color-primary, #f97316);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    /* Gray-400 */
    pointer-events: none;
}

/* FAQ List (Accordion) */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid #f3f4f6;
    /* Gray-100 */
    transition: background-color 0.2s;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-dark, #1f2937);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary, #f97316);
}

.faq-icon {
    color: #9ca3af;
    /* Gray-400 */
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary, #f97316);
}

.faq-item.active .faq-question {
    color: var(--color-primary, #f97316);
}


.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    /* Max-height will be set by JS or a large enough value */
    max-height: 500px;
    /* Safe upper limit */
    opacity: 1;
}

.faq-answer p {
    padding: 0 0.5rem 1.5rem 0.5rem;
    color: #4b5563;
    /* Gray-600 */
    line-height: 1.6;
    margin: 0;
}

#no-results-msg {
    text-align: center;
    color: #6b7280;
    margin-top: 2rem;
    font-style: italic;
}

#no-results-msg.hidden {
    display: none;
}

/* Contact CTA */
.contact-cta {
    margin-top: 5rem;
    text-align: center;
    padding: 3rem 1rem;
    background-color: #f9fafb;
    /* Gray-50 */
    border-radius: 1rem;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark, #1f2937);
}

.btn-pill {
    border-radius: 9999px;
    padding-left: 2rem;
    padding-right: 2rem;
    display: inline-block;
}

/* Specific link style for FAQ #3 */
.faq-inline-link {
    text-decoration: underline;
    font-style: italic;
    font-weight: bold;
    color: inherit;
    transition: color 0.3s ease;
}

.faq-inline-link:hover {
    color: var(--color-primary, #f97316);
}