/* Ported mechanically from training-puppies-hello-child 0.5.34 tp-guide.css by BUILD/block-migration/chrome/port_css.py
   (colours -> theme.json tokens, translucent ones -> legacy alpha tokens; TOKEN-MAP-2026-11-11.md). Mode A parity CSS: change the tokens, not this file. */
/*
 Guide template (.tp-guide-*). Reusable by every canonical guide built in Elementor Free.
 Loaded only on singular pages built with Elementor (see functions.php). Selectors are prefixed with
 "body.tp-shell .elementor" so they outweigh Elementor's per-element rules and the Kit's global
 heading and link rules, and they apply only to elements that carry a tp-guide-* class.
 Tokens (--tp-*) come from body.tp-shell in style.css.

 Redesign 0.5.0 (design/design-direction-constitution-v1.md): warm editorial field guide. Display serif for
 major headings, ruled section transitions, dense practical modules (steps, troubleshooting, tables, sources)
 kept dense. Editorial archetype body classes (tp-guide--behavior / --skill / --routine) only change emphasis;
 they are never shown and are not a navigation category.
*/

body.tp-shell .elementor .e-con.tp-guide-band,
body.tp-shell .elementor .e-con.tp-guide-inner,
body.tp-shell .elementor .e-con.tp-guide-column,
body.tp-shell .elementor .e-con.tp-guide-section,
body.tp-shell .elementor .e-con.tp-guide-qa {
	--display: block;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

body.tp-shell .elementor .tp-guide-band .elementor-widget:not(:last-child) {
	margin-block-end: 0;
}

body.tp-shell .elementor .tp-guide-band .elementor-widget-container {
	padding: 0;
}

body.tp-shell .elementor .e-con.tp-guide-inner {
	max-width: 1216px;
	margin-inline: auto;
	padding-inline: var(--tp-gutter);
}

body.tp-shell .elementor .e-con.tp-guide-column {
	max-width: 720px;
}

/* Breadcrumb */
body.tp-shell .elementor .tp-guide-breadcrumb-band {
	background: var(--tp-cream);
}

body.tp-shell .elementor .tp-guide-breadcrumb .tp-guide-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 8px 0 0;
	list-style: none;
	color: var(--tp-muted);
	font: 400 14px/1.4 var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-breadcrumb .tp-guide-breadcrumb__list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tp-shell .elementor .tp-guide-breadcrumb .tp-guide-breadcrumb__home,
body.tp-shell .elementor .tp-guide-breadcrumb .tp-guide-breadcrumb__home:visited {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--tp-primary);
	text-decoration: none;
}

body.tp-shell .elementor .tp-guide-breadcrumb .tp-guide-breadcrumb__home:hover,
body.tp-shell .elementor .tp-guide-breadcrumb .tp-guide-breadcrumb__home:focus {
	color: var(--tp-primary-dark);
	text-decoration: underline;
}

body.tp-shell .elementor .tp-guide-breadcrumb .tp-guide-breadcrumb__current {
	color: var(--tp-text);
	font-weight: 600;
}

/* Hero (text only; compact so the short answer and first action stay near the top on mobile) */
body.tp-shell .elementor .tp-guide-hero {
	background: var(--tp-cream);
}

body.tp-shell .elementor .e-con.tp-guide-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-block: calc(var(--tp-section-space) * 0.6) var(--tp-section-space);
}

body.tp-shell .elementor .tp-guide-hero__inner > .elementor-widget {
	max-width: 760px;
}

body.tp-shell .elementor .tp-guide-prose.tp-guide-eyebrow p {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	color: var(--tp-rust);
	font: 600 14px/1.35 var(--tp-sans);
	letter-spacing: 0.01em;
	text-transform: none;
}

body.tp-shell .elementor .tp-guide-h1 .elementor-heading-title {
	margin: 0;
	color: var(--tp-text);
	font-family: var(--tp-display);
	font-size: clamp(34px, 2vw + 24px, 54px);
	font-weight: 600;
	line-height: 1.06;
	letter-spacing: -0.022em;
	text-wrap: balance;
}

body.tp-shell .elementor .tp-guide-prose.tp-guide-dek p {
	margin: 0;
	max-width: 40em;
	color: var(--tp-muted);
	font: 400 18px/1.6 var(--tp-sans);
}

/* Article */
body.tp-shell .elementor .tp-guide-article {
	background: var(--tp-cream);
}

body.tp-shell .elementor .tp-guide-article .e-con.tp-guide-inner {
	padding-block: 0 var(--tp-section-space);
}

/* Ruled section transitions: each section opens with a hairline and generous space. */
body.tp-shell .elementor .e-con.tp-guide-section {
	margin-top: var(--tp-section-space);
	padding-top: calc(var(--tp-section-space) * 0.6);
	border-top: 1px solid var(--tp-rule);
}

body.tp-shell .elementor .tp-guide-section > .elementor-widget + .elementor-widget {
	margin-top: 24px;
}

body.tp-shell .elementor .tp-guide-h2 .elementor-heading-title {
	margin: 0;
	color: var(--tp-text);
	font-family: var(--tp-display);
	font-size: clamp(26px, 0.9vw + 20px, 34px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

body.tp-shell .elementor .tp-guide-h3 .elementor-heading-title {
	margin: 0;
	color: var(--tp-text);
	font-family: var(--tp-display);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.008em;
}

body.tp-shell .elementor .tp-guide-prose p {
	margin: 0 0 24px;
	color: var(--tp-text);
	font: 400 17px/1.7 var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-prose p:last-child {
	margin-bottom: 0;
}

body.tp-shell .elementor .tp-guide-prose a,
body.tp-shell .elementor .tp-guide-prose a:visited {
	color: var(--tp-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.tp-shell .elementor .tp-guide-prose a:hover,
body.tp-shell .elementor .tp-guide-prose a:focus {
	color: var(--tp-primary-dark);
	text-decoration: underline;
}

/* Citation marker (inline link, at least 24 x 24 px hit area) */
body.tp-shell .elementor a.tp-guide-cite,
body.tp-shell .elementor a.tp-guide-cite:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 24px;
	padding: 0 2px;
	vertical-align: middle;
	color: var(--tp-primary);
	font-size: 0.82em;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.tp-shell .elementor a.tp-guide-cite:hover,
body.tp-shell .elementor a.tp-guide-cite:focus {
	color: var(--tp-primary-dark);
}

/* Short answer: the calm first stop. Deeper paper, ink top rule, the answer set in the display serif. */
body.tp-shell .elementor .e-con.tp-guide-qa {
	padding: 28px 32px 32px;
	background: var(--tp-paper-deep);
	border-top: 3px solid var(--tp-text);
	border-radius: 0 0 var(--tp-radius) var(--tp-radius);
}

body.tp-shell .elementor .tp-guide-qa .tp-guide-qa__label .elementor-heading-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 14px;
	color: var(--tp-rust);
	font: 600 14px/1.35 var(--tp-sans);
	letter-spacing: 0.01em;
	text-transform: none;
}

body.tp-shell .elementor .tp-guide-qa .tp-guide-qa__answer p {
	font: 400 21px/1.5 var(--tp-display);
	letter-spacing: -0.005em;
}

body.tp-shell .elementor .tp-guide-qa .tp-guide-qa__field {
	margin-top: 10px;
}

body.tp-shell .elementor .tp-guide-qa .tp-guide-qa__field p {
	font-size: 16px;
	line-height: 1.6;
}

body.tp-shell .elementor .tp-guide-qa .tp-guide-qa__answer + .tp-guide-qa__field {
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid var(--tp-rule);
}

/* First action: an in-page link from the short answer to the guide's first practical section. */
body.tp-shell .elementor .tp-guide-qa .tp-guide-start {
	margin-top: 22px;
}

body.tp-shell .elementor .tp-guide-start p {
	margin: 0;
}

body.tp-shell .elementor a.tp-guide-start__link,
body.tp-shell .elementor a.tp-guide-start__link:visited {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	box-sizing: border-box;
	min-height: 48px;
	padding: 12px 20px;
	background: var(--tp-primary);
	border-radius: var(--tp-radius);
	color: var(--wp--custom--color--on-action);
	font: 600 16px/1.35 var(--tp-sans);
	text-decoration: none;
}

body.tp-shell .elementor a.tp-guide-start__link:hover,
body.tp-shell .elementor a.tp-guide-start__link:focus {
	background: var(--tp-primary-dark);
	color: var(--wp--custom--color--on-action);
	text-decoration: none;
}

body.tp-shell .elementor .tp-guide-start__label {
	font-weight: 400;
	opacity: 0.92;
}

/* Callouts: each type differs by label, icon and border shape, not by colour alone. */
body.tp-shell .elementor .tp-guide-callout {
	box-sizing: border-box;
	padding: 22px 24px;
	border-radius: 0 var(--tp-radius) var(--tp-radius) 0;
	font-family: var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-callout--note {
	background: var(--tp-tint);
	border: 0;
	border-left: 4px solid var(--tp-primary);
}

body.tp-shell .elementor .tp-guide-callout--caution {
	background: var(--wp--custom--color--caution-bg);
	border: 2px solid var(--wp--custom--color--caution-border);
	border-left-width: 6px;
}

body.tp-shell .elementor .tp-guide-callout--boundary {
	background: var(--tp-paper-deep);
	border: 0;
	border-top: 3px double var(--tp-text);
	border-bottom: 1px solid var(--tp-text);
	border-radius: 0;
}

body.tp-shell .elementor .tp-guide-callout .tp-guide-callout__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}

body.tp-shell .elementor .tp-guide-callout .tp-guide-callout__label {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

body.tp-shell .elementor .tp-guide-callout--note .tp-guide-callout__label {
	color: var(--tp-primary-dark);
}

body.tp-shell .elementor .tp-guide-callout--caution .tp-guide-callout__label {
	color: var(--wp--custom--color--caution-text);
}

body.tp-shell .elementor .tp-guide-callout--boundary .tp-guide-callout__label {
	color: var(--tp-text);
	font-family: var(--tp-display);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: 0;
}

body.tp-shell .elementor .tp-guide-callout .tp-guide-callout__body {
	margin: 0;
	color: var(--tp-text);
	font: 400 16px/1.7 var(--tp-sans);
}

/* Step list: ruled, numbered rows (dense practical module). */
body.tp-shell .elementor .tp-guide-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--tp-text);
	font-family: var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-steps .tp-guide-step {
	position: relative;
	margin: 0;
	padding: 18px 0 20px 64px;
	list-style: none;
	border-bottom: 1px solid var(--tp-rule);
}

body.tp-shell .elementor .tp-guide-steps .tp-guide-step__marker {
	position: absolute;
	top: 14px;
	left: 0;
	display: block;
	box-sizing: border-box;
	width: 48px;
	color: var(--tp-primary);
	font: 600 30px/1 var(--tp-display);
	letter-spacing: -0.02em;
}

body.tp-shell .elementor .tp-guide-steps .tp-guide-step__title {
	margin: 0 0 6px;
	color: var(--tp-text);
	font: 700 17px/1.45 var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-steps .tp-guide-step__text {
	margin: 0;
	color: var(--tp-text);
	font: 400 16px/1.7 var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-steps .tp-guide-step__example {
	margin: 10px 0 0;
	padding-left: 14px;
	border-left: 2px solid var(--tp-rule);
	color: var(--tp-muted);
	font: 400 15px/1.6 var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-steps .tp-guide-step__example strong {
	color: var(--tp-text);
}

/* Table */
body.tp-shell .elementor .tp-guide-table {
	overflow-x: auto;
	background: var(--tp-raised);
	border: 1px solid var(--tp-rule);
	border-top: 2px solid var(--tp-text);
	border-radius: 0 0 var(--tp-radius) var(--tp-radius);
}

body.tp-shell .elementor .tp-guide-table table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: 0;
	color: var(--tp-text);
	font: 400 16px/1.5 var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-table caption {
	padding: 12px 16px;
	caption-side: top;
	color: var(--tp-muted);
	font-size: 14px;
	text-align: left;
}

body.tp-shell .elementor .tp-guide-table thead th {
	padding: 12px 16px;
	background: var(--tp-paper-deep);
	border: 0;
	border-top: 1px solid var(--tp-rule);
	border-bottom: 1px solid var(--tp-rule);
	color: var(--tp-text);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	text-align: left;
	text-transform: none;
}

body.tp-shell .elementor .tp-guide-table tbody th,
body.tp-shell .elementor .tp-guide-table tbody td {
	padding: 12px 16px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--tp-rule);
	font-size: 16px;
	text-align: left;
}

body.tp-shell .elementor .tp-guide-table tbody th {
	font-weight: 600;
}

body.tp-shell .elementor .tp-guide-table tbody tr:last-child th,
body.tp-shell .elementor .tp-guide-table tbody tr:last-child td {
	border-bottom: 0;
}

/* Troubleshooting: what you notice, then Check and Try (the watch, interpret, adjust reading). */
body.tp-shell .elementor .tp-guide-trouble {
	margin: 0;
	border-top: 2px solid var(--tp-text);
	font-family: var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-trouble .tp-guide-trouble__row {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 8px 32px;
	box-sizing: border-box;
	padding: 20px 0;
	border-bottom: 1px solid var(--tp-rule);
}

body.tp-shell .elementor .tp-guide-trouble .tp-guide-trouble__symptom {
	margin: 0;
	color: var(--tp-text);
	font: 600 19px/1.35 var(--tp-display);
	letter-spacing: -0.005em;
}

body.tp-shell .elementor .tp-guide-trouble .tp-guide-trouble__detail {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	color: var(--tp-text);
	font: 400 16px/1.7 var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-trouble .tp-guide-trouble__detail p {
	margin: 0;
	font: inherit;
}

body.tp-shell .elementor .tp-guide-trouble .tp-guide-trouble__detail strong {
	color: var(--tp-primary-dark);
}

/* Behavior guides: Check and Try side by side, so "what it may suggest" and "what to change" read as a pair. */
@media (min-width: 1024px) {
	body.tp-shell.tp-guide--behavior .elementor .tp-guide-trouble .tp-guide-trouble__row {
		grid-template-columns: minmax(0, 1fr);
	}

	body.tp-shell.tp-guide--behavior .elementor .tp-guide-trouble .tp-guide-trouble__detail {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 0 32px;
	}

	body.tp-shell.tp-guide--behavior .elementor .tp-guide-trouble .tp-guide-trouble__detail p + p {
		padding-left: 32px;
		border-left: 1px solid var(--tp-rule);
	}
}

body.tp-shell.tp-guide--behavior .elementor .tp-guide-trouble .tp-guide-trouble__detail strong {
	display: block;
	margin-bottom: 2px;
}

/* Skill guides: steps read as a progression (a continuous line joins the numbers). */
body.tp-shell.tp-guide--skill .elementor .tp-guide-steps .tp-guide-step:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 54px;
	bottom: -14px;
	left: 10px;
	width: 2px;
	background: var(--tp-tint);
}

/* Routine guides: steps tighter, so the whole routine fits in view and can be repeated. */
body.tp-shell.tp-guide--routine .elementor .tp-guide-steps .tp-guide-step {
	padding-top: 14px;
	padding-bottom: 14px;
}

body.tp-shell.tp-guide--routine .elementor .tp-guide-steps .tp-guide-step__marker {
	top: 12px;
	font-size: 26px;
}

/* Sources (dense reference list) */
body.tp-shell .elementor .tp-guide-sources {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0 0 0 24px;
	color: var(--tp-text);
	font: 400 15px/1.6 var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-sources li {
	margin: 0;
	padding: 0;
}

/* Inline link with vertical padding: the 44px hit area never shifts layout, so a title that wraps to two
   or more lines keeps its publisher line directly below it (no overlap with the underline). */
body.tp-shell .elementor .tp-guide-sources .tp-guide-source__link,
body.tp-shell .elementor .tp-guide-sources .tp-guide-source__link:visited {
	display: inline;
	padding: 12px 0;
	color: var(--tp-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.tp-shell .elementor .tp-guide-sources .tp-guide-source__link:hover,
body.tp-shell .elementor .tp-guide-sources .tp-guide-source__link:focus {
	color: var(--tp-primary-dark);
}

body.tp-shell .elementor .tp-guide-sources .tp-guide-ext {
	display: inline-block;
	margin-left: 4px;
	vertical-align: -2px;
}

body.tp-shell .elementor .tp-guide-sources .tp-guide-source__meta {
	display: block;
	color: var(--tp-muted);
	font-size: 14px;
	line-height: 1.5;
}

body.tp-shell .elementor .tp-guide-vh {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Where to go next: reason first, then the destination (approved contextual links only). */
body.tp-shell .elementor .tp-guide-next-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 2px solid var(--tp-text);
}

body.tp-shell .elementor .tp-guide-next-list li {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--tp-rule);
}

body.tp-shell .elementor a.tp-guide-next-row,
body.tp-shell .elementor a.tp-guide-next-row:visited {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	box-sizing: border-box;
	min-height: 64px;
	padding: 18px 4px;
	color: var(--tp-text);
	text-decoration: none;
	transition: padding-left 200ms ease-out, background-color 200ms ease-out;
}

body.tp-shell .elementor .tp-guide-next-row__reason {
	color: var(--tp-muted);
	font: 400 16px/1.6 var(--tp-sans);
}

body.tp-shell .elementor .tp-guide-next-row__title {
	color: var(--tp-text);
	font: 600 21px/1.3 var(--tp-display);
	letter-spacing: -0.008em;
}

body.tp-shell .elementor a.tp-guide-next-row::before {
	content: "";
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: 0;
	width: 3px;
	background: var(--tp-rust);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 200ms ease-out;
}

body.tp-shell .elementor a.tp-guide-next-row:hover,
body.tp-shell .elementor a.tp-guide-next-row:focus-visible {
	padding-left: 20px;
	background: var(--tp-raised);
	color: var(--tp-text);
	text-decoration: none;
}

body.tp-shell .elementor a.tp-guide-next-row:hover::before,
body.tp-shell .elementor a.tp-guide-next-row:focus-visible::before {
	transform: scaleY(1);
}

body.tp-shell .elementor a.tp-guide-next-row:hover .tp-guide-next-row__title,
body.tp-shell .elementor a.tp-guide-next-row:focus-visible .tp-guide-next-row__title {
	color: var(--tp-primary-dark);
	text-decoration: underline;
	text-underline-offset: 4px;
}

body.tp-shell .elementor .tp-guide-next-step .tp-guide-secondary-link,
body.tp-shell .elementor .tp-guide-next-step .tp-guide-secondary-link:visited {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--tp-primary);
	font: 500 16px/1.4 var(--tp-sans);
	text-decoration: underline;
	text-decoration-color: var(--wp--custom--legacy--alpha--action-40);
	text-underline-offset: 4px;
}

body.tp-shell .elementor .tp-guide-next-step .tp-guide-secondary-link:hover,
body.tp-shell .elementor .tp-guide-next-step .tp-guide-secondary-link:focus {
	color: var(--tp-primary-dark);
	text-decoration-color: currentColor;
}

/* Mobile (<= 767px): compact hero, tighter short answer, stacked troubleshooting */
@media (max-width: 767px) {
	body.tp-shell .elementor .e-con.tp-guide-hero__inner {
		gap: 14px;
		padding-block: 20px 32px;
	}

	body.tp-shell .elementor .tp-guide-prose.tp-guide-dek p {
		font-size: 16px;
	}

	body.tp-shell .elementor .e-con.tp-guide-qa {
		padding: 22px 18px 24px;
	}

	body.tp-shell .elementor .tp-guide-qa .tp-guide-qa__answer p {
		font-size: 19px;
	}

	body.tp-shell .elementor a.tp-guide-start__link {
		display: flex;
		width: 100%;
	}

	body.tp-shell .elementor .tp-guide-steps .tp-guide-step {
		padding-left: 44px;
	}

	body.tp-shell .elementor .tp-guide-steps .tp-guide-step__marker {
		width: 36px;
		font-size: 24px;
	}

	body.tp-shell.tp-guide--skill .elementor .tp-guide-steps .tp-guide-step:not(:last-child)::before {
		display: none;
	}

	body.tp-shell .elementor .tp-guide-trouble .tp-guide-trouble__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.tp-shell .elementor a.tp-guide-next-row,
	body.tp-shell .elementor a.tp-guide-next-row::before {
		transition: none;
	}
}

@media (forced-colors: active) {
	body.tp-shell .elementor a.tp-guide-next-row::before {
		background: Highlight;
	}
}

/* ------------------------------------------------------------------
   0.5.5: "On this page" list (feeding pillar only, owner decision D5) and links inside stage rows.
------------------------------------------------------------------- */
body.tp-shell .elementor .tp-guide-toc {
	margin: 8px 0 0;
	padding: 18px 22px 14px;
	background: var(--tp-raised);
	border: 1px solid var(--tp-rule);
	border-radius: var(--tp-radius);
}

body.tp-shell .elementor .tp-guide-toc__label {
	margin: 0 0 4px;
	color: var(--tp-rust);
	font: 600 14px/1.3 var(--tp-sans);
	letter-spacing: 0.01em;
}

body.tp-shell .elementor .tp-guide-toc__list {
	margin: 0;
	padding: 0 0 0 22px;
	columns: 2 240px;
	column-gap: 32px;
}

body.tp-shell .elementor .tp-guide-toc__list li {
	break-inside: avoid;
	margin: 0;
}

body.tp-shell .elementor .tp-guide-toc__list a,
body.tp-shell .elementor .tp-guide-trouble__detail a:not(.tp-guide-cite) {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--tp-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

body.tp-shell .elementor .tp-guide-trouble__detail a:not(.tp-guide-cite) {
	display: inline;
	min-height: 0;
	padding: 10px 0;
}

body.tp-shell .elementor .tp-guide-toc__list a:hover,
body.tp-shell .elementor .tp-guide-toc__list a:focus,
body.tp-shell .elementor .tp-guide-trouble__detail a:not(.tp-guide-cite):hover,
body.tp-shell .elementor .tp-guide-trouble__detail a:not(.tp-guide-cite):focus {
	color: var(--tp-primary-dark);
	text-decoration-thickness: 2px;
}

/* 0.5.21: a photo in every guide's header (desktop: beside the title; smaller screens: a short banner under
   the dek, so the short answer stays near the top). Credit in the caption. */
body.tp-shell .elementor .tp-guide-photo { margin: 0; }
body.tp-shell .elementor .tp-guide-photo picture { display: block; overflow: hidden; border-radius: 18px; background: var(--wp--preset--color--surface-alt); box-shadow: 0 22px 44px -28px var(--wp--custom--legacy--alpha--text-55); }
body.tp-shell .elementor .tp-guide-photo img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% var(--tp-photo-y, 50%); }
body.tp-shell .elementor .tp-guide-photo figcaption { margin-top: 8px; font: 400 13px/1.4 var(--tp-sans); color: var(--tp-muted); }
body.tp-shell .elementor .tp-guide-photo figcaption a { color: inherit; text-decoration: underline; text-decoration-color: var(--tp-rule, var(--wp--preset--color--line, #D8CFC1)); text-underline-offset: 3px; }
body.tp-shell .elementor .tp-guide-photo figcaption a:hover { color: var(--tp-primary-dark, var(--wp--preset--color--action-hover)); }
@media (min-width: 1024px) {
	body.tp-shell .elementor .e-con.tp-guide-hero__inner:has(> .tp-guide-photo) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); column-gap: 56px; row-gap: 18px; align-content: center; }
	body.tp-shell .elementor .e-con.tp-guide-hero__inner:has(> .tp-guide-photo) > .elementor-widget { grid-column: 1; }
	body.tp-shell .elementor .e-con.tp-guide-hero__inner > .tp-guide-photo { grid-column: 2; grid-row: 1 / span 4; align-self: center; transform: rotate(1.2deg); }
}
@media (max-width: 1023px) {
	body.tp-shell .elementor .tp-guide-photo { max-width: 760px; }
	body.tp-shell .elementor .tp-guide-photo img { aspect-ratio: 16 / 7; }
	body.tp-shell .elementor .tp-guide-photo picture { border-radius: 14px; }
}
@media print { body.tp-shell .elementor .tp-guide-photo { display: none; } }
/* 0.5.24: the caption's credit links are 24px tall touch targets (WCAG 2.5.8). */
body.tp-shell .elementor .tp-guide-photo figcaption { line-height: 24px; }
body.tp-shell .elementor .tp-guide-photo figcaption a { display: inline-flex; align-items: center; min-height: 24px; vertical-align: bottom; }
/* 0.5.27: "Look for" photos inside guides. */
body.tp-shell .elementor .tp-guide-inphoto { max-width: 640px; margin: 4px 0 8px; }
body.tp-shell .elementor .tp-guide-inphoto picture { display: block; overflow: hidden; border-radius: 16px; background: var(--wp--preset--color--surface-alt); }
body.tp-shell .elementor .tp-guide-inphoto img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
body.tp-shell .elementor .tp-guide-inphoto figcaption { margin-top: 8px; font: 400 13.5px/24px var(--tp-sans); color: var(--tp-muted); }
body.tp-shell .elementor .tp-guide-inphoto__look { font-weight: 600; color: var(--tp-text); }
body.tp-shell .elementor .tp-guide-inphoto figcaption a { display: inline-flex; align-items: center; min-height: 24px; vertical-align: bottom; color: inherit; text-decoration: underline; text-decoration-color: var(--tp-rule, var(--wp--preset--color--line, #D8CFC1)); text-underline-offset: 3px; }
@media print { body.tp-shell .elementor .tp-guide-inphoto { break-inside: avoid; } }

/* 0.5.29: Elementor-native guides. Icons that used to be inline SVG are drawn here (only where the SVG is absent,
   so pages not yet converted are unchanged); the photos are Elementor Image widgets. */
body.tp-shell .elementor .tp-guide-callout__head:not(:has(svg))::before { content: ""; flex: none; width: 24px; height: 24px; background: center / 24px 24px no-repeat; }
body.tp-shell .elementor .tp-guide-callout--note .tp-guide-callout__head:not(:has(svg))::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315503F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E"); }
body.tp-shell .elementor .tp-guide-callout--caution .tp-guide-callout__head:not(:has(svg))::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2392600A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5L21.5 20h-19L12 3.5z'/%3E%3Cpath d='M12 10v4.5'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E"); }
body.tp-shell .elementor .tp-guide-callout--boundary .tp-guide-callout__head:not(:has(svg))::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323201D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M12 5h7l2 2.5-2 2.5h-7z'/%3E%3Cpath d='M12 13H5l-2 2.5L5 18h7z'/%3E%3C/svg%3E"); }
body.tp-shell .elementor a.tp-guide-source__link:not(:has(.tp-guide-ext))::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2h4v4'/%3E%3Cpath d='M12 2L6.5 7.5'/%3E%3Cpath d='M11 8.5V11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h2.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2h4v4'/%3E%3Cpath d='M12 2L6.5 7.5'/%3E%3Cpath d='M11 8.5V11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h2.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat; }
@media (forced-colors: active) { body.tp-shell .elementor a.tp-guide-source__link:not(:has(.tp-guide-ext))::after { background: LinkText; } }
body.tp-shell .elementor .elementor-widget-image.tp-guide-photo figure, body.tp-shell .elementor .elementor-widget-image.tp-guide-inphoto figure { margin: 0; }
body.tp-shell .elementor .elementor-widget-image.tp-guide-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; background: var(--wp--preset--color--surface-alt); box-shadow: 0 22px 44px -28px var(--wp--custom--legacy--alpha--text-55); }
body.tp-shell .elementor .elementor-widget-image.tp-guide-inphoto { max-width: 640px; }
body.tp-shell .elementor .elementor-widget-image.tp-guide-inphoto img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; background: var(--wp--preset--color--surface-alt); }
body.tp-shell .elementor .elementor-widget-image.tp-guide-photo figcaption, body.tp-shell .elementor .elementor-widget-image.tp-guide-inphoto figcaption { margin-top: 8px; text-align: left; font: 400 13px/24px var(--tp-sans); color: var(--tp-muted); }
body.tp-shell .elementor .elementor-widget-image.tp-guide-photo figcaption a, body.tp-shell .elementor .elementor-widget-image.tp-guide-inphoto figcaption a { display: inline-flex; align-items: center; min-height: 24px; vertical-align: bottom; color: inherit; text-decoration: underline; text-decoration-color: var(--tp-rule, var(--wp--preset--color--line, #D8CFC1)); text-underline-offset: 3px; }
body.tp-shell .elementor .elementor-widget-image.tp-guide-inphoto .tp-guide-inphoto__look { font-weight: 600; color: var(--tp-text); }
@media (min-width: 1024px) {
	body.tp-shell .elementor .e-con.tp-guide-hero__inner > .elementor-widget-image.tp-guide-photo { grid-column: 2; grid-row: 1 / span 4; align-self: center; transform: rotate(1.2deg); max-width: none; }
}
@media (max-width: 1023px) {
	body.tp-shell .elementor .elementor-widget-image.tp-guide-photo { max-width: 760px; }
	body.tp-shell .elementor .elementor-widget-image.tp-guide-photo img { aspect-ratio: 16 / 7; border-radius: 14px; }
}

/* 0.5.31: a converted block (Text Editor widget with .tp-guide-html) inherits its type and colour from the page,
   as the HTML widget did, instead of taking the Elementor kit's "Text" typography. */
body.tp-shell .elementor .elementor-widget-text-editor.tp-guide-html { font-family: inherit; font-size: inherit; font-weight: inherit; font-style: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; }
