
.company-carousel-section {
    padding: 24px 0 58px;
    background: var(--white, #fff);
}

.company-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: var(--light, #f5f7fa);
    aspect-ratio: 16 / 7;
    isolation: isolate;
}

.company-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 650ms cubic-bezier(.22, .61, .36, 1);
    will-change: transform;
}

.company-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
    height: 100%;
}

.company-carousel-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.company-carousel-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0 0 4px;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    background: rgba(13, 29, 50, .78);
    color: #fff;
    font: inherit;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: background 180ms ease, transform 180ms ease;
}

.company-carousel-arrow:hover {
    background: var(--secondary, #d9a441);
    color: #142b49;
}

.company-carousel-arrow:focus-visible,
.company-carousel-dot:focus-visible {
    outline: 3px solid var(--secondary, #d9a441);
    outline-offset: 3px;
}

.company-carousel-prev {
    left: 16px;
}

.company-carousel-next {
    right: 16px;
}

.company-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding-top: 16px;
}

.company-carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c5ccd5;
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.company-carousel-dot[aria-current="true"] {
    width: 24px;
    border-radius: 10px;
    background: var(--secondary, #d9a441);
}

/* TABLETS AND MOBILE */
@media (max-width: 768px) {
    .company-carousel-section {
        padding: 12px 0 42px;
    }

    .company-carousel {
        aspect-ratio: 4 / 3;
        border-radius: 10px;
    }

    .company-carousel-arrow {
        width: 38px;
        height: 38px;
        font-size: 29px;
    }

    .company-carousel-prev {
        left: 10px;
    }

    .company-carousel-next {
        right: 10px;
    }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    .company-carousel-track,
    .company-carousel-arrow,
    .company-carousel-dot {
        transition: none;
    }
}
