.news-form__datetime {
    width: auto;
    max-width: 100%;
}

.news-page {
    --news-accent: #0d6efd;
    --news-muted: #6c757d;
    --news-border: #eef0f3;
}

.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.news-card {
    border: 1px solid var(--news-border);
    border-left: 3px solid rgba(13, 110, 253, 0.35);
    border-radius: 0.75rem;
    padding: 1rem 1rem 1rem 1.15rem;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.news-card--link {
    display: flex;
    align-items: stretch;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.news-card--link:hover {
    border-color: rgba(13, 110, 253, 0.25);
    border-left-color: var(--news-accent);
    box-shadow: 0 0.35rem 0.85rem rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.news-card--link:hover .news-card__arrow {
    color: var(--news-accent);
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 0.35rem rgba(13, 110, 253, 0.45));
}

.news-card__body {
    flex: 1;
    min-width: 0;
}

.news-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #f8f9fa;
    color: var(--news-muted);
    font-size: 0.75rem;
    line-height: 1.2;
}

.news-card__meta-icon {
    font-size: 0.7rem;
    color: var(--news-accent);
}

.news-card__date {
    color: inherit;
}

.news-card__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    line-height: 1.25;
    color: #212529;
}

.news-card__excerpt {
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: stretch;
    width: 2.75rem;
    margin-left: 0.75rem;
    padding-right: 0.15rem;
    font-size: 1.5rem;
    color: var(--news-muted);
    opacity: 0.65;
    transition: color 0.2s ease, transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.news-list-panel {
    padding: 1.25rem 1.35rem;
    border-radius: 1rem;
    background: #fff;
}

.news-list-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--news-border);
}

.news-list-panel__title {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
}

.news-list-panel__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #f8f9fa;
    color: var(--news-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.news-pagination {
    margin-top: 1.25rem;
}

.news-pagination .page-link {
    border-radius: 0.65rem;
    margin: 0 0.15rem;
}

.news-pagination .page-item.active .page-link {
    background-color: var(--news-accent);
    border-color: var(--news-accent);
}

.news-article {
    max-width: 820px;
    margin: 0 auto;
}

.news-article__back {
    margin-bottom: 1.25rem;
}

.news-article__back .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.news-article__header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--news-border);
}

.news-article__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

.news-article__date {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f8f9fa;
    color: var(--news-muted);
    font-size: 0.9rem;
}

.news-article__body {
    margin-top: 0.5rem;
    white-space: pre-wrap;
    line-height: 1.75;
    font-size: 1.05rem;
    color: #212529;
}

.news-article__nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--news-border);
}

.news-article__nav-btn {
    flex: 1 1 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 2rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    text-decoration: none;
}

.news-article__nav-btn.disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 576px) {
    .news-article__nav {
        flex-direction: column;
    }

    .news-article__nav-btn {
        flex: 1 1 auto;
        width: 100%;
    }
}
