@font-face {
  font-family: 'Roboto Flex';
  src: url('assets/RobotoFlex.ttf') format('truetype');
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

/* Keep the original button font and the natural casing of each label. */
button, input[type="button"], input[type="submit"], input[type="reset"],
[role="button"], .donate, .read-link, .social-button, .source-card a,
.site-nav a, .pay, .error-home, .support, .primary, .switch a {
  font-family: 'Roboto Flex', sans-serif;
  text-transform: none;
}

/* Quiet navigation and secondary actions. */
.site-nav { gap: 6px 24px; font-weight: 500; }
.site-nav a {
  padding: 6px 0;
  border: 0;
  font-weight: 500;
  color: var(--muted, #626262);
}
.site-nav a:hover,
.site-nav a[aria-current="page"],
.site-nav a[aria-current="page"]:hover {
  background: transparent;
  border-color: transparent;
  color: var(--text, #181818);
  text-decoration: underline;
  text-underline-offset: .3em;
}
.donate, .social-button, .source-card a, .read-link,
.story-update .read-link, .pay, .error-home, .support, .primary {
  font-weight: 550;
  background: transparent;
  color: var(--text, #181818);
  border: 1px solid var(--rule, #d4d4d4);
  box-shadow: none;
}
.donate, .source-card a, .story-update .read-link,
.error-home, .support, .primary { padding: 10px 16px; }
.read-link { border: 0; }
.social-button { min-height: 48px; padding: 12px 16px; }
.donate:hover, .social-button:hover, .source-card a:hover,
.story-update .read-link:hover, .pay:hover, .error-home:hover,
.support:hover, .primary:hover {
  background: #f3f3f3;
  color: var(--text, #181818);
  border-color: #b8b8b8;
  transform: none;
}
.tabs button { font-weight: 550; }
.tabs button[aria-selected="true"] { background: #ededed; color: #181818; }
@media (max-width: 600px) {
  .site-nav { gap: 4px 20px; }
  .site-nav a { flex: 0 1 auto; }
  .site-header .donate { width: auto; }
}

/* Responsive publication mark. */
.brand-picture { display: block; }
.brand-picture img { display: block; width: 100%; height: auto; filter: none; }
@media (max-width: 600px) {
  .site-header .brand { width: 56px; flex: 0 0 56px; }
}
