.home-articles h2 {
    text-align: center;
    margin-bottom: 40px !important;
}


.home-articles .articles {
	display: grid;
	grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr) auto; /* первые 3 строки равны, последняя — по содержимому */
	gap: 10px 15px;
	align-items: stretch;
}

.home-articles .articles > div:nth-child(1) {
	grid-column: 1; /* первая колонка */
	grid-row: 1 / span 4; /* на высоту 4 строк */
}

.home-articles .articles > div:nth-child(2) {
	grid-column: 2;
	grid-row: 1;
}
.home-articles .articles > div:nth-child(3) {
	grid-column: 2;
	grid-row: 2;
}
.home-articles .articles > div:nth-child(4) {
	grid-column: 2;
	grid-row: 3;
}
.home-articles .articles > div:nth-child(5) {
	grid-column: 2;
	grid-row: 4;
}

.home-articles .articles > div:first-child.item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.home-articles .articles > div:first-child.item .photo {
    z-index: -1;
    line-height: 0;
    position: absolute;
    height: 100%;
    width: 100%;
}

.home-articles .articles > div:first-child.item:before {
    display: block;
    content: '';
    background: linear-gradient(180deg, rgba(4, 48, 99, 0) 0%, #043063 100%);
    width: 100%;
    height: 100%;
    position: absolute;
}


.home-articles .articles > div:first-child.item .title,
.home-articles .articles > div:first-child.item .bottom {
    padding: 20px;
    z-index: 5;
}

.home-articles .articles > div:first-child.item .title {
    padding-bottom: 2px;
    color: var(--color-white);
}

.home-articles .articles > div:first-child.item .photo img {
    height: 100%;
    width: 100%;
}

.home-articles .articles > div:not(:first-child).item {
	display: grid;
	grid-template-columns: auto 1fr; /* две равные колонки */
	gap: 15px;
	align-items: stretch;
}

.home-articles .articles > div:not(:first-child).item .photo {
    width: 215px;
	grid-column: 1;
	grid-row: 1 / 3; /* занимает 2 строки */
	height: 100%;
}

.home-articles .articles > div:not(:first-child).item .title {
    flex-grow: 1;
	grid-column: 2;
	grid-row: 1;
	align-self: start;
    font-size: 25px;
}

.home-articles .articles > div:not(:first-child).item .bottom {
    flex-grow: 1;
	grid-column: 2;
	grid-row: 2;
	align-self: end;
}

.home-articles .articles > div:not(:first-child).item .photo img {
	width: 215px;
    /* height: 100%; */
    height: 140px;
	object-fit: cover;
	display: block;
}


@media (max-width: 767px) {
    .home-articles .articles {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .home-articles .articles > div.item:before {
        content: unset !important;
    }

    .home-articles .articles > div.item {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .home-articles .articles > div.item > div {
        padding: 0 !important;
    }

    .home-articles .articles > div.item .title {
        font-size: 25px !important;
        color: var(--color-blue) !important;
    }

    .home-articles .articles > div.item .photo {
        position: relative !important;
        width: 100% !important;
    }

    .home-articles .articles > div.item .photo img {
        width: 100% !important;
        height: auto !important;
    }

    .home-articles .articles > div.item .bottom {
        display: flex !important;
        align-self: start !important;
    }

    .home-articles .articles > div.more {
        display: flex;
        justify-content: center;
    }
}