/* [1] 카테고리: 그림자 없는 플랫 탭 디자인 (폭 균형 조정) */
/* 불필요한 숫자 및 중복 요소 제거 */
#xet-simple-board .simple-board__category-group > ul.board-category,
#xet-simple-board .simple-board__category-group .board-dropdown > li > a,
#xet-simple-board .simple-board__category-group em,
#xet-simple-board .simple-board__category-group .count {
    display: none !important;
}

/* 카테고리 그룹 전체 레이아웃 */
div#xet-simple-board .simple-board__category-group,
div#xet-simple-board .simple-board__category-group .board-dropdown,
div#xet-simple-board .simple-board__category-group .board-dropdown > li,
div#xet-simple-board .simple-board__category-group .board-dropdown > li ul {
    display: flex !important;
    flex-wrap: wrap !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important; /* 목록과 타이트하게 붙임 */
    box-shadow: none !important; /* 그림자 완전 제거 */
}

/* 탭 바닥 전체 선 */
div#xet-simple-board .simple-board__category-group .board-dropdown > li ul {
    border-bottom: 1px solid #cccccc !important;
    width: 100% !important;
    gap: 0 !important;
}

/* 개별 사각형 탭 디자인 (둥근 모서리/그림자 제거) */
div#xet-simple-board .simple-board__category-group .board-dropdown > li ul li a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important; /* 조밀한 높이 */
    padding: 0 15px !important;
    margin-right: -1px !important; /* 테두리 겹침 */
    margin-bottom: -1px !important;
    border: 1px solid #cccccc !important;
    border-radius: 0 !important; 
    background-color: #ffffff !important;
    color: #333333 !important;
    font-size: 13px !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* 선택된 탭 강조 */
div#xet-simple-board .simple-board__category-group .board-dropdown > li ul li.is-active a,
div#xet-simple-board .simple-board__category-group .board-dropdown > li ul li a.is-active {
    background-color: #f8f8f8 !important;
    border-color: #333333 !important;
    border-bottom-color: #f8f8f8 !important; /* 바닥선 가리기 */
    z-index: 5 !important;
    font-weight: bold !important;
}

/* [2] 목록 디자인: 아이콘 제거 및 조밀한 플랫 스타일 */
/* ★ 핵심: 제목 옆 확성기/스피커 아이콘 완전 삭제 ★ */
.bd_lst .fa-volume-up, 
.bd_lst .icon-notice, 
.bd_lst .icon-volume-up, 
.bd_lst i.fa,
.bd_lst i[class*="fa-"] {
    display: none !important;
}

/* 범례(thead) 플랫화: 입체감 제거 */
.bd_lst thead th {
    background: #f9f9f9 !important;
    border-top: 1px solid #333 !important;
    border-bottom: 1px solid #ddd !important;
    padding: 8px 0 !important;
    font-size: 13px !important;
    color: #555 !important;
    text-shadow: none !important;
}

/* 리스트 간격 조밀화 (XE 기본 게시판 스타일) */
.bd_lst tbody td {
    padding: 5px 10px !important; /* 상하 여백을 줄여 조밀하게 배치 */
    font-size: 13px !important;
    border-bottom: 1px solid #f2f2f2 !important;
    vertical-align: middle !important;
    height: auto !important;
}

.bd_lst tr .title {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #333 !important;
}

.bd_lst .author, .bd_lst .date, .bd_lst .m_no {
    font-size: 11px !important;
    color: #888 !important;
}

/* [3] 페이지네이션: 번호 가로 보호 + 바로가기 아랫줄 중앙 (구조 유지) */
#xet-simple-board .simple-board__pagination {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    margin: 40px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

#xet-simple-board .simple-board__pagination > li {
    display: inline-flex !important;
    order: 1 !important;
}

#xet-simple-board .simple-board__pagination > li a {
    min-width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#xet-simple-board .simple-board__pagination > li a.page-active {
    background-color: #444444 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
}

#xet-simple-board .simple-board__pagination > li.goto {
    order: 99 !important;
    flex: 0 0 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 25px !important;
}

#xet-simple-board .simple-board__pagination > li.goto input[type=number] {
    width: 50px !important;
    height: 34px !important;
    border: 1px solid #dddddd !important;
    border-right: none !important;
    border-radius: 4px 0 0 4px !important;
    text-align: center !important;
}

#xet-simple-board .simple-board__pagination > li.goto button {
    height: 34px !important;
    background: #f8f9fa !important;
    border: 1px solid #dddddd !important;
    border-radius: 0 4px 4px 0 !important;
    padding: 0 15px !important;
    cursor: pointer;
}