/* 파인싱크 소식 미리보기 */
.news-preview {
    padding: 80px 0;
    background: #fff;
}

.news-preview .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.news-preview .section-title {
    margin: 0;
}

.news-preview .view-all {
    color: #1B3559;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.news-preview .view-all:hover {
    color: #099F97;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e0f5f4;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #099F97;
    box-shadow: 0 5px 20px rgba(9,159,151,0.15);
}

.news-thumbnail {
    width: 100%;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-thumbnail a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.news-thumbnail img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.news-card:hover .news-thumbnail img {
    transform: scale(1.03);
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-title a {
    color: #1B3559;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: #099F97;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    color: #999;
}

/* 모바일 */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .news-preview {
        padding: 60px 0;
    }
    
    .news-preview .section-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-thumbnail {
        height: auto;
    }
}

/* 전체보기 링크 검정색 */
.section-header .view-all {
    color: #000000 !important;
}

.section-header .view-all:hover {
    color: #099F97 !important;
}

/* 파인싱크 소식 헤더 왼쪽 정렬 */
.news-preview .section-header {
    text-align: left !important;
}

/* 전체보기 청록색 */
.news-preview .view-all {
    color: #099F97 !important;
}

/* 전체보기 호버 남색 */
.news-preview .view-all:hover {
    color: #1B3559 !important;
}
