.onbu-faq-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Pretendard', sans-serif;
	margin-top: -30px;
}

.onbu-faq-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 1px 0;  /* 제목 아래 간격 */
    padding: 0;
}

.onbu-faq-item {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    margin: 0;  /* 마진 제거 */
    padding: 0;
	margin-bottom: -15px !important; /* ✅ 마진을 음수로 설정 */
}


/* 질문 디자인 */
.onbu-faq-question {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    background: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.onbu-faq-question:hover {
    color: #333;
    background: #f8f9fa;
}

/* 활성화된 질문 */
.onbu-faq-question.active {
    background: #f8f9fa;
}

/* 기본적으로 숨김 */
.onbu-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    background: #ffffff;
    border-top: 1px solid #eaeaea;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

.onbu-faq-answer p {
    margin: 0;
    padding: 0;
    width: 100%;
    word-break: keep-all;
    word-wrap: break-word;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 아이콘 스타일 */
.onbu-faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #999;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
}

/* 아이콘 회전 */
.onbu-faq-question.active .onbu-faq-icon {
    transform: rotate(45deg);
}

/* 활성화된 질문의 답변 */
.onbu-faq-answer.open {
    height: auto;
    max-height: none;
    padding: 30px 20px;
    background: #f8f9fa;
}

.onbu-faq-answer.open p {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    /* 기본적으로 padding 15px 적용 */
    .onbu-faq-container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* .custom-box 안에 있을 경우 padding 1px */
    .custom-box .onbu-faq-container {
        padding-left: 0 !important;
        padding-right: 1px;
    }
}



