.blog-card {
    background: #fff;
    border-radius: 1.6rem;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}

.blog-card a {
    display: block;
    height: 100%;
}

.blog-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    filter: brightness(0.9);
}

.blog-content {
    padding: 1.6rem;
}

.blog-content h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    margin: 0;
}

.blog-content p {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1rem;

    /* 2줄 말줄임 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-date {
    font-size: 1.2rem;
    color: #999;
}

/*반응형 버전*/
@media (max-width: 768px) {

    .blog-card a {
        display: flex;
        gap: 2.2rem;
        height: auto;
        align-items: flex-start;
    }

    .blog-card img {
        width: 120px;
        height: 100px;
        flex-shrink: 0;
        border-radius: 0.8rem;
    }

    .blog-content {
        padding: 0;
        margin-right: 0.6rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .blog-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;

        /* 2줄 제한 */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-content p {
        font-size: 1.2rem;
        -webkit-line-clamp: 2;
        margin-bottom: 0.4rem;
    }

    .blog-date {
        font-size: 1.1rem;
        color: #999;
    }
}