.ls-container {
        padding: 0;
        margin: 0 auto;
    }

    .ls-gallery-wrap {
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 100vh;
    }

    .ls-item {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0;
        /*padding: 0;*/

        padding: 2rem;
        align-items: center;
        flex: 1;
        height: 100%;

        background-position: center; /* Default */
        background-size: cover; /* Default */
        background-repeat: none; /* Default */
        transition: flex 1s ease, gap 1s ease-in-out, padding 1s ease-in-out;

        &:hover {
            flex: 1.2;
            gap: 2rem;
            /*padding: 2rem;*/
        }
        &:hover::before {
            background-color: rgba(0, 0, 0, 0.5);
        }
        &:hover .ls-item-text,
        &:target .ls-item-text {
            opacity: 1;
            min-height: 2em;
            height: auto;
        }
        &:hover .ls-item-button,
        &:target .ls-item-button {
            opacity: 1;
            padding: 0rem 1rem 0.5rem 1rem;
            z-index: 2;
        }
        &:hover .ls-item-button::after {
            width: 100%;
        }
    }
    .ls-item::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0);
        transition: background-color 1s ease-in-out;
        z-index: 1;
    }
    .ls-item h4,
    .ls-item-text {
        position: relative;
        text-align: center;
        z-index: 2;
    }
    .ls-item h4 {
        /*color: #fff;*/
        font-size: 2rem;
        padding: 0rem 1rem;
        margin: 0;
    }
    .ls-item-text {
        position: relative;
        /*color: #fff;*/
        height: 0;
        min-height: 0;
        opacity: 0;
        margin: 0;
        padding: 0;
        /*overflow: hidden;*/
        transition: opacity 0.5s ease-in-out, min-height 1s ease-in-out,
            height 2s ease-in-out;
    }
    .ls-item-button {
        position: relative;
        background-color: transparent;
        /*color: #fff;*/
        display: flex;
        max-height: 0;
        opacity: 0;
        padding: 0;
        cursor: pointer;
        transition: opacity 0.5s ease-in-out, max-height 1s ease-in-out,
            padding 0.5s ease, z-index 0.5s ease;
    }

    .ls-item-button::after {
        content: "";
        position: absolute;
        bottom: -1.5rem;
        left: 0;
        height: 1px;
        width: 0;
        background-color: #fff;
        transition: width 1s ease-in-out;
    }
    .ls-item .ls-item-button a {
        color: #fff;
        text-decoration: none;
    }
    .ls-item .ls-item-button a:hover {
        /*color: #fff;*/
        text-decoration: none;
    }


    .social {
        position: absolute;
        right: 35px;
        bottom: 0;

        img {
            display: block;
            width: 32px;
        }
    }
    @media (max-width: 1024px) {
        .ls-gallery-wrap {
            height: 60vh;
        }
    }
    @media (max-width: 920px) {
        .ls-gallery-wrap {
            flex-direction: column;
            min-height: 100vh;
            height: auto;
        }

        .ls-item {
            min-height: 350px;
        }
    }
    @media (max-width: 768px) {
        .ls-gallery-wrap {
            flex-direction: column;
            min-height: 100vh;
            height: auto;
        }

        .ls-item {
            flex: unset;
            gap: 0;
            width: 100%;
            height: 33.5vh;
            min-height: 30vh;
            transition: flex 1s ease, height 1s ease-in-out,
                min-height 1s ease-in-out, gap 1s ease-in-out;

            &:hover,
            &:target {
                flex: unset;
                gap: 1.4rem;
                height: 35vh;
                min-height: 35vh;
            }
        }
    }