#wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#wrapper .col-l {
    flex-basis: 70%;
}

#wrapper .col-r {
    flex-basis: 28%;
}

/*giới thiệu salon*/

.col-l h4 {
    margin-bottom: 15px;
}

.col-l .text {
    padding: 6px 0;
}

.col-l .description {
    margin-top: 10px;
}

.price {
    color: var(--red) !important;
}

/*định dạng style cho trang giới thiệu*/
.col-l .info p {
    margin-top: 1em;
    margin-bottom: 1em;
}

.info strong, .info b {
    font-weight: bold;

}

.info ul {
    margin-left: 2em;
    margin-bottom: 1em;
}

.info ul li {
    margin-top: 0.8em;
    list-style: decimal;
}

.info a {
    font-weight: bold;
    color: black;
}

.info a:hover {
    color: var(--red);
    text-decoration: underline;
}

/*định dạng ảnh giới thiệu*/
.photo-gt {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.photo-gt div {
    flex-basis: 49%;
    margin-bottom: 0.5em;

    margin-bottom: 1em;
}

.photo-gt div img {
    overflow: hidden;
    object-fit: cover;
    height: 300px;
    align-items: center;
    border-radius: 4px 0 4px 0;
}

/*xe mới về*/

.col-r h2 {
    padding-bottom: 10px;

}

.col-r .list .item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px 0 9px 0;
    border-bottom: 1px dotted var(--bd);
}

.col-r .item .img {
    width: 30%;
}

.col-r .item .img img {
    height: 68px;
}

.col-r .item .info {
    width: 67%;
}

.col-r .item .info .car {
    display: inline-block;
    margin-bottom: 3px;
    font-weight: bold;
    font-size: 1em;
}

.col-r .item .info .car:hover {
    color: var(--red);
}

.col-r .list .item:last-child {
    border: none;
}

h3.title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 1em;
}

/*giao diện cho mobile*/
@media only screen and (max-width: 1200px) {
    #wrapper {
        padding: 15px;
    }
}

@media only screen and (max-width: 1024px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 55px;
    }
}

@media only screen and (max-width: 991px) {
    h2 {
        font-size: 16px;
    }

    #wrapper {
        flex-wrap: wrap;
    }

    /*giới thiệu*/
    #wrapper .col-l {
        flex-basis: 100%;
        margin-bottom: 15px;
    }

    /*xe mới về*/
    #wrapper .col-r {
        flex-basis: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #wrapper .col-r .title {
        flex-basis: 100%;
    }

    #wrapper .col-r .list {
        flex-basis: 68%;
    }

    #wrapper .col-r .box-advertisement {
        flex-basis: 30%;
        margin-top: 10px;
    }

    .col-r .item .img img {
        height: 130px;
    }
}

@media only screen and (max-width: 768px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 140px;
    }

    #wrapper .col-r .list {
        flex-basis: 100%;
    }

    /*ảnh quảng cáo*/
    #wrapper .col-r .box-advertisement {
        flex-basis: 100%;
    }

    #wrapper .col-r .box-advertisement a {
        width: 100%;
    }

    #wrapper .col-r .box-advertisement a img {
        height: 300px;
    }
}

@media only screen and (max-width: 700px) {
    .photo-gt div {
        flex-basis: 100%;

    }

    .photo-gt div img {
        height: auto;
    }
}

@media only screen and (max-width: 640px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 120px;
    }
}

@media only screen and (max-width: 576px) {
    #wrapper {
        padding: 10px;
    }

    /*xe mới về*/
    .col-r .item .img img {
        height: 105px;
    }
}

@media only screen and (max-width: 480px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 85px;
    }

    .col-r .list .item {
        padding: 10px 0;
    }

    /*ảnh quảng cáo*/
    #wrapper .col-r .box-advertisement a img {
        height: 180px;
    }
}

@media only screen and (max-width: 375px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 70px;
    }

    /*ảnh quảng cáo*/
    #wrapper .col-r .box-advertisement a img {
        height: 140px;
    }
}

@media only screen and (max-width: 320px) {
    /*xe mới về*/
    .col-r .item .img img {
        height: 59px;
    }
}

