/* Keep the controls inside their container; do not hide page overflow. */
.mvnew .slick-prev { left: 8px; z-index: 1; }
.mvnew .slick-next { right: 8px; z-index: 1; }
.hdj-board-controls { width: 100%; table-layout: fixed; }
.hdj-board-pages { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; }
.hdj-board-pages a, .hdj-board-pages span, .hdj-board-pages b { overflow-wrap: anywhere; }
.hdj-board-search { width: 100%; max-width: 540px; table-layout: fixed; }
.hdj-board-search > tbody, .hdj-board-search > tbody > tr { display: block; width: 100%; }
.hdj-board-search > tbody > tr > td {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    height: auto !important;
    box-sizing: border-box;
    width: 100%;
}
.hdj-board-search .bbssearchbox { flex: 1 1 160px; width: auto; min-width: 0; max-width: 100%; }
.hdj-board-search input, .hdj-board-search select, .hdj-board-search button { font-size: 16px; box-sizing: border-box; }
@media (max-width: 600px) {
    .bbsTableContent, .bbsTableHeader { table-layout: fixed; width: 100%; }
    .bbsTableContent td, .bbsTableHeader td { overflow-wrap: anywhere; }
    .bbsTableContent td:first-child, .bbsTableHeader td:first-child { width: 42px; }
    .bbsTableContent td:nth-child(3), .bbsTableHeader td:nth-child(3) { width: 70px; }
    .bbsTableContent .bbs_listContentLeft { white-space: normal; }
}
