/* 공지사항 최신글 스타일 */
.latest-notice {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* 첫 번째 글 강조 스타일 */
.latest-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.latest-first-item{
	padding:15px;
	margin-bottom:15px;
	border:2px solid #a9a9a9;
	border-radius:8px;
}

.latest-first-item .latest-info{
	margin:0;
}
.latest-content .latest-subject {
    font-size: 16px;
    font-weight: 300;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.4;
}

.latest-content .latest-info {
    margin-bottom: 0;
}

.latest-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.latest-item {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.latest-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
}

.latest-link:hover {
    transform: translateX(5px);
}

.latest-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    justify-content: space-between;
}

.notice-badge {
    background: #ff6b6b;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.latest-date {
    color: #888;
    font-size: 13px;
}

.latest-subject {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.empty-list {
    text-align: center;
    padding: 30px 0;
    color: #888;
    font-size: 14px;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .latest-notice {
        padding: 20px;
    }

    .latest-title {
        font-size: 20px;
    }

    .latest-subject {
        font-size: 14px;
    }

    .latest-first-item {
        padding: 15px;
    }

    .latest-first-item .latest-subject {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .latest-notice {
        padding: 15px;
    }

    .latest-header {
        margin-bottom: 20px;
    }

    .latest-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .latest-first-item {
        padding: 12px;
    }
} 