/* Jolixo — Error pages (403, 404, 422, 429, 500, 503) rendered inside the site layout. */

.error-page {
    max-width: 620px;
    margin: 6vh auto 10vh;
    text-align: center;
}

.error-code {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.error-code span {
    font-size: clamp(88px, 16vw, 150px);
    font-weight: 900;
    letter-spacing: -.07em;
    line-height: 1;
    background: linear-gradient(135deg, var(--coral), #e8456b 55%, var(--mint));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.error-code i {
    position: absolute;
    right: -26px;
    top: -6px;
    font-style: normal;
    font-size: 40px;
    transform: rotate(12deg);
}

.error-page h1 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin: 0 0 10px;
}

.error-page p {
    font-size: 15px;
    margin: 0 auto 26px;
    max-width: 46ch;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.error-search {
    display: flex;
    gap: 8px;
    max-width: 420px;
    margin: 26px auto 0;
}

.error-search input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--soft);
    color: var(--ink);
    font: inherit;
}

.error-search input:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255, 119, 87, .18);
}
