/* Company Hubs — directorio sector → industria → fichas (server-rendered). */

.bfhub-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.bfhub-intro {
    color: var(--bf-gray-600, #555);
    max-width: 72ch;
}

.bfhub-crumbs {
    font-size: 0.875rem;
    color: var(--bf-gray-500, #777);
    margin-bottom: var(--bf-space-3, 1rem);
}

.bfhub-crumbs a {
    color: var(--bf-primary, #0a6ebd);
    text-decoration: none;
}

.bfhub-crumbs a:hover {
    text-decoration: underline;
}

.bfhub-sector {
    margin-bottom: var(--bf-space-4, 1.5rem);
}

.bfhub-sector h2,
.bfhub-wrap h2 {
    font-size: 1.25rem;
    margin: var(--bf-space-4, 1.5rem) 0 var(--bf-space-2, 0.5rem);
}

.bfhub-sector h2 a {
    color: inherit;
    text-decoration: none;
}

.bfhub-sector h2 a:hover {
    color: var(--bf-primary, #0a6ebd);
}

.bfhub-count {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--bf-gray-500, #777);
    white-space: nowrap;
}

.bfhub-inds {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 3 240px;
    column-gap: var(--bf-space-4, 1.5rem);
}

.bfhub-inds li {
    break-inside: avoid;
    padding: 2px 0;
    font-size: 0.9375rem;
}

.bfhub-inds a {
    color: var(--bf-primary, #0a6ebd);
    text-decoration: none;
}

.bfhub-inds a:hover {
    text-decoration: underline;
}

.bfhub-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
    margin: var(--bf-space-3, 1rem) 0;
}

.bfhub-table th,
.bfhub-table td {
    text-align: left;
    padding: 6px 10px;
    border-bottom: 1px solid var(--bf-gray-200, #e5e5e5);
}

.bfhub-table th {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--bf-gray-500, #777);
}

.bfhub-table a {
    color: var(--bf-primary, #0a6ebd);
    text-decoration: none;
}

.bfhub-table a:hover {
    text-decoration: underline;
}

.bfhub-rank {
    color: var(--bf-gray-500, #777);
    width: 3ch;
}

.bfhub-pager {
    display: flex;
    align-items: center;
    gap: var(--bf-space-3, 1rem);
    margin: var(--bf-space-4, 1.5rem) 0;
    font-size: 0.9375rem;
}

.bfhub-pager a {
    color: var(--bf-primary, #0a6ebd);
    text-decoration: none;
    font-weight: 600;
}

.bfhub-pager a:hover {
    text-decoration: underline;
}

.bfhub-pager span {
    color: var(--bf-gray-500, #777);
}

.bfhub-error {
    padding: var(--bf-space-3, 1rem);
    border: 1px solid var(--bf-gray-200, #e5e5e5);
    border-radius: var(--bf-radius, 6px);
    color: var(--bf-gray-600, #555);
}

@media (max-width: 600px) {
    .bfhub-table .bfhub-rank,
    .bfhub-table th:nth-child(5),
    .bfhub-table td:nth-child(5) {
        display: none;
    }
}
