/* Astraデフォルトの余白をリセット */
body.page-template-page-news .site-content {
    padding: 0 !important;
}
body.page-template-page-news .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}
body.page-template-page-news .entry-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* ページ全体 */
.news-page-wrap {
    min-height: 60vh;
    background: #f9fafb;
    padding: 56px 20px 80px;
}

.news-page-inner {
    max-width: 900px;
    margin: 0 auto;
}

/* ページタイトル */
.news-page-title {
    font-size: 26px;
    font-weight: 800;
    color: #1a1a2e;
    text-align: center;
    margin: 0 0 40px;
    letter-spacing: 0.02em;
}

/* タブ */
.news-page-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.news-page-tab-btn {
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    border: 2px solid #e5e7eb;
    background: white;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-page-tab-btn:hover {
    border-color: #ec4899;
    color: #ec4899;
}

.news-page-tab-btn.active {
    background: #ec4899;
    border-color: #ec4899;
    color: white;
}

/* タブコンテンツ */
.news-page-tab-content {
    display: none;
}

.news-page-tab-content.active {
    display: block;
}

/* 記事アイテム */
.news-page-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: white;
    border-radius: 10px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.news-page-item:hover {
    background: #FFF5F7;
    transform: translateX(4px);
    box-shadow: 0 3px 12px rgba(236,72,153,0.12);
}

.news-page-date {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    min-width: 90px;
}

.news-page-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-page-category.cat-notice {
    background: #dbeafe;
    color: #1e40af;
}

.news-page-category.cat-column {
    background: #dcfce7;
    color: #166534;
}

.news-page-title-text {
    flex: 1;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

.news-page-arrow {
    color: #ccc;
    font-size: 14px;
    flex-shrink: 0;
}

/* 空メッセージ */
.news-page-empty {
    text-align: center;
    color: #999;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    font-size: 15px;
}

/* ページネーション */
.news-page-pagination {
    margin-top: 32px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.news-page-pagination a,
.news-page-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #e5e7eb;
    background: white;
    color: #666;
    transition: all 0.2s ease;
}

.news-page-pagination a:hover {
    border-color: #ec4899;
    color: #ec4899;
}

.news-page-pagination .current {
    background: #ec4899;
    border-color: #ec4899;
    color: white;
}

/* スマホ対応 */
@media (max-width: 480px) {
    .news-page-wrap {
        padding: 36px 16px 64px;
    }
    .news-page-tabs {
        flex-wrap: wrap;
        gap: 6px;
    }
    .news-page-tab-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
    .news-page-item {
        flex-wrap: wrap;
        gap: 8px;
        padding: 14px 16px;
    }
    .news-page-date {
        min-width: auto;
    }
    .news-page-title-text {
        width: 100%;
        font-size: 14px;
    }
    .news-page-arrow {
        display: none;
    }
}
