/* WordPress-only compatibility styles. The copied production stylesheet stays unchanged. */
.blog-pagination .page-numbers.current {
  border: 1px solid var(--surface-strong);
  background: var(--surface-strong);
  color: #ffffff;
}

.article-body .alignwide,
.article-body .alignfull {
  max-width: 100%;
  margin-inline: 0;
}

.article-body img,
.reference-case-page .wp-block-image img,
.reference-case-page .wp-block-gallery img {
  height: auto;
}

.km-empty-state {
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--copy-strong);
  text-align: center;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed;
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #ffffff;
  color: #111111;
}

body.admin-bar .site-header {
  top: 32px;
}

body.admin-bar:not(.is-scrolled) .site-header {
  --desktop-subnav-top: calc(32px + 28px + clamp(74px, 8.6vw, 104px) + var(--desktop-subnav-gap));
}

body.admin-bar.is-scrolled .site-header {
  --desktop-subnav-top: calc(32px + 14px + 52px + 14px + var(--desktop-subnav-gap));
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}
