.tractor-main-features-block {
    /* grid con cuatro columnas en desktop, dos en tablet y una en mobile */
    display: grid;
    gap: 20px;
}

.tractor-main-features-block__feature
{
    aspect-ratio: 390/496;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 14px;
    position: relative;
}

h4.tractor-main-features-block__title
{
    font-weight: 600;
    font-size: 30px;
    line-height: 130%;
    letter-spacing: -2%;

    color: #FFFFFF;
    position: absolute;
    bottom: 30px;
    left: 30px;
}


.tractor-main-features-block__icon
{
    display: inline-flex;
    background-color: #FFFFFF;
    border-radius: 50%;
    padding: 18px;
    position: absolute;
    top: 25px;
    right: 15px;
}



@media only screen and (max-width : 600px) 
{
    .tractor-main-features-block {
        grid-template-columns: 1fr;
    }

}

@media only screen and (min-width : 601px) and (max-width : 1024px) 
{
    .tractor-main-features-block {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media only screen and (min-width : 1025px) and (max-width : 1380px) 
{
    .tractor-main-features-block {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media only screen and (min-width : 1381px) 
{
    .tractor-main-features-block {
        grid-template-columns: repeat(4, 1fr);
    }
}

.main-feature-modal .dialog__content
{
    display: flex;
    align-items: center;
}

.main-feature-modal .dialog__image
{
    aspect-ratio: 390/496;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 14px;
    position: relative;   
}

.main-feature-modal .dialog__title
{
    font-weight: 600;
    font-size: 30px;
    line-height: 130%;
    letter-spacing: -2%;
    color: #FFF;
}

.main-feature-modal .dialog__text
{
    font-weight: 400;
    font-size: 20px;
    line-height: 148%;
    letter-spacing: 0%;
    
}



@media only screen and (max-width : 600px) 
{
    /* Styles for mobile */

    .main-feature-modal .dialog__content {
        
        padding: 20px;
        flex-direction: column;
    }

    .dialog__content_image
    {
        width: 100%;
    }

    .dialog__content_text
    {    
        
        margin-bottom: 1rem;
    }

}

@media only screen and (min-width : 601px) and (max-width : 1024px) 
{
    /* Styles for tablet */
    .main-feature-modal .dialog__content {
        padding: 35px 40px;
        flex-direction: row;
    }

    .dialog__content_image {
        width: 45%;
    }

    .dialog__content_text {    
        padding-right: 2rem;
        padding-top: 0.5rem;
    }
}


@media only screen and (min-width : 1025px) and (max-width : 1380px) 
{
    /* Styles for small desktop */
    .main-feature-modal .dialog__content {
        padding: 40px 60px;
        flex-direction: row;
    }

    .dialog__content_image {
        width: 48%;
    }

    .dialog__content_text {    
        padding-right: 2.5rem;
        padding-top: 0.75rem;
    }
}


@media only screen and (min-width : 1381px) 
{
    .main-feature-modal .dialog__content
    {
        padding: 50px 85px;
    }

    .dialog__content_image
    {
        width: 50%;
    }

    .dialog__content_text
    {    
        padding-right: 3rem;
        padding-top: 1rem;
    }

}

