/* 블로그 페이지 스타일 */
.blog-hero {
    background: linear-gradient(rgba(5, 24, 44, 0.8), rgba(7, 38, 69, 0.9)), url('../images/blog/blog-cover.jpg');
    background-size: cover;
    background-position: center;
    background-color: #05182c; /* 이미지가 로드되지 않을 경우 표시할 배경색 */
    color: white;
    text-align: center;
    padding: 150px 0;
    margin-top: 80px;
}

.blog-hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7);
}

.blog-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.blog-content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.blog-content .container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.blog-grid {
    flex: 1;
    min-width: 0;
}

.blog-sidebar {
    width: 300px;
    flex-shrink: 0;
}

.blog-post {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.post-image {
    height: 300px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-content h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.post-content p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #555;
}

.read-more {
    display: inline-block;
    color: #3498db;
    font-weight: 600;
    margin-top: 10px;
    transition: color 0.3s;
}

.read-more:hover {
    color: #2980b9;
}

/* 사이드바 스타일 */
.sidebar-widget {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.category-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.category-list a {
    color: #555;
    transition: color 0.3s;
    display: flex;
    justify-content: space-between;
}

.category-list a:hover {
    color: #3498db;
}

.popular-posts {
    list-style: none;
    padding: 0;
}

.popular-posts li {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.popular-posts li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.popular-posts a {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
    transition: color 0.3s;
}

.popular-posts a:hover {
    color: #3498db;
}

.popular-posts img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.popular-posts span {
    font-size: 0.95rem;
    line-height: 1.4;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    background-color: #eef2f7;
    color: #555;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.tag-cloud a:hover {
    background-color: #3498db;
    color: white;
}

/* 반응형 스타일 */
@media (max-width: 992px) {
    .blog-content .container {
        flex-direction: column;
    }
    
    .blog-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 100px 0;
    }
    
    .blog-hero h2 {
        font-size: 2rem;
    }
    
    .blog-hero p {
        font-size: 1.1rem;
    }
    
    .post-image {
        height: 200px;
    }
    
    .post-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .blog-content {
        padding: 40px 0;
    }
    
    .post-image {
        height: 180px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-content h3 {
        font-size: 1.2rem;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
} 