﻿
.notice-board {
    height: 500px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    border: 1px solid #ddd;
}

    .notice-board ul li {
        list-style: none !important;
    }

.notice-header {
    height: 55px;
    background: linear-gradient(135deg,#0052cc,#0d6efd);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.notice-body {
    height: 500px;
    overflow: hidden;
    position: relative;
    padding: 10px;
}

.notice-list {
    list-style: none;
    animation: scrollUp 10s linear infinite;
    padding: 0;
}

    .notice-list:hover {
        animation-play-state: paused;
    }

    .notice-list li {
        background: #fff;
        border-left: 4px solid #0d6efd;
        padding: 12px;
        margin-bottom: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,.05);
    }

        .notice-list li:hover {
            background: #f8fbff;
        }

.date {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.content-type {
    display: inline-block;
    background: #BF0000;
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}
.notice-list p {
    display: block;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    font-size: 13px;
    padding: 0;
}

    .notice-list a:hover {
        color: #0d6efd;
    }

@keyframes scrollUp {

    0% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(-50%);
    }
}
