table {
    border-collapse: collapse;
    border-spacing: 0;
}

.news-list-title {
    margin-top: 5px;
    margin-bottom: 5px;
}
.news-list-title h2 {
    font-size: 42px;
    font-family: 'Noto Sans KR', serif;
    color: #333333;
    text-align: center;
}


section.notice {
    padding: 80px 0;
}

#board-search .search-window {
    padding: 15px 0;
    background-color: #f9f7f9;
}
#board-search .search-window .search-wrap {
    position: relative;
    /*   padding-right: 124px; */
    margin: 0 auto;
    width: 80%;
    max-width: 564px;
}
#board-search .search-window .search-wrap input {
    height: 40px;
    width: 100%;
    font-size: 14px;
    padding: 7px 14px;
    border: 1px solid #ccc;
}
#board-search .search-window .search-wrap input:focus {
    border-color: #333;
    outline: 0;
    border-width: 1px;
}
#board-search .search-window .search-wrap .btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 108px;
    padding: 0;
    font-size: 16px;
}

.board-table {
    font-size: 13px;
    width: 100%;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.board-table a {
    color: #333;
    display: inline-block;
    line-height: 1.4;
    word-break: break-all;
    vertical-align: middle;
}
.board-table a:hover {
    text-decoration: underline;
}
.board-table th {
    text-align: center;
}

.board-table .th-num {
    width: 100px;
    text-align: center;
}

.board-table .th-date {
    width: 200px;
}

.board-table th, .board-table td {
    padding: 14px 0;
}

.board-table tbody td {
    border-top: 1px solid #e7e7e7;
    text-align: center;
}

.board-table tbody th {
    padding-left: 28px;
    padding-right: 14px;
    border-top: 1px solid #e7e7e7;
    text-align: left;
}

.board-table tbody th p{
    display: none;
}

.btn {
    display: inline-block;
    padding: 0 30px;
    font-size: 15px;
    font-weight: 400;
    background: transparent;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    text-transform: uppercase;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.btn-dark {
    background: #555;
    color: #fff;
}

.btn-dark:hover, .btn-dark:focus {
    background: #373737;
    border-color: #373737;
    color: #fff;
}

.btn-dark {
    background: #555;
    color: #fff;
}

.btn-dark:hover, .btn-dark:focus {
    background: #373737;
    border-color: #373737;
    color: #fff;
}

/* reset */

* {
    list-style: none;
    text-decoration: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.clearfix:after {
    content: '';
    display: block;
    clear: both;
}
.blind {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    margin: -1px;
    width: 1px;
    height: 1px;
}
.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    word-wrap: break-word;
    display: block;
    position: relative;
    overflow-x: auto; /* 추가 */
}

.news-pagination {
    text-align: center;
    margin-top: 20px;
}

.news-pagination-list {
    list-style: none;
    padding: 0;
}

.news-pagination-list li {
    display: inline;
    margin: 0 5px;
}

.news-pagination-list a {
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #333;
}

.news-pagination-list .active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}


.news-detail-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}
.news-detail-info {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}
.news-detail-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* 이미지 가운데 정렬 */
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    object-fit: contain; /* 이미지 비율 유지하며 영역 안에 맞춤 */
}
.news-detail-buttons {
    display: flex;
    justify-content: space-between;
}
.news-detail-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: white;
}
.news-detail-list { background-color: #6c757d; }