.line-wrapper {
    padding-bottom: 59px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.gallery-slider-wrapper {
    margin-top: 60px;
    margin-left: 96px !important;
    margin-right: 96px !important;

    h2 {
        color: #000;
        font-size: 40px;
        font-weight: normal;
    }

    .over-slider {
        z-index: 2;
    }

    .slick-prev {
        left: -25px;
        z-index: 2;
    }

    .slick-prev {
        border-radius: 0;
        box-shadow: none;
        left: -100px;
        top: 0;
        margin-top: 9px;

        &::before {
            content: '' !important;
            background-image: url(../icons/slider-button-2.svg);
            display: inline-block; 
            width: 60px;
            height: 60px; 
            background-size: cover;
            background-repeat: no-repeat;
            opacity: 0.9;
        }

        &:hover {
            opacity: 0.8;
        }

        &:focus {
            opacity: 0.8;
        }
    }

    .slick-next {
        border-radius: 0;
        box-shadow: none;
        left: -100px;
        top: 0;
        margin-top: 75px;

        &::before {
            content: '' !important;
            background-image: url(../icons/slider-button-1.svg);
            display: inline-block; 
            width: 60px;
            height: 60px; 
            background-size: cover;
            background-repeat: no-repeat;
            opacity: 0.9;
        }

        &:hover {
            opacity: 0.8;
        }

        &:focus {
            opacity: 0.8;
        }
    }

    .slick-next.slick-disabled {
        &::before {
            background-image: url(../icons/slider-button-1-gray.svg);
            opacity: 1;
        }

        &:hover {
            opacity: 1;
        }

        &:focus {
            opacity: 1;
        }
    }

    .slick-disabled {
        &::before {
            background-image: url(../icons/slider-button-2-grey.svg);
            opacity: 1;
        }

        &:hover {
            opacity: 1;
        }

        &:focus {
            opacity: 1;
        }
    }
    
    .slick-slide {
        margin: 0 32px 0 0;
    }

    .slick-list {
        margin: 0 -32px 0 0;
    }
    
    .slick-list::after {
        content: ' ';
        position: absolute;
        top: 0px;
        bottom: 0px;
        width: 4000px;
        right: 100%;
        background-color: white;
    }

    .link {
        margin-bottom: 40px !important;
        
        a {
            text-decoration: none !important;
            color: #000 !important;

            &:after {
                content: "";
                display: inline-block; 
                width: 16px;
                height: 12px; 
                background-image: url(../icons/link-arrow.svg);
                background-size: cover;
                background-repeat: no-repeat;
                margin-left: 10px; 
                transition: transform 0.3s ease;
            }

            &:hover:after {
                transform: translateX(5px);
            }
        }
    }

    .item-image {
        overflow: hidden;
        aspect-ratio: 1.4 / 1;
        
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        a {
            transition: transform 0.3s ease;
            overflow: hidden;

            &:hover {
                img {
                    transform: scale(1.1);
                }
            }
        }
    }

    .item-description {
        display: flex;
        flex-direction: column;
        width: 350px;
        justify-content: flex-end;
        position: absolute;
        top: 0;
        bottom: 0;
        padding: 0 0 32px 32px;
        color: #fff;

        .item-title {
            margin-bottom: 26px;
            font-size: 28px;
        }

        .item-count {
            font-size: 16px;
        }
    }
}

@media (max-width: 990px) {
    .gallery-slider-wrapper {
        .item-description {
            width: 250px;
        }
    }

    .gallery-slider-wrapper {
        & .item-description {
            .item-title {
                font-size: 16px;
            }
        }
    }
}

@media (max-width: 768px) {
    .gallery-slider-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;

        .item-description {
            width: 350px;

            .item-title {
                font-size: 28px;
            }
        }
    }
}

@media (max-width: 460px) {
    .gallery-slider-wrapper {
        .item-description {
            width: 250px;
        }
    }
    
    .gallery-slider-wrapper {
        & .item-description {
            .item-title {
                font-size: 16px;
            }
        }
    }
}