/* ============================================= */
/* === MOBILE TEX-INTERIOR-DESIGN === */
/* ============================================= */

@media (max-width: 768px) {
    .tex-page__line {
        /* Display & Flex/Grid */
        display: none;
    }

    .tex-page__title {
        /* Типографика */
        font-size: clamp(1.5rem, 4vw, 3rem);
    }

    .tex-page__desc {
        /* Box model */
        margin: 0 1rem;

        /* Типографика */
        font-size: clamp(1.5rem, 3vw, 2.5rem);
    }

    .tex-page__what-we-create {
        /* Box model */
        padding: 0 1rem;
        margin-top: 2rem;
    }

    .tex-page__wwc-desc {
        /* Box model */
        margin-bottom: 2rem;

        /* Типографика */
        font-size: 2rem;
    }

    .card-slider {
        /* Display & Flex/Grid */
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;

        /* Прочее/поведение */
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    
    .card-slider::-webkit-scrollbar {
        /* Display & Flex/Grid */
        display: none; /* Chrome, Safari, Opera */
    }

    .card-slide {
        /* Display & Flex/Grid */
        display: flex !important;
        flex-direction: column !important;
        flex: 0 0 100% !important;

        /* Box model */
        width: 100% !important;

        /* Прочее/поведение */
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important; 
        scroll-snap-align: center !important;
    }

    .card-slide__photo-wrap {
        /* Box model */
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3;
        margin-bottom: 1.5rem;
    }

    .card-slide__photo {
        /* Box model */
        width: 100%;
        height: 100%;

        /* Фон и границы */
        border-radius: 20px;

        /* Прочее/поведение */
        object-fit: cover;
    }

    .card-slide__content {
        /* Display & Flex/Grid */
        align-items: center;

        /* Box model */
        padding: 0 0.5rem;

        /* Типографика */
        text-align: center;
    }

    .card-slide__text {
        /* Типографика */
        font-size: 1.1rem;
        text-align: center;
        line-height: 1.6;
    }

    .card-slider__controls {
        /* Display & Flex/Grid */
        display: none !important;
    }

    .card-slider__mobile-btn {
        /* Display & Flex/Grid */
        display: flex !important;
    }
}