/* Clean, minimalist post list styling inspired by lukaszherok.com/arts */
.post-list-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.post-list-header {
    margin-bottom: 3rem;
}

.post-list-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin: 0;
    letter-spacing: -0.02em;
}

.post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #666;
    display: block;
    min-height: 200px;
}

.post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    min-height: 200px;
}

.post-image {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    order: 1;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-image:hover img {
    transform: scale(1.05);
}

.post-image-placeholder {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 2rem;
    text-decoration: none;
    order: 1;
}

.post-image-placeholder:hover {
    color: #6c757d;
    text-decoration: none;
}

.post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    order: 2;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    line-height: 1.3;
    display: block;
    margin-top: 0 !important;
    margin-bottom: 1rem;
}

.post-title:hover {
    color: #66b3ff;
    text-decoration: none;
}

.post-meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.post-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0.025em;
}

.post-category.quantum {
    background-color: #e3f2fd;
    color: #1565c0;
}

.post-category.softdevel {
    background-color: #e8f5e8;
    color: #2e7d32;
}

.post-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 0;
    font-style: italic;
}

.post-meta {
    font-size: 0.75rem;
    color: #888;
}

.post-read-more {
    font-size: 0.875rem;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.post-read-more:hover {
    text-decoration: underline;
    color: #0066cc;
}

/* Floating action button for new post */
.fab-new-post {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background-color: #0066cc;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fab-new-post:hover {
    background-color: #0052a3;
    transform: scale(1.1);
    color: white;
    text-decoration: none;
}

/* Pagination */
.pagination-container {
    margin-top: 3rem;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination a:hover {
    background-color: #f8f9fa;
    color: #333;
}

.pagination .current {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

/* Responsive design */
@media (max-width: 768px) {
    .post-list-container {
        padding: 1rem;
    }
    
    .post-list-title {
        font-size: 2rem;
    }
    
    .post-title {
        font-size: 1.25rem;
    }
    
    .post-content-wrapper {
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
    }
    
    .post-content {
        order: 2;
    }
    
    .post-image,
    .post-image-placeholder {
        width: 100%;
        height: 200px;
        order: 1;
        align-self: auto;
    }
    
    .post-meta-row {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .fab-new-post {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

.post-content h2 {
    margin-top: 0 !important;
} 