.m80-live-search {
    position: relative;
}

.m80-search-results {
    position: absolute;
    z-index: 10;
    inset-inline: 0;
    top: calc(100% + .35rem);
    overflow: hidden;
    border: 1px solid #7795a0;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 .3rem .9rem rgb(0 0 0 / 15%);
    text-align: start;
}

.m80-search-results[hidden] {
    display: none;
}

.m80-search-results > a {
    display: block;
    padding: .65rem .8rem;
    color: #174e65;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.m80-search-results > a + a {
    border-top: 1px solid #dbe5e9;
}

.m80-search-results > a:hover,
.m80-search-results > a:focus-visible,
.m80-search-results > [aria-selected="true"] {
    background: #e5f0f4;
    color: #102f3d;
    text-decoration: underline;
}

.m80-search-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.m80-search-page {
    box-sizing: border-box;
    width: min(100%, 48rem);
    margin: clamp(1.5rem, 5vw, 4rem) auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.m80-search-page h1 {
    margin-block: 0 1.25rem;
    overflow-wrap: anywhere;
}

.m80-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.m80-search-form input[type="search"] {
    flex: 1 1 13rem;
    min-width: 0;
    padding: .65rem .8rem;
    border: 1px solid #7795a0;
    border-radius: 6px;
    font: inherit;
}

.m80-search-form button {
    padding: .65rem 1rem;
    border: 0;
    border-radius: 6px;
    background: #174e65;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

.m80-search-count {
    margin-block: 1.4rem .55rem;
    font-size: .9rem;
}

.m80-search-hits {
    margin: 0;
    padding: 0;
    list-style: none;
    border-block-start: 1px solid #dbe5e9;
}

.m80-search-hits li {
    border-block-end: 1px solid #dbe5e9;
}

.m80-search-hits a {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .2rem .8rem;
    padding: .7rem .5rem;
    color: #174e65;
    overflow-wrap: anywhere;
}

.m80-search-hits a:hover,
.m80-search-hits a:focus-visible {
    background: #e5f0f4;
    color: #102f3d;
}

.m80-search-hits time {
    font-size: .85rem;
    color: #42565e;
}

.m80-search-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-block-start: 1.1rem;
}
