/*------------------------------------------------------------[Responsive]*/
/*
File: responsive.css
Author: Evert Amsenga
*/
/*---------------------------------------------------------[Mobile: 320px]*/

/*---------------------------------------------------------[Tablet: 925px]*/
@media screen and (max-width: 925px) {
    .main-content {
        margin-top: 0 !important;
    }

    .homepage-video {
        margin-top: -20px;
    }

    .homepage-hero-media {
        min-height: 520px;
    }

    .homepage-hero-content {
        max-width: 640px;
        /* border: 2px solid rgb(128, 128, 128) */
    }

    .homepage-hero-title {
        font-size: 3.25rem;
        color: var(--sinotruk-white);
        min-height: 0;
    }

    .homepage-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .homepage-intro,
.homepage-support,
.homepage-cta {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .homepage-category-grid {
        grid-template-columns: 1fr 1fr;
    }

    .homepage-category-card img {
        height: 180px;
        object-fit: contain;
        object-position: center center;
    }

}

/*------------------------------------------------------[Mobile: 770px]*/
@media screen and (max-width: 767px) {
    .blockhref {
        z-index: 10000;
    }

    .main-content {
        margin-top: 20px;
    }

    nav {
        text-align: left;
    }

    .asterisk {
        display: none;
    }

    h1 {
        font-size: 1.5625rem;
    }

    h2 {
        font-size: var(--fs-3xl);
    }

    .logo {
        float: none;
        width: 240px;
        height: auto;
    }

    .navlink {
        display: none;
    }

    .content {
        width: 100%;
    }

    .homepage-hero {
        margin-top: -20px;
    }

    .homepage-hero-media {
        min-height: 320px;
    }

    .homepage-video {
        margin-bottom: 8px;
    }

    .homepage-hero-content {
        text-align: center;
    }

    .homepage-hero-title {
        position: absolute !important;
        width: 1px;
        height: 1px;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .homepage-hero-content>.homepage-kicker {
        font-size: var(--fs-2xl) !important;
        padding: 10px;
        margin-left: 0;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(0, 0, 0, 0.72);
    }

    .homepage-description--hero {
        display: none;
    }

    .homepage-actions--hero {
        display: none;
    }

    .homepage-actions--mobile {
        display: flex;
        margin-top: 16px;
        padding: 0 var(--page-gutter);
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        position: relative;
        z-index: 3;
    }

    .homepage-actions--mobile .content-button {
        margin-right: 0;
        flex: 1 1 160px;
    }

    .homepage-actions {
        justify-content: center;
        flex-wrap: nowrap;
    }

    /* Paired buttons: equal width, one line each */
    .homepage-actions:not(.homepage-actions--mobile) .content-button {
        flex: 1 1 0;
        min-width: 0;
        margin-right: 0;
        padding-left: 10px;
        padding-right: 10px;
        white-space: nowrap;
    }

    .homepage-hero-stats {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 22px;
    }

    .homepage-stat {
        display: none;
    }

    .homepage-intro,
.homepage-support,
.homepage-category-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .homepage-intro-panel .homepage-heading {
        max-width: none;
    }

    .homepage-intro-panel,
.homepage-support-panel,
.homepage-category-card-body {
        padding: 22px;
    }

    .homepage-support-panel--secondary {
        padding: 0;
    }

    .homepage-support-panel--locations {
        padding: 22px;
    }

    .homepage-cta .homepage-locations {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .homepage-cta .homepage-location {
        width: 100%;
    }

    .truck-card__brand-logo--howo {
        width: 90px !important;
        bottom: -6px;
        left: -5px;
    }

    .truck-card__brand-logo--sitrak {
        width: 96px !important;
        bottom: 2px;
        left: 2px;
    }

    .homepage-heading--xl {
        font-size: clamp(1.25rem, 6.2vw, var(--fs-5xl));
    }

    .homepage-heading--lg {
        font-size: var(--fs-3xl);
    }

    .footer p {
        font-size: var(--fs-xs);
    }

    label {
        width: 100%;
        display: block;
    }

    input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea {
        max-width: 100%;
    }

    .home-left {
        width: 100%;
        display: block;
        padding-right: 0;
        border-bottom: 1px solid var(--sinotruk-silver);
        padding-bottom: 40px;
        margin-bottom: 30px;
    }

    .home-right {
        width: 100%;
        display: block;
        padding-left: 0;
    }

    .home-right p {
        font-size: var(--fs-sm);
    }

    .home-map {
        width: 100%;
        height: 250px;
    }

    .footer-logo {
        --footer-logo-width: 163px;
    }

    #truck-download-specs-button,
.pricing-download-button,
.specifications-download-button {
        display: none !important;
    }

    .content ul:last-child {
        margin-bottom: 0;
    }

    .divider {
        margin-top: 20px;
        margin-bottom: 20px;
    }

}

/*------------------------------------------------------[Mobile: 360px]*/
@media screen and (max-width: 360px) {
    .homepage-actions,
    .homepage-actions:not(.homepage-actions--mobile) {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .homepage-actions .content-button,
    .homepage-actions:not(.homepage-actions--mobile) .content-button {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 0;
    }
}

/*------------------------------------------------------[Tablet: 1040px]*/
@media screen and (min-width: 768px) and (max-width: 1040px) {
    .navlink {
        font-size: var(--fs-base);
        line-height: 16px;
        padding-left: 10px;
        padding-right: 10px;
    }

}

/*-----------------------------------------------------[Desktop: 1200px]*/
@media screen and (min-width: 1101px) and (max-width: 1200px) {
    .content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/*------------------------------------------------------[Mobile: 380px]*/
/* BEGIN SPECIFICATIONS */
/*-----------------------------------------------------[Specs: 1200px]*/
@media screen and (min-width: 701px) and (max-width: 1200px) {
    .specifications {
        font-size: var(--fs-sm) !important;
    }

    .pricing {
        font-size: var(--fs-base);
    }
}

/*-----------------------------------------------------[Specs: 1127px]*/
@media screen and (min-width: 701px) and (max-width: 1127px) {
    .specifications .tr, .specifications td {
        padding: 8px;
    }
}

/*------------------------------------------------------[Specs: 925px]*/
@media screen and (max-width: 925px) {
    .specifications {
        display: none;
    }

    .specifications-mobile {
        display: block;
    }

    .pricing {
        display: block;
        font-size: var(--fs-md);
    }

    .pricing-mobile {
        display: none;
    }
}

/* END SPECIFICATIONS */
/* BEGIN PRICING */
/*------------------------------------------------------[Footer: 860px]*/
@media screen and (min-width: 601px) and (max-width: 860px) {
    .pricing td {
        padding-left: 5px;
        padding-right: 5px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/*------------------------------------------------------[Footer: 600px]*/
@media screen and (max-width: 600px) {
    .pricing {
        display: none;
    }

    .pricing-mobile {
        display: block;
    }
}

/* END PRICING */

/*-----------------------------------------------------------[Home Info]*/
.is-uppercase {
    text-transform: uppercase;
}

.link-reset {
    text-decoration: none !important;
}

.home-info__bullets {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-info__bullets li {
    position: relative;
    padding-left: 1.25em;
}

.home-info__bullets li::before {
    content: "A";
    position: absolute;
    left: 0;
    color: var(--sinotruk-secondary);
    font-weight: 700;
}

.card-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--sinotruk-silver);
    box-shadow: var(--shadow-raised);
    overflow: hidden;
}

.card-media {
    position: relative;
    min-height: 240px;
}

.card-media--tall {
    min-height: 250px;
}

.card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.96;
    transition: transform 180ms ease, opacity 180ms ease;
}

.card-hover-zoom:hover .card-image,
.card-hover-zoom:focus .card-image {
    transform: scale(1.02);
    opacity: 1;
}

.card-title {
    margin: 0;
    font-family: 'Arial', sans-serif;
    font-size: var(--fs-4xl);
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
}

.card-title--dark {
    color: var(--sinotruk-black);
}

.card-meta {
    font-family: 'Arial', sans-serif;
    font-size: var(--fs-md);
    line-height: 1.35;
    font-weight: 400;
    text-transform: uppercase;
}
