/*
 * Theme overrides that sit on top of the compiled Tailwind bundle
 * (assets/css/app.css). Keep this file small, everything here is a
 * deliberate deviation from the upstream Vite build.
 *
 * Tailwind v4's preflight dropped the default `cursor: pointer` on
 * <button> elements (and historically never set it on bare <a>). The
 * Vite React app worked around this by making every clickable a <div>
 * or <Link> with the `cursor-pointer` utility class. We emit real
 * <a>/<button> tags from PHP, so we restore the "finger cursor on
 * anything that behaves like a link" default site-wide.
 */

a[href],
button:not(:disabled),
[role="button"]:not([aria-disabled="true"]) {
  cursor: pointer;
}

/*
 * KB article body inherits the "prose" look from the original Vite
 * screen: teal callouts, lucide-style lightbulb, centered screenshots
 * with italic captions. The Gutenberg output already carries
 * .kb-callout / .wp-block-image classes we seeded, so these rules
 * just shape them.
 */
.kb-article-body p {
  color: #475569;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.kb-article-body h2 {
  font-weight: 800;
  color: #1a1a2e;
  font-size: 24px;
  margin: 2.5rem 0 1rem;
}

.kb-article-body h3 {
  font-weight: 800;
  color: #1a1a2e;
  font-size: 18px;
  margin: 1.5rem 0 0.75rem;
}

.kb-article-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1rem;
  list-style: disc;
}

.kb-article-body li {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.kb-article-body figure.wp-block-image {
  margin: 2rem 0;
  text-align: center;
}

.kb-article-body figure.wp-block-image img {
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  max-width: 100%;
  height: auto;
}

.kb-article-body figure.wp-block-image figcaption {
  font-size: 12px;
  color: #94a3b8;
  font-style: italic;
  margin-top: 0.75rem;
}
