﻿.notice-page {
    padding: 65px 0 80px;
    background: #f5f8fc;
    min-height: 65vh;
}

.notice-container {
    width: 92%;
    max-width: 1150px;
    margin: auto;
}

.notice-heading {
    text-align: center;
    margin-bottom: 35px;
}

.notice-eyebrow {
    color: #1e4fa8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.notice-heading h1 {
    color: #081f4d;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    margin: 10px 0;
}

    .notice-heading h1 span {
        color: #1e4fa8;
    }

.notice-heading p {
    color: #64748b;
    margin: 0;
    font-size: 15px;
}

.notice-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.notice-search {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: 1px solid #dbe4f0;
    border-radius: 9px;
    background: #fff;
    color: #1e293b;
    outline: none;
    font-size: 14px;
}

    .notice-search:focus {
        border-color: #1e4fa8;
        box-shadow: 0 0 0 3px rgba(30, 79, 168, .10);
    }

.notice-search-btn {
    padding: 12px 22px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: #081f4d;
    font-weight: 700;
    cursor: pointer;
}

    .notice-search-btn:hover {
        background: #1e4fa8;
    }

.notice-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 14px;
    box-shadow: 0 5px 20px rgba(8, 31, 77, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .notice-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(8, 31, 77, .09);
    }

.notice-date {
    flex: 0 0 68px;
    width: 68px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #dbe7fb;
    border-radius: 10px;
    background: #f0f5ff;
}

.notice-date-day {
    display: block;
    padding: 9px 0 3px;
    color: #081f4d;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

.notice-date-month {
    display: block;
    padding: 5px 0 8px;
    color: #1e4fa8;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.notice-content {
    flex: 1;
    min-width: 0;
}

.notice-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #1e4fa8;
    background: #edf4ff;
    padding: 5px 9px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
}

.notice-content h2 {
    color: #10284e;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 750;
    margin: 0 0 9px;
}

.notice-description {
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    margin: 0 0 13px;
}

.notice-attachment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e4fa8;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

    .notice-attachment:hover {
        color: #081f4d;
        text-decoration: underline;
    }

.notice-empty {
    padding: 40px 20px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    text-align: center;
}

.notice-count {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 600px) {
    .notice-page {
        padding: 40px 0 55px;
    }

    .notice-toolbar {
        gap: 8px;
    }

    .notice-search {
        padding: 12px;
    }

    .notice-search-btn {
        padding: 12px 14px;
    }

    .notice-card {
        gap: 13px;
        padding: 16px;
        border-radius: 11px;
    }

    .notice-date {
        flex-basis: 54px;
        width: 54px;
    }

    .notice-date-day {
        font-size: 23px;
    }

    .notice-date-month {
        font-size: 10px;
    }

    .notice-content h2 {
        font-size: 16px;
    }

    .notice-description {
        font-size: 13px;
        line-height: 1.7;
    }
}
