/* Mobile Swiper geometry is independent of the desktop three-image slots. */
.tt-home .tt-projects__feature {
    touch-action: pan-y;
}

.tt-home .tt-projects__nav[hidden] {
    display: none !important;
}

.tt-home .tt-projects__feature--single .tt-project:first-child .tt-project__body {
    display: flex !important;
}

@media (max-width: 700px) {
    .tt-home .tt-projects {
        overflow: hidden;
    }

    .tt-home .tt-projects__feature {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        height: auto;
        min-height: 0;
        overflow: hidden;
        padding: 0 0 8px;
    }

        .tt-home .tt-projects__feature .swiper-wrapper {
            display: flex;
            align-items: stretch;
            gap: 0;
            height: auto;
        }

        .tt-home .tt-projects__feature .tt-project.swiper-slide {
            position: relative;
            flex: 0 0 auto;
            width: 100%;
            min-width: 0;
            height: auto;
            left: auto;
            right: auto;
            top: auto;
            margin-top: 0;
            transform: none !important;
            opacity: 1 !important;
            visibility: visible !important;
            pointer-events: auto !important;
            filter: none;
            transition: none;
            background: transparent;
        }

        .tt-home .tt-projects__feature .tt-project > a {
            display: block;
            touch-action: pan-y;
            -webkit-user-drag: none;
        }

        .tt-home .tt-projects__feature .tt-project .tt-project__image {
            position: relative;
            display: block;
            width: 100%;
            height: auto !important;
            aspect-ratio: 637 / 423;
            overflow: hidden;
        }

            .tt-home .tt-projects__feature .tt-project .tt-project__image img {
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
                transform: none;
                -webkit-user-drag: none;
                user-select: none;
            }

            .tt-home .tt-projects__feature .tt-project .tt-project__image::after {
                display: none;
            }

        .tt-home .tt-projects__feature .tt-project .tt-project__body {
            display: flex !important;
            position: static;
            opacity: 1;
            visibility: visible;
            min-height: 0;
            height: auto;
            padding: 16px 8px 8px;
            overflow-wrap: anywhere;
        }

        .tt-home .tt-projects__feature .tt-project__body strong {
            font-size: 20px;
            line-height: 1.4;
        }

        .tt-home .tt-projects__feature .tt-project__body em {
            flex-wrap: wrap;
            justify-content: unset;
            line-height: 1.5;
        }

        .tt-home .tt-projects__feature > .tt-projects__nav {
            bottom: auto;
            transform: none;
            width: 44px;
            height: 44px;
            background: rgba(0,0,0,.35);
            touch-action: manipulation;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

    .tt-projects__nav--prev:before {
        transform: translate(3px, 1px) rotate(45deg);
        width: 15px;
        height: 15px;
    }

    .tt-projects__nav--next:before {
        transform: translate(-3px,1px) rotate(225deg);
        width: 15px;
        height: 15px;
    }

    .tt-home .tt-projects__nav--prev {
        left: 10px;
    }

    .tt-home .tt-projects__nav--next {
        right: 10px;
    }
}