.index-slider-container {
    position: relative;
    margin-bottom: 80px;
}

.slide-image {
    width: 100%;
    height: 523px;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-content {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 16px;
}

.slide-content > div {
    padding: 24px;
    max-width: 556px;
    width: 100%;
    background-color: hsl(0 0% 100% / 0.93);
    border-radius: 5px;
}

.slide-content h2 {
    font-size: 20px;
    font-weight: 400;
    color: #000;

    /* ეს ამოიღე თუ არ გინდათ რომ ლინკის ტექსტი ორი ხაზის მერე იფარებოდეს */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
    /* აქამდე */
}

.slide-content a {
    flex-shrink: 0;
    display: grid;
    place-content: center;
    width: 130px;
    font-family: 'BPG Mrgvlovani Caps 2010', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
    'Helvetica Neue', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: hsl(0 0% 100%);
    text-decoration: none;
    background-color: hsl(14 100% 60%);
    border-radius: 5px;
    transition: background-color 150ms ease-in-out;
}

.slide-content a:hover,
.slide-content a:focus {
    outline: none;
    background-color: hsl(0 0% 0%);
}

.index-slider-small {
    width: calc(277px * 2 + 30px);
    position: absolute;
    right: calc((100% - 1380px) / 2);
    bottom: -20px;
}

.slider-pagination {
    padding: 0;
    margin: 0 7px;
    border: none;
    background-color: transparent;
    display: block;
    width: 190px;
    height: 150px;
    border-radius: 5px;
    overflow: hidden;
}

.slider-pagination img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 1420px) {
    .index-slider-small {
        position: relative;
        right: unset;
    }
}

@media only screen and (max-width: 780px) {
    .slide-content {
        flex-direction: column;
        width: 100%;
    }

    .slide-content > div {
        max-width: calc(100% - 40px);
    }

    .slide-content a {
        height: 50px;
    }
}

@media only screen and (max-width: 680px) {
    .index-slider-container {
        margin-bottom: 120px;
    }

    .slide-content h2 {
        font-size: 16px;
    }

    .index-slider-small {
        width: calc(160px * 2 + 30px);
    }

    .slider-pagination {
        /* width: 100px; */
        width: 100%;
        height: 80px;
    }
}