﻿.carousel-desc-item-outer {
    max-width: 70ch;
}

.card-expand-outer .carousel-desc-item-outer {
    max-width: 35ch;
}
.phone .carousel-desc-item-outer,
.tablet .carousel-desc-item-outer,
.phone .card-expand-outer .carousel-desc-item-outer,
.tablet .card-expand-outer .carousel-desc-item-outer {
    max-width: unset;
}

.carousel-desc-item-title {
    font-weight: 700;
    font-size: clamp(1.375rem, 5vw - 1rem, 1.563rem);;
    line-height: 33px;
    margin-bottom: 20px;
    position: relative;
    width: fit-content;
}

.carousel-desc-item-title:before {
    content: "";
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    height: 5px;
    width: 42px;
    background-color: var(--color-soft-orange);
    transition: width .3s ease;
}

.carousel-desc-item-subtitle {
    font-weight: 400;
    font-size: clamp(1rem, 5vw - 1rem, 0.938rem);
    /* line-height: 22px; */
    /* opacity: 0.9; */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-desc-item-title span[data-expression],
.carousel-desc-item-subtitle span[data-expression]
{
    color: white;
}

