.notice-wrap {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 64px 20px 200px;
    box-sizing: border-box;
}

.notice-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 48px;
    color: #000;
    text-align: center;
    padding-bottom: 64px;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.notice-item {
    border-bottom: 0.5px solid #b7b9bd;
}

.notice-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    text-decoration: none;
    color: inherit;
}

.notice-link:hover .notice-subject {
    text-decoration: underline;
}

.notice-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 24px;
    padding: 0 10px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: -0.7px;
    white-space: nowrap;
}

.badge.important {
    background-color: #ffe8ea;
    color: #f53f50;
}

.badge.normal {
    background-color: #eff5ff;
    color: #0066f9;
}

.notice-subject {
    font-size: 18px;
    font-weight: 500;
    color: #292929;
    line-height: 1.4;
}

.notice-date {
    flex-shrink: 0;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 400;
    color: #808080;
    white-space: nowrap;
}

.notice-empty {
    padding: 60px 0;
    text-align: center;
    list-style: none;
    font-size: 24px;
    font-weight: 400;
    color: #808080;
}

.notice-empty .empty-lottie {
    width: 160px;
    height: 160px;
    margin: 0 auto 16px;
}

.notice-empty p {
    margin: 0;
}

/* ── 상세 페이지 ── */
.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 0.5px solid #b7b9bd;
}

.detail-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.detail-subject {
    font-size: 18px;
    font-weight: 500;
    color: #292929;
    line-height: 1.4;
}

.detail-date {
    flex-shrink: 0;
    margin-left: 20px;
    font-size: 14px;
    font-weight: 400;
    color: #808080;
    white-space: nowrap;
}

.detail-article {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding-top: 32px;
}

.detail-body {
    font-size: 16px;
    font-weight: 400;
    color: #292929;
    line-height: 1.4;
}

.detail-body p {
    margin: 0;
    white-space: pre-wrap;
}

.detail-body ul {
    list-style: disc;
    padding-left: 24px;
    margin: 0;
}

.detail-body li {
    line-height: 1.4;
}

.back-btn {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 4px;
    padding: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    color: #808080;
    letter-spacing: -0.24px;
    line-height: 1.45;
}

/* ── 반응형 ── */
@media (max-width: 767px) {
    .notice-wrap {
        padding: 40px 20px 100px;
    }

    .notice-title {
        font-size: 24px;
        line-height: 1.6;
        padding-bottom: 32px;
        text-align: left;
    }

    .notice-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
        gap: 8px;
    }

    .notice-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .notice-subject {
        font-size: 14px;
        white-space: normal;
    }

    .notice-date {
        font-size: 12px;
        margin-left: 0;
    }

    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 0;
    }

    .detail-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .detail-subject {
        font-size: 14px;
        white-space: normal;
    }

    .detail-date {
        font-size: 12px;
        margin-left: 0;
    }

    .detail-article {
        gap: 32px;
    }

    .detail-body {
        font-size: 14px;
    }
}
