/* Geriatri Site frontend design tokens — v1.1.0.55.
   Order: WordPress theme.json Global Styles (also user-edited in Site Editor),
   DSG custom properties, finally independent plugin defaults. Compatible with any theme.
   Deliberately no unscoped element selectors and no global palette overrides. */
:root {
  --gsp-color-primary:var(--wp--preset--color--primary,var(--dsg-navy,#0a66c2));
  --gsp-color-primary-hover:color-mix(in srgb,var(--gsp-color-primary) 75%,#000);
  --gsp-color-heading:var(--wp--preset--color--primary-dark,var(--dsg-dark,var(--gsp-color-text)));
  --gsp-color-accent:var(--wp--preset--color--accent,var(--dsg-accent,var(--gsp-color-primary)));
  --gsp-color-text:var(--wp--preset--color--text,var(--dsg-text,#263748));
  --gsp-color-muted:var(--wp--preset--color--muted,var(--dsg-muted,#64748b));
  --gsp-color-surface:var(--wp--preset--color--white,#ffffff);
  --gsp-color-soft:var(--wp--preset--color--surface,var(--dsg-soft,#f3f6fa));
  --gsp-color-border:var(--dsg-border,#dce4ec);
  --gsp-card-radius:var(--dsg-card-radius,13px);
  --gsp-control-radius:var(--dsg-radius,8px);
  --gsp-card-shadow:var(--dsg-card-shadow,0 3px 14px rgb(23 68 113 / 6%));
  --gsp-focus-color:var(--gsp-color-accent);
}
/* Honor the parent theme's real font stack, including custom block themes. */
:where(.gsp-member-home,.gsp-member-box,.gsp-user-panel-sections,.gsp-user-panel,.gsp-events,.gsp-events-manager,.gsp-groups,.gsp-profile,.gsp-public-departments,.gsp-upcoming-events) {
  font-family:inherit;
  max-width:100%;min-width:0;
}
:where(.gsp-member-home,.gsp-member-box,.gsp-user-panel-sections,.gsp-events,.gsp-groups) :is(button,input,select,textarea) {
  font-family:inherit;
}
/* Contrast and keyboard focus remain visible independently of the theme's border radius. */
:where(.gsp-member-home,.gsp-member-box,.gsp-user-panel-sections,.gsp-events,.gsp-groups) :is(a,button,input,select,textarea):focus-visible {
  outline:2px solid var(--gsp-focus-color);
  outline-offset:2px;
}
