/* “Logo swiper” Elementor widget. */

.jits-logo-swiper__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 3rem;
}

.jits-logo-swiper__title {
    margin: 0;
    color: inherit;
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.2;
}

.jits-logo-swiper__see-all {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    color: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.jits-logo-swiper__see-all svg {
    width: 2.25rem;
    height: auto;
    transition: transform 200ms ease;
}

.jits-logo-swiper__see-all:hover svg,
.jits-logo-swiper__see-all:focus-visible svg {
    transform: translateX(0.25rem);
}

/* Continuous scroll: constant speed instead of Swiper's ease between slides. */
.jits-logo-swiper__carousel .swiper-wrapper {
    align-items: center;
    transition-timing-function: linear;
}

.jits-logo-swiper__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

.jits-logo-swiper__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Width from the slide, not from the image: an SVG with only a viewBox (no
   width/height attributes) has no intrinsic width and would collapse to 0. */
.jits-logo-swiper__logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

/* Elementor editor only: no matching post. */
.jits-logo-swiper__empty {
    padding: 1.5rem;
    border: 1px dashed currentColor;
    text-align: center;
}
