/* 게시판 스타일 */

/* 페이지네이션 스타일 */
.pg_wrap {
    clear: both;
    text-align: center;
    margin: 40px 0;
}

.pg_wrap .pg {
    display: inline-block;
}

.pg_wrap .pg_page,
.pg_wrap .pg_current {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'yg-jalnan', sans-serif;
}

.pg_wrap .pg_current {
    background: linear-gradient(135deg, #6841fe 0%, #764ba2 100%);
    color: #fff;
    cursor: default;
}

.pg_wrap .pg_page {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e0e0e0;
}

.pg_wrap .pg_page:hover {
    background: #fde803;
    color: #333;
    border-color: #fde803;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.pg_wrap .pg_next,
.pg_wrap .pg_prev,
.pg_wrap .pg_end,
.pg_wrap .pg_start {
    padding: 8px 20px;
    background: #fff;
    border: 2px solid #6841fe;
    color: #6841fe;
    font-weight: 700;
}

.pg_wrap .pg_next:hover,
.pg_wrap .pg_prev:hover,
.pg_wrap .pg_end:hover,
.pg_wrap .pg_start:hover {
    background: #6841fe;
    color: #fff;
}

/* 게시판 제목 스타일 */
.sectionTitle {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 50px 0 40px;
    font-family: 'yg-jalnan', sans-serif;
}

/* 게시판 카드 스타일 */
.board-title {
    background: linear-gradient(135deg, #6841fe 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    margin-bottom: 20px;
}

.board-title .card-body {
    padding: 20px 30px;
}

.board-title .d-flex > div {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    font-family: 'yg-jalnan', sans-serif;
}

/* 게시판 내용 카드 */
.board-content {
    background: #fff;
    border-radius: 15px !important;
    margin-bottom: 15px !important;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.board-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background: #fdf7e3;
}

.board-content .card-body {
    padding: 20px 30px;
}

.board-content a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.board-content a:hover {
    color: #6841fe;
}

/* 배지 스타일 */
.board-content .badge {
    font-size: 11px;
    padding: 3px 8px;
    margin-left: 5px;
    vertical-align: middle;
}

.badge.bg-secondary {
    background: #6841fe !important;
}

.badge.bg-danger {
    background: #ff4757 !important;
}

/* 검색 폼 스타일 */
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #6841fe;
    box-shadow: 0 0 0 3px rgba(104, 65, 254, 0.1);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #6841fe;
    box-shadow: 0 0 0 3px rgba(104, 65, 254, 0.1);
}

.btn-dark {
    background: linear-gradient(135deg, #6841fe 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(104, 65, 254, 0.3);
}

/* RSS 버튼 스타일 */
.btn-outline-secondary {
    border: 2px solid #6841fe;
    color: #6841fe;
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    background: #6841fe;
    border-color: #6841fe;
    color: #fff;
}

/* 너비 클래스 */
.mj-w-10 {
    width: 10%;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.mj-w-15 {
    width: 15%;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.mj-w-50 {
    width: 50%;
    padding-right: 20px;
}

/* 반응형 */
@media (max-width: 991px) {
    .mj-w-10,
    .mj-w-15,
    .mj-w-50 {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
    
    .board-title {
        display: none;
    }
    
    .board-content .d-flex {
        flex-direction: column;
    }
    
    .board-content .mj-w-50 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 10px;
    }
    
    .board-content .mj-w-15:first-of-type::before {
        content: "작성자: ";
        color: #999;
    }
    
    .board-content .mj-w-15:last-of-type::before {
        content: "작성일: ";
        color: #999;
    }
}

@media (max-width: 767px) {
    .sectionTitle {
        font-size: 24px;
        margin: 30px 0;
    }
    
    .pg_wrap .pg_page,
    .pg_wrap .pg_current {
        padding: 6px 12px;
        font-size: 13px;
        margin: 0 2px;
    }
    
    .board-content .card-body {
        padding: 15px;
    }
}

/* 작성자 스타일 */
.sv_guest {
    color: #666;
    font-weight: 500;
}

/* 스크롤바 스타일 */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 게시판 배경 */
#list-style-02 {
    background: #f8f9fa;
    padding: 30px 0;
    border-radius: 20px;
}

/* 게시판 상단 여백 조정 */
.container.py-5 {
    padding-top: 100px !important;
    padding-bottom: 50px !important;
}

/* 페이지 타이틀 배경 */
.fp-tableCell {
    background: linear-gradient(135deg, rgba(104, 65, 254, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    padding: 40px 0;
    border-radius: 20px;
    margin-bottom: 30px;
}