/* --- BLOG --- */
section.blog{
    overflow: hidden;
}
.blog-content-section, .locations-section{
    padding-top: 45px;
    position: relative;
}
.blog-content-section:before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: url("../images/blog-body-bg-min.jpg") center -50px no-repeat;
    background-size: cover;
    height: 1154px;
    width: 100%;
    z-index: 0;
}
.blog-content-section .main-content,
.locations-section .main-content{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.blog-item-standared{
    min-width: 30%;
    max-width: 30%;
    margin: 0 55px 0 0;
}
.blog-item-standared:nth-child(3n+3){
    margin-right: 0;
}
.pix-blog-article{
    height: auto;
    /*-webkit-box-shadow: 1px 1px 10px 9px rgba(0, 0, 0, 0.43);*/
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.43);
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    -ms-border-radius: 24px;
    border-radius: 24px;
    overflow: hidden;
    padding: 40px 36px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom: 50px;
    background: white;
}
.pix-blog-img {
    height: 212px;
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}
.pix-blog-img a {
    display: block;
    height: 100%;
    position: relative
}
.pix-blog-img a img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.pix-blog-article-info {
    background: #fff;
}
.pix-blog-article-name {
    height: 62px;
    overflow: hidden;
}
.pix-blog-article-name a {
    text-decoration: underline;
    line-height: 17px;
    color: var(--pix-main-color);
    font-family: var(--pix-title-font);
    font-size: 17px;
    font-weight: 600;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    display: box;
    display: -webkit-box;
}
.pix-blog-article-name a:hover {
    text-decoration: none;
}
.pix-blog-article-text {
    height: 104px;
    overflow: hidden;
}
.pix-blog-article-text, .pix-blog-article-footer {
    font-size: 13px;
    line-height: 13px;
    font-weight: 500
}
.pix-blog-article .detail-link{
    width: 123px;
    height: 35px;
    line-height: 34px;
    text-align: center;
    color: black;
    font-family: var(--pix-title-font);
    font-weight: 500;
    font-size: 13px;
    border: 1px solid black;
    -webkit-border-radius: 11px;
    -moz-border-radius: 11px;
    -ms-border-radius: 11px;
    border-radius: 11px;
    margin-top: 18px;
    text-decoration: none;
    display: block;
}
.pix-blog-article-footer span {
    color: black;
}
.article-head {
    position: relative;
}
.blog-article .blog-table{
    overflow-x: auto;
}
.blog-article .article-head .post__meta {
    font-size: 15px;
}
html[lang="ar"] .blog-article .article-head .post__meta {
    direction: rtl;
}
.blog-article .article-head .post__meta a {
    text-decoration: underline;
}
.blog-article .article-head .post__meta a:hover {
    text-decoration: none;
}
.blog-article .post__date {
    position: absolute;
    left: 0;
    top: 0;
}
.blog-article .post-content blockquote {
    margin: 1.5em 0;
}
.blog-article .post-content blockquote {
    margin: 2em 0;
    position: relative;
    font-family: var(--pix-title-font);
}
.blog-article .post-content blockquote p {
    margin: 0;
}
a.post__img {
    display: block;
}
.post-link .post__img {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}
.article-head h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 15px;
    overflow: auto;
    color: var(--pix-title-color);
}
.article-head h2 a {
    text-decoration: underline;
}
.article-head h2 a:hover {
    text-decoration: none;
}

.article-meta-info-top{
    display: flex;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid var(--pix-grey-border);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.article-meta-info-top .article-meta-item-top{
    letter-spacing: -.2px;
    white-space: nowrap;
}
.article-meta-info-top .article-meta-item-top svg{
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    margin-bottom: -4px;
}
.article-meta-info-top .article-meta-item-top span:nth-child(2){
    font-weight: 600;
}
.article-meta-info-top .article-meta-item-top span.line{
    padding: 0 15px 0 12px;
}

.post__meta > span {
    position: relative;
    display: inline-block;
}
.post__meta > span > i {
    font-size: 18px;
    position: relative;
    top: 1px;
    margin-right: 5px;
    color: var(--pix-main-color);
}
.post__meta {
    font-family: var(--pix-title-font);
    font-size: var(--pix-font-size);
    color: var(--pix-font-color);
}
.post__meta a {
    color: var(--pix-font-color);
}
.post__meta > span:first-child {
    margin-left: 1px;
}
.post__meta > span:not(:last-child),
.post__meta > a:not(:last-child) {
    margin-right: 3em;
}
.post__meta .author > span {
    margin-right: 0.4em;
}
.post__categories > a {
    color: var(--pix-main-color);
}
.post__categories > a:hover {
    text-decoration: underline;
}
.pix-post-date {
    grid-area: cell-1;
}
.pix-post-title {
    grid-area: cell-2;
}
.pix-post-author {
    grid-area: cell-3;
}
.pix-post-content {
    grid-area: cell-4;
}

.post__meta.with-author{
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--pix-grey-border);
}
.author-meta {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
    background-color: white;
    margin-bottom: 15px;
}
.author-meta .author-avatar{
    min-width: 70px;
    max-width: 70px;
    height: 70px;
    margin-right: 10px;
}
html[lang="ar"] .author-meta .author-avatar{
    margin-right: 0;
    margin-left: 10px;
}
.author-meta .author-avatar img {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.author-info strong{
    line-height: 1.2em;
    display: block;
}
.author-meta .author-desc{
    line-height: 1.2em;
    margin: 10px 0;
}
.author-meta .author-info a {
    color: var(--pix-orange);
    text-decoration: none;
}
.author-meta .author-info a:hover {
    text-decoration: underline;
}
.article-meta-info .article-meta-item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 5px;
}
.article-meta-info .article-meta-item svg{
    min-width: 20px;
    max-width: 20px;
    height: 20px;
    margin-right: 3px
}
html[lang="ar"] .article-meta-info .article-meta-item svg{
    margin-right: 0;
    margin-left: 3px;
}
.article-meta-info .article-meta-item span{
    padding-left: 5px;
    line-height: 1em;
}
.article-rating{
    margin-top: 8px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.article-rating .stars{
    width: 138px;
    margin-left: 10px;
    margin-top: -4px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}
.article-rating .star {
    min-width: 20px;
    height: 20px;
}
.article-rating .star:not(.full):not(.hover){
    background: url("../images/star.svg") center no-repeat;
}
.article-rating .star.full, .star.hover{
    background: url("../images/star-gold.svg") center no-repeat;
}

.blog-article {
    padding: 0;
    margin-bottom: 100px;
}
.blog-article .post-image {
    position: relative;
    margin-bottom: -7px;
    text-align: center;
}
.blog-article .post-image.no-image {
    display: none;
}
.blog-article .post-image.pix-quote {
    margin-bottom: 0;
    display: block;
}
.blog-article .post-image img {
    width: auto;
    height: auto;
    max-width: 100%;
}
.blog-article .post-content {
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 20px;
    margin-bottom: 35px;
    padding-top: 10px;
    /*overflow: hidden;*/
}
.blog-article .post-content .vc_row {
    margin-right: 0;
    margin-left: 0;
}
.blog-article .post-content .wpb_text_column.wpb_content_element {
    margin-bottom: 0;
}
.blog-article .post-content .vc_column_container > .vc_column-inner {
    padding-right: 0;
    padding-left: 0;
}
.blog-article p {
    line-height: 28px;
}
.blog-article a{
    text-decoration: underline;
}
.blog-article .post-footer {
    display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 100px;
    font-family: var(--pix-title-font);
    font-size: var(--pix-font-size);
    margin-bottom: 30px;
}
.blog-article .blog-footer-title {
    font-family: var(--pix-title-font);
    color: #797979;
    position: relative;
}
.blog-article .footer-meta.blog-footer-tags {
    padding-left: 21px;
}
.blog-article .footer-meta a {
    padding-left: 5px;
    font-weight: 400;
}
.blog-article .footer-meta.blog-footer-tags .blog-footer-title i {
    font-size: 17px;
    position: absolute;
    top: 2px;
    left: -20px;
    color: var(--pix-main-color);
}
.blog-article .footer-meta.btn-social {
    margin: auto 0;
}
.blog-article__carousel {
    margin: 70px 0;
    padding: 70px 30px;
    background: #f8f8f8;
}
.blog-article__related {
    margin: 0;
    margin-bottom: 15px;
}

.blog-article__related .pix-news-prev {
    padding-left: 0;
}
.blog-article__related .pix-news-next {
    padding-right: 0;
    text-align: right;
}
.blog-article__related h4 {
    position: relative;
    font-size: 17px !important;
    word-wrap: break-word;
    margin-top: 5px;
}
.blog-article__related h4 a {
    font-family: var(--pix-title-font);
    font-weight: var(--pix-title-weight);
    text-decoration: underline;
}
.blog-article__related h4 a:hover {
    text-decoration: none;
}
.blog-article__related span {
    font-size: 17px;
    color: var(--pix-font-color);
}
#blog-article__related-nav {
    margin-top: 5px;
    margin-right: 5px;
    display: inline-block;
    float: right;
}
#blog-article__related-nav .owl-prev {
    display: inline-block;
    cursor: pointer;
}
#blog-article__related-nav .owl-next {
    display: inline-block;
    cursor: pointer;
    margin-left: 20px;
}
#blog-article__related-nav .owl-prev:hover {
    color: var(--pix-main-color);
}
#blog-article__related-nav .owl-next:hover {
    color: var(--pix-main-color);
}
.blog-article .news-card-centered {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.blog-article img:not(.car-img){
    object-fit: contain;
    /*width: 100%;*/
    max-width: 100%;
    height: 100%;
    margin-top: 30px;
}
.blog-article h2 {
    margin: 50px 0 25px 0;
}
.blog-article h3{
    font-size: 1.7em;
}
.blog-article h4{
    font-weight: 600;
    font-size: 1.45em;
}
.blog-article h3, .blog-article h4 {
    margin: 30px 0 20px 0;
}
.blog-article li h3, .blog-article li h4 {
    font-size: 1.25rem;
}
html[lang="ar"] .blog-article table{
    margin-left: auto;
}
.blog-banner img,
.blog-banner-2 img{
    width: auto;
    max-width: 100%;
}

li.li-h3 {
    margin-left: -5px;
    font-size: 1.25rem;
    font-family: var(--pix-title-font);
    font-weight: var(--pix-title-weight);
}
h3.h3-small{
    font-size: 1.25rem;
}

.blog .pix-sidebar ul{
    margin-left: 18px;
}

.blog-banner{
    cursor: pointer;
    margin: 20px 0;
}
.blog-banner img{
    margin: 0;
}
.blog-banner .get-offer{
    display: none;
}
.blog-banner-2{
    display: block;
    margin-bottom: 40px;
}

.blog-article a[href^="https://www.google.com/maps/place/"] {
    white-space: normal;
    word-break: break-all;
}
/* --- BLOG --- */

/* cars blocks */
.cars-block-list{
    margin-bottom: 50px;
}
.cars-block-wrap{
    position: relative;
    padding-bottom: 20px;
}
.cars-block{
    padding: 50px 0 30px;
    position: unset !important;
}
.cars-block-inner{
    position: relative;
    z-index: 1;
}
.cars-block .items{
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.cars-block .price{
    font-size: 14px;
    font-weight: 700;
    color: var(--pix-orange);
    min-width: 100%;
    white-space: nowrap;
}
.cars-block .owl-nav {
    position: absolute;
    width: calc(100% + 86px);
    top: 39%;
    left: -43px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}
.cars-block .owl-nav .owl-prev,
.cars-block .owl-nav .owl-next {
    min-width: 28px;
    max-width: 28px;
    height: 28px;
}
.owl-carousel.cars-block .owl-nav button.owl-prev {
    background: url(../images/arrow-left-grey.svg) left center no-repeat;
}
.owl-carousel.cars-block .owl-nav button.owl-next {
    background: url(../images/arrow-right-grey.svg) left center no-repeat;
}
.cars-block .owl-nav button.owl-prev.disabled,
.cars-block .owl-nav button.owl-next.disabled{
    opacity: .7;
    cursor: default;
}
.cars-block .owl-nav .owl-prev span,
.cars-block .owl-nav .owl-next span {
    font-size: 0 !important;
}

.pix-sale-box {
    min-width: 181.5px;
    max-width: 181.5px;
    position: relative;
    background: white;
    margin: 0 15px 0 0;
}
/*.pix-sale-box:nth-child(6n+6) {*/
/*    margin-right: 0;*/
/*}*/
.pix-sale-box:last-child {
    margin-right: 0 !important;
}
.pix-sale-box-img {
    display: block;
    width: 100%;
    height: 132px;
    position: relative;
    overflow: hidden;
    background-color: #D9D9D9;
    border-radius: 8px;
}
.pix-sale-box-img > a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: underline;
    background-size: cover !important;
}
/*.pix-sale-box-img > a:before{*/
/*    content: "";*/
/*    position: absolute;*/
/*    z-index: 1;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 50%;*/
/*    background: linear-gradient(0deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.00) 93.24%);*/
/*    display: flex;*/
/*    align-items: flex-end;*/
/*}*/
.pix-sale-box-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 205px;
    transition: all .3s ease;
}
.pix-sale-box-img .count-cars {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 16px 15px 17px 10px;
    color: white;
    font-weight: 600;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: normal;
    z-index: 1;
}
html[lang="ar"] .pix-sale-box-img .count-cars {
    justify-content: flex-end;
}
.pix-sale-box-img .count-cars span {
    padding: 0 5px;
}
.pix-sale-box-img .count-cars svg {
    transition: all .3s ease;
    margin-left: auto;
}
html[lang="ar"] .pix-sale-box-img .count-cars svg {
    margin-left: 0;
}
.pix-sale-box-img img:first-child {
    visibility: visible;
    opacity: 1;
}
.pix-sale-box-img.border img:first-child {
    width: 95%;
    position: relative;
}
.pix-sale-box .more-details{
    width: 125px;
    left: 35px;
    white-space: nowrap;
    text-align: center;
    background-color: white;
    font-size: 13px;
    line-height: 34px;
    font-weight: 500;
    color: var(--pix-orange);
    -webkit-border-radius: 20px;
    border-radius: 20px;
}
.pix-sale-box-info .cars-colors{
    display: flex;
    flex-direction: row;
    margin-top: 12px;
}
html[lang="ar"] .pix-sale-box-info .cars-colors{
    justify-content: flex-end;
}
.pix-sale-box-info .cars-colors div{
    min-width: 16px;
    max-width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 4px;
    position: relative;
}
.pix-sale-box-info .cars-colors div:before{
    content: "";
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.05);
}
.pix-sale-box-info .cars-colors div.white,
.pix-sale-box-info .cars-colors div.ivory,
.pix-sale-box-info .cars-colors div.yellow{
    border: 1px solid var(--pix-grey-border);
}
.pix-sale-box-price .count-cars{
    display: none;
}
.pix-sale-box-name {
    font-family: var(--pix-title-font);
    font-size: 16px;
    font-weight: 800;
    line-height: 16px;
    overflow: hidden;
    margin-top: 15px;
}
.pix-sale-box-name *{
    font-size: 16px;
}
.pix-sale-box-name a {
    text-decoration: none;
}
.pix-sale-box-name a * {
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-size: inherit;
    white-space: normal;
    display: inherit;
}
.pix-sale-box-name a:hover {
    text-decoration: none;
}
.pix-sale-box:hover .pix-sale-box-price-booking {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
    visibility: visible
}
.pix-sale-box .pix-product-show-boxes{
    /*height: 267px !important;*/
    height: 100%;
    touch-action: manipulation;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pix-sale-box .pix-product-dots-boxes .pix-dot-box{
    -webkit-border-radius: 3px;
    border-radius: 3px;
}
.pix-sale-box .pix-product-dots-boxes{
    padding: 0 20px 0;
    margin-bottom: 0;
}
.pix-sale-box .pix-product-dots-boxes .pix-dot-box{
    margin: 5px 3px 10px 3px;
    height: 6px;
}
.pix-sale-box .pix-product-dots-boxes .pix-dot-box.pix-active{
    background: var(--pix-orange);
}

.pix-sale-box  .pix-nav.left-right > div{
    background: transparent;
}
.pix-sale-box  .pix-nav > div{
    width: 60px;
    height: 65px;
    background-size: 25px 45px !important;
}
.pix-sale-box  .pix-nav.left-right{
    top: calc(50% - 33px);
}
.pix-sale-box  .pix-nav > div:after{
    font-size: 0;
}
.pix-sale-box  .pix-nav > div.swiper-button-prev{
    background: url("/wp-content/themes/quattro/images/prev-arrow-slider-min.png") center no-repeat;
    left: 0;
}
.pix-sale-box  .pix-nav > div.swiper-button-next{
    background: url("/wp-content/themes/quattro/images/next-arrow-slider-min.png") center no-repeat;
    right: 0;
}

.cars-block-wrap .link{
    min-width: 202px;
    max-width: 202px;
    height: 40px;
    line-height: 41px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--pix-main-font);
    font-weight: 500;
    color: white;
    background-color: var(--pix-orange);
    font-size: 15px;
    margin: 0 auto;
    text-align: center;
    display: block;
    text-decoration: none;
}
/* cars blocks */

/* banners */
.pix-sidebar-inner {
    position: relative;
}
.blog-banners {
    position: relative;
    margin-top: 30px;
    /*margin-right: -15px;*/
    display: flex;
    flex-wrap: wrap;
    width: 350px !important;
    overflow: hidden;
}
.blog-banners .owl-stage-outer{
    height: 530px;
}
.blog-banners .owl-stage{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    height: 100%;
}
.banner-block {
    min-width: 350px;
    max-width: 350px;
    height: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}
.banner-block:last-child {
    margin-right: 0;
}
.banner-block:not(.without-overlay):before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0,0,0,0.3);
    background: linear-gradient(0deg,rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}
.banner-image {
    text-align: center;
    margin-bottom: 15px;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.banner-img, .banner-img-mobile{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-img-mobile{
    display: none;
}
.banner-title {
    font-size: 22px;
    line-height: 27px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.banner-description {
    flex-grow: 1;
    margin-top: 10px;
    color: white;
    line-height: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.banner-button {
    min-width: 175px;
    max-width: 175px;
    height: 42px;
    cursor: pointer;
    font-family: var(--pix-main-font);
    font-weight: 500;
    color: white;
    background-color: var(--pix-orange);
    font-size: 15px;
    margin: auto auto 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: initial;
    text-decoration: none !important;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3); /* Тень снизу */
}
.banner-button:hover {
    color: white;
}
.blog-banners .owl-nav {
    height: 0;
    top: 50%;
    position: absolute;
    margin-top: -40px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.blog-banners .owl-nav button.owl-prev,
.blog-banners .owl-nav button.owl-next {
    position: relative;
    font-size: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: 110% !important;
}
.blog-banners .owl-nav button.disabled{
    display: none;
}
.blog-banners .owl-nav button.owl-prev {
    background: url(/wp-content/themes/quattro/images/prev-arrow-slider.svg) center no-repeat;
}
.blog-banners .owl-nav button.owl-next {
    background: url(/wp-content/themes/quattro/images/next-arrow-slider.svg) center no-repeat;
    margin-left: auto;
}
/* banners */

/* Стили для блока содержания */
.pxl-table-of-contents {
    background: var(--pix-grey-bg);
    border: 1px solid var(--pix-grey-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}
.toc-title {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}
.toc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.toc-list li {
    margin-bottom: 0;
    position: relative;
    padding-left: 15px;
    font-size: 16px;
}
.toc-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--pix-orange);
    font-size: 26px;
    top: 11px;
    height: 3px;
    line-height: 3px;
}
.toc-list li:last-child {
    margin-bottom: 0;
}
.toc-list a {
    text-decoration: none;
    transition: color 0.3s ease;
}
.toc-list a:hover {
    color: var(--pix-orange);
    text-decoration: underline;
}
/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}
/* JavaScript fallback для старых браузеров */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
/* Стили для блока содержания */

@media screen and (min-width: 1361px) and (max-width: 1400px) {
    .cars-block .owl-nav {
        width: calc(100% + 56px);
        left: -28px;
    }
}
@media screen and (min-width: 1361px) and (max-width: 1420px) {
    .blog-banners{
        width: 320px !important;
    }
    .banner-block {
        min-width: 320px;
        max-width: 320px;
    }
}
@media screen and (max-width: 1360px) {
    html div.custom-header.blog {
        height: auto;
        padding: 60px 5px;
        margin-bottom: 0 !important;
    }
    .cars-block .items{
        grid-template-columns: auto auto;
    }
    .cars-block .owl-nav{
        width: calc(100% + 36px);
        left: -18px;
        z-index: 1;
    }
    section.blog{
        margin-top: 40px;
    }

    .article-meta-info-top{
        display: block;
    }
    .article-meta-info-top .article-meta-item-top span.line{
        display: none;
    }
}
@media screen and (min-width: 1201px) and (max-width: 1360px) {

}
@media screen and (min-width: 1000px) and (max-width: 1360px) {
    .pix-sale-box {
        min-width: 191.109px;
        max-width: 191.109px;
        margin-right: 25px;
    }
    .blog-item-standared{
        min-width: 31.5%;
        max-width: 31.5%;
        margin-right: 20px;
    }
    .pix-blog-article{
        padding: 40px 15px;
    }
}
@media screen and (min-width: 1001px) and (max-width: 1200px) {

}
@media screen and (min-width: 1000px) and (max-width: 1070px) {
    .blog-banners{
        width: 320px !important;
    }
    .banner-block {
        min-width: 320px;
        max-width: 320px;
    }
}
@media screen and (min-width: 1000px) {
    .blog > .container > .row {
        flex-wrap: nowrap;
    }
    .blog .col-xl-9{
        flex: 1;
    }
    .blog .col-xl-3{
        flex: 0 0 350px;
        max-width: 350px;
    }
}
@media screen and (max-width: 999px) {
    .blog-banners {
        width: 100% !important;
        margin-bottom: 30px;
        /*margin-top: -30px;*/
    }
    .blog-banners .owl-stage-outer{
        height: 180px;
    }
    .banner-block {
        min-width: 360px;
        max-width: 360px;
        margin-right: 18px;
        padding: 15px 20px 10px;
        overflow: hidden;
        border-radius: 8px;
    }
    .banner-img{
        display: none;
    }
    .banner-img-mobile{
        display: block;
    }
    .banner-title{
        font-size: 18px;
        line-height: 22px;
    }
    .banner-description{
        font-size: 14px;
        padding: 0 20px;
        margin-top: 5px;
    }
    .banner-button{
        min-width: 105px;
        max-width: 105px;
        font-size: 12px;
        height: 40px;
        margin: 0;
        position: absolute;
        left: 20px;
        bottom: 20px;
    }

    .cars-block.owl-carousel .owl-stage-outer{
        overflow: visible;
    }
    .pix-sale-box {
        min-width: 191.109px;
        max-width: 191.109px;
        margin-right: 12px;
    }
}
@media screen and (max-width: 1000px) and (min-width: 783px) {
    .blog-item-standared{
        min-width: 47%;
        max-width: 47%;
        margin-right: 35px;
    }
    .blog-item-standared:nth-child(3n+3){
        margin-right: 35px;
    }
    .blog-item-standared:nth-child(2n+2){
        margin-right: 0;
    }
    .pix-blog-article{
        padding: 40px 15px;
    }
}
@media screen and (max-width: 782px) {
    .blog-content-section .main-content{
        max-width: 335px;
        margin: 0 auto;
    }
    .blog-content-section:before{
        top: auto;
        bottom: 0;
        background: url("../images/blog-body-bg-480.jpg") center no-repeat;
        background-size: cover;
        height: 100%;
    }
    .blog-item-standared{
        min-width: 100%;
        max-width: 100%;
        margin: 0;
    }
    .pix-blog-article{
        margin-bottom: 25px;
        padding: 35px 30px;
        /*height: 475px;*/
    }
    .pix-blog-article-name{
        height: auto;
    }
    .pix-blog-article-name a {
        font-size: 14.4px;
    }
    .pix-blog-article-text {
        height: auto;
    }
    .pix-blog-article-text, .pix-blog-article-footer {
        font-size: 11px;
        margin-top: 10px;
    }
    .pix-blog-img {
        height: auto;
    }
    .pix-blog-article .detail-link{
        width: 105px;
        height: 30px;
        line-height: 28px;
        font-size: 11px;
    }
    .blog-article table{
        width: 100%;
        white-space: normal;
        word-break: break-word;
    }
    .blog-article td{
        line-height: initial;
        font-size: 14px;
        padding: 6px;
    }

    .cars-block{
        width: 552px !important;
    }
    .cars-block .pix-sale-box {
        min-width: 175.5px;
        max-width: 175.5px;
        margin-right: 12px;
        margin-bottom: 0;
    }
}
@media screen and (max-width: 768px) {
    .blog-article img:not(.car-img){
        width: 100%;
    }

    .cars-block {
        padding: 30px 0;
    }
    .cars-block.owl-carousel{
        width: 452px !important;
    }
    .cars-block .items{
        margin-top: 20px;
        grid-template-columns: auto;
        grid-row-gap: 10px;
    }
    .pix-sale-box:last-child {
        margin-right: auto !important;
    }

    .cars-block .pix-sale-box {
        min-width: 220px;
        max-width: 220px;
        margin-right: 12px;
        margin-bottom: 0;
    }
    .pix-sale-box-img{
        height: 160px;
        border-radius: 12px;
    }
    .pix-sale-box-info .cars-colors .color{
        border: solid 1px #FFF;
    }
    .pix-sale-box-info .cars-colors div{
        min-width: 18px;
        max-width: 18px;
        height: 18px;
    }
    .pix-sale-box-name{
        margin-top: 17px;
    }
    .pix-sale-box-price{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .cars-block .price{
        min-width: auto;
    }
    html[lang="ar"] .cars-block .price{
        order: 1;
    }
    .pix-sale-box-img .count-cars{
        padding: 8px 11px 9px 8px;
        font-size: 14px;
        width: auto;
    }
    .pix-sale-box-price .count-cars{
        display: none;
        /*font-weight: 500;*/
        /*white-space:normal;*/
        /*align-items: center;*/
        /*font-size: 14px;*/
        /*line-height: 14px;*/
        /*z-index: 1;*/
        /*color: #818181;*/
        /*max-width: 200px;*/
        /*padding-right: 22px;*/
        /*position: relative;*/
    }
    html[lang="ar"] .pix-sale-box-price .count-cars{
        padding-right: 0;
        padding-left: 22px;
    }
    .pix-sale-box-price .count-cars svg {
        position: absolute;
        right: 0;
        top: 50%;
        margin-top: -10px;
        min-width: 20px;
        max-width: 20px;
    }
    html[lang="ar"] .pix-sale-box-price .count-cars svg {
        rotate: 180deg;
        right: auto;
        left: 0;
    }

    .banner-block {
        min-width: 510px;
        max-width: 510px;
        margin-right: 0;
    }
    .blog-banners .owl-stage-outer{
        height: 250px;
    }
    .banner-button{
        min-width: 145px;
        max-width: 145px;
    }
}
@media screen and (max-width: 575px) {
    html div.custom-header.blog {
        height: auto;
        padding: 20px 5px;
        margin-bottom: 0 !important;
    }
    .blog-main{
        padding-bottom: 75px;
    }
    .blog-main .pix-title-h2{
        font-size: 19px !important;
        padding-top: 15px;
    }
    .blog-main > .wpb_column .vc_column-inner {
        width: 335px;
        margin: 0 auto;
        padding: 0;
    }
    .blog-list__article {
        margin-bottom: 40px;
    }
    .blog-article{
        margin-bottom: 50px;
    }

    .banner-block {
        min-width: auto;
        max-width: none;
        margin-right: 0;
    }

    .article-meta-info-top{
        padding: 10px;
    }
    .article-meta-info-top .article-meta-item-top{
        font-size: 14px;
        white-space: normal;
        line-height: 16px;
        margin-bottom: 5px;
    }
    .article-meta-info-top .article-meta-item-top:last-child{
        margin-bottom: 0;
    }

    .pxl-table-of-contents {
        padding: 15px;
    }
    .toc-title {
        margin-bottom: 5px;
    }
    .toc-list li {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 5px;
    }
    .toc-list li:before {
        top: 7px;
    }
}
@media screen and (max-width: 500px) {
    .blog-banners .owl-stage-outer{
        height: 230px;
    }
}
@media screen and (max-width: 480px) {
    .blog-article h2 {
        margin: 25px 0;
    }
    .blog-article h3, .blog-article h4 {
        margin: 15px 0;
    }
    .blog-content-section:before{
        height: 1154px;
        background-size: initial;
    }

    .pix-blog-article{
        height: auto;
    }

    .cars-block-wrap{
        padding-bottom: 40px;
    }
    .cars-block.owl-carousel {
        width: 220px !important;
    }
    .cars-block.owl-carousel{
        width: 220px;
    }
    .cars-block-list .pix-sale-box{
        margin-bottom: 15px;
    }

    .blog-banners .owl-stage-outer{
        height: 220px;
    }
}
@media screen and (max-width: 460px) {
    .blog-banners .owl-stage-outer{
        height: 200px;
    }
}
@media screen and (max-width: 430px) {
    .post__meta.with-author{
        padding: 15px;
    }
    .author-meta .author-avatar{
        min-width: 50px;
        max-width: 50px;
        height: 50px;
    }
    .author-meta .author-desc{
        font-size: 14px;
    }
    .blog-article .article-head .post__meta a{
        font-size: 14px;
        line-height: 1em;
        display: block;
    }
    .article-meta-info .article-meta-item{
        line-height: 22px;
        font-size: 14px;
        margin-bottom: 2px;
    }

    .blog-banners .owl-stage-outer{
        height: 180px;
    }
    .banner-button{
        min-width: 105px;
        max-width: 105px;
        font-size: 12px;
        left: 10px;
        bottom: 10px;
        height: 35px;
    }
}
@media screen and (max-width: 380px) {
    .blog-banners .owl-stage-outer{
        height: 165px;
    }
    .author-meta .author-avatar img{
        margin-left: -5px !important;
    }
}
@media screen and (max-width: 360px) {
    .blog-banners .owl-stage-outer{
        height: 155px;
    }
}
@media screen and (max-width: 340px) {
    .blog-banners .owl-stage-outer{
        height: 145px;
    }
}
@media screen and (max-width: 320px) {
    .blog-banners .owl-stage-outer{
        height: 135px;
    }
}