/* Top sections navigation bar (Business / Services / Jobs / Used Market).
   Sits directly below the site header (logo + profile row). */

.ho-sections-nav {
    position: relative;
    z-index: 1010;
    background: linear-gradient(135deg, #16223c 0%, #1f2a44 55%, #27406b 100%);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.25);
}

.ho-sections-list {
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.ho-sections-list::-webkit-scrollbar {
    display: none;
}

.ho-section-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease,
        box-shadow 0.18s ease;
}

.ho-section-link i {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.ho-section-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

.ho-section-link:hover i {
    transform: scale(1.12);
}

.ho-section-link.active {
    color: #16223c;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.ho-section-link.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    transform: translateX(-50%);
    width: 22px;
    height: 3px;
    border-radius: 3px;
    background: #ffc233;
}

/* Distinct accent dot per section so each option feels ownable. */
.ho-section-link .ho-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.55;
}

/* Compact on small screens: slightly smaller pills, still scrollable. */
@media (max-width: 767.98px) {
    .ho-sections-nav {
        padding: 2px 0;
    }

    .ho-section-link {
        font-size: 13px;
        padding: 7px 14px;
        gap: 6px;
    }

    .ho-section-link i {
        font-size: 14px;
    }

    .ho-section-link.active::after {
        display: none;
    }
}

/* Listing cards shared by Services / Jobs / Used Market */

.ho-listing-card {
    height: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ho-listing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.ho-listing-card img {
    height: 190px;
    object-fit: cover;
}

.ho-listing-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

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

/* Small chips used on cards (job type, item condition, etc.) */

.ho-chip {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eef2f7;
    color: #343a40;
}
