/* Панель демонстрації. Не входить до майбутнього сайту. */
.demo {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  color: #1d1b19;
  font: 500 12.5px/1 'Onest', 'Segoe UI', sans-serif;
  box-shadow: 0 6px 24px rgba(20, 15, 10, .22), 0 0 0 1px rgba(20, 15, 10, .08);
  white-space: nowrap;
}
.demo__tag { padding: 0 8px 0 10px; color: #6d675f; }
.demo a, .demo button {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.demo a:hover, .demo button:hover { background: #efece7; }
.demo a[aria-current="page"], .demo button[aria-pressed="true"] { background: #1d1b19; color: #fff; }
.demo button[aria-pressed="true"] { background: #2271b1; }
.demo :focus-visible { outline: 2px solid #2271b1; outline-offset: 1px; }
.menu-open .demo { display: none; }
@media (max-width: 340px) {
  .demo__tag { display: none; }
}

/* Режим WP-блоків: підписує кожну секцію реальним блоком WordPress */
.wp-tag { display: none; }
.wp-on [data-wp] { outline: 1px dashed #2271b1; outline-offset: -1px; }
.wp-on .wp-tag {
  display: block;
  position: absolute;
  z-index: 40;
  top: 0;
  left: 0;
  max-width: 100%;
  padding: 4px 8px;
  background: #2271b1;
  color: #fff;
  font: 500 11px/1.3 ui-monospace, 'SF Mono', Menlo, monospace;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  white-space: normal;
}
.wp-on .site-header > .wp-tag, .wp-on .pills > .wp-tag { top: 100%; }
