/* Blog Styles */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 0;
    position: relative;
    z-index: 2;
    background-color: #fff;
    min-height: 100vh;
}

.blog-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #333;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.blog-card {
    max-width: 100%;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-inner {
    display: flex;
    align-items: stretch;
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 15px;
}

.blog-card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-card-title a {
    color: #333;
    text-decoration: none;
}

.blog-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.blog-excerpt {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.read-more {
    display: inline-block;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: scaleX(1);
}

/* Blog Detail Styles */
.blog-post-detail {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.post-header {
    text-align: center;
    margin-bottom: 30px;
}

.post-title {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 15px;
}

.post-meta {
    color: #666;
    font-size: 0.9em;
}

.post-image {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
}

.post-content {
    line-height: 1.8;
    color: #444;
    font-size: 1.1em;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.page-link {
    color: #000;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #000;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: #000;
    color: white;
}

.current-page {
    color: #666;
}

@media (max-width: 768px) {
    .blog-card-inner {
        flex-direction: column;
    }
    
    .blog-image {
        flex: auto;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.section-title {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
} 