/* Scoped styles: do not change SWELL or the existing FAQ archive search. */
.mtf-embedded-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 0;
    gap: 0;
    border: 1px solid #a9c5e4;
    border-radius: 8px;
    background: #fff;
}

.mtf-embedded-search:focus-within {
    border-color: #0d5ab3;
    box-shadow: 0 0 0 2px rgba(13, 90, 179, .15);
}

.mtf-embedded-search .mtf-embedded-search__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.mtf-embedded-search .mtf-embedded-search__input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 7px 0 0 7px;
    background: #fff;
    color: #24313d;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
}

.mtf-embedded-search .mtf-embedded-search__input::placeholder {
    color: #667787;
    opacity: 1;
}

.mtf-embedded-search .mtf-embedded-search__button {
    appearance: none;
    box-sizing: border-box;
    min-width: 80px;
    min-height: 48px;
    margin: 0;
    padding: 8px 16px;
    border: 0;
    border-radius: 0 7px 7px 0;
    background: #0d5ab3;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    box-shadow: none;
}

.mtf-embedded-search .mtf-embedded-search__button:hover {
    background: #0a468b;
}

.mtf-embedded-search .mtf-embedded-search__input:focus-visible,
.mtf-embedded-search .mtf-embedded-search__button:focus-visible {
    outline: 2px solid #0d5ab3;
    outline-offset: 2px;
    z-index: 1;
}

@media (max-width: 480px) {
    .mtf-embedded-search .mtf-embedded-search__input {
        padding-right: 8px;
        padding-left: 10px;
    }
    .mtf-embedded-search .mtf-embedded-search__button {
        min-width: 64px;
        padding-right: 12px;
        padding-left: 12px;
    }
}
