/* 디지털 — 자주 묻는 질문(faq) 전용 CSS (톡 레이아웃 이식, 포인트 컬러 var(--blue)=블루) */
/* 디지털 base.css 엔 FAQ 아코디언 스타일이 없어 이 파일에 전부 담음(톡 base+faqs 이식) */

.faq_list {
    margin: 0 auto;
}

.faq_item {
    border: 1px solid transparent;
    border-radius: 13px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #f5f6f8;
}

.faq_q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 19px;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    color: var(--ink);
    font-family: inherit;
}

.faq_q .qm {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 7px;
    background: var(--blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'GmarketSans', sans-serif;
    font-size: 13px;
    font-weight: 700;
}

.faq_q .qt {
    flex: 1;
}

.faq_q .qx {
    display: inline-flex;
    align-items: center;
    font-size: 21px;
    color: var(--gray2);
    transition: .3s;
}

.faq_a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq_item.open .faq_a {
    max-height: 400px;
}

.faq_item.open .qx {
    transform: rotate(180deg);
    color: var(--blue);
}

.faq_a_inner {
    padding: 0 19px 18px 55px;
    font-size: 13.5px;
    color: var(--gray);
    line-height: 1.75;
}

.faq_a_inner strong {
    color: var(--ink);
}
