.blog {
    margin-bottom: 30px;
}

.blog .swiper-slide {
    width: auto;
}

.blog__wrapper {
    padding: 0 20px;
}

.blog .owl-stage-outer {
    border: none;
}

.blog__title {
    font-weight: 700;
    font-size: 26px;
    letter-spacing: 0.5px;
}

.blog_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.blog__nav {
    display: flex;
    align-items: center;
}

.blog__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.blog__nav-btn:first-of-type {
    margin-right: 5px;
}

.blog__nav-btn svg {
    width: 12px;
    height: 12px;
    fill: var(--third-text-color);
}

.blog__nav-btn:hover {
    background-color: var(--secondary-background-color);
}

.blog__slider {
    margin-right: 10px;
    margin-left: 10px;
}

.blog__slide .blog__footer {
    flex-wrap: wrap;
}

.blog__slider-wrapper {
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.blog__slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    background-color: var(--main-background-color);
    overflow: hidden;
    margin-bottom: 20px;
}


.blog__sticker {
    display: block;
    padding: 5px 15px;
    background: var(--accent-color);
    border-radius: 5px;
    color: var(--third-text-color);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
    z-index: 1;
    width: fit-content;
    margin-bottom: 10px;
}

.blog__button-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--main-text-color);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    width: fit-content;
    position: relative;
    text-transform: uppercase;
}

.blog__button-link:hover {
    color: var(--accent-color);
}

@media (max-width: 749px) {
    .blog__button-link {
        font-size: 12px;
    }
}

.blog__image-box {
    position: relative;
    height: 100%;
    overflow: hidden;
    flex: 0 1 auto;
    width: 52%;
    margin-right: 15px;
    border-radius: 5px;
    max-height: 380px;
}

.blog__image-box::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: -100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: all 0.6s ease-out;
}

.blog__slide:hover .blog__image-box::before {
    top: 0;
}

.blog__image-links {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    z-index: 3;
    transition: all 0.6s ease-out;
}

.blog__image-link {
    font-size: 14px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--third-text-color);
    color: var(--third-text-color);
    border-radius: 5px;
    transition: all 0.6s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    opacity: 0;
    transform-origin: center;
}
.blog__slide:hover .blog__image-link {
    opacity: 1;
    transform: scale(1);
}

.blog__image-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.blog__image {
    max-width: 100%;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.blog__buttons {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: 0;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.blog__content {
    margin-bottom: auto;
    padding: 10px;
    width: 47%;
    display: flex;
    flex-direction: column;
}

.blog__date {
    color: var(--accent-color);
    font-size: 13px;
    letter-spacing: 0.5px;
    font-weight: 400;
    line-height: 1.2;
}

.blog__author {
    color: var(--accent-color);
    font-size: 13px;
    letter-spacing: 0.5px;
    font-weight: 400;
    line-height: 1.2;
    margin-left: 5px;
}

.blog__subtitle {
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    color: var(--main-text-color);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 10px;
}

.blog__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 20px;
    margin-bottom: 10px;
}

.blog__subtitle:hover {
    color: var(--accent-color);
}

.blog__description {
    margin-top: 10px;
    color: var(--secondary-text-color);
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 10px;
}
.blog .c-carousel .blog__description {
    font-size: 14px;
}

.blog__meta {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 19px;
    margin-bottom: 9px;
    position: relative;
}
.blog__meta::before {
    content: '';
    position: absolute;
    width: 25%;
    height: 1px;
    background-color: var(--border-color);
    left: 0;
    bottom: 0;
}

.blog .c-carousel .owl-stage {
    margin: 0 auto;
}

.blog .c-carousel--index .owl-stage-outer {
    padding-top: 0;
    padding-bottom: 10px;
}



.blog .product__nav {
    top: -15px;
}

@media (max-width: 1699px) {
    .blog__slide {
        flex-direction: column;
    }
    .blog__image-box {
        width: 100%;
        max-height: 300px;
    }
    .blog__content {
        width: 100%;
    }
}



@media (max-width: 991px) {
    .blog {
        padding: 0 15px;
    }

    .blog-comments {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .blog__title {
        text-align: center;
    }
}

@media (max-width: 496px) {
    .blog__slide {
        margin: 0 14px;
    }
}