// ============================================================
// Utilities — loaded last, so they can override what came before
// ============================================================

// No mode transitions (keep in step with the list in base/_base.scss)
@media (prefers-reduced-motion: reduce) {
  body, .author-box, .post-nav a, .min-nav a { transition: none; }

  .min-post,
  .min-preview,
  .min-more,
  .post-nav a,
  .post-tags a,
  .hero-tag,
  .min-nav .menu > li > ul,
  .submenu-toggle svg { transition: none; }
}

// Core's accessibility class — themes must style it
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;

  &:focus {
    clip-path: none;
    display: block;
    height: auto;
    width: auto;
    left: 12px;
    top: 12px;
    z-index: 100000;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--card-solid);
    color: var(--ink);
    box-shadow: var(--shadow-soft);
    font-size: 14px;
    text-decoration: none;
  }
}

// Pinned posts — the row label in the accent colour
.min-post.sticky .kind { color: var(--accent-deep); }
