.fm-itl {
    --fm-itl-card-width: 72%;
    --fm-itl-gap: 20px;
    --fm-itl-image-basis: 50%;
    position: relative;
    width: 100%;
    min-width: 0;
}

.fm-itl__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.fm-itl__track {
    display: flex;
    gap: var(--fm-itl-gap);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0;
    margin: 0;
    touch-action: pan-x pan-y;
}

.fm-itl__track::-webkit-scrollbar {
    display: none;
}

.fm-itl__card {
    flex: 0 0 var(--fm-itl-card-width);
    min-width: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    scroll-snap-align: start;
    transition: opacity .25s ease, transform .25s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.fm-itl-layout-column .fm-itl__card {
    flex-direction: column;
}

.fm-itl__media {
    flex: 0 0 var(--fm-itl-image-basis);
    min-width: 0;
    overflow: hidden;
}

.fm-itl-layout-column .fm-itl__media {
    flex-basis: auto;
    width: 100%;
}

.fm-itl-image-end .fm-itl__media {
    order: 2;
}

.fm-itl__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fm-itl__content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.fm-itl__time,
.fm-itl__title,
.fm-itl__text,
.fm-itl__text p {
    margin-top: 0;
}

.fm-itl__title {
    margin-bottom: 16px;
}

.fm-itl__text > :last-child {
    margin-bottom: 0;
}

.fm-itl__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    transform: translateY(-50%);
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}

.fm-itl__nav--prev { left: 12px; }
.fm-itl__nav--next { right: 12px; }

.fm-itl__nav:disabled {
    opacity: .35;
    cursor: default;
}

.fm-itl__timeline {
    position: relative;
    width: 100%;
    padding-top: 18px;
}

.fm-itl__line {
    position: absolute;
    left: 0;
    right: 0;
    top: 24px;
    width: 100%;
    border-radius: 999px;
}

.fm-itl__points {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.fm-itl__point {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.fm-itl__dot {
    display: block;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff;
    transition: transform .2s ease, background-color .2s ease;
}

.fm-itl__point-label {
    white-space: nowrap;
}

@media (max-width: 767px) {
    .fm-itl-layout-row .fm-itl__card {
        flex-direction: column;
    }
    .fm-itl-layout-row .fm-itl__media {
        flex-basis: auto;
        width: 100%;
        min-height: 260px;
    }
    .fm-itl-image-end .fm-itl__media {
        order: initial;
    }
    .fm-itl__nav {
        display: none;
    }
}
