/*
=====================================================
QNA
=====================================================
*/

.ibp-single-qna-page,
.ibp-archive-qna-page{

    width:100%;

    min-height:100vh;

    margin:0;

    padding:40px 20px;

    box-sizing:border-box;

    background:#f5f7f9;

}


/*
=====================================================
CONTAINER
=====================================================
*/

.ibp-single-qna-container,
.ibp-archive-qna-container{

    width:100%;

    max-width:1000px;

    margin:0 auto;

    box-sizing:border-box;

}


/*
=====================================================
SINGLE
=====================================================
*/

.ibp-single-qna-container{

    padding:35px;

    background:#ffffff;

    border:1px solid #e5e7eb;

    border-radius:18px;

}


/*
=====================================================
BREADCRUMB
=====================================================
*/

.ibp-qna-breadcrumb{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:8px;

    margin-bottom:25px;

    padding-bottom:18px;

    border-bottom:1px solid #eeeeee;

    font-size:14px;

    line-height:1.5;

}

.ibp-qna-breadcrumb a{

    text-decoration:none;

}


/*
=====================================================
HEADER
=====================================================
*/

.ibp-archive-qna-header{

    margin-bottom:30px;

    text-align:center;

}

.ibp-archive-qna-header h1{

    margin:10px 0;

    font-size:36px;

    line-height:1.3;

}

.ibp-archive-qna-header p{

    max-width:700px;

    margin:0 auto;

    line-height:1.8;

}


/*
=====================================================
SEARCH
=====================================================
*/

.ibp-qna-search{

    margin-bottom:30px;

}

.ibp-qna-search form{

    display:flex;

    gap:10px;

}

.ibp-qna-search input{

    flex:1;

    min-width:0;

    padding:13px 15px;

    border:1px solid #d1d5db;

    border-radius:8px;

    font-size:15px;

    box-sizing:border-box;

}

.ibp-qna-search button{

    padding:13px 20px;

    border:0;

    border-radius:8px;

    cursor:pointer;

    font-weight:600;

}


/*
=====================================================
SECTION HEADING
=====================================================
*/

.ibp-qna-section-heading{

    margin-bottom:18px;

}

.ibp-qna-section-heading h2{

    margin:0;

    font-size:24px;

}

.ibp-qna-section-heading p{

    margin:6px 0 0;

    font-size:14px;

}


/*
=====================================================
KATEGORI
=====================================================
*/

.ibp-qna-kategori{

    margin-bottom:35px;

    padding:25px;

    border:1px solid #e5e7eb;

    border-radius:14px;

    background:#ffffff;

}

.ibp-qna-kategori-list{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

}

.ibp-qna-category-link{

    display:inline-flex;

    align-items:center;

    gap:6px;

    padding:9px 14px;

    border:1px solid #e5e7eb;

    border-radius:20px;

    text-decoration:none;

    font-size:14px;

    background:#ffffff;

}

.ibp-qna-category-link.active{

    font-weight:600;

}

.ibp-qna-category-count{

    font-size:12px;

}


/*
=====================================================
SIMPLE LIST
=====================================================
*/

.ibp-simple-qna-list{

    display:flex;

    flex-direction:column;

    gap:12px;

}


/*
=====================================================
ITEM
=====================================================
*/

.ibp-simple-qna-item{

    width:100%;

    overflow:hidden;

    border:1px solid #e5e7eb;

    border-radius:12px;

    background:#ffffff;

}


/*
=====================================================
LINK
=====================================================
*/

.ibp-simple-qna-link{

    display:flex;

    align-items:center;

    width:100%;

    min-height:64px;

    gap:20px;

    padding:15px;

    box-sizing:border-box;

    text-decoration:none;

}


/*
=====================================================
TITLE
=====================================================
*/

.ibp-simple-qna-title{

    flex:1;

    min-width:0;

    font-size:17px;

    font-weight:600;

    line-height:1.5;

    overflow-wrap:anywhere;

}


/*
=====================================================
CATEGORY
=====================================================
*/

.ibp-simple-qna-category{

    flex:0 0 160px;

    font-size:13px;

    font-weight:600;

    line-height:1.4;

    text-align:left;

}


/*
=====================================================
ARROW
=====================================================
*/

.ibp-simple-qna-arrow{

    flex:0 0 30px;

    text-align:center;

    font-size:22px;

}


/*
=====================================================
SINGLE ARTICLE HEADER
=====================================================
*/

.ibp-single-qna-article-header{

    margin-bottom:25px;

    padding-bottom:25px;

    border-bottom:1px solid #eeeeee;

}

.ibp-single-qna-article-title{

    margin:0;

    font-size:34px;

    line-height:1.3;

}

.ibp-single-qna-article-count{

    margin:10px 0 0;

    font-size:14px;

}


/*
=====================================================
TOC
=====================================================
*/

.ibp-single-qna-toc{

    margin:20px 0 30px;

    padding:16px;

    border:1px solid #e5e7eb;

    border-radius:12px;

    background:#f8fafc;

}

.ibp-single-qna-toc-label{

    display:block;

    margin-bottom:8px;

    font-size:15px;

    font-weight:700;

}

.ibp-single-qna-select{

    display:block;

    width:100%;

    min-height:44px;

    padding:9px 12px;

    border:1px solid #d1d5db;

    border-radius:8px;

    background:#ffffff;

    font-size:15px;

    box-sizing:border-box;

}


/*
=====================================================
CATEGORY
=====================================================
*/

.ibp-single-qna-category{

    display:inline-block;

    margin-bottom:15px;

    padding:6px 12px;

    border-radius:20px;

    background:#f1f5f9;

    font-size:13px;

    font-weight:600;

}


/*
=====================================================
QUESTION
=====================================================
*/

.ibp-qna-question{

    margin-bottom:25px;

    padding:25px;

    border:1px solid #e5e7eb;

    border-radius:12px;

    background:#ffffff;

}

.ibp-qna-label{

    margin-bottom:8px;

    font-size:13px;

    font-weight:700;

}

.ibp-qna-question h2{

    margin:0;

    font-size:26px;

    line-height:1.5;

}


/*
=====================================================
SECTION
=====================================================
*/

.ibp-qna-section{

    margin:25px 0;

    padding:25px;

    border:1px solid #e5e7eb;

    border-radius:12px;

    background:#f8fafc;

}

.ibp-qna-section h2{

    margin:0 0 15px;

    font-size:22px;

}

.ibp-qna-section p{

    margin:0;

    line-height:1.8;

    text-align:justify;

}


/*
=====================================================
JAWABAN
=====================================================
*/

.ibp-qna-answer{

    border-left:4px solid #2563eb;

}


/*
=====================================================
PENJELASAN
=====================================================
*/

.ibp-qna-explanation{

    border-left:4px solid #64748b;

}


/*
=====================================================
TIPS
=====================================================
*/

.ibp-qna-tips{

    border-left:4px solid #2563eb;

}


/*
=====================================================
CATATAN
=====================================================
*/

.ibp-qna-catatan{

    border-left:4px solid #64748b;

}


/*
=====================================================
NAVIGATION
=====================================================
*/

.ibp-single-qna-navigation{

    display:grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items:center;

    gap:15px;

    margin:40px 0 25px;

    padding:18px;

    border:1px solid #e5e7eb;

    border-radius:12px;

    background:#f8fafc;

}

.ibp-qna-nav-prev{

    text-align:left;

}

.ibp-qna-nav-next{

    text-align:right;

}

.ibp-qna-nav-position{

    text-align:center;

    white-space:nowrap;

    font-size:14px;

    font-weight:600;

}

.ibp-qna-nav-button{

    display:flex;

    flex-direction:column;

    gap:5px;

    padding:12px 16px;

    border-radius:8px;

    text-decoration:none;

}

.ibp-qna-nav-button strong{

    font-size:14px;

    line-height:1.4;

}


/*
=====================================================
BOTTOM
=====================================================
*/

.ibp-single-qna-bottom{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:12px;

    margin-top:30px;

    padding-top:25px;

    border-top:1px solid #eeeeee;

}

.ibp-single-qna-bottom a{

    display:inline-block;

    padding:11px 16px;

    border-radius:8px;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

}


/*
=====================================================
EMPTY
=====================================================
*/

.ibp-simple-qna-empty{

    padding:50px 20px;

    text-align:center;

    border:1px solid #e5e7eb;

    border-radius:14px;

    background:#ffffff;

}

.ibp-simple-qna-empty h3{

    margin-top:0;

}

.ibp-simple-qna-empty a{

    display:inline-block;

    margin-top:15px;

    padding:11px 16px;

    border-radius:8px;

    text-decoration:none;

    font-weight:600;

}


/*
=====================================================
PAGINATION
=====================================================
*/

.ibp-qna-pagination{

    margin-top:35px;

    text-align:center;

}

.ibp-qna-pagination ul{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:6px;

    margin:0;

    padding:0;

    list-style:none;

}

.ibp-qna-pagination a,
.ibp-qna-pagination span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:38px;

    min-height:38px;

    padding:0 10px;

    border:1px solid #e5e7eb;

    border-radius:7px;

    text-decoration:none;

}


/*
=====================================================
RESPONSIVE
=====================================================
*/

@media(max-width:700px){

    .ibp-single-qna-page,
    .ibp-archive-qna-page{

        padding:20px 12px;

    }


    .ibp-single-qna-container{

        padding:22px 18px;

        border-radius:14px;

    }


    .ibp-archive-qna-header h1{

        font-size:29px;

    }


    .ibp-qna-search form{

        flex-direction:column;

    }


    .ibp-qna-search button{

        width:100%;

    }


    .ibp-simple-qna-link{

        min-height:60px;

        gap:10px;

        padding:12px;

    }


    .ibp-simple-qna-title{

        font-size:15px;

    }


    .ibp-simple-qna-category{

        flex:0 0 90px;

        font-size:11px;

    }


    .ibp-simple-qna-arrow{

        flex:0 0 20px;

        font-size:19px;

    }


    .ibp-single-qna-article-title{

        font-size:27px;

    }


    .ibp-qna-question{

        padding:20px;

    }


    .ibp-qna-question h2{

        font-size:22px;

    }


    .ibp-qna-section{

        padding:20px;

    }


    .ibp-single-qna-navigation{

        grid-template-columns:1fr;

        text-align:center;

    }


    .ibp-qna-nav-prev,
    .ibp-qna-nav-next{

        text-align:center;

    }


    .ibp-qna-nav-position{

        order:-1;

    }


    .ibp-qna-nav-button{

        align-items:center;

    }


    .ibp-single-qna-bottom{

        flex-direction:column;

    }


    .ibp-single-qna-bottom a{

        width:100%;

        text-align:center;

        box-sizing:border-box;

    }

}