@charset "UTF-8";

/* ==========================================================================
   Blog / Insights Section
   ========================================================================== */
.main-blog {
    padding: 150px 0;
    background: #fff;
}

.blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.blog-header .section-title {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #111;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.card-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    transition: transform 0.6s ease;
}

.blog-card:hover .card-thumb {
    transform: scale(1.05);
}

.blog-card a {
    display: block;
    overflow: hidden; /* 호버 시 썸네일 줌인 효과 영역 고정 */
}

.card-content {
    padding: 30px;
    background: #fff;
    position: relative; /* 줌인 효과에서 앞으로 나오게 함 */
    z-index: 2;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-family: var(--font-en);
    font-size: 13px;
}

.card-meta .category {
    font-weight: 700;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-meta .date {
    color: #999;
}

.main-blog .card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #111 !important; /* Force black color for visibility only in main-blog section */
    word-break: keep-all;
    transition: color 0.3s ease;
}

.main-blog .blog-card:hover .card-title {
    color: var(--electric-blue) !important;
}

.card-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .blog-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .blog-grid { grid-template-columns: 1fr; gap: 30px; }
}
