.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.news-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
}

.news-create-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.6rem;
    white-space: nowrap;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.news-create-btn:hover {
    transform: translateY(-1px);
}

.news-list {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .news-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-card__image {
    height: 10rem;
    width: 100%;
    object-fit: cover;
}

.news-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}

.news-card__meta {
    font-size: 0.75rem;
    opacity: 0.75;
}

.news-card__staff {
    margin-top: auto;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 0.75rem;
}

.news-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.news-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.news-actions>* {
    flex-shrink: 0;
}

.news-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.news-form {
    max-width: 48rem;
    margin: 0 auto;
}

.news-form h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.news-form .form-row {
    margin-bottom: 1rem;
}

.news-form input,
.news-form textarea {
    width: 100%;
}

.news-content {
    max-width: 52rem;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
    -webkit-backdrop-filter: blur(8px) brightness(1.05);
    backdrop-filter: blur(8px) brightness(1.05);
    padding: 1%;
    font-size: 1rem;
    line-height: 1.8;
    word-wrap: break-word;
}

.news-content h1,
.news-content h2,
.news-content h3 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.2rem;
    margin-bottom: 1rem;
}

.news-content h1 {
    font-size: 2rem;
}

.news-content h2 {
    font-size: 1.6rem;
}

.news-content h3 {
    font-size: 1.25rem;
}

.news-content p {
    margin: 1rem 0;
}

.news-content ul,
.news-content ol {
    margin: 1rem 0 1rem 1.5rem;
}

.news-content li {
    margin: 0.4rem 0;
}

.news-content blockquote {
    padding-left: 1rem;
    border-left: 3px solid currentColor;
    opacity: 0.8;
    margin: 1.5rem 0;
}

.news-content pre {
    overflow-x: auto;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
}

.news-content code {
    font-size: 0.875em;
}

.news-detail {
    max-width: 72rem;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border-radius: 1.25rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.news-detail__header {
    margin-bottom: 2rem;
}

.news-detail__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.news-detail__meta {
    font-size: 0.875rem;
    opacity: 0.75;
}

@media (max-width: 640px) {
    .news-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-create-btn {
        align-self: stretch;
        justify-content: center;
    }
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.news-content h1 {
    font-size: 2rem;
}

.news-content h2 {
    font-size: 1.6rem;
}

.news-content h3 {
    font-size: 1.3rem;
}

.news-content h4 {
    font-size: 1.1rem;
}

.news-content p {
    margin: 1rem 0;
}

.news-content ul,
.news-content ol {
    margin: 1rem 0 1rem 1.5rem;
    padding-left: 0.5rem;
}

.news-content li {
    margin: 0.4rem 0;
}

.news-content a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.news-content strong {
    font-weight: 700;
}

.news-content em {
    font-style: italic;
}

.news-content del {
    opacity: 0.7;
}

.news-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 0.75rem;
}

.news-content figure {
    margin: 2rem auto;
    text-align: center;
}

.news-content figcaption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.news-content figure {
    margin: 2rem auto;
    text-align: center;
}

.news-content figcaption {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.news-content pre {
    margin: 2rem 0;
    padding: 1.25rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
}

.news-content code {
    font-size: 0.875em;
    padding: 0.15em 0.4em;
    border-radius: 0.3rem;
}

.news-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
}

.news-content th,
.news-content td {
    padding: 0.6rem 0.75rem;
    text-align: left;
    vertical-align: top;
}

.news-content thead th {
    font-weight: 700;
}

.news-content table {
    overflow-x: auto;
    display: block;
}

.news-content hr {
    margin: 3rem 0;
    border: none;
    border-top: 1px solid currentColor;
    opacity: 0.15;
}