.page-notice .notice-page {
    padding-bottom: 30px;
}

.page-notice .notice-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.page-notice .notice-hero__copy {
    border: 1px solid #d8e6f8;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    padding: 22px;
}

.page-notice .notice-hero__eyebrow {
    margin: 0 0 8px;
    color: #1e4ed8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-notice .notice-hero__copy h2 {
    margin: 0 0 8px;
}

.page-notice .notice-hero__copy p {
    margin: 0;
    color: #64748b;
}

.page-notice .notice-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.page-notice .notice-hero__chips span {
    border: 1px solid #cadcf8;
    border-radius: 999px;
    background: #edf4ff;
    color: #1e3a8a;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
}

.page-notice .notice-hero__stats {
    border: 1px solid #d8e6f8;
    border-radius: 20px;
    background: linear-gradient(170deg, #ffffff 0%, #f6fbff 100%);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 18px;
}

.page-notice .notice-hero__stats article {
    border: 1px solid #dce7f7;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px 12px;
}

.page-notice .notice-hero__stats p {
    margin: 0;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 600;
}

.page-notice .notice-hero__stats strong {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
}

.page-notice .notice-board-shell {
    border: 1px solid #d8e6f8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.page-notice .notice-board-head {
    border-bottom: 1px solid #dfeafb;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
}

.page-notice .notice-board-head h3 {
    margin: 0;
    font-size: 1rem;
}

.page-notice .notice-board-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.8rem;
}

.page-notice .notice-loading {
    border-bottom: 1px solid #e5edf9;
    background: #f9fbff;
    margin: 0;
    padding: 14px;
}

.page-notice .notice-table-wrap {
    padding: 0 8px 8px;
}

.page-notice .notice-table {
    margin-bottom: 0;
}

.page-notice .notice-table th {
    border-bottom: 1px solid #dce8f8;
    background: #f6f9ff;
    color: #334155;
    font-size: 0.76rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.page-notice .notice-table td {
    border-color: #e5edf9;
    vertical-align: middle;
}

.page-notice .notice-table .notice-title {
    text-align: left;
}

.page-notice .notice-table .notice-title a {
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
}

.page-notice .notice-table .notice-title a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.page-notice .notice-table .pinned-notice td {
    background: #f3f8ff;
}

.page-notice .notice-pin-chip {
    border: 1px solid #b8cef8;
    border-radius: 999px;
    background: #e9f1ff;
    color: #1e40af;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
    margin-right: 8px;
    padding: 4px 8px;
}

.page-notice .notice-pin-icon {
    color: #1e4ed8;
    font-size: 0.8rem;
    margin-right: 6px;
}

.page-notice .notice-empty-row {
    color: #64748b;
    padding: 24px 10px !important;
    text-align: center;
}

.page-notice .notice-detail-shell {
    border: 1px solid #d8e6f8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    padding: 18px;
}

.page-notice .notice-detail-header {
    border-bottom: 1px solid #e2ebf9;
    margin-bottom: 16px;
    padding-bottom: 14px;
}

.page-notice .notice-detail-header h1 {
    color: #0f172a;
    font-size: 1.62rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.page-notice .notice-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.page-notice .notice-info span {
    border: 1px solid #d6e4f7;
    border-radius: 999px;
    background: #f5f9ff;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1;
    padding: 6px 10px;
}

.page-notice .notice-content {
    color: #1e293b;
    line-height: 1.8;
    font-size: 0.94rem;
    min-height: 240px;
    overflow-wrap: break-word;
}

.page-notice .notice-content img {
    border-radius: 10px;
    height: auto;
    margin: 1rem 0;
    max-width: 100%;
}

.page-notice .notice-content table {
    max-width: 100%;
}

.page-notice .notice-detail-actions {
    border-top: 1px solid #e3ebf9;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 18px;
    padding-top: 14px;
}

.page-notice .notice-detail-actions #admin-buttons {
    display: flex;
    gap: 8px;
}

@media (max-width: 991px) {
    .page-notice .notice-hero {
        grid-template-columns: 1fr;
    }

    .page-notice .notice-hero__copy,
    .page-notice .notice-hero__stats,
    .page-notice .notice-board-shell,
    .page-notice .notice-detail-shell {
        border-radius: 16px;
    }

    .page-notice .notice-board-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-notice .notice-table-wrap {
        padding: 0;
    }

    .page-notice .notice-table td,
    .page-notice .notice-table th {
        font-size: 0.8rem;
    }

    .page-notice .notice-detail-header h1 {
        font-size: 1.28rem;
    }

    .page-notice .notice-detail-actions {
        flex-direction: column;
    }

    .page-notice .notice-detail-actions .btn {
        width: 100%;
    }

    .page-notice .notice-detail-actions #admin-buttons {
        width: 100%;
    }

    .page-notice .notice-detail-actions #admin-buttons .btn {
        flex: 1 1 auto;
    }
}
