/* WordPress keeps its front-end toolbar fixed above 600px. */
@media (min-width: 601px) {
  html:has(body.admin-bar) {
    --tq-admin-bar-height: 32px;
    --tq-anchor-offset: 92px;
    scroll-padding-top: calc(var(--tq-anchor-offset) + var(--tq-admin-bar-height));
  }

  .admin-bar .site-header {
    top: var(--tq-admin-bar-height, 32px);
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  html:has(body.admin-bar) {
    --tq-anchor-offset: 72px;
  }

  .admin-bar .global-nav {
    max-height: calc(100vh - 60px - var(--tq-admin-bar-height, 32px));
    max-height: calc(100dvh - 60px - var(--tq-admin-bar-height, 32px));
  }
}

@media (min-width: 601px) and (max-width: 782px) {
  html:has(body.admin-bar) {
    --tq-admin-bar-height: 46px;
  }
}

.article-art-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.entry-pagination li > .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding-inline: 0.5rem;
  border: 1px solid var(--line);
}

.entry-pagination .page-numbers.current {
  color: #fff;
  background: var(--blue);
}
