/**
 * Global Styles
 *
 * Migrated from Simple Custom CSS and JS PRO entries:
 * 321.css (partial), 34868.css, 34222.css, 35024.css
 */

@font-face {
	font-family: "Tusker Grotesk 5500";
	src: url("../fonts/TuskerGrotesk-5500Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Tusker Grotesk 3600";
	src: url("../fonts/TuskerGrotesk-3600Semibold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* Spectral + Source Code Pro — self-hosted latin(+ext) subsets */
@font-face {
	font-family: "Spectral";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/Spectral-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Spectral";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/Spectral-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Spectral";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/Spectral-700-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Spectral";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/Spectral-700-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Code Pro";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/SourceCodePro-400-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Code Pro";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/SourceCodePro-400-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Code Pro";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/SourceCodePro-500-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Code Pro";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url("../fonts/SourceCodePro-500-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* ==========================================================================
	   Design Tokens — see .cursor/rules/visual-design.mdc for documentation
	   ========================================================================== */

	/* Brand colors */
	--tsi-blue-bright: #63b0ef;
	--tsi-blue-mid: #2c7aac;
	--tsi-blue-deep: #1a4e72;
	--tsi-yellow: #ffd700;
	--tsi-red: #d62828;

	/* Surfaces */
	--tsi-bg-aura: #100e0b;
	--tsi-bg-deep: #161718;
	--tsi-bg-black: #000000;

	/* Text */
	--tsi-text-default: #c6c1b9;
	--tsi-text-on-dark: #ffffff;
	--tsi-text-on-light: #000000;
	--tsi-text-muted: #999999;
	--tsi-text-subtle: #888888;

	/* Borders */
	--tsi-border-subtle: rgba(255, 255, 255, 0.15);
	--tsi-border-strong: rgba(255, 255, 255, 0.5);

	/* Effects */
	--tsi-glass-tint: rgba(26, 78, 114, 0.3);
	--tsi-surface-hover: rgba(255, 255, 255, 0.04);

	/* Radius scale */
	--tsi-radius-sm: 4px;
	--tsi-radius-md: 12px;
	--tsi-radius-lg: 24px;
	--tsi-radius-xl: 48px;
	--tsi-radius-pill: 999px;

	/* Image radius scale */
	--tsi-radius-img-sm: 8px;
	--tsi-radius-img-md: 16px;
	--tsi-radius-img-lg: 32px;
	--tsi-radius-img-xl: 64px;

	/* Button geometry */
	--tsi-btn-radius: 78px;
	--tsi-btn-pad-y: 7px;
	--tsi-btn-pad-x: 24px;

	/* Primary (accent) button colors: one source for every CTA family:
	   .tsi-btn--accent, Gutenberg buttons/file buttons, CF7 + Bloomerang +
	   listserv submits (forms.css), exit-intent, FeedbackFin, FAQ back-to-top.
	   Yellow at rest, white on hover; padding never changes on hover. */
	--tsi-btn-bg: var(--tsi-yellow);
	--tsi-btn-fg: var(--tsi-text-on-light);
	--tsi-btn-bg-hover: var(--tsi-text-on-dark);
	--tsi-btn-fg-hover: var(--tsi-text-on-light);
	--tsi-btn-transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;

	/* Form controls — shared by CF7, Bloomerang, Listserv (see forms.css) */
	--tsi-form-bg: rgba(255, 255, 255, 0.07);
	--tsi-form-bg-focus: rgba(255, 255, 255, 0.12);
	--tsi-form-text: var(--tsi-text-on-dark);
	--tsi-form-placeholder: rgba(255, 255, 255, 0.65);
	--tsi-form-label: var(--tsi-yellow);
	--tsi-form-radius: 4px 20px 20px 20px;
	--tsi-form-focus-ring: rgba(255, 215, 0, 0.55);
	--tsi-form-input-height: 2.875rem;
	--tsi-form-input-font-size: 1rem;
	--tsi-form-gap: 0.65rem;
	--tsi-form-border: rgba(255, 255, 255, 0.14);
	--tsi-form-error-bg: rgba(220, 38, 38, 0.15);
	--tsi-form-error-border: rgba(220, 38, 38, 0.4);
	--tsi-form-error-text: #fca5a5;
	--tsi-form-success-bg: rgba(34, 197, 94, 0.15);
	--tsi-form-success-border: rgba(34, 197, 94, 0.4);
	--tsi-form-success-text: #86efac;

	/* Font stacks */
	--tsi-font-display: 'Tusker Grotesk 5500', sans-serif;
	--tsi-font-display-heavy: 'Tusker Grotesk 3600', sans-serif;
	--tsi-font-reading: 'Spectral', serif;
	--tsi-font-ui: 'Source Code Pro', monospace;

	/* ==========================================================================
	   Legacy aliases — migrate references when touching a file
	   ========================================================================== */
	--nv-primary-accent: var(--tsi-blue-bright);
	--nv-secondary-accent: var(--tsi-yellow);
	--nv-text-color: #393939;
	--nv-dark-bg: var(--tsi-bg-deep);
	--nv-site-bg: #ffffff;
	--nv-text-dark-bg: var(--tsi-text-on-dark);
	--nv-fallback-ff: var(--tsi-font-reading);
	--headingsFontFamily: var(--tsi-font-display);
	--ocean-dark: var(--tsi-blue-deep);
	--ocean-medium: var(--tsi-blue-mid);
	--ocean-light: var(--tsi-blue-bright);
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	font-family: 'Spectral', serif;
	font-size: 19px;
	line-height: 1.6;
	color: rgb(198, 193, 185);
	/* Deep Tide aura layers composite against this canvas */
	background-color: var(--tsi-bg-aura);
}

/* Browsers give form controls their own system font instead of inheriting.
   Fields and labels read as UI (Source Code Pro); free-text boxes read as
   prose (Spectral). There is no system/sans stack anywhere in the theme. */
input,
select,
button {
	font-family: var(--tsi-font-ui);
}

textarea {
	font-family: var(--tsi-font-reading);
}

/* ==========================================================================
   Deep Tide — Aura (flux)
   Fixed viewport layers. Mix-blend-mode: screen against --tsi-bg-aura.
   Colors are the brand blues (--tsi-blue-bright / mid / deep).
   Pages that own a full-page background (home, donate) hide .aura-bg.
   ========================================================================== */

.aura-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
	background-color: var(--tsi-bg-aura);
}

.aura-layer-1,
.aura-layer-2,
.aura-layer-3 {
	position: absolute;
	inset: 0;
	mix-blend-mode: screen;
	transform: translateZ(0);
	pointer-events: none;
}

.aura-layer-1 {
	background: radial-gradient(
		ellipse 62% 35% at 30% 58%,
		color-mix(in srgb, var(--tsi-blue-mid) 70%, transparent) 0%,
		color-mix(in srgb, var(--tsi-blue-deep) 22%, transparent) 48%,
		transparent 75%
	);
	filter: blur(110px);
}

.aura-layer-2 {
	background: radial-gradient(
		ellipse 48% 50% at 70% 36%,
		color-mix(in srgb, var(--tsi-blue-deep) 62%, transparent) 0%,
		color-mix(in srgb, var(--tsi-blue-bright) 16%, transparent) 48%,
		transparent 74%
	);
	filter: blur(125px);
}

.aura-layer-3 {
	background: linear-gradient(
		150deg,
		transparent 32%,
		color-mix(in srgb, var(--tsi-blue-bright) 18%, transparent) 48%,
		color-mix(in srgb, var(--tsi-blue-mid) 20%, transparent) 55%,
		transparent 72%
	);
	filter: blur(90px);
}

@media (min-width: 769px) {
	.aura-layer-1 {
		filter: blur(158px);
	}

	.aura-layer-2 {
		filter: blur(180px);
	}

	.aura-layer-3 {
		filter: blur(130px);
	}
}

body.home .aura-bg,
body.page-donate .aura-bg,
body.page-id-36018 .aura-bg {
	display: none;
}

#wrapper {
	position: relative;
	z-index: 1;
}

a {
	transition: 0.2s all ease-in-out;
}

/* ==========================================================================
   Page title — near-universal display heading
   See .cursor/rules/visual-design.mdc
   ========================================================================== */

.tsi-page-header {
	margin: 0 0 2.75rem;
	padding-bottom: 1.25rem;
	border-bottom: none;
	position: relative;
}

.tsi-page-title {
	font-family: var(--tsi-font-display);
	font-size: clamp(2.75rem, 8vw, 5rem);
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--tsi-text-on-dark);
	margin: 0;
	display: inline-block;
	position: relative;
}

.tsi-page-header__meta {
	font-family: var(--tsi-font-ui);
	font-size: 14px;
	line-height: 1.5;
	color: var(--tsi-text-muted);
	margin-top: 1rem;
	max-width: 42rem;
}

.tsi-page-header__meta a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
	text-underline-offset: 3px;
}

.tsi-page-header__meta a:hover {
	color: var(--tsi-text-default);
	text-decoration-color: currentColor;
}

.tsi-page-header__status {
	margin-top: 0.5rem;
	letter-spacing: 0.04em;
}

/* ==========================================================================
   Button Component — see .cursor/rules/visual-design.mdc
   ========================================================================== */

.tsi-btn,
.wp-block-file__button {
	font-family: var(--tsi-font-ui);
	font-weight: 400;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.3px;
	padding: var(--tsi-btn-pad-y) var(--tsi-btn-pad-x);
	border-radius: var(--tsi-btn-radius);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: var(--tsi-btn-transition);
	line-height: 1.4;
}

.tsi-btn:hover,
.wp-block-file__button:hover {
	text-decoration: none;
}

/* Touch target: the pill stays ~31px tall, but an invisible band
   extends the hit area to at least 44px. Hover/rest padding untouched. */
.tsi-btn,
.wp-block-file__button {
	position: relative;
}

.tsi-btn::after,
.wp-block-file__button::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: max(100%, 44px);
	transform: translateY(-50%);
}

.tsi-btn--outline {
	border: 1px solid var(--tsi-text-on-dark);
	background: transparent;
	color: var(--tsi-text-on-dark);
}

.tsi-btn--outline:hover {
	border-color: var(--tsi-yellow);
	color: var(--tsi-yellow);
}

.tsi-btn--filled {
	background: var(--tsi-text-on-dark);
	color: var(--tsi-text-on-light);
	border: 1px solid var(--tsi-text-on-dark);
}

.tsi-btn--filled:hover {
	background: var(--tsi-yellow);
	border-color: var(--tsi-yellow);
	color: var(--tsi-text-on-light);
}

.tsi-btn--accent,
.wp-block-file__button {
	background: var(--tsi-btn-bg);
	color: var(--tsi-btn-fg);
	border: 1px solid var(--tsi-btn-bg);
	font-weight: 700;
}

.tsi-btn--accent:visited,
.wp-block-file__button:visited {
	background: var(--tsi-btn-bg);
	border-color: var(--tsi-btn-bg);
	color: var(--tsi-btn-fg);
	opacity: 1;
}

.tsi-btn--accent:hover,
.tsi-btn--accent:focus-visible,
.tsi-btn--accent:active,
.wp-block-file__button:hover,
.wp-block-file__button:focus-visible,
.wp-block-file__button:active {
	background: var(--tsi-btn-bg-hover);
	border-color: var(--tsi-btn-bg-hover);
	color: var(--tsi-btn-fg-hover);
	opacity: 1;
}

.tsi-btn--donate {
	background: var(--tsi-red);
	color: var(--tsi-text-on-dark);
	border: 1px solid var(--tsi-red);
	font-weight: 900;
}

.tsi-btn--donate:hover {
	background: var(--tsi-yellow);
	border-color: var(--tsi-yellow);
	color: var(--tsi-text-on-light);
}

.tsi-btn--ghost {
	background: transparent;
	color: var(--tsi-text-on-dark);
	border: 1px solid transparent;
}

.tsi-btn--ghost:hover {
	color: var(--tsi-yellow);
}

.tsi-btn--sm {
	font-size: 12px;
	padding: 5px 16px;
}

.tsi-btn--lg {
	font-size: 16px;
	padding: 10px 32px;
}

.tsi-btn:focus-visible,
.wp-block-button__link:focus-visible,
.wp-block-file__button:focus-visible {
	outline: 2px solid var(--tsi-yellow);
	outline-offset: 3px;
}

/* Skip link + screen-reader utilities */
.screen-reader-text,
.sr-only {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus,
.skip-link:focus-visible {
	clip: auto;
	clip-path: none;
	height: auto;
	margin: 0;
	overflow: visible;
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	right: auto;
	z-index: 100000;
	width: auto;
	padding: 0.65rem 1.1rem;
	background: var(--tsi-yellow);
	color: var(--tsi-text-on-light);
	font-family: var(--tsi-font-ui);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: var(--tsi-radius-sm);
	outline: 2px solid var(--tsi-text-on-dark);
	outline-offset: 2px;
}

@media (forced-colors: active) {
	.tsi-btn,
	.tsi-btn:focus-visible,
	a:focus-visible,
	button:focus-visible {
		outline: 2px solid CanvasText;
		outline-offset: 2px;
	}
}

/* WordPress block button mapping → .tsi-btn--accent */
.entry-content .wp-block-buttons {
	margin: 1.5rem 0 2.5rem;
}

.wp-block-button .wp-block-button__link,
.wp-block-button .wp-element-button {
	font-family: var(--tsi-font-ui);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 0.3px;
	line-height: 1.4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--tsi-btn-pad-y) var(--tsi-btn-pad-x);
	border-radius: var(--tsi-btn-radius);
	border: 1px solid var(--tsi-btn-bg);
	background: var(--tsi-btn-bg);
	color: var(--tsi-btn-fg);
	cursor: pointer;
	transition: var(--tsi-btn-transition);
}

.wp-block-button .wp-block-button__link.has-background,
.wp-block-button .wp-block-button__link.has-text-color,
.wp-block-button .wp-block-button__link[class*="-background-color"],
.wp-block-button .wp-block-button__link[class*="-color"] {
	background: var(--tsi-btn-bg);
	border-color: var(--tsi-btn-bg);
	color: var(--tsi-btn-fg);
}

.wp-block-button .wp-block-button__link:visited {
	background: var(--tsi-btn-bg);
	border-color: var(--tsi-btn-bg);
	color: var(--tsi-btn-fg);
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus-visible,
.wp-block-button .wp-block-button__link:active,
.is-style-primary .wp-block-button__link:hover,
.is-style-secondary .wp-block-button__link:hover {
	background: var(--tsi-btn-bg-hover);
	border-color: var(--tsi-btn-bg-hover);
	color: var(--tsi-btn-fg-hover);
	padding: var(--tsi-btn-pad-y) var(--tsi-btn-pad-x);
	text-decoration: none;
}

.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-element-button {
	border: 1px solid var(--tsi-text-on-dark);
	background: transparent;
	color: var(--tsi-text-on-dark);
	font-weight: 400;
}

.is-style-outline .wp-block-button__link:hover,
.is-style-outline .wp-block-button__link:focus-visible,
.is-style-outline .wp-block-button__link:visited:hover {
	border-color: var(--tsi-yellow);
	color: var(--tsi-yellow);
	background: transparent;
	padding: var(--tsi-btn-pad-y) var(--tsi-btn-pad-x);
}

a.brand:hover {
	opacity: 0.7 !important;
}

.grecaptcha-badge {
	z-index: 1;
}

.img--background-primary img {
	background: var(--nv-primary-accent);
}

.page__well {
	border-radius: 4rem;
	padding: 4rem;
}

.page__well::before {
	opacity: 0 !important;
}

.page__well.page__well--book h2 {
	text-transform: uppercase;
}

#lbry-iframe {
	border-radius: var(--tsi-radius-img-md);
}

.wp-block-separator.is-style-dots {
	margin: 4rem 0 5rem 0;
}

.widget_recent_entries li {
	border-left: 0.25rem solid var(--nv-secondary-accent);
	padding-left: 0.5rem;
}

.widget_recent_entries a:hover {
	color: var(--nv-secondary-accent);
}

/* ==========================================================================
   Image radius system — see .cursor/rules/visual-design.mdc
   ========================================================================== */

.wp-block-image {
	border-radius: var(--tsi-radius-img-md);
	overflow: hidden;
}

.wp-block-image.is-flush,
.wp-block-image.is-flush img {
	border-radius: 0;
}

.wp-block-image.is-circular img {
	border-radius: 50%;
}

.entry-content .wp-block-image {
	border-radius: var(--tsi-radius-img-sm);
}

/* Embeds: content iframes (forms, maps, embed cards) take the content-page
   radius; video players take the media radius. Kept modest so the corners
   never clip the player's own chrome (channel avatar, share, controls). */
.entry-content iframe {
	max-width: 100%;
	border-radius: var(--tsi-radius-md);
}

.entry-content :is(
	.wp-block-embed.is-type-video iframe,
	iframe[src*="youtube.com"],
	iframe[src*="youtube-nocookie.com"],
	iframe[src*="player.vimeo.com"],
	iframe[src*="odysee.com"],
	iframe.tsi-embed-fallback,
	.wp-block-video video
) {
	border-radius: var(--tsi-radius-img-md);
}

/* BlankSlate resets ol,ul { list-style: none }. Restore markers on prose lists.
   :where() keeps specificity at one class so component lists (members, galleries,
   social chips, nav) can still opt out with their own list-style: none. */
.entry-content :where(
	ul:not(
		.wp-block-gallery,
		.blocks-gallery-grid,
		.wp-block-social-links,
		.wp-block-navigation,
		.members,
		.member__contact,
		.member__links,
		.tsi-social-networks
	),
	ol
) {
	padding-left: 1.75rem;
	margin: 1em 0 1.25em;
}

.entry-content :where(
	ul:not(
		.wp-block-gallery,
		.blocks-gallery-grid,
		.wp-block-social-links,
		.wp-block-navigation,
		.members,
		.member__contact,
		.member__links,
		.tsi-social-networks
	)
) {
	list-style: disc;
}

.entry-content :where(ol) {
	list-style: decimal;
}

.entry-content :where(
	ul:not(.members, .member__contact, .member__links, .tsi-social-networks),
	ol
) > li {
	margin-bottom: 0.5em;
}

.entry-content :where(li > ul, li > ol) {
	margin-top: 0.35em;
	margin-bottom: 0.5em;
}

.wp-image-32542 {
	background-color: var(--nv-text-color);
}

#site-footer {
	z-index: 1;
}

#site-footer .wpcf7-form-control-wrap input {
	border-radius: 999px;
	max-width: 30ch;
}

.search-form .search-field {
	border-radius: 999px 0 0 999px;
	border-width: 2px;
	height: auto;
}

.search-form .search-submit {
	border-radius: 0 999px 999px 0;
	border-width: 2px;
	height: auto;
}

.search-form .search-field:focus ~ button {
	box-shadow: none;
}

.tgb-wrapper {
	display: flex;
	justify-content: center;
	padding: 4rem;
	border-radius: 3rem;
	margin-bottom: 4rem;
	background: radial-gradient(100% 225% at 100% 0%, #FF0000 0%, #00463E 100%), linear-gradient(236deg, #00C2FF 0%, #00463E 100%), linear-gradient(135deg, #CDFFEB 0%, #CDFFEB 36%, #009F9D 36%, #009F9D 60%, #07456F 60%, #07456F 67%, #0F0A3C 67%, #0F0A3C 100%);
	background-blend-mode: overlay, hard-light, normal;
}

@media (max-width: 415px) {
	.tgb-wrapper {
		border-radius: 1rem;
		padding: 1rem;
	}
}

/* FeedbackFin — centered modal + block UI (overrides vendor flyout positioning) */
html.feedbackfin-open {
	overflow: hidden;
}

#feedbackfin__backdrop {
	position: fixed;
	inset: 0;
	z-index: 1290;
	background: rgba(8, 14, 22, 0.72);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

#feedbackfin__container {
	position: fixed !important;
	left: 50% !important;
	top: 50% !important;
	right: auto !important;
	bottom: auto !important;
	transform: translate(-50%, -50%);
	margin: 0;
	height: auto;
	width: min(26rem, calc(100vw - 2rem));
	max-height: calc(100vh - 2rem);
	overflow-y: auto;
	min-width: 0;
	min-height: 14rem;
	padding: 1.5rem 1.5rem 1.75rem;
	background: var(--tsi-bg-deep);
	border: 1px solid var(--tsi-border-subtle);
	border-radius: var(--tsi-radius-lg);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
	color: var(--tsi-text-default);
	font-family: var(--tsi-font-ui);
	z-index: 1300;
}

#feedbackfin__container label,
#feedbackfin__container .feedbackfin__label {
	font-family: var(--tsi-font-ui);
	font-size: 0.8125rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--tsi-form-label);
}

#feedbackfin__message,
#feedbackfin__container textarea,
#feedbackfin__container input[type="text"],
#feedbackfin__container input[type="email"] {
	width: 100%;
	min-height: 7rem;
	resize: vertical;
	line-height: 1.4;
	font-family: var(--tsi-font-ui);
	font-size: 1rem;
	color: var(--tsi-form-text);
	background: var(--tsi-form-bg);
	border: none;
	border-radius: var(--tsi-form-radius);
	padding: 1rem 1.25rem;
	box-sizing: border-box;
}

#feedbackfin__message,
#feedbackfin__container textarea {
	font-family: var(--tsi-font-reading);
}

#feedbackfin__container input[type="text"],
#feedbackfin__container input[type="email"] {
	min-height: 0;
	height: 3.25rem;
	resize: none;
}

#feedbackfin__submit,
#feedbackfin__container button[type="submit"] {
	font-family: var(--tsi-font-ui);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	border: 1px solid var(--tsi-btn-bg);
	border-radius: var(--tsi-btn-radius);
	padding: var(--tsi-btn-pad-y) var(--tsi-btn-pad-x);
	background: var(--tsi-btn-bg);
	color: var(--tsi-btn-fg);
	cursor: pointer;
	transition: var(--tsi-btn-transition);
}

#feedbackfin__submit:hover,
#feedbackfin__submit:focus-visible,
#feedbackfin__container button[type="submit"]:hover,
#feedbackfin__container button[type="submit"]:focus-visible {
	background: var(--tsi-btn-bg-hover);
	border-color: var(--tsi-btn-bg-hover);
	color: var(--tsi-btn-fg-hover);
}

#feedbackfin__container a {
	color: var(--tsi-yellow);
}

.featured-post-footer {
	gap: 2rem;
}

.home__new-post-badge {
	line-height: 1 !important;
	padding-bottom: 0.5em;
}

.read-more {
	font-weight: 600;
	text-decoration: underline;
}

/* Block cover text */
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover h4,
.wp-block-cover p {
	color: white !important;
	font-family: var(--headingsFontFamily), var(--nv-fallback-ff);
}

/* Yellow covers/wells: site standard is black on yellow. Beats the white
   cover rule above and Neve's legacy text-color class (which content uses
   inside yellow blocks, e.g. the /book/ affiliate line). */
:is(.page__well--book, .wp-block-cover:has(> .has-neve-link-hover-color-background-color, > .has-nv-secondary-accent-background-color))
	:is(h1, h2, h3, h4, p, .has-neve-text-color-color) {
	color: var(--tsi-text-on-light) !important;
}

/* Blockquote citations */
.wp-block-quote cite {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.wp-block-quote cite .quote__author {
	display: inline-block;
	font-size: 4rem;
	line-height: 0.9;
}

.wp-block-quote cite .quote__works {
	font-size: 1rem;
	max-width: 50%;
	min-width: 35ch;
	margin-top: 1rem;
	line-height: 1.5;
}

/* Table image hover effect */
.table-image {
	min-width: 13rem;
	border-radius: 2rem;
	border: none;
	transition: 0.2s all ease-in-out;
}

.table-image:hover {
	filter: grayscale(100%);
	transform: scale(1.05);
}

.tsi-archived-banner {
	background: var(--tsi-yellow);
	color: var(--tsi-text-on-light);
	padding: 0.75rem 1.25rem;
	text-align: center;
	font-weight: 600;
}
