/* Page CSS for layouts/hub.njk — lifted out of the layout so it is
   cached instead of re-sent inside every HTML response. */
/* Equal-height cards within a section: force uniform rows once cards sit side by
       side (grid is 1-col below 720px). .card already has height:100%. */
    @media (min-width: 720px) { .section .grid { grid-auto-rows: 1fr; } }
  
/* The service-group nav. Was split by a `services_nav.jump` template conditional, but
   the two branches only differed in rules for `aria-current` and the back crumb —
   neither of which exists on the two jump pages (/services/, /ru/services/), so the
   conditional guarded nothing. One unconditional set now. */
.services-nav a[aria-current]{background:var(--khonsu-midnight);color:#fff;border-color:var(--khonsu-midnight)}
.services-nav a[aria-current]:hover{background:var(--khonsu-midnight);color:#fff;border-color:var(--khonsu-midnight)}
.services-nav a.services-nav__back{background:none;border:0;padding-left:0;color:var(--ink-mute)}
.services-nav a.services-nav__back::before{content:"\2190";margin-right:.4em}
.services-nav a.services-nav__back:hover{background:none;color:var(--accent-strong)}
@media(max-width:560px){
  .services-nav{display:grid;grid-template-columns:1fr 1fr;gap:var(--s-3)}
  .services-nav a{text-align:center}
  .services-nav a.services-nav__back{grid-column:1 / -1;text-align:left}
}
