/* ==========================================================================
   Service hub pages — /service/repair, /quick-service, /upgrades, /installs,
   /ekko-revel-storyteller, /vw-id-buzz (includes/service-hub.php, TSK8642).

   Built on page-sections.css (.pg-section / .pg-head / .pg-prose / .pg-card /
   .pg-grid); this file adds only the hub's own pieces: the job section's
   prose-and-photo row, the priced item list, the fix / don't-fix pair and the
   related links. Separation is elevation (.pg-card), never a new dark.
   ========================================================================== */

.svc-hub__actions {
    margin-top: 1.25rem;
}

/* ---- A job: prose beside one shop photo ------------------------------- */
.svc-hub__job-body {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
}

.svc-hub__job-body--text {
    grid-template-columns: minmax(0, 1fr);
}

.svc-hub__figure {
    margin: 0;
    border-radius: var(--theme-radius-md, 1rem);
    overflow: hidden;
    background: var(--tv-plate, rgba(255, 255, 255, 0.03));
    aspect-ratio: 3 / 2;
}

.svc-hub__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svc-hub__more {
    font-size: 0.95rem;
}

/* ---- Priced items: a card per catalog item, linking to its page ------- */
.svc-hub__items {
    list-style: none;
    margin: clamp(1.25rem, 2.5vw, 2rem) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 0.85rem;
}

.svc-hub__item {
    padding: 0;
}

.svc-hub__item-link {
    display: grid;
    gap: 0.35rem;
    height: 100%;
    padding: 1rem 1.1rem;
    color: inherit;
    text-decoration: none;
}

.svc-hub__item-name {
    font-weight: 600;
    line-height: 1.3;
}

.svc-hub__item-vans {
    font-size: 0.85rem;
    opacity: 0.7;
}

.svc-hub__item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.85rem;
    align-items: baseline;
}

.svc-hub__item-price {
    font-weight: 600;
}

.svc-hub__item-time {
    font-size: 0.85rem;
    opacity: 0.7;
}

.svc-hub__item-cta {
    align-self: end;
    font-size: 0.9rem;
    color: var(--tv-cta-red-border-hover, rgb(212, 40, 40));
}

.svc-hub__note {
    margin: 0.85rem 0 0;
    font-size: 0.9rem;
    opacity: 0.75;
}

/* ---- We fix / we don't ------------------------------------------------ */
.svc-hub__scope {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.svc-hub__list {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.4rem;
}

.svc-hub__list--no li::marker {
    content: "✕  ";
}

/* ---- More from the service center ------------------------------------- */
.svc-hub__related {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
}

@media (max-width: 860px) {
    .svc-hub__job-body {
        grid-template-columns: minmax(0, 1fr);
    }
}
