@import url("_rating.css");

/* Vnymanye! Kazhdyj styl dolzhen vkljuchat .article-layout */
:root {
    --btn-wh: 40px;
}

/* Product layout */
.article-layout {
    /*border: 1px solid #ddd;*/
}

.grid-block .article-layout {
    /* border: 1px solid #ddd; */
    /* display: grid; */
    /* grid-template-rows: minmax(54px, auto) minmax(14px, auto) minmax(14px, auto) 1fr 42px; */
    /* row-gap: 10px; */
    /* align-items: stretch; */
    padding: 0px;
    border-radius: 0px 0px 60px 60px;
    overflow: hidden;
}

#content .article-block.grid-block .article-layout .image {
    text-align: center;
    position: relative;
    /* border: 1px solid #e6ff00; */
}
#content .article-block.grid-block .article-layout .image:after {
    content:'';
    width:100%;
    height:80px;
    background: var(--fon333);
    display:block;
    position:absolute;
    bottom:0px;
    left:0px;
    z-index: -1;
}
#content .article-block.grid-block .article-layout .caption {
    padding:40px;
    background: var(--fon333);
}
.article-layout .image a {
    display: block;
}

.article-layout .image a:hover {
    /* opacity: 0.8; */
    filter: brightness(0.8);
}

#content .article-block.grid-block .article-layout .image a {
    margin-left: auto;
    /* margin-right: auto; */
    /* object-fit: cover; */
    width: 100%;
    height: auto!important;
    clip-path: url(#customClipPath_blog_article);
    transition: clip-path 0.5s ease-in-out;
    aspect-ratio: 1031 / 553;
    aspect-ratio: 1000 / 545;
    position:relatve;
}
#content .article-block.grid-block .article-layout .image img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit:cover;
}
.list-block .article-layout .image {
    float: left;
    margin-right: 30px;
}

#content .article-block.grid-block .article-layout h4 {
    /* border: 1px solid blue; */
}

#content .article-block.grid-block  .article-layout h4,
#content .article-block.grid-block .article-layout h4 a {
    /* font-weight: bold; */
    margin: 0px;
    font-size: 53.51px;
    text-align: left;
    font-weight: 400;
    color: var(--text);
    font-family: 'Magistral Extra Cond W08 Md';
}

#content .article-block.grid-block .list-block .article-layout h4 {
    text-align: left;
    margin-top: 10px;
}

#content .article-block.grid-block .article-layout .desc {
    /* border: 1px solid rgb(152, 101, 5); */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Magistral Extra Cond W08 Light';
    font-size: 28.82px;
    line-height: 160%;
    margin: 10px 0px;
}

#content .article-block.grid-block .article-layout .date-viewed {
    margin: 0px;
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    display: none;
}

#content .article-block.grid-block .article-layout .date-viewed i {
    margin-right: 8px
}

#content .article-block.grid-block .article-layout .date-viewed .date-added,
#content .article-block.grid-block .article-layout .date-viewed .viewed {
    display: inline-block;
    color: #bcbcbc;
    display: flex;
    align-items: center;
}

#content .article-block.grid-block .fa-clock-o:before {
    content: '';
    display: block;
    width: 17px;
    height: 17px;
    background: url('/image/catalog/design/blog/clock-icon.svg') center no-repeat;
    background-size: 100% auto;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -ms-background-size: 100% auto;
}

#content .article-block.grid-block .fa-eye:before {
    content: '';
    display: block;
    width: 17px;
    height: 17px;
    background: url('/image/catalog/design/blog/eye-icon.svg') center no-repeat;
    background-size: 100% auto;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -ms-background-size: 100% auto;
}

/* Product Thumb - Price - END */

#content .article-block.grid-block .article-layout .button-group {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: auto;
    /* border: 1px solid rgb(152, 5, 125); */
}

@media (min-width: 640px) {
    #content .article-block.grid-block .list-block .article-layout .button-group {
        border-left: 0px solid #ddd;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    #content .article-block.grid-block .list-block .article-layout .button-group {
        border-left: none;
    }
}

#article-category #content .article-block.grid-block .article-layout .button-group button {
    width: 60%;
    width: 100%;
    margin-top: 26px;
    border: none;
    display: inline-flex;
    float: left;
    line-height: 38px;
    text-align: center;
    border-radius: 21px;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 34.47px;
    color: var(--fon);
    font-family: 'Magistral Extra Cond W08 Light';
    padding: 21px 35px;
    background: var(--btnfff);
}
#article-category #content .article-block.grid-block .article-layout .button-group button:after {
    content: '';
    display: flex;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--fon) url(/image/catalog/design/line_yellow.svg) center center no-repeat;
    background-size: 23px;
}
html[data-theme="light"] #article-category #content .article-block.grid-block .article-layout .button-group button:after {
    background: var(--fon) url(/image/catalog/design/line_black.svg) center center no-repeat;
    background-size: 23px;
}
#content .article-block.grid-block .article-layout .button-group button+button {
    height: var(--btn-wh);
    width: var(--btn-wh);
    margin-left: 10px;
    border-left: 0px solid #ddd;
}

#content .article-block.grid-block .article-layout .button-group button:hover {
    text-decoration: none;
}

@media (max-width: 419px) {
    #content .article-block.grid-block .article-layout .button-group {
        /* text-align: center; */
        /* width: 100%; */
    }

    #content .article-block.grid-block .article-layout .button-group button {
        /* max-width: 163px; */
        float: none;
    }
}

/*Compare + Wishlist*/
#content .article-block.grid-block .fa-heart:before {
    /* background: url(/image/catalog/design/wish.svg) center no-repeat;
    background-size: 100% auto;
    width: 24px;
    height: 24px;
    content: '';
    display: block;
    margin-bottom: -7px; */
}

#content .article-block.grid-block .fa-exchange:before {
    /* background: url(/image/catalog/design/compare.svg) center no-repeat;
    background-size: 100% auto;
    width: 24px;
    height: 24px;
    content: '';
    display: block;
    margin-bottom: -7px; */
}

/*Compare + Wishlist - END*/