/* ==========================================================================
   Theme-only glue for what the design system has no part for: the skip link,
   post content written in the editor, blog paging and the booking fallback.
   Tokens only. Logical properties only. Not copied by design:sync.
   ========================================================================== */

.sh-skip {
  position: fixed;
  z-index: calc(var(--sh-z-sheet) + 1);
  inset-block-start: var(--space-2);
  inset-inline-start: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pop);
  font-weight: 600;
  transform: translateY(-200%);
}
.sh-skip:focus-visible { transform: none; outline: 2px solid var(--focus); outline-offset: 2px; }

.sh-theme-notice { margin-block: calc(var(--sh-cap-space, 76px) + var(--space-4)) 0; }

/* Post content from the editor reads like the approved article sections. */
.sh-wp-content { display: grid; gap: var(--space-4); }
.sh-wp-content > * { margin: 0; }
.sh-wp-content p,
.sh-wp-content li { font-size: 18px; line-height: 30px; color: var(--ink-muted); text-wrap: pretty; }
.sh-wp-content h2 { font-size: 26px; line-height: 36px; font-weight: 700; margin-block-start: var(--space-6); text-wrap: balance; }
.sh-wp-content h3 { font-size: 20px; line-height: 30px; font-weight: 600; margin-block-start: var(--space-4); }
.sh-wp-content ul { list-style: disc; padding-inline-start: var(--space-6); }
.sh-wp-content ol { list-style: decimal; padding-inline-start: var(--space-6); }
.sh-wp-content a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sh-wp-content img { block-size: auto; border-radius: var(--radius-lg); }
.sh-wp-content blockquote { padding-inline-start: var(--space-4); border-inline-start: 3px solid var(--line-strong); }
@media (min-width: 900px) { .sh-wp-content h2 { font-size: 32px; line-height: 44px; } }

.sh-article__art img { inline-size: 100%; block-size: 100%; object-fit: cover; border-radius: var(--radius-md); }
.sh-post__art img { inline-size: 100%; block-size: 100%; object-fit: cover; border-radius: var(--radius-sm); }

.sh-paging { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-8); }
.sh-paging .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 44px;
  min-block-size: 44px;
  padding-inline: var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600;
}
.sh-paging .page-numbers.current { background: var(--accent); color: var(--on-accent); box-shadow: none; }

/* Booking without JavaScript or without the clinic plugin: a human is one tap away. */
.sh-book-fallback {
  display: grid;
  gap: var(--space-4);
  max-inline-size: 560px;
  margin-inline: auto;
  padding: var(--space-12) var(--sh-gutter);
}
.sh-book-fallback__acts { display: flex; flex-wrap: wrap; gap: var(--space-3); }
