

/*LAYOUT BASE STANDARD*/
.cta-container {
    width: 100vw;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}


.cta-inner-container {
    margin: 0px auto;
}

.cta-container p {
    text-align: center;
}

.cta-container .cta-link p:last-child {
    font-size: 1.25rem;
}


@media (min-width:1024px){
    .cta-container {
        padding: 2rem 0rem;
    }

    .cta-inner-container {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .cta-container p:last-child {
        font-size: 2.125rem;
        line-height: 3rem;  
    }
    
    .cta-description p {
        font-size: 2.375rem;
        line-height: 3rem;
        text-align: left;
        max-width: 60%;
    }

    .cta-link > div p:nth-child(1){
        font-size: 1.25rem;
        line-height: 2.5rem;
        font-weight: 700;
    }

    .cta-container .cta-link p:last-child,
    .cta-link > div p:nth-child(2){
        font-size: 1.875rem;
        line-height: 2.5rem;
        font-weight: 700;
    }

}


@media (min-width:1400px){
    .cta-container {
        padding: 4rem 0rem;
    }

    .cta-link > div p:nth-child(1){
        font-size: 1.5rem;
        line-height: 54px;
        font-weight: 700;
    }

    body .cta-container .cta-link p:nth-child(2),
    .cta-link > div p:nth-child(2){
        font-size: 2.4rem;
        line-height: 3rem;
        font-weight: 700;
    }
}


/*LAYOUT BASE AMBITA THEME*/
.cta-container {
    background-image: url(./../../images/bg-banner.jpg);
    color: #fff;
    padding: 0rem 1rem 2rem 1rem;
    background-size: cover;
    background-position: center;
    background-size: auto;
    margin-top: 6rem;
}

.cta-container p {
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.5625rem;
    margin: 0;
}

.cta-link {
    background-color: #53911F;
    padding: 1rem 1rem;
    position: relative;
    top: -2rem;
    max-width: 270px;
    margin: 0px auto;
    transition: 0.2s ease;
}

.cta-link:hover {
    background-color: #629c32;
}

.cta-link:after,
.cta-link div {
    transition: 0.2s;
}

.cta-link:hover:after,
.cta-link:hover div {
    opacity: 0.8;
}

.cta-link >div:not(.link) {
    pointer-events: none;
}

.cta-link .link {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cta-link .link a{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    font-size: 0px;
}

.cta-link:after {
    content: "";
    background-image: url(./../../images/icon-arrow-link-w.svg);
    position: relative;
    width: 40px;
    height: 39px;
    display: block;
    background-size: contain;
    left: 50%;
    pointer-events: none;
    transform: translateX(-50%);
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 1rem;
}

@media (min-width:1024px){

    .cta-container {
        padding: 4rem 1rem 4rem 1rem;
    }

    .cta-description {
        width: 100%;
    }

    .cta-link {
        position: absolute;
        height: calc(100% + 60px);
        top: -60px;
        padding: 0 45px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: none;
        align-items: center;
        aspect-ratio: 1;
    }

    .cta-link:after {
        left: auto;
        transform: none;
    }
}


@media (min-width:1400px){
    .cta-container {
        padding: 3rem 1rem 3rem 1rem;
        min-height: 330px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .front-page .cta-container {
        margin-bottom: 0rem;
    }
    .front-page .cta-container::before {
        content: '';
        display: block;
        position: absolute;
        top: -6rem;
        left: 0;
        width: 100%;
        height: 8rem;
        background-color: #EDEDED;
    }
}