body {
	--charlescoxhead-panel-padding: clamp(1rem, 1.8vw, 1.35rem);
	background:
		radial-gradient(circle at 8% 10%, rgba(43, 111, 119, 0.08), transparent 30%),
		radial-gradient(circle at 92% 25%, rgba(184, 91, 55, 0.08), transparent 28%),
		var(--wp--preset--color--background);
	color: var(--wp--preset--color--text-primary);
}

.wp-site-blocks {
	min-height: 100vh;
}

.charlescoxhead-shell {
	margin-inline: auto;
	max-width: 1240px;
	padding-inline: clamp(1rem, 2.2vw, 2rem);
}

.charlescoxhead-frame {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	position: relative;
}

.charlescoxhead-frame::before {
	background-image:
		linear-gradient(rgba(43, 111, 119, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(122, 143, 160, 0.07) 1px, transparent 1px);
	background-size: 18px 18px;
	content: "";
	inset: 0;
	opacity: 0.5;
	pointer-events: none;
	position: absolute;
}

header.wp-block-template-part {
	background: rgba(251, 249, 242, 0.97);
	border-bottom: 1px solid var(--wp--preset--color--border);
	position: sticky;
	top: 0;
	z-index: 100;
}

/* Fallback padding in case header template-part is customized in Site Editor. */
header.wp-block-template-part > .wp-block-group {
	padding-bottom: 12px !important;
	padding-top: 12px !important;
}

header.wp-block-template-part .charlescoxhead-nav-shell {
	position: relative;
}

header.wp-block-template-part .charlescoxhead-nav-shell::before {
	background:
		linear-gradient(90deg, rgba(43, 111, 119, 0.08), rgba(184, 91, 55, 0.08));
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	content: "";
	inset: 8px 12px;
	position: absolute;
	z-index: 0;
}

header.wp-block-template-part .charlescoxhead-nav-row {
	position: relative;
	z-index: 1;
}

header.wp-block-template-part .charlescoxhead-brand-rail {
	gap: 0.7rem;
}

header.wp-block-template-part .wp-block-site-title {
	margin: 0;
}

header.wp-block-template-part .wp-block-site-title a {
	color: var(--wp--preset--color--text-primary);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 1.08rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-decoration: none;
}

header.wp-block-template-part .charlescoxhead-menu-toggle {
	align-items: center;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--wp--preset--color--text-secondary);
	cursor: pointer;
	display: inline-flex;
	height: 2rem;
	justify-content: center;
	margin: 0;
	padding: 0;
	transition: border-color 140ms ease, color 140ms ease;
	width: 2rem;
}

header.wp-block-template-part .charlescoxhead-menu-toggle:hover,
header.wp-block-template-part .charlescoxhead-menu-toggle[aria-expanded="true"] {
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--teal);
}

header.wp-block-template-part .charlescoxhead-menu-toggle__bars,
header.wp-block-template-part .charlescoxhead-menu-toggle__bars::before,
header.wp-block-template-part .charlescoxhead-menu-toggle__bars::after {
	background: currentColor;
	border-radius: 999px;
	content: "";
	display: block;
	height: 2px;
	transition: transform 180ms ease, opacity 160ms ease;
	width: 0.9rem;
}

header.wp-block-template-part .charlescoxhead-menu-toggle__bars::before {
	transform: translateY(-0.28rem);
}

header.wp-block-template-part .charlescoxhead-menu-toggle__bars::after {
	transform: translateY(0.16rem);
}

header.wp-block-template-part.is-menu-open .charlescoxhead-menu-toggle__bars {
	background: transparent;
}

header.wp-block-template-part.is-menu-open .charlescoxhead-menu-toggle__bars::before {
	transform: translateY(0.04rem) rotate(45deg);
}

header.wp-block-template-part.is-menu-open .charlescoxhead-menu-toggle__bars::after {
	transform: translateY(-0.02rem) rotate(-45deg);
}

header.wp-block-template-part .charlescoxhead-nav-overlay {
	background: rgba(15, 20, 24, 0.35);
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: fixed;
	transition: opacity 180ms ease;
	z-index: 110;
}

header.wp-block-template-part .charlescoxhead-nav-drawer {
	background: var(--wp--preset--color--surface);
	border-left: 1px solid var(--wp--preset--color--border);
	box-shadow: -16px 0 28px rgba(31, 79, 83, 0.14);
	height: 100vh;
	max-width: 100vw;
	overflow-y: auto;
	padding: 1rem 1.1rem 1.15rem;
	position: fixed;
	right: 0;
	top: 0;
	transform: translateX(100%);
	transition: transform 220ms ease;
	width: min(370px, 100vw);
	z-index: 120;
}

header.wp-block-template-part.is-menu-open .charlescoxhead-nav-overlay {
	opacity: 1;
	pointer-events: auto;
}

header.wp-block-template-part.is-menu-open .charlescoxhead-nav-drawer {
	transform: translateX(0);
}

header.wp-block-template-part .charlescoxhead-drawer-inner {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	min-height: 100%;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-group,
header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-search,
header.wp-block-template-part .charlescoxhead-nav-drawer .charlescoxhead-drawer-section,
header.wp-block-template-part .charlescoxhead-nav-drawer .charlescoxhead-drawer-latest-posts,
header.wp-block-template-part .charlescoxhead-nav-drawer .charlescoxhead-drawer-categories,
header.wp-block-template-part .charlescoxhead-nav-drawer .charlescoxhead-drawer-social {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100%;
}

header.wp-block-template-part .charlescoxhead-drawer-inner > .wp-block-html {
	display: flex;
	justify-content: flex-start;
	margin: 0;
	max-width: none;
	text-align: left;
	width: 100%;
}

header.wp-block-template-part .charlescoxhead-drawer-close {
	align-items: center;
	align-self: flex-start;
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--wp--preset--color--text-secondary);
	cursor: pointer;
	display: inline-flex;
	font-size: 1.5rem;
	height: 2rem;
	justify-content: center;
	line-height: 1;
	margin: 0;
	padding: 0;
	transition: border-color 140ms ease, color 140ms ease;
	width: 2rem;
}

header.wp-block-template-part .charlescoxhead-drawer-close:hover,
header.wp-block-template-part .charlescoxhead-drawer-close:focus-visible {
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--teal);
}

header.wp-block-template-part .charlescoxhead-drawer-search {
	margin: 0;
	width: 100%;
}

header.wp-block-template-part .charlescoxhead-drawer-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	padding: 0.25rem;
}

header.wp-block-template-part .charlescoxhead-drawer-search .wp-block-search__input {
	border: none;
	padding-inline: 0.62rem;
}

header.wp-block-template-part .charlescoxhead-drawer-section {
	margin: 0;
	width: 100%;
}

header.wp-block-template-part .charlescoxhead-drawer-heading {
	color: var(--wp--preset--color--text-primary);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 0 0 0.55rem;
}

header.wp-block-template-part .charlescoxhead-drawer-latest-posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

header.wp-block-template-part .charlescoxhead-drawer-latest-posts li {
	list-style: none;
	margin: 0 0 0.42rem;
}

header.wp-block-template-part .charlescoxhead-drawer-latest-posts li:last-child {
	margin-bottom: 0;
}

header.wp-block-template-part .charlescoxhead-drawer-latest-posts a {
	color: var(--wp--preset--color--text-secondary);
	display: block;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	padding: 0.28rem 0.1rem;
	text-decoration: none;
}

header.wp-block-template-part .charlescoxhead-drawer-latest-posts a:hover,
header.wp-block-template-part .charlescoxhead-drawer-latest-posts a:focus-visible {
	color: var(--wp--preset--color--teal);
}

header.wp-block-template-part .charlescoxhead-drawer-categories {
	margin: 0;
}

header.wp-block-template-part .charlescoxhead-drawer-categories .wp-block-categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

header.wp-block-template-part .charlescoxhead-drawer-categories .cat-item {
	list-style: none;
	margin: 0;
}

header.wp-block-template-part .charlescoxhead-drawer-categories .cat-item a {
	background: var(--wp--preset--color--background-secondary);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 999px;
	color: var(--wp--preset--color--text-secondary);
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1;
	padding: 0.52rem 0.82rem;
	text-decoration: none;
	transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

header.wp-block-template-part .charlescoxhead-drawer-categories .cat-item a:hover,
header.wp-block-template-part .charlescoxhead-drawer-categories .cat-item a:focus-visible {
	background: rgba(43, 111, 119, 0.09);
	border-color: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--teal);
}

/* Fallback drawer styles for environments where Site Editor markup omits custom classes. */
header.wp-block-template-part .charlescoxhead-nav-drawer :is(h3.wp-block-heading, h3) {
	color: var(--wp--preset--color--text-primary);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 0 0 0.55rem;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-latest-posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-latest-posts li {
	list-style: none;
	margin: 0 0 0.42rem;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-latest-posts li:last-child {
	margin-bottom: 0;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-latest-posts a {
	color: var(--wp--preset--color--text-secondary);
	display: block;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	padding: 0.28rem 0.1rem;
	text-decoration: none;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-latest-posts a:hover,
header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-latest-posts a:focus-visible {
	color: var(--wp--preset--color--teal);
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-categories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-categories-list .cat-item {
	list-style: none;
	margin: 0;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-categories-list .cat-item a {
	background: var(--wp--preset--color--background-secondary);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 999px;
	color: var(--wp--preset--color--text-secondary);
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1;
	padding: 0.52rem 0.82rem;
	text-decoration: none;
	transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-categories-list .cat-item a:hover,
header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-categories-list .cat-item a:focus-visible {
	background: rgba(43, 111, 119, 0.09);
	border-color: var(--wp--preset--color--teal);
	color: var(--wp--preset--color--teal);
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-social-links {
	gap: 0.55rem;
	justify-content: flex-start;
	margin-top: 0.25rem;
	width: 100%;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-social-links .wp-social-link {
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--wp--preset--color--text-secondary);
	height: 2rem;
	transition: border-color 140ms ease, color 140ms ease;
	width: 2rem;
}

header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-social-links .wp-social-link:hover,
header.wp-block-template-part .charlescoxhead-nav-drawer .wp-block-social-links .wp-social-link:focus-within {
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--teal);
}

header.wp-block-template-part .charlescoxhead-drawer-navigation {
	display: flex;
	flex-direction: column;
	width: 100%;
}

header.wp-block-template-part .charlescoxhead-drawer-navigation .wp-block-navigation__container {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

header.wp-block-template-part .charlescoxhead-drawer-navigation .wp-block-navigation-item {
	width: 100%;
}

header.wp-block-template-part .charlescoxhead-drawer-navigation .wp-block-navigation-item__content {
	border: 0;
	color: var(--wp--preset--color--text-primary);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 1rem;
	font-weight: 600;
	grid-column: 1;
	line-height: 1.2;
	padding: 0.55rem 0.1rem;
	padding-right: 0.45rem;
	text-decoration: none;
	width: 100%;
}

header.wp-block-template-part
	.charlescoxhead-drawer-navigation
	.wp-block-navigation-item.has-child.wp-block-navigation-submenu {
	align-items: center;
	column-gap: 0.4rem;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	row-gap: 0.35rem;
	width: 100%;
}

header.wp-block-template-part
	.charlescoxhead-drawer-navigation
	.wp-block-navigation-item.has-child.wp-block-navigation-submenu
	> .wp-block-navigation-submenu__toggle {
	align-items: center;
	background: transparent;
	border: 0;
	color: var(--wp--preset--color--text-primary);
	cursor: pointer;
	display: inline-flex;
	grid-column: 2;
	justify-content: center;
	padding: 0.55rem 0.1rem;
	position: static;
	width: 2.1rem;
}

header.wp-block-template-part .charlescoxhead-drawer-navigation .wp-block-navigation-submenu__toggle svg {
	display: none;
}

header.wp-block-template-part .charlescoxhead-drawer-navigation .wp-block-navigation-submenu__toggle::before {
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	content: "";
	display: inline-block;
	height: 0.45rem;
	transform: rotate(45deg);
	transition: transform 160ms ease;
	width: 0.45rem;
}

header.wp-block-template-part
	.charlescoxhead-drawer-navigation
	.wp-block-navigation-item.has-child.wp-block-navigation-submenu.is-drawer-open
	> .wp-block-navigation-submenu__toggle::before {
	transform: rotate(225deg);
}

header.wp-block-template-part .charlescoxhead-drawer-navigation .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--background-secondary);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	display: none;
	grid-column: 1 / -1;
	gap: 0.1rem;
	list-style: none;
	margin: 0;
	padding: 0.45rem;
}

header.wp-block-template-part
	.charlescoxhead-drawer-navigation
	.wp-block-navigation__submenu-container.is-drawer-open-list {
	box-sizing: border-box;
	display: grid !important;
	grid-template-columns: 1fr;
	height: auto !important;
	left: auto !important;
	min-width: 0 !important;
	opacity: 1 !important;
	overflow: visible !important;
	position: static !important;
	right: auto !important;
	top: auto !important;
	visibility: visible !important;
	width: 100% !important;
}

header.wp-block-template-part .charlescoxhead-drawer-navigation .wp-block-navigation__submenu-container li {
	display: block;
	list-style: none;
	margin: 0;
	width: 100%;
}

header.wp-block-template-part .charlescoxhead-drawer-navigation .wp-block-navigation__submenu-container a {
	color: var(--wp--preset--color--text-secondary);
	display: block;
	padding: 0.62rem 0.72rem;
	text-decoration: none;
}

header.wp-block-template-part .charlescoxhead-drawer-navigation .wp-block-navigation__submenu-container a:hover,
header.wp-block-template-part .charlescoxhead-drawer-navigation .wp-block-navigation__submenu-container a:focus-visible {
	color: var(--wp--preset--color--teal);
}

header.wp-block-template-part .charlescoxhead-drawer-social {
	gap: 0.55rem;
	justify-content: flex-start;
	margin-top: 0.25rem;
	width: 100%;
}

header.wp-block-template-part .charlescoxhead-drawer-social .wp-social-link {
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--wp--preset--color--text-secondary);
	height: 2rem;
	transition: border-color 140ms ease, color 140ms ease;
	width: 2rem;
}

header.wp-block-template-part .charlescoxhead-drawer-social .wp-social-link:hover,
header.wp-block-template-part .charlescoxhead-drawer-social .wp-social-link:focus-within {
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--teal);
}

body.charlescoxhead-no-scroll {
	overflow: hidden;
}

a:focus-visible,
button:focus-visible,
.wp-block-navigation-item__content:focus-visible {
	outline: 2px solid var(--wp--preset--color--teal);
	outline-offset: 2px;
}

@media (max-width: 782px) {
	header.wp-block-template-part .charlescoxhead-nav-shell::before {
		inset: 6px 8px;
	}

	header.wp-block-template-part .charlescoxhead-nav-row {
		gap: 0.45rem;
	}

	header.wp-block-template-part .charlescoxhead-nav-drawer {
		padding-top: 0.9rem;
		width: min(340px, 100vw);
	}
}

footer.wp-block-template-part {
	margin-top: 2.8rem;
}

.charlescoxhead-footer-shell {
	background: rgba(251, 249, 242, 0.97);
	border-top: 1px solid var(--wp--preset--color--border);
	padding-bottom: 22px !important;
	padding-top: 22px !important;
}

.charlescoxhead-footer-row {
	align-items: center;
	display: grid;
	gap: 0.8rem;
	grid-template-columns: 1fr auto 1fr;
	min-height: 2.3rem;
}

.charlescoxhead-footer-left {
	margin: 0;
}

.charlescoxhead-footer-left a {
	color: var(--wp--preset--color--text-primary);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 1.08rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.charlescoxhead-footer-center {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.84rem;
	margin: 0;
	text-align: center;
}

.charlescoxhead-footer-right {
	gap: 0.5rem;
	justify-content: flex-end;
	margin: 0;
}

.charlescoxhead-footer-right .wp-social-link {
	background: transparent;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--wp--preset--color--text-secondary);
	height: 2rem;
	transition: border-color 140ms ease, color 140ms ease;
	width: 2rem;
}

.charlescoxhead-footer-right .wp-social-link:hover,
.charlescoxhead-footer-right .wp-social-link:focus-within {
	border-color: var(--wp--preset--color--border);
	color: var(--wp--preset--color--teal);
}

@media (max-width: 620px) {
	.charlescoxhead-footer-row {
		grid-template-columns: 1fr;
		row-gap: 0.55rem;
	}

	.charlescoxhead-footer-left,
	.charlescoxhead-footer-center,
	.charlescoxhead-footer-right {
		justify-self: center;
		text-align: center;
	}
}

.charlescoxhead-page-template {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	max-width: var(--wp--style--global--content-size);
	overflow: hidden;
	padding-block: var(--charlescoxhead-panel-padding);
	--charlescoxhead-prose-measure: 100%;
	position: relative;
	width: 100%;
}

.charlescoxhead-page-template > * {
	position: relative;
	z-index: 1;
}

.charlescoxhead-page-template::after {
	background: radial-gradient(circle, rgba(43, 111, 119, 0.2) 0, rgba(43, 111, 119, 0) 70%);
	content: "";
	height: 120px;
	pointer-events: none;
	position: absolute;
	right: 1.2rem;
	top: -0.25rem;
	width: 120px;
	z-index: 0;
}

.charlescoxhead-page-head {
	margin-bottom: clamp(1.35rem, 2.8vw, 2rem);
	margin-top: 0;
	padding-bottom: clamp(1.3rem, 2.8vw, 1.95rem);
	position: relative;
	text-align: left;
}

.charlescoxhead-page-head > :first-child {
	margin-top: 0 !important;
}

.charlescoxhead-page-head::after {
	border-bottom: 1px solid var(--wp--preset--color--border);
	bottom: 0;
	content: "";
	left: 50%;
	max-width: var(--charlescoxhead-prose-measure);
	position: absolute;
	transform: translateX(-50%);
	width: 100%;
}

.charlescoxhead-page-head > * {
	max-width: 100%;
}

.charlescoxhead-page-head .wp-block-post-title {
	font-size: clamp(2rem, 6vw, 3.6rem);
	letter-spacing: -0.028em;
	line-height: 1.03;
	margin-bottom: clamp(0.35rem, 0.9vw, 0.58rem);
	margin-top: 0;
	max-width: 100%;
	text-align: left;
}

.charlescoxhead-page-head .wp-block-post-excerpt {
	color: var(--wp--preset--color--text-secondary);
	font-size: clamp(1.02rem, 1.7vw, 1.22rem);
	margin-bottom: 0;
	margin-top: clamp(0.7rem, 1.4vw, 1rem);
	max-width: 100%;
	text-align: left;
}

.charlescoxhead-category-template .charlescoxhead-section-heading,
.charlescoxhead-category-template .charlescoxhead-section-intro,
.charlescoxhead-category-template .charlescoxhead-project-card__excerpt,
.charlescoxhead-category-template .charlescoxhead-project-card__excerpt .wp-block-post-excerpt__excerpt,
.charlescoxhead-search-template .charlescoxhead-section-heading,
.charlescoxhead-search-template .charlescoxhead-section-intro,
.charlescoxhead-search-template .charlescoxhead-project-card__excerpt,
.charlescoxhead-search-template .charlescoxhead-project-card__excerpt .wp-block-post-excerpt__excerpt {
	margin-left: 0;
	margin-right: 0;
}

.charlescoxhead-category-template .charlescoxhead-section-heading,
.charlescoxhead-search-template .charlescoxhead-section-heading {
	color: var(--wp--preset--color--teal);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: clamp(1.55rem, 2.35vw, 2.25rem);
	letter-spacing: -0.02em;
	margin: 0 0 0.65rem;
}

.charlescoxhead-category-template .charlescoxhead-section-intro,
.charlescoxhead-search-template .charlescoxhead-section-intro {
	color: var(--wp--preset--color--text-secondary);
	font-size: 1.03rem;
	margin: 0 0 1.35rem;
}

.charlescoxhead-category-template .charlescoxhead-project-tiles,
.charlescoxhead-search-template .charlescoxhead-project-tiles {
	margin-block: 0;
	padding: clamp(1rem, 1.8vw, 1.35rem);
	position: relative;
}

.charlescoxhead-category-template .charlescoxhead-project-tiles::before,
.charlescoxhead-search-template .charlescoxhead-project-tiles::before {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	content: "";
	inset: 0;
	position: absolute;
	z-index: -1;
}

.charlescoxhead-category-template .charlescoxhead-project-tiles::after,
.charlescoxhead-search-template .charlescoxhead-project-tiles::after {
	background: radial-gradient(circle, rgba(43, 111, 119, 0.22) 0, rgba(43, 111, 119, 0) 70%);
	content: "";
	height: 120px;
	position: absolute;
	right: 1.3rem;
	top: -0.35rem;
	width: 120px;
	z-index: -1;
}

.charlescoxhead-category-template .charlescoxhead-project-tiles__grid,
.charlescoxhead-search-template .charlescoxhead-project-tiles__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.charlescoxhead-category-template .charlescoxhead-project-card,
.charlescoxhead-search-template .charlescoxhead-project-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	overflow: hidden;
	padding: 0.9rem !important;
	position: relative;
}

.charlescoxhead-category-template .charlescoxhead-project-card::before,
.charlescoxhead-search-template .charlescoxhead-project-card::before {
	content: "";
	display: block;
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.charlescoxhead-category-template .charlescoxhead-project-card:nth-child(3n + 1)::before,
.charlescoxhead-search-template .charlescoxhead-project-card:nth-child(3n + 1)::before {
	background: var(--wp--preset--color--teal);
}

.charlescoxhead-category-template .charlescoxhead-project-card:nth-child(3n + 2)::before,
.charlescoxhead-search-template .charlescoxhead-project-card:nth-child(3n + 2)::before {
	background: var(--wp--preset--color--burnt-orange);
}

.charlescoxhead-category-template .charlescoxhead-project-card:nth-child(3n + 3)::before,
.charlescoxhead-search-template .charlescoxhead-project-card:nth-child(3n + 3)::before {
	background: var(--wp--preset--color--mustard);
}

.charlescoxhead-category-template .charlescoxhead-project-card__thumb,
.charlescoxhead-search-template .charlescoxhead-project-card__thumb {
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	margin-bottom: 0.8rem;
	overflow: hidden;
	position: relative;
}

.charlescoxhead-category-template .charlescoxhead-project-card__thumb::after,
.charlescoxhead-search-template .charlescoxhead-project-card__thumb::after {
	background: linear-gradient(
		140deg,
		rgba(43, 111, 119, 0.22),
		rgba(122, 143, 160, 0.18) 48%,
		rgba(198, 174, 147, 0.18)
	);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.charlescoxhead-category-template .charlescoxhead-project-card__thumb img,
.charlescoxhead-search-template .charlescoxhead-project-card__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.charlescoxhead-category-template .charlescoxhead-project-card__title,
.charlescoxhead-search-template .charlescoxhead-project-card__title {
	color: var(--wp--preset--color--text-primary);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 1.18rem;
	line-height: 1.2;
	margin: 0 0 0.4rem;
}

.charlescoxhead-category-template .charlescoxhead-project-card__title a,
.charlescoxhead-search-template .charlescoxhead-project-card__title a {
	color: inherit;
	text-decoration: none;
}

.charlescoxhead-category-template .charlescoxhead-project-card__excerpt,
.charlescoxhead-search-template .charlescoxhead-project-card__excerpt {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.94rem;
	margin: 0;
}

.charlescoxhead-category-template .charlescoxhead-project-card__excerpt .wp-block-post-excerpt__excerpt,
.charlescoxhead-search-template .charlescoxhead-project-card__excerpt .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.charlescoxhead-search-template .charlescoxhead-search-results-form {
	margin: 0 0 1rem;
	max-width: 34rem;
}

.charlescoxhead-search-template .charlescoxhead-search-results-form .wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	padding: 0.25rem;
}

.charlescoxhead-search-template .charlescoxhead-search-results-form .wp-block-search__input {
	border: none;
	padding-inline: 0.62rem;
}

.charlescoxhead-post-head .wp-block-post-title {
	margin-bottom: 0.25rem;
}

.charlescoxhead-post-meta {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.88rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.charlescoxhead-post-meta a {
	color: inherit;
	text-decoration: none;
}

.charlescoxhead-post-meta a:hover,
.charlescoxhead-post-meta a:focus-visible {
	color: var(--wp--preset--color--teal-dark);
}

.charlescoxhead-page-template > .wp-block-post-featured-image {
	margin-bottom: clamp(1.2rem, 2.8vw, 1.8rem);
	max-width: 100%;
}

.charlescoxhead-page-template > .wp-block-post-featured-image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
}

.charlescoxhead-page-template > .wp-block-post-featured-image img,
.charlescoxhead-prose :where(.wp-block-image img, .wp-block-cover, .wp-block-gallery) {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(43, 111, 119, 0.1);
}

.charlescoxhead-prose > * {
	max-width: 100%;
}

.charlescoxhead-prose > .alignwide,
.charlescoxhead-prose > .wp-block-image.alignwide,
.charlescoxhead-prose > .wp-block-gallery.alignwide,
.charlescoxhead-prose > .wp-block-cover.alignwide,
.charlescoxhead-prose > .wp-block-group.alignwide {
	max-width: 100%;
}

.charlescoxhead-prose > .alignfull {
	margin-left: calc(-1 * clamp(1rem, 3vw, 2rem));
	margin-right: calc(-1 * clamp(1rem, 3vw, 2rem));
	max-width: none;
}

.charlescoxhead-prose p {
	color: var(--wp--preset--color--text-primary);
	font-size: clamp(1.02rem, 1.22vw, 1.16rem);
	line-height: 1.8;
	text-wrap: pretty;
}

.charlescoxhead-prose h2,
.charlescoxhead-prose h3,
.charlescoxhead-prose h4 {
	letter-spacing: -0.02em;
	line-height: 1.12;
	margin-bottom: 0.65rem;
	position: relative;
	scroll-margin-top: 6rem;
}

.charlescoxhead-prose h2 {
	font-size: clamp(1.75rem, 3.7vw, 2.5rem);
	margin-top: clamp(2.2rem, 4vw, 3rem);
}

.charlescoxhead-prose h2::before {
	background: linear-gradient(
		90deg,
		var(--wp--preset--color--teal),
		var(--wp--preset--color--mustard)
	);
	border-radius: 999px;
	content: "";
	height: 0.28rem;
	left: 0;
	position: absolute;
	top: -0.8rem;
	width: 3.6rem;
}

.charlescoxhead-prose h3 {
	font-size: clamp(1.35rem, 2.8vw, 1.88rem);
	margin-top: clamp(1.8rem, 3.2vw, 2.4rem);
}

.charlescoxhead-prose h4 {
	font-size: clamp(1.14rem, 2.1vw, 1.35rem);
	margin-top: clamp(1.3rem, 2.4vw, 1.8rem);
}

.charlescoxhead-prose ul,
.charlescoxhead-prose ol {
	display: grid;
	gap: 0.55rem;
	margin-top: 0.6rem;
	padding-left: 1.55rem;
}

.charlescoxhead-prose ul li::marker {
	color: var(--wp--preset--color--teal);
	font-size: 0.95em;
}

.charlescoxhead-prose ol li::marker {
	color: var(--wp--preset--color--burnt-orange);
	font-weight: 700;
}

.charlescoxhead-prose li > ul,
.charlescoxhead-prose li > ol {
	margin-top: 0.35rem;
}

.charlescoxhead-prose blockquote,
.charlescoxhead-prose .wp-block-quote {
	background: linear-gradient(
			120deg,
			rgba(43, 111, 119, 0.1),
			rgba(122, 143, 160, 0.08)
		),
		var(--wp--preset--color--background-secondary);
	border: 1px solid var(--wp--preset--color--border);
	border-left: 4px solid var(--wp--preset--color--teal);
	border-radius: 14px;
	margin-top: clamp(1rem, 2.4vw, 1.4rem);
	padding: clamp(1rem, 2.5vw, 1.4rem);
}

.charlescoxhead-prose blockquote p,
.charlescoxhead-prose .wp-block-quote p {
	font-size: clamp(1.1rem, 1.8vw, 1.34rem);
	line-height: 1.55;
	margin: 0;
}

.charlescoxhead-prose blockquote cite,
.charlescoxhead-prose .wp-block-quote cite {
	color: var(--wp--preset--color--text-secondary);
	display: block;
	font-size: 0.9rem;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.03em;
	margin-top: 0.85rem;
	text-transform: uppercase;
}

.charlescoxhead-prose hr,
.charlescoxhead-prose .wp-block-separator {
	border: none;
	height: 1px;
	margin-top: clamp(1.3rem, 2.7vw, 1.9rem);
	position: relative;
	width: 100%;
}

.charlescoxhead-prose hr::before,
.charlescoxhead-prose .wp-block-separator::before {
	background: linear-gradient(
		90deg,
		transparent,
		var(--wp--preset--color--sand),
		var(--wp--preset--color--teal),
		transparent
	);
	content: "";
	height: 1px;
	inset: 0;
	position: absolute;
}

.charlescoxhead-prose .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 100%;
}

.charlescoxhead-prose figcaption {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.9rem;
	margin-top: 0.5rem;
	text-align: center;
}

.charlescoxhead-prose pre,
.charlescoxhead-prose code {
	font-family: "IBM Plex Mono", "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.charlescoxhead-prose pre {
	background: #0e2226;
	border: 1px solid rgba(122, 143, 160, 0.3);
	border-radius: 14px;
	color: #dbf3f5;
	font-size: 0.94rem;
	line-height: 1.6;
	overflow-x: auto;
	padding: 1rem 1.15rem;
}

.charlescoxhead-prose :not(pre) > code {
	background: rgba(43, 111, 119, 0.1);
	border-radius: 6px;
	color: var(--wp--preset--color--teal-dark);
	font-size: 0.88em;
	padding: 0.18em 0.42em;
}

.charlescoxhead-prose .wp-block-table,
.wp-block-post-content .wp-block-table {
	border: 0;
	border-radius: 0;
	max-width: 100%;
	overflow-x: auto;
}

.charlescoxhead-prose table,
.wp-block-post-content table {
	border-collapse: collapse;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	display: table;
	max-width: none;
	overflow: visible;
	width: 100%;
}

.charlescoxhead-prose table th,
.charlescoxhead-prose table td,
.wp-block-post-content table th,
.wp-block-post-content table td {
	border: 1px solid var(--wp--preset--color--border);
	padding: 0.68rem 0.8rem;
	text-align: left;
}

.charlescoxhead-prose table th,
.wp-block-post-content table th {
	background: var(--wp--preset--color--background-secondary);
	color: var(--wp--preset--color--text-primary);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 0.94rem;
	font-weight: 600;
}

.charlescoxhead-prose .wp-block-pullquote {
	border-bottom: none;
	border-top: none;
	margin: clamp(1rem, 2.5vw, 1.6rem) 0;
	padding: 0;
}

.charlescoxhead-prose .wp-block-pullquote blockquote {
	margin: 0;
}

.charlescoxhead-prose .wp-block-buttons {
	margin-top: 1rem;
}

.charlescoxhead-prose .wp-block-button__link {
	background: linear-gradient(
		90deg,
		var(--wp--preset--color--teal),
		var(--wp--preset--color--teal-dark)
	);
	border-radius: 999px;
	border: 1px solid rgba(31, 79, 83, 0.45);
	box-shadow: 0 8px 18px rgba(31, 79, 83, 0.2);
	color: var(--wp--preset--color--surface);
	font-size: clamp(1rem, 1.4vw, 1.12rem);
	font-weight: 600;
	line-height: 1.2;
	padding: 0.68rem 1.2rem;
	text-decoration: none;
}

.charlescoxhead-prose a {
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

.charlescoxhead-post-navigation {
	border-top: 1px solid var(--wp--preset--color--border);
	margin-top: clamp(1.5rem, 3vw, 2rem);
	padding-top: clamp(1rem, 2.2vw, 1.45rem);
}

.charlescoxhead-post-navigation .wp-block-columns {
	gap: 1rem;
}

.charlescoxhead-post-nav-prev {
	text-align: left;
}

.charlescoxhead-post-nav-next {
	text-align: right;
}

.charlescoxhead-post-navigation .wp-block-post-navigation-link {
	background: transparent;
	border: 0;
	border-radius: 0;
	display: inline;
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-weight: 600;
	padding: 0;
	text-decoration: none;
}

.charlescoxhead-post-navigation .wp-block-post-navigation-link a {
	color: var(--wp--preset--color--teal-dark);
	text-decoration: none;
}

.charlescoxhead-post-navigation .wp-block-post-navigation-link:hover,
.charlescoxhead-post-navigation .wp-block-post-navigation-link:focus-within {
	box-shadow: none;
}

.charlescoxhead-post-navigation .wp-block-post-navigation-link:hover a,
.charlescoxhead-post-navigation .wp-block-post-navigation-link:focus-within a {
	color: var(--wp--preset--color--teal);
	text-decoration: underline;
}

.charlescoxhead-post-comments {
	border-top: 1px solid var(--wp--preset--color--border);
	margin-top: var(--charlescoxhead-panel-padding);
	padding: var(--charlescoxhead-panel-padding) 0 0;
}

.charlescoxhead-post-comments .wp-block-comments-title {
	font-size: clamp(1.2rem, 2.6vw, 1.6rem);
	margin: 0 0 0.85rem;
}

.charlescoxhead-post-comments .charlescoxhead-comment-item {
	background: linear-gradient(
			120deg,
			rgba(43, 111, 119, 0.07),
			rgba(122, 143, 160, 0.06)
		),
		var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	margin-bottom: 0.9rem;
	padding: 0.85rem 0.95rem;
}

.charlescoxhead-post-comments .wp-block-comment-author-name,
.charlescoxhead-post-comments .wp-block-comment-date {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.charlescoxhead-post-comments .wp-block-comment-content p {
	font-size: 0.98rem;
	line-height: 1.65;
	margin-bottom: 0;
}

.charlescoxhead-post-comments .comment-respond {
	background: var(--wp--preset--color--background-secondary);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	margin-top: 0;
	margin-left: 0;
	margin-right: 0;
	padding: var(--charlescoxhead-panel-padding);
	width: 100%;
}

.charlescoxhead-post-comments .comment-reply-title {
	margin: 0 0 0.85rem;
}

.charlescoxhead-post-comments .comment-form > p {
	margin: 0 0 0.95rem;
}

.charlescoxhead-post-comments .comment-form > p:last-child {
	margin-bottom: 0;
}

.charlescoxhead-post-comments
	:where(input[type="text"], input[type="email"], input[type="url"], textarea) {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	padding: 0.6rem 0.72rem;
	width: 100%;
}

.charlescoxhead-post-comments .comment-notes,
.charlescoxhead-post-comments .comment-form-cookies-consent label {
	color: var(--wp--preset--color--text-secondary);
	font-size: 0.88rem;
	line-height: 1.45;
}

.charlescoxhead-post-comments .comment-notes {
	margin-bottom: 0.95rem;
}

.charlescoxhead-post-comments .comment-form-cookies-consent {
	align-items: flex-start;
	display: flex;
	gap: 0.65rem;
}

.charlescoxhead-post-comments .comment-form-cookies-consent input[type="checkbox"] {
	height: 1.05rem;
	margin-top: 0.15rem;
	width: 1.05rem;
}

.charlescoxhead-post-comments .comment-form-cookies-consent label {
	margin: 0;
}

.charlescoxhead-post-comments .form-submit input[type="submit"] {
	background: linear-gradient(
		90deg,
		var(--wp--preset--color--teal),
		var(--wp--preset--color--teal-dark)
	);
	border: 1px solid rgba(31, 79, 83, 0.45);
	border-radius: 999px;
	box-shadow: 0 8px 18px rgba(31, 79, 83, 0.2);
	color: var(--wp--preset--color--surface);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 0.96rem;
	font-weight: 600;
	padding: 0.58rem 1.05rem;
}

.charlescoxhead-related-posts {
	border-top: 1px solid var(--wp--preset--color--border);
	margin-top: clamp(1.5rem, 3vw, 2.1rem);
	padding-top: clamp(1rem, 2.2vw, 1.45rem);
}

.charlescoxhead-related-posts > h2 {
	font-size: clamp(1.3rem, 2.8vw, 1.85rem);
	margin: 0 0 0.9rem;
}

.charlescoxhead-related-post-grid {
	display: grid;
	gap: 0.9rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.charlescoxhead-related-post-grid > li {
	list-style: none;
	margin: 0;
}

.charlescoxhead-related-post-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
	height: 100%;
	padding: 0.95rem;
}

.charlescoxhead-related-post-card .wp-block-post-title {
	font-size: 1.08rem;
	line-height: 1.2;
	margin: 0 0 0.3rem;
}

.charlescoxhead-related-post-card .wp-block-post-title a {
	color: var(--wp--preset--color--text-primary);
	text-decoration: none;
}

.charlescoxhead-related-post-card .wp-block-post-date {
	color: var(--wp--preset--color--text-secondary);
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	margin-bottom: 0.42rem;
	text-transform: uppercase;
}

.charlescoxhead-related-post-card .wp-block-post-excerpt {
	font-size: 0.94rem;
	line-height: 1.6;
}

.charlescoxhead-related-post-card .wp-block-post-excerpt__more-link {
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 782px) {
	.page-template-page-editorial-showcase header.wp-block-template-part {
		position: relative;
	}

	.charlescoxhead-page-head .wp-block-post-title {
		max-width: 100%;
	}

	.charlescoxhead-page-head::after {
		max-width: 100%;
	}

	.charlescoxhead-page-template {
		padding-block: var(--charlescoxhead-panel-padding);
	}

	.charlescoxhead-prose > .alignfull {
		margin-left: calc(-1 * clamp(0.75rem, 3vw, 1rem));
		margin-right: calc(-1 * clamp(0.75rem, 3vw, 1rem));
	}

	.charlescoxhead-post-navigation .wp-block-columns,
	.charlescoxhead-related-post-grid {
		grid-template-columns: 1fr;
	}

	.charlescoxhead-category-template .charlescoxhead-project-tiles__grid {
		grid-template-columns: 1fr;
	}

	.charlescoxhead-search-template .charlescoxhead-project-tiles__grid {
		grid-template-columns: 1fr;
	}

	.charlescoxhead-prose h2::before {
		top: -0.65rem;
		width: 3rem;
	}
}

@media (max-width: 960px) {
	.charlescoxhead-category-template .charlescoxhead-project-tiles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.charlescoxhead-search-template .charlescoxhead-project-tiles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 783px) {
	.page-template-page-editorial-showcase header.wp-block-template-part {
		position: relative;
	}
}
