@charset "utf-8";

#faq_sch {
    background: #F9FAFB; 
    margin: 20px auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0 10px;
    max-width: 600px;
}
#faq_sch form {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0;
}
#faq_sch .frm_input {
    flex: 1;
    height: 50px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 10px;
    font-size: 15px;
    color: var(--text-color);
    outline: none;
}
#faq_sch .btn_submit {
    position: static;
    width: 50px;
    height: 50px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}
#faq_sch .btn_submit:hover {
    color: var(--secondary-color);
}

#bo_cate { margin: 30px 0 20px;}
#bo_cate h2 { width: 0; height: 0; font-size: 0; line-height: 0; overflow: hidden; }
#bo_cate ul { padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; }
#bo_cate li { display: block; }
#bo_cate a {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--bg-color);
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
#bo_cate a:hover {
    background: #F3F4F6;
    color: var(--text-color);
}
#bo_cate #bo_cate_on {
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-color: var(--primary-color);
    font-weight: 600;
}
#faq_wrap { margin: 50px 0; }
#faq_wrap h2 { position: absolute; font-size: 0; text-indent: -9999em; line-height: 0; overflow: hidden; }
.faq_admin { margin: 0 5px; text-align: right; }
#faq_wrap ol { 
    margin: 0; 
    padding: 0; 
    list-style: none; 
    border-top: 2px solid var(--text-color);
}
#faq_wrap li { 
    border-bottom: 1px solid var(--border-color); 
}

#faq_con h3 {
    position: relative;
    padding-left: 50px;
    margin: 0;
    transition: background-color 0.3s;
}
#faq_con h3:hover { background-color: #F9FAFB; }
#faq_con h3 a {
    display: block;
    padding: 24px 20px 24px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.4;
}

#faq_con .faq_alp {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    display: inline-block;
    font-size: 20px;
    font-weight: 800;
    font-family: 'Arial', sans-serif;
    color: var(--primary-color);
}

#faq_con .con_inner {
    position: relative;
    display: none;
    padding: 30px 20px 30px 50px;
    background-color: #F9FAFB; 
    border-top: 1px dashed var(--border-color);
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
}

#faq_con .faq_alp_a {
    position: absolute;
    top: 30px;
    left: 10px;
    transform: none; 
    font-size: 20px;
    font-weight: 800;
    font-family: 'Arial', sans-serif;
    color: var(--secondary-color);
    background: transparent;
}

#faq_con .con_inner img { max-width: 100%; height: auto !important; }

#faq_con .con_closer { margin: 20px 0 0; text-align: right; }
#faq_con .closer_btn {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
#faq_con .closer_btn:hover {
    border-color: var(--text-muted);
    color: var(--text-color);
}

.empty_list, .empty_table {
    padding: 80px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 15px;
    border-bottom: 1px solid var(--border-color);
}
.faq_tolist { padding: 0 10px; text-align: right; }
.faq_img { text-align: center; }
#faq_wrap p { line-height: 1.8em; }


@media (max-width: 1024px) {
    #faq_wrap { margin: 30px 0; }
}

@media (max-width: 768px) {
    #bo_cate ul { 
        display: flex;
        flex-wrap: nowrap !important; 
        overflow-x: auto; 
        justify-content: flex-start !important; 
        padding: 0 15px 8px 15px !important; 
        margin: 0 !important; 
        -webkit-overflow-scrolling: touch; 
    }
    #bo_cate ul::-webkit-scrollbar { display: none; }
    #bo_cate ul { -ms-overflow-style: none; scrollbar-width: none; }
    #bo_cate li { flex-shrink: 0; }
    #bo_cate a { padding: 7px 16px; font-size: 14px; }

    #faq_con h3 { padding-left: 36px; }
    #faq_con h3 a { 
        padding: 16px 15px 16px 0; 
        font-size: 16px; 
    }
    #faq_con .faq_alp { 
        font-size: 18px; 
        left: 8px; 
    }

    #faq_con .con_inner { 
        padding: 20px 15px 20px 36px; 
        font-size: 15px; 
    }
    #faq_con .faq_alp_a { 
        font-size: 18px; 
        top: 20px; 
        left: 8px; 
    }
}