/*================================
    Marquee Animation Style 
================================*/

.wdt-animation-holder:not(.vertical) .wdt-animation-wrapper {
    position: relative; display: flex; flex-flow: row nowrap; overflow: hidden; }

.wdt-animation-holder:not(.vertical) .wdt-animation-wrapper div[class*="-marqee"] {
    width: auto; flex: 0 0 auto; display: grid; grid-auto-flow: column; align-items: center; }

.wdt-animation-holder:not(.vertical) .wdt-animation-wrapper div[class*="-marqee"] .wdt-animation-item {
    display: inline-flex; flex: 0 0 auto; text-align: center; position: relative; }

.wdt-animation-holder:not(.vertical) .wdt-animation-wrapper .wdt-animation-item {
    padding: 0 clamp(0.875rem, 0.7308rem + 0.641vw, 1.5rem); /*  Min-14 & Max-24 */ }

.wdt-animation-holder:not(.vertical) .wdt-animation-wrapper div[class*="-marqee"].right-to-left,
.wdt-animation-holder:not(.vertical) .wdt-animation-wrapper div[class*="-marqee"].right-to-left ~ div {
    -webkit-animation: MarqueeLeft 24s linear infinite 0ms; animation: MarqueeLeft 24s linear infinite 0ms; }

.wdt-animation-holder:not(.vertical) .wdt-animation-wrapper div[class*="-marqee"].left-to-right,
.wdt-animation-holder:not(.vertical) .wdt-animation-wrapper div[class*="-marqee"].left-to-right ~ div {
    -webkit-animation: MarqueeRight 24s linear infinite 0ms; animation: MarqueeRight 24s linear infinite 0ms; }

.wdt-animation-wrapper:hover div[class*="-marqee"] { -webkit-animation-play-state: paused; animation-play-state: paused; }

@keyframes MarqueeRight {
    from { transform: translateX(var(--wdt-marque-Margin-Width)); }
    to { transform: translateX(0); }
}

@keyframes MarqueeLeft {
    from { transform: translateX(0); }
    to { transform: translateX(var(--wdt-marque-Margin-Width)); }
}

/* ===========================
    Vertical Animation Style
=========================== */

.wdt-animation-holder.vertical { overflow: hidden; }

.wdt-animation-holder.vertical .wdt-animation-wrapper { height: var(--wdt-marque-height); }

.wdt-animation-holder.vertical .wdt-animation-wrapper .wdt-animation-item { display: block; }

.wdt-animation-holder.vertical .wdt-animation-wrapper div[class*="-marqee"].top-to-bottom,
.wdt-animation-holder.vertical .wdt-animation-wrapper div[class*="-marqee"].top-to-bottom ~ div[class*="-cloned-marqee"] {
    -webkit-animation: MarqueeTop 24s linear infinite 0ms; animation: MarqueeTop 24s linear infinite 0ms; }

.wdt-animation-holder.vertical .wdt-animation-wrapper div[class*="-marqee"].bottom-to-top,
.wdt-animation-holder.vertical .wdt-animation-wrapper div[class*="-marqee"].bottom-to-top ~ div[class*="-cloned-marqee"] {
    -webkit-animation: MarqueeBottom 24s linear infinite 0ms; animation: MarqueeBottom 24s linear infinite 0ms; }

.wdt-animation-wrapper:hover div[class*="-marqee"] { -webkit-animation-play-state: paused !important; animation-play-state: paused !important; }

@keyframes MarqueeTop {
    from { transform: translateY(var(--wdt-marque-Margin-height)); }
    to { transform: translateY(0); }
}

@keyframes MarqueeBottom {
    from { transform: translateY(0); }
    to { transform: translateY(var(--wdt-marque-Margin-height)); }
}

/* ===========================
    Animation Text Style 
=========================== */

.wdt-animation-item.text-item { display: inline-block; }

.wdt-animation-holder:not(.vertical) .wdt-animation-wrapper .wdt-animation-item { padding: 0 clamp(0.9375rem, 0.7285rem + 0.9554vw, 1.875rem); }

.wdt-animation-item.text-item .wdt-animation-text h5 { font-weight: var(--wdtFontWeight_Alt);
    font-family: var(--wdtFontTypo_Alt); text-transform: capitalize; line-height: 1; }

.wdt__mrq_text_item .wdt-animation-text { align-self: end; }
.wdt__mrq_text_item .wdt-animation-text:last-child { align-self: center; }

.wdt__mrq_text_item:has(> div.wdt-animation-icon) { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
.wdt__mrq_text_item { text-align: start; }

.wdt__mrq_text_item .wdt-animation-icon:has(~ .wdt-animation-description) { grid-row: 1/3; align-self: center; }
.wdt__mrq_text_item .wdt-animation-icon { margin: 0 !important; display: flex; height: fit-content;
    font-size: clamp(3rem, 2.8269rem + 0.7692vw, 3.75rem); /* Min-48 & Max-60 */ }

.wdt__mrq_text_item .wdt-animation-description { width: 100%; max-width: 300px; }

.wdt__mrq_text_item .wdt-animation-text h5 { margin: 0; font-family: var(--wdtFontTypo_Alt); font-weight: var(--wdtFontWeight_Alt);
    line-height: var(--wdtLineHeight_Alt); text-transform: capitalize; }

.wdt__mrq_text_item > div:not(:last-child) { margin-bottom: 0.5rem; }

/* ===========================
    Animation Icon Style 
=========================== */

.wdt-animation-item.icon-item i { display: flex; align-items: center; justify-content: center;
    font-size: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem); /* Min-28 & Max-48 */
    width: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem); /* Min-28 & Max-48 */
    height: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem); /* Min-28 & Max-48 */ }

/* ===========================
    Animation Image Style 
=========================== */

.wdt-animation-item.image-item img { object-fit: cover; object-position: center; width: 100%; height: 100%; }

/**
    New Custom Style
*/

.wdt__mrq_style .wdt-animation-text h5 { font-size: clamp(1.75rem, 1.5481rem + 0.8974vw, 2.625rem); /* Min-28 & Max-42 */ }

.wdt__mrq_style { text-shadow: 0 0 0.06em currentColor; position: relative; 
    transform: rotate(2deg); will-change: transform; isolation: isolate; }

.wdt__mrq_style:after, .wdt__mrq_style:before { content: ""; position: absolute; top: 0; left: -10px; right: -10px; bottom: 0; 
    background: var(--wdtPrimaryColor); box-shadow: inset 0 0 20px var(--wdtBorderColor), 0 0 30px 0px var(--wdtPrimaryColor); }

.wdt__mrq_style:after { transform: rotate(-7deg); z-index: -1; opacity: 0.25;}
.wdt__mrq_style:before { z-index: 0; }