/* ========= START Custom Parallax V4 (CTA rebuild) ========= */
#app #custom-parallax-v4-cta.cust-hero-section {
    position: relative;
    width: 100%;
    min-height: auto;
    display: flex !important;
    padding: unset !important;
    align-items: center;
    justify-content: center;
    color: var(--custom-cta-text-color, var(--primary-color-contrast));
    overflow: hidden;
    clip-path: inset(0);
}

#custom-parallax-v4-cta .cust-hero-bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

#custom-parallax-v4-cta .cust-hero-img,
#custom-parallax-v4-cta .cust-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#custom-parallax-v4-cta .cust-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(from var(--custom-cta-overlay-color, var(--primary-color)) r g b / var(--custom-cta-overlay-opacity, 0.85));
    z-index: 1;
}

#custom-parallax-v4-cta .cust-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

#custom-parallax-v4-cta .cust-hero-box {
    /*max-width: 900px;*/
    width: 100%;
    text-align: center;
    padding: 32px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 460px;

    &.bordered {
        border: 1px solid var(--custom-cta-border-color, var(--primary-color-contrast));
        border-radius: 8px;
    }
}

#custom-parallax-v4-cta .cust-hero-title {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 24px 0;
    text-wrap: balance;
    font-family: Roboto Slab;
}

#custom-parallax-v4-cta .cust-hero-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin: 0 0 24px 0;
}

#custom-parallax-v4-cta .cust-hero-divider {
    border: none;
    height: 2px;
    background: var(--custom-cta-divider-color, var(--primary-color-contrast));
    width: 80px;
    margin: 0 auto 32px auto;
}

#custom-parallax-v4-cta .cust-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    /*white-space: pre-wrap;*/
}

#custom-parallax-v4-cta .cust-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    width: 100%;

    & div {
        display: flex;
        gap: 24px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}

#custom-parallax-v4-cta .cust-hero-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;

    background-color: var(--custom-cta-btn-bg-color, var(--secondary-color));
    border: 2px solid var(--custom-cta-btn-border-color, var(--secondary-color));
    color: var(--custom-cta-btn-text-color, var(--secondary-color-contrast));

    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 200px;
    box-sizing: border-box;
    cursor: pointer;
    line-height: 1.2;

    a {
        color: inherit;
        text-decoration: none;
    }
}

#custom-parallax-v4-cta .cust-hero-btn:hover {
    background-color: var(--custom-cta-btn-hover, #aaa);
    border-color: var(--custom-cta-btn-hover, #aaa);
    color: var(--custom-cta-btn-hover-text, #000);
    transform: translateY(-2px);
}

/* Responsive */
@media only screen and (max-width: 768px) {
    #custom-parallax-v4-cta .cust-hero-actions>div {
        width: 100%;
        flex-direction: column;
    }

    #custom-parallax-v4-cta .cust-hero-actions div>div {
        width: 100%;
    }

    #custom-parallax-v4-cta .cust-hero-btn {
        width: 100%;
        display: flex;
        box-sizing: border-box;
    }
}

@media only screen and (min-width: 768px) {
    #custom-parallax-v4-cta .cust-hero-box {
        padding: 64px 48px;
        margin: 48px;
    }

    #custom-parallax-v4-cta .cust-hero-title {
        font-size: 52px;
    }

    #custom-parallax-v4-cta .cust-hero-desc {
        font-size: 18px;
    }

    #custom-parallax-v4-cta .cust-hero-actions {
        flex-direction: row;
        gap: 24px;
        flex-wrap: wrap;
    }
}

@media only screen and (min-width: 1200px) {
    #custom-parallax-v4-cta .cust-hero-title {
        font-size: 64px;
    }
}

/* ========= END Custom Parallax V4 (CTA rebuild) ========= */