.news-main {
    padding-block: 24px;
}
.news-main h1, .news-main h2, .news-main h3 {
    font-family: var(--display);
}
.news-title {
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: -.025em;
}
.news-intro {
    margin: 4px 0 0;
    color: hsl(var(--muted));
}
.news-tag-filter, .news-filters {
    margin-block: 24px;
}
.news-tag-filter, .news-filters, .news-pagination, .news-meta {
    display: flex;
    align-items: center;
}
.news-tag-filter {
    gap: 8px;
    color: hsl(var(--muted));
}
.news-filters {
    gap: 4px;
    padding-bottom: 4px;
    overflow-x: auto;
}
.news-filters a, .news-pagination a, .news-pagination [aria-current] {
    flex: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: hsl(var(--muted));
    font-weight: 500;
    white-space: nowrap;
}
.news-filters a:hover, .news-pagination a:hover {
    color: hsl(var(--foreground));
    background: hsl(var(--surface-2));
}
.news-filters a[aria-current], .news-pagination [aria-current] {
    background: hsl(var(--primary));
    color: hsl(var(--card));
}
.news-filters a:focus-visible {
    outline-offset: -2px;
}
.news-card {
    display: block;
    overflow: hidden;
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    background: hsl(var(--card));
}
.news-card:hover, .news-related a:hover, .news-adjacent a:hover, .news-match:hover {
    border-color: hsl(var(--primary) / .5);
}
.news-featured {
    margin-bottom: 24px;
}
.news-card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    background: hsl(var(--border) / .5);
}
.news-card-cover img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.news-card-copy {
    padding: 16px;
    min-width: 0;
}
.news-featured .news-card-copy {
    padding: 20px;
}
.news-badge {
    display: inline-block;
    border-radius: 9999px;
    background: hsl(var(--primary) / .1);
    color: hsl(var(--primary));
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}
.news-featured .news-badge {
    padding-inline: 10px;
}
.news-card h2, .news-card h3 {
    margin: 8px 0 0;
    overflow-wrap: anywhere;
}
.news-card h2, .news-related h2 {
    font-size: 18px;
    line-height: 1.375;
}
.news-card h3 {
    font-size: 14px;
    line-height: 1.375;
    font-weight: 600;
}
.news-card p, .news-card h3, .news-adjacent a span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.news-card p {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.625;
    color: hsl(var(--muted));
}
.news-featured p {
    margin-top: 8px;
    font-size: 14px;
}
.news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}
.news-meta {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    color: hsl(var(--muted));
    font-size: 12px;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
}
.news-featured .news-meta, .news-article-meta {
    gap: 16px;
}
.news-meta > span, .news-byline, .news-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.news-meta .icon {
    width: 12px;
    height: 12px;
}
.news-pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}
.news-pagination a {
    border: 1px solid hsl(var(--border));
}
.news-pagination a, .news-pagination [aria-current] {
    border-radius: 6px;
    padding: 6px 12px;
}
.news-empty {
    padding: 80px 0;
    text-align: center;
}
.news-empty p {
    font-size: 18px;
    margin: 0 0 4px;
}
.news-empty small {
    font-size: 14px;
    color: hsl(var(--muted));
}
.news-article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
}
.news-back {
    margin-bottom: 24px;
    gap: 6px;
    color: hsl(var(--muted));
}
.news-back:hover {
    color: hsl(var(--foreground));
}
.news-article-badge {
    padding: 4px 12px;
}
.news-article-title {
    font-size: 24px;
    line-height: 30px;
    margin: 12px 0 0;
    overflow-wrap: anywhere;
}
.news-article-meta {
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
}
.news-article-meta .icon {
    width: 14px;
    height: 14px;
}
.news-meta .news-byline {
    gap: 8px;
    font-weight: 500;
}
.news-byline span {
    display: grid;
    place-items: center;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    background: hsl(var(--border) / .45);
    font-size: 12px;
    font-weight: 700;
}
.news-attribution {
    border-radius: 9999px;
    background: hsl(var(--surface-2));
    padding: 2px 8px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}
.news-article-cover {
    display: block;
    margin-top: 24px;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}
.news-prose {
    margin-top: 32px;
    font-size: 16px;
    line-height: 28px;
    color: hsl(var(--foreground) / .88);
    overflow-wrap: anywhere;
}
.news-prose p {
    margin: 0 0 20px;
}
.news-prose a, .news-source a {
    color: hsl(var(--primary));
    text-decoration: underline;
}
.news-prose pre, .news-prose table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
.news-prose td, .news-prose th {
    min-width: 72px;
    padding: 4px 8px;
    border-bottom: 1px solid hsl(var(--border));
}
.news-tags {
    margin-top: 32px;
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
}
.news-tags a {
    border-radius: 9999px;
    padding: 4px 12px;
    background: hsl(var(--surface-2));
    color: hsl(var(--muted));
    font-size: 12px;
}
.news-source {
    font-size: 12px;
    color: hsl(var(--muted));
    overflow-wrap: anywhere;
}
.news-adjacent, .news-related {
    border-top: 1px solid hsl(var(--border) / .5);
    margin-top: 40px;
    padding-top: 24px;
}
.news-adjacent, .news-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.news-adjacent a, .news-related a {
    display: block;
    padding: 12px;
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border) / .6);
    border-radius: 8px;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.news-adjacent a:last-child {
    text-align: right;
}
.news-adjacent small {
    color: hsl(var(--muted));
    display: block;
}
.news-related h2 {
    margin: 0 0 16px;
}
.news-related-grid {
    grid-template-columns: minmax(0, 1fr);
}
.news-related-grid a {
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
}
.news-related-grid img {
    object-fit: cover;
    border-radius: 6px;
}
.news-sidebar {
    display: none;
}
.news-sidebar h2 {
    margin: 0;
    padding: 12px 16px;
    border-bottom: 1px solid hsl(var(--border) / .5);
    font-size: 14px;
}
.news-sidebar .panel + .panel {
    margin-top: 24px;
}
.news-sidebar ol, .news-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-sidebar li + li {
    border-top: 1px solid hsl(var(--border) / .3);
}
.news-sidebar li a {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}
.news-sidebar li a:hover, .news-related a:hover {
    color: hsl(var(--primary));
}
.news-sidebar li a > span {
    flex: 0 0 20px;
    height: 20px;
    text-align: center;
    border-radius: 4px;
    background: hsl(var(--border) / .45);
    color: hsl(var(--muted));
}
.news-sidebar li small {
    display: block;
    color: hsl(var(--muted));
    margin-top: 4px;
    font-weight: 400;
}
.news-sidebar table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.news-sidebar th, .news-sidebar td {
    padding: 6px 8px;
    border-bottom: 1px solid hsl(var(--border) / .3);
}
.news-sidebar td img {
    vertical-align: middle;
}
.news-sidebar time {
    color: hsl(var(--muted));
    flex: 0 0 40px;
}
.news-match {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 116px;
    padding: 16px 12px;
    gap: 10px;
    text-align: center;
    background: hsl(var(--surface));
}
.news-match-team {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.news-match-team:nth-child(2) {
    grid-column: 3;
}
.news-match-status {
    display: grid;
    gap: 3px;
    grid-row: 1;
    grid-column: 2;
    font-size: 12px;
    color: hsl(var(--muted));
}
.news-match-status small {
    text-transform: uppercase;
}
.news-match-status strong {
    color: hsl(var(--foreground));
    font-size: 18px;
    line-height: 24px;
}
@media (min-width: 640px) {
    .news-featured {
        display: flex;
    }
    .news-featured .news-card-cover {
        aspect-ratio: auto;
        flex: 0 0 288px;
    }
    .news-featured .news-card-copy {
        flex: 1;
    }
    .news-grid, .news-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .news-article-title {
        font-size: 30px;
        line-height: 36px;
    }
}
@media (min-width: 1024px) {
    .news-site .container {
        width: min(1136px, calc(100% - 64px));
    }
    .news-featured .news-card-cover {
        flex-basis: 384px;
    }
    .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .news-article-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
    }
    .news-article-title {
        font-size: 36px;
        line-height: 40px;
    }
    .news-sidebar {
        display: block;
    }
}
@media (min-width: 1024px) and (max-width: 1199px) {
    .news-site .main-nav {
        gap: 2px;
    }
    .news-site .main-nav a {
        padding-inline: 8px;
    }
    .news-site .header-actions {
        gap: 8px;
    }
}
