/**
 * Pleiades Custom Archives Styles
 */

.pleiades-all-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.pleiades-post-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pleiades-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.pleiades-post-thumbnail {
    margin-bottom: 15px;
}

.pleiades-post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.pleiades-post-title {
    margin: 0 0 9px 0;
    font-size: 0.9em;
    color: #ccc;
}

.pleiades-post-title a {
    text-decoration: none;
    color: #333;
}

.pleiades-post-title a:hover {
    color: #0073aa;
}

.pleiades-post-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.pleiades-post-excerpt {
    margin-bottom: 15px;
    line-height: 1.0;
    color: #555;
}

.pleiades-post-readmore {
    margin-top: 15px;
}

.pleiades-readmore-link {
    display: inline-block;
    background: #0073aa;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.pleiades-readmore-link:hover {
    background: #005a87;
}

.pleiades-pagination {
    margin: 40px 0;
    text-align: center;
}

.pleiades-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 5px;
}

.pleiades-pagination li {
    display: inline-block;
}

.pleiades-pagination a,
.pleiades-pagination span {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.pleiades-pagination a:hover {
    background: #f5f5f5;
}

.pleiades-pagination .current {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.pleiades-no-posts {
    text-align: center;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
}

.pleiades-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.pleiades-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.pleiades-archive-title {
    font-size: 1.1em;
    margin: 0;
    color: #333;
}

.pleiades-post-count {
    font-size: 1.1em;
    color: #666;
    margin-top: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .pleiades-all-posts {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pleiades-archive-title {
        font-size: 1.5em;
    }
    
    .pleiades-post-item {
        padding: 15px;
    }
}