@charset "UTF-8";


/* 공지사항 영역 */
.main-notice {
    width: 100%;
    margin-bottom: 50px;
}
/* 제목 */
.notice-heading {
    margin-bottom: 25px;
}

.notice-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: #333;
}

.notice-label span {
    width: 40px;
    height: 1px;
    background: #aaa;
}

.notice-heading h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

/* 공지사항 목록 */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notice-item {
    padding: 14px 18px;
    border: 1px solid transparent;
    border-radius: 7px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

/* 홀수 번째 배경 */
.notice-item:nth-child(odd) {
    background-color: #f1f1f1;
}

/* 마우스 오버 */
.notice-item:hover {
    border-color: #0d6efd;
}

/* 제목 */
.notice-title {
    display: block;
    margin-bottom: 8px;
    color: #164eaa;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
}

.notice-title:hover {
    color: #0d6efd;
}

/* 본문 */
.notice-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;

    margin: 0 0 8px;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.6;
    text-decoration: none;
}

.notice-content:hover {
    color: #164eaa;
}

/* 작성일 */
.notice-date {
    color: #666;
    font-size: 0.85rem;
    text-align: right;
}

/* 모바일 */
@media (max-width: 767.98px) {
    .notice-heading h2 {
        font-size: 1.3rem;
    }

    .notice-item {
        padding: 12px;
    }

    .notice-title {
        font-size: 0.9rem;
    }

    .notice-content {
        font-size: 0.85rem;
    }
}