/* Shared geometry for desktop, mobile toolbar and menu search. Keep overflow
   visible so the autocomplete list can extend beyond the control. */
:is(.site-header, .audit-mobile-tools) .search-form .search-box {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    min-height: 50px;
    border: 1px solid #ffcc00;
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}

:is(.site-header, .audit-mobile-tools) .search-form .search-box .search-input {
    flex: 1 1 0%;
    width: 100%;
    min-width: 0;
    height: 48px;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px;
    /* app.css gives every input an important border. Reset only this control. */
    border: 0 !important;
    border-radius: 9px 0 0 9px;
    background: transparent;
    font-size: 16px;
    line-height: 24px;
    box-shadow: none;
    box-sizing: border-box;
}

:is(.site-header, .audit-mobile-tools) .search-form .search-submit {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex: 0 0 48px;
    width: 48px;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 9px 9px 0;
    background: #ffcc00;
    color: #242424;
    box-sizing: border-box;
}

:is(.site-header, .audit-mobile-tools) .search-form .search-submit svg {
    display: block;
    width: 20px;
    height: 20px;
    flex: none;
}

:is(.site-header, .audit-mobile-tools) .search-form .search-loader:not([hidden]) {
    align-self: center;
}

:is(.site-header, .audit-mobile-tools) .search-form .search-box:focus-within {
    border-color: #b89300;
    box-shadow: 0 0 0 3px #ffcc0026;
}

.banner-slide .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background: #ffcc00;
    color: #242424;
    box-shadow: 0 6px 18px rgb(0 0 0 / 16%);
}

.banner-slide .button:hover,
:is(.site-header, .audit-mobile-tools) .search-form .search-submit:hover {
    background: #edbd00;
    color: #242424;
    opacity: 1;
}

.banner-slide .button:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 4px;
}
