.error404 .eridan-404 {
    background: #fff;
    min-height: 680px;
    overflow: hidden;
    padding: clamp(48px, 6vw, 96px) 0;
}

.error404 .eridan-404__content {
    margin: 0 auto;
    max-width: 1480px;
    padding: 0 clamp(24px, 4vw, 64px);
    width: 100%;
}

.error404 .eridan-404__layout {
    align-items: center;
    display: grid;
    gap: clamp(32px, 5vw, 80px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.error404 .eridan-404__copy {
    max-width: 720px;
}

.error404 .eridan-404__tag {
    background: var(--whiteOpacity800, rgba(255, 255, 255, 0.8));
    border-radius: 4px;
    display: inline-flex;
    padding: 10px 14px;
}

.error404 .eridan-404__title {
    font-size: clamp(48px, 5.5vw, 96px);
    line-height: 0.98;
    margin: clamp(28px, 3vw, 48px) 0 0;
    max-width: 760px;
}

.error404 .eridan-404__text {
    font-size: clamp(24px, 2.1vw, 36px);
    line-height: 1.25;
    margin: clamp(28px, 3vw, 48px) 0 0;
}

.error404 .eridan-404__button {
    margin-top: clamp(32px, 4vw, 56px);
}

.error404 .eridan-404__button .btn {
    align-items: center;
    background: var(--primary400, #d11d78);
    border-radius: 4px;
    color: #fff;
    display: inline-flex;
    font-size: 20px;
    justify-content: center;
    min-height: 56px;
    padding: 14px 24px;
    text-decoration: none;
}

.error404 .eridan-404__illustration {
    min-width: 0;
}

.error404 .eridan-404__illustration svg {
    display: block;
    height: auto;
    margin: 0 auto;
    max-height: 680px;
    width: 100%;
}

@media (max-width: 767px) {
    .error404 .eridan-404 {
        min-height: 0;
        padding: 40px 0 56px;
    }

    .error404 .eridan-404__content {
        padding: 0 20px;
    }

    .error404 .eridan-404__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .error404 .eridan-404__title {
        font-size: clamp(44px, 14vw, 64px);
    }

    .error404 .eridan-404__text {
        font-size: 22px;
    }

    .error404 .eridan-404__illustration {
        margin: -24px -12px -40px;
    }
}
