/*
|--------------------------------------------------------------------------
| BUYSELL GH — MARKETLY V4.3
|--------------------------------------------------------------------------
|
| RULE:
| All readable homepage text is minimum 12px.
|
| Decorative icon glyphs are excluded from this typography rule.
|
*/


/* ========================================================= */
/* GLOBAL READABILITY AUTHORITY                               */
/* ========================================================= */


.am-marketly-home{

    font-size:
        14px;

    line-height:
        1.5;

}


/*
|--------------------------------------------------------------------------
| Absolute minimum readable text.
|--------------------------------------------------------------------------
*/


.am-marketly-home small,

.am-marketly-home
.am-logo-text small,

.am-marketly-home
.am-main-nav a,

.am-marketly-home
.am-sign-link,

.am-marketly-home
.am-post-button,

.am-marketly-home
.am4-eyebrow,

.am-marketly-home
.am4-section-kicker,

.am-marketly-home
.am4-drive-kicker,

.am-marketly-home
.am4-trust-copy strong,

.am-marketly-home
.am4-trust-copy span,

.am-marketly-home
.am4-floating-card strong,

.am-marketly-home
.am4-floating-card small,

.am-marketly-home
.am4-category-orb strong,

.am-marketly-home
.am4-section-header p,

.am-marketly-home
.am4-section-header > a,

.am-marketly-home
.am4-card-badge,

.am-marketly-home
.am4-card-location,

.am-marketly-home
.am4-card-meta,

.am-marketly-home
.am4-drive-copy p,

.am-marketly-home
.am4-drive-actions a,

.am-marketly-home
.am4-drive-benefits span,

.am-marketly-home
.am4-popular-bottom strong,

.am-marketly-home
.am4-popular-bottom small,

.am-marketly-home
.am4-popular-more > strong,

.am-marketly-home
.am4-popular-more > small,

.am-marketly-home
.am4-process-grid strong,

.am-marketly-home
.am4-process-grid p,

.am-marketly-home
.am4-app-copy p,

.am-marketly-home
.am4-store-buttons small,

.am-marketly-home
.am4-app-benefits span,

.am-marketly-home
.am4-phone-ui > small,

.am-marketly-home
.am4-mini-search,

.am-marketly-home
.am4-phone-ui strong,

.am-marketly-home
.am-footer-copy,

.am-marketly-home
.am-footer-links a{

    font-size:
        12px
        !important;

}


/* ========================================================= */
/* HEADER                                                     */
/* ========================================================= */


.am-marketly-home
.am-header-inner{

    min-height:
        76px
        !important;

}


.am-marketly-home
.am-logo-text strong,

.am-marketly-home
.am-logo-text b{

    font-size:
        19px
        !important;

    line-height:
        1.05;

}


.am-marketly-home
.am-logo-text small{

    margin-top:
        3px;

    line-height:
        1.2;

}


.am-marketly-home
.am-main-nav{

    gap:
        27px
        !important;

}


.am-marketly-home
.am-main-nav a{

    font-size:
        12.5px
        !important;

    font-weight:
        650;

}


.am-marketly-home
.am-sign-link{

    font-size:
        12.5px
        !important;

}


.am-marketly-home
.am-post-button{

    min-height:
        44px
        !important;

    font-size:
        12.5px
        !important;

}


/* ========================================================= */
/* HERO                                                       */
/* ========================================================= */


.am4-hero{

    /*
     * Warmer treatment, closer to the cream/gold reference.
     */

    background-blend-mode:
        normal;

}


.am4-hero:before{

    background:

        linear-gradient(
            90deg,

            rgba(
                255,
                253,
                247,
                .99
            )
            0%,

            rgba(
                255,
                253,
                247,
                .90
            )
            26%,

            rgba(
                255,
                250,
                240,
                .36
            )
            52%,

            rgba(
                238,
                208,
                155,
                .08
            )
            100%
        ),

        radial-gradient(
            circle at 77% 62%,
            rgba(
                214,
                169,
                87,
                .14
            ),
            transparent 34%
        )
        !important;

}


.am4-eyebrow{

    font-size:
        12px
        !important;

    letter-spacing:
        2.7px
        !important;

}


.am4-hero h1{

    font-size:
        clamp(
            62px,
            5.15vw,
            80px
        )
        !important;

    line-height:
        .92
        !important;

}


.am4-hero-text{

    max-width:
        520px;

    font-size:
        15px
        !important;

    line-height:
        1.55
        !important;

}


.am4-button{

    font-size:
        13px
        !important;

}


.am4-trust-copy strong{

    font-weight:
        750;

}


.am4-trust-copy span{

    margin-top:
        2px;

}


/* ========================================================= */
/* FLOATING HERO PRODUCT CARDS                                */
/* ========================================================= */


.am4-floating-card{

    min-width:
        310px
        !important;

    min-height:
        116px
        !important;

    grid-template-columns:
        105px 1fr
        !important;

    padding:
        12px
        !important;

}


.am4-floating-media{

    width:
        105px
        !important;

    height:
        88px
        !important;

}


.am4-floating-card strong{

    font-size:
        13px
        !important;

    line-height:
        1.3
        !important;

}


.am4-floating-card small{

    margin-top:
        5px;

    font-size:
        12px
        !important;

}


.am4-floating-card b{

    margin-top:
        5px;

    font-size:
        17px
        !important;

}


/* ========================================================= */
/* SEARCH                                                     */
/* ========================================================= */


.am4-search-dock input{

    font-size:
        14px
        !important;

}


.am4-search-dock button{

    font-size:
        14px
        !important;

}


/* ========================================================= */
/* CATEGORY NAV                                               */
/* ========================================================= */


.am4-category-dock{

    padding-bottom:
        27px
        !important;

}


.am4-category-orb strong{

    margin-top:
        1px;

    font-size:
        12px
        !important;

    font-weight:
        700;

}


/* ========================================================= */
/* SECTION RHYTHM                                             */
/* ========================================================= */


/*
|--------------------------------------------------------------------------
| Current version has more empty vertical space than reference.
|--------------------------------------------------------------------------
*/


.am4-section{

    padding:
        30px 0
        !important;

}


.am4-featured-section{

    padding-top:
        32px
        !important;

}


.am4-section-header{

    margin-bottom:
        18px
        !important;

}


.am4-section-header h2{

    font-size:
        40px
        !important;

    line-height:
        1
        !important;

}


.am4-section-header p{

    margin-top:
        6px;

    line-height:
        1.4;

}


.am4-section-header > a{

    font-size:
        12px
        !important;

    font-weight:
        750;

}


/* ========================================================= */
/* HANDPICKED CARDS                                           */
/* ========================================================= */


.am4-featured-grid{

    gap:
        16px
        !important;

}


.am4-listing-media{

    height:
        205px
        !important;

}


.am4-card-badge{

    padding:
        6px 10px;

    font-size:
        12px
        !important;

}


.am4-listing-body{

    padding:
        14px
        !important;

}


.am4-listing-title{

    min-height:
        40px;

    font-size:
        14px
        !important;

    line-height:
        1.4;

}


.am4-card-price{

    margin-top:
        4px;

    font-size:
        20px
        !important;

}


.am4-card-location{

    margin-top:
        7px;

    font-size:
        12px
        !important;

}


.am4-card-meta{

    margin-top:
        10px;

    padding-top:
        9px;

    font-size:
        12px
        !important;

}


/* ========================================================= */
/* PREMIUM VEHICLE BANNER                                     */
/* ========================================================= */


.am4-drive-banner{

    min-height:
        235px
        !important;

}


.am4-drive-copy{

    padding-top:
        38px
        !important;

}


.am4-drive-copy h2{

    color:
        #ffffff
        !important;

    font-size:
        45px
        !important;

    line-height:
        1
        !important;

}


.am4-drive-copy p{

    max-width:
        445px;

    font-size:
        13px
        !important;

    line-height:
        1.5;

}


.am4-drive-actions a{

    min-height:
        43px;

    font-size:
        12px
        !important;

}


.am4-drive-benefits span{

    font-size:
        12px
        !important;

}


/* ========================================================= */
/* POPULAR CATEGORIES                                         */
/* ========================================================= */


.am4-popular-card{

    min-height:
        164px
        !important;

}


.am4-popular-photo{

    height:
        100px
        !important;

}


.am4-popular-bottom{

    min-height:
        64px
        !important;

}


.am4-popular-bottom strong{

    font-size:
        12.5px
        !important;

    line-height:
        1.25;

}


.am4-popular-bottom small{

    margin-top:
        4px;

    font-size:
        12px
        !important;

}


.am4-popular-more > strong{

    font-size:
        12px
        !important;

}


.am4-popular-more > small{

    font-size:
        12px
        !important;

}


/* ========================================================= */
/* HOW IT WORKS                                               */
/* ========================================================= */


.am4-process{

    padding-top:
        31px
        !important;

    padding-bottom:
        27px
        !important;

}


.am4-process-grid article{

    min-height:
        128px
        !important;

    grid-template-columns:
        58px 52px 1fr
        !important;

    gap:
        15px
        !important;

}


.am4-step-number{

    width:
        52px
        !important;

    height:
        52px
        !important;

    font-size:
        18px
        !important;

}


.am4-step-icon{

    font-size:
        36px
        !important;

}


.am4-process-grid strong{

    font-size:
        13px
        !important;

    line-height:
        1.3;

}


.am4-process-grid p{

    margin-top:
        5px;

    max-width:
        205px;

    font-size:
        12px
        !important;

    line-height:
        1.45
        !important;

}


/* ========================================================= */
/* APP BANNER                                                 */
/* ========================================================= */


.am4-app-banner{

    min-height:
        305px
        !important;

}


.am4-app-copy{

    width:
        455px
        !important;

    padding-top:
        42px
        !important;

}


.am4-app-copy h2{

    font-size:
        39px
        !important;

}


.am4-app-copy p{

    max-width:
        360px;

    font-size:
        12px
        !important;

    line-height:
        1.5;

}


.am4-store-buttons > span{

    min-width:
        158px
        !important;

    min-height:
        52px
        !important;

    grid-template-rows:
        17px 20px
        !important;

}


.am4-store-buttons small{

    font-size:
        12px
        !important;

    line-height:
        1;

}


.am4-store-buttons strong{

    font-size:
        14px
        !important;

}


/*
|--------------------------------------------------------------------------
| Enlarge mock phones so 12px UI does not feel cramped.
|--------------------------------------------------------------------------
*/


.am4-phone-stage{

    width:
        445px
        !important;

    height:
        365px
        !important;

}


.am4-phone{

    width:
        194px
        !important;

    height:
        365px
        !important;

}


.am4-phone-ui > small{

    font-size:
        12px
        !important;

}


.am4-mini-search{

    padding:
        8px;

    font-size:
        12px
        !important;

}


.am4-phone-ui strong{

    font-size:
        12px
        !important;

}


.am4-phone-ui b{

    font-size:
        13px
        !important;

}


.am4-app-benefits span{

    font-size:
        12px
        !important;

}


/* ========================================================= */
/* FOOTER                                                     */
/* ========================================================= */


.am-marketly-home
.am-footer-inner{

    min-height:
        105px;

}


.am-marketly-home
.am-footer-copy,

.am-marketly-home
.am-footer-links a{

    font-size:
        12px
        !important;

}


/* ========================================================= */
/* TABLET                                                     */
/* ========================================================= */


@media(max-width:1200px){

    .am4-listing-media{

        height:
            190px
            !important;

    }


    .am4-section-header h2{

        font-size:
            37px
            !important;

    }

}


/* ========================================================= */
/* MOBILE                                                     */
/* ========================================================= */


@media(max-width:640px){

    /*
    |--------------------------------------------------------------------------
    | 12px minimum still applies on mobile.
    |--------------------------------------------------------------------------
    */


    .am4-section{

        padding:
            25px 0
            !important;

    }


    .am4-hero-text{

        font-size:
            13px
            !important;

    }


    .am4-button{

        font-size:
            12px
            !important;

    }


    .am4-category-orb strong{

        font-size:
            12px
            !important;

    }


    .am4-listing-media{

        height:
            150px
            !important;

    }


    .am4-listing-title{

        font-size:
            13px
            !important;

    }


    .am4-card-price{

        font-size:
            17px
            !important;

    }


    .am4-card-location{

        font-size:
            12px
            !important;

    }


    /*
     * Do not hide metadata merely because viewport is small.
     */

    .am4-card-meta{

        display:flex
            !important;

        flex-wrap:wrap;

        font-size:
            12px
            !important;

    }


    .am4-process-grid strong{

        font-size:
            13px
            !important;

    }


    .am4-process-grid p{

        font-size:
            12px
            !important;

    }


    .am4-app-banner{

        min-height:
            620px
            !important;

    }


    .am4-phone-stage{

        width:
            350px
            !important;

    }


    .am4-phone{

        width:
            158px
            !important;

    }

}
