.news-container {
    max-width: 1240px;
}

.news-hero {
    min-height: 315px;
    display: flex;
    align-items: end;
    padding: 110px 1rem 55px;
    color: #fff;
    background:
        linear-gradient(90deg, rgb(0 0 0 / 84%), rgb(0 0 0 / 30%)),
        url("../assets/home/hero-motocross.jpg") center 48% / cover no-repeat;
}

.news-eyebrow,
.sidebar-kicker {
    margin: 0 0 .4rem;
    color: var(--mx-red);
    font-family: "DIN MX", Arial, sans-serif;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-hero h1 {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: .9;
}

.news-hero p:last-child {
    max-width: 650px;
    margin: 1rem 0 0;
    font-size: 1.05rem;
}

.news-filter-band {
    padding: 38px 1rem;
    background: #f2f2f2;
    border-bottom: 1px solid #ddd;
}

.news-search {
    max-width: 680px;
}

.news-search label {
    margin-bottom: .5rem;
    font-size: .82rem;
    font-weight: 700;
}

.news-search .form-control {
    min-height: 50px;
    border-color: #c9c9c9;
    border-radius: 3px 0 0 3px;
    box-shadow: none;
}

.news-search .form-control:focus {
    border-color: var(--mx-red);
}

.news-search .btn {
    min-width: 135px;
    border-radius: 0 3px 3px 0;
}

.news-categories {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    gap: 8px;
}

.news-categories a {
    padding: 8px 12px;
    color: #2b2b2b;
    background: #fff;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.news-categories a span {
    margin-left: 4px;
    color: #777;
    font-weight: 400;
}

.news-categories a:hover,
.news-categories a.active {
    color: #fff;
    background: var(--mx-red);
    border-color: var(--mx-red);
}

.news-categories a.active span,
.news-categories a:hover span {
    color: #fff;
}

.news-results {
    padding: 48px 1rem 85px;
}

.news-results-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.news-results-heading p {
    margin: 0;
    font-family: "DIN MX", Arial, sans-serif;
    font-size: 1.35rem;
    text-transform: uppercase;
}

.news-results-heading strong {
    color: var(--mx-red);
}

.news-results-heading > a {
    color: #222;
    font-size: .82rem;
    font-weight: 700;
    text-underline-offset: 3px;
}

.featured-news {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, .8fr);
    margin-bottom: 52px;
    background: #0b0b0b;
}

.featured-image {
    display: block;
    min-height: 410px;
    overflow: hidden;
    background: #242424;
}

.featured-image img,
.news-card-image img,
.related-image img,
.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 42px;
    color: #fff;
}

.featured-content time {
    margin: .8rem 0;
    color: #aaa;
    font-size: .78rem;
}

.news-category,
.news-card-meta a,
.article-taxonomy a {
    color: var(--mx-red);
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.featured-content h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: .98;
}

.featured-content h2 a,
.news-card-content h2 a,
.related-news h3 a {
    color: inherit;
    text-decoration: none;
}

.featured-content p {
    margin: 1.2rem 0;
    color: #ccc;
    line-height: 1.6;
}

.news-read-more {
    color: inherit;
    font-family: "DIN MX", Arial, sans-serif;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: underline;
    text-transform: uppercase;
    text-underline-offset: 5px;
}

.news-card-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #242424;
}

.news-card-image img,
.related-image img {
    transition: transform .35s ease;
}

.news-card-image:hover img,
.related-image:hover img {
    transform: scale(1.035);
}

.news-card-content {
    padding: 19px 2px 15px;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 20px;
    gap: 15px;
}

.news-card-meta time,
.related-news time {
    color: #777;
    font-size: .73rem;
}

.news-card-content h2 {
    min-height: 2.25em;
    margin: .7rem 0;
    font-size: 1.42rem;
    line-height: 1.08;
}

.news-card-content p {
    min-height: 4.5em;
    margin-bottom: 1rem;
    color: #5d5d5d;
    font-size: .9rem;
    line-height: 1.55;
}

.news-card-content .news-read-more {
    color: #171717;
}

.news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    gap: 6px;
}

.news-pagination a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #222;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    font-weight: 700;
    text-decoration: none;
}

.news-pagination a:hover,
.news-pagination a.active {
    color: #fff;
    background: var(--mx-red);
    border-color: var(--mx-red);
}

.news-pagination .disabled {
    pointer-events: none;
    opacity: .35;
}

.news-empty {
    padding: 75px 1rem;
    text-align: center;
}

.article-header {
    padding: 125px 1rem 46px;
    color: #fff;
    background: #0b0b0b;
}

.article-container {
    max-width: 1120px;
}

.article-breadcrumb {
    display: flex;
    margin-bottom: 48px;
    gap: 8px;
    font-size: .78rem;
}

.article-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.article-taxonomy {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 13px;
    gap: 12px;
}

.article-header h1 {
    max-width: 980px;
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: .94;
}

.article-meta {
    display: flex;
    margin-top: 22px;
    color: #bdbdbd;
    gap: 18px;
    font-size: .8rem;
}

.article-cover {
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    margin: 0;
    background: #222;
}

.article-layout {
    padding-top: 58px;
    padding-bottom: 78px;
}

.article-lead {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.55;
}

.article-body {
    color: #333;
    font-size: 1.03rem;
    line-height: 1.78;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body figure,
.article-body blockquote {
    margin-bottom: 1.55rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 2.3rem 0 1rem;
    line-height: 1.05;
}

.article-body h2 {
    font-size: 2rem;
}

.article-body h3 {
    font-size: 1.55rem;
}

.article-body img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.article-body iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

.article-body blockquote {
    padding: 5px 0 5px 24px;
    border-left: 4px solid var(--mx-red);
    font-size: 1.15rem;
    font-weight: 700;
}

.article-body a {
    color: #b20b12;
    text-underline-offset: 3px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 42px;
    padding-top: 25px;
    border-top: 1px solid #ddd;
    gap: 8px;
}

.article-tags span {
    padding: 6px 9px;
    background: #eee;
    border-radius: 2px;
    font-size: .72rem;
}

.article-tags span:first-child {
    padding-left: 0;
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
}

.article-sidebar {
    position: sticky;
    top: 24px;
}

.article-sidebar section {
    padding: 27px;
    border: 1px solid #ddd;
}

.article-sidebar section + section {
    margin-top: 20px;
}

.article-sidebar h2 {
    margin: 0 0 15px;
    font-size: 1.5rem;
}

.sidebar-directory-link {
    color: #171717;
    font-size: .85rem;
    font-weight: 700;
    text-underline-offset: 4px;
}

.article-app {
    color: #fff;
    background: #171717;
    border-color: #171717 !important;
}

.article-app p:not(.sidebar-kicker) {
    color: #ccc;
    font-size: .9rem;
}

.article-app > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-app img {
    width: 125px;
}

.related-news {
    padding: 62px 1rem 80px;
    background: #f1f1f1;
}

.related-news > .container > h2 {
    margin: 0 0 30px;
    font-size: 2rem;
}

.related-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 14px;
    background: #222;
}

.related-news h3 {
    margin: .45rem 0 0;
    font-size: 1.2rem;
    line-height: 1.08;
}

@media (max-width: 991.98px) {
    .featured-news {
        grid-template-columns: 1fr;
    }

    .featured-image {
        min-height: 360px;
    }

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .news-hero {
        min-height: 280px;
        padding: 95px .75rem 40px;
    }

    .news-hero h1 {
        font-size: 3.2rem;
    }

    .news-filter-band,
    .news-results,
    .related-news {
        padding-right: .75rem;
        padding-left: .75rem;
    }

    .news-search .btn {
        min-width: 100px;
    }

    .news-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .news-categories a {
        flex: 0 0 auto;
    }

    .featured-image {
        min-height: 235px;
    }

    .featured-content {
        padding: 28px 24px;
    }

    .featured-content h2 {
        font-size: 2rem;
    }

    .news-card-content h2,
    .news-card-content p {
        min-height: 0;
    }

    .article-header {
        padding: 105px .75rem 34px;
    }

    .article-breadcrumb {
        margin-bottom: 38px;
    }

    .article-header h1 {
        font-size: 2.65rem;
    }

    .article-cover {
        aspect-ratio: 16 / 10;
        margin-right: -.75rem;
        margin-left: -.75rem;
    }

    .article-layout {
        padding-top: 38px;
    }

    .article-lead {
        font-size: 1.12rem;
    }
}
