/* Notice Page Styles */

/* Notice Section */
.notice-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    line-height: normal;
    color: #000;
    margin: 0;
}

/* List Table */
.list-table {
    width: 100%;
    border-collapse: collapse;
}

.list-table thead tr {
    border-bottom: 1px solid #000;
}

.list-table th {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.32px;
    color: #959595;
    padding-bottom: 25px;
    text-align: left;
}

.list-table th.no {
    width: 80px;
}

.list-table th.title {
    width: auto;
}

.list-table th.date {
    width: 160px;
    text-align: right;
}

.list-table tbody tr {
    border-bottom: 1px solid #000;
    transition: background 0.3s ease;
    cursor: pointer;
}

.list-table tbody tr:hover {
    background: #fafafa;
}

.list-table td {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.32px;
    color: #000;
    padding: 24px 0;
}

.list-table td.no {
    text-align: left;
}

.list-table td.title {
    text-align: left;
}

.list-table td.date {
    text-align: right;
}

/* Detail View */
.detail-view {}

.detail-header {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.32px;
    color: #000;
    border-bottom: 1px solid #000;
}

.detail-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

.detail-content {
    padding: 24px 0;
}

.detail-content img {
    max-width: 100%;
    height: auto !important;
}

.detail-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.32px;
    color: #000;
    padding: 24px 0;
}

.detail-meta span+span {
    color: #c9c9c9;
}

.detail-attachments {
    border-top: 1px solid #000;
    padding: 24px 0;
}

.detail-attachments h4 {
    margin-bottom: 12px;
}

.attachment-item a {
    display: block;
    background: #f7f8f9;
    padding: 12px;
    border-radius: 12px;
    color: #000;
    text-decoration: none;
}

.attachment-item+.attachment-item {
    margin-top: 12px;
}

.detail-navigation {
    text-align: center;
    border-top: 1px solid #000;
}

.detail-navigation .btn-list {
    border: 0;
    background: #000;
    border-radius: 20px;
    padding: 0 40px;
    font-size: 14px;
    font-weight: 400;
    line-height: 40px;
    letter-spacing: -0.32px;
    color: #fff;
    margin-top: 24px;
    cursor: pointer;
}

.nav-article {
    padding: 24px 0;
    border-bottom: 1px solid #000;
}

.nav-article .nav-item {
    font-size: 16px;
    width: 100%;
    text-align: left;
    display: flex;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-article .nav-item+.nav-item {
    margin-top: 12px;
}

.nav-article .nav-item .nav-label {
    width: 80px;
    text-align: left;
    margin-right: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-article .nav-item .nav-label.nav-prev-label svg {
    transform: rotate(180deg);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.page-arrow,
.page-num {
    width: 20px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
}

.page-arrow:hover,
.page-num:hover {
    opacity: 0.6;
}

.page-num.active {
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .section-title {
        font-size: 34px;
    }
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 28px;
    }

    .list-table th,
    .list-table td {
        padding: 16px 0;
    }

    .list-table th.no,
    .list-table td.no {
        width: 60px;
    }

    .list-table th.date,
    .list-table td.date {
        width: 120px;
    }
}

@media (max-width: 768px) {
    .notice-section {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 20px;
    }

    .list-table th,
    .list-table td {
        font-size: 14px;
        padding: 12px 24px 12px;
        white-space: nowrap;
    }

    .list-table th:first-child,
    .list-table td:first-child {
        padding-left: 0;
    }

    .list-table th:last-child,
    .list-table td:last-child {
        padding-right: 0;
    }

    .list-table th.no,
    .list-table td.no {
        width: 40px;
    }

    .list-table th.date,
    .list-table td.date {
        width: 100px;
    }

    .pagination {
        gap: 8px;
    }

    .page-arrow,
    .page-num {
        width: 16px;
        height: 20px;
        font-size: 14px;
    }
}
