/* Shared public portfolio typography. */
:root {
  --mkm-serif: 'Caudex', Georgia, serif;
  --mkm-sans: 'Inter', system-ui, sans-serif;
  --mkm-code: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html, body {
  font-family: var(--mkm-sans);
  font-size: 15px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

:where(em, i, cite, dfn, address) {
  font-style: normal;
}

:where(pre, code, kbd, samp) {
  font-family: var(--mkm-code);
}

body :is(h1, h2, h3, h4, .sh-title, .module-heading) {
  font-family: var(--mkm-serif) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

body :is(h1, .sh-title) {
  font-size: 28px !important;
  line-height: 1.15;
}

body :is(h2, h3, h4, .module-heading) {
  font-size: 18px !important;
}

body :is(button, input, textarea, select, [role="button"]) {
  font-family: var(--mkm-sans) !important;
  font-variant-numeric: inherit;
}

body :is(input:not([type="button"], [type="submit"], [type="reset"]), textarea, select) {
  font-size: 15px !important;
}

body :is(button, input[type="button"], input[type="submit"], input[type="reset"], [role="button"], a.btn, a.sh-btn) {
  font-size: 13.5px !important;
  font-weight: 500 !important;
}

body :is(button, a, [role="button"]):is(.btn-sm, .btn-small, .small-btn, [data-size="small"]) {
  font-size: 13px !important;
}

:is(button, a, [role="button"]) svg:is(.lucide, [fill="none"][stroke="currentColor"]) {
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:is(nav, [role="tablist"]) :is(button, a, [role="tab"]) svg:is(.lucide, [fill="none"][stroke="currentColor"]) {
  stroke-width: 1.8;
}

.mkm-topbar-inner > :is(nav, .header-actions) {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}
