/* すべての投稿ページのスタイル */
.all-posts-archive {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.all-posts-archive .page-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5em;
    color: #333;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.post-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

/* 投稿タイプラベル */
.post-type-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.post-label {
    background: #e3f2fd;
    color: #1976d2;
}

.event-label {
    background: #f3e5f5;
    color: #7b1fa2;
}

.post-title a {
    text-decoration: none;
    color: #333;
    font-size: 1.3em;
    font-weight: bold;
}

.post-date {
    color: #666;
    font-size: 0.9em;
    margin: 10px 0;
}

.event-date, .event-location {
    color: #666;
    font-size: 0.9em;
    margin: 8px 0;
}

.post-excerpt {
    margin: 15px 0;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    padding: 8px 16px;
    background: #007cba;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #005a87;
}

/* ページネーション */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
}

.pagination .current {
    background: #007cba;
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .all-posts-archive {
        padding: 20px 15px;
    }
}