.church-autocomplete {
    position: relative;
    width: 100%;
}

.church-autocomplete > input {
    width: 100%;
}

.church-autocomplete__list {
    position: absolute;
    z-index: 80;
    top: calc(100% + 0.35rem);
    right: 0;
    left: 0;

    max-height: min(18rem, 45vh);
    overflow-y: auto;
    overscroll-behavior: contain;

    padding: 0.35rem;

    border: 1px solid rgba(11, 22, 38, 0.14);
    border-radius: 0.85rem;

    background: #ffffff;

    box-shadow:
        0 18px 45px
        rgba(11, 22, 38, 0.16);
}

.church-autocomplete__option {
    display: block;
    width: 100%;

    padding: 0.78rem 0.85rem;

    border: 0;
    border-radius: 0.65rem;

    background: transparent;
    color: #0b1626;

    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;

    cursor: pointer;
}

.church-autocomplete__option mark {
    padding: 0;
    border-radius: 0.15rem;

    background: rgba(
        199,
        155,
        75,
        0.24
    );

    color: inherit;
    font-weight: 900;
}

.church-autocomplete__option:hover,
.church-autocomplete__option:focus-visible,
.church-autocomplete__option.is-active {
    background:
        rgba(11, 22, 38, 0.07);

    outline: none;
}

.church-autocomplete__option.is-active mark {
    background:
        rgba(199, 155, 75, 0.34);
}

@media (max-width: 640px) {
    .church-autocomplete__list {
        max-height: 38vh;
        border-radius: 0.75rem;
    }

    .church-autocomplete__option {
        padding: 0.74rem 0.75rem;
        font-size: 0.84rem;
    }
}