/*
 * Stand-in for pixelgrade/anima#625 (https://github.com/pixelgrade/anima/issues/625) (draft port/ISSUES/anima-post-nav-comment-form-roles.md, George 2026-09-27). Remove when the stack ships it.
 * Theme tokens only.
 */

/* Post navigation titles: heading-5 role at every width (theme: heading-3 x 0.85; Nova phone: --font-size 19).
   The "Previous/Next article" labels keep their button role. */
.post-navigation .nav-links .post-navigation__post-title {
	--font-size: var(--theme-heading-5-font-size);
	--font-size-modifier: 1;
	--current-font-family: var(--theme-heading-5-font-family);
	--current-font-weight: var(--theme-heading-5-font-weight);
	--current-font-style: var(--theme-heading-5-font-style);
	--current-line-height: var(--theme-heading-5-line-height);
	--current-letter-spacing: var(--theme-heading-5-letter-spacing);
	--current-text-transform: var(--theme-heading-5-text-transform);
	--current-color: var(--theme-heading-5-color);
}

/* Comment form title ("Leave a Reply"): heading-4 role (theme: heading-3). */
.comment-respond .comment-reply-title[class] {
	--font-size: var(--theme-heading-4-font-size);
	--current-font-family: var(--theme-heading-4-font-family);
	--current-font-style: var(--theme-heading-4-font-style);
	--current-font-weight: var(--theme-heading-4-font-weight);
	--current-line-height: var(--theme-heading-4-line-height);
	--current-letter-spacing: var(--theme-heading-4-letter-spacing);
	--current-text-transform: var(--theme-heading-4-text-transform);
	--current-color: var(--theme-heading-4-color);
}

/* "Logged in as …. Edit your profile. Log out?": the links follow the sentence (theme: heading-6 role, 0.6 opacity).
   Also undoes the H-S4 phone anchor the bridge sets on the same selector, so the links match the paragraph at 390. */
.comment-respond .logged-in-as a {
	--font-size: inherit;
	--font-size-modifier: inherit;
	--theme-font-size-minimum-value: inherit;
	--current-font-family: inherit;
	--current-font-weight: inherit;
	--current-font-style: inherit;
	--current-line-height: inherit;
	--current-letter-spacing: inherit;
	--current-text-transform: inherit;
	--current-color: inherit;
	opacity: 1;
	text-decoration-line: underline;
}
