/*
Theme Name: Top Creators
Theme URI: https://topcreators.org
Description: Reading-first child theme for topcreators.org. Long-form reference layout: floating table of contents, section navigation, review dates surfaced, tables that survive small screens. Literata for text, Fira Sans for interface.
Author: Top Creators
Template: twentytwentyfive
Version: 1.0.4
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: topcreators
*/

/* ==================================================================
   1. Tokens
   ================================================================== */

:root {
	--tc-paper:      #fbfaf8;
	--tc-surface:    #ffffff;
	--tc-ink:        #1a1a1a;
	--tc-ink-soft:   #55534f;
	--tc-ink-faint:  #8a8782;
	--tc-rule:       #e2ddd6;
	--tc-rule-soft:  #efebe5;
	--tc-accent:     #b4530a;
	--tc-accent-2:   #1d6a4f;
	--tc-accent-bg:  #fdf4ea;
	--tc-shadow:     rgba(26, 26, 26, .07);

	--tc-measure:    40rem;
	--tc-rail:       13rem;
	--tc-rail-gap:   2.75rem;
	--tc-header-h:   3.5rem;
}

@media (prefers-color-scheme: dark) {
	:root {
		--tc-paper:      #14161a;
		--tc-surface:    #1b1e23;
		--tc-ink:        #e8e6e3;
		--tc-ink-soft:   #a8a5a0;
		--tc-ink-faint:  #77746f;
		--tc-rule:       #2c3037;
		--tc-rule-soft:  #232730;
		--tc-accent:     #f0a55c;
		--tc-accent-2:   #5fc79e;
		--tc-accent-bg:  #241c14;
		--tc-shadow:     rgba(0, 0, 0, .4);
	}

	/* Re-point the block system's palette so every core block follows. */
	:root {
		--wp--preset--color--base:      #14161a;
		--wp--preset--color--surface:   #1b1e23;
		--wp--preset--color--contrast:  #e8e6e3;
		--wp--preset--color--ink-soft:  #a8a5a0;
		--wp--preset--color--ink-faint: #77746f;
		--wp--preset--color--rule:      #2c3037;
		--wp--preset--color--accent:    #f0a55c;
		--wp--preset--color--accent-2:  #5fc79e;
	}
}

html { color-scheme: light dark; }

body {
	background: var(--tc-paper);
	color: var(--tc-ink);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection { background: var(--tc-accent-bg); color: var(--tc-ink); }

:where(a):focus-visible,
:where(button):focus-visible,
:where(summary):focus-visible,
:where([tabindex]):focus-visible {
	outline: 2px solid var(--tc-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ==================================================================
   2. Reading column
   ================================================================== */

.wp-site-blocks > main { padding-block: 0; }

/* Title, crumbs, meta and body all share one measure so they align. */
.wp-block-post-title,
.tc-crumbs,
.tc-meta,
.tc-layout {
	max-width: var(--tc-measure);
	margin-inline: auto;
}

/* With the rail showing, the reading column sits at the left of a wider
   container so that text + rail together are optically centred, rather than
   the text being centred and the rail hanging off one side. */
@media (min-width: 1280px) {
	body:has(.tc-layout.has-toc) .wp-block-post-title,
	body:has(.tc-layout.has-toc) .tc-crumbs,
	body:has(.tc-layout.has-toc) .tc-meta,
	.tc-layout.has-toc {
		/* Offset so that column + gap + rail is centred as one block. The
		   parent is full-width, so the offset is computed from it. WordPress's
		   constrained-layout support sets auto margins with !important, so the
		   override has to match. */
		margin-left: max(0px, calc((100% - var(--tc-measure) - var(--tc-rail-gap) - var(--tc-rail)) / 2)) !important;
		margin-right: auto !important;
	}
}

.wp-block-post-title {
	margin-block: 0 .75rem;
	text-wrap: balance;
}

.tc-layout { position: relative; }

.tc-body > *:first-child { margin-top: 0; }

/* Body rhythm */
.tc-body p { margin-block: 0 1.15em; }
.tc-body p:last-child { margin-bottom: 0; }

.tc-body h2 {
	margin-block: 2.6em 0.7em;
	padding-top: .9em;
	border-top: 1px solid var(--tc-rule);
	text-wrap: balance;
}
.tc-body h2:first-child { margin-top: 1.4em; }

.tc-body h3 {
	margin-block: 2em 0.55em;
	text-wrap: balance;
}

.tc-body ul,
.tc-body ol { margin-block: 0 1.3em; padding-left: 1.35em; }
.tc-body li { margin-bottom: .5em; }
.tc-body li > ul,
.tc-body li > ol { margin-top: .5em; }
.tc-body ol { list-style: decimal; }
.tc-body ol li::marker { font-family: var(--wp--preset--font-family--sans); color: var(--tc-ink-faint); }

.tc-body strong { font-weight: 700; }

/* Heading anchors — quiet until hovered */
.tc-anchor {
	margin-left: .4em;
	font-family: var(--wp--preset--font-family--sans);
	font-size: .7em;
	color: var(--tc-ink-faint);
	text-decoration: none;
	opacity: 0;
	transition: opacity .15s;
}
h2:hover > .tc-anchor,
h3:hover > .tc-anchor,
.tc-anchor:focus-visible { opacity: 1; }

/* Anchor jumps shouldn't hide under the sticky header */
:target { scroll-margin-top: calc(var(--tc-header-h) + 1.5rem); }
.tc-body h2,
.tc-body h3 { scroll-margin-top: calc(var(--tc-header-h) + 1.5rem); }

/* ==================================================================
   3. Site header
   ================================================================== */

.wp-block-template-part:has(> header),
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 40;
}

.wp-site-blocks > header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--tc-paper) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--tc-rule);
}

.wp-site-blocks > header > .wp-block-group { padding-block: .7rem !important; }

.wp-block-site-title a { text-decoration: none; color: var(--tc-ink); }
.wp-block-site-title a:hover { color: var(--tc-accent); }

.wp-block-navigation {
	font-family: var(--wp--preset--font-family--sans);
	font-size: .9375rem;
}
.wp-block-navigation .wp-block-navigation-item__content {
	text-decoration: none;
	color: var(--tc-ink-soft);
	padding-block: .25rem;
	border-bottom: 2px solid transparent;
}
.wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--tc-ink);
	border-bottom-color: var(--tc-accent);
}
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation [aria-current="page"] {
	color: var(--tc-ink);
	border-bottom-color: var(--tc-accent);
}

/* ==================================================================
   4. Breadcrumbs and the meta strip
   ================================================================== */

.tc-crumbs {
	font-family: var(--wp--preset--font-family--sans);
	font-size: .8125rem;
	color: var(--tc-ink-faint);
	padding-top: 2.5rem;
	margin-bottom: .9rem;
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	align-items: baseline;
}
.tc-crumbs a { color: var(--tc-ink-soft); text-decoration: none; }
.tc-crumbs a:hover { color: var(--tc-accent); text-decoration: underline; }
.tc-crumbs__sep { color: var(--tc-rule); }

/* Crumbs carry the top spacing; a page without them gives it to the title. */
.tc-crumbs { padding-top: 2.25rem; margin-bottom: 1.1rem; }
.wp-block-post-title { padding-top: 0; }
body:not(:has(.tc-crumbs)) .wp-block-post-title { padding-top: 2.25rem; }
@media (max-width: 600px) {
	.tc-crumbs { padding-top: 1.5rem; margin-bottom: .8rem; }
	body:not(:has(.tc-crumbs)) .wp-block-post-title { padding-top: 1.5rem; }
}

.tc-meta {
	font-family: var(--wp--preset--font-family--sans);
	font-size: .8125rem;
	color: var(--tc-ink-faint);
	display: flex;
	flex-wrap: wrap;
	gap: .3rem 1.1rem;
	padding-bottom: .9rem;
	margin-top: .6rem;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--tc-rule);
}
.tc-meta__k {
	text-transform: uppercase;
	letter-spacing: .07em;
	font-size: .6875rem;
	color: var(--tc-ink-faint);
	margin-right: .1rem;
}
.tc-meta__item { white-space: nowrap; }

/* ==================================================================
   5. Table of contents
   ================================================================== */

.tc-toc {
	font-family: var(--wp--preset--font-family--sans);
	font-size: .875rem;
	line-height: 1.45;
}
.tc-toc__h {
	font-size: .6875rem !important;
	text-transform: uppercase;
	letter-spacing: .09em;
	color: var(--tc-ink-faint);
	margin: 0 0 .7rem;
	padding: 0;
	border: 0;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}
.tc-toc__h::-webkit-details-marker { display: none; }
.tc-toc[open] > .tc-toc__h { margin-bottom: .7rem; }
.tc-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: toc;
}
.tc-toc__list li {
	margin: 0;
	padding: 0;
	counter-increment: toc;
}
.tc-toc__list a {
	display: block;
	padding: .3rem 0 .3rem .95rem;
	color: var(--tc-ink-soft);
	text-decoration: none;
	border-left: 2px solid var(--tc-rule);
	position: relative;
}
.tc-toc__list a::before {
	content: counter(toc);
	position: absolute;
	left: -1.55rem;
	width: 1.2rem;
	text-align: right;
	font-size: .6875rem;
	color: var(--tc-ink-faint);
	top: .45rem;
}
.tc-toc__list a:hover {
	color: var(--tc-ink);
	border-left-color: var(--tc-accent);
	background: color-mix(in srgb, var(--tc-accent-bg) 60%, transparent);
}
.tc-toc__list a.is-active {
	color: var(--tc-ink);
	border-left-color: var(--tc-accent);
}

/* Wide screens: float it in the right margin, sticky. */
@media (min-width: 1280px) {
	.tc-toc__h { cursor: default; pointer-events: none; }
	.tc-layout.has-toc .tc-rail {
		position: absolute;
		top: 0;
		left: calc(100% + var(--tc-rail-gap));
		width: var(--tc-rail);
		height: 100%;
	}
	.tc-layout.has-toc .tc-toc {
		position: sticky;
		top: calc(var(--tc-header-h) + 1.75rem);
		max-height: calc(100vh - var(--tc-header-h) - 4rem);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding-left: 1.6rem;
	}
}

/* Narrow: a collapsed panel above the text. */
@media (max-width: 1279px) {
	.tc-rail { margin-bottom: 1.75rem; }
	.tc-toc {
		border: 1px solid var(--tc-rule);
		border-radius: 6px;
		padding: .85rem 1.1rem;
		background: var(--tc-surface);
	}
	.tc-toc__h::after {
		content: "  \203A";
		display: inline-block;
		transform: rotate(90deg);
		transition: transform .15s;
		font-size: 1.1em;
	}
	.tc-toc:not([open]) > .tc-toc__h { margin-bottom: 0; }
	.tc-toc:not([open]) > .tc-toc__h::after { transform: rotate(0deg); }
	.tc-toc__list { columns: 2; column-gap: 1.75rem; }
	.tc-toc__list a { padding-left: .75rem; }
	.tc-toc__list a::before { display: none; }
}
@media (max-width: 600px) {
	.tc-toc__list { columns: 1; }
}

/* ==================================================================
   6. Tables
   ================================================================== */

.tc-tablewrap {
	margin-block: 1.75rem 2rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	/* fade hint at the right edge while there's more to scroll */
	background:
		linear-gradient(to right, var(--tc-paper) 30%, transparent),
		linear-gradient(to left, var(--tc-paper) 30%, transparent) 100% 0,
		linear-gradient(to right, var(--tc-shadow), transparent 12px),
		linear-gradient(to left, var(--tc-shadow), transparent 12px) 100% 0;
	background-repeat: no-repeat;
	background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
	background-attachment: local, local, scroll, scroll;
}

.tc-body table {
	width: 100%;
	min-width: 30rem;
	border-collapse: collapse;
	font-family: var(--wp--preset--font-family--sans);
	font-size: .9rem;
	line-height: 1.45;
}
.tc-body table th,
.tc-body table td {
	text-align: left;
	vertical-align: top;
	padding: .6rem .85rem .6rem 0;
	border-bottom: 1px solid var(--tc-rule-soft);
}
.tc-body table th {
	font-weight: 500;
	color: var(--tc-ink);
	border-bottom: 1px solid var(--tc-ink-faint);
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .045em;
	white-space: nowrap;
}
.tc-body table tbody tr:last-child td { border-bottom: 1px solid var(--tc-rule); }
.tc-body table tbody tr:hover td { background: color-mix(in srgb, var(--tc-accent-bg) 45%, transparent); }
.tc-body table td:first-child { font-weight: 500; color: var(--tc-ink); }
.tc-body table a { text-decoration-thickness: 1px; }

/* Definition-style tables (the About page's registration details) */
.tc-body table:not(:has(thead)) td:first-child {
	color: var(--tc-ink-faint);
	font-weight: 500;
	white-space: nowrap;
	width: 12rem;
	text-transform: uppercase;
	font-size: .75rem;
	letter-spacing: .05em;
	padding-top: .75rem;
}

/* ==================================================================
   7. Quotes, sources, figures, code
   ================================================================== */

/* The verbatim email and rate-card templates. Should read as a document. */
.tc-body blockquote {
	margin: 1.9rem 0;
	padding: 1.15rem 1.35rem;
	background: var(--tc-surface);
	border: 1px solid var(--tc-rule);
	border-left: 3px solid var(--tc-accent);
	border-radius: 3px;
	font-size: .95rem;
	line-height: 1.62;
	box-shadow: 0 1px 2px var(--tc-shadow);
}
.tc-body blockquote p { margin-bottom: .75em; }
.tc-body blockquote p:last-child { margin-bottom: 0; }
.tc-body blockquote strong { font-weight: 700; }

/* Provenance lines */
.tc-body .tc-src {
	font-family: var(--wp--preset--font-family--sans);
	font-size: .8125rem !important;
	line-height: 1.55;
	color: var(--tc-ink-faint);
	padding: .8rem 0 0;
	margin-block: 1.5rem 2rem;
	border-top: 1px dashed var(--tc-rule);
	opacity: 1;
}
.tc-body .tc-src a { color: var(--tc-ink-soft); text-decoration-color: var(--tc-rule); }
.tc-body .tc-src a:hover { color: var(--tc-accent); }

/* Figures: charts */
.tc-body figure.tc-fig { margin-block: 2.25rem; }
.tc-body figure.tc-fig svg { width: 100%; height: auto; display: block; overflow: visible; }
.tc-body figure.tc-fig figcaption {
	font-family: var(--wp--preset--font-family--sans);
	font-size: .8125rem;
	line-height: 1.55;
	color: var(--tc-ink-soft);
	margin-top: 1rem;
	max-width: 34rem;
	opacity: 1;
}
.tc-body figure.tc-fig picture,
.tc-body figure.tc-fig img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.tc-body pre,
.tc-body code {
	/* No monospace family is registered in theme.json, so name the stack here.
	   Referencing an unregistered preset var made this fall back to the sans. */
	font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-size: .85em;
}
.tc-body code {
	background: var(--tc-surface);
	border: 1px solid var(--tc-rule);
	border-radius: 3px;
	padding: .1em .35em;
}
.tc-body pre {
	background: var(--tc-surface);
	border: 1px solid var(--tc-rule);
	border-radius: 4px;
	padding: .9rem 1.1rem;
	overflow-x: auto;
	margin-block: 1.5rem;
}
.tc-body pre code { background: none; border: 0; padding: 0; }

.tc-body address {
	font-style: normal;
	padding-left: 1rem;
	border-left: 2px solid var(--tc-rule);
	margin-block: 1.25rem;
	color: var(--tc-ink-soft);
}

.tc-body em { color: var(--tc-ink-soft); }

/* ==================================================================
   8. Section navigation and prev/next
   ================================================================== */

.tc-section {
	margin-top: 4rem;
	padding-top: 1.6rem;
	border-top: 3px solid var(--tc-ink);
	font-family: var(--wp--preset--font-family--sans);
}
.tc-section__h {
	font-size: .6875rem !important;
	text-transform: uppercase;
	letter-spacing: .09em;
	color: var(--tc-ink-faint);
	margin: 0 0 1rem !important;
	padding: 0 !important;
	border: 0 !important;
	font-weight: 500;
}
.tc-section__h a { color: var(--tc-ink-soft); text-decoration: none; }
.tc-section__h a:hover { color: var(--tc-accent); text-decoration: underline; }

.tc-section__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
	gap: .1rem 1.75rem;
}
.tc-section__list li { margin: 0; }
.tc-section__list a {
	display: block;
	padding: .5rem 0;
	font-size: .9375rem;
	color: var(--tc-ink-soft);
	text-decoration: none;
	border-bottom: 1px solid var(--tc-rule-soft);
}
.tc-section__list a:hover { color: var(--tc-accent); }
.tc-section__list li.is-current a {
	color: var(--tc-ink-faint);
	cursor: default;
}
.tc-section__list li.is-current a::after {
	content: " — you are here";
	font-size: .75rem;
	color: var(--tc-ink-faint);
}

.tc-pn {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2.25rem;
	font-family: var(--wp--preset--font-family--sans);
}
.tc-pn__link {
	flex: 1 1 14rem;
	display: block;
	padding: .9rem 1.1rem;
	border: 1px solid var(--tc-rule);
	border-radius: 5px;
	text-decoration: none;
	background: var(--tc-surface);
	transition: border-color .15s, transform .15s;
}
.tc-pn__link:hover { border-color: var(--tc-accent); transform: translateY(-1px); }
.tc-pn__next { text-align: right; }
.tc-pn__dir {
	display: block;
	font-size: .6875rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--tc-ink-faint);
	margin-bottom: .2rem;
}
.tc-pn__t { display: block; font-size: .9375rem; color: var(--tc-ink); line-height: 1.35; }

/* ==================================================================
   9. Calculators
   ================================================================== */

.tc-body .tc-calc {
	border: 1px solid var(--tc-rule);
	border-radius: 6px;
	padding: 1.4rem 1.5rem;
	margin-block: 2rem;
	max-width: none;
	background: var(--tc-surface);
	font-family: var(--wp--preset--font-family--sans);
	box-shadow: 0 1px 3px var(--tc-shadow);
}
.tc-body .tc-calc label {
	font-size: .875rem;
	font-weight: 500;
	color: var(--tc-ink);
	margin-bottom: .35rem;
}
.tc-body .tc-calc .tc-hint {
	font-weight: 400;
	font-size: .78rem;
	color: var(--tc-ink-faint);
	line-height: 1.45;
}
.tc-body .tc-calc select,
.tc-body .tc-calc input {
	font: inherit;
	font-size: .9375rem;
	padding: .5rem .6rem;
	border: 1px solid var(--tc-rule);
	border-radius: 4px;
	background: var(--tc-paper);
	color: var(--tc-ink);
}
.tc-body .tc-calc select:focus,
.tc-body .tc-calc input:focus { border-color: var(--tc-accent); outline: none; }
.tc-body .tc-calc .tc-result {
	border-top: 1px solid var(--tc-rule);
	margin-top: 1.25rem;
	padding-top: 1.15rem;
	font-size: 1rem;
	color: var(--tc-ink-soft);
}
.tc-body .tc-calc .tc-result strong,
.tc-body .tc-calc .tc-total {
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.6rem !important;
	font-weight: 500;
	color: var(--tc-accent);
	letter-spacing: -.015em;
	line-height: 1.15;
	display: block;
	margin-bottom: .35rem;
}
.tc-body .tc-calc .tc-breakdown li {
	border-bottom: 1px dotted var(--tc-rule);
	font-size: .875rem;
	color: var(--tc-ink-soft);
}
.tc-body .tc-calc .tc-note {
	font-size: .8125rem;
	color: var(--tc-ink-faint);
	line-height: 1.55;
}
.tc-body .tc-calc .tc-warn {
	background: var(--tc-accent-bg);
	border-left: 3px solid var(--tc-accent);
	border-radius: 0 3px 3px 0;
	color: var(--tc-ink-soft);
	font-size: .85rem;
	padding: .7rem .85rem;
	opacity: 1;
}

/* Layout of the calculator internals. These used to be repeated as an inline
   <style> block inside each calculator page, which hardcoded rgba(0,0,0,…)
   borders and so ignored dark mode. Defined once here instead. */
.tc-body .tc-calc .tc-field,
.tc-body .tc-calc .tc-var { margin-bottom: 1rem; }
.tc-body .tc-calc .tc-field:last-of-type { margin-bottom: 0; }
.tc-body .tc-calc label { display: block; }
.tc-body .tc-calc .tc-hint { display: block; }
.tc-body .tc-calc select,
.tc-body .tc-calc input { max-width: 100%; }
.tc-body .tc-calc select { width: 100%; max-width: 26rem; }
.tc-body .tc-calc input[type="number"] { width: 9rem; }
.tc-body .tc-calc .tc-inline {
	display: flex;
	gap: .45rem;
	align-items: center;
}
.tc-body .tc-calc .tc-inline select { width: 4.75rem; max-width: 4.75rem; }
.tc-body .tc-calc .tc-breakdown {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 1.6;
}
.tc-body .tc-calc .tc-breakdown li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: .2rem 0;
	margin: 0;
}

/* ==================================================================
   10. Front page
   ================================================================== */

.tc-front .wp-block-post-title {
	font-size: clamp(2.4rem, 1.6rem + 3.4vw, 3.6rem);
	letter-spacing: -.025em;
	margin-bottom: .35rem;
}
.tc-front .tc-body > p:first-of-type {
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--tc-ink-soft);
	max-width: 34rem;
	margin-bottom: 2.25rem;
}
/* Front page: a short rule above each section instead of a full-width band,
   and sub-headings that read as questions rather than as warnings. */
.tc-front .tc-body h2 {
	border-top: 0;
	padding-top: 0;
	margin-block: 2.5em .65em;
}
.tc-front .tc-body h2::before {
	content: "";
	display: block;
	width: 3rem;
	height: 3px;
	margin-bottom: .85em;
	background: var(--tc-accent);
}
.tc-front .tc-body h2:first-child { margin-top: 1.1em; }
.tc-front .tc-body h3 {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: 0;
	color: var(--tc-ink);
	margin-block: 1.9em .4em;
}

/* ==================================================================
   11. Footer
   ================================================================== */

.wp-site-blocks > footer {
	margin-top: 5rem;
	border-top: 1px solid var(--tc-rule);
	background: var(--tc-surface);
	font-family: var(--wp--preset--font-family--sans);
	font-size: .875rem;
	color: var(--tc-ink-soft);
}
.wp-site-blocks > footer a { color: var(--tc-ink-soft); text-decoration: none; }
.wp-site-blocks > footer a:hover { color: var(--tc-accent); text-decoration: underline; }

.tc-footer-note {
	font-size: .8125rem;
	color: var(--tc-ink-faint);
	line-height: 1.6;
	max-width: 34rem;
}

/* ==================================================================
   12. Print
   ================================================================== */

@media print {
	.wp-site-blocks > header,
	.wp-site-blocks > footer,
	.tc-rail,
	.tc-pn,
	.tc-section,
	.tc-anchor { display: none !important; }
	body { background: #fff; color: #000; font-size: 11pt; }
	.tc-layout, .wp-block-post-title { max-width: none; }
	.tc-body a { color: #000; text-decoration: underline; }
	.tc-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #444; word-break: break-all; }
	.tc-tablewrap { overflow: visible; background: none; }
	.tc-body table { min-width: 0; font-size: 9pt; }
	.tc-body h2 { break-after: avoid; }
	.tc-body figure, .tc-body table, .tc-body blockquote { break-inside: avoid; }
}

/* ==================================================================
   13. Motion
   ================================================================== */

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
