.home-blog__all {
    border-bottom: 1px solid;
}

.home-blog__all:hover {
    border-color: transparent;
}

.home-blog {
    width: 100%;
    min-width: 0;
    margin: 40px 0;
    position: relative;
}

.home-blog__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.home-blog__heading {
    margin: 0;
}

.home-blog__navigation button {
    position: absolute;
    top: 50%;
    z-index: 99999;
}

.home-blog__navigation .home-blog__prev {
    left: 0;
    transform: translate(-50%, 50%);
}

.home-blog__navigation .home-blog__next {
    right: 0;
    transform: translate(50%, 50%);
}

.home-blog__navigation {
    display: flex;
    gap: 10px;
}

.home-blog__navigation button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #eceaea;
    color: #222;
    font-size: 22px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.home-blog__navigation button svg {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.home-blog__navigation button:hover svg path{
    stroke: #fff;
}

.home-blog__navigation button.swiper-button-disabled {
    display: none;
}

.home-blog__navigation button:hover {
    background: #222;
    color: #fff;
}

.home-blog__swiper {
    width: 100%;
    overflow: hidden;
}

.home-blog__card {
    height: 260px;
    min-width: 0;
    box-sizing: border-box;
}

.home-blog__card-link {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    background: #555;
}

.home-blog__background {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform .4s ease;
}

.home-blog__card-link:hover .home-blog__background {
    transform: scale(1.05);
}

.home-blog__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to top,
            rgba(0, 0, 0, .85) 0%,
            rgba(0, 0, 0, .35) 55%,
            rgba(0, 0, 0, .05) 100%
    );
}

.home-blog__content {
    position: relative;
    z-index: 1;
    padding: 22px;
    color: #fff;
}

.home-blog__title {
    margin: 0 0 16px;
    color: #fff;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.home-blog__read-more {
    display: inline-block;
    color: #fff;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.home-blog__footer {
    display: flex;
    justify-content: center;
}



.home-blog__swiper {
    max-height: 260px;
}

@media (max-width: 767px) {
    .home-blog {
        margin: 28px 0;
    }

    .home-blog__content {
        padding: 16px;
    }

    .home-blog__title {
        font-size: 17px;
    }

    .home-blog__navigation button {
        width: 36px;
        height: 36px;
    }
}