/*
 * Homepage-owned rules belong here. The first pass intentionally relies on
 * the unmodified C$ stylesheet while the visual baseline is being verified.
 */

.home-browse-see-all {
  flex: 0 0 100%;
}

.home-browse-see-all .hf-entity-badge {
  gap: 5px;
  width: fit-content;
}
/* Server-rendered intelligence panels retain the C$ card grid at every width. */
.hf-intel__cards[hidden] {
    display: none;
}

.hf-intel__empty {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--color-neutral-600);
}

.hf-card--pub .hf-entity-badge {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hf-card--pub .hf-card__dek {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
}

@media (max-width: 479px) {
    .hf-intel__cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .hf-card--pub,
    .hf-card--pub .hf-card__titlewrap,
    .hf-card--pub .hf-card__bottom {
        min-width: 0;
    }
}
