@charset "utf-8";

/* ============================================================
   FAQ 아코디언 — Tailwind 보조 스타일
   --sh-faq-q-color        : 접힌 상태 질문 색상 (선택)
   --sh-faq-q-open-color   : 펼친 상태 질문 색상 (선택, text-primary 대체)
   ============================================================ */

.sh-faq-item {
    border-bottom: 1px solid #eaeaea;
}

.sh-faq-item:first-child {
    border-top: 1px solid #eaeaea;
}

.sh-faq[data-q-color] .sh-faq-item:not(.is-open) .sh-faq-item__question-body {
    color: var(--sh-faq-q-color);
}

.sh-faq[data-q-open-color] .sh-faq-item.is-open .sh-faq-item__question-body {
    color: var(--sh-faq-q-open-color);
}

.sh-faq-item__icon {
    transition: transform 0.3s ease;
}

.sh-faq-item.is-open .sh-faq-item__icon {
    transform: rotate(180deg);
}

.sh-faq-item__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.sh-faq-item.is-open .sh-faq-item__panel {
    grid-template-rows: 1fr;
}

.sh-faq-item__panel-inner {
    overflow: hidden;
}
