
/* Sub Heading style */

.wdt-heading-sub_title { display: inline-flex; align-items: center; position: relative; 
    text-transform: uppercase; letter-spacing: 0.06em; overflow: hidden; will-change: transform; }

.wdt-heading-sub_title .wdt-heading-marquee { display: flex; flex-wrap: nowrap; white-space: nowrap; 
    -webkit-animation: marq 3.5s linear infinite; animation: marq 3.5s linear infinite; transition: none; will-change: transform; }

.wdt-heading-sub_title .wdt-sub_title { position: relative; text-transform: uppercase; letter-spacing: 0.06em; 
    display: inline-flex; align-items: center; text-wrap: nowrap; white-space: nowrap; 
    padding-right: 10px; color: var(--wdtPrimaryColor); }

.wdt-dark-bg .wdt-heading-sub_title .wdt-sub_title { color: var(--wdtAccentTxtColor); }

.wdt-heading-sub_title .wdt-sub_title + .wdt-sub_title { position: absolute; left: 100%; }

.wdt-heading-sub_title .wdt-sub_title:before { content: ""; display: inline-block; position: relative; width: 1em; height: 1em; 
    background-color: currentColor; margin-right: 10px; -webkit-mask-image: var(--wdt-star-mask); mask-image: var(--wdt-star-mask);
    -webkit-mask-size: 98%; mask-size: 98%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; font-size: 1.1rem;
    -webkit-mask-position: center; mask-position: center; -webkit-animation: wdtCircle 3.5s linear infinite; 
    animation: wdtCircle 3.5s linear infinite; transition: none; will-change: transform; }

@keyframes marq { to { transform: translateX(-100%); } }
@keyframes wdtCircle { to { transform: rotate(360deg); } }

/* Common Heading style */

.wdt-creative-heading-holder .wdt-heading-title-wrapper { margin: 0px; }

.wdt-creative-heading-holder:not([class*="animat-"]) .wdt-heading-title-wrapper,
.animat-skew .wdt-heading-title-wrapper > .wdt-words__item { text-transform: capitalize; }
.animat-charsplit .wdt-heading-title-wrapper .wdt-words__item > .wdt-chars__item:first-child { text-transform: uppercase; }

.animat-skew .wdt-heading-title-wrapper { max-width: 100%; display: block; white-space: normal; word-break: break-word; }

/* Common Button style */

.wdt-creative-heading-holder .wdt__button { display: inline-flex; flex-direction: column; align-items: center; background-color: transparent; 
    color: var(--wdtPrimaryColor); border-color: currentColor; border: 1px solid; transform-style: preserve-3d; perspective: 1000px; text-transform: capitalize; }

.wdt-dark-bg .wdt-creative-heading-holder .wdt__button:not(:focus), 
.wdt-dark-bg .wdt-creative-heading-holder .wdt__button:not(:hover) { color: var(--wdtAccentTxtColor); border-color: var(--wdtAccentTxtColor); } 

.wdt-dark-bg .wdt-creative-heading-holder .wdt__button:focus, 
.wdt-dark-bg .wdt-creative-heading-holder .wdt__button:hover { border-color: var(--wdtPrimaryColor); } 

.wdt-creative-heading-holder .wdt__button:focus, 
.wdt-creative-heading-holder .wdt__button:hover { background-color: var(--wdtPrimaryColor); 
    border-color: var(--wdtPrimaryColor); color: var(--wdtAccentTxtColor); }

.wdt-creative-heading-holder .wdt__button { position: relative; font-size: var(--wdt-btn-font-size); overflow: hidden;
    -webkit-transform-style: preserve-3d; transform-style: preserve-3d; gap: 0px; transform: translateY(0px); 
    transition: var(--wdt-Ad-Transition); transform-origin: 50% 0; height: fit-content; padding: 14px 48px; }

.wdt-creative-heading-holder .wdt__button .wdt__button_text { transition: var(--wdt-Ad-Transition); text-align: center; display: inline-flex; align-items: center; filter: blur(0); }
.wdt-creative-heading-holder .wdt__button .wdt__button_text:nth-child(2) { position: absolute; opacity: 0; transform: translateY(100%); filter: blur(2px); }

.wdt-creative-heading-holder .wdt__button:hover .wdt__button_text:nth-child(1),
.wdt-creative-heading-holder .wdt__button:focus .wdt__button_text:nth-child(1) { opacity: 0; transform: translateY(-100%); filter: blur(2px); }

.wdt-creative-heading-holder .wdt__button:hover .wdt__button_text:nth-child(2),
.wdt-creative-heading-holder .wdt__button:focus .wdt__button_text:nth-child(2) { opacity: 1; transform: translateY(0%); filter: blur(0); }


.wdt-creative-heading-holder .wdt__button .wdt__button_text:after { content: ""; position: relative; display: inline-block;
    width: 1em; height: 1em; background-color: currentColor; -webkit-mask-image: var(--wdt-arrow-mask); mask-image: var(--wdt-arrow-mask);
    -webkit-mask-size: 99%; mask-size: 99%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; font-size: var(--btn-arrow-size);
    -webkit-mask-position: center; mask-position: center; transition: var(--wdt-Ad-Transition); margin-left: 8px; align-self: center; }

.wdt-creative-heading-holder.btn_bg_filled .wdt__button { background-color: var(--wdtPrimaryColor); 
    color: var(--wdtAccentTxtColor); border-color: var(--wdtPrimaryColor); }

.wdt-dark-bg .wdt-creative-heading-holder.btn_bg_filled .wdt__button { background-color: var(--wdt-elementor-color-white); 
    color: var(--wdt-elementor-color-black); border-color: var(--wdt-elementor-color-white); }

.wdt-creative-heading-holder .wdt-heading-content-wrapper .wdt-heading-content{margin-bottom: 0; text-wrap: balance;}
/**
    Title Template Default 
*/

.template-default > *:not(:last-child) { margin-bottom: 14px; }
.template-default  .wdt-heading-title-wrapper:has(+.wdt-heading-button-wrapper){ margin-bottom: 60px; }
.wdt-creative-heading-holder.template-default .wdt-heading-content-wrapper:has(+.wdt-heading-button-wrapper){margin-bottom:  clamp(1.875rem, 1.6672rem + 0.694vw, 2.5rem);/*40-30*/}
/** 
    Title with Description 
*/

.template-title_desc { display: flex; align-items: flex-end; justify-content: space-between; }

.template-title_desc .wdt__column:first-child { margin: 0px; flex: 0 0 50%; }
.template-title_desc .wdt__column:last-child { margin: 0px; flex: 0 0 30%; }
.template-title_desc .wdt__column p { margin: 0px; }
    .template-title_desc .wdt__column:first-child { /* text-align: start; */ padding-right: 30px; }
@media screen and (max-width: 1280px) {
    .template-title_desc .wdt__column:first-child { flex: 0 0 50%; }
    .template-title_desc .wdt__column:last-child { flex: 0 0 50%; }
.template-default  .wdt-heading-title-wrapper:has(+.wdt-heading-button-wrapper){ margin-bottom: 50px; }
}

@media screen and (max-width: 1024px){
    .template-title_desc { align-items: flex-start; flex-direction: column; padding-right: 0px; width: 80%;}
    .template-title_desc .wdt__column:first-child { padding-right: 0px; padding-bottom: 30px; }
}


@media screen and (max-width: 767px) {
    .template-title_desc { flex-wrap: wrap;width: 100%; }
    .template-title_desc .wdt__column:first-child { flex: 1 1 100%; padding-bottom: 14px; }
    .template-title_desc .wdt__column:last-child { flex: 1 1 100%; }
    .template-default  .wdt-heading-title-wrapper:has(+.wdt-heading-button-wrapper){ margin-bottom: 40px; }
}

/** 
    Title with Button 
*/

.template-title_btn { display: flex; align-items: flex-end; }

.template-title_btn .wdt__column:first-child { margin: 0px; width: 100%; flex: 0 0 60%; }
.template-title_btn .wdt__column:last-child { margin: 0px; width: 100%; flex: 0 0 40%; }
.template-title_btn .wdt__column .wdt-button { margin: 0px; }
    .template-title_btn .wdt__column:last-child { text-align: end; }
@media screen and (max-width: 1280px) {
    .template-title_btn .wdt__column:first-child { flex: 1 1 70%; }
    .template-title_btn .wdt__column:last-child { flex: 1 1 30%; }
}

@media screen and (max-width: 1024px) {
    .template-title_btn { flex-direction: column;}
    .template-title_btn .wdt__column:last-child { text-align: start; }
    .template-title_btn .wdt__column:first-child { padding-right: 0px; padding-bottom: 30px;}
}

@media screen and (min-width: 768px) {
    .template-title_btn .wdt__column:first-child { padding-right: 30px; }

}

@media screen and (max-width: 767px) {
    .template-title_btn { flex-wrap: wrap; }
    .template-title_btn .wdt__column:first-child { flex: 1 1 100%; padding-bottom: 30px; }
    .template-title_btn .wdt__column:last-child { flex: 1 1 100%; }
    .template-title_btn .wdt__column:last-child { text-align: start; }
}


/** 
    Template Title Only
*/ 

.wdt-heading-title-wrapper:not(:has(> div > div.wdt-chars__item)) { text-transform: capitalize !important; }

.template-title_only { display: flex; align-items: flex-start; }

.template-title_only .wdt__column { margin: 0px; width: 100%; flex: 0 0 50%; }

@media screen and (max-width: 1280px) {
    .template-title_only .wdt__column:first-child { flex: 1 1 30%; }
    .template-title_only .wdt__column:last-child { flex: 1 1 70%; }
}

@media screen and (min-width: 768px) {
    .template-title_only .wdt__column:first-child { padding: 20px 30px 20px 0px; }
    /* .template-title_only .wdt__column:last-child { text-align: start; } */
}

@media screen and (max-width: 767px) {
    .template-title_only { flex-wrap: wrap; }
    .template-title_only .wdt__column:first-child { flex: 1 1 100%; padding-bottom: 14px; }
    .template-title_only .wdt__column:last-child { flex: 1 1 100%; }
}

@media screen and (max-width: 479px) {.template-default  .wdt-heading-title-wrapper:has(+.wdt-heading-button-wrapper){ margin-bottom: 40px; } .wdt-creative-heading-holder .wdt-heading-content-wrapper .wdt-heading-content{text-wrap: unset;}}

/** 
    Read Title 
*/

.template-title_read .wdt__read_title_wrap { position: relative; }

.template-title_read .wdt__read_title { position: relative; display: inline-block; }
.template-title_read .wdt__read_title.clone { position: absolute; left: 0; top: 0; }


.template-title_read .wdt__read_title:not(.clone) .wdt-heading-title-wrapper { position: relative; display: inline;
    -webkit-text-fill-color: rgba(var(--wdtHeadAltColorRgb), 0.1); -webkit-background-clip: text; background-clip: text; 
    background-size: 0% 100%; background-repeat: no-repeat; color: var(--wdtHeadAltColor);
    -webkit-background-image: linear-gradient(45deg, currentColor, currentColor); 
    background-image: linear-gradient(45deg, currentColor, currentColor); }

.template-title_read .wdt__read_title .wdt-heading-title-wrapper { 
    display: inline; background-size: 0% 100%; background-repeat: no-repeat; 
    -webkit-background-image: linear-gradient(90deg, transparent calc(100% - 2px), var(--wdtPrimaryColor) 2px); 
    background-image: linear-gradient(90deg, transparent calc(100% - 2px), var(--wdtPrimaryColor) 2px); color: transparent; }

.wdt-dark-bg .template-title_read .wdt__read_title:not(.clone) .wdt-heading-title-wrapper { 
    -webkit-text-fill-color: rgba(var(--wdtAccentTxtColorRgb), 0.1); color: var(--wdtAccentTxtColor); }


/** 
    Highlighted Words 
*/

.wdt-words__item.wdt-highlight { color: var(--wdtPrimaryColor); }

.wdt-words__item.wdt-highlight:last-child:before { font-size: 0.27em;
  content: ""; position: absolute; top: 50%; right: 0em; width: 1em; height: 1em; 
  background: currentColor; border-radius: 0px 100px 0px 0px; transform: translateY(-100%); }

.wdt-words__item.wdt-highlight:last-child { position: relative; padding-right: 0.36em; }