.home-feed-preview {
    margin-bottom: 36px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
}

.home-feed-preview-main,
.home-feed-preview-useful {
    background: #fff;
    border: 1px solid #dfe7e2;
    border-radius: 14px;
}

.home-feed-preview-main {
    padding: 22px 24px 10px;
}

.home-feed-preview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 8px;
}

.home-feed-preview h2 {
    margin: 0;

    font-size: 21px;
    line-height: 1.2;
}

.home-feed-preview-head > a {
    color: #16a66a;

    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.home-feed-preview-item {
    min-height: 67px;

    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;

    border-top: 1px solid #edf2ef;

    text-decoration: none;
}

.home-feed-preview-type {
    width: fit-content;

    padding: 5px 8px;

    border-radius: 7px;

    background: #edf8f2;
    color: #158c5b;

    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-feed-preview-copy {
    min-width: 0;
}

.home-feed-preview-copy strong {
    overflow: hidden;

    display: block;

    color: #17211c;

    font-size: 14px;
    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-feed-preview-copy small {
    margin-top: 4px;

    display: block;

    overflow: hidden;

    color: #87938c;

    font-size: 10px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-feed-preview-item > span:last-child {
    color: #9ca7a1;
}

.home-feed-preview-item:hover strong {
    color: #138b5b;
}


/* Полезное */

.home-feed-preview-useful {
    padding: 22px 20px 10px;
}

.home-feed-preview-useful h2 {
    margin-bottom: 8px;
}

.home-feed-preview-useful > a {
    min-height: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #edf2ef;

    color: #17211c;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.home-feed-preview-useful > a span {
    color: #9ca7a1;
}

.home-feed-preview-useful > a:hover {
    color: #138b5b;
}


/* Адаптив */

@media (max-width: 850px) {
    .home-feed-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .home-feed-preview-main,
    .home-feed-preview-useful {
        padding-left: 16px;
        padding-right: 16px;
    }

    .home-feed-preview-item {
        grid-template-columns: 76px minmax(0, 1fr) 14px;
        gap: 9px;
    }

    .home-feed-preview-copy strong,
    .home-feed-preview-copy small {
        white-space: normal;
    }
}

/* Refine feed item typography */
.home-feed-preview-copy strong {
    font-weight: 600;
}

/* Useful link descriptions */
.home-feed-preview-useful > a {
    min-height: 60px;
}

.home-feed-preview-useful > a > span {
    min-width: 0;
}

.home-feed-preview-useful strong {
    display: block;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.home-feed-preview-useful small {
    margin-top: 4px;

    display: block;

    color: #8a9690;

    font-size: 10px;
    font-weight: 400;
    line-height: 1.25;
}

.home-feed-preview-useful b {
    flex: 0 0 auto;

    color: #9ca7a1;

    font-size: 13px;
    font-weight: 400;
}

/* Fix useful link text colors */
.home-feed-preview-useful > a > span > strong {
    color: #17211c;
}

.home-feed-preview-useful > a > span > small {
    color: #8a9690;
}

.home-feed-preview-useful > a:hover > span > strong {
    color: #138b5b;
}

/* Align useful rows with EV feed rows */
.home-feed-preview-useful > a {
    min-height: 67px;
}
