/* TokHQ blog pack styles — uses theme.json palette tokens */
/* Author chip for Post Author block */
.wp-block-post-author__name::before { content: "✍️ "; }

article {
  color: var(--wp--preset--color--tokhq-text, #e6e9f2) !important;
}
/* Heading anchor link */
a.tokhq-anchor-link {
  text-decoration: none;
  margin-left: .5rem;
  opacity: .6;
}
a.tokhq-anchor-link::after { content: "¶"; font-size: .9em; }
a.tokhq-anchor-link:hover, a.tokhq-anchor-link:focus { opacity: 1; }

/* CTA block */
.tokhq-cta {
  background: var(--wp--preset--color--tokhq-accent, #6D28D9);
  color: var(--wp--preset--color--tokhq-text, #e6e9f2);
  border-radius: var(--wp--custom--radius--xl2, 1rem);
  padding: 1rem 1.25rem;
  margin: 2rem 0;
}
.tokhq-cta__title { font-size: 1.125rem; margin: 0 0 .5rem; text-align: center; }
.tokhq-cta__btn {
  background: var(--wp--preset--color--tokhq-bg, #0b0f1a);
  color: var(--wp--preset--color--tokhq-text, #e6e9f2);
  border-radius: 999px;
  padding: .75rem 1.25rem;
}

/* Callout base */
.is-style-policy-alert,
.is-style-pro-tip {
  background: var(--wp--preset--color--tokhq-surface, #121829);
  border: 1px solid var(--wp--preset--color--tokhq-border, #1f2a44);
  border-radius: var(--wp--custom--radius--xl2, 1rem);
  padding: 1rem 1.25rem;
}

/* Policy Alert — amber tint */
.is-style-policy-alert {
  background: rgba(var(--wp--custom--rgb--warn, 234,179,8), .10);
  border-color: rgba(var(--wp--custom--rgb--warn, 234,179,8), .35);
  box-shadow: 0 0 0 1px rgba(var(--wp--custom--rgb--warn, 234,179,8), .08) inset;
}
.is-style-policy-alert .tokhq-badge {
  background: rgba(var(--wp--custom--rgb--warn, 234,179,8), .95);
  color: #1a1a1a;
  border-radius: 999px;
  padding: .2rem .6rem;
  font-weight: 600;
  margin-left: .5rem;
  display: inline-block;
}

/* Pro Tip — primary blue tint */
.is-style-pro-tip {
  background: rgba(var(--wp--custom--rgb--primary, 59,130,246), .12);
  border-color: rgba(var(--wp--custom--rgb--primary, 59,130,246), .35);
}
.is-style-pro-tip .tokhq-badge {
  background: rgba(var(--wp--custom--rgb--primary, 59,130,246), .22);
  color: var(--wp--preset--color--tokhq-text, #e6e9f2);
  border-radius: 999px;
  padding: .2rem .6rem;
  font-weight: 600;
  margin-left: .5rem;
  display: inline-block;
}

/* Code copy button */
.tokhq-code-wrap { position: relative; }
.tokhq-copy-btn {
  position: absolute; top: .5rem; right: .5rem;
  padding: .25rem .5rem; border-radius: 6px;
  border: 1px solid var(--wp--preset--color--tokhq-border, #1f2a44);
  background: var(--wp--preset--color--tokhq-bg, #0b0f1a);
  color: var(--wp--preset--color--tokhq-text, #e6e9f2);
  font-size: .8rem;
}

.tokhq-faq summary::marker {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: start !important;
}
