/**
    Marquee Animation Style 
*/

.wdt-animation-wrapper {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    overflow: visible;
    overflow-x: clip;
}
.wdt-animation-wrapper:has(.icon-item,.text-item) {
    mask-image: linear-gradient(90deg, transparent, var(--wdtBodyBGColor), var(--wdtBodyBGColor), var(--wdtBodyBGColor), var(--wdtBodyBGColor), var(--wdtBodyBGColor), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, var(--wdtBodyBGColor), var(--wdtBodyBGColor), var(--wdtBodyBGColor), var(--wdtBodyBGColor), var(--wdtBodyBGColor), transparent);
}

.wdt-animation-wrapper div[class*="-marqee"] { width: auto; flex: 0 0 auto; display: grid; grid-auto-flow: column; align-items: center; }

.wdt-animation-wrapper div[class*="-marqee"] .wdt-animation-item { display: inline-flex; flex: 0 0 auto; text-align: center; position: relative; }
.wdt-animation-wrapper .wdt-animation-item { padding: 0 clamp(0.9375rem, 0.6588rem + 1.2739vw, 2.1875rem); /*  Min-15 & Max-35 */ }

.wdt-animation-wrapper div[class*="-marqee"].right-to-left { 
    -webkit-animation: MarqueeLeft 24s linear infinite 0ms; animation: MarqueeLeft 24s linear infinite 0ms; }
.wdt-animation-wrapper div[class*="-marqee"].left-to-right { 
    -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 MarqueeLeft { 
    from { margin-left: 0; } 
    to { margin-left: var(--wdt-marque-Margin-Width); } 
}
@keyframes MarqueeRight { 
    from { margin-left: var(--wdt-marque-Margin-Width); } 
    to { margin-left: 0; } 
}

/**
    Animation Text Style 
*/

.wdt-animation-item.text-item { display: inline-block; font-size: clamp(1.75rem, 1.4615rem + 1.2821vw, 3rem); /* Min-28 & Max-48 */
    font-weight: var(--wdtFontWeight_Alt); font-family: var(--wdtFontTypo_Alt); text-transform: capitalize; line-height: 1; }

.wdt-animation-item.text-item,
.wdt-animation-item.text-item a { color: var(--wdtHeadAltColor); }
.wdt-animation-item.text-item a:hover { color: var(--wdtPrimaryColor); }

/**
    Animation Icon Style 
*/

.wdt-animation-item.icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(5.625rem, 4.162rem + 6.6879vw, 12.1875rem); /* Min-90 & Max-195 */
    color: var(--wdtSecondaryColor);
}

.wdt-animation-item.icon-item svg { width: 1em; height: auto; fill: currentColor; }


/**
    Animation Image Style 
*/

.wdt-animation-item.image-item img { object-fit: cover; object-position: center;
    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-reveal Style ====== */

.wdt-animation-wrapper .wdt-animation-item.image-reveal {
    margin: 0 clamp(1.5625rem, 1.2142rem + 1.5924vw, 3.125rem); /*  Min-25 & Max-50 */
    padding: 0 10px;
}
.wdt-animation-wrapper .wdt-animation-item.image-reveal a {
  display: grid;
  place-items: center;
}
.wdt-animation-wrapper .wdt-animation-item-image.wdt-reveal-image {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.wdt-animation-wrapper .wdt-animation-item-image.wdt-reveal-image img {
  transform: translate(-50%, -50%);

}
.wdt-animation-wrapper .wdt-animation-item.image-reveal:hover>a .wdt-animation-item-image.wdt-reveal-image {
  opacity: 1;
}
.wdt-animation-wrapper .wdt-animation-item-image.wdt-reveal-image img {
  border-radius: var(--wdtRadius_Full);
  width: clamp(5.625rem, 3.953rem + 7.6433vw, 13.125rem); /*  Min-90 & Max-210 */
  height: clamp(5.625rem, 3.953rem + 7.6433vw, 13.125rem); /*  Min-90 & Max-210 */
  object-fit: cover;
  -webkit-mask-image: url("https://wdtsweetheart.wpengine.com/wp-content/uploads/2025/06/Marquee-mask-icon.svg");
  mask-image: url("https://wdtsweetheart.wpengine.com/wp-content/uploads/2025/06/Marquee-mask-icon.svg");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: cover;
  mask-size: cover;
}
.wdt-animation-wrapper .wdt-animation-item-text.wdt-reveal-text {
  font-size: clamp(1.875rem, 1.5461rem + 1.3158vw, 3.125rem); /* Min-30 & Max-50 */
  font-family: var(--wdtFontTypo_H2);
  pointer-events: none;
  color: var(--wdtAccentTxtColor);
  line-height: var(--wdtLineHeight_H2);
}
/* =======Animation image-text Style ====== */
.wdt-animation-wrapper .wdt-animation-item.image-text{
   align-items: center;
   justify-content: center;
   padding:0 clamp(1.5625rem, 1.2142rem + 1.5924vw, 3.125rem); /*  Min-25 & Max-50 */
}
.wdt-animation-wrapper .wdt-animation-item.image-text .wdt-animation-item-text {
  margin-left: clamp(0.625rem, 0.4857rem + 0.6369vw, 1.25rem); /*mx-20 mn-10*/ 
   color: var(--wdtAccentTxtColor);
}
.wdt-animation-wrapper .wdt-animation-item.image-text .wdt-animation-item-text > a{
  font-size: clamp(1.75rem, 1.5526rem + 0.7895vw, 2.5rem); /* Min-28 & Max-40 */
  font-family: var(--wdtFontTypo_H2);
  line-height: var(--wdtLineHeight_H4);
  color: inherit;
  display: block;
  margin-bottom: clamp(0.3125rem, 0.2428rem + 0.3185vw, 0.625rem); /* max-10 min-5 */
  line-height: 1;
}
.wdt-animation-wrapper .wdt-animation-item.image-text img {
    width: clamp(3.75rem, 3.123rem + 2.8662vw, 6.5625rem); /* max-105 min-60 */
    height: clamp(3.75rem, 3.123rem + 2.8662vw, 6.5625rem); /* max-105 min-60 */
    border-radius: var(--wdtRadius_Full);
    object-fit: cover;
    object-position: center;
}

/* =======Animation Stroke Style ====== */
.wdt-animation-wrapper .wdt-animation-item.text-item {
    padding: 0 clamp(0.375rem, 0.2496rem + 0.5732vw, 0.9375rem); /*  Min-6 & Max-15 */
}
.wdt-animation-wrapper .wdt-animation-item.text-item .wdt-heading-title{
    margin: 0;
}
.wdt-animation-item.text-item .text-stroke{
    color: transparent;
  -webkit-text-stroke: 2px var(--wdtAccentTxtColor);
  font-family: var(--wdtFontTypo_Alt);
}

/**
    Responsive - AT Media Query
    --------------------------------
*/

