/* =====================================================================
   Service Detail
   Single-service page (pages/service-details.php), routed by ?slug=.
   Reuses the site's existing typography/spacing tokens and section
   patterns — this is not a separate mini-site.
   ===================================================================== */

.service-detail__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .service-detail__inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
    }
}

.service-detail__media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 320px;
}

.service-detail__image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.service-detail__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    height: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(160deg, var(--color-bg-light), var(--color-border));
}

.service-detail__placeholder-icon {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: var(--fw-bold);
    color: var(--color-accent);
}

.service-detail__description {
    font-size: var(--fs-body-lg);
    color: var(--color-text-grey);
    margin-block: var(--space-lg) var(--space-2xl);
}

.service-detail__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* ---- Not-found state ----------------------------------------------------- */

.service-detail--not-found .service-detail__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}
