.page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 418px;
    padding: 230px var(--gutter) 110px;
    overflow: hidden;
    background: var(--c-black);
    text-align: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(5, 10, 0, .55);
}

.page-hero__bg,
.hero--hub .hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    animation: felthe-hero-zoom 20s ease forwards;
}

@keyframes felthe-hero-zoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

.page-hero__title {
    max-width: 1080px;
    font-size: 62px;
    line-height: 78px;
    color: var(--c-white);
}

.page-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-hero__text {
    max-width: 648px;
    margin: 0;
    color: var(--c-soft);
}

.page-hero__scroll {
    display: inline-flex;
    margin-top: 66px;
    color: var(--c-light);
    transition: transform .3s ease;
}

.page-hero__scroll:hover {
    transform: translateY(4px);
}

.page-hero__end {
    position: absolute;
    bottom: 0;
    left: 0;
}

.page-hero__scroll .felthe-icon {
    width: 30px;
    height: 30px;
}

.page-hero--glossary {
    min-height: 358px;
    padding-top: 175px;
}

.page-hero--glossary::before {
    background: rgba(5, 10, 0, .7);
}

.page-hero--glossary .page-hero__title {
    font-size: 52px;
}

.page-hero--downloads {
    min-height: 648px;
    padding: 235px var(--gutter) 100px;
}

.page-hero--downloads::before {
    background: rgba(0, 0, 0, .7);
}

.page-body {
    padding: 100px var(--gutter);
}

.page-body--downloads {
    padding: 150px var(--gutter);
}

.page-body--downloads .container {
    max-width: 1520px;
}

.glossary-search {
    margin-bottom: 30px;
}

.glossary-search__input {
    width: 100%;
    height: 57px;
    padding: 16px;
    font-family: var(--font);
    font-size: 16px;
    color: #515962;
    background: #fafafa;
    border: 1px solid var(--c-olive);
    border-radius: 0;
    appearance: none;
}

.glossary-search__input:focus {
    outline: 2px solid var(--c-olive);
    outline-offset: 2px;
}

@media (max-width: 1024px) {
    .page-hero {
        min-height: 257px;
        padding: 125px var(--gutter) 75px;
    }

    .page-hero__title,
    .page-hero--glossary .page-hero__title {
        font-size: 48px;
        line-height: 57px;
    }

    .page-hero--downloads {
        min-height: 0;
        padding: 160px var(--gutter) 60px;
    }

    .page-body,
    .page-body--downloads {
        padding: 60px var(--gutter);
    }
}

@media (max-width: 767px) {
    .page-hero {
        min-height: 329px;
        padding: 125px var(--gutter) 75px;
    }

    .page-hero__title,
    .page-hero--glossary .page-hero__title {
        font-size: 36px;
        line-height: 43px;
    }

    .page-hero--downloads {
        padding: 150px var(--gutter) 50px;
    }

    .page-hero__scroll {
        margin-top: 30px;
    }

    .page-body,
    .page-body--downloads {
        padding: 50px var(--gutter);
    }
}

.not-found {
    padding: 120px var(--gutter) 150px;
    text-align: center;
}

.not-found__inner {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 140px;
}

.not-found__code {
    position: absolute;
    top: 5px;
    left: 50%;
    z-index: -1;
    font-size: 360px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--c-soft);
    transform: translateX(-50%);
    pointer-events: none;
}

.not-found__title {
    font-size: 64px;
    line-height: 89.6px;
    color: var(--c-olive);
}

.not-found__heading {
    margin-top: 160px;
    font-size: 32px;
    line-height: 41.6px;
}

.not-found__text {
    margin: 30px 0 0;
}

.not-found__btn {
    margin-top: 20px;
    padding: 17px 32px;
    background: var(--c-olive);
    border-color: var(--c-olive);
    color: var(--c-sand);
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
}

.not-found__btn:hover {
    background: var(--c-head);
    border-color: var(--c-head);
    color: var(--c-white);
}

.search-page {
    padding: 80px var(--gutter) 100px;
}

.search-page__head {
    max-width: 840px;
    margin: 0 auto 50px;
    text-align: center;
}

.search-page__title {
    font-size: 52px;
    line-height: 1.3;
}

.search-page__form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.search-page__field {
    flex: 1;
    min-width: 0;
    height: 50px;
    padding: 0 20px;
    border: 1px solid var(--c-sand);
    border-radius: 0;
    background: var(--c-white);
    color: var(--c-head);
    font-family: inherit;
    font-size: 16px;
}

.search-page__field:focus {
    border-color: var(--c-olive);
    outline: 2px solid var(--c-olive);
    outline-offset: 1px;
}

.search-page__submit {
    flex: 0 0 auto;
    background: var(--c-olive);
    border-color: var(--c-olive);
    color: var(--c-white);
}

.search-page__meta {
    margin: 20px 0 0;
    font-size: 15px;
}

.search-page__empty {
    text-align: center;
}

.search-list {
    max-width: 840px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.search-result {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-top: 1px solid var(--c-sand);
}

.search-result:last-child {
    border-bottom: 1px solid var(--c-sand);
}

.search-result__media {
    flex: 0 0 160px;
}

.search-result__img {
    display: block;
    width: 160px;
    height: 120px;
    object-fit: cover;
}

.search-result__body {
    flex: 1;
    min-width: 0;
}

.search-result__type {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-olive);
}

.search-result__title {
    font-size: 24px;
    line-height: 31.2px;
}

.search-result__title a {
    color: inherit;
    text-decoration: none;
}

.search-result__title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.search-result__excerpt {
    margin: 10px 0 0;
}

.search-page .navigation.pagination {
    max-width: 840px;
    margin: 40px auto 0;
}

.search-page .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.search-page .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid var(--c-sand);
    color: var(--c-head);
    text-decoration: none;
}

.search-page .page-numbers.current,
.search-page a.page-numbers:hover {
    background: var(--c-olive);
    border-color: var(--c-olive);
    color: var(--c-white);
}

.search-page .page-numbers svg {
    width: 8px;
    height: 14px;
}

@media (max-width: 1024px) {
    .not-found__code {
        font-size: 260px;
    }

    .not-found__title,
    .search-page__title {
        font-size: 44px;
        line-height: 1.3;
    }
}

@media (max-width: 767px) {
    .not-found {
        padding: 70px var(--gutter) 80px;
    }

    .not-found__inner {
        padding-top: 90px;
    }

    .not-found__code {
        top: 25px;
        font-size: 150px;
    }

    .not-found__title,
    .search-page__title {
        font-size: 32px;
        line-height: 1.3;
    }

    .not-found__heading {
        margin-top: 80px;
        font-size: 24px;
        line-height: 31.2px;
    }

    .search-page {
        padding: 50px var(--gutter) 60px;
    }

    .search-page__form {
        flex-direction: column;
    }

    .search-result {
        gap: 16px;
        padding: 20px 0;
    }

    .search-result__media {
        flex-basis: 90px;
    }

    .search-result__img {
        width: 90px;
        height: 70px;
    }

    .search-result__title {
        font-size: 20px;
        line-height: 26px;
    }
}

@media (max-width: 767px) {
    section.page-hero {
        min-height: 0;
        padding-top: 150px;
        padding-bottom: 60px;
    }

    section.page-hero .page-hero__scroll {
        margin-top: 25px;
    }
}
