/*
Theme Name: 20th
Theme URI: https://www.challies.com
Author: Chad Helmer
Author URI: https://chadhelmer.com
Description: The Challies theme is a custom theme for Tim Challies on the 20th anniversary of daily blogging. It is designed to take advantage of the new site editor and block theme design tools introduced in WordPress 6.3.
Version: 20241021
*/

/*** Settings ***/

/** Colors **/

/* Contextual colors: background automatically adjusts foreground, increase specificity for block editor */
:root body,
:root .has-background {
	transition: .15s ease-out;
	transition-property: background-color, color, box-shadow;
}
:root[data-theme-dark] body,
:root .has-contrast-background-color {
	--wp--preset--color--base: var(--wp--custom--color--dark);
	--wp--preset--color--contrast: var(--wp--custom--color--light);
	--wp--preset--color--wash: var(--wp--custom--color--light-wash);
	--wp--preset--color--highlight: var(--wp--custom--color--dark-highlight);
	--wp--preset--color--primary: var(--wp--custom--color--light-blue);
	--wp--preset--color--primary-wash: var(--wp--custom--color--light-blue-wash);
	--wp--preset--color--primary-tone: var(--wp--custom--color--light-blue-tone);
	--wp--preset--color--active: var(--wp--custom--color--dark-blue);
	--wp--custom--box-shadow--color: var(--wp--custom--color--dark-shadow);
}
:root[data-theme-dark] body {
	background-color: var(--wp--custom--color--dark);
	color: var(--wp--custom--color--light);
}
:root[data-theme-dark] .has-contrast-background-color {
	background-color: var(--wp--custom--color--dark-mode-dark) !important;
}
:root[data-theme-dark] .has-tone-background-color .has-contrast-background-color {
	background-color: var(--wp--custom--color--dark) !important;
}
:root[data-theme-dark] .has-to-contrast-50-50-gradient-background {
	background: linear-gradient(transparent 50%, var(--wp--custom--color--dark-mode-dark) 0%) !important;
}
:root[data-theme-dark] .has-from-contrast-50-50-gradient-background {
	background: linear-gradient(var(--wp--custom--color--dark-mode-dark) 50%, transparent 0%) !important;
}
:root[data-theme-dark] .has-tone-background-color .has-to-contrast-50-50-gradient-background {
	background: linear-gradient(transparent 50%, var(--wp--custom--color--dark) 0%) !important;
}
:root[data-theme-dark] .has-tone-background-color .has-from-contrast-50-50-gradient-background {
	background: linear-gradient(var(--wp--custom--color--dark) 50%, transparent 0%) !important;
}
:root .has-contrast-background-color,
:root .has-primary-background-color {
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast);
}
:root .has-primary-background-color {
	--wp--preset--color--base: var(--wp--custom--color--dark-blue);
	--wp--preset--color--contrast: var(--wp--custom--color--light);
	--wp--preset--color--wash: var(--wp--custom--color--light-wash);
	--wp--preset--color--highlight: var(--wp--custom--color--dark-highlight);
	--wp--preset--color--primary: var(--wp--custom--color--contrast);
	--wp--preset--color--primary-wash: var(--wp--custom--color--light-wash);
	--wp--preset--color--primary-tone: var(--wp--custom--color--tone);
	--wp--preset--color--active: var(--wp--custom--color--light);
	--wp--custom--box-shadow--color: var(--wp--custom--color--dark-shadow);
}
:root .has-base-background-color {
	--wp--preset--color--base: var(--wp--custom--color--light);
	--wp--preset--color--contrast: var(--wp--custom--color--dark);
	--wp--preset--color--wash: var(--wp--custom--color--dark-wash);
	--wp--preset--color--highlight: var(--wp--custom--color--light-highlight);
	--wp--preset--color--primary: var(--wp--custom--color--dark-blue);
	--wp--preset--color--primary-wash: var(--wp--custom--color--dark-blue-wash);
	--wp--preset--color--primary-tone: var(--wp--custom--color--dark-blue-tone);
	--wp--preset--color--active: var(--wp--custom--color--light-blue);
	--wp--custom--box-shadow--color: var(--wp--custom--color--light-shadow);
	background-color: var(--wp--preset--color--base) !important;
	color: var(--wp--preset--color--contrast);
}

/** Fonts **/

/* Responsive (root) font sizes. Theme.json only applies global styles to body. */
/* Also add to /plugins/challies-admin/style.css for editor */
:root {
	font-size: clamp(1.09375rem, 1.09375rem - .05rem + .25vw, 1.25rem); /* 17.5 – 20px */
}
:root[data-theme-large] {
	font-size: clamp(1.28125rem, 1.28125rem - .05rem + .25vw, 1.4375rem); /* 20.5px – 23px */
}
	
/* Adobe Webfonts (from https://use.typekit.net/rks8sbn.css) */
/* pt-sans-pro */
@font-face {
	font-family: "pt-sans-pro";
	src: url("https://use.typekit.net/af/5b84ba/00000000000000007735bcad/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "pt-sans-pro";
	src: url("https://use.typekit.net/af/d1e3fb/00000000000000007735bca4/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2");
	font-style: italic;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "pt-sans-pro";
	src: url("https://use.typekit.net/af/de4047/00000000000000007735bcb1/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n6&v=3") format("woff2");
	font-style: normal;
	font-weight: 600;
	font-display: swap;
}
@font-face {
	font-family: "pt-sans-pro";
	src: url("https://use.typekit.net/af/0cd9df/00000000000000007735bcba/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "pt-sans-pro";
	src: url("https://use.typekit.net/af/6186bb/00000000000000007735bcc1/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff2");
	font-style: italic;
	font-weight: 700;
	font-display: swap;
}
/* pt-serif-pro */
@font-face {
	font-family: "pt-serif-pro";
	src: url("https://use.typekit.net/af/279e9f/00000000000000007735bcbd/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "pt-serif-pro";
	src: url("https://use.typekit.net/af/a9fcac/00000000000000007735bc9e/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2");
	font-style: italic;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "pt-serif-pro";
	src: url("https://use.typekit.net/af/834226/00000000000000007735bcb9/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff2");
	font-style: italic;
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "pt-serif-pro";
	src: url("https://use.typekit.net/af/d66fc8/00000000000000007735bcc0/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2");
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "pt-serif-pro";
	src: url("https://use.typekit.net/af/409377/00000000000000007735bcc4/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n8&v=3") format("woff2");
	font-style: normal;
	font-weight: 800;
	font-display: swap;
}
/* pt-mono */
@font-face {
	font-family: "pt-mono";
	src: url("https://use.typekit.net/af/7d382a/00000000000000007735a11b/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2");
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

/*** Root Elements ***/

html {
	counter-reset: page-counter; /* page counter to share across lists */
	overflow-x: hidden;
	overflow-y: scroll;
	scroll-padding: 7.5vh;
	scrollbar-gutter: stable; /* prevent jumping when .has-modal-open */
}

body {
	caret-color: var(--wp--preset--color--active);
}

/*** Section Elements ***/

article {
	clear: both;
}

/*** Block Elements ***/

pre {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .9375em;
	font-style: normal;
	white-space: pre-wrap;
	word-break: normal;
}

/*** Inline Elements ***/

code, kbd, samp, tt {
	font-family: var(--wp--preset--font-family--mono);
	font-size: .9375em;
	font-style: normal;
	font-weight: 500;
}

:where(cite, em, i) :is(cite, em, i) {
	font-style: normal; /* invert */
}

mark {
	background-color: transparent !important;
	background-image: linear-gradient(transparent 0% 45%, var(--wp--preset--color--highlight) 0% 90%, transparent 0% 100%);
	background-position: 50% 100%;
	background-repeat: no-repeat;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
	color: var(--wp--preset--color--contrast);
	padding-inline: .125em;
	position: relative;
	z-index: 1;
}

small {
	color: var(--wp--preset--color--wash);
	font-size: .875em;
}

sub, sup { /* replace with font-variant-position when supported by browsers and font */
	font-size: var(--wp--preset--font-size--small);
	font-style: normal;
	font-weight: 450;
	line-height: 0;
}
:where(sub, sup) > a {
	padding: .25em; /* increase hit area of footnotes */
}

/*** Embedded Elements ***/

audio, canvas, embed, iframe, img, object, svg, video {
	max-width: 100%; /* responsive media */
	vertical-align: middle;
}
audio, canvas, embed, iframe, img, object, video {
	border-radius: var(--wp--custom--border-radius);
}

audio, video {
	width: 100%; /* browser defaults are 250–300px */
}

audio:where(:not([controls])) {
	display: none;
}

img[src$=".jpg"] {
	background: gray; /* make overlayed text legible before image loads */
}

picture {
	display: contents;
}

source {
	display: none;
}

svg {
	overflow: visible;
	pointer-events: none; /* SVG with fills capture pointer-events, unwanted behavior unless SVG is interactive */
}
svg:where(:not([fill])) {
	fill: currentcolor;
}

/*** Interactive Elements **/

a {
	text-decoration-thickness: calc(.125rem - 1px); /* no -thickness shorthand in Safari; subtract the default pixel */
	text-underline-offset: .06em;
}
/* Make it possible to remove link underlines by inheriting parent style */
[style*="text-decoration:none"] > a:not(:hover):not(:focus):not(:active) {
	text-decoration: inherit;
}

button {
	-webkit-appearance: none;
	appearance: none;
	border: transparent solid var(--wp--custom--border-width);
	cursor: pointer;
	font: inherit;
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
	line-height: 1;
}
[inert] {
	display: none;
	filter: grayscale(100%);
	pointer-events: none; /* activated by JavaScript */
}
input,
select,
[role="combobox"],
[role="listbox"],
textarea {
	border: var(--wp--custom--border-width) solid var(--wp--preset--color--tone);
	border-radius: var(--wp--custom--border-radius);
	color: inherit;
	font: inherit;
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
	letter-spacing: inherit;
	line-height: 1.4;
	max-width: 100%;
	outline: calc( 3px - (100 * var(--wp--custom--border-width)) ) solid var(--wp--preset--color--primary); /* replace outline if we have a border-width */
}
input:not([type="checkbox"]):not([type="radio"]),
select,
[role="combobox"],
[role="listbox"],
textarea {
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
}
input:not([type="button"]):not([type="reset"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
select,
[role="combobox"],
[role="listbox"],
textarea {
	background: var(--wp--preset--color--tone);
	display: block;
	width: 100%;
}
input:not([type="button"]):not([type="reset"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):hover:not(:focus):not(:active),
select:hover:not(:focus):not(:active),
[role="combobox"]:hover:not(:focus):not(:active),
[role="listbox"]:hover:not(:focus):not(:active),
textarea:hover:not(:focus):not(:active) {
	border-color: var(--wp--preset--color--primary-wash);
}
input:focus,
button:focus,
select:focus,
[role="combobox"]:focus,
[role="listbox"]:focus,
textarea:focus {
	border-color: var(--wp--preset--color--hover);
}
input:not([type="button"]):not([type="reset"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
[role="combobox"]:focus,
[role="listbox"]:focus,
textarea:focus {
	background-color: var(--wp--preset--color--base) !important;
}
input:active,
button:active,
select:active,
[role="combobox"]:active,
[role="listbox"]:active,
textarea:active {
	border-color: var(--wp--preset--color--active);
}
textarea {
	resize: vertical;
}
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
	cursor: pointer;
}
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	background-color: var(--wp--preset--color--hover);
}
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	background-color: var(--wp--preset--color--active);
}
[type="search"] {
	-webkit-appearance: textfield; /* Chrome, Edge, Safari */
	appearance: textfield; /* Chrome, Edge, Safari */
}
::-webkit-search-cancel-button {
	display: none;
}
input[type="checkbox"],
input[type="radio"] {
	cursor: pointer;
	margin: 0;
}

/** Switches **/
[role="switch"] {
	--switch-size: .9375em;
	-webkit-appearance: none;
	appearance: none;
	border: var(--wp--custom--border-width) solid;
	border-radius: var(--switch-size);
	box-sizing: content-box; /* make math simpler */
	height: var(--switch-size);
	padding: var(--wp--custom--border-width);
	position: relative;
	width: calc( 2 * var(--switch-size) + var(--wp--custom--border-width) );
}
[role="switch"]:disabled {
	opacity: .35;
	pointer-events: none;
}
[role="switch"]:checked {
	background-color: var(--wp--preset--color--primary);
	border-color: transparent;
}
[role="switch"]::before {
	background-image: var(--background-image);
	border-radius: 50%;
	color: inherit;
	content: "";
	display: block;
	height: var(--switch-size);
	position: relative;
	transition: transform 50ms ease-in;
	width: var(--switch-size);
}
@supports (mask: none) or (-webkit-mask: none) {
	[role="switch"]::before {
		background-color: currentcolor;
		background-image: none;
		-webkit-mask-image: var(--background-image);
		mask-image: var(--background-image);
	}
}
[role="switch"]:checked::before {
	color: var(--wp--preset--color--base);
	transform: translateX( calc( var(--switch-size) + var(--wp--custom--border-width) ) );
}
[name="theme-dark"]::before { --background-image: var(--wp--custom--icon--sun); }
[name="theme-dark"]:checked::before { --background-image: var(--wp--custom--icon--moon); }
[name="theme-large"]::before { --background-image: var(--wp--custom--icon--small); }
[name="theme-large"]:checked::before { --background-image: var(--wp--custom--icon--big); }
[role="switch"]:hover,
[role="switch"]:focus {
	color: var(--wp--preset--color--hover);
}
[role="switch"]:active {
	color: var(--wp--preset--color--active);
}
[role="switch"]:checked:hover,
[role="switch"]:checked:focus {
	background-color: var(--wp--preset--color--hover);
}
[role="switch"]:checked:active {
	background-color: var(--wp--preset--color--active);
}

::placeholder {
	color: var(--wp--preset--color--wash);
}

:target {
	animation: outline 1s 2.5s ease-out forwards;
	border-radius: var(--wp--custom--border-radius);
	outline: max(.25rem, var(--wp--custom--border-width)) solid transparent;
	outline-color: var(--wp--preset--color--active);
	outline-offset: max(.25rem, var(--wp--custom--border-width));
}
@keyframes outline {
	to {
		outline-color: transparent;
	}
}

/*** Layouts ***/

/** Box: add default padding, background-color and border-radius **/
.box {
	background-color: var(--wp--preset--color--tone);
	border-radius: calc( 2 * var(--wp--custom--border-radius) );
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--50);
}
.box-outline {
	border: var(--wp--custom--border-width) solid var(--wp--preset--color--tone);
	border-radius: calc( 2 * var(--wp--custom--border-radius) );
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--50);
}

/** Horizontal Reel: arranges children in a horizontally scrolling container **/
.horizontal-reel {
	align-items: baseline;
	display: grid;
	height: auto;
	grid-auto-flow: column;
	grid-auto-columns: minmax( auto, 60% );
	grid-template-columns: none !important;
	overflow-x: scroll;
	padding-bottom: var(--wp--preset--spacing--50); /* between items and scrollbar */
	scroll-snap-type: x proximity;
	scrollbar-color: var(--wp--preset--color--primary) transparent; /* Firefox */
	scrollbar-width: thin;/* Firefox */
	border-color: var(--wp--preset--color--primary); /* Hack to allow transition on inherited -webkit-scrollbar */
}
.horizontal-reel::-webkit-scrollbar {
	height: var(--wp--custom--scrollbar-width);
}
.horizontal-reel:not(:hover):not(:focus):not(:focus-within):not(:active) {
	border-color: var(--wp--preset--color--primary-wash);
}
.horizontal-reel::-webkit-scrollbar-track {
	background-color: var(--wp--preset--color--tone);
	border-radius: var(--wp--custom--scrollbar-width);
}
.horizontal-reel::-webkit-scrollbar-thumb {
	border-bottom-style: inset;
	border-bottom-width: calc(100vw + 100vh);
	border-color: inherit;
	border-radius: var(--wp--custom--scrollbar-width);
}
.horizontal-reel::-webkit-scrollbar-thumb:active {
	border-color: var(--wp--preset--color--hover);
}
.horizontal-reel .wp-block-post {
	scroll-snap-align: center;
}

/** Vertical Reel: arranges children in a vertically scrolling container **/
.vertical-reel {
	height: 100%;
	max-height: calc( 100vh - ( 6 * var(--wp--preset--spacing--60) ) );
	overflow-y: scroll;
	padding-right: var(--wp--preset--spacing--50); /* between items and scrollbar */
	scroll-snap-type: y proximity;
	scrollbar-color: var(--wp--preset--color--primary) transparent; /* Firefox */
	scrollbar-width: thin;/* Firefox */
	border-color: var(--wp--preset--color--primary); /* Hack to allow transition on inherited -webkit-scrollbar */
}
.vertical-reel::-webkit-scrollbar {
	width: var(--wp--custom--scrollbar-width);
}
.vertical-reel:not(:hover):not(:focus):not(:focus-within):not(:active) {
	border-color: var(--wp--preset--color--primary-wash);
}
.vertical-reel::-webkit-scrollbar-track {
	background-color: var(--wp--preset--color--tone);
	border-radius: var(--wp--custom--scrollbar-width);
}
.vertical-reel::-webkit-scrollbar-thumb {
	border-right-style: inset;
	border-right-width: calc(100vw + 100vh);
	border-color: inherit;
	border-radius: var(--wp--custom--scrollbar-width);
}
.vertical-reel::-webkit-scrollbar-thumb:active {
	border-color: var(--wp--preset--color--hover);
}
.vertical-reel .wp-block-post {
	scroll-snap-align: start;
}

/*** WordPress Blocks ***/
/* In time, theme.json may support some of these block-specific CSS styles */

/* Remove default gap between "root" blocks */
body .wp-site-blocks > * {
	margin-top: 0;
}

/* Fix margin-top following initial float elements in post content */
.wp-block-post-content > :first-child:where(.alignleft, .alignright) + * {
	margin-top: 0;
}

/* Add default border-width in the same way as border-style */
html :where([style*=border-bottom-color]) {
	border-width: var(--wp--custom--border-width);
}

/** Archives **/
.wp-block-archives[class*="column"] {
	padding: 0;
}
.wp-block-archives[class*="column"] li {
	list-style: none; /* wrecks list semantics in Safari */
}
.wp-block-archives[class*="column"] li::before {
	content: "\200B"; /* restores list semantics in Safari */
}
/* Indices inserted by challies\block plugin */
.wp-block-archives .index {
	break-after: avoid-column;
	display: block;
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: bolder;
	text-transform: uppercase;
}
.wp-block-archives .index:not(:first-child) {
	margin-top: var(--wp--preset--spacing--50);
}
.wp-block-archives .index a {
	color: inherit;
}
.wp-block-archives .index a:not(:hover):not(:focus):not(:active) {
	text-decoration: none;
}

/** Buttons **/
.wp-block-button {
	background-image: linear-gradient( var(--wp--preset--color--base), var(--wp--preset--color--base) ); /* prevent translucency */
}
.wp-block-button .wp-block-button__link {
	background-clip: border-box;
	box-shadow: var(--wp--custom--box-shadow--medium);
	word-break: normal;
}
.wp-block-button .wp-block-button__link:active {
	box-shadow: var(--wp--custom--box-shadow--low);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:focus {
	border-color: var(--wp--preset--color--primary-wash);
}
.wp-block-button.is-style-outline .wp-block-button__link:active {
	border-color: currentcolor;
	color: var(--wp--preset--color--active);
}
@supports (mask: none) or (-webkit-mask: none) {
	.wp-block-button__link[href="https://www.patreon.com/challies"]::before {
		background: currentcolor;
		content: "";
		-webkit-mask-image: var(--wp--custom--icon--patreon);
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-size: contain;
		mask-image: var(--wp--custom--icon--patreon);
		mask-repeat: no-repeat;
		mask-size: contain;
		display: inline-block;
		height: 1em;
		margin-right: .5em;
		vertical-align: top;
		width: 1em;
	}
}

/** Details **/
.wp-block-details summary {
	font-weight: 700;
}
.wp-block-details summary::marker,
.wp-block-details summary::-webkit-details-marker {
	color: var(--wp--preset--color--primary);
}
.wp-block-details summary ~ * {
	margin-left: var(--wp--preset--spacing--50);
}

/** Footnotes **/
.wp-block-footnotes li {
	margin-top: var(--wp--preset--spacing--30);
}
.wp-block-footnotes li::marker {
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
}

/* Footnote links */
.fn {
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
}
.fn a {
	position: relative;
}
.fn a::after {
	bottom: 0;
	content: "";
	left: 0;
	margin: -.1666rem -.3333rem; /* enlarge tap area */
	position: absolute;
	right: 0;
	top: 0;
}

/** Headings **/
h5.wp-block-heading + p,
h6.wp-block-heading + p {
	margin-top: 0;
}
.wp-block-heading mark {
	--wp--preset--color--highlight: var(--wp--custom--color--dusky-blue-wash);
	font-weight: 800;
}

/** Lists **/
.wp-block-list-item::marker {
	color: var(--wp--preset--color--wash);
	font-family: var(--wp--preset--font-family--sans);
}
.wp-block-post-content .wp-block-list-item {
	margin-top: var(--wp--preset--spacing--30);
}

/** Navigation **/
:root .wp-block-navigation.has-background {
	background-color: transparent !important;
	color: inherit !important;
}
:root .wp-block-navigation.has-background > .wp-block-navigation__responsive-container {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}
.wp-block-navigation button {
	border-radius: var(--wp--custom--border-radius);
	padding: var(--wp--preset--spacing--20);
}
.wp-block-navigation button:hover,
.wp-block-navigation button:focus,
.wp-block-navigation button:active {
	color: var(--wp--preset--color--primary);
}
.wp-block-navigation__responsive-container button:hover,
.wp-block-navigation__responsive-container button:focus,
.wp-block-navigation__responsive-container button:active {
	border-color: currentcolor;
}
@supports (mask: none) or (-webkit-mask: none) {
	.wp-block-navigation .wp-block-navigation__responsive-container-open svg {
		background-color: currentcolor;
		-webkit-mask-image: var(--wp--custom--icon--menu);
		-webkit-mask-repeat: no-repeat;
		mask-image: var(--wp--custom--icon--menu);
		mask-repeat: no-repeat;
	}
	.wp-block-navigation .wp-block-navigation__responsive-container-open svg > * {
		display: none;
	}
}
.wp-block-navigation__responsive-container.is-menu-open {
	animation: overlay-menu .15s cubic-bezier(.3333,0,.6666,1.3333) forwards;
	box-shadow:
		var(--wp--custom--box-shadow--high),
		5vw 0 0 5vw var(--wp--custom--color--dark); /* bleed for animation bounce */
	box-sizing: border-box;
	height: 100vh; /* overcome position: sticky ancestor */
	left: auto;
	padding: var(--wp--preset--spacing--60);
	right: 0;
	width: min( 92.5vw, var(--wp--custom--layout--normal) );
}
.wp-block-navigation .wp-block-navigation__responsive-dialog {
	margin: 0 !important;
}
.wp-block-navigation .wp-block-navigation__responsive-container-close {
	position: absolute;
}
.wp-block-navigation .wp-block-navigation__responsive-container-close svg {
	stroke: currentcolor;
	stroke-width: 1px;
}
@keyframes overlay-menu {
	from {
		opacity: 0;
		transform: translateX(5vw);
	}
}

/** Paragraphs **/
.wp-block-paragraph.has-background {
	padding: 0; /* undo block style */
}

/* Drop caps: use `initial-letter` once Safari fixes bug that allows web fonts for it */
.wp-block-paragraph.has-drop-cap:first-letter {
	background-image: linear-gradient(var(--wp--custom--color--dusky-blue-wash) 100%, transparent 0%);
	background-position: 50% 100%;
	background-repeat: no-repeat;
	background-size: 75% 75%;
	font-family: var(--wp--preset--font-family--serif);
	font-size: calc( 3em * var(--wp--custom--line-height) );
	font-style: normal;
	font-weight: 700;
	letter-spacing: -.05em; /* art direction, for any included punctuation */
	line-height: .75; /* art direction */
	margin: -.15625em .03125em 0 -.125ch; /* art direction */
	min-width: 1ch;
	padding-right: .0625em; /* art direction */
	text-align: center;
}
.wp-block-paragraph.has-drop-cap:focus:first-letter {
	font-size: inherit;
	line-height: inherit;
	margin: 0;
}

/** Posts **/
/* Disable term links in post query blocks */
.wp-block-post a[rel="tag"] {
	color: inherit;
	pointer-events: none;
	text-decoration: none;
}

/** Post Content **/
/* Adjust line-height for readability */
.wp-block-post-content {
	line-height: var(--wp--custom--line-height);
}
.wp-block-post-content > * {
	margin-top: calc( 1em * var(--wp--custom--line-height ) );
}
@media (min-width: 640px) {
	.wp-block-post-content {
		--wp--custom--line-height: calc( var(--wp--custom--ratio--base) * 1.0625 );
	}
}
@media (min-width: 960px) {
	.wp-block-post-content {
		--wp--custom--line-height: calc( var(--wp--custom--ratio--base) * 1.0625 * 1.0625 );
	}
}
/* Graduated heading sizes */
.wp-block-post-content:has(h1, h2, h3) :is(h1, h2, h3) {
	font-size: var(--wp--preset--font-size--x-large);
	line-height: calc( var(--wp--custom--line-height) / 1.3 );
}
.wp-block-post-content:has(h2) h1,
.wp-block-post-content:has(h3) h2 {
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: calc( var(--wp--custom--line-height) / 1.4 );
}
.wp-block-post-content:has(h2):has(h3) h1 {
	font-size: clamp(1.875rem, 1.875rem - .7rem + 3.5vw, 2.75rem);
	line-height: calc( var(--wp--custom--line-height) / 1.5 );
}

/** Post Dates **/
.wp-block-post-date {
	white-space: nowrap;
}
.wp-block-post-date:has(a:hover, a:focus) {
	background-color: var(--wp--preset--color--hover);
}
.wp-block-post-date:has(a:active) {
	background-color: var(--wp--preset--color--active);
}
/* .is-link added by block plugin */
.wp-block-post-date.is-link {
	padding: 0;
}
.wp-block-post-date.is-link a {
	display: block;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	padding-right: calc( var(--wp--preset--spacing--30) - var(--wp--custom--letter-spacing) );
}

/** Post Excerpts **/
.wp-block-post-excerpt__more-text {
	margin-top: var(--wp--preset--spacing--30);
}
.tap-area .wp-block-post-excerpt__more-link {
	pointer-events: none; /* use post-title link instead */
}

/** Post Featured Images **/
.wp-block-post-featured-image:where(.alignleft,.alignright) {
	width: auto; /* override */
}
.post-item .wp-block-post-featured-image.alignright {
	margin-bottom: 0;
	margin-left: var(--wp--preset--spacing--40);
	max-height: 20vw;
}
@media (max-width: 26.6666rem) {
	.post-item .wp-block-post-featured-image.alignright {
		display: none;
	}
}
/* .is-book-cover may be added by challies blocks plugin */
.wp-block-post-featured-image.is-book-cover {
	text-align: center;
}
.wp-block-post-featured-image.is-book-cover img {
	height: auto !important;
	width: auto !important;
}

/** Post Terms **/
.wp-block-post-terms {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
}
.wp-block-post-terms__separator {
	display: none;
}
.wp-block-post-terms.taxonomy-category a,
.wp-block-post-terms.taxonomy-category span:not(.wp-block-post-terms__prefix):not(.wp-block-post-terms__suffix):not(.wp-block-post-terms__separator) {
	background-color: var(--wp--preset--color--tone);
	border-radius: var(--wp--custom--border-radius);
	color: var(--wp--preset--color--contrast);
	display: inline-block;
	line-height: 1;
	padding: var(--wp--preset--spacing--20);
	padding-left: calc( var(--wp--preset--spacing--20) + var(--wp--custom--letter-spacing) );
	text-decoration: none;
	white-space: nowrap;
}
.wp-block-post-terms.taxonomy-category a:hover,
.wp-block-post-terms.taxonomy-category a:focus {
	color: var(--wp--preset--color--hover);
}
.wp-block-post-terms.taxonomy-category a:active {
	color: var(--wp--preset--color--active);
}
/* Prepend tags with hashtag */
.archive.tag .wp-block-query-title span::before,
.wp-block-post-terms.taxonomy-post_tag [rel="tag"]::before,
.wp-block-post-terms.taxonomy-post_tag span:not(.wp-block-post-terms__prefix):not(.wp-block-post-terms__suffix)::before,
.tag-cloud-link[href*="/topics/"]::before,
.jetpack-filters:nth-child(3) .jetpack-instant-search__search-filter-list-label::before {
	content: "#\202F"; /* hashtag and narrow no-break space */
	opacity: .5;
}

/** Pullquotes **/
.wp-block-pullquote {
	position: relative;
}
.wp-block-pullquote.alignleft {
	max-width: min(40%, var(--wp--custom--layout--narrow));
}
.wp-block-pullquote.alignright {
	max-width: min(40%, var(--wp--custom--layout--narrow));
}
.wp-block-pullquote blockquote {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--50);
}
.wp-block-pullquote p {
	margin: 0;
}
.wp-block-pullquote cite {
	display: block;
}
/* Web share functionality added by JavaScript */
.wp-block-pullquote .do-share {
	background: var(--wp--preset--color--base);
	bottom: 0;
	color: var(--wp--preset--color--primary);
	cursor: pointer;
	display: flex;
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	left: 50%;
	line-height: 1;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	position: absolute;
	transform: translate(-50%,50%);
	white-space: nowrap;
}
.wp-block-pullquote .do-share:hover,
.wp-block-pullquote .do-share:focus {
	color: var(--wp--preset--color--hover);
}
.wp-block-pullquote .do-share:active {
	color: var(--wp--preset--color--active);
}
.wp-block-pullquote .do-share::before {
	height: 1.1em;
}

/** Query Pagination **/
.wp-block-query-pagination {
	background-color: var(--wp--preset--color--tone);
	border-radius: 9em;
	padding: var(--wp--preset--spacing--30);
	width: fit-content;
}
.wp-block-query-pagination > .wp-block-query-pagination-next,
.wp-block-query-pagination > .wp-block-query-pagination-numbers,
.wp-block-query-pagination > .wp-block-query-pagination-previous,
.wp-block-query-pagination .wp-block-query-pagination-previous-arrow:only-child,
.wp-block-query-pagination .wp-block-query-pagination-next-arrow:only-child {
	margin: 0;
}
.wp-block-query-pagination-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: inherit;
	justify-content: center;
}
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next,
.wp-block-query-pagination .page-numbers {
	border: var(--wp--custom--border-width) solid transparent;
	border-radius: 9em;
	display: grid;
	padding: var(--wp--preset--spacing--20);
	place-content: center;
	min-height: calc( 1em * var(--wp--custom--line-height) );
	min-width: calc( 1em * var(--wp--custom--line-height) );
}
.wp-block-query-pagination .page-numbers.current {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}
.wp-block-query-pagination .page-numbers.dots {
	color: var(--wp--preset--color--primary-wash);
}
.wp-block-query-pagination a:hover,
.wp-block-query-pagination a:focus {
	border-color: currentcolor;
	color: var(--wp--preset--color--hover);
}
.wp-block-query-pagination a:active {
	border-color: currentcolor;
	color: var(--wp--preset--color--active);
}

/** Query Titles **/
.wp-block-query-title .results-num,
.wp-block-query-title .archive-name,
.wp-block-query-title .search-term {
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
}
.wp-block-query-title .results-num {
	color: var(--wp--preset--color--wash);
	display: block;
	font-size: var(--wp--preset--font-size--x-large);
	margin-top: var(--wp--preset--spacing--20);
}
.wp-block-query-title .archive-name {
	color: var(--wp--preset--color--primary);
}

/** Quotes (Blockquotes) **/
.wp-block-quote cite {
	display: block;
}

/** Search **/
.wp-block-search__button {
	margin: 0;
}

/** Separator **/
.wp-block-separator {
	flex-shrink: 0;
}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots):not(.alignwide):not(.alignfull) {
	width: 6rem;
}
.wp-block-separator.is-style-dots {
	--background-color: var(--wp--preset--color--wash);
	background-image: radial-gradient(circle, var(--background-color) calc( var(--wp--custom--border-width) / 2 ), transparent 0%) !important;
	background-position: 0% 50% !important;
	background-repeat: repeat-x !important;
	background-size: .5em var(--wp--custom--border-width) !important;
	border-radius: 0;
	border: 0 none;
	height: var(--wp--custom--border-width);
	position: relative;
}
.wp-block-separator.is-style-dots.has-base-background-color { --background-color: var(--wp--preset--color--base); }
.wp-block-separator.is-style-dots.has-contrast-background-color { --background-color: var(--wp--preset--color--contrast); }
.wp-block-separator.is-style-dots.has-tone-background-color { --background-color: var(--wp--preset--color--tone); }
.wp-block-separator.is-style-dots.has-primary-background-color { --background-color: var(--wp--preset--color--primary); }
.wp-block-separator.is-style-dots.has-primary-wash-background-color { --background-color: var(--wp--preset--color--primary-wash); }
.wp-block-separator.is-style-dots.has-primary-tone-background-color { --background-color: var(--wp--preset--color--primary-tone); }
.wp-block-separator.is-style-dots::before {
	display: none;
}

/** Social Links **/
.wp-block-social-links.has-small-icon-size { font-size: var(--wp--preset--font-size--small); }
.wp-block-social-links.has-normal-icon-size { font-size: var(--wp--preset--font-size--medium); }
.wp-block-social-links.has-large-icon-size { font-size: var(--wp--preset--font-size--x-large); }
.wp-block-social-links.has-huge-icon-size { font-size: var(--wp--preset--font-size--xx-large); }
.wp-block-social-links.is-style-logos-only .wp-social-link svg {
	width: auto;
	height: calc(1em * var(--wp--custom--ratio--base));
}
.wp-block-social-links .wp-social-link span:not(.screen-reader-text) {
	font-size: inherit;
}
.wp-block-social-links.is-layout-flex.has-visible-labels.is-horizontal.is-style-logos-only:not(.is-content-justification-center) > .wp-social-link {
	flex-basis: 6em;
}
.wp-block-social-link:is(li):hover { transform: none; }
.wp-block-social-link a:hover { color: var(--wp--preset--color--primary) !important; }
.wp-block-social-link a:focus { color: var(--wp--preset--color--primary) !important; }
.wp-block-social-link a:active { color: var(--wp--preset--color--active) !important; }
.wp-block-social-link:not([style^='color:']) { color: inherit !important; }
.wp-block-social-link.wp-social-link-patreon svg { height: 1.125em !important; }
.wp-block-social-link.wp-social-link-feed svg { height: 1.125em !important; }

/** Table of Contents **/
.wp-block-table-of-contents [role="list"] {
	color: var(--wp--preset--color--wash);
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30);
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

/** Tables **/
.wp-block-table {
	border-collapse: collapse;
	table-layout: fixed;
}
.wp-block-table thead {
	border-bottom-width: var(--wp--custom--border-width);
}
.wp-block-table td,
.wp-block-table th {
	border-color: var(--wp--preset--color--tone);
	border-width: var(--wp--custom--border-width);
	padding: var(--wp--preset--spacing--30);
}
.wp-block-table td {
	vertical-align: top;
}
.wp-block-table th {
	vertical-align: bottom;
}
.wp-block-table th:not(.has-text-align-center):not(.has-text-align-right) {
	text-align: left;
}
.wp-block-table.is-style-stripes {
	border-bottom-width: var(--wp--custom--border-width);
	border-bottom-color: var(--wp--preset--color--tone);
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--wp--preset--color--tone);
}

/** Tag Clouds **/
/* Increase tap area to improve SEO rating. Mind the hashtag using ::before. */
.wp-block-tag-cloud .tag-cloud-link {
	position: relative;
}
.wp-block-tag-cloud .tag-cloud-link::after {
	content: "";
	inset: 0 -.25rem;
	position: absolute;
}
.wp-block-tag-cloud[class*="column"] .tag-cloud-link {
	display: block;
	width: fit-content;
}
.wp-block-tag-cloud .tag-cloud-link:not(:hover):not(:focus):not(:active) .tag-link-count {
	color: var(--wp--preset--color--primary-wash);
}
/* Indices inserted by challies\block plugin */
.wp-block-tag-cloud .index {
	break-after: avoid-column;
	color: inherit;
	display: block;
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: bolder;
	line-height: calc( var(--wp--custom--line-height) / 1.3 );
	margin-left: 0;
	text-transform: uppercase;
	width: fit-content;
}
.wp-block-tag-cloud .index:not(:hover):not(:focus):not(:active) {
	text-decoration: none;
}
.wp-block-tag-cloud .index:not(:first-child) {
	margin-top: var(--wp--preset--spacing--50);
}

/*** Utilities ***/

.align-items-baseline { align-items: baseline !important; }
.clear-both, .clear { clear: both !important; }
.clear-left { clear: left !important; }
.clear-right { clear: right !important; }
.columns-2 {
	column-count: 2 !important;
	column-gap: var(--wp--preset--spacing--50);
}
.columns-3 {
	column-count: 3 !important;
	column-gap: var(--wp--preset--spacing--50);
}
.columns-normal-half {
	column-gap: var(--wp--preset--spacing--60);
	column-width: calc( var(--wp--custom--layout--normal) / 3 ) !important;
}
.columns-normal-third {
	column-gap: var(--wp--preset--spacing--60);
	column-width: calc( var(--wp--custom--layout--normal) / 4 ) !important;
}
.columns-wide-half {
	column-gap: var(--wp--preset--spacing--60);
	column-width: calc( var(--wp--custom--layout--wide) / 3 ) !important;
}
.columns-wide-third {
	column-gap: var(--wp--preset--spacing--60);
	column-width: calc( var(--wp--custom--layout--wide) / 4 ) !important;
}
.columns-wide-fourth {
	column-gap: var(--wp--preset--spacing--60);
	column-width: calc( var(--wp--custom--layout--wide) / 5 ) !important;
}
.columns-full-half {
	column-gap: var(--wp--preset--spacing--60);
	column-width: calc( var(--wp--custom--layout--full) / 3 ) !important;
}
.display-flow-root { display: flow-root !important; }
.display-inline { display: inline !important; }
.flex-basis-narrow {
	flex-basis: calc( var(--wp--custom--layout--narrow) / var(--wp--custom--ratio--base) );
	flex-grow: calc( var(--wp--custom--ratio--narrow) * var(--wp--custom--ratio--base) );
	flex-shrink: calc( var(--wp--custom--ratio--narrow) * var(--wp--custom--ratio--base) );
}
.flex-basis-normal {
	flex-basis: calc( var(--wp--custom--layout--normal) / var(--wp--custom--ratio--base) );
	flex-grow: var(--wp--custom--ratio--base);
	flex-shrink: var(--wp--custom--ratio--base);
}
.flex-basis-wide {
	flex-basis: calc( var(--wp--custom--layout--wide) / var(--wp--custom--ratio--base) );
	flex-grow: calc( var(--wp--custom--ratio--wide) * var(--wp--custom--ratio--base) );
	flex-shrink: calc( var(--wp--custom--ratio--wide) * var(--wp--custom--ratio--base) );
}
.flex-direction-row-reverse { flex-direction: row-reverse; }
.flex-grow-0 { flex-grow: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }
.float-left,
.alignleft {
	float: left;
	margin-right: var(--wp--preset--spacing--50);
	margin-bottom: var(--wp--preset--spacing--50);
	max-width: 40%;
}
.float-right,
.alignright {
	float: right;
	margin-left: var(--wp--preset--spacing--50);
	margin-bottom: var(--wp--preset--spacing--50);
	max-width: 40%;
}
.has-border-radius { border-radius: var(--wp--custom--border-radius) !important; }
.has-border-radius-2 { border-radius: calc( 2 * var(--wp--custom--border-radius) ) !important; }
.has-box-shadow { box-shadow: var(--wp--custom--box-shadow--medium); }
.has-box-shadow-high { box-shadow: var(--wp--custom--box-shadow--high); }
.has-box-shadow-low,
:where(a,button).has-box-shadow:active { box-shadow: var(--wp--custom--box-shadow--low); }
.has-large-font-size { line-height: calc( var(--wp--custom--line-height) / 1.1 ); }
.has-x-large-font-size { line-height: calc( var(--wp--custom--line-height) / 1.3 ); }
.has-xx-large-font-size { line-height: calc( var(--wp--custom--line-height) / 1.4 ); }
.justify-self-center { justify-self: center !important; }
.justify-content-space-around { justify-content: space-around !important; }
.justify-content-space-evenly { justify-content: space-evenly !important; }
.leading-trim { margin-block: var(--wp--custom--leading-trim) !important; }
.line-clamp-1, .line-clamp-2, .line-clamp-3, .line-clamp-4, .line-clamp-5, .line-clamp-6, .line-clamp-7 { display: -webkit-box !important; overflow: hidden !important; -webkit-box-orient: vertical !important; }
.line-clamp-1 { -webkit-line-clamp: 1 !important; }
.line-clamp-2 { -webkit-line-clamp: 2 !important; }
.line-clamp-3 { -webkit-line-clamp: 3 !important; }
.line-clamp-4 { -webkit-line-clamp: 4 !important; }
.line-clamp-5 { -webkit-line-clamp: 5 !important; }
.line-clamp-6 { -webkit-line-clamp: 6 !important; }
.line-clamp-7 { -webkit-line-clamp: 7 !important; }
.list-style-none { list-style: none; /* wrecks list semantics in Safari */ }
.list-style-none li::before { content: "\200B"; /* restores list semantics in Safari */ }
.max-width-narrow { max-width: min( 100%, var(--wp--custom--layout--narrow) ) !important; margin-left: auto; margin-right: auto; }
.max-width-normal { max-width: min( 100%, var(--wp--custom--layout--normal) ) !important; margin-left: auto; margin-right: auto; }
.max-width-wide { max-width: min( 100%, var(--wp--custom--layout--wide) ) !important; margin-left: auto; margin-right: auto; }
.max-width-full { max-width: min( 100%, var(--wp--custom--layout--full) ) !important; margin-left: auto; margin-right: auto; }
.max-width-max { max-width: min( 100%, var(--wp--custom--layout--max) ) !important; margin-left: auto; margin-right: auto; }
.overflow-hidden { overflow: hidden !important; }
.width-narrow { max-width: 100% !important; width: var(--wp--custom--layout--narrow) !important; }
.width-normal { max-width: 100% !important; width: var(--wp--custom--layout--normal) !important; }
.width-wide { max-width: 100% !important; width: var(--wp--custom--layout--wide) !important; }
.width-full { max-width: 100% !important; width: var(--wp--custom--layout--full) !important; }
.width-max { max-width: 100% !important; width: var(--wp--custom--layout--max) !important; }
.width-100 { width: 100% !important; }

/* Special utilities */
.no-link, .no-link a { pointer-events: none; }
body:not(.editor-styles-wrapper) .tap-area { position: relative; }
body:not(.editor-styles-wrapper) .tap-area a:not(.components-external-link)::after {
	border-radius: calc( 2 * var(--wp--custom--border-radius) );
	bottom: 0;
	content: "";
	left: 0;
	margin: calc( -1 * var(--wp--preset--spacing--50) );
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}
body:not(.editor-styles-wrapper) .tap-area a:not(.components-external-link):hover::after { z-index: 2; }
body:not(.editor-styles-wrapper) .tap-area a:not(.components-external-link):focus::after {
	background-color: var(--wp--preset--color--primary-tone);
	outline: none;
}

/** Icons **/
@supports (mask: none) or (-webkit-mask: none) {
	/* Accommodate WordPress buttons which set class on parent element */
	:where(.has-icon-arrow, .has-icon-download, .has-icon-external, .has-icon-link, .has-icon-pen, .has-icon-search, .has-icon-share) a::before,
	:where(a, button):where(.has-icon-arrow, .has-icon-download, .has-icon-external, .has-icon-link, .has-icon-pen, .has-icon-search, .has-icon-share)::before,
	.has-icon-ereader::before {
		--icon-size: 1em;
		aspect-ratio: 1;
		background-color: currentcolor;
		content: "";
		display: inline-block;
		float: left;
		height: var(--icon-size);
		margin-right: .375em;
		margin-top: calc( ( var(--icon-size) * var(--wp--custom--line-height) - var(--icon-size) ) / 2 );
		margin-top: calc( ( 1lh - var(--icon-size) ) / 2 );
		-webkit-mask-image: var(--mask-image);
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-size: contain;
		mask-image: var(--mask-image);
		mask-repeat: no-repeat;
		mask-size: contain;
	}
	.has-right-icon a::before,
	:where(a, button).has-right-icon::before {
		float: right;
		margin-left: .375em;
		margin-right: 0;
	}
	.has-icon-arrow a::before,
	:where(a, button).has-icon-arrow::before {
		--mask-image: var(--wp--custom--icon--arrow);
	}
	.has-icon-download a::before,
	:where(a, button).has-icon-download::before {
		--mask-image: var(--wp--custom--icon--download);
	}
	.has-icon-external a::before,
	:where(a, button).has-icon-external::before {
		--mask-image: var(--wp--custom--icon--external);
	}
	.has-icon-link a::before,
	:where(a, button).has-icon-link::before {
		--mask-image: var(--wp--custom--icon--link);
	}
	.has-icon-pen a::before,
	:where(a, button).has-icon-pen::before {
		--mask-image: var(--wp--custom--icon--pen);
	}
	.has-icon-search a::before,
	:where(a, button).has-icon-search::before {
		--mask-image: var(--wp--custom--icon--search);
	}
	.has-icon-share a::before,
	:where(a, button).has-icon-share::before {
		--mask-image: var(--wp--custom--icon--share);
	}
	.has-icon-ereader::before {
		--mask-image: var(--wp--custom--icon--ereader);
		aspect-ratio: 40 / 56;
	}
}

/* Interpret uppercase as all-small-caps intent */
[style*="text-transform:uppercase"],
.all-small-caps,
.brow {
	font-size: .8125em;
	letter-spacing: var(--wp--custom--letter-spacing);
	text-transform: uppercase;
}

/* Skip link */
a[href='#content'] {
	background-color: var(--wp--preset--color--primary);
	border: 0;
	border-radius: var(--wp--custom--border-radius);
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	color: var(--wp--preset--color--base) !important;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	text-decoration: none;
	width: 1px;
	word-wrap: normal !important;
}
a[href='#content']:focus {
	box-shadow: var(--wp--custom--box-shadow--medium);
	clip: auto !important;
	-webkit-clip-path: none;
	clip-path: none;
	display: block;
	height: auto;
	left: calc( var(--wp--preset--spacing--60) / 2 );
	padding: var(--wp--preset--spacing--30);
	top: calc( var(--wp--preset--spacing--60) / 2 );
	width: auto;
	z-index: 100000;
}

/*** Templates ***/

/** Site Header **/

/* Smart sticky nav */
.challies-header {
	--transition-duration: .15s;
}
.is-scrolling-up .challies-header,
.is-off-header .challies-header:focus-within {
	animation: challies-header var(--transition-duration) cubic-bezier(.3333,0,.6666,1.5) forwards;
	background-color: var(--wp--preset--color--base); /* fallback */
	/* Special handling to make translucent backgrounds opaque when sticky */
	background-image:
		linear-gradient( var(--background-color, transparent), var(--background-color, transparent) ),
		linear-gradient( var(--wp--preset--color--base), var(--wp--preset--color--base) );
	color: var(--wp--preset--color--contrast); /* fallback */
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0);
	z-index: 1000;
}
.is-scrolling-up .challies-header::before,
.is-off-header .challies-header:focus-within::before {
	background: inherit;
	bottom: 100%;
	content: "";
	height: 5vh; /* bleed background for bounce */
	left: 0;
	position: absolute;
	right: 0;
}
.challies-header.has-tone-background-color { --background-color: var(--wp--preset--color--tone); }
.challies-header.has-wash-background-color { --background-color: var(--wp--preset--color--wash); }
.challies-header.has-primary-tone-background-color { --background-color: var(--wp--preset--color--primary-tone); }
.is-scrolling-up .challies-header,
.is-off-header .challies-header:focus-within {
	box-shadow: var(--wp--custom--box-shadow--medium);
}
@keyframes challies-header {
	from {
		opacity: 0;
	}
}

/* Hide top-level nav and switches on mobile */
@media (max-width: 960px) {
	.challies-header .wp-block-navigation[aria-label="Primary"] li:not(.has-icon-search),
	.challies-header .challies-theme-switches {
		display: none;
	}
	.challies-header .wp-block-navigation[aria-label="Primary"] .has-icon-search {
		margin-right: calc( var(--wp--preset--spacing--60) / -2 );
	}
	/* Retain accessibility */
	.challies-header .wp-block-navigation[aria-label="Primary"] .has-icon-search .wp-block-navigation-item__label {
		border: 0;
		clip: rect(1px, 1px, 1px, 1px);
		-webkit-clip-path: inset(50%);
		clip-path: inset(50%);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
		word-wrap: normal !important;
	}
}

.challies-header .has-icon-search a::before {
	--icon-size: 1.25em;
}

/* Increase tap area of nav items */
.challies-header a,
.challies-header button,
.challies-header input {
	position: relative;
}
.challies-header a::after,
.challies-header button::after,
.challies-header input::after {
	bottom: -.75em;
	content: "";
	left: -.75em;
	right: -.75em;
	top: -.75em;
	position: absolute;
}

/** Explore **/
.challies-explore .wp-block-tag-cloud,
.challies-explore .wp-block-archives {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30);
	list-style: none;
	margin: 0;
	padding: 0;
}
.challies-explore .wp-block-tag-cloud > .tag-cloud-link,
.challies-explore .wp-block-archives > li {
	line-height: 1.2;
	margin: 0;
}

/** Site Footer **/
.challies-bio .wp-block-image {
	margin: .25em 1em .75em 0 !important;
}

/** Single **/
.single-grid {
	--grid-gap: var(--wp--preset--spacing--60);
	display: grid;
	grid-template:
		". header  ." -webkit-min-content
		". image   ." -webkit-min-content
		". image   ." -webkit-min-content
		". sponsor ." -webkit-min-content
		". content ." -webkit-min-content
		". sidebar ." -webkit-min-content / 0 1fr 0;
	grid-template:
		". header  ." min-content
		". image   ." min-content
		". image   ." min-content
		". sponsor ." min-content
		". content ." min-content
		". sidebar ." min-content / 0 1fr 0;
	gap: 0 var(--grid-gap);
}
@media (min-width: 66.66rem) {
	/* A little magic… */
	/* Min. percentages need to be calculated = 50% of total ratio (ex. 50% * --wide / ( --wide + --narrow )) */
	.single-grid {
		--grid-gap: var(--wp--preset--spacing--80);
		grid-template:
			". header  header  ." -webkit-min-content
			". image   .       ." -webkit-min-content
			". image   sponsor ." -webkit-min-content
			". content sponsor ." 1fr
			". content sidebar ." 4fr / auto  minmax( 35%, var(--wp--custom--layout--wide) ) minmax( 15%, var(--wp--custom--layout--narrow) ) auto;
		grid-template:
			". header  header  ." min-content
			". image   .       ." min-content
			". image   sponsor ." min-content
			". content sponsor ." 1fr
			". content sidebar ." 4fr / auto  minmax( 35%, var(--wp--custom--layout--wide) ) minmax( 15%, var(--wp--custom--layout--narrow) ) auto;
	}
}
.single-grid::before {
	background: var(--wp--preset--color--contrast);
	content: "";
	grid-area: 1 / 1 / 3 / -1;
	transition: background-color .15s ease-out;
}
[data-theme-dark] .single-grid::before {
	background: var(--wp--custom--color--dark-mode-dark);
}
.single-grid-header {
	grid-area: header;
}
:root .single-grid-header.has-contrast-background-color {
	background-color: transparent !important;
}
.single-grid-image {
	grid-area: image;
	width: 100%;
}
.single-grid-sponsor {
	grid-area: sponsor;
}
.single-grid-content {
	grid-area: content;
	width: 100%;
}
.single-grid-sidebar {
	grid-area: sidebar;
}

/** Post Meta **/

/* Add status flags */
.status-draft h1.wp-block-post-title + .challies-post-meta::before,
.status-future h1.wp-block-post-title + .challies-post-meta::before,
.status-pending h1.wp-block-post-title + .challies-post-meta::before,
.status-private h1.wp-block-post-title + .challies-post-meta::before,
.status-protected h1.wp-block-post-title + .challies-post-meta::before {
	background-color: var(--wp--custom--color--light-highlight);
	border-radius: var(--wp--custom--border-radius);
	color: var(--wp--preset--color--base);
	display: inline-block;
	font-family: var(--wp--preset--font-family--sans);
	font-size: .8125em;
	font-weight: 600;
	letter-spacing: var(--wp--custom--letter-spacing);
	line-height: 1;
	padding: var(--wp--preset--spacing--20);
	padding-left: calc( var(--wp--preset--spacing--20) + var(--wp--custom--letter-spacing) );
	text-transform: uppercase;
	vertical-align: top;
}
.status-draft h1.wp-block-post-title + .challies-post-meta::before { content: "Draft"; }
.status-future h1.wp-block-post-title + .challies-post-meta::before { content: "Scheduled"; }
.status-pending h1.wp-block-post-title + .challies-post-meta::before { content: "Pending"; }
.status-private h1.wp-block-post-title + .challies-post-meta::before { content: "Private"; }
.status-protected h1.wp-block-post-title + .challies-post-meta::before { content: "Protected"; }

/** Book Archives **/
@media (max-width: 960px) {
	/* Override WordPress default */
	.post-type-archive-book .wp-block-post-template-is-layout-grid {
		grid-template-columns: 1fr !important;
	}

}

/** Asides (Patterns / Synced Blocks) **/

/* Latest items */
.challies-latest {
	--marker-distance: var(--wp--preset--spacing--60);
	--marker-width: 1rem;
	padding-left: var(--marker-distance);
	position: relative;
}
.challies-latest::before {
	background-image: radial-gradient(circle, var(--wp--preset--color--primary-wash) calc( var(--wp--custom--border-width) / 2 ), transparent 0%);
	background-position: 50% 100%;
	background-repeat: repeat-y;
	background-size: var(--wp--custom--border-width) .5em;
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	top: var(--marker-width);
	transform: translateX(-50%);
	width: var(--marker-width);
}
.challies-latest .wp-block-post-title a::before {
	background-color: var(--wp--preset--color--base);
	border: var(--wp--custom--border-width) solid var(--wp--preset--color--base);
	border-radius: 9em;
	box-sizing: border-box;
	color: var(--wp--custom--color--dusky-blue);
	content: "";
	height: calc( var(--marker-width) - ( 2 * var(--wp--custom--border-width) ) );
	left: calc( -1 * var(--marker-distance) );
	outline: var(--wp--custom--border-width) solid;
	position: absolute;
	top: calc( 1.2em / 2 ); /* fallback */
	top: calc( 1lh / 2 );
	transform: translate(-50%,-50%);
	width: calc( var(--marker-width) - ( 2 * var(--wp--custom--border-width) ) );
}
.challies-latest .wp-block-post-title a:visited::before,
.challies-latest .wp-block-post-title a:hover::before,
.challies-latest .wp-block-post-title a:focus::before {
	background-color: currentcolor;
}
.challies-latest .wp-block-post-title a:active::before {
	color: var(--wp--preset--color--active);
}

.challies-next-items > .wp-block-group:has(.wp-block-post-navigation-link:empty),
.challies-next-items > .wp-block-group:has(.wp-block-post-navigation-link:empty) + hr {
	display: none;
}
.challies-next-items > .wp-block-group:has(.wp-block-post-navigation-link:empty) + hr + .wp-block-group {
	margin-top: 0;
}

/* A La Carte item */
.challies-alacarte-item a:not(.components-external-link) {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@supports (mask: none) or (-webkit-mask: none) {
	.challies-alacarte-item a:not(.components-external-link)::before {
		aspect-ratio: 1;
		margin-right: .375em;
		-webkit-mask-image: var(--wp--custom--icon--link);
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-size: contain;
		mask-image: var(--wp--custom--icon--link);
		mask-repeat: no-repeat;
		mask-size: contain;
		background-color: currentcolor;
		content: "";
		display: inline-block;
		height: calc( 1em * var(--wp--custom--line-height) ); /* 1lh */
		vertical-align: top;
	}
}

/* Book */
.challies-book header {
	text-align: center;
}
.challies-book .book-meta,
.challies-book header .is-layout-flex {
	font-size: var(--wp--preset--font-size--small);
	justify-content: center;
	line-height: 1.4;
}
.challies-book .book-title {
	font-size: var(--wp--preset--font-size--large);
	font-style: italic;
	font-weight: 700;
	line-height: 1.2;
}
.challies-book .book-author ~ p {
	color: var(--wp--preset--color--wash);
}
.category-book-reviews .challies-book.alignleft,
.category-book-reviews .challies-book.alignright {
	max-width: min( 14rem, 40% );
}

/* SquareQuote */
.challies-squarequote.box {
	padding: calc( var(--wp--preset--spacing--60) / 2 );
}
.squarequote-image {
	width: 100%;
}
.squarequote-image img {
	display: block;
	width: inherit;
}
.squarequote-logo {
	mix-blend-mode: luminosity;
	width: 6rem;
}
.squarequote-quote {
	font-style: italic;
}
.squarequote-quote p {
	margin: 0;
}
.squarequote-quote p + p,
.squarequote-quote cite {
	margin-top: var(--wp--preset--spacing--30);
}
.squarequote-quote cite {
	color: var(--wp--preset--color--wash);
}
.squarequote-actions {
	font-size: var(--wp--preset--font-size--small);
	gap: calc( var(--wp--preset--spacing--60) / 2 );
}

.challies-featured-items .has-icon-ereader::before {
	margin-right: 0;
	margin-top: 0;
}
.challies-featured-items .subtitle {
	color: var(--wp--preset--color--wash);
	display: block;
	font-family: var(--wp--preset--font-family--sans);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: normal;
}
.challies-books .subtitle {
	color: var(--wp--preset--color--wash);
	display: block;
	font-family: var(--wp--preset--font-family--sans);
	font-size: .875em;
	font-weight: 600;
}
.challies-book-reviews .wp-block-post {
	min-width: 8rem;
}
aside .wp-block-post:last-child article + hr,
.challies-latest article + hr,
.challies-trending article + hr,
.archive .wp-block-post article + hr,
.search .wp-block-post article + hr {
	display: none;
}

.has-counter {
	--counter: list-counter;
	counter-reset: var(--counter);
}
.has-page-counter {
	--counter: page-counter;
}
.has-counter > li,
.has-page-counter > li {
	counter-increment: var(--counter);
	display: flex;
	gap: var(--wp--preset--spacing--40);
}
.has-counter > li::before,
.has-page-counter > li::before {
	background-color: var(--wp--custom--color--dusky-blue);
	border-radius: 50%;
	color: var(--wp--preset--color--base);
	content: counter( var(--counter) );
	display: grid;
	flex-shrink: 0;
	font-family: var(--wp--preset--font-family--sans);
	font-size: min( 5vw, var(--wp--preset--font-size--x-large) );
	height: 2em;
	letter-spacing: -.0625em; /* art direction */
	line-height: 1;
	place-items: center;
	width: 2em;
}
.has-counter > li:has(.tap-area),
.has-page-counter > li:has(.tap-area) {
	position: relative;
}
.has-counter > li:has(.tap-area) .tap-area,
.has-page-counter > li:has(.tap-area) .tap-area {
	position: static; /* enlarge tap-area container to include counter */
}
.has-counter > li:has(a:hover, a:focus)::before,
.has-page-counter > li:has(a:hover, a:focus)::before {
	background-color: var(--wp--preset--color--hover);
}
.has-counter > li:has(a:active)::before,
.has-page-counter > li:has(a:active)::before {
	background-color: var(--wp--preset--color--active);
}

/*** Post Categories ***/
.category-a-la-carte .wp-block-post-content .wp-block-heading {
	font-size: var(--wp--preset--font-size--medium);
	line-height: calc( var(--wp--custom--line-height) / 1.1 );
}
.category-a-la-carte .wp-block-post-content .wp-block-heading + p {
	margin-top: var(--wp--preset--spacing--30);
}
@supports (selector(p:has(a))) {
	@supports (mask: none) or (-webkit-mask: none) {
		.category-a-la-carte .wp-block-post-content .wp-block-heading a[href][target="_blank"]::before {
			--mask-image: var(--wp--custom--icon--external-circle);
			aspect-ratio: 1;
			margin: .125em .375em 0 0;
			-webkit-mask-image: var(--mask-image);
			-webkit-mask-repeat: no-repeat;
			-webkit-mask-size: contain;
			mask-image: var(--mask-image);
			mask-repeat: no-repeat;
			mask-size: contain;
			background-color: currentcolor;
			content: "";
			display: inline-block;
			height: 1.25em;
			vertical-align: top;
		}
	}
}

/*** Individual Pages ***/

/** About Page **/
@media (max-width: 609px) {
	body.page-about .wp-block-post-content > header.is-layout-flex > .is-vertical {
		align-items: center;
		text-align: center;
	}
}
@media (max-width: 1185px) {
	body.page-about .wp-block-post-content > header.has-background {
		margin-bottom: max( -60vw, -16rem ) !important;
		padding-bottom: min( 60vw, 16rem ) !important;
	}
}

/** Kindle Page **/
@supports (mask: none) or (-webkit-mask: none) {
	.page-kindle-deals-for-christians .wp-block-post-title::before {
		aspect-ratio: 40 / 56;
		-webkit-mask-image: var(--wp--custom--icon--ereader);
		-webkit-mask-size: contain;
		mask-image: var(--wp--custom--icon--ereader);
		mask-size: contain;
		background-color: currentcolor;
		content: "";
		display: inline-block;
		height: calc( 1em * var(--wp--custom--line-height) ); /* 1lh */
		margin: -.375em var(--wp--preset--spacing--50) -.375em 0;
		position: relative;
	}
}

/*** Plugins ***/

/** Jetpack **/

/* Instagram Posts */
.wp-block-jetpack-instagram-gallery__grid.vertical-reel .wp-block-jetpack-instagram-gallery__grid-post {
	box-shadow: var(--wp--custom--box-shadow--medium);
	padding: 0 !important;
	scroll-snap-align: start;
}
.wp-block-jetpack-instagram-gallery__grid.vertical-reel .wp-block-jetpack-instagram-gallery__grid-post + .wp-block-jetpack-instagram-gallery__grid-post {
	margin-top: var(--wp--preset--spacing--50);
}

/* Forms */
.wp-block-jetpack-contact-form-container > * {
	/* Jetpack fails to update dynamically. */
	--jetpack--contact-form--primary-color: var(--wp--preset--color--primary);
	--jetpack--contact-form--background-color: var(--wp--preset--color--base);
	--jetpack--contact-form--text-color: var(--wp--preset--color--contrast);
	--jetpack--contact-form--border: var(--wp--custom--border-width) solid var(--wp--preset--color--tone);
	--jetpack--contact-form--border-color: var(--wp--preset--color--tone);
	--jetpack--contact-form--border-size: var(--wp--custom--border-width);
	--jetpack--contact-form--border-style: solid;
	--jetpack--contact-form--border-radius: var(--wp--custom--border-radius);
	--jetpack--contact-form--input-background: var(--wp--preset--color--tone);
	--jetpack--contact-form--input-background-fallback: var(--wp--preset--color--tone);
	--jetpack--contact-form--input-padding: .6666rem 1rem;
	--jetpack--contact-form--input-padding-top: .6666rem;
	--jetpack--contact-form--input-padding-left: 1rem;
	--jetpack--contact-form--font-size: 1rem;
	--jetpack--contact-form--font-family: pt-sans-pro, system-ui, sans-serif;
	--jetpack--contact-form--line-height: 1.3888;
	--jetpack--contact-form--button-primary--color: var(--wp--preset--color--base);
	--jetpack--contact-form--button-primary--background-color: var(--wp--preset--color--primary);
	--jetpack--contact-form--button-primary--border: var(--wp--custom--border-width) solid transparent;
	--jetpack--contact-form--button-primary--border-color: transparent;
	--jetpack--contact-form--button-outline--padding: .6666rem 1.5rem;
	--jetpack--contact-form--button-outline--border: var(--wp--custom--border-width) solid var(--wp--preset--color--primary);
	--jetpack--contact-form--button-outline--background-color: transparent;
	--jetpack--contact-form--button-outline--background-color-fallback: var(--wp--preset--color--contrast);
	--jetpack--contact-form--button-outline--border-size: var(--wp--custom--border-width);
	--jetpack--contact-form--button-outline--border-radius: var(--wp--custom--border-radius);
	--jetpack--contact-form--button-outline--text-color: var(--wp--preset--color--primary);
	--jetpack--contact-form--button-outline--line-height: 1rem;
}
.wp-block-jetpack-contact-form-container .wp-block-jetpack-contact-form {
	padding: 0 !important;
}
.wp-block-jetpack-contact-form-container .contact-form label {
	line-height: 1.2;
	margin-bottom: var(--wp--preset--spacing--20);
}
.wp-block-jetpack-contact-form-container .contact-form label span:not([class]) {
	color: var(--wp--preset--color--wash);
	font-size: .875em;
	font-weight: normal;
	margin-left: var(--wp--preset--spacing--20);
	opacity: 1;
}
.wp-block-jetpack-contact-form-container .contact-form label.checkbox-multiple,
.wp-block-jetpack-contact-form-container .contact-form label.radio {
	font-family: var(--wp--preset--font-family--sans);
	font-weight: 600;
}
.wp-block-jetpack-contact-form-container .contact-form input.checkbox-multiple::before,
.wp-block-jetpack-contact-form-container .contact-form input.radio::before {
	background-color: var(--wp--preset--color--tone);
	border-color: var(--wp--preset--color--tone);
	border-width: var(--wp--custom--border-width);
}
.wp-block-jetpack-contact-form-container .contact-form input.checkbox-multiple:hover::before,
.wp-block-jetpack-contact-form-container .contact-form input.radio:hover::before {
	border-color: var(--wp--preset--color--primary-wash);
}
.wp-block-jetpack-contact-form-container .contact-form input.checkbox-multiple:focus::before,
.wp-block-jetpack-contact-form-container .contact-form input.radio:focus::before {
	background-color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--primary);
}
.wp-block-jetpack-contact-form-container .contact-form input.checkbox-multiple:active::before,
.wp-block-jetpack-contact-form-container .contact-form input.radio:active::before {
	border-color: var(--wp--preset--color--active);
}
.wp-block-jetpack-contact-form-container .contact-form .contact-form-dropdown__button[aria-expanded="true"] {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}
.wp-block-jetpack-contact-form-container .contact-form .contact-form-dropdown__menu [role="listbox"] {
	background-color: var(--wp--preset--color--base);
	border-color: var(--wp--preset--color--hover) !important;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	margin-top: calc( -1 * var(--wp--custom--border-width) );
	max-height: 12em;
}
.wp-block-jetpack-contact-form-container .contact-form .ui-selectmenu-icon::after {
	transition: none;
}
.wp-block-jetpack-contact-form-container .contact-form .contact-form-dropdown__menu .ui-state-active {
	background-color: var(--wp--preset--color--primary-tone) !important;
	color: inherit !important;
}
.wp-block-jetpack-contact-form-container .contact-form textarea {
	height: 12rem;
	max-height: 85vh;
}
.wp-block-jetpack-contact-form-container .contact-form-submission {
	background-color: var(--wp--preset--color--tone);
	border: 0 none;
	border-radius: var(--wp--custom--border-radius);
	box-sizing: border-box;
	margin: 0;
	padding: var(--wp--preset--spacing--60);
}
.wp-block-jetpack-contact-form-container .contact-form-submission .field-value {
	margin-bottom: var(--wp--preset--spacing--50);
}
.wp-block-jetpack-contact-form-container .contact-form-submission .field-value:last-of-type {
	margin-bottom: 0;
}
.wp-block-jetpack-contact-form-container .contact-form-submission .go-back-message {
	margin-top: 0;
}
.wp-block-jetpack-contact-form-container .contact-form-submission .go-back-message a::before {
	content: "← ";
}
.wp-block-jetpack-button:not(.is-style-outline) button {
	border: var(--wp--custom--border-width) solid transparent;
}

/* Search */
.jetpack-instant-search__overlay {
	background-color: hsla(0,0%,0%,.52) !important;
	color: inherit !important;
	font-size: inherit !important;
	padding: var(--wp--preset--spacing--60) !important;
}
.jetpack-instant-search__search-results-wrapper {
	border-radius: 0 !important;
	max-width: var(--wp--custom--layout--full) !important;
	overflow: visible !important;
	padding: 0 !important;
}
.jetpack-instant-search ::selection {
	background-color: #b3d4fc !important;
	color: inherit !important;
}
.jetpack-instant-search__search-results-wrapper.has-colophon {
	padding-bottom: 0 !important;
}
.jetpack-instant-search__jetpack-colophon {
	display: none !important;
}
.jetpack-instant-search__search-results {
	background-color: var(--wp--preset--color--base) !important;
	border-radius: calc( 2 * var(--wp--custom--border-radius) ) !important;
	box-shadow:
		inset 0 0 0 1px hsla(0,0%,100%,95%),
		0 0 var(--wp--preset--spacing--80) hsla(0,0%,0%,20%),
		0 0 var(--wp--preset--spacing--40) hsla(0,0%,0%,25%) !important;
	color: var(--wp--preset--color--contrast) !important;
	display: flex !important;
	flex-direction: column !important;
	gap: var(--wp--preset--spacing--60);
	padding: var(--wp--preset--spacing--60) !important;
}
.jetpack-instant-search__search-results mark {
	background-color: var(--wp--preset--color--highlight) !important;
	color: inherit !important;
	position: static !important;
}
.jetpack-instant-search__search-result-title mark {
	background-color: transparent !important;
}
.jetpack-instant-search__box-gridicon {
	display: none !important;
}
.jetpack-instant-search .jetpack-instant-search__overlay-close {
	background: var(--wp--preset--color--base) !important;
	border: var(--wp--custom--border-width) solid var(--wp--preset--color--primary-wash) !important;
	border-radius: 9em;
	box-shadow: var(--wp--custom--box-shadow--medium) !important;
	box-sizing: content-box;
	color: var(--wp--preset--color--primary) !important;
	display: grid !important;
	font: inherit !important;
	height: 1em !important;
	margin: calc( var(--wp--preset--spacing--60) + var(--wp--preset--spacing--30) );
	padding: var(--wp--preset--spacing--30) !important;
	place-content: center !important;
	position: fixed !important;
	right: max( 0%, ( 100% - ( 2 * var(--wp--preset--spacing--60) ) - var(--wp--custom--layout--full) ) / 2 ) !important;
	top: 0 !important;
	width: 1em !important;
	z-index: 999;
}
.jetpack-instant-search .jetpack-instant-search__overlay-close:hover,
.jetpack-instant-search .jetpack-instant-search__overlay-close:focus {
	background: var(--wp--preset--color--base) !important;
	border-color: currentcolor !important;
	color: var(--wp--preset--color--hover) !important;
}
.jetpack-instant-search .jetpack-instant-search__overlay-close:active {
	border-color: currentcolor !important;
	box-shadow: var(--wp--custom--box-shadow--low) !important;
	color: var(--wp--preset--color--active) !important;
}
.jetpack-instant-search__overlay-close svg.gridicon {
	fill: currentcolor !important;
}
.jetpack-instant-search__search-results-search-form {
	font-size: inherit !important;
}
.jetpack-instant-search__box {
	border: 0 none !important;
}
.jetpack-instant-search__box-input {
	-webkit-appearance: textfield !important; /* Chrome, Edge, Safari */
	appearance: textfield !important; /* Chrome, Edge, Safari */
	background: var(--wp--preset--color--tone) !important;
	border: var(--wp--custom--border-width) solid var(--wp--preset--color--tone) !important;
	border-radius: var(--wp--custom--border-radius) !important;
	color: inherit !important;
	display: block !important;
	font-family: var(--wp--preset--font-family--sans) !important;
	font-size: inherit !important;
	height: auto !important;
	letter-spacing: inherit !important;
	line-height: 1.4 !important;
	margin: 0 !important;
	max-width: 100% !important;
	outline: calc( 3px - (100 * var(--wp--custom--border-width)) ) solid var(--wp--preset--color--primary) !important; /* replace outline if we have a border-width */
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) !important;
}
.jetpack-instant-search__box-input:hover:not(:focus):not(:active) {
	border-color: var(--wp--preset--color--primary-wash) !important;
}
.jetpack-instant-search__box-input:focus {
	border-color: var(--wp--preset--color--hover) !important;
}
.jetpack-instant-search__box-input:active {
	border-color: var(--wp--preset--color--active) !important;
}
.jetpack-instant-search__box input[value="clear"] {
	display: none !important;
}
.jetpack-instant-search__search-form-controls {
	display: none !important;
	margin: 0 !important;
}
.jetpack-instant-search__search-results-filter-button {
	color: inherit !important;
	font-size: inherit !important;
	padding: 0 !important;
}
.jetpack-instant-search__search-results-filter-button:hover,
.jetpack-instant-search__search-results-filter-button:focus {
	color: var(--wp--preset--color--hover) !important;
}
.jetpack-instant-search__search-results-filter-button:active {
	color: var(--wp--preset--color--active) !important;
}
.jetpack-instant-search__search-results-content {
	flex: 1 1 !important;
	gap: var(--wp--preset--spacing--60) !important;
	justify-content: space-evenly;
}
.jetpack-instant-search__search-results-primary {
	display: flex !important;
	flex-direction: column !important;
	flex-basis: calc( var(--wp--custom--layout--normal) / var(--wp--custom--ratio--base) ) !important;
	flex-grow: var(--wp--custom--ratio--base) !important;
	flex-shrink: var(--wp--custom--ratio--base) !important;
	gap: var(--wp--preset--spacing--70);
	margin-inline: auto !important;
	max-width: var(--wp--custom--layout--normal) !important;
}
.jetpack-instant-search__search-results-secondary {
	border-left: var(--wp--custom--border-width) solid var(--wp--preset--color--tone) !important;
	color: inherit !important;
	flex-basis: calc( var(--wp--custom--layout--narrow) / var(--wp--custom--ratio--base) ) !important;
	flex-grow: calc( var(--wp--custom--ratio--narrow) * var(--wp--custom--ratio--base) ) !important;
	flex-shrink: calc( var(--wp--custom--ratio--narrow) * var(--wp--custom--ratio--base) ) !important;
	max-width: var(--wp--custom--layout--narrow) !important;
	padding: 0 !important;
	padding-left: var(--wp--preset--spacing--60) !important;
}
.jetpack-instant-search__search-results-secondary--show-as-modal {
	background: var(--wp--preset--color--base) !important;
	border: 0 none !important;
	border-radius: var(--wp--custom--border-radius) !important;
	box-shadow:
		inset 0 0 0 1px hsla(0,0%,100%,95%),
		0 0 var(--wp--preset--spacing--80) hsla(0,0%,0%,20%),
		0 0 var(--wp--preset--spacing--40) hsla(0,0%,0%,25%) !important;
	left: auto !important;
	max-height: 70vh !important;
	max-width: calc( 100% - var(--wp--preset--spacing--60) ) !important;
	min-width: 0 !important;
	padding: var(--wp--preset--spacing--60) !important;
	right: 0 !important;
	width: var(--wp--custom--layout--narrow) !important;
}
[data-theme-dark] .jetpack-instant-search__search-results,
[data-theme-dark] .jetpack-instant-search__search-results-secondary--show-as-modal {
	box-shadow:
		inset 0 0 0 1px hsla(0,0%,100%,15%),
		0 0 var(--wp--preset--spacing--80) hsla(0,0%,0%,40%),
		0 0 var(--wp--preset--spacing--40) hsla(0,0%,0%,50%) !important;
}
.jetpack-instant-search__search-results-title {
	color: inherit !important;
	display: none !important; /* for now */
	font-size: var(--wp--preset--font-size--x-large) !important;
	margin: 0 !important;
	padding-right: 0 !important; /* probably for hidden filter options */
}
.jetpack-instant-search__search-results-list {
	color: inherit !important;
	display: flex !important;
	flex-direction: column !important;
	gap: var(--wp--preset--spacing--60);
	margin: 0 !important;
}
.jetpack-instant-search__search-result {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--wp--preset--spacing--20) !important;
	margin: 0 !important;
	position: relative !important;
}
.jetpack-instant-search__search-result a::before {
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}
.jetpack-instant-search__search-result a[tabindex="-1"] {
	pointer-events: none; /* avoid conflicts */
}
.jetpack-instant-search__search-result-expanded__content-container {
	flex-flow: row nowrap !important;
	gap: var(--wp--preset--spacing--40) !important;
}
.jetpack-instant-search__search-result-expanded__copy-container {
	display: flex !important;
	flex-direction: column !important;
	flex-grow: 1;
	gap: var(--wp--preset--spacing--20) !important;
	width: auto !important;
}
.jetpack-instant-search__search-result-title {
	font-size: var(--wp--preset--font-size--x-large) !important;
	font-weight: 700 !important;
	line-height: calc( var(--wp--custom--line-height) / 1.3 ) !important;
}
.jetpack-instant-search__path-breadcrumb-piece {
	background: var(--wp--preset--color--base);
	display: inline-block;
}
.jetpack-instant-search__path-breadcrumb-piece::before {
	content: "/";
}
.jetpack-instant-search__path-breadcrumb-piece + .jetpack-instant-search__path-breadcrumb-piece {
	margin-left: -.5em; /* approx. width to hide " > " */
}
.jetpack-instant-search__search-result-expanded__path {
	color: var(--wp--preset--color--wash) !important;
	font-family: var(--wp--preset--font-family--sans) !important;
	font-size: var(--wp--preset--font-size--small) !important;
	margin: 0 !important;
}
.jetpack-instant-search__search-result-expanded__content {
	color: inherit !important;
	font-size: var(--wp--preset--font-size--small) !important;
}
.jetpack-instant-search__search-result-expanded__content:empty {
	display: none !important;
}
.jetpack-instant-search__search-result-expanded__content::before,
.jetpack-instant-search__search-result-expanded__content::after {
	content: " … ";
	white-space: nowrap;
}
.jetpack-instant-search__search-result-expanded__image-link {
	margin: 0 !important;
	max-height: 20vw;
}
@media (max-width: 26.6666rem) {
	.jetpack-instant-search__search-result-expanded__image-link {
		display: none;
	}
}
.jetpack-instant-search__search-result-expanded__image-container {
	width: 6rem !important;
}
.jetpack-instant-search__search-result-expanded__image {
	border-radius: var(--wp--custom--border-radius) !important;
}
.jetpack-instant-search__search-result-expanded__footer {
	margin: 0 !important;
}
.jetpack-instant-search__search-result-expanded__footer li {
	font-size: var(--wp--preset--font-size--small);
	margin: 0 !important;
}
.jetpack-instant-search__search-result-expanded__footer-author,
.jetpack-instant-search__search-result-expanded__footer-date {
	color: inherit !important;
	font-size: inherit !important;
}
.jetpack-instant-search__search-result-expanded__footer-date {
	background-color: var(--wp--preset--color--contrast) !important;
	border-radius: 9em !important;
	color: var(--wp--preset--color--base) !important;
	display: inline-block;
	font-family: var(--wp--preset--font-family--sans) !important;
	font-weight: 600 !important;
	font-size: .8125em !important;
	letter-spacing: var(--wp--custom--letter-spacing) !important;
	line-height: 1 !important;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) !important;
	padding-right: calc( var(--wp--preset--spacing--30) - var(--wp--custom--letter-spacing) ) !important;
	text-transform: uppercase !important;
}
.jetpack-instant-search a {
	color: inherit !important;
}
.jetpack-instant-search__sidebar {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--wp--preset--spacing--60);
	padding: 0 !important;
}
.jetpack-instant-search__sidebar > .jetpack-instant-search__search-filters {
	display: none !important; /* for now */
}
.jetpack-instant-search__search-filters-title {
	color: inherit !important;
	font-size: var(--wp--preset--font-size--x-large) !important;
}
.jetpack-instant-search__widget-area:not([style*="display: none"]) {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--wp--preset--spacing--30);
}
.jetpack-instant-search__widget-area p {
	margin: 0 !important;
}
.jetpack-instant-search__widget-area p a {
	text-decoration: underline !important;
}
.jetpack-search-sort-wrapper {
	display: none !important;
}
.jetpack-filters ~ .jetpack-filters {
	margin-top: var(--wp--preset--spacing--50) !important;
}
.jetpack-instant-search__search-filters > div {
	display: flex !important;
	flex-direction: column !important;
	gap: var(--wp--preset--spacing--30) !important;
	margin: 0 !important;
}
.jetpack-instant-search__search-filter-sub-heading {
	color: var(--wp--preset--color--wash) !important;
	font-size: var(--wp--preset--font-size--large) !important;
}
.jetpack-instant-search__search-filter-list > div {
	margin: 0 !important;
}
.jetpack-instant-search__search-filter-list-input {
	height: 0 !important;
	position: absolute !important;
	visibility: hidden;
	width: 0 !important;
}
.jetpack-instant-search__search-filter-list-label {
	margin: 0 !important;
}
.jetpack-instant-search__search-filter-list-label:hover,
.jetpack-instant-search__search-filter-list-label:focus {
	color: var(--wp--preset--color--hover) !important;
}
.jetpack-instant-search__search-filter-list-label:active {
	color: var(--wp--preset--color--active) !important;
}
@supports (mask: none) or (-webkit-mask: none) {
	.jetpack-instant-search__search-filter-list-input:checked + .jetpack-instant-search__search-filter-list-label {
		color: var(--wp--preset--color--primary) !important;
	}
	.jetpack-instant-search__search-filter-list-input:checked + .jetpack-instant-search__search-filter-list-label::after {
		aspect-ratio: 1;
		background-color: currentcolor;
		content: "";
		display: inline-block;
		height: 1.35em;
		float: left;
		-webkit-mask-image: var(--wp--custom--icon--check);
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-size: contain;
		mask-image: var(--wp--custom--icon--check);
		mask-repeat: no-repeat;
		mask-size: contain;
		margin-left: -.0625em;
		margin-right: .25em;
		vertical-align: top;
	}
}
.jetpack-instant-search__search-results-pagination {
	margin: 0 !important;
}
.jetpack-instant-search__search-results-pagination .jetpack-instant-search__scroll-button {
	color: var(--wp--preset--color--wash) !important;
	cursor: pointer !important;
	font-family: inherit !important;
	padding: 0 !important;
}

/** BeyondWords **/
/*
[data-beyondwords-player]:empty {
	display: none !important;
}
*/
[data-beyondwords-player]:empty + *,
[data-beyondwords-player]:empty + :where(.alignleft, .alignright) + * {
	margin-top: 0;
}

#challies [data-beyondwords-player] {
	background-color: var(--wp--preset--color--tone);
	border-radius: var(--wp--custom--border-radius);
	color: var(--wp--preset--color--contrast) !important;
	font-family: var(--wp--preset--font-family--sans) !important;
	font-size: var(--wp--preset--font-size--normal) !important;
	height: auto; /* prevent layout shift? */
	line-height: 1 !important;
	margin-bottom: var(--wp--preset--spacing--60);
	overflow: hidden !important;
}
#challies [data-beyondwords-player] * {
	color: inherit !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
}
#challies [data-beyondwords-player] .main {
	border-radius: 0 !important;
	height: auto !important;
	padding: var(--wp--preset--spacing--30) !important;
}
#challies [data-beyondwords-player] .controls {
	column-gap: var(--wp--preset--spacing--30) !important;
}
#challies [data-beyondwords-player] .player-title {
	font-weight: inherit !important;
	height: auto !important;
	transform: scale(1.6) !important;
	transform-origin: 0% 50% !important;
}
#challies [data-beyondwords-player] .time-indicator {
	order: 9 !important;
	transition-duration: 50ms !important;
}
#challies [data-beyondwords-player] .time-indicator .inner {
	position: static !important;
	transform: scale(1.6) !important;
	transform-origin: 100% 50% !important;
}
#challies [data-beyondwords-player] .playback-rate-button,
#challies [data-beyondwords-player] .next-button,
#challies [data-beyondwords-player] .prev-button {
	transform: scale(1.6) !important;
}
#challies [data-beyondwords-player] .progress-bar {
	margin-right: 1.6em !important;
}

#challies [data-beyondwords-player] path {
	fill: var(--wp--preset--color--hover) !important;
}
#challies [data-beyondwords-player] button:hover path,
#challies [data-beyondwords-player] button:active path,
#challies [data-beyondwords-player] button:focus path {
	fill: var(--wp--preset--color--active) !important;
}

#challies [data-beyondwords-player] .user-interface {
	min-width: auto !important;
}

/*** Watermarks (avoid in site editor) ***/
@supports (mask: none) or (-webkit-mask: none) {
	body:not(.editor-styles-wrapper) .wp-site-blocks {
		position: relative;
	}
	body:not(.editor-styles-wrapper) .wp-site-blocks::before,
	body:not(.editor-styles-wrapper) .wp-site-blocks::after {
		background-color: hsl(0,0%,62%);
		content: "";
		height: var(--watermark-size);
		-webkit-mask-image: var(--wp--custom--icon--logomark);
		-webkit-mask-repeat: no-repeat;
		-webkit-mask-size: auto var(--watermark-size);
		mask-image: var(--wp--custom--icon--logomark);
		mask-repeat: no-repeat;
		mask-size: auto var(--watermark-size);
		max-width: 100vw;
		mix-blend-mode: luminosity;
		opacity: .1;
		pointer-events: none;
		position: absolute;
		right: 0;
		width: var(--watermark-size);
		z-index: 0;
	}
	body:not(.editor-styles-wrapper) .wp-site-blocks::before {
		--watermark-size: min( 100vw, 50rem );
		-webkit-mask-position: right calc( -.2 * var(--watermark-size) ) top calc( -.35 * var(--watermark-size) );
		mask-position: right calc( -.2 * var(--watermark-size) ) top calc( -.35 * var(--watermark-size) );
		top: 0;
	}
	body:not(.editor-styles-wrapper) .wp-site-blocks::after {
		--watermark-size: min( 100vw, 40rem );
		-webkit-mask-position: right calc( -.2 * var(--watermark-size) ) bottom calc( -.35 * var(--watermark-size) );
		mask-position: right calc( -.2 * var(--watermark-size) ) bottom calc( -.35 * var(--watermark-size) );
		bottom: 0;
	}
	body:not(.editor-styles-wrapper) .wp-site-blocks > header > .wp-block-group > .wp-block-group:not(.is-position-sticky) {
		position: relative;
		z-index: 1000;
	}
	body:not(.editor-styles-wrapper) .wp-site-blocks > footer > .wp-block-group > .wp-block-group:not(.is-position-sticky),
	body:not(.editor-styles-wrapper) .wp-site-blocks > main > .wp-block-group > .wp-block-group:not(.is-position-sticky),
	body:not(.editor-styles-wrapper) .wp-site-blocks > main > .wp-block-post-content > .wp-block-group:not(.has-background),
	body:not(.editor-styles-wrapper) .wp-site-blocks > main > .wp-block-post-content > .has-background > .wp-block-group {
		position: relative;
		z-index: 1;
	}
}
