.nedgeo-search:not([open]) {
    display: none;
}

.nedgeo-search {
    box-sizing: border-box;
    position: fixed;
    inset: auto 0 2.5vh;
    bottom: 2.5dvh;
    width: 95vw;
    height: 95vh;
    height: 95dvh;
    max-width: none;
    max-height: none;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    color: var(--nd-glass-text);
    border: 1px solid #d5eef9a1;
    border-right-color: #a2d8dc86;
    border-bottom-color: #a5e0d397;
    border-radius: 34px;
    background:
        url("../img/navigation/search-glass-reflection.svg") calc(50% + 395px) -148px / 670px 472px no-repeat,
        url("../img/navigation/search-glass-green.svg") right -54px bottom -29px / 737px 436px no-repeat,
        url("../img/navigation/search-glass-blue.svg") left -76px bottom -35px / 743px 418px no-repeat,
        linear-gradient(135deg, #21394fb8, #102439d4 62%, #143349b5);
    box-shadow: 0 16px 44px #0a122d6b, inset 0 1px #e7f6ff32;
    backdrop-filter: blur(12px) saturate(125%);
    -webkit-backdrop-filter: blur(12px) saturate(125%);
    color-scheme: dark;
}

.nedgeo-search[open] {
    display: flex;
    flex-direction: column;
    animation: nd-search-enter .32s cubic-bezier(.2,.72,.25,1) both;
}

.nedgeo-search::backdrop {
    background: #06152291;
}

body.home .nedgeo-search::backdrop {
    background:
        url("../img/navigation/ridge-search.svg") calc(50% + 335px) 70% / 700px 515px no-repeat,
        #06152278;
}

@keyframes nd-search-enter {
    from { transform: translateY(103%); }
    to { transform: translateY(0); }
}

.nedgeo-search__bar {
    position: relative;
    z-index: 1;
    display: flex;
    flex: none;
    justify-content: center;
    padding-top: 22px;
}

.nedgeo-search__close {
    width: 46px;
    height: 46px;
}

.nedgeo-search__inner {
    position: relative;
    flex: 1 1 auto;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: clamp(44px, 14.45vh, 130px) clamp(26px, 4.45vw, 72px) 46px;
}

.nedgeo-search .nedgeo-search__form {
    position: relative;
    display: flex;
    width: min(100%, 700px);
    min-height: 62px;
    margin: 0 auto clamp(34px, 5.6vh, 66px);
    padding: 0;
    gap: 2px;
    border: 1px solid #bfdde07d;
    border-radius: 16px;
    background: linear-gradient(125deg, #d7eff329, #6dabb523);
    box-shadow: inset 0 1px 6px #c7f1fa15;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nedgeo-search .nedgeo-search__form:focus-within {
    border-color: #c3edf2cf;
    background: linear-gradient(125deg, #d7eff33e, #79bac439);
    box-shadow: 0 0 0 2px #a9e2e537, inset 0 1px 7px #c7f1fa25;
}

.nedgeo-search .nedgeo-search__form input {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    margin: 0;
    padding: 0 0 0 22px;
    border: 0;
    border-radius: 16px;
    box-shadow: none;
    background: transparent;
    color: var(--nd-glass-text);
    font: 400 19px/1.3 "Inter", sans-serif;
    letter-spacing: 0;
}

.nedgeo-search .nedgeo-search__form input::placeholder {
    color: #d1e0e5;
    opacity: 1;
    transition: opacity .16s ease;
}

.nedgeo-search .nedgeo-search__form input:focus::placeholder {
    opacity: 0;
}

.nedgeo-search .nedgeo-search__form button {
    display: grid;
    flex: 0 0 54px;
    place-items: center;
    min-height: 60px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: transparent;
}

.nedgeo-search__columns {
    display: grid;
    grid-template-columns: minmax(0, 1.86fr) minmax(0, 1fr) minmax(0, .96fr);
    width: min(100%, 1296px);
    margin: 0 auto;
    gap: clamp(24px, 3.1vw, 48px);
    align-items: start;
}

.nedgeo-search__columns section {
    min-width: 0;
}

.nedgeo-search__columns h2 {
    margin: 0 0 16px;
    color: var(--nd-glass-muted);
    font: 400 14px/1.4 "Inter", sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

.nedgeo-search .nedgeo-search__topics {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .95fr);
    align-items: start;
    gap: 12px;
}

.nedgeo-search__topics > li:first-child {
    grid-column: 1 / -1;
}

.nedgeo-search__topic {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 92px;
    gap: 9px;
    padding: 11px 13px;
    border: 1px solid #b0d6e169;
    border-radius: 16px;
    background: linear-gradient(138deg, #d9f1fb1c, #739db418);
    box-shadow: inset 0 1px #dff5fb14;
    color: var(--nd-glass-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.33;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.nedgeo-search__topic:hover,
.nedgeo-search__topic:focus-visible {
    z-index: 1;
    transform: translateY(-3px);
    border-color: #c1ebf4bd;
    background-color: #7caeb439;
    box-shadow: 0 9px 19px #091f2d4f, inset 0 1px #e3fbff3d;
    color: var(--nd-glass-text);
}

.nedgeo-search__topic-label {
    padding-right: 3px;
    overflow-wrap: anywhere;
}

.nedgeo-search__topic .nedgeo-search__arrow {
    position: absolute;
    top: 11px;
    right: 12px;
}

.nedgeo-search__topics > li:first-child .nedgeo-search__topic {
    min-height: 61px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding-right: 32px;
}

.nedgeo-search__topics > li:first-child .nedgeo-search__arrow {
    top: 50%;
    transform: translateY(-50%);
}

.nedgeo-search__topics > li[data-topic-size="tall"] .nedgeo-search__topic {
    min-height: 105px;
}

.nedgeo-search__all-topics {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    min-height: 23px;
    color: var(--nd-glass-muted);
    font-size: 13px;
    font-weight: 400;
}

.nedgeo-search__all-topics img {
    filter: invert(90%);
    opacity: .7;
}

.nedgeo-search__all-topics:hover {
    color: var(--nd-glass-text);
}

.nedgeo-search__services li + li {
    border-top: 1px solid #d2e8ed32;
}

.nedgeo-search__services a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 12px;
    padding: 8px 0;
    color: var(--nd-glass-text);
    font: 600 clamp(21px, 1.9vw, 29px)/1.15 "Nunito Sans", "Inter", sans-serif;
}

.nedgeo-search__services a:hover {
    color: #c1f7be;
}

.nedgeo-search__services img {
    flex: none;
}

.nedgeo-search__help {
    padding: 17px 18px 18px;
    border: 1px solid var(--nd-glass-line);
    border-radius: 18px;
    background: linear-gradient(128deg, #b0d8ef14, #6c8cad0d);
}

.nedgeo-search__help .nedgeo-search__help-title {
    margin: 0 0 7px;
    color: var(--nd-glass-text);
    font: 600 21px/1.23 "Nunito Sans", "Inter", sans-serif;
}

.nedgeo-search__help .nedgeo-search__help-copy {
    margin: 0 0 15px;
    color: var(--nd-glass-muted);
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 950px) {
    .nedgeo-search__columns {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    }
    .nedgeo-search__help { grid-column: 2; }
}

@media (max-width: 620px) {
    .nedgeo-search {
        border-radius: 28px;
        background:
            url("../img/navigation/search-glass-mobile.svg") center bottom -36px / 513px 412px no-repeat,
            linear-gradient(135deg, #20374fce, #102439e2 66%, #143349c7);
    }
    .nedgeo-search__bar { padding-top: 13px; }
    .nedgeo-search__inner { padding: 22px 15px 24px; }
    .nedgeo-search .nedgeo-search__form { margin-bottom: 23px; }
    .nedgeo-search .nedgeo-search__form input { font-size: 18px; }
    .nedgeo-search__columns { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .nedgeo-search__help { grid-column: auto; }
    .nedgeo-search__columns h2 { margin-bottom: 14px; }
    .nedgeo-search .nedgeo-search__topics { grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); }
    .nedgeo-search__topic { min-height: 109px; }
    .nedgeo-search__topics > li[data-topic-size="tall"] .nedgeo-search__topic { min-height: 128px; }
    .nedgeo-search__services a { font-size: 26px; }
}

@media (max-width: 360px) {
    .nedgeo-search .nedgeo-search__topics { gap: 8px; }
    .nedgeo-search__topic { padding-inline: 9px; }
    .nedgeo-search__topic .nedgeo-search__arrow { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    .nedgeo-search[open] { animation: none; }
    .nedgeo-search__topic,
    .nedgeo-search .nedgeo-search__form,
    .nedgeo-search .nedgeo-search__form input::placeholder { transition: none; }
    .nedgeo-search__topic:hover,
    .nedgeo-search__topic:focus-visible { transform: none; }
}

.nd-search-results {
    box-sizing: border-box;
    width: min(100% - 40px, 920px);
    margin-inline: auto;
    padding: clamp(110px, 12vw, 156px) 0 clamp(48px, 9vw, 108px);
}

.nd-search-results__title {
    margin: 0 0 22px;
    color: #251e29;
    font-size: clamp(29px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.13;
}

.nd-search-results__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin: 0 0 clamp(20px, 4vw, 32px);
}

.nd-search-results__form input,
.nd-search-results__form .btn_transparent {
    box-sizing: border-box;
    min-height: 54px;
    font-size: 17px;
    line-height: 22px;
}

.nd-search-results__form input {
    min-width: 0;
    padding: 10px 15px;
    border: 1px solid #cfc6d2;
    border-radius: 5px;
    background: #fff;
    color: #251e29;
}

.nd-search-results__form .btn_transparent {
    min-width: 104px;
    padding: 10px 20px;
    background-color: #fff;
    color: #287b24;
    cursor: pointer;
}

.nd-search-results__form .btn_transparent:hover {
    border-color: #287b24;
    background-color: #287b24;
    color: #fff;
}

.nd-search-results__form :focus-visible,
.nd-search-result a:focus-visible {
    outline: 2px solid #642480;
    outline-offset: 3px;
}

.nd-search-results__list {
    display: grid;
    gap: 12px;
}

.nd-search-result {
    position: relative;
    padding: 16px clamp(42px, 7vw, 68px) 17px clamp(14px, 4vw, 24px);
    border: 1px solid #e6e0e9;
    border-radius: 12px;
    background: #fff;
    overflow-wrap: anywhere;
}

.nd-search-result--service {
    border-color: #e1d5e7;
    background: #f8f3fa;
}

.nd-search-result:hover,
.nd-search-result:focus-within {
    border-color: #bd9acb;
}

.nd-search-result__category {
    margin: 0 0 3px;
    color: #675a6d;
    font-size: 13px;
    line-height: 1.4;
}

.nd-search-result__title {
    margin: 0;
    color: #472052;
    font-size: clamp(19px, 3vw, 23px);
    font-weight: 700;
    line-height: 1.2;
}

.nd-search-result--service .nd-search-result__title {
    font-size: clamp(24px, 4vw, 30px);
}

.nd-search-result__title a {
    color: inherit;
}

.nd-search-result__title a::after {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    content: '';
}

.nd-search-result__copy {
    max-width: 72ch;
    margin: 7px 0 0;
    color: #554c59;
    font-size: 15px;
    line-height: 1.55;
}

.nd-search-result__arrow {
    position: absolute;
    top: 50%;
    right: clamp(12px, 3vw, 24px);
    transform: translateY(-50%);
    color: #642480;
    pointer-events: none;
}

.nd-search-results__empty {
    margin: 0;
    padding: 20px;
    border: 1px solid #e6e0e9;
    border-radius: 12px;
    color: #554c59;
}

.nd-search-results__pages .page-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.nd-search-results__pages .nav-links {
    margin-top: 26px;
}

.nd-search-results__pages :is(a, span).page-numbers {
    display: grid;
    min-width: 36px;
    min-height: 36px;
    padding-inline: 7px;
    place-items: center;
    border-radius: 5px;
    color: #54216a;
}

.nd-search-results__pages .current,
.nd-search-results__pages a:hover {
    background: #f0e7f3;
}

@media (max-width: 480px) {
    .nd-search-results {
        width: calc(100% - 32px);
    }

    .nd-search-results__form {
        gap: 8px;
    }

    .nd-search-results__form .btn_transparent {
        min-width: 72px;
        padding-inline: 10px;
    }
}
