
/* ==========================================================================
   플랜텍 FAQ 게시판 스타일 (Mobile First)
   - 모바일: 기본
   - 태블릿: 768px 이상
   - 데스크탑: 1200px 이상
   ========================================================================== */

/* 1. 기본 레이아웃 및 폰트 */
#bbs_search_form,
.boardType01 {
    color: #333;
    line-height: 1.6;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 2. 검색 영역 (Search Box) */
.search_box {
    padding: 15px;
    margin-bottom: 30px;
    background: #F9F9FB;
    border: 1px solid #f0f0f0;
}

.search_box .box01,
.search_box .box02,
.search_box .box03 {
    margin-bottom: 10px;
}

.search_box input[type="text"],
.search_box select {
    width: 100%;
    height: 45px;
    padding: 0 12px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #fff;
}

.search_box input[type="submit"] {
    width: 100%;
    height: 45px;
    background: #0056b3;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.search_box input[type="submit"]:hover {
    background: #003d7e;
}

/* 3. FAQ 아코디언 리스트 */
.customer_acco {
}

.customer_acco .accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    padding: 18px 10px;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s;
}

.accordion-header h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    word-break: keep-all;
}

.n01 {
    color: #0056b3;
    font-weight: 800;
    margin-right: 8px;
}

.accordion-content {
    background: #f9f9f9;
    border-top: 1px solid #f1f1f1;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.3s;
    opacity: 0;
}
.accordion-item.active .accordion-content {
    height: auto;
    visibility: visible;
    opacity: 1;
}

.accordion-content em {
    font-style: normal;
    font-size: 14px;
    color: #555;
    display: flex;
    padding: 20px;
}

.n02 {
    color: #e67e22;
    font-weight: 800;
    margin-right: 12px;
    flex-shrink: 0;
}

/* 4. 하단 버튼 및 페이지네이션 */
.boardButton {
    margin-top: 30px;
    text-align: right;
}

.boardButton ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pageList {
    text-align: center;
    margin-top: 30px;
}

.pageList a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border: 1px solid #dee2e6;
    color: #333;
    text-decoration: none;
    margin: 0 2px;
    font-size: 13px;
    border-radius: 3px;
}

.pageList a.on {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
    font-weight: bold;
}

/* ==========================================================================
   태블릿 사이즈 (768px 이상)
   ========================================================================== */
@media (min-width: 768px) {
    .search_box {
        display: flex;
        gap: 8px;
        align-items: center;
        padding: 20px;
    }

    .search_box .box01 {
        flex: 1.5;
        margin-bottom: 0;
    }
    .search_box .box02 {
        flex: 7;
        margin-bottom: 0;
    }
    .search_box .box03 {
        flex: 1.5;
        margin-bottom: 0;
    }

    .accordion-header {
        padding: 22px 15px;
    }
    .accordion-header h5 {
        font-size: 17px;
    }
    .accordion-content {
        /* padding: 25px 30px; */
    }
    .accordion-content em {
        font-size: 15px;
        padding: 25px 30px;
    }
}

/* ==========================================================================
   데스크탑 사이즈 (1200px 이상)
   ========================================================================== */
@media (min-width: 1200px) {
    #bbs_search_form,
    .boardType01 {
        /* padding: 50px 0; */
    }

    .search_box {

        /* 라운드형 디자인 */
        padding: 40px;
    }

    .search_box input[type="text"],
    .search_box select {
        /* border-radius: 30px; */
        padding: 0 20px;
        font-size: 16px;
        height: 55px;
    }

    .search_box input[type="submit"] {
        /* border-radius: 30px; */
        height: 55px;
    }

    .accordion-header:hover {
        background-color: #f8faff;
    }

    .accordion-header h5 {
        font-size: 20px;
    }

    /* 우측 화살표 아이콘 효과 */
    .accordion-header {
        position: relative;
        padding: 30px 20px;
    }

    .accordion-header::after {
        content: '';
        position: absolute;
        right: 25px;
        top: 36px;
        transform: rotate(135deg);
        font-size: 12px;
        color: #bbb;
        border-top: 2px solid #ccc;
        border-right: 2px solid #ccc;
        width: 10px;
        height: 10px;
        transition: 0.3s;
    }
    .accordion-item.active .accordion-header::after {
        transform: rotate(315deg);
        top: 40px;
    }
    .accordion-content em {
        font-size: 18px;
        padding: 30px 53px;
    }
}
