


.board-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.board-item:hover {
    background-color: #f8f9fa;
    margin: 0 -24px;
    padding: 20px 24px;
    border-radius: 8px;
    border-bottom: 1px solid transparent;
}

.board-item > .post-category {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 16px;
    min-width: 36px;
    text-align: center;
    margin-bottom: 0;
}

.post-category.notice {
    background-color: #e8f3ff;
    color: #3182f6;
}

.post-category.announcement {
    background-color: #fff4e6;
    color: #ff8800;
}

.post-content {
    flex: 1;
}

.post-title {
    font-size: 16px;
    font-weight: 400;
    color: #191f28;
    text-decoration: none;
    line-height: 1.4;
}

.post-title:hover {
    color: #3182f6;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    color: #8b95a1;
    font-size: 13px;
    font-weight: 400;
}

.post-date {
    font-size: 14px;
    color: #8b95a1;
    font-weight: 400;
    white-space: nowrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-icon {
    width: 14px;
    height: 14px;
    color: #8b95a1;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e8eb;
    background: white;
    color: #4e5968;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.page-button:hover {
    background: #f8f9fa;
    border-color: #d1d6db;
}

.page-button.active {
    background: #3182f6;
    color: white;
    border-color: #3182f6;
    font-weight: 500;
}

.page-button.disabled {
    color: #d1d6db;
    cursor: not-allowed;
}

.page-button.disabled:hover {
    background: white;
    border-color: #e5e8eb;
}
a.nick_name{
    color: #8b95a1;
}
@media (max-width: 768px) and (min-width: 481px) {
    .board-container {
        padding: 20px 16px;
    }


    .board-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .post-meta {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        margin-left: 0;
    }

    .board-item:hover {
        margin: 0 -16px;
        padding: 20px 16px;
    }
}

/* 작은 모바일 화면에서 더욱 최적화 */
@media (max-width: 480px) {
    .board-container {
        padding: 12px 8px;
    }
    
    
    
    .board-item {
        padding: 16px 0;
    }
    
    .board-item:hover {
        margin: 0 -8px;
        padding: 16px 8px;
    }
    
    .post-title {
        font-size: 15px;
    }
    
    .post-meta {
        font-size: 12px;
        gap: 8px;
    }
    
    .pagination {
        gap: 4px;
        margin-top: 24px;
    }
    
    .page-button {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}