.elementor-widget-ltg-carousel > .elementor-widget-container {
    padding-inline: 0;
}

.ltg-carousel-wrap,
.ltg-carousel-wrap * {
    box-sizing: border-box;
}

.ltg-carousel-wrap {
    background-color: var(--ltg-color-primary);
    overflow-x: clip;
}

html.ltg-a11y-contrast-true .ltg-carousel-wrap {
    background-color: #272727;
}

.ltg-carousel-wrap .ribbon {
    flex-grow: 1;
    min-width: 0;
}

.ltg-carousel-wrap .ribbon-wrap {
    display: flex;
    padding-bottom: 40px;
}

@media screen and (min-width: 1025px) {
    .ltg-carousel-wrap > .ml-container {
        margin-left: calc((100% - 1024px) / 2);
        padding-left: 1rem;
    }

    .ltg-carousel-wrap .container-margin {
        width: calc((100% - 1024px) / 2);
    }
}

@media screen and (min-width: 1200px) {
    .ltg-carousel-wrap > .ml-container {
        margin-left: calc((100% - 1140px) / 2);
    }

    .ltg-carousel-wrap .container-margin {
        width: calc((100% - 1140px) / 2);
    }
}

.ltg-carousel {
    padding: 2rem 0 20px 2rem;
}

.ltg-carousel-slide {
    display: flex;
    flex-direction: column-reverse;
}

.ltg-carousel--enhanced .ltg-carousel-slide[hidden] {
    display: none;
}

@media screen and (min-width: 1025px) {
    .ltg-carousel-slide {
        flex-direction: row;
    }

    .ltg-carousel--enhanced .ltg-carousel {
        display: grid;
        grid-template-columns: 45% 55%;
        grid-template-rows: 1fr auto;
    }

    .ltg-carousel--enhanced .ltg-carousel-slide {
        display: contents;
    }

    .ltg-carousel--enhanced .ltg-carousel-text-wrap {
        grid-column: 1;
        grid-row: 1;
    }

    .ltg-carousel--enhanced .ltg-carousel-img-col {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .ltg-carousel--enhanced .ltg-carousel-controls {
        grid-column: 1;
        grid-row: 2;
    }
}

.ltg-carousel-wrap.--animated .ltg-carousel-text {
    justify-content: flex-end;
}

.ltg-carousel-wrap.--animated .ltg-carousel-slide.is-active:not([hidden]) .ltg-carousel-img {
    animation: ltg-carousel-image-fade 4500ms linear forwards;
    opacity: 0;
}

.ltg-carousel-wrap.--animated .ltg-carousel-slide.is-active:not([hidden]) .ltg-carousel-img-wrap {
    animation: ltg-carousel-image-slide 0.5s forwards;
}

.ltg-carousel-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ltg-carousel-text-wrap {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 1200px) {
    .ltg-carousel-text-wrap {
        margin-top: 1rem;
    }
}

.ltg-carousel-carousel-text {
    margin-bottom: 3rem;
}

@media screen and (max-width: 768px) {
    .ltg-carousel-carousel-text {
        min-height: 5rem;
    }
}

.ltg-carousel-img-col {
    flex: 0 0 55%;
    overflow: hidden;
}

.ltg-carousel-img-wrap {
    position: relative;
    height: 33vh;
    overflow: hidden;
}

@media (prefers-reduced-motion) {
    .ltg-carousel-img-wrap {
        animation: none;
    }
}

@media screen and (min-width: 1200px) {
    .ltg-carousel-img-wrap {
        height: 450px;
    }
}

.ltg-carousel-img {
    position: absolute;
    top: 1px;
    right: 0;
    width: calc(100% - 1px) !important;
    height: calc(100% - 2px) !important;
    object-fit: cover;
}

.ltg-carousel-heading {
    font-size: 26px;
    font-weight: bold;
}

html.ltg-a11y-font-size-1 .ltg-carousel-heading { font-size: 28px; }
html.ltg-a11y-font-size-2 .ltg-carousel-heading { font-size: 30px; }
html.ltg-a11y-font-size-3 .ltg-carousel-heading { font-size: 32px; }
html.ltg-a11y-font-size-4 .ltg-carousel-heading { font-size: 34px; }

@media screen and (min-width: 768px) {
    .ltg-carousel-heading {
        font-size: 52px;
    }

    html.ltg-a11y-font-size-1 .ltg-carousel-heading { font-size: 54px; }
    html.ltg-a11y-font-size-2 .ltg-carousel-heading { font-size: 56px; }
    html.ltg-a11y-font-size-3 .ltg-carousel-heading { font-size: 58px; }
    html.ltg-a11y-font-size-4 .ltg-carousel-heading { font-size: 60px; }
}

.ltg-carousel-dots {
    padding: 3rem 0;
    margin-top: auto;
}

.ltg-carousel-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: #fff;
    display: inline-block;
    cursor: pointer;
}

html.ltg-a11y-contrast-true .ltg-carousel-dot {
    background-color: cyan;
}

.ltg-carousel-dot:not(:last-child) {
    margin-right: 14px;
}

.ltg-carousel-dot:hover {
    cursor: pointer;
}

.ltg-carousel-dot.active {
    background-color: #000;
}

html.ltg-a11y-contrast-true .ltg-carousel-dot.active {
    background-color: yellow;
}

.ltg-carousel-dot:focus-visible {
    outline: 3px solid #000000;
    outline-offset: 4px;
}

.ltg-carousel-mask {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: auto;
    max-width: none;
    height: 100%;
    color: var(--ltg-color-primary);
    pointer-events: none;
}

html.ltg-a11y-contrast-true .ltg-carousel-mask {
    color: #272727;
}

.ltg-carousel-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

html.ltg-a11y-illustrations-false .ltg-carousel-img-col {
    display: none;
}

html.ltg-a11y-illustrations-false .ltg-carousel-text-wrap {
    flex-basis: 100%;
}

html.ltg-a11y-illustrations-false .ltg-carousel--enhanced .ltg-carousel {
    grid-template-columns: 1fr;
}

html.ltg-a11y-illustrations-false .ltg-carousel--enhanced .ltg-carousel-img-col,
html.ltg-a11y-illustrations-false .ltg-carousel--enhanced .ltg-carousel-controls {
    grid-column: 1;
}

.ltg-carousel-wrap .ltg-ribbon {
    display: flex;
    width: 100%;
    align-items: center;
}

.ltg-carousel-wrap .string {
    flex-grow: 1;
    min-width: 0;
    height: 25px;
}

.ltg-carousel-wrap .string-left {
    margin-right: -12.5px;
}

.ltg-carousel-wrap .string-left + .knot-wrap {
    padding-right: 5.3125px;
    padding-left: 0;
}

.ltg-carousel-wrap .string-right {
    margin-left: -12.5px;
}

.ltg-carousel-wrap .knot-wrap {
    flex: 0 0 auto;
    padding-left: 5.3125px;
}

.ltg-carousel-wrap .knot {
    width: 25px;
    height: 25px;
    border-top-right-radius: 50%;
    border-bottom-left-radius: 50%;
    transform: rotate(135deg);
}

.ltg-carousel-wrap .bg-black {
    background-color: #000000;
}

.ltg-carousel-wrap .bg-white {
    background-color: #ffffff;
}

html.ltg-a11y-contrast-true .ltg-carousel-wrap .bg-black {
    background-color: #ffffff;
}

.ltg-carousel-wrap .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes ltg-carousel-image-fade {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: 1; }
}

@keyframes ltg-carousel-image-slide {
    from { transform: translateX(100px); }
    to { transform: translateX(0); }
}

@media screen and (min-width: 1025px) {
    .ltg-carousel-wrap .string {
        height: 50px;
    }

    .ltg-carousel-wrap .knot {
        width: 50px;
        height: 50px;
    }

    .ltg-carousel-wrap .knot-wrap {
        padding-left: 10.625px;
    }

    .ltg-carousel-wrap .string-left {
        margin-right: -25px;
    }

    .ltg-carousel-wrap .string-left + .knot-wrap {
        padding-right: 10.625px;
        padding-left: 0;
    }

    .ltg-carousel-wrap .string-right {
        margin-left: -25px;
    }
}
