/*
    Hestia's Definitive Blueprint for the "News" Bulletin Board
    -----------------------------------------------------------
    File: news.css
    Role: To create a clear, beautiful, and easily expandable bulletin board.
*/

/* --- [O] The Unbreakable Vows: Global Elements & The Oath of 1100px --- */
:root { /* (style.cssから、基本変数を、継承) */ }
.container { max-width: 1100px; margin-left: auto; margin-right: auto; padding-left: 2rem; padding-right: 2rem; }
@media (max-width: 768px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }

/* --- [I] The Bulletin Board's Face: Hero Section --- */
.hero-news {
    min-height: 300px;
    background-image: linear-gradient(to top, rgba(0, 90, 158, 0.8), rgba(40, 150, 220, 0.4)), url('../images/common/news-hero.jpg');
    display: flex;
    align-items: center;
    padding: 4rem 0;
}
.hero-news .hero-project-content {
    text-align: left;
    color: white;
}
.hero-news .project-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin: 0;
    border-left: 4px solid var(--color-secondary);
    padding-left: 1.5rem;
}
.hero-news .project-catchcopy {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 1rem;
    padding-left: calc(1.5rem + 4px);
}

/* --- [II] The Body of the Bulletin Board --- */
.news-list-section {
    padding: 5rem 0;
}
.news-list {
    max-width: 900px;
    margin: 0 auto;
}
.news-item {
    display: block;
    background-color: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: var(--color-text);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 5px solid transparent;
}
.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.news-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.news-item-header time {
    font-weight: bold;
    color: #555;
    font-size: 0.9rem;
}
.news-category {
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}
/* カテゴリごとの、魂の色 */
.cat-info { background-color: var(--color-primary); }
.cat-release { background-color: #43a047; }
.cat-media { background-color: #6a1b9a; }
.cat-maintenance { background-color: #f57c00; }
.news-item:hover { border-color: var(--color-secondary); }


.news-item-title {
    font-size: 1.3rem;
    margin: 0;
    font-weight: bold;
    line-height: 1.5;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* ページネーションの、意匠 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}
.page-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: var(--color-primary);
    background-color: white;
    border: 1px solid #ddd;
    font-weight: bold;
    transition: back
}
/*
    Hestia's Definitive Blueprint for the "News" Bulletin Board (Final Harmonized Edition)
    --------------------------------------------------------------------------------------
    File: news.css
    Role: To create a clear, beautiful, and FLAWLESSLY harmonized bulletin board.
*/
.hero-news { /* (変更なし) */ }
.news-intro { padding: 5rem 0; background-color: #f8f9fa; }
.intro-dialogue { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.dialogue-turn { display: flex; align-items: flex-start; gap: 1rem; }
.dialogue-turn img { height: 60px; flex-shrink: 0; }
.dialogue-turn p { margin: 0; padding: 1rem; border-radius: 10px; line-height: 1.6; }
.correct-turn p { background-color: #e3f2fd; }
.chisai-turn p { background-color: #fffde7; }
.news-list-section { padding: 5rem 0; }
.news-list { max-width: 900px; margin: 0 auto; }
.news-item { display: block; background-color: white; padding: 1.5rem 2rem; border-radius: 8px; margin-bottom: 1.5rem; text-decoration: none; color: var(--color-text); box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.news-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.news-item-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.news-item-header time { font-weight: bold; color: #555; }
.news-category { font-size: 0.8rem; font-weight: bold; color: white; padding: 0.2rem 0.8rem; border-radius: 20px; }
.cat-info { background-color: var(--color-primary); }
.cat-release { background-color: #43a047; }
.cat-media { background-color: #6a1b9a; }
.cat-maintenance { background-color: #f57c00; }
.news-item-title { font-size: 1.3rem; margin: 0; font-weight: bold; }
.no-posts { text-align: center; padding: 3rem; background-color: #f8f9fa; border-radius: 8px; }
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 4rem; }
.page-item { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none; color: var(--color-primary); background-color: white; border: 1px solid #ddd; font-weight: bold; }
.page-item.current { background-color: var(--color-primary); color: white; border-color: var(--color-primary); }
.page-item:not(.dots):not(.current):hover { background-color: #f8f9fa; }