

/* Start:/bitrix/templates/aspro-digital/components/bitrix/news/hubs/bitrix/news.list/.default/style.css?17531259391037*/
.hub-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.hub-card {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.hub-card__link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.hub-card__img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.hub-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hub-card__title {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
}

.hub-card__desc {
    font-size: 14px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* ограничение до 3 строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}
/* End */
/* /bitrix/templates/aspro-digital/components/bitrix/news/hubs/bitrix/news.list/.default/style.css?17531259391037 */
