/* Posts System - Completely Separate */

.posts-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 10px;
}

.posts-header {
    text-align: center;
    margin-bottom: 50px;
}

.posts-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.posts-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.post-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.post-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image {
    transform: scale(1.05);
}

.post-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 96px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 20px 15px 10px;
    color: white;
}

.post-title {
    margin: 0 0 6px 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
    color: #fff;
}

.post-meta {
    font-size: 14px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.7);
    margin-bottom: 4px;
}

.post-author {
    font-weight: 600;
}

.post-date {
    margin-left: 10px;
}

.post-separator {
    margin: 0 8px;
    opacity: 0.8;
}


.posts-pagination {
    text-align: center;
    margin-top: 50px;
}

.posts-pagination .page-numbers {
    display: inline-block;
    padding: 12px 18px;
    margin: 0 5px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.posts-pagination .page-numbers:hover,
.posts-pagination .page-numbers.current {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.posts-no-posts {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    font-size: 18px;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .posts-wrapper {
        padding: 15px 5px;
    }
    
    .posts-title {
        font-size: 28px;
    }
    
    .posts-subtitle {
        font-size: 16px;
    }
    
    .post-image,
    .post-placeholder {
        height: 250px;
    }
    
    .post-title {
        font-size: 18px;
    }
    
    .post-overlay {
        padding: 20px 15px 10px;
    }
}