/* Safari Connect Hub — Homepage v1.10.408
 * Hero composition correction.
 * - Keeps Smart Marketplace Search as the only hero search.
 * - Removes the oversized desktop hero/dead-space created by legacy min-heights.
 * - Groups copy, search and trust points into one deliberate visual block.
 * - Keeps the four trust points directly beneath the search rather than pinning them to the hero floor.
 */

@media (min-width: 992px){
    body.home .tmc-home-hero,
    body.home .tmc-home-hero__inner{
        min-height:clamp(480px,36vw,540px)!important;
    }

    body.home .tmc-home-hero__inner{
        justify-content:flex-start!important;
        padding:48px 32px 28px!important;
    }

    body.home .tmc-home-hero__copy{
        max-width:670px!important;
    }

    body.home .tmc-home-hero__eyebrow{
        margin-bottom:12px!important;
    }

    body.home .tmc-home-hero__copy h1{
        font-size:52px!important;
        line-height:1.02!important;
        margin-bottom:14px!important;
        max-width:670px!important;
    }

    body.home .tmc-home-hero__copy p{
        font-size:16px!important;
        line-height:1.55!important;
        max-width:650px!important;
    }

    body.home .tmc-home-search-shell--smart-only{
        margin-top:20px!important;
        max-width:820px!important;
    }

    body.home .tmc-home-smart-search{
        border-radius:12px!important;
        gap:8px!important;
        grid-template-columns:38px minmax(0,1fr) 112px!important;
        min-height:60px!important;
        padding:6px 7px 6px 11px!important;
    }

    body.home .tmc-home-smart-search__icon{
        height:34px!important;
        width:34px!important;
    }

    body.home .tmc-home-smart-search__icon svg{
        height:16px!important;
        width:16px!important;
    }

    body.home .tmc-home-smart-search__copy input[type=search]{
        font-size:13.5px!important;
        height:42px!important;
        line-height:42px!important;
        padding:0 5px!important;
    }

    body.home .tmc-home-smart-search__submit{
        border-radius:9px!important;
        height:46px!important;
        padding:0 15px!important;
        width:112px!important;
    }

    body.home .tmc-home-smart-search__submit-label{
        font-size:11.5px!important;
    }

    /* Do not use margin-top:auto here.  The trust row belongs to the search block. */
    body.home .tmc-home-search-shell--smart-only + .tmc-home-hero__trust,
    body.home .tmc-home-hero__trust{
        gap:24px!important;
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
        margin-top:20px!important;
        max-width:930px!important;
        padding-top:0!important;
    }

    body.home .tmc-home-hero__trust-item{
        gap:10px!important;
    }

    body.home .tmc-home-hero__trust-icon{
        flex-basis:36px!important;
        height:36px!important;
        width:36px!important;
    }

    body.home .tmc-home-hero__trust-copy strong{
        font-size:10.8px!important;
        line-height:1.25!important;
    }

    body.home .tmc-home-hero__trust-copy small{
        font-size:8.9px!important;
        line-height:1.3!important;
        margin-top:1px!important;
    }
}

@media (min-width: 992px) and (max-width: 1199px){
    body.home .tmc-home-hero,
    body.home .tmc-home-hero__inner{
        min-height:500px!important;
    }
    body.home .tmc-home-hero__inner{padding:44px 26px 26px!important}
    body.home .tmc-home-hero__copy h1{font-size:48px!important}
    body.home .tmc-home-search-shell--smart-only{max-width:760px!important}
    body.home .tmc-home-hero__trust{gap:18px!important;max-width:840px!important}
}

@media (min-width: 768px) and (max-width: 991px){
    body.home .tmc-home-hero,
    body.home .tmc-home-hero__inner{
        min-height:0!important;
    }
    body.home .tmc-home-hero__inner{
        justify-content:flex-start!important;
        padding:48px 24px 28px!important;
    }
    body.home .tmc-home-search-shell--smart-only{margin-top:18px!important;max-width:720px!important}
    body.home .tmc-home-hero__trust{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        margin-top:18px!important;
        max-width:720px!important;
        padding-top:0!important;
    }
}

@media (max-width: 767px){
    body.home .tmc-home-hero,
    body.home .tmc-home-hero__inner{
        min-height:0!important;
    }
    body.home .tmc-home-hero__inner{
        justify-content:flex-start!important;
        padding-top:42px!important;
    }
    body.home .tmc-home-search-shell--smart-only{margin-top:14px!important}
    body.home .tmc-home-hero__trust{
        margin-top:16px!important;
        padding-top:0!important;
    }
}
