@font-face {
  font-family: "Ro Sans";
  src: url("Ro_Sans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Ro Sans";
  src: url("Ro_Sans-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* Keep existing title styles and icon fonts. */
:is(html, #kx-site-font) :is(body, #kx-site-font) :not(:where(
  h1, h2, h3, h4, h5, h6, [role="heading"], svg, i:empty, [aria-hidden="true"]:empty,
  h1 *, h2 *, h3 *, h4 *, h5 *, h6 *, [role="heading"] *, svg *
)) {
  font-family: "Ro Sans", Arial, sans-serif !important;
}
/* Use Ro Sans for top-level, dropdown, and mobile navigation labels. */
:is(html, #kx-site-font) :is(body, #kx-site-font) :is(nav, [role="navigation"])
  :is(a:not(.logo-wrap), button:not(.kx-hamburger), summary),
:is(html, #kx-site-font) :is(body, #kx-site-font) :is(nav, [role="navigation"])
  :is(a:not(.logo-wrap), button:not(.kx-hamburger), summary) :is(span, strong, em):not(svg *) {
  font-family: "Ro Sans", Arial, sans-serif !important;
}

/* Balanced card grids: avoid a single orphan card on its own row */
@media (min-width:701px){
  div[style*="auto-fit"]:has(> :nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  div[style*="auto-fit"]:has(> :nth-child(7):last-child){grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (min-width:701px){ .kx-grid:has(> :nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr))!important} }
