/* HeatSig theme: what WordPress adds on top of the mockup CSS (not ported, hand-written). */

/* Logged-in admin bar: keep the fixed header below it */
.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* Posts written in the block editor */
.post-body blockquote > p {
  margin: 0;
}
.post-body figure {
  margin: 0;
}
.post-body img,
.hs-card__img img {
  height: auto;
}

/* What marketing can add in the block editor (2026-10-28): links, lists, captions, tables,
   separators, buttons and video embeds, all kept inside the 760px reading column */
.post-body a:not(.wp-block-button__link) {
  color: var(--ember);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.post-body a:not(.wp-block-button__link):hover {
  color: var(--ember-dark);
}
.post-body ul,
.post-body ol {
  padding-left: 1.3em;
}
.post-body li + li {
  margin-top: 0.45em;
}
.post-body li::marker {
  color: var(--ember);
}
.post-body img {
  max-width: 100%;
}
.post-body .alignwide,
.post-body .alignfull {
  width: auto;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.post-body figcaption,
.post-body .wp-element-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
}
.post-body .wp-block-table {
  overflow-x: auto;
}
.post-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.post-body th,
.post-body td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.post-body th {
  color: var(--ink);
  font-weight: 600;
}
.post-body hr {
  margin: 2.4em 0;
  border: 0;
  height: 1px;
  background: radial-gradient(circle, var(--line) 0.75px, transparent 1px) 0 0 / 6px 1px repeat-x;
}
.post-body .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.post-body .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--ember);
  color: var(--paper);
  font: 600 12px/1 var(--font-sans, "Montserrat", sans-serif);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.post-body .wp-block-button__link:hover {
  background: var(--ember-dark);
}
.post-body .wp-block-embed__wrapper iframe,
.post-body iframe[src*="youtube"],
.post-body iframe[src*="vimeo"] {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* Forms: the honeypot field people never see (port-mockup.py adds it), and the busy button */
.hs-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
form [type="submit"][aria-busy="true"] {
  opacity: 0.6;
  cursor: progress;
}

/* Blog with no other posts yet */
.blog-grid .blog-empty:only-child {
  grid-column: 1 / -1;
}

/* Legal pages (2026-10-28): "To confirm" notes stay highlighted until someone answers them */
.post-body mark {
  padding: 0 4px;
  background: #fff1b8;
  color: var(--ink);
}
