.content-boxes .content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.content-boxes .boxes-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.content-boxes .box-single {
    width: calc(25% - 24px);
    border: 1px solid var(--Input, #979797);
    background: #FFF;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #717182;
    transition: border .3s ease;
}

.content-boxes--cols-3 .box-single {
    width: calc(33.333% - 21.34px);
}

.content-boxes a.box-single:hover {
    border-color: var(--brick);
}

.content-boxes .box-single .details {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    color: #1d1d1d;
    font-weight: 700;
    font-family: 'Playfair Display';
    transition: color .3s ease;
}

.content-boxes a.box-single:hover .details {
    color: var(--brick);
}

.content-boxes a.box-single:hover .details svg path {
    stroke: var(--brick);
}

.content-boxes .box-single strong {
    text-transform: uppercase;
    font-weight: inherit;
}

/* Długie słowa (np. "RESTRUKTURYZACJA") w wąskiej (25%) kolumnie - zamiast
   ucinania w dowolnym miejscu literowym, dzielimy je po polsku sylabami
   (hyphens: auto - działa dzięki lang="pl" na <html>). overflow-wrap jest
   tylko awaryjnym fallbackiem, gdyby przeglądarka nie wspierała hyphens. */
.content-boxes .box-single h3 {
    overflow-wrap: break-word;
    hyphens: auto;
}

@media(min-width:1200px) {
    .content-boxes .box-single h3 {
        font-size: 26px;
    }

    .content-boxes--small-title .box-single h3 {
        font-size: 22px;
    }
}

@media (max-width:1199px) {
    .content-boxes .boxes-wrapper {
        gap: 24px;
    }

    .content-boxes .box-single {
        width: calc(50% - 12px);
    }
}

@media (max-width:679px) {
    .content-boxes .box-single {
        width: 100%;
    }
}