.text-container {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.text-container.compact {
    -webkit-line-clamp: 1;
}

.text-container.large {
    -webkit-line-clamp: 3;
}
