/* E10C.7 — compact homepage entry to Advanced Ecosystem Search.
 * No search/filter form is rendered on the homepage. The full search UI lives at /smart-search.
 */
.t247-home-advanced-search,
.t247-home-advanced-search:link,
.t247-home-advanced-search:visited{
    width:340px!important;
    max-width:100%!important;
    min-height:58px!important;
    margin:0 0 7px auto!important;
    padding:9px 12px!important;
    display:flex!important;
    align-items:center!important;
    gap:11px!important;
    box-sizing:border-box!important;
    border:1px solid #b9cfe1!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#073b6f!important;
    text-decoration:none!important;
    text-align:left!important;
    line-height:1.25!important;
    box-shadow:0 2px 8px rgba(0,57,112,.09)!important;
    transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease!important;
}
.t247-home-advanced-search:hover,
.t247-home-advanced-search:focus{
    border-color:#0057b8!important;
    background:#f8fbff!important;
    box-shadow:0 4px 14px rgba(0,87,184,.14)!important;
    color:#073b6f!important;
    text-decoration:none!important;
    outline:none!important;
}
.t247-home-advanced-search:focus-visible{box-shadow:0 0 0 3px rgba(0,87,184,.18),0 4px 14px rgba(0,87,184,.14)!important}
.t247-home-advanced-search:active{transform:translateY(1px)!important}
.t247-home-advanced-search *{box-sizing:border-box!important}
.t247-home-advanced-search__icon{
    position:relative!important;
    flex:0 0 38px!important;
    width:38px!important;
    height:38px!important;
    border-radius:50%!important;
    background:#0057b8!important;
    box-shadow:none!important;
}
.t247-home-advanced-search__icon:before{
    content:""!important;
    position:absolute!important;
    width:12px!important;
    height:12px!important;
    left:10px!important;
    top:9px!important;
    border:2px solid #fff!important;
    border-radius:50%!important;
}
.t247-home-advanced-search__icon:after{
    content:""!important;
    position:absolute!important;
    width:9px!important;
    height:2px!important;
    left:21px!important;
    top:23px!important;
    background:#fff!important;
    border-radius:2px!important;
    transform:rotate(45deg)!important;
    transform-origin:left center!important;
}
.t247-home-advanced-search__copy{display:flex!important;flex:1 1 auto!important;min-width:0!important;flex-direction:column!important;gap:2px!important}
.t247-home-advanced-search__copy strong{display:block!important;margin:0!important;color:#0057b8!important;font-size:15px!important;font-weight:700!important;line-height:1.25!important;text-transform:none!important;white-space:normal!important}
.t247-home-advanced-search__copy small{display:block!important;margin:0!important;color:#687d90!important;font-size:10.5px!important;font-weight:400!important;line-height:1.35!important;white-space:normal!important}
.t247-home-advanced-search__arrow{flex:0 0 auto!important;color:#0057b8!important;font-size:27px!important;font-weight:300!important;line-height:1!important;margin-left:2px!important}

/* Header desktop: keep the CTA compact instead of taking over the entire header. */
.header-bot .search .t247-home-advanced-search{float:none!important}

/* The legacy layout prints the same search component in the mobile menu area. */
.divmobile .t247-home-advanced-search{display:none!important}

@media screen and (max-width:768px){
    .header-bot .search>.t247-home-advanced-search{display:none!important}
    .divmobile .t247-home-advanced-search,
    .divmobile .t247-home-advanced-search:link,
    .divmobile .t247-home-advanced-search:visited{
        display:flex!important;
        width:100%!important;
        max-width:none!important;
        min-height:58px!important;
        margin:6px 0 9px!important;
        padding:10px 13px!important;
        border-radius:9px!important;
        box-shadow:none!important;
        background:#f8fbff!important;
    }
    .divmobile .t247-home-advanced-search__icon{flex-basis:40px!important;width:40px!important;height:40px!important}
    .divmobile .t247-home-advanced-search__copy strong{font-size:15px!important}
    .divmobile .t247-home-advanced-search__copy small{font-size:11px!important}
}
@media screen and (max-width:380px){
    .divmobile .t247-home-advanced-search,
    .divmobile .t247-home-advanced-search:link,
    .divmobile .t247-home-advanced-search:visited{padding:9px 10px!important;gap:9px!important}
    .divmobile .t247-home-advanced-search__copy strong{font-size:14px!important}
    .divmobile .t247-home-advanced-search__copy small{font-size:10.5px!important}
}
