/*------------- SPLIT TEXT - Fix -------------*/
/* p {
    display: flex;
    flex-wrap: wrap;
}

:is(h1, h2, h3, h4, h5, h6),
:is(
    .heading-style-h1, 
    .heading-style-h2, 
    .heading-style-h3, 
    .heading-style-h4, 
    .heading-style-h5, 
    .heading-style-h6
    ) {
        display: flex;
        flex-wrap: wrap;
}

html .line {
    display: inline-flex !important;
}

p .line {
    gap: .3rem;
}

:is(h1, h2, h3, h4, h5, h6) .line,
:is(
    .heading-style-h1, 
    .heading-style-h2, 
    .heading-style-h3, 
    .heading-style-h4, 
    .heading-style-h5, 
    .heading-style-h6
    ) .line {
        gap: .5rem;
} */


/*------------ TEXT REVEAL ------------*/
.text_reveal {
    position: absolute;
}

.h2_container.text_reveal,
.desc_container.text_reveal {
    overflow-y: hidden;
}

.h2_container.text_reveal .word,
.desc_container.text_reveal .line {
    /* display: none;
    visibility: hidden; */
    transform: translate(0, 100%);
    /* opacity: 0; */
}

.desc_container.text_reveal:not(:nth-child(1)) .line {
    opacity: 0;
}

.h2_container.text_reveal:nth-child(1) h2 .word,
.desc_container.text_reveal:nth-child(1) .line {
    /* opacity: 1; */
    position: relative;
    transform: translate(0px, 0%);
}

.h2_container.text_reveal.relative
/*.desc_container.text_reveal.relative p*/ {
    position: relative;
}

[data-slide-in="true"] .line {
    overflow-y: hidden;
}

.line {
    overflow-y: hidden;
    overflow-wrap: break-word; /* Allows text to wrap properly */
    word-break: break-word;    /* Prevents splitting words awkwardly */
    white-space: normal;       /* Ensures proper text flow */
    font-size: inherit;
}

.word {
    overflow-wrap: break-word; /* Allows text to wrap properly */
    word-break: break-word;    /* Prevents splitting words awkwardly */
    white-space: normal;       /* Ensures proper text flow */
    font-size: inherit;
}

.section_timeline .text-size-super-large {
    line-height: 125%;
}