* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb-home {
    color: #333;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb-item {
    color: #666;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

/* Page Banner */
.page-banner {
    background-image: url('/image/category_banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 60px;
    position: relative;
    text-align: center;
    min-height: 300px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.page-banner .breadcrumb {
    background-color: transparent;
    padding: 0;
    font-size: 13px;
    color: #666;
    margin-bottom: 40px;
}

/* Admin Actions */
.admin-actions {
    background-color: #f8f9fa;
    padding: 20px 0;
}

.admin-actions .container {
    display: flex;
    justify-content: flex-end;
}

.btn-write {
    display: inline-block;
    padding: 12px 30px;
    background-color: #1064D9;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-write:hover {
    background-color: #0d53b3;
}

/* Notice Section */
.notice-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #4A90E2;
    margin: 15px auto 0;
}

/* Total Count */
.total-count {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* Notice Table */
.notice-table {
    border-top: 2px solid #333;
    margin-bottom: 60px;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 80px 140px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.table-header {
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.empty-row {
    display: block;
    text-align: center;
    padding: 60px 20px;
}

.col-empty {
    color: #999;
    font-size: 15px;
}

.table-row {
    transition: background-color 0.3s;
}

.table-row:hover {
    background-color: #f8f9fa;
}

.col-number,
.col-views {
    text-align: center;
    font-size: 15px;
    color: #666;
}

.col-title {
    text-align: left;
}

.col-title a {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.col-title a:hover {
    color: #4A90E2;
}

.col-author,
.col-date {
    text-align: center;
    font-size: 15px;
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover {
    background-color: #f8f9fa;
    border-color: #4A90E2;
    color: #4A90E2;
}

.page-btn.active {
    background-color: #4A90E2;
    border-color: #4A90E2;
    color: white;
}

/* Responsive */
@media (max-width: 1100px) {
    .page-title {
        font-size: 40px;
    }

    .page-banner {
        padding: 30px 20px 40px;
    }
}

@media (max-width: 900px) {
    .page-title {
        font-size: 38px;
    }

    .page-banner {
        padding: 25px 20px 40px;
    }
}

@media (max-width: 810px) {
    .page-title {
        font-size: 35px;
    }

    .page-banner {
        padding: 22px 20px 40px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        background-image: url('/image/m_category_banner.png');
    }

    .page-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .page-banner .breadcrumb {
        font-size: 12px;
        margin-bottom: 30px;
    }

    .banner-illustration img {
        max-height: 180px;
    }

    .section-title {
        font-size: 28px;
    }

    .table-header {
        display: none;
    }

    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }

    .col-number::before {
        content: '번호: ';
        font-weight: 600;
    }

    .col-author::before {
        content: '글쓴이: ';
        font-weight: 600;
    }

    .col-views::before {
        content: '조회: ';
        font-weight: 600;
    }

    .col-date::before {
        content: '날짜: ';
        font-weight: 600;
    }

    .col-number,
    .col-author,
    .col-views,
    .col-date {
        text-align: left;
    }
}