
.fzt-heading-container {
    align-items: center;    
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: start;
    position: relative;
    text-align: start;
    width: 100%;
}

.fzt-heading-container.type-1 {
    margin: 0 0 10px;
}

.fzt-heading-container.type-1 .fzt-heading-title {
    align-items: inherit;
    color: var(--nexun-heading-color);
    display: inline-flex;
    font-family: var(--nexun-h2-font-family);
    font-size: clamp(1.25rem, 1.25rem + 0vw, 1.25rem);
    font-weight: 600;
    justify-content: inherit;
    line-height: 1.3;
    position:  relative;
    text-align: inherit;
    text-transform: capitalize;
    text-wrap: balance;
    width: 100%;
}

.fzt-heading-container.type-1 .fzt-heading-title span {
	background: var(--nexun-body-background-color);
	-webkit-box-orient: vertical;
    display: -webkit-box;
	flex: 0 0 12rem;
    -webkit-line-clamp: 1;
    line-height: inherit;
	max-width: 12rem;
    overflow: hidden;
	position: relative;
}

.fzt-heading-container.type-1 .fzt-heading-title:after {
    background: rgba(var(--nexun-primary-color-rgb), 0.15);
    content: "";
    display: flex;
    flex: 1;
    height: 2px;
    left: auto;
    margin: auto;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 20 16' fill='none' stroke='currentColor' stroke-width='4' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cg transform='translate(-12.000000, 0)'%3E%3Cpath d='M28,0L10,18'/%3E%3Cpath d='M18,0L0,18'/%3E%3Cpath d='M48,0L30,18'/%3E%3Cpath d='M38,0L20,18'/%3E%3C/g%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 20 16' fill='none' stroke='currentColor' stroke-width='4' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cg transform='translate(-12.000000, 0)'%3E%3Cpath d='M28,0L10,18'/%3E%3Cpath d='M18,0L0,18'/%3E%3Cpath d='M48,0L30,18'/%3E%3Cpath d='M38,0L20,18'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-position: center center;
            mask-position: center center;
    -webkit-mask-repeat: repeat-x;
            mask-repeat: repeat-x;
    -webkit-mask-size: 2px 100%;
            mask-size: 2px 100%;
    max-width: calc(100% - 12rem);
    position: relative;
    right: 0;
    top: 50%;
    width: 100%;
}

.fzt-heading-container.type-1 .fzt-heading-title:empty {
    display: none;
}

/* Type 2 */

.fzt-heading-container.type-2 .fzt-heading-title {
    align-items: center;
    color: var(--nexun-heading-color);
    display: flex;
    flex-wrap: wrap;
    font-family: var(--nexun-h2-font-family);
    font-size: 255px;
    font-weight: 600;
    gap: 80px;
    justify-content: center;
    line-height: 0.75em;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.fzt-heading-container.type-2 .fzt-heading-title .fzt-heading-text {
    display: inherit;
}

.fzt-heading-container.type-2 .fzt-heading-title .fzt-heading-text > span {
    -webkit-animation: heading-image-animation 3s linear infinite running;
    animation: heading-image-animation 3s linear infinite running;
    -webkit-background-clip: text;
            background-clip: text;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
    color: transparent;
}

.fzt-heading-container.type-2:hover .fzt-heading-title .fzt-heading-text > span {
    animation-play-state: paused;
}

@-webkit-keyframes heading-image-animation {
    0% {
      filter: grayscale(0);
    }

    50% {
        filter: grayscale(1);
    }

    100% {
        filter: grayscale(0);
    }
}

/* Type - 3 */

.fzt-heading-container.type-3 .fzt-heading-title {
    color: var(--nexun-heading-color);
    display: flex;
    flex-wrap: wrap;
    font-family: var(--nexun-h2-font-family);
    font-size: 150px;
    font-weight: 600;
    gap: 40px;
    line-height: 0.75em;
    position: relative;
    text-transform: uppercase;
    width: 100%;
}

.fzt-heading-container.type-3 .fzt-heading-title .fzt-heading-text {
    align-items: center;
    display: inline-flex;
    position: relative;
}

.fzt-heading-container.type-3 .fzt-heading-title .fzt-heading-text > span {
    -webkit-animation: heading-text-animation 3s linear infinite running;
            animation: heading-text-animation 3s linear infinite running;
    border: 20px solid var(--nexun-secondary-color);
    border-radius: 100px;
    color: transparent;
    display: inline-flex;
    font-size: 0;
    height: 80px;
    margin: 0 15px 0 10px;
    position: relative;
    width: 135px;
}

.fzt-heading-container.type-3 .fzt-heading-title:hover .fzt-heading-text > span {
    animation-play-state: paused;
}

@-webkit-keyframes heading-text-animation {
    0%,
    100%{
            -webkit-transform: rotate(-20deg);
            transform: rotate(-20deg);
    }
    50%{
            -webkit-transform: rotate(20deg);
            transform: rotate(20deg);
    }
}

/* Responsive */

/* Laptop, 1281px and up */
@media (min-width: 1281px) and (max-width: 1440px) {

    .fzt-heading-container.type-2 .fzt-heading-title {
        font-size: 200px;
    }
    
}

/* Tablets - Landscape, 1025px and up */
@media (min-width: 1025px) and (max-width: 1280px) {
    
    .fzt-heading-container.type-2 .fzt-heading-title {
        font-size: 175px;
    }
}

/* Tablets - Portrait, 768px and up */
@media (min-width: 768px) and (max-width: 1024px) {
    
    .fzt-heading-container.type-2 .fzt-heading-title {
        font-size: 130px;
        gap: 30px;
    }

    .fzt-heading-container.type-3 .fzt-heading-title {
        font-size: 100px;
    }

    .fzt-heading-container.type-3 .fzt-heading-title .fzt-heading-text > span { 
        border-width: 15px;
        height: 60px;
        width: 115px;
    }
}

/* Mobile - Landscape, less than 767px */
@media (min-width: 576px) and (max-width: 767px) {

    .fzt-heading-container.type-2 .fzt-heading-title {
        font-size: 100px;
        gap: 30px;
    }

    .fzt-heading-container.type-3 .fzt-heading-title {
        font-size: 80px;
    }

    .fzt-heading-container.type-3 .fzt-heading-title .fzt-heading-text > span { 
        border-width: 15px;
        height: 60px;
        width: 95px;
    }
    
}

/* Mobile - Portrait, less than 575px */
@media (max-width: 575px) {

    .fzt-heading-container.type-2 .fzt-heading-title {
        font-size: 80px;
        gap: 25px;
    }

    .fzt-heading-container.type-3 .fzt-heading-title {
        font-size: 80px;
    }

    .fzt-heading-container.type-3 .fzt-heading-title .fzt-heading-text > span { 
        border-width: 15px;
        height: 60px;
        width: 95px;
    }
    
}

/* Small Mobile - Portrait, less than 479px */
@media (max-width: 479px) {

    .fzt-heading-container.type-2 .fzt-heading-title {
        font-size: 70px;
        gap: 25px;
    }

    .fzt-heading-container.type-3 .fzt-heading-title {
        font-size: 60px;
    }

    .fzt-heading-container.type-3 .fzt-heading-title .fzt-heading-text > span { 
        border-width: 10px;
        height: 45px;
        width: 65px;
    }
    
}