@charset "utf-8";
/* 1:1문의 스킨 - 서브타이틀(#bo_head)은 default.css와 동일 유지, 고정 헤더는 main padding-top으로 처리 */

#bo_filter .qa_btn_other {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.9rem;
    color: #6b7280;
    text-decoration: none;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s;
}
#bo_filter .qa_btn_other:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

/* QA 목록 페이지네이션 (get_paging: .pg_wrap > .pg) — 가운데 정렬 */
.qa_pagination {
    margin: 2rem auto 3rem;
    padding: 0 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    float: none !important;
    clear: both;
}
.qa_pagination .pg_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    float: none !important;
    margin: 0 auto;
}
.qa_pagination .pg {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 auto;
}
.qa_pagination .pg_page,
.qa_pagination .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.qa_pagination .pg_page {
    color: #4b5563;
    background: #fff;
    border: 1px solid #e5e7eb;
}
.qa_pagination .pg_page:hover {
    background: #f9fafb;
    border-color: var(--color-primary, #85c27a);
    color: var(--color-primary, #85c27a);
}
.qa_pagination .pg_start,
.qa_pagination .pg_prev,
.qa_pagination .pg_next,
.qa_pagination .pg_end {
    min-width: auto;
    padding: 0 14px;
    font-size: 0.8125rem;
    white-space: nowrap;
}
.qa_pagination .pg_current {
    background: var(--color-primary, #85c27a);
    border: 1px solid var(--color-primary, #85c27a);
    color: #fff;
    font-weight: 700;
}

/* QA 목록 - 세로 나열 카드 리스트 (grid 없이 하나씩) */
#bo_list { margin-bottom: 2rem; }
#bo_cate { display: none !important; }

#bo_list .qa_list_ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
#bo_list .qa_list_ul .qa_card {
    position: relative;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
#bo_list .qa_list_ul .qa_card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    border-color: var(--color-primary, #85c27a);
}
#bo_list .qa_list_ul .qa_card {
    display: flex;
    flex-direction: column;
}
#bo_list .qa_list_ul .qa_card_link {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.5rem 0.75rem;
    text-decoration: none;
    color: inherit;
    flex: 1;
    position: relative;
}
#bo_list .qa_list_ul .qa_card_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}
#bo_list .qa_list_ul .qa_card_program {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
}
#bo_list .qa_list_ul .qa_card_top_right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
#bo_list .qa_list_ul .qa_card_regdate {
    font-size: 0.8125rem;
    color: #9ca3af;
}
#bo_list .qa_list_ul .qa_card_chk {
    cursor: pointer;
    margin: 0;
    display: inline-flex;
    align-items: center;
}
#bo_list .qa_list_ul .qa_card_program {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary, #85c27a);
    margin-bottom: 0.5rem;
    display: block;
}
#bo_list .qa_list_ul .qa_card_subject {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#bo_list .qa_list_ul .qa_card_info {
    margin: 0;
    padding: 0;
    padding-top: 1.75rem;
    margin-top: auto;
    font-size: 0.875rem;
    color: #4b5563;
    border-top: 1px solid #f3f4f6;
}
#bo_list .qa_list_ul .qa_card_info_row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}
#bo_list .qa_list_ul .qa_card_info_row:last-child { margin-bottom: 0; }
#bo_list .qa_list_ul .qa_card_info dt {
    margin: 0;
    font-weight: 600;
    color: #6b7280;
    min-width: 5.5em;
    flex-shrink: 0;
}
#bo_list .qa_list_ul .qa_card_info dd {
    margin: 0;
    color: #1f2937;
}
#bo_list .qa_list_ul .qa_card_footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem 1.5rem;
    border-top: 1px solid #f3f4f6;
}
#bo_list .qa_list_ul .status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    flex-shrink: 0;
}
#bo_list .qa_list_ul .status.done {
    background-color: #d1fae5;
    color: #065f46;
}
#bo_list .qa_list_ul .status.ready {
    background-color: #fef3c7;
    color: #92400e;
}
#bo_list .qa_list_ul .qa_btn_cancel {
    font-size: 0.8125rem;
    color: #dc2626;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    background: #fff;
    transition: all 0.2s;
    flex-shrink: 0;
}
#bo_list .qa_list_ul .qa_btn_cancel:hover {
    background-color: #dc2626;
    color: #fff;
    border-color: #dc2626;
}
#bo_list .empty_list {
    padding: 60px 20px;
    text-align: center;
    color: #6b7280;
    font-size: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

@media only screen and (max-width: 768px) {
    #bo_list .qa_list_ul .qa_card_link { padding: 1.25rem; }
    #bo_list .qa_list_ul .qa_card_subject { font-size: 1rem; }
}

/* 본인인증 페이지 (qaverify) - 서브타이틀 아래 영역 */
.qa_verify_page { margin: 2rem 0; }
.qa_verify_box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.qa_verify_tit { margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 700; color: #333; text-align: center; }
.qa_verify_desc { margin: 0 0 1.5rem; font-size: 0.95rem; color: #555; line-height: 1.5; text-align: center; }
.qa_verify_form { margin: 0; }
.qa_verify_row { margin-bottom: 1rem; }
.qa_verify_row label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.95rem; color: #333; }
.qa_verify_row .frm_input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}
.qa_verify_row .frm_input:focus { outline: none; border-color: var(--color-primary, #85c27a); }
.qa_verify_err { margin: 0 0 1rem; font-size: 0.9rem; color: #c00; text-align: center; }
.qa_verify_btn_wrap { margin-top: 1.5rem; text-align: center; }
.qa_verify_btn {
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    background-color: var(--color-primary, #85c27a);
    color: var(--color-primary-text, #fff);
    cursor: pointer;
}
.qa_verify_btn:hover { opacity: 0.9; }

/* QA 상세보기 */
article.bo_bg section#bo_v .wrapper.qa_v_wrap {
    background: transparent !important;
    border-radius: 0;
    border-bottom: none;
}
article.bo_bg.qa_view_page { background: none !important; padding: 0; }
.qa_v_wrap {
    padding: 2rem 0 3rem;
}
.qa_v_card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.qa_v_header {
    padding: 1.5rem 1.75rem;
}
.qa_v_title_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}
.qa_v_program {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}
.qa_v_meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.qa_v_regdate {
    font-size: 0.8125rem;
    color: #9ca3af;
}
.qa_v_header .status {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}
.qa_v_header .status.done { background: #d1fae5; color: #065f46; }
.qa_v_header .status.ready { background: #fef3c7; color: #92400e; }
.qa_v_info {
    margin: 0;
    padding: 0;
}
.qa_v_info_row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}
.qa_v_info_row:last-child { margin-bottom: 0; }
.qa_v_info dt { margin: 0; font-weight: 600; color: #6b7280; min-width: 5.5em; }
.qa_v_info dd { margin: 0; color: #1f2937; }
.qa_v_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    border-top: 1px solid #f3f4f6;
}
.qa_v_btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
}
.qa_v_btn:hover { background: #f3f4f6; border-color: #d1d5db; }
.qa_v_btn_list {
    border-color: var(--color-primary, #85c27a);
    color: var(--color-primary, #85c27a);
}
.qa_v_btn_list:hover { background: var(--color-primary, #85c27a); color: #fff; }
.qa_v_btn_del { border-color: #fecaca; color: #dc2626; }
.qa_v_btn_del:hover { background: #dc2626; color: #fff; border-color: #dc2626; }
.qa_bo_v_atc { margin-top: 1.5rem; }
.qa_v_content_wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}
.qa_v_content_tit {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}
.qa_v_content { line-height: 1.7; word-break: break-all; }
.qa_v_nav { margin: 1.5rem 0; }
#bo_v .bo_v_nb { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.5rem; }
#bo_v .bo_v_nb li { margin: 0; }
#bo_v .bo_v_nb a {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #4b5563;
    text-decoration: none;
    background: #fff;
    transition: all 0.2s;
}
#bo_v .bo_v_nb a:hover { background: #f9fafb; border-color: var(--color-primary, #85c27a); color: var(--color-primary, #85c27a); }
.qa_v_rel { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e5e7eb; }
.qa_v_rel_tit { margin: 0 0 1rem; font-size: 1.1rem; font-weight: 600; color: #374151; }
#bo_v_rel .qa_rel_list { list-style: none; margin: 0; padding: 0; }
#bo_v_rel .qa_rel_list li { margin-bottom: 0.5rem; }
#bo_v_rel .qa_rel_list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 12px 16px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.2s;
}
#bo_v_rel .qa_rel_list a:hover { border-color: var(--color-primary, #85c27a); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
#bo_v_rel .qa_rel_list .status { flex-shrink: 0; font-size: 0.75rem; padding: 4px 8px; border-radius: 20px; }
#bo_v_rel .qa_rel_list .rel_subject { flex: 1; font-weight: 500; }
#bo_v_rel .qa_rel_list .rel_date { font-size: 0.8125rem; color: #9ca3af; }

@media only screen and (max-width: 768px) {
    .qa_v_header, .qa_v_actions { padding: 1.25rem 1rem; }
    .qa_v_title_row { flex-direction: column; align-items: flex-start; }
    .qa_v_program { font-size: 1.1rem; }
    .qa_v_content_wrap { padding: 1.25rem 1rem; }
}
