/*
 * RadarČeska — Vehicle Discovery v2.0.1
 */

.vd2{
    margin-top:10px;
    padding:17px;

    border:1px solid #dce7e5;
    border-radius:16px;

    background:#fff;

    box-shadow:
        0 8px 24px rgba(25,63,58,.03);
}

.vd2-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;

    margin-bottom:13px;
}

.vd2-head>div:first-child>span,
.vd2-subhead span{
    display:block;

    color:#078a72;

    font-size:8px;
    font-weight:900;
    letter-spacing:.085em;
}

.vd2-head h2{
    margin:4px 0 5px;

    color:#244d53;

    font-size:20px;
    line-height:1.12;
}

.vd2-head p{
    max-width:720px;

    margin:0;

    color:#71868a;

    font-size:10px;
    line-height:1.5;
}

.vd2-summary{
    display:flex;
    align-items:center;
    gap:6px;

    flex:0 0 auto;

    color:#819397;

    font-size:8px;
}

.vd2-summary b{
    color:#49686d;
    font-weight:850;
}

.vd2-subhead{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;

    margin:13px 0 8px;
}

.vd2-subhead h3{
    margin:3px 0 0;

    color:#31565c;

    font-size:14px;
}

.vd2-subhead small{
    color:#87999c;

    font-size:8px;
}

.vd2-types{
    display:grid;
    grid-template-columns:
        repeat(5,minmax(0,1fr));
    gap:7px;
}

.vd2-type{
    display:flex;
    flex-direction:column;
    min-width:0;

    padding:11px;

    border:1px solid #e0e9e7;
    border-radius:11px;

    background:#f8fbfa;

    color:inherit;
    text-decoration:none;
}

.vd2-type:hover{
    border-color:#b5d8d0;
    background:#f3faf7;
}

.vd2-type strong{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    color:#29535a;

    font-size:10px;
}

.vd2-type span{
    margin-top:3px;

    color:#74898d;

    font-size:8px;
}

.vd2-type em{
    margin-top:8px;

    color:#087b68;

    font-size:8px;
    font-style:normal;
    font-weight:900;
}

.vd2-subhead--popular{
    margin-top:17px;
    padding-top:13px;

    border-top:1px solid #e8efed;
}

.vd2-popular{
    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap:7px;
}

.vd2-vehicle{
    min-width:0;

    padding:11px 12px;

    border:1px solid #e0e9e7;
    border-radius:11px;

    background:#fbfcfc;

    color:inherit;
    text-decoration:none;
}

.vd2-vehicle>span{
    display:block;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    color:#087b68;

    font-size:8px;
    font-weight:850;
}

.vd2-vehicle>strong{
    display:block;

    margin-top:3px;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    color:#203f45;

    font-size:11px;
}

.vd2-vehicle>div{
    display:flex;
    gap:5px;
    flex-wrap:wrap;

    margin-top:7px;
}

.vd2-vehicle>div b{
    padding:3px 5px;

    border-radius:999px;

    background:#edf5f3;

    color:#587478;

    font-size:8px;
}

.vd2-vehicle small{
    display:block;

    margin-top:7px;

    color:#8a9a9d;

    font-size:8px;
}


/*
 * Existing vehicle catalogue — denser public cards.
 */

.vc410-card h3{
    font-size:12px;
}

.vc410-card strong{
    font-size:10px;
}

.vc410-meta span{
    font-size:8px;
}

.vc410-card-body>small{
    font-size:8px;
}

.vc410-media{
    aspect-ratio:2.15/1;
}

.vc410-hero-stats span{
    font-size:8px;
}

.vc410-filters a{
    font-size:8px;
}


/*
 * Photo product is truthful but currently has zero
 * approved public assets. Hide the dead filter until it exists.
 */

.vc410-no-public-photos
.vc410-filter-sep,

.vc410-no-public-photos
.vc410-filters
a[href*="photo="]{
    display:none;
}


@media(max-width:900px){

    .vd2-types{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }
}


@media(max-width:760px){

    .vd2{
        padding:14px;
    }

    .vd2-head{
        display:block;
    }

    .vd2-summary{
        margin-top:9px;
    }

    .vd2-types{
        display:flex;

        margin-left:-2px;
        margin-right:-2px;
        padding:2px;

        overflow-x:auto;

        scroll-snap-type:x proximity;
        scrollbar-width:none;

        -webkit-overflow-scrolling:touch;
    }

    .vd2-types::-webkit-scrollbar{
        display:none;
    }

    .vd2-type{
        flex:0 0 168px;

        scroll-snap-align:start;
    }

    .vd2-popular{
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}


@media(max-width:520px){

    .vd2-head h2{
        font-size:18px;
    }

    .vd2-head p{
        font-size:10px;
    }

    .vd2-summary{
        flex-wrap:wrap;
    }

    .vd2-popular{
        grid-template-columns:1fr;
    }

    .vc410-grid{
        grid-template-columns:1fr;
    }

    .vc410-card{
        display:grid;
        grid-template-columns:
            112px minmax(0,1fr);
    }

    .vc410-media{
        width:112px;
        min-height:108px;
        height:100%;

        aspect-ratio:auto;
    }

    .vc410-shape{
        width:82%;
        height:44%;
    }

    .vc410-card-body{
        min-width:0;

        padding:11px;
    }

    .vc410-card h3{
        font-size:12px;
    }

    .vc410-card strong{
        font-size:10px;
    }
}


/* ==========================================================================
   RADARCESKA — VEHICLE DISCOVERY / CATALOG UX v2.0.2
   ========================================================================== */

.vd202
.vd2-types{
    grid-template-columns:
        repeat(6,minmax(0,1fr));
}


.vd202
.vd2-type{
    padding:12px;
}


.vd202
.vd2-type strong{
    color:#234e55;

    font-size:11px;
}


.vd202
.vd2-type span{
    font-size:9px;
}


.vd202
.vd2-type em{
    font-size:9px;
}


.vd202
.vd2-vehicle>span{
    font-size:9px;
}


.vd202
.vd2-vehicle>strong{
    font-size:12px;
}


.vd2-popular-more{
    display:inline-flex;
    align-items:center;

    min-height:34px;

    margin-top:9px;

    color:#087b68;

    font-size:9px;
    font-weight:900;
    text-decoration:none;
}


/*
 * Desktop catalogue cards were visually dominated by the generic
 * vehicle silhouette. Keep the illustration, but make the data
 * the primary content.
 */

@media(min-width:761px){

    .rc-vehicle-catalog-page
    .vc410-media{
        aspect-ratio:3/1;
    }


    .rc-vehicle-catalog-page
    .vc410-card-body{
        padding:11px 12px 12px;
    }


    .rc-vehicle-catalog-page
    .vc410-card h3{
        font-size:13px;
    }


    .rc-vehicle-catalog-page
    .vc410-card strong{
        font-size:11px;
    }


    .rc-vehicle-catalog-page
    .vc410-meta span{
        font-size:9px;
    }


    .rc-vehicle-catalog-page
    .vc410-card-body>small{
        font-size:9px;
    }
}


@media(max-width:900px){

    .vd202
    .vd2-types{
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }
}


@media(max-width:760px){

    .vd202
    .vd2-types{
        display:flex;
    }


    .vd202
    .vd2-type{
        flex:0 0 172px;
    }


    .vd202
    .vd2-type strong{
        font-size:11px;
    }
}


@media(max-width:520px){

    /*
     * Discovery should help the user enter the catalogue,
     * not create another six-card wall above it.
     */

    .vd202
    .vd2-popular
    .vd2-vehicle:nth-child(n+4){
        display:none;
    }


    .vd202
    .vd2-popular-more{
        display:flex;
        justify-content:center;

        width:100%;
        min-height:38px;

        border:1px solid #d9e7e4;
        border-radius:10px;

        background:#f6faf9;

        font-size:10px;
    }


    .rc-vehicle-catalog-page
    .vc410-card h3{
        font-size:13px;
    }


    .rc-vehicle-catalog-page
    .vc410-card strong{
        font-size:10px;
    }


    .rc-vehicle-catalog-page
    .vc410-meta span{
        font-size:9px;
    }


    .rc-vehicle-catalog-page
    .vc410-card-body>small{
        font-size:9px;
    }
}
