@charset "utf-8";

.blog-list-wrap {
    max-width: 1024px;
    margin: 0 auto;
    padding: 150px 0 80px;
}

.blog-list-wrap .blind {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 메인 배너 */
.blog-list-wrap .main-banner {
    margin-bottom: 40px;
    padding: 40px 0 8px;
}

.blog-list-wrap .main-banner .inner {
    text-align: center;
}

.blog-list-wrap .main-banner .eyebrow {
    display: block;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #303642;
    text-transform: uppercase;
    margin-bottom: 0;
}

.blog-list-wrap .main-banner p {
    margin: 16px 0 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

/* 카테고리 탭 */
.blog-list-wrap .category-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.blog-list-wrap .category-tabs a {
    font-size: 16px;
    color: #999;
    text-decoration: none;
    padding-bottom: 6px;
}

.blog-list-wrap .category-tabs a.active {
    color: #000;
    font-weight: 600;
    border-bottom: 2px solid #000;
}

/* 전체 그리드 */
.blog-list-wrap .blog-grid {
    display: block;
}

/* ===========================
   좌측: 리스트
=========================== */
.blog-list-wrap .blog-left {
    display: flex;
    flex-direction: column;
}

.blog-list-wrap .post-item {
    border-bottom: 1px solid #eee;
    padding: 24px 0;
}

.blog-list-wrap .category-tabs + .post-item {
    border-top: 1px solid #eee;
}

.blog-list-wrap .post-item a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-list-wrap .post-item a:hover .post-title {
     text-decoration: underline;
}

.blog-list-wrap .post-left {
    flex: 1;
}

.blog-list-wrap .post-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-list-wrap .post-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.blog-list-wrap .post-meta {
    font-size: 13px;
    color: #999;
}

/* 썸네일 */
.blog-list-wrap .post-thumb {
    width: 140px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-list-wrap .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-list-wrap .thumb-noimg {
    width: 100%;
    height: 100%;
    background: #e5e5e5;
    color: #999;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-list-wrap .pagination {
    display: flex;
    gap: 6px;
    margin: 40px 0;
}

.blog-list-wrap .pagination a {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.blog-list-wrap .pagination a.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* 태그 클라우드 (향후 사이드바용) */
.blog-list-wrap .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-list-wrap .tag {
    display: inline-block;
    padding: 6px 10px;
    background: #f6f6f6;
    border-radius: 20px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
}

.blog-list-wrap .tag:hover {
    background: #e5e5e5;
}

@media (max-width:1040px) {
    .blog-list-wrap {
        padding: 150px 40px 80px;
    }
}

@media (max-width:768px) {
    .blog-list-wrap {
        padding: 100px 20px 80px;
    }

    .blog-list-wrap .main-banner {
        padding: 24px 0 4px;
    }

    .blog-list-wrap .main-banner .eyebrow {
        font-size: 2.6rem;
    }

    .blog-list-wrap .main-banner p {
        font-size: 1.2rem;
    }

    .blog-list-wrap .post-item a{
        flex-direction: column-reverse;
    }
}
