/*
 * New-site additions for the main layout (not from the old site).
 * Some old `<a href="javascript:void(0)">` controls are real <button>s now
 * (accessibility). :where() keeps specificity at 0, so every rule of the old
 * CSS for these classes still wins; this only removes the browser's button look.
 */
:where(
  button.uh-feed-card-action,
  button.uh-challenge-card-add,
  button.uh-feed-card-speaker,
  button.uh-feed-card-action-more,
  button.uh-feed-more-popup-item,
  button#menuToggleBtn,
  button.uh-filter-btn,
  button.uh-segment
) {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}

.d-contents {
  display: contents;
}

/* Visible keyboard focus on the feed controls. */
.page-wrapper :is(a, button, input, img[tabindex]):focus-visible {
  outline: 2px solid #1895bb;
  outline-offset: 2px;
}
