.nsr-not-found {
    padding-top: 80px;
    padding-bottom: 64px;
    color: var(--nsr-text);
}

.nsr-not-found__intro {
    margin-bottom: 136px;
}

.nsr-not-found__code {
    --nsr-orbit-size: clamp(96px, 31vw, 136px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #3785cb;
    font-size: calc(var(--nsr-orbit-size) * 1.4);
    font-weight: 700;
    line-height: .7142857143;
}

.nsr-not-found__orbit {
    display: block;
    width: var(--nsr-orbit-size);
    height: auto;
    flex: 0 0 auto;
}

.nsr-not-found__title {
    margin: 56px 0 16px;
    color: var(--nsr-blue);
    font-size: clamp(22px, 7.1vw, 28px);
    font-weight: 650;
    line-height: 1.1;
    text-transform: uppercase;
}

.nsr-not-found__description {
    margin: 0;
    font-size: 16px;
    line-height: 20px;
}

.nsr-not-found__grid {
    margin: 0;
}

.nsr-not-found__column {
    position: relative;
    display: flex;
    min-width: 0;
    padding: 24px 8px;
}

.nsr-not-found__column:first-child {
    padding-top: 0;
}

.nsr-not-found__column + .nsr-not-found__column::before {
    position: absolute;
    top: 0;
    right: 8px;
    left: 8px;
    height: 1px;
    background: var(--nsr-border);
    content: '';
}

.nsr-not-found .nsr-article-card {
    min-height: 0;
    gap: 12px;
    padding: 0;
}

.nsr-not-found .nsr-article-card__image {
    height: auto;
    aspect-ratio: 1.58;
}

.nsr-not-found .nsr-article-card__citation {
    color: var(--nsr-secondary-500);
    font-size: 12px;
    line-height: 20px;
}

.nsr-not-found .nsr-article-card__abstract,
.nsr-not-found .nsr-article-card__meta {
    line-height: 16px;
}

.nsr-not-found .nsr-article-card__authors {
    margin-top: 4px;
}

.nsr-not-found__home {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--nsr-primary-400);
    color: var(--nsr-primary-400);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s, color .2s;
}

.nsr-not-found__home:hover {
    background-color: var(--nsr-primary-400);
    color: #fff;
}

.nsr-not-found__home:focus-visible {
    outline: 2px solid var(--nsr-blue);
    outline-offset: 4px;
}

@media (min-width: 576px) {
    .nsr-not-found__code {
        --nsr-orbit-size: 176px;
        gap: 24px;
    }

    .nsr-not-found__grid {
        row-gap: 32px;
    }

    .nsr-not-found__column,
    .nsr-not-found__column:first-child {
        padding: 0 16px;
    }

    .nsr-not-found__column + .nsr-not-found__column::before {
        right: auto;
        bottom: 0;
        left: 0;
        width: 1px;
        height: auto;
    }

    .nsr-not-found__column:nth-child(2n + 1)::before {
        display: none;
    }

    .nsr-not-found .nsr-article-card {
        min-height: 440px;
        gap: 20px;
    }

    .nsr-not-found__home {
        margin-top: 32px;
    }
}

@media (min-width: 992px) {
    .nsr-not-found {
        padding-top: 96px;
    }

    .nsr-not-found__intro {
        margin-bottom: 104px;
    }

    .nsr-not-found__code {
        --nsr-orbit-size: 220px;
        gap: 40px;
    }

    .nsr-not-found__title {
        margin-top: 64px;
        font-size: 40px;
        line-height: 48px;
    }

    .nsr-not-found__column:nth-child(n + 4) {
        display: none;
    }

    .nsr-not-found__column:nth-child(3)::before {
        display: block;
    }

    .nsr-not-found .nsr-article-card {
        min-height: 608px;
        gap: 24px;
    }

    .nsr-not-found .nsr-article-card__citation {
        font-size: 16px;
    }

    .nsr-not-found .nsr-article-card__abstract,
    .nsr-not-found .nsr-article-card__meta {
        line-height: 20px;
    }

    .nsr-not-found .nsr-article-card__authors {
        margin-top: 16px;
    }

    .nsr-not-found__home {
        min-height: 96px;
        margin-top: 24px;
        font-size: 24px;
        line-height: 32px;
    }
}

@media (min-width: 1400px) {
    .nsr-not-found {
        padding-top: 112px;
        padding-bottom: 96px;
    }

    .nsr-not-found__intro {
        margin-bottom: 208px;
    }

    .nsr-not-found__code {
        --nsr-orbit-size: 320px;
        gap: 56px;
    }

    .nsr-not-found__title {
        margin-top: 112px;
        font-size: 64px;
        line-height: 72px;
    }

    .nsr-not-found__description {
        font-size: 24px;
        line-height: 30px;
    }

    .nsr-not-found__column:nth-child(n + 4) {
        display: flex;
    }

    .nsr-not-found .nsr-article-card {
        min-height: 704px;
    }

    .nsr-not-found .nsr-article-card__title {
        font-size: 32px;
        line-height: 36px;
    }

    .nsr-not-found__home {
        min-height: 128px;
        margin-top: 40px;
    }
}
