/* Archive Collection Styles */

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.collection-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collection-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.collection-content {
    padding: 1.5rem;
}

.collection-image {
    text-align: center;
    margin-bottom: 1rem;
}

.collection-logo {
    height: 3rem;
    border-radius: 4px;
}

.no-image-placeholder {
    width: 150px;
    height: 150px;
    background: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.no-image-placeholder .dashicons {
    font-size: 3rem;
    color: #ccc;
}

.collection-title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem 0;
}

.collection-title a {
    color: #333;
    text-decoration: none;
}

.collection-title a:hover {
    color: #007cba;
}

.collection-dates {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.collection-dates span {
    display: block;
    margin-bottom: 0.25rem;
}

.collection-status {
    margin-bottom: 0.5rem;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-en.cours {
    background: #e3f2fd;
    color: #1976d2;
}

.status-terminée {
    background: #e8f5e8;
    color: #388e3c;
}

.status-abandonne {
    background: #ffebee;
    color: #d32f2f;
}

.collection-summary {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.read-more:hover {
    background: #005a87;
    color: white;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.page-title {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: #333;
}

.archive-description {
    color: #666;
    font-size: 1.1rem;
}

.no-posts {
    text-align: center;
    padding: 3rem 0;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .collection-content {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
}
