.story-card {
    border: 1px solid var(--stroke-color);
    border-radius: 16px;
    padding: 20px 16px;
    background: var(--secondary-bg-color);
}

.story-card__top {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 4px;
    color: var(--secondary-color);
}

.story-card__type {
    margin-right: 8px;
}

.story-card__label--hr {
    color: var(--dark-blue);
}

.story-card__label--termination {
    color: var(--dark-red);
}

.story-card__label--interview {
    color: var(--dark-green);
}

.story-card__label--employment {
    color: var(--dark-yellow);
}

.story-card__exp-type {

}

.story-card__company-logo {
    width: 32px;
    height: 32px;
    margin-left: auto;
}

.story-card__title {
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 18px;
    line-height: 133%;
    color: var(--dark-font-color);
}

.story-card__info {
    display: flex;
    align-items: center;
    gap: 1px 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    margin-bottom: 12px;
}

.story-card__info * {
    color: var(--secondary-color);
}

.story-card__info-item {

}

.story-card__rating {
    color: var(--primary-color);
}

.story-card__desc {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    margin-bottom: 12px;
    white-space: pre-wrap;
    max-height: 76px;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* количество строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--secondary-color);
}

.story-card__tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.story-card__tag {
    max-width: max-content;
    border: 1px solid var(--stroke-color);
    border-radius: 16px;
    padding: 4px 12px;
    background: var(--bg-color);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.story-card__tag-title {
    margin-right: 4px;
    color: var(--secondary-color);
}

.story-card__tag-value {
    color: var(--dark-font-color);
}

.story-card__hr {
    border-top: 1px solid var(--light-grey);
    margin-bottom: 16px;
    opacity: 1;
}

.story-card__bottom {
    display: flex;
    align-items: center;
}

.story-card__like-btn {
    padding: 8px;
    color: var(--light-font-color);
    font-weight: 500;
    font-size: 14px;
    line-height: 171%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.story-card__comment-btn {
    padding: 8px;
    color: var(--light-font-color);
    font-weight: 500;
    font-size: 14px;
    line-height: 171%;
    display: flex;
    align-items: center;
    gap: 4px;
}

.story-card__report-btn {
    padding: 8px 11px;
    color: var(--light-font-color);
    font-weight: 500;
    font-size: 14px;
    line-height: 171%;
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-card__btns-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.story-card__btn {
    font-weight: 500;
    font-size: 14px;
    line-height: 171%;
}

.story-card__like-btn--active {
    color: var(--primary-color);
}

.story-card__like-btn--active:hover {
    color: var(--primary-color);
}

.story-card__like-btn svg {
    fill: var(--light-font-color);
}

.story-card__like-btn--active svg {
    fill: var(--primary-color);
}

@media (max-width: 830px) {
    .story-card__columns {
        gap: 22px;
    }
}

@media (max-width: 740px) {
    .story-card__columns {
        flex-direction: column;
    }

    .story-card__column--right,
    .story-card__red-flags,
    .story-card__scores,
    .story-card__labels {
        margin-left: 0;
        max-width: 100%;
    }

    .story-card__column--right {
        gap: 16px;
    }

    .story-card__images-wrapper {
        display: flex;
        gap: 16px;
        flex-wrap: nowrap;

        max-width: 100%;
        overflow-y: scroll
    }

    .story-card__bottom {
        flex-wrap: wrap;
        gap: 8px 0;
    }

    .story-card__btns-wrapper {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .story-card__red-flags {
        font-size: 14px;
    }

    .story-card__labels {
        flex-direction: column;
        align-items: start;
    }

    .story-card__btns-wrapper {
        flex-wrap: wrap;
    }

    .story-card__top {
        justify-content: start;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .story-card__company-logo {
        margin-left: 0;
        order: -1;
    }

    .story-card__tag {
        flex-wrap: wrap;
        font-size: 14px;
    }

    .story-card__info {
        flex-wrap: wrap;
    }

    .story-card__bottom {
        justify-content: center;
    }

    .story-card__btns-wrapper {
        justify-content: center;
    }

    .story-card__report-btn {
        margin-left: auto;
    }
}