/* ============================================================
   FAQ SECTION (Custom Accordion)
   ============================================================ */

.ust-faq-section {
    width: 100%;
    padding: 50px 20px;
    background: #ffffff;
    box-sizing: border-box;
}



.ust-faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.ust-faq-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ust-section-text-color, var(--astro-primary, #E06D2C));
    margin-bottom: 8px;
}

.ust-faq-title {
    font-family: var(--astro-font-serif, 'Cinzel', serif);
    font-size: 32px;
    font-weight: 700;
    color: var(--ust-section-text-color, var(--astro-heading, #1C1917));
    margin: 0 0 12px 0;
    line-height: 1.25;
}

.ust-faq-subheading {
    font-size: 16px;
    color: var(--ust-section-text-color, var(--astro-text-muted, #78716C));
    margin: 0;
    line-height: 1.5;
}

.ust-faq-list {
    display: flex;
    flex-direction: column;
}

.ust-faq-item {
    border-bottom: 1px solid var(--astro-border, #F3E8DC);
    transition: background-color 0.2s ease;
}

.ust-faq-item:first-child {
    border-top: 1px solid var(--astro-border, #F3E8DC);
}

.ust-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: var(--astro-heading, #1C1917);
    text-align: left;
    gap: 24px;
    outline: none;
    transition: color 0.2s ease;
}

.ust-faq-question:hover {
    color: var(--astro-primary, #E06D2C);
}

.ust-faq-question-text {
    flex: 1;
}

.ust-faq-icon {
    position: relative;
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--astro-primary-light, #FFF7ED);
    border: 1px solid var(--astro-border-warm, #FED7AA);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.2s ease;
}

.ust-faq-icon i {
    color: var(--astro-primary, #E06D2C);
    font-size: 14px;
    transition: color 0.2s ease;
}

/* Active State */
.ust-faq-item.is-active .ust-faq-question {
    color: var(--astro-primary, #E06D2C);
}

.ust-faq-item.is-active .ust-faq-icon {
    background: var(--astro-primary, #E06D2C);
    border-color: var(--astro-primary, #E06D2C);
    transform: rotate(180deg);
}

.ust-faq-item.is-active .ust-faq-icon i {
    color: #ffffff;
}

/* Answer */
.ust-faq-answer {
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ust-faq-answer[hidden] {
    display: none;
}

.ust-faq-answer-inner {
    padding: 0 48px 24px 0;
    font-size: 16px;
    line-height: 1.7;
    color: var(--astro-text, #44403C);
}

.ust-faq-answer-inner p {
    margin: 0 0 12px;
}

.ust-faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.ust-faq-answer-inner ul,
.ust-faq-answer-inner ol {
    margin: 0 0 12px 20px;
    padding: 0;
}

.ust-faq-answer-inner a {
    color: var(--astro-primary, #E06D2C);
    text-decoration: underline;
}

.ust-faq-answer-inner a:hover {
    color: var(--astro-primary-hover, #C85718);
}

/* Responsive */
@media (max-width: 768px) {
    .ust-faq-section {
        padding: 45px 16px;
    }

    .ust-faq-title {
        font-size: 24px;
    }

    .ust-faq-question {
        padding: 18px 0;
        font-size: 16px;
        gap: 16px;
    }

    .ust-faq-icon {
        flex-basis: 28px;
        width: 28px;
        height: 28px;
    }

    .ust-faq-answer-inner {
        padding: 0 32px 18px 0;
        font-size: 14px;
        line-height: 1.6;
    }
}