.ai-carousel {
    overflow: hidden;
    background-color: #fff;
    color: #000;
}

.ai-carousel__inner {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    padding: 8rem 2rem 0 2rem;
}

.ai-carousel__title {
    margin: 0;
    font-family: futura-pt, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.ai-carousel__text {
    margin: 0;
    font-family: 'Humanist', serif;
    font-size: 1.6rem;
    line-height: 2.6rem;
}

.ai-carousel__carousel {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.ai-carousel__viewport {
    overflow: hidden;
    margin-right: -2rem;
}

.ai-carousel__track {
    display: flex;
    margin: 0 0 0 -0.8rem;
    padding: 0;
    list-style: none;
}

.ai-carousel__card {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 2rem;
    width: 85%;
    margin: 0 0.8rem;
    padding: 1.6rem;
    background-color: #ffb500;
}

.ai-carousel__card-title {
    margin: 0;
    font-family: futura-pt, sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.ai-carousel__boxes {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2rem;
}

.ai-carousel__box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: #fff;
    min-height: 14.7rem;
}

.ai-carousel__box--grow {
    flex: 1;
}

.ai-carousel__label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    font-family: futura-pt, sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
}

.ai-carousel__icon {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
}

.ai-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
}

.ai-carousel__arrow {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 4.7rem;
    height: 4.7rem;
    padding: 0;
    border: 0;
    background-color: #ffb500;
    color: #000;
    cursor: pointer;
    transition: background-color 150ms ease, color 150ms ease;
}

.ai-carousel__arrow:hover,
.ai-carousel__arrow:focus-visible {
    background-color: #000;
    color: #ffb500;
}

.ai-carousel__arrow:focus-visible,
.ai-carousel__dot:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.ai-carousel__arrow:disabled {
    opacity: 0.4;
    cursor: default;
}

.ai-carousel__arrow:disabled:hover {
    background-color: #ffb500;
    color: #000;
}

.ai-carousel__dots {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ai-carousel__dot {
    width: 2.1rem;
    height: 2.1rem;
    padding: 0;
    border: 0;
    background-color: #b2b4ae;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.ai-carousel__dot:hover {
    background-color: #000;
}

.ai-carousel__dot.current {
    background-color: #ffb500;
}

.text-heading {
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-family: futura-pt, sans-serif;
}

.text-hero {
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-family: futura-pt, sans-serif;
}

@media (min-width: 768px) {
    .ai-carousel__inner {
        padding-inline: 4rem;
    }

    .ai-carousel__title {
        font-size: 3.2rem;
    }

    .ai-carousel__viewport {
        margin-right: -4rem;
    }

    .ai-carousel__track {
        margin-left: -1.2rem;
    }

    .ai-carousel__card {
        width: 60rem;
        margin: 0 1.2rem;
        padding: 2rem;
    }

    .ai-carousel__card-title {
        font-size: 2.1rem;
    }

    .ai-carousel__controls {
        justify-content: flex-end;
        gap: 2.4rem;
    }
}

@media (min-width: 1024px) {
    .ai-carousel__inner {
        padding-inline: 8rem;
        padding-bottom: 0;
    }

    .ai-carousel__title {
        font-size: 3.6rem;
    }

    .ai-carousel__viewport {
        margin-right: -8rem;
    }
}