@charset "utf-8";

/* ============================================
   card-basic: Classic Table-Style Board List
   Font: Malgun Gothic, dotum, sans-serif
   Accent: #e65100
   ============================================ */

/* --- Layout --- */
.bo_tbl_list {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 15px;
    font-family: 'Malgun Gothic', dotum, sans-serif;
    font-size: 13px;
    color: #333;
}

/* --- Header --- */
.bo_tbl_list .tbl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    margin-bottom: 0;
}
.bo_tbl_list .tbl-board-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 2px;
    color: #333;
}
.bo_tbl_list .tbl-total-count {
    font-size: 12px;
    color: #888;
}
.bo_tbl_list .tbl-total-count strong {
    color: #e65100;
    font-weight: bold;
}
.bo_tbl_list .tbl-header-right {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}
.bo_tbl_list .tbl-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    background: #fff;
    color: #666;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
}
.bo_tbl_list .tbl-btn-icon:hover {
    background: #f0f0f0;
    color: #333;
    border-color: #999;
}
.bo_tbl_list .tbl-btn-write {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #e65100;
    color: #fff;
    border: none;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}
.bo_tbl_list .tbl-btn-write:hover {
    background: #3d6f99;
    color: #fff;
    text-decoration: none;
}

/* --- Table Head --- */
.bo_tbl_list .tbl-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
}
.bo_tbl_list .tbl-row-head {
    background: #333;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    border-bottom: none;
}
.bo_tbl_list .tbl-col {
    padding: 10px 8px;
    text-align: center;
    flex-shrink: 0;
}
.bo_tbl_list .tbl-col-chk {
    width: 40px;
}
.bo_tbl_list .tbl-col-num {
    width: 70px;
}
.bo_tbl_list .tbl-col-subject {
    flex: 1;
    text-align: left;
    min-width: 0;
}
.bo_tbl_list .tbl-col-name {
    width: 100px;
}
.bo_tbl_list .tbl-col-date {
    width: 90px;
}
.bo_tbl_list .tbl-col-hit {
    width: 60px;
}

/* --- Table Rows --- */
.bo_tbl_list .tbl-row-data {
    font-size: 13px;
    color: #333;
    transition: background 0.15s;
}
.bo_tbl_list .tbl-row-data:nth-child(even) {
    background: #f9f9f9;
}
.bo_tbl_list .tbl-row-data:nth-child(odd) {
    background: #fff;
}
.bo_tbl_list .tbl-row-data:hover {
    background: #eef4fa;
}
.bo_tbl_list .tbl-row-notice {
    background: #fffde7 !important;
}
.bo_tbl_list .tbl-row-notice:hover {
    background: #fff9c4 !important;
}

/* --- Number / Notice Badge --- */
.bo_tbl_list .tbl-col-num {
    font-size: 12px;
    color: #888;
}
.bo_tbl_list .tbl-notice-badge {
    display: inline-block;
    padding: 1px 6px;
    background: #e65100;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: -0.5px;
}

/* --- Subject --- */
.bo_tbl_list .tbl-subject-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
}
.bo_tbl_list .tbl-subject-link:hover {
    text-decoration: none;
}
.bo_tbl_list .tbl-subject-link:hover .tbl-subject-text {
    color: #e65100;
}
.bo_tbl_list .tbl-thumb-inline {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}
.bo_tbl_list .tbl-thumb-inline img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bo_tbl_list .tbl-subject-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.5;
}
.bo_tbl_list .tbl-cate {
    color: #e65100;
    font-size: 12px;
    margin-right: 2px;
}
.bo_tbl_list .tbl-comment-cnt {
    color: #e65100;
    font-style: normal;
    font-size: 12px;
    font-weight: bold;
    margin-left: 2px;
}
.bo_tbl_list .tbl-badge-new {
    display: inline-block;
    padding: 0 4px;
    margin-left: 4px;
    background: #e8363a;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    line-height: 16px;
    vertical-align: middle;
}

/* --- Writer / Date / Hit (Desktop) --- */
.bo_tbl_list .tbl-col-name {
    font-size: 12px;
    color: #555;
}
.bo_tbl_list .tbl-col-date {
    font-size: 12px;
    color: #999;
}
.bo_tbl_list .tbl-col-hit {
    font-size: 12px;
    color: #999;
}

/* --- Mobile Meta (Hidden on Desktop) --- */
.bo_tbl_list .tbl-mobile-meta {
    display: none;
}

/* --- Empty State --- */
.bo_tbl_list .tbl-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 13px;
    border-bottom: 1px solid #ddd;
}

/* --- Checkbox --- */
.bo_tbl_list .tbl-col-chk input[type="checkbox"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    vertical-align: middle;
}

/* --- Pagination --- */
.bo_tbl_list .tbl-pagination {
    margin: 20px 0;
    text-align: center;
}
.bo_tbl_list .tbl-pagination .pg_wrap {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.bo_tbl_list .tbl-pagination .pg_page,
.bo_tbl_list .tbl-pagination .pg_current,
.bo_tbl_list .tbl-pagination .pg_start,
.bo_tbl_list .tbl-pagination .pg_end,
.bo_tbl_list .tbl-pagination .pg_prev,
.bo_tbl_list .tbl-pagination .pg_next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border: 1px solid #ddd;
    font-size: 12px;
    color: #555;
    background: #fff;
    text-decoration: none;
}
.bo_tbl_list .tbl-pagination .pg_page:hover,
.bo_tbl_list .tbl-pagination .pg_start:hover,
.bo_tbl_list .tbl-pagination .pg_end:hover,
.bo_tbl_list .tbl-pagination .pg_prev:hover,
.bo_tbl_list .tbl-pagination .pg_next:hover {
    background: #f0f0f0;
    border-color: #bbb;
    color: #333;
    text-decoration: none;
}
.bo_tbl_list .tbl-pagination .pg_current {
    background: #e65100;
    color: #fff;
    border-color: #e65100;
    font-weight: bold;
}

/* --- Footer --- */
.bo_tbl_list .tbl-footer {
    text-align: right;
    padding: 10px 0;
}

/* --- More Options Dropdown --- */
.bo_tbl_list .more_opt {
    display: none;
    position: absolute;
    top: 36px;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    z-index: 999;
    min-width: 120px;
    list-style: none;
    margin: 0;
    padding: 4px 0;
}
.bo_tbl_list .more_opt li {
    padding: 0;
    margin: 0;
}
.bo_tbl_list .more_opt li button {
    display: block;
    width: 100%;
    padding: 8px 14px;
    border: 0;
    background: none;
    color: #555;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}
.bo_tbl_list .more_opt li button:hover {
    background: #f5f5f5;
    color: #222;
}
.bo_tbl_list .more_opt li i {
    margin-right: 6px;
}

/* --- Category --- */
.bo_tbl_list #bo_cate {
    margin: 0 0 12px;
}
.bo_tbl_list #bo_cate h2 {
    position: absolute;
    font-size: 0;
    overflow: hidden;
    width: 1px;
    height: 1px;
}
.bo_tbl_list #bo_cate ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ddd;
}
.bo_tbl_list #bo_cate a {
    display: block;
    padding: 8px 16px;
    color: #666;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.bo_tbl_list #bo_cate a:hover,
.bo_tbl_list #bo_cate #bo_cate_on {
    color: #e65100;
    border-bottom-color: #e65100;
    font-weight: bold;
}

/* --- Search Modal --- */
.bo_tbl_list .bo_sch_wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
.bo_tbl_list .bo_sch {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    padding: 0;
    width: 360px;
    max-width: 90%;
}
.bo_tbl_list .bo_sch h3 {
    padding: 12px 16px;
    margin: 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    background: #f5f5f5;
}
.bo_tbl_list .bo_sch form {
    padding: 16px;
}
.bo_tbl_list .bo_sch select {
    width: 100%;
    height: 32px;
    border: 1px solid #ccc;
    padding: 0 8px;
    font-size: 12px;
    margin-bottom: 8px;
}
.bo_tbl_list .bo_sch .sch_bar {
    display: flex;
    border: 1px solid #ccc;
}
.bo_tbl_list .bo_sch .sch_input {
    flex: 1;
    height: 32px;
    border: 0;
    padding: 0 10px;
    font-size: 12px;
    outline: none;
}
.bo_tbl_list .bo_sch .sch_btn {
    width: 36px;
    height: 32px;
    border: 0;
    background: #e65100;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}
.bo_tbl_list .bo_sch .sch_btn:hover {
    background: #3d6f99;
}
.bo_tbl_list .bo_sch .bo_sch_cls {
    position: absolute;
    top: 6px;
    right: 6px;
    border: 0;
    background: none;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    padding: 6px;
}
.bo_tbl_list .bo_sch .bo_sch_cls:hover {
    color: #333;
}
.bo_tbl_list .bo_sch_bg {
    background: rgba(0,0,0,0.3);
    width: 100%;
    height: 100%;
}

/* --- Sound Only (Accessibility) --- */
.bo_tbl_list .sound_only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

/* ============================================
   Responsive: Tablet (768px)
   ============================================ */
@media (max-width: 768px) {
    .bo_tbl_list .tbl-col-num,
    .bo_tbl_list .tbl-col-hit {
        display: none;
    }
    .bo_tbl_list .tbl-row-head {
        display: none;
    }
    .bo_tbl_list .tbl-row-data {
        flex-wrap: wrap;
        padding: 10px 8px;
        border-bottom: 1px solid #eee;
    }
    .bo_tbl_list .tbl-col-subject {
        width: 100%;
        flex: none;
        padding: 0 0 6px;
    }
    .bo_tbl_list .tbl-col-name,
    .bo_tbl_list .tbl-col-date {
        display: none;
    }
    .bo_tbl_list .tbl-mobile-meta {
        display: flex;
        gap: 10px;
        font-size: 11px;
        color: #999;
        padding-left: 0;
    }
    .bo_tbl_list .tbl-subject-link {
        align-items: flex-start;
    }
    .bo_tbl_list .tbl-subject-text {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .bo_tbl_list .tbl-thumb-inline {
        width: 50px;
        height: 50px;
    }
    .bo_tbl_list .tbl-row-notice {
        border-left: 3px solid #e65100;
    }
    .bo_tbl_list .tbl-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .bo_tbl_list .tbl-header-right {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ============================================
   Responsive: Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
    .bo_tbl_list {
        padding: 0 10px;
    }
    .bo_tbl_list .tbl-board-title {
        font-size: 14px;
    }
    .bo_tbl_list .tbl-total-count {
        font-size: 11px;
    }
    .bo_tbl_list .tbl-row-data {
        padding: 8px 4px;
    }
    .bo_tbl_list .tbl-subject-text {
        font-size: 13px;
    }
    .bo_tbl_list .tbl-thumb-inline {
        width: 44px;
        height: 44px;
    }
    .bo_tbl_list .tbl-btn-write {
        padding: 5px 10px;
        font-size: 11px;
    }
    .bo_tbl_list .tbl-pagination .pg_page,
    .bo_tbl_list .tbl-pagination .pg_current,
    .bo_tbl_list .tbl-pagination .pg_start,
    .bo_tbl_list .tbl-pagination .pg_end,
    .bo_tbl_list .tbl-pagination .pg_prev,
    .bo_tbl_list .tbl-pagination .pg_next {
        min-width: 24px;
        height: 24px;
        font-size: 11px;
    }
}
