.news-page {
    width: min(100% - 16px, 1440px);
    margin: 0 auto;
    padding: 16px 0 32px;
}
.news-page .section-header {
    text-align: center;
    margin-bottom: 16px;
}
.news-page .section-header h1 {
    color: #1E3C72;
    font-size: 1.45rem;
    margin: 0 0 8px;
}
.news-page .section-header p {
    color: #5b6b86;
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0 auto 12px;
    max-width: 820px;
}
.create-post-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #1E3C72;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: 0;
    cursor: pointer;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.create-post-btn:hover {
    background: #2A5298;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 60, 114, 0.2);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}
.news-card {
    background: #fff;
    border: 1px solid #e4ebf5;
    border-radius: 10px;
    overflow: hidden;
    min-width: 0;
    box-shadow: 0 2px 8px rgba(30,60,114,0.06);
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(30, 60, 114, 0.14);
    border-color: #c5d3ea;
}

.news-image img {
    transition: transform 0.45s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-card .read-more {
    transition: background 0.2s ease, transform 0.2s ease;
}

.news-card .read-more:hover {
    background: #1E3C72;
    transform: translateY(-1px);
}

.post-modal.is-open { display: block; }

.news-image {
    aspect-ratio: 1 / 1;
    height: auto;
    background: #1E3C72;
    overflow: hidden;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.news-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}
.news-content { padding: 8px 9px 10px; }
.news-date { color: #2A5298; font-size: 0.7rem; margin-bottom: 4px; }
.news-title {
    color: #1E3C72;
    font-size: 0.82rem;
    margin: 0 0 6px;
    line-height: 1.3;
}
.news-excerpt { display: none; }
.news-card .read-more {
    display: inline-block;
    padding: 4px 8px;
    background: #2A5298;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
}
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 28px 12px;
    color: #5b6b86;
}

.post-form .form-group { margin-bottom: 14px; }
.post-form label { display: block; margin-bottom: 6px; font-weight: 700; color: #1E3C72; }
.post-form input[type="text"],
.post-form textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #c9d6ea;
    border-radius: 8px;
    box-sizing: border-box;
}
.post-form textarea { min-height: 140px; }
.submit-btn {
    background: #1E3C72;
    color: #fff;
    padding: 9px 16px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.submit-btn:hover {
    background: #2A5298;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.2);
}

@media (max-width: 1099px) {
    .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .news-excerpt {
        display: block;
        color: #5b6b86;
        font-size: 0.78rem;
        margin-bottom: 8px;
    }
}
@media (max-width: 640px) {
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .news-page { padding: 12px 8px 28px; width: 100%; }
}
