/* WordPress-specific additions. The design itself lives in tailwind.min.css and main.css. */

/* Sticky header sits below the admin bar when logged in. */
body.admin-bar .top-navigation { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .top-navigation { top: 46px; }
}

/* Accessibility helpers (core class names). */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus,
.skip-link:focus {
  background: #18181b;
  border-radius: 0.5rem;
  clip: auto !important;
  clip-path: none;
  color: #fbbf24;
  display: block;
  font-size: 0.875rem;
  height: auto;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  top: 1rem;
  width: auto;
  z-index: 100000;
}

/* Text pages (Terms template, posts): the typography the original "prose" classes asked for. */
.pe-prose > * + * { margin-top: 1rem; }
.pe-prose h2,
.pe-prose h3 {
  color: #fff;
  font-family: var(--font-heading, Outfit, ui-sans-serif, system-ui, sans-serif);
  font-weight: 600;
  margin-top: 2.5rem;
}
.pe-prose > :first-child { margin-top: 0; }
.pe-prose h2 { font-size: 1.25rem; line-height: 1.75rem; }
.pe-prose h3 { font-size: 1.125rem; line-height: 1.75rem; }
@media (min-width: 640px) {
  .pe-prose h2 { font-size: 1.5rem; line-height: 2rem; }
}
.pe-prose p,
.pe-prose li { color: var(--color-zinc-400, #9f9fa9); line-height: 1.75rem; }
.pe-prose ul { list-style: disc; padding-left: 1.5rem; }
.pe-prose ol { list-style: decimal; padding-left: 1.5rem; }
.pe-prose li + li { margin-top: 0.5rem; }
.pe-prose li::marker { color: var(--color-amber-400, #fbbf24); }
.pe-prose strong { color: var(--color-zinc-200, #e4e4e7); }
.pe-prose a {
  color: var(--color-amber-400, #fbbf24);
  text-decoration: underline;
  text-decoration-color: rgb(251 191 36 / 0.4);
  text-underline-offset: 4px;
}
.pe-prose a:hover { color: var(--color-amber-300, #fcd34d); }
.pe-prose img { height: auto; max-width: 100%; }

/* Scroll fade-in: the script (site.js) adds these utility classes to .reveal elements, but they were never in the Tailwind build. */
.reveal.opacity-0 { opacity: 0; }
.reveal.translate-y-6 { transform: translateY(1.5rem); }
.reveal.transition {
  transition-property: color, background-color, border-color, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.reveal.duration-700 { transition-duration: 700ms; }
.reveal.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
@media (prefers-reduced-motion: reduce) {
  .reveal.opacity-0 { opacity: 1; }
  .reveal.translate-y-6 { transform: none; }
  .reveal.transition { transition: none; }
}
