/**
 * ニュース・ブログマネージャー用スタイル
 */

/* ページネーション */
.pagination {
    text-align: center;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.pagination a,
.pagination span {
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    text-decoration: none;
    border-radius: 3px;
    color: #333;
}

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

.pagination .current {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

.pagination .dots {
    border: none;
    padding: 5px;
}

.pagination .disabled {
    color: #ccc;
    border-color: #eee;
}

/* お知らせリスト */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    display: inline-block;
    margin-right: 15px;
    color: #666;
}

.news-title {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.news-title:hover {
    text-decoration: underline;
}

/* ブログリスト */
.blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.blog-item {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.blog-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-thumbnail {
    height: 200px;
    overflow: hidden;
}

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

.blog-thumbnail img:hover {
    transform: scale(1.05);
}

.blog-content {
    padding: 15px;
}

.blog-date {
    color: #666;
    font-size: 0.9em;
    display: block;
    margin-bottom: 5px;
}

.blog-title {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.blog-excerpt {
    color: #555;
    font-size: 0.95em;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}
.blog-list-container article.blog-item .blog-content h2.blog-title, .blog-list-container article.blog-item .blog-content h3 {
	text-align: left;
}
article.category-news .entry-content h3, article.category-news .entry-content h2 {
	text-align: left;
}

/* 投稿詳細ページ */
.post-detail-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.entry-title {
    margin-bottom: 10px;
}

.entry-meta {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.featured-image {
    margin-bottom: 20px;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.entry-content {
    line-height: 1.6;
    margin-bottom: 30px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.post-navigation a {
    text-decoration: none;
    color: #007bff;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

.post-navigation a:hover {
    background-color: #f5f5f5;
}
article.category-blog .entry-content h3 {
	text-align: left;
}
/* レスポンシブデザイン */
@media (max-width: 768px) {
    .blog-list {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

/* エントリーフッター（既存css対応） */
footer.entry-footer {
    background: none;
    padding: 0;
    clear: both;
    border-bottom: 0;
}