.card_notice {
    width: 100%;
    margin: 0 auto;
}

.card_notice ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* 카드 사이 간격 */
    list-style: none;
    padding: 0;
    margin: 0;
}

.card_notice li {
    /* 4개 배치를 위해 25%에서 간격만큼 제외 */
    width: calc(25% - 15px); 
    border: 1px solid #e1e1e1;
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.card_notice li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card_item {
    display: block;
    text-decoration: none;
    color: #333;
}

/* 이미지 영역 */
.card_img img {
    width: 100%;
    height: 180px; /* 4개 배치 시 적당한 높이 */
    object-fit: cover;
    display: block;
}

.no_img {
    width: 100%;
    height: 180px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.9em;
}

/* 텍스트 영역 */
.card_text_wrap {
    padding: 15px;
    border-top: 1px solid #eee;
	height: 251px;
}

.card_subject {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    height: 1.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #222;
}

.card_line {
    border: 0;
    border-top: 1px solid #f1f1f1;
    margin: 10px 0;
}

.card_content {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    word-break: break-all;
}

.card_date {
    font-size: 13px;
    color: #aaa;
	padding-top: 106px;
}

.n_card_more1 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
	padding-left: 104px;
}

/* 모바일 및 태블릿 대응 */
@media (max-width: 1024px) {
    .card_notice li {
        width: calc(50% - 10px); /* 태블릿에선 2개씩 */
    }
}

@media (max-width: 480px) {
    .card_notice li {
        width: 100%; /* 모바일에선 1개씩 */
    }
}