.company-filter-list:last-child {
    margin-bottom: 0 !important;
}

.company-filter-label {
    flex: 0 0 auto;
}

.company-intro {
    max-width: 46rem;
    line-height: 1.65;
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .company-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

.company-card {
    display: flex;
    gap: 0.75rem;
    min-width: 0;
    position: relative;
    padding: 0.75rem;
    font-size: 0.92rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    background: var(--bs-body-bg, #fff);
}

.company-card-thumb {
    flex: 0 0 auto;
}

.company-card-thumb .company-thumb {
    width: 80px;
    height: 80px;
}

.company-card-body {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 1.75rem;
}

.company-card > .company-fav {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 2;
}

.company-fav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem;
    border: 0;
    background: none;
    color: #6c757d;
    font-size: 1.15rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}

a.company-fav:hover,
.company-fav-toggle:hover,
.company-fav-toggle:focus-visible {
    color: #f0ad4e;
}

.company-fav-toggle.is-on {
    color: #f0ad4e;
}

.company-view .company-fav {
    flex: 0 0 auto;
    font-size: 1.4rem;
    margin-top: 0.2rem;
}

.company-card-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.45rem;
    font-size: 1.05rem;
    line-height: 1;
}

.company-card-icon {
    display: inline-flex;
    color: #6c757d;
    cursor: default;
}

.company-card-icon-whatsapp {
    color: #25d366;
}

.company-card-icon-linkedin {
    color: #0a66c2;
}

.company-name {
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-name a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 1.5rem;
    margin-top: 2px;
    font-size: 0.82rem;
    line-height: 1.2;
}

.company-rating {
    display: flex;
    align-items: center;
    color: #3c4043;
}

.company-li-stats {
    color: #6c757d;
}

.company-rating-score {
    font-weight: 500;
    color: #6c757d;
}

.company-stars {
    position: relative;
    display: inline-block;
    margin: 0 4px;
    font-size: 0.88rem;
    letter-spacing: 1px;
    line-height: 1;
}

.company-stars-bg {
    color: #dadce0;
}

.company-stars-fg {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #fbbc04;
}

.company-rating-count {
    color: #6c757d;
}

.company-country {
    margin-top: 2px;
    font-size: 0.82rem;
    color: #6c757d;
}

.company-type-link {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.company-type-link:hover {
    color: var(--bs-link-color);
}

.company-whatsapp {
    color: #25d366;
}

.company-thumb {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    background: #eee;
}

.company-thumb-empty {
    border: 1px solid #e5e5e5;
}

.company-thumb-zoom {
    cursor: pointer;
}

.company-thumb-overlay {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    cursor: zoom-out;
}

.company-thumb-overlay.is-open {
    display: flex;
}

.company-thumb-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    cursor: default;
}

body.company-thumb-lock {
    overflow: hidden;
}

.company-view-thumb {
    display: block;
    width: 160px;
    height: 160px;
    min-width: 160px;
    min-height: 160px;
    flex: 0 0 160px;
    box-sizing: border-box;
}

.company-view-facts li {
    margin-bottom: 0.35rem;
}
