 
/*hide After Content*/
.guide-wrapper + div {
    display: none;
}

.guide-cell {
    padding: 1rem 1rem 4rem 1rem;
    /* width: calc(100% - 2rem); */
    margin-bottom: 0rem;
}

.guide-cell h4 {
    font-size: 1.5rem;
}

.guide-cell:last-child {
    padding: 4rem 1rem 6rem 1rem;
}


@media (max-width: 1024px) {

.guide-wrapper >div > div:last-child .guide-cell {
    padding: 3rem 1rem 3rem 1rem;
}
}

.guide-cell:first-child {
    height: auto;
    position: relative;
}

.guide-cell:first-child::after {
    content: '';
    display: block;
    position: absolute;
    width: 3.125rem;
    height: 1.5rem;
    bottom: -1.125rem;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.guide-wrapper h4,
.guide-cell h3 {
    font-weight: 600;
}

.bg-primary-light.guide-cell:first-child::after {
    background-color: #64A04D;
}

.bg-white.guide-cell:first-child::after {
    background-color: #fff;
}

.guide-cell > img {
    margin-top: -4rem;
    max-width: calc(100% - 2rem);
}

.guide-cell > *:not(a):not(img) {
    margin: 1rem 0 0 0;
}

.guide-cell > a {
    margin: 2rem 0 0 0;
}


@media (min-width: 768px) {
    .guide-cell {
        padding: 3rem 1rem 4rem 1rem;
    }
    .guide-cell:first-child {
        height: 460px;
    }
}

@media (min-width: 1024px) {
    .guide-cell {
        position: relative;
        padding: 4rem;
    }
    
    .guide-wrapper > div > div:last-child > .guide-cell:last-child:before {
        content: "";
        width: 2px;
        height: 80%;
        background-color: #71A95C;
        top: 0;
        left: 0;
        display: block;
        position: absolute;
    }

    .guide-cell:first-child {
        height: auto;
        min-height: 430px;
    }

    .guide-cell img {
        margin-top: -8rem;
        max-width: calc(100% - 8rem);
    }

    .guide-cell:first-child::after {
        width: 6rem;
    }

    .guide-cell:last-child a{
        margin-top: 40px;
        margin-bottom: 0;
    }

    .guide-wrapper {
        position: relative;
    }

    .guide-wrapper:after {
        content: "";
        position: absolute;
        display: none;
        width: 840px;
        height: 470px;
        top: 0;
        right: 0;
        background-image: url(./../../images/filigrana-wave-3.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .guide-cell h3 {
        font-size: 2.625rem;
    }

    .guide-cell p {
        font-size: 1rem;
    }

    .guide-cell:first-child::after {
        width: 5.125rem;
        height: 2.5rem;
        bottom: -2.125rem;
    }
    
}


@media (min-width: 1200px) {

    .guide-wrapper::before {
        content: "";
        position: absolute;
        bottom: -50px;
        width: 100%;
        height: 180px;
        background-image: url(./../../images/filigrana-wave-4.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        z-index: 0;
    }

    #block-ambita-guidaamianto {
        margin-bottom: 8rem;
    }

    .guide-cell:last-child,
    .guide-cell:first-child {
        height: 470px;
    }

    .guide-cell:last-child {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 6rem 0px 5rem 0px;
    }

    .guide-cell:last-child a{
        margin-top: auto;
        margin-bottom: 0;
    }
}

@media (min-width: 1400px) {
    .guide-cell:last-child,
    .guide-cell:first-child {
        height: 540px;
    }

    .guide-wrapper > div > div:last-child > .guide-cell:last-child:before {
        height: 90%;
    }

    .guide-wrapper h4 {
        line-height: 3.125rem;
        font-size: 2.625rem;
    }
}

.text-primary-light {
    color: #64A04D;
}

.bg-primary-light {
    background-color: #64A04D;
}

.btn-primary-light {
    background-color: #64A04D !important;
}

.btn-white {
    color: var(--bs-secondary) !important;
    background-color: white !important;
}
