.search-results--wrapper {
    padding-block: 7.5rem 8.75rem;
}

.search-results--footer .cta-buttons {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.search-results--wrapper .main-curve {
    width: 60rem;
    height: 60rem;
    aspect-ratio: 1 / 1;
    position: fixed;
    bottom: 0;
    right: 0;
    transform: translate(50%, 50%);
    z-index: -1;
}

.search-results--wrapper .main-curve::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -12rem;
    padding: 12rem;
    border-radius: 50%;
    background: linear-gradient(-130deg, var(--c-gradient-primary));
    mask:
        linear-gradient(#000 0 0) exclude,
        linear-gradient(#000 0 0) content-box;
}

.search-results--wrapper .secondary-curve {
    width: 40rem;
    height: 40rem;
    aspect-ratio: 1 / 1;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-45%, -40%);
    z-index: -1;
}

.search-results--wrapper .secondary-curve::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -8.5rem;
    padding: 8.5rem;
    border-radius: 50%;
    background: linear-gradient(0deg, var(--c-gradient-secondary));
    mask:
        linear-gradient(#000 0 0) exclude,
        linear-gradient(#000 0 0) content-box;
}

.search-results--header {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.search-results--form {
    margin-block: 5rem 3.75rem;
    max-width: 38.5rem;
}

.search-results--form input {
    width: 100%
}

.search-results--list {
    max-width: 49.375rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.search-results--item {
    text-decoration: none;
    background-color: white;
    color: var(--c-text-light);
    padding: 2rem 2.8125rem;
    border: 1px solid var(--c-alto);
    border-radius: var(--radius-l);
    outline: none;
}

.search-results--item:is(:hover, :focus) {
    border-color: var(--c-tertiary);
    box-shadow: 0px 2px 6px 0px #10182814;
}

.search-results--item-title {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
}

.search-results--item-title svg {
    transition: transform 100ms ease;
}

.search-results--item:is(:hover, :focus) svg {
    transform: translateX(2px);
}

.search-results--item-excerpt {
    text-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1rem;
}

.search-results--item-excerpt:empty,
.search-results--item-excerpt:has(.excerpt_part:empty) {
    margin-top: 0;
}

.search-results--footer {
    margin-top: 3.75rem;
}

@media screen and (width <= 1024px) {
    .search-results--wrapper .secondary-curve {
        top: -7.5rem;
        transform: translate(-55%, -50%);
    }
    .search-results--wrapper .secondary-curve::after {
        padding: 8rem;
        background: linear-gradient(-40deg, var(--c-gradient-secondary));
    }
    .search-results--wrapper .main-curve {
        width: 55rem;
        height: 55rem;
        transform: translate(75%, 35%);
    }
    .search-results--wrapper .main-curve::after {
        inset: 0;
        padding: 9rem;
    }
}

@media screen and (width <= 440px) {
    .search-results--wrapper .secondary-curve {
        top: -5.5rem;
    }
    .search-results--wrapper {
        padding-block: 3.125rem 5rem;
    }
    .search-results--header {
        gap: 1.5rem;
    }
    .search-results--form {
        margin-block: 2.5rem;
    }
    .search-results--item {
        padding: 1.25rem 1.5rem;
    }
    .search-results--item-excerpt {
        text-wrap: auto;
        overflow: auto;
        text-overflow: auto;
    }
    .search-results--footer {
        margin-top: 3.125rem;
    }
    .search-results--footer .cta-buttons {
        margin-top: 1.5rem;
    }
    .search-results--wrapper .main-curve {
        bottom: unset;
        top: 0;
        transform: translate(75%, 23%);
    }
}