/* HSB 게시판 스타일 */
.hsb-search {
    display: flex;
    justify-content: end;
    margin-bottom: 20px;
    height: 48px;
}

.hsb-search input[type="search"] {
    padding: 12px 16px;
    border: 1px solid #CCD0D7;
    border-radius: 0;
    background-color: #fff;
    color: black;
    font-size: 16px !important;
    font-weight: 400;
    margin-bottom: 0px !important;
}

.hsb-search button {
    padding: 12px 20px;
    border: 1px solid#1771F8;
    border-radius: 0;
    background-color: #1771F8;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    margin-left: 8px;
}

.hsb-search button:hover {
    opacity: 0.9;
}

.hsb-table {
    font-size: 16px;
    color: #1F2328;
    border-color: #E8EAED !important;
}

.hsb-table>thead th:nth-child(2),
.hsb-table>tbody td:nth-child(2) {
    text-align: left;
}

.hsb-table>thead th,
.hsb-table>tbody td {
    text-align: center;
}

.hsb-table>thead th {
    font-weight: 600;
    background-color: #F6F7F8;
    border-color: #AFB6C0;
}

.hsb-table>tbody td {
    font-weight: 400;
    border-color: #E8EAED;
}

.hsb-table>tbody tr:first-child td {
    border-bottom-color: #E8EAED;
    border-top-color: #AFB6C0;
}

.hsb-table>tbody tr {
    color: #1F2328 !important;
}

.hsb-table>tbody tr:hover {
    color: #1771F8 !important;
}

/*간격*/
.hsb-table>thead th:first-child {
    width: 10%;
}

.hsb-table>thead th:nth-child(2) {
    width: 70%;
}

.hsb-table>thead th:nth-child(3) {
    width: 7%;
}

/* 상세 보기 스타일 */
.hsb-detail {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.hsb-detail h2 {
    font-size: 28px;
    line-height: 34px !important;
    color: #1F2328;
    font-weight: 700;
    margin-bottom: 0px;
}

.hsb-detail > .hsb-name {
    font-size: 16px;
    line-height: 24px;
    color: #768293;
    margin-bottom: 0px;
    font-weight: 400;
    margin-top: 8px;
    padding-bottom: 30px;
}

.hsb-detail > .hsb-name span {
    margin: 0px 6px;
    color: #E8EAED;
}
.hsb-detail div {
    border-top: solid 1px #AFB6C0;
    border-bottom: solid 1px #E8EAED;
    padding: 30px 0;
}
.hsb-detail div p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #1F2328;
}
.hsb-detail > .hsb-btn {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
    margin-bottom: 0px;
    margin-top: 20px;
}
.hsb-detail > .hsb-btn a {
    border-radius: 0;
    color: #fff !important;
    padding: 12px 20px;
}
.hsb-detail > .hsb-btn a:hover {
    opacity: 0.8;
    background-color: #1771F8 !important;
}

/* 프론트 수정 폼 스타일 */
.hsb-front-edit {
    margin-bottom: 1em;
}

.hsb-front-edit h2 {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

/* 페이지네이션 */
.hsb-pagination {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hsb-pagination ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.hsb-pagination li {
    display: flex;
    margin: 4px;
}

.hsb-pagination a.page-numbers,
.hsb-pagination span.page-numbers {
    display: inline-block;
    text-decoration: none;
    color: #1F2328;
    font-size: 14px;
    font-weight: 500;
    padding: 0px 20px;
    border: solid 1px #E8EAED;
}

.hsb-pagination .current {
    background-color: #1F2328;
    color: #fff !important;
    border-color: #1F2328 !important;
}



@media (max-width: 1024px) {
    .hsb-table>thead th:nth-child(2) {
        width: 64%;
    }
}

@media (max-width: 768px) {
    .hsb-search {
        justify-content: center;
    }
/* 
    .hsb-table>thead th:nth-child(2) {
        width: 64%;
    }

    .hsb-table>thead {
        display: none;
    }

    .hsb-table>tbody td:first-child {
        display: none;
    } */

    .hsb-table,
    .hsb-table thead,
    .hsb-table tbody,
    .hsb-table th,
    .hsb-table td,
    .hsb-table tr {
        display: block;
    }
    .hsb-table thead tr {
        display: none;
    }
    .hsb-table tbody tr {
        border-top: solid 1px #e8eaed;
    }
    .hsb-table tbody tr:first-child {
        border-top: solid 1px #AFB6C0;
    }
    .hsb-table td {
        border: none;
        padding: 4px 0;
        text-align: left;
    }

    .hsb-table td:nth-child(1) {
        display: none;
    }

    .hsb-table td:nth-child(2) {
        font-weight: 600;
        font-size: 16px;
        color: #1F2328;
    }

    .hsb-table td:nth-child(3),
    .hsb-table td:nth-child(4) {
        display: inline;
        font-size: 16px;
        font-weight: 400;
        color: #768293;
        border-top-color: transparent !important;
    }

    .hsb-table td:nth-child(3)::after {
        color:#E8EAED;
        content: " | ";
        padding: 0 0px 0px 14px;
    }
    .hsb-pagination a.page-numbers,
    .hsb-pagination span.page-numbers {
        padding: 0px 15px !important;
    }
    .hsb-detail {
        margin-top: 0px;
    }
    /* .hsb-search input[type="search"] {
        width: 70%;
    } */
    .hsb-search button {
        padding: 12px 10px;
    }
}