/**
 * 게시글 목록 모듈 CSS (리스트형)
 * 공지사항 목록 표시
 * 소스: includes/modules/posts_list.php에서 분리
 */

.posts-list-module .list_box {
    width: 100%;
}
.posts-list-module .list_title {
    display: flex;
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 2px solid #333;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}
.posts-list-module .list_title li:first-child {
    flex: 1;
}
.posts-list-module .list_title li:last-child {
    width: 120px;
    text-align: center;
}
.posts-list-module .list_content {
    border-bottom: 1px solid #eee;
}
.posts-list-module .list_item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}
.posts-list-module .list_item:hover {
    background: #f8f9fa;
}
.posts-list-module .list_item li:first-child {
    flex: 1;
}
.posts-list-module .list_item li:first-child a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
}
.posts-list-module .list_item li:first-child a:hover {
    color: #0d6efd;
}
.posts-list-module .list_item li:last-child {
    width: 120px;
    text-align: center;
    color: #888;
    font-size: 14px;
}
.posts-list-module .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
    flex-shrink: 0;
}
.posts-list-module .badge.notice {
    background: #333;
    color: #fff;
}
.posts-list-module .badge.schedule,
.posts-list-module .badge.event {
    background: #f0ad4e;
    color: #fff;
}
.posts-list-module .pinned-icon {
    color: #dc3545;
    margin-right: 5px;
}

/* 페이지네이션 */
.posts-list-module .pagination-box {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 5px;
}
.posts-list-module .pagination-box a,
.posts-list-module .pagination-box span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.posts-list-module .pagination-box a:hover {
    background: #f8f9fa;
    border-color: #0d6efd;
    color: #0d6efd;
}
.posts-list-module .pagination-box .current {
    background: #333;
    border-color: #333;
    color: #fff;
}

/* 빈 상태 */
.posts-list-module .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
