/* =====================================================================
   Home page: the enquiry form and the testimonials carousel share one row.

   Neither component is rebuilt here. The form keeps crafto/metro-form.css
   and crafto/js/metro-form.js; the carousel keeps css/metro-testimonials.css
   and js/metro-testimonials.js. This file only sets up the two columns and
   trims the carousel's side spacing so it fits inside half the width.
   ===================================================================== */
.metro-ct {
    padding: 60px 0;
    background: #ffffff;
}

.metro-ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    /* both columns start at the same height; the form is the taller of the two */
    align-items: start;
}

/* grid items default to min-width:auto, which lets the carousel push the column
   wider than its share and scroll the page sideways */
.metro-ct-col {
    min-width: 0;
}

/* ---------- the carousel inside its column ---------- */
/* the section supplies its own 80px band when it stands alone; here the row does */
.metro-ct .metro-testi {
    padding: 0;
}

/* the heading sits in its own fixed-width Bootstrap .container, which is far wider
   than half the row; left alone it runs out of the column and the section's
   overflow:hidden cuts the title in half */
.metro-ct .metro-testi > .container {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* the display title is sized for the full width of the page; in a column it needs
   a lower ceiling so "Trusted by our clients" stays on one or two tidy lines */
.metro-ct .metro-testi .mt-title {
    font-size: clamp(26px, 2.6vw, 38px);
}

@media (min-width: 576px) {
    /* the standalone section holds 128px clear on each side for the arrows; half the
       width cannot spare that, so the gutter is cut to just wider than one arrow */
    .metro-ct .metro-testi .mt-viewport {
        margin: -32px 56px -62px;
    }

    .metro-ct .metro-testi .mt-prev {
        left: 0;
    }

    .metro-ct .metro-testi .mt-next {
        right: 0;
    }
}

/* ---------- tablet and below: the form first, the carousel under it ---------- */
@media (max-width: 991px) {
    .metro-ct {
        padding: 50px 0;
    }

    .metro-ct-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    /* stacked, the carousel has the whole width back, so does its title */
    .metro-ct .metro-testi .mt-title {
        font-size: clamp(30px, 3.2vw, 46px);
    }
}

@media (max-width: 575px) {
    .metro-ct {
        padding: 40px 0;
    }
}
