.boxes {
    padding-top: 2.2em;
}

.boxes .wrap {
    max-width: calc(1440px + 10em);
    padding: 0 5em;
}

.boxes .inner-box {
    padding: 2.5em 0 3.5em 0;
    border-radius: var(--round-default);
}

.boxes .intro {
    margin-top: 0.82em;
    color: var(--text-green);
    font-size: 1.15em;
    font-weight: var(--font-medium);
}

.boxes .articles {
    margin-top: 2.2em;
    gap: 1.6%;
}

.boxes article {
    border-radius: 0.875em;
    overflow: hidden;
}

.boxes article .content {
    padding: 2.2em 2.5em 2.5em 2.5em;
}

.boxes article .content:has(> .description-holder:only-child) {
    justify-content: flex-end;
}

.boxes article .description-holder {
    padding-right: 2.8em;
}

.boxes article .title {
    font-family: var(--font-gilroy);
    font-size: 1.7em;
}

.boxes article .description {
    font-size: 1.1em;
    line-height: 1.5;
}

.boxes .outro {
    margin-top: 1.9em;
}

.page-template-template-about-page .boxes .articles {
    margin-top: 1.1em;
}

.page-template-template-products-page .boxes {
    padding: 1.2em 0 5.8em 0;
}

.page-template-template-products-page .boxes .articles {
    margin-top: 1.1em;
}

body.page-template-template-about-page .boxes .inner-box {
    background: #F6F6F6;
}

body.page-template-template-products-page .boxes .inner-box {
    background: #F6F6F6;
}

@media all and (max-width: 1400px) {
    .boxes .intro {
        font-size: 1.05em;
    }
    .boxes article .content {
        padding: 1.75em;
    }
    .boxes article .description {
        font-size: 1em;
    }
}

@media all and (max-width: 1100px) {
    .boxes article .content {
        padding: 1.2em;
    }
    .boxes article .description {
        font-size: 0.9em;
    }
}

@media all and (max-width: 1000px) {
    
    .boxes .wrap {
        max-width: calc(1440px + 5em);
        padding: 0 25px;
    }
    .boxes .articles {
        flex-direction: column;
    }
    .boxes article {
        max-width: max-content;
        margin: 0 auto 2em auto;
    }
    .boxes article:last-child {
        margin-bottom: 0;
    }
    .boxes .inner-box {
        padding-top: 2.2em;
        padding-bottom: 2.6em;
    }
    .home .boxes {
        padding-bottom: 2.2em;
    }
    .page-template-template-products-page .boxes {
        padding-bottom: 2.6em;
    }
}

@media all and (max-width: 500px) {
    .boxes .articles {
        margin-top: 2em;
    }
    .boxes article {
        margin: 0 auto 1em auto;
    }
    .boxes .intro {
        font-size: 0.95em;
    }
}

@media all and (max-width: 400px) {
    .boxes .intro {
        font-size: 0.9em;
    }
}
