.inner-page #content.services-hub { width: 100%; max-width: none; padding: 136px 0 0; }
.hub-inner { width: min(var(--layout-width), calc(100% - var(--page-gutter) * 2)); margin-inline: auto; }
.hub-intro { margin-bottom: 40px; }
.hub-back { display: inline-block; margin-bottom: 24px; font-size: 14px; color: #555; }
.hub-back:hover { color: var(--red); }
.hub-intro h1 { font-size: clamp(32px, 3.4vw, 48px); }
.hub-intro > p { max-width: 720px; margin-top: 24px; font-size: var(--type-lead); line-height: 1.65; color: #555; }
.hub-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #d7d7d7; }
.hub-filters { margin-bottom: 24px; scroll-margin-top: 100px; }
.hub-filter-label { font-size: 13px; font-weight: 700; color: #555; margin-bottom: 12px; }
.hub-filters ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hub-filters li { max-width: 100%; }
.hub-filters a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 16px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; line-height: 1.4; background: #fff; color: #333; overflow-wrap: anywhere; }
.hub-filters a > span { font-size: 12px; opacity: .75; }
.hub-filters a:hover { border-color: #aa1c2e; color: #aa1c2e; }
.hub-filters a[aria-current] { background: var(--red); border-color: var(--red); color: #fff; }
.hub-filters a:focus-visible, .hub-empty a:focus-visible { outline: 3px solid #1769aa; outline-offset: 3px; }
.hub-result-count { margin: 0 0 16px; font-size: 14px; color: #555; }
.hub-empty { padding: 32px 0; line-height: 1.7; }
.hub-empty a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.hub-list > li { border-bottom: 1px solid #d7d7d7; }
.hub-service { position: relative; isolation: isolate; display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 22px 12px 22px 0; color: inherit; text-decoration: none; }
/* Paint into both gutters without widening the row or creating horizontal scrolling. */
.hub-service::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: #fafafa; box-shadow: 0 0 0 100vmax #fafafa; clip-path: inset(0 -100vmax); opacity: 0; transition: opacity .2s; }
.hub-service:hover::before, .hub-service:focus-visible::before { opacity: 1; }
.hub-photo { width: 160px; height: 110px; object-fit: cover; object-position: center; border-radius: 4px; }
.hub-copy h2 { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
.hub-copy p { max-width: 660px; margin: 10px 0 0; color: #555; font-size: 15px; line-height: 1.6; }
.hub-action { position: relative; display: block; width: 46px; height: 45px; transition: transform .15s; }
.hub-action > img { width: 46px; height: 45px; }
.hub-action .arrow { position: absolute; width: 23px; height: 23px; top: 11px; left: 12px; }
.hub-service:focus-visible, .hub-back:focus-visible { outline: 3px solid #1769aa; outline-offset: 4px; }
.hub-service-no-image .hub-copy { grid-column: 1 / 3; }
.services-hub .service-project .button { margin-top: 0; }
@media (max-width: 700px) {
    .inner-page #content.services-hub { padding: 108px 0 0; }
    .hub-intro { margin-bottom: 28px; }
    .hub-back { margin-bottom: 18px; }
    .hub-service { grid-template-columns: 72px minmax(0, 1fr) 36px; gap: 12px; padding: 20px 0; align-items: start; }
    .hub-photo { width: 72px; height: 72px; }
    .hub-copy { display: contents; }
    .hub-copy h2 { align-self: center; }
    .hub-copy p { grid-column: 1 / -1; grid-row: 2; font-size: 14px; margin: 0; }
    .hub-service-no-image .hub-copy h2 { grid-column: 1 / 3; }
    .hub-action { grid-column: 3; grid-row: 1; align-self: center; width: 36px; height: 35px; }
    .hub-action > img { width: 36px; height: 35px; }
    .hub-action .arrow { width: 18px; height: 18px; top: 8.5px; left: 9px; }
}
@media (max-width: 380px) {
    .hub-service { grid-template-columns: 64px minmax(0, 1fr) 36px; gap: 12px; }
    .hub-photo { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) { .hub-service::before, .hub-action { transition: none; } }

