/* ===========================
   ReFLiA - News Page Styles
   =========================== */

/* サブページ共通：ヘッダー分の余白 */
body.subpage {
    padding-top: 0;
}

/* ページヒーロー */
.page-hero {
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 100px 20px 40px;
    text-align: center;
    position: relative;
}

.page-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #2a5a7a;
    margin: 0 0 8px;
    line-height: 1;
}

.page-hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #5a8aaa;
    margin: 0;
}

/* ニュースページセクション */
.news-page {
    padding: 40px 0 80px;
}

/* ニュース一覧（全件表示） */
.news-list-full {
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid rgba(100, 180, 220, 0.20);
}

/* ニュースアイテムリンク */
.news-item-link {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(100, 180, 220, 0.15);
    transition: background 0.25s;
    flex-wrap: wrap;
}

.news-item-link:last-child {
    border-bottom: none;
}

.news-item-link:hover {
    background: rgba(100, 180, 220, 0.10);
}

.news-item-link .news-title {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #2a3a4a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ローディング・エラー・空 */
.news-loading,
.news-error,
.news-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 60px 20px;
    color: #7ab8d4;
    font-size: 0.95rem;
}

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

.pag-btn {
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(100, 180, 220, 0.40);
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    color: #5a8aaa;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pag-btn:hover {
    background: rgba(100, 180, 220, 0.25);
    border-color: rgba(100, 180, 220, 0.60);
}

.pag-btn.active {
    background: linear-gradient(135deg, #5ab8d8, #7ab0d0);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

/* レスポンシブ */
@media (max-width: 600px) {
    .news-item-link {
        padding: 16px 18px;
    }

    .news-item-link .news-title {
        font-size: 0.88rem;
        white-space: normal;
    }

    .page-hero {
        padding: 90px 20px 30px;
    }
}
