/*
Theme Name: Inner Ear Twentig One Child
Theme URI: https://www.innerear.co.uk/
Author: Inner Ear
Author URI: https://www.innerear.co.uk/
Description: Local prototype child theme for the Inner Ear website overhaul. Built on Twentig One for WordPress full-site editing tests.
Template: twentig-one
Requires at least: 6.9
Tested up to: 7.0
Requires PHP: 8.0
Version: 0.1.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: innerear-twentigone-child
*/

/*
 * Theme-level structure now lives in theme.json and block templates.
 * This stylesheet carries the Inner Ear component layer used by block content.
 */

:root {
	--inner-ear-focus-outline: 2px solid currentColor;
	--ie-font-body: ui-sans-serif, system-ui, -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
	--ie-font-display: "Alfa Slab One", Georgia, serif;
	--ie-font-heading: "Bitter", Georgia, serif;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.wp-block-button__link:focus-visible {
	outline: var(--inner-ear-focus-outline);
	outline-offset: 3px;
}

/* Inner Ear component layer for block-first page building. */

:root {
	--ie-ink: #100111;
	--ie-paper: #f8f5ef;
	--ie-white: #ffffff;
	--ie-mist: #e7f3f6;
	--ie-teal: #4396b7;
	--ie-rust: #ff6900;
	--ie-gold: #e8b41a;
	--ie-plum: #100111;
	--ie-brown: #1f0303;
	--ie-red: #990000;
	--ie-blue: #005a8f;
	--ie-line: rgba(16, 1, 17, 0.16);
	--ie-shadow: 0 18px 48px rgba(16, 1, 17, 0.12);
}

.ie-site-header {
	border-bottom: 1px solid var(--ie-line);
	font-family: var(--ie-font-body);
	position: sticky;
	top: 0;
	z-index: 20;
}

.ie-site-header a,
.ie-site-footer a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.ie-site-header .alignwide {
	align-items: center;
}

.ie-site-brand {
	align-items: center;
	color: var(--ie-ink);
	display: inline-flex;
	gap: 0.8rem;
	line-height: 1;
	text-decoration: none;
}

.ie-site-brand__logo {
	flex: 0 0 auto;
}

.ie-site-brand__logo img,
.ie-site-brand__logo .custom-logo {
	display: block;
	height: 2rem;
	object-fit: contain;
	width: 2rem;
}

.ie-site-brand__text {
	font-family: var(--ie-font-display);
	font-size: 1.55rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
}

.ie-site-brand__text a {
	color: inherit;
	text-decoration: none;
}

.ie-site-header a:hover,
.ie-site-header a:focus-visible {
	color: var(--ie-rust);
}

body.ie-stage5-page #wp--skip-link--target.has-global-padding,
body.ie-stage5-page .entry-content.has-global-padding {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.ie-stage5-page #wp--skip-link--target.is-layout-constrained > .entry-content {
	max-width: none;
	width: 100%;
}

body.single-portfolio.ie-stage5-page {
	overflow-x: clip;
}

body.single-portfolio.ie-stage5-page .wp-block-group.alignfull.has-global-padding {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.ie-page,
.ie-stage5 {
	--ie-gutter: clamp(1.25rem, 7vw, 6rem);
	background: var(--ie-paper);
	color: var(--ie-ink);
	font-family: var(--ie-font-body);
	font-size: 1rem;
	line-height: 1.6;
}

.wp-block-html.alignfull .ie-stage5,
.entry-content.alignfull > .ie-stage5,
.wp-block-post-content.alignfull > .ie-stage5,
.entry-content > .alignfull .ie-stage5,
.wp-block-post-content > .alignfull .ie-stage5,
.entry-content.alignfull > .ie-page,
.wp-block-post-content.alignfull > .ie-page,
.entry-content > .alignfull .ie-page,
.wp-block-post-content > .alignfull .ie-page {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: 100%;
}

.entry-content.alignfull > .ie-stage5,
.wp-block-post-content.alignfull > .ie-stage5,
.entry-content.alignfull > .ie-page,
.wp-block-post-content.alignfull > .ie-page {
	margin-left: 0;
	margin-right: 0;
	max-width: none;
	width: 100vw;
}

.entry-content > .wp-block-html:not(.alignfull) .ie-stage5,
.wp-block-post-content > .wp-block-html:not(.alignfull) .ie-stage5 {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
}

:is(.ie-stage5, .ie-page) * {
	box-sizing: border-box;
}

:is(.ie-stage5, .ie-page) h1,
:is(.ie-stage5, .ie-page) h2,
:is(.ie-stage5, .ie-page) h3,
:is(.ie-stage5, .ie-page) p {
	margin-block-start: 0;
}

:is(.ie-stage5, .ie-page) h1,
:is(.ie-stage5, .ie-page) h2,
:is(.ie-stage5, .ie-page) h3 {
	overflow-wrap: anywhere;
}

:is(.ie-stage5, .ie-page) h1 {
	font-family: var(--ie-font-display);
	font-size: 4rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.08;
	max-width: 11ch;
	text-wrap: balance;
}

:is(.ie-stage5, .ie-page) h2 {
	font-family: var(--ie-font-heading);
	font-size: 2.45rem;
	font-weight: 800;
	line-height: 1.12;
	max-width: 18ch;
	text-wrap: balance;
}

:is(.ie-stage5, .ie-page) h3 {
	font-family: var(--ie-font-heading);
	font-size: 1.28rem;
	font-weight: 700;
	line-height: 1.18;
	text-wrap: balance;
}

:is(.ie-stage5, .ie-page) p + h3,
:is(.ie-stage5, .ie-page) ul + h3,
:is(.ie-stage5, .ie-page) ol + h3 {
	margin-top: 1.2rem;
}

:is(.ie-stage5, .ie-page) p {
	max-width: 68ch;
}

:is(.ie-stage5, .ie-page) a:not(.ie-button):not(.wp-block-button__link) {
	color: var(--ie-teal);
}

.ie-section {
	padding: 5rem var(--ie-gutter);
}

.ie-section--tight {
	padding-block: 3.5rem;
}

.ie-section--ink {
	background: var(--ie-plum);
	color: var(--ie-paper);
}

.ie-section--white {
	background: var(--ie-white);
}

.ie-section--mist {
	background: var(--ie-mist);
}

.ie-section__intro {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1fr);
	margin-bottom: 2.5rem;
}

.ie-kicker {
	color: var(--ie-rust);
	font-family: var(--ie-font-body);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	margin-bottom: 0.85rem;
	text-transform: uppercase;
}

.ie-section--ink .ie-kicker,
.ie-hero .ie-kicker {
	color: var(--ie-gold);
}

.ie-lede {
	font-size: 1.25rem;
	line-height: 1.45;
}

.ie-hero {
	align-items: end;
	color: var(--ie-paper);
	display: grid;
	min-height: 68vh;
	padding: 7rem var(--ie-gutter) 4rem;
	position: relative;
}

.ie-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(16, 1, 17, 0.9), rgba(31, 3, 3, 0.7), rgba(16, 1, 17, 0.36));
}

.ie-hero .wp-block-cover__inner-container {
	width: 100%;
}

.ie-hero--compact {
	min-height: 48vh;
}

.ie-archive-header {
	background: var(--ie-mist);
	color: var(--ie-ink);
	min-height: 0;
	padding-block: clamp(3.25rem, 7vw, 5.5rem);
}

.ie-archive-header .ie-kicker {
	color: var(--ie-rust);
}

.ie-hero__content {
	max-width: 850px;
}

.ie-hero__content p {
	font-size: 1.22rem;
	line-height: 1.5;
	max-width: 760px;
}

body.single-portfolio .ie-hero__content {
	max-width: 980px;
}

body.single-portfolio .ie-hero__content h1 {
	max-width: 15ch;
}

body.single-portfolio .ie-hero__content p {
	max-width: 900px;
}

.ie-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 1.75rem;
}

.ie-button {
	align-items: center;
	background: var(--ie-gold);
	border: 1px solid var(--ie-gold);
	border-radius: 999px;
	color: var(--ie-ink);
	display: inline-flex;
	font-family: var(--ie-font-body);
	font-weight: 800;
	justify-content: center;
	min-height: 3rem;
	padding: 0.78rem 1.1rem;
	text-decoration: none;
}

.ie-button:hover,
.ie-button:focus-visible {
	background: #f2c94b;
	border-color: #f2c94b;
	color: var(--ie-ink);
}

.ie-button--secondary {
	background: transparent;
	border-color: currentColor;
	color: inherit;
}

.ie-card-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.ie-card,
.ie-proof-card,
.ie-form-panel,
.ie-callout {
	background: var(--ie-white);
	border: 1px solid var(--ie-line);
	border-radius: 8px;
	box-shadow: 0 1px 0 rgba(21, 18, 13, 0.04);
	overflow: hidden;
}

.ie-card,
.ie-callout,
.ie-form-panel {
	padding: 1.35rem;
}

.ie-card--feature,
.ie-callout--large {
	padding: clamp(1.4rem, 3vw, 2.2rem);
}

.ie-card p,
.ie-proof-card p,
.ie-callout p {
	margin-bottom: 0;
}

.ie-card ul,
.ie-callout ul {
	margin: 1rem 0 0;
	padding-left: 1.1rem;
}

.ie-card li + li,
.ie-callout li + li {
	margin-top: 0.45rem;
}

.ie-card__number,
.ie-tag {
	background: rgba(67, 150, 183, 0.12);
	border: 1px solid rgba(67, 150, 183, 0.26);
	border-radius: 999px;
	color: var(--ie-teal);
	display: inline-flex;
	font-family: var(--ie-font-body);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 0.9rem;
	padding: 0.36rem 0.6rem;
}

.ie-tag--rust {
	background: rgba(255, 105, 0, 0.1);
	border-color: rgba(255, 105, 0, 0.24);
	color: var(--ie-rust);
}

.ie-tag--gold {
	background: rgba(232, 180, 26, 0.2);
	border-color: rgba(232, 180, 26, 0.28);
	color: #7d5700;
}

.ie-split {
	align-items: start;
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
}

.wp-block-columns.ie-split,
.wp-block-columns.ie-split.is-layout-flex {
	align-items: start;
	display: grid !important;
	gap: 2rem;
	grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
}

.wp-block-columns.ie-split > .wp-block-column {
	flex-basis: auto !important;
	margin: 0 !important;
	min-width: 0;
}

.ie-signal-list {
	display: grid;
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ie-signal-list li {
	align-items: start;
	border-top: 1px solid var(--ie-line);
	display: grid;
	gap: 0.8rem;
	grid-template-columns: 2.25rem 1fr;
	padding-top: 0.8rem;
}

.ie-signal-list strong {
	color: var(--ie-rust);
	display: block;
}

.ie-process {
	counter-reset: ie-process;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ie-process > * {
	border-left: 3px solid var(--ie-gold);
	padding-left: 1rem;
}

.ie-step-grid,
.ie-outcome-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.ie-step {
	border-top: 1px solid var(--ie-line);
	padding-top: 1rem;
}

.ie-section--ink .ie-step {
	border-color: rgba(247, 242, 234, 0.28);
}

.ie-step strong {
	display: block;
	font-size: 1.1rem;
	line-height: 1.2;
	margin-bottom: 0.35rem;
}

.ie-mini-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 1rem;
}

.ie-callout > .ie-mini-list:first-of-type {
	margin-top: 1rem;
}

.ie-mini-list span {
	background: rgba(16, 1, 17, 0.06);
	border: 1px solid var(--ie-line);
	border-radius: 999px;
	font-family: var(--ie-font-body);
	font-size: 0.86rem;
	font-weight: 700;
	padding: 0.35rem 0.58rem;
}

.ie-section--ink .ie-mini-list span {
	background: rgba(247, 242, 234, 0.08);
	border-color: rgba(247, 242, 234, 0.26);
}

.ie-proof-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.ie-proof-card img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.ie-proof-card__body {
	padding: 1rem;
}

.ie-proof-card__meta {
	color: rgba(16, 1, 17, 0.68);
	font-family: var(--ie-font-body);
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 0.55rem;
}

.ie-proof-card__body h3 {
	margin-bottom: 0.45rem;
}

.ie-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.ie-pills span {
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 700;
	padding: 0.35rem 0.62rem;
}

.ie-metric-strip {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	margin-top: 2rem;
}

.ie-metric {
	border-top: 1px solid currentColor;
	padding-top: 1rem;
}

.ie-metric strong {
	display: block;
	font-size: 2rem;
	line-height: 1;
}

.ie-form-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ie-field {
	display: grid;
	gap: 0.35rem;
}

.ie-field--full {
	grid-column: 1 / -1;
}

.ie-field label {
	font-family: var(--ie-font-body);
	font-weight: 800;
}

.ie-field input,
.ie-field select,
.ie-field textarea {
	background: #fffaf2;
	border: 1px solid rgba(16, 1, 17, 0.26);
	border-radius: 6px;
	color: var(--ie-ink);
	font: inherit;
	min-height: 2.75rem;
	padding: 0.65rem 0.75rem;
	width: 100%;
}

.ie-field textarea {
	min-height: 8rem;
}

.ie-checkbox {
	align-items: flex-start;
	display: flex;
	gap: 0.6rem;
	line-height: 1.45;
}

.ie-checkbox input {
	margin-top: 0.2rem;
	width: auto;
}

.ie-hubspot-form-panel {
	min-height: 24rem;
	padding: clamp(1.2rem, 3vw, 2rem);
}

.ie-hubspot-form-panel .hbspt-form {
	min-height: 18rem;
}

.ie-hubspot-form-panel iframe,
.ie-hubspot-form-panel form {
	max-width: 100%;
}

.ie-hubspot-form-panel .hs-form-field {
	margin-bottom: 1rem;
}

.ie-hubspot-form-panel label {
	font-weight: 800;
}

.ie-hubspot-form-panel input,
.ie-hubspot-form-panel select,
.ie-hubspot-form-panel textarea {
	font: inherit;
}

.ie-hubspot-placeholder {
	background: #fffaf2;
	border: 1px dashed rgba(16, 1, 17, 0.35);
	border-radius: 8px;
	margin-top: 1rem;
	padding: 1rem;
}

.ie-note {
	color: rgba(16, 1, 17, 0.68);
	font-family: var(--ie-font-body);
	font-size: 0.92rem;
}

.ie-section--ink .ie-note {
	color: rgba(247, 242, 234, 0.72);
}

.ie-insights-browser {
	display: grid;
	gap: 1.5rem;
}

.ie-insights-browser__toolbar {
	align-items: start;
	background: #fffaf2;
	border: 1px solid var(--ie-line);
	border-radius: 8px;
	display: grid;
	gap: 1rem;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	padding: 1.2rem;
}

.ie-insights-search {
	display: grid;
	gap: 0.65rem;
}

.ie-insights-search__label,
.ie-insights-tags__label {
	color: var(--ie-rust);
	font-family: var(--ie-font-body);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ie-insights-search__row {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: minmax(0, 1fr) auto;
}

.ie-insights-search__input {
	background: var(--ie-white);
	border: 1px solid rgba(16, 1, 17, 0.24);
	border-radius: 999px;
	font: inherit;
	min-height: 3rem;
	padding: 0.7rem 1rem;
	width: 100%;
}

.ie-insights-search__button {
	align-items: center;
	background: var(--ie-gold);
	border: 1px solid var(--ie-gold);
	border-radius: 999px;
	color: var(--ie-ink);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 800;
	justify-content: center;
	min-height: 3rem;
	min-width: 3rem;
	padding: 0.75rem;
}

.ie-insights-search__icon {
	align-items: center;
	display: inline-flex;
	justify-content: center;
}

.ie-insights-search__icon svg {
	display: block;
	height: 1rem;
	width: 1rem;
}

.ie-insights-tags {
	display: grid;
	gap: 0.7rem;
}

.ie-insights-tags__items {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.ie-tag-pill {
	background: rgba(67, 150, 183, 0.08);
	border: 1px solid rgba(67, 150, 183, 0.24);
	border-radius: 999px;
	color: var(--ie-teal);
	display: inline-flex;
	font-family: var(--ie-font-body);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 0.5rem 0.8rem;
	text-decoration: none;
}

.ie-tag-pill.is-active,
.ie-tag-pill:hover,
.ie-tag-pill:focus-visible {
	background: rgba(232, 180, 26, 0.18);
	border-color: rgba(232, 180, 26, 0.32);
	color: var(--ie-ink);
}

.ie-insights-results-note {
	font-family: var(--ie-font-body);
	font-size: 0.96rem;
	margin: 0;
}

.ie-insights-results-note a {
	font-weight: 700;
	margin-left: 0.5rem;
}

.ie-insights-card-grid {
	align-items: start;
}

.ie-insights-card {
	display: grid;
	grid-template-rows: auto 1fr;
	padding: 0;
}

.ie-insights-card__image {
	display: block;
}

.ie-insights-card__image img {
	aspect-ratio: 16 / 9;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.ie-insights-card__body {
	display: grid;
	gap: 0.8rem;
	padding: 1.35rem;
}

.ie-insights-card__body h3 {
	margin-bottom: 0;
}

.ie-insights-card__body h3 a {
	color: inherit;
	text-decoration: none;
}

.ie-insights-card__body p {
	margin: 0;
}

.ie-insights-page .wp-block-query-pagination,
.ie-insights-browser .page-numbers {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ie-insights-browser .page-numbers a,
.ie-insights-browser .page-numbers span {
	color: var(--ie-ink);
	font-family: var(--ie-font-body);
	font-weight: 700;
	text-decoration: none;
}

.ie-insights-browser .page-numbers .current {
	color: var(--ie-rust);
}

.ie-logo-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

.ie-logo-row img {
	background: var(--ie-white);
	border-radius: 6px;
	max-height: 52px;
	max-width: 160px;
	object-fit: contain;
	padding: 0.55rem 0.75rem;
}

.ie-trust-row {
	align-items: stretch;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
	margin-top: 2rem;
}

.ie-trust-row > * {
	border-top: 1px solid var(--ie-line);
	padding-top: 1rem;
}

.ie-trust-row strong {
	display: block;
	font-size: 1.6rem;
	line-height: 1;
	margin-bottom: 0.4rem;
}

.ie-site-footer {
	border-top: 1px solid var(--ie-line);
	color: var(--ie-paper);
	font-family: var(--ie-font-body);
}

.ie-site-footer.has-contrast-background-color {
	background: var(--ie-plum) !important;
}

.ie-site-footer a {
	color: var(--ie-paper);
}

.ie-site-footer a:hover,
.ie-site-footer a:focus-visible {
	color: var(--ie-gold);
}

.ie-site-footer__grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(10rem, 0.6fr));
}

.ie-site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ie-site-footer li + li {
	margin-top: 0.45rem;
}

body.ie-functional-page #wp--skip-link--target {
	padding-bottom: clamp(4rem, 7vw, 7rem);
	padding-top: clamp(3.5rem, 7vw, 7rem);
}

body.ie-functional-page .entry-content,
body.ie-functional-page .wp-block-post-content {
	margin-left: auto;
	margin-right: auto;
	max-width: 820px;
}

body.ie-functional-page .entry-content > *,
body.ie-functional-page .wp-block-post-content > * {
	margin-bottom: 1.25rem;
}

body.ie-functional-page .entry-content h1,
body.ie-functional-page .wp-block-post-content h1 {
	font-family: var(--ie-font-display);
	font-size: clamp(2.4rem, 5vw, 4rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.08;
	margin-bottom: 1.5rem;
	max-width: 12ch;
}

body.ie-functional-page .entry-content h2,
body.ie-functional-page .entry-content h3,
body.ie-functional-page .wp-block-post-content h2,
body.ie-functional-page .wp-block-post-content h3 {
	font-family: var(--ie-font-heading);
	font-weight: 800;
	line-height: 1.15;
	margin-top: 2.25rem;
}

body.ie-functional-page .entry-content p,
body.ie-functional-page .entry-content li,
body.ie-functional-page .wp-block-post-content p,
body.ie-functional-page .wp-block-post-content li {
	font-family: var(--ie-font-body);
	line-height: 1.65;
}

body.ie-functional-page .entry-content a,
body.ie-functional-page .wp-block-post-content a {
	color: var(--ie-teal);
	text-underline-offset: 0.18em;
}

body.ie-functional-page .ie-site-brand__text,
body.ie-functional-page .ie-site-footer__brand {
	font-family: var(--ie-font-display);
}

#dougalperman {
	scroll-margin-top: 6.5rem;
}

body.single-post .wp-site-blocks {
	background: var(--ie-paper);
	color: var(--ie-ink);
}

.ie-post-shell {
	color: var(--ie-ink);
	font-family: var(--ie-font-body);
}

.ie-post-shell .wp-block-post-title {
	font-family: var(--ie-font-display);
	font-size: clamp(2.55rem, 5vw, 4rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.08;
	margin-bottom: 0;
	max-width: 16ch;
	text-wrap: balance;
}

.ie-post-header {
	margin-bottom: 1.75rem;
}

.ie-post-meta {
	color: rgba(16, 1, 17, 0.72);
	font-family: var(--ie-font-body);
	font-size: 0.95rem;
	font-weight: 700;
}

.ie-post-meta a,
.ie-post-footer a,
.ie-post-nav a {
	color: var(--ie-teal);
}

.ie-post-shell > .ie-post-featured-image,
.ie-post-shell > .ie-post-featured-image.alignwide {
	margin-left: auto;
	margin-right: auto;
	max-width: 960px;
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
	width: min(100%, 960px);
}

.ie-post-shell > .ie-post-featured-image img,
.ie-post-shell > .ie-post-featured-image.alignwide img {
	border-radius: 8px;
	display: block;
	height: auto;
	max-height: min(68vh, 640px);
	object-fit: cover;
	width: 100%;
}

.ie-post-shell .wp-block-post-content {
	font-family: var(--ie-font-body);
}

.ie-post-shell .wp-block-post-content > * {
	max-width: 760px;
}

.ie-post-shell .wp-block-post-content > .alignwide,
.ie-post-shell .wp-block-post-content > .alignfull {
	max-width: 1280px;
}

.ie-post-shell .wp-block-post-content h2 {
	font-family: var(--ie-font-heading);
	font-size: clamp(1.9rem, 3vw, 2.45rem);
	font-weight: 800;
	line-height: 1.12;
	margin-bottom: 0.8rem;
	margin-top: 2.6rem;
	max-width: 18ch;
	text-wrap: balance;
}

.ie-post-shell .wp-block-post-content h3 {
	font-family: var(--ie-font-heading);
	font-size: 1.28rem;
	font-weight: 700;
	line-height: 1.18;
	margin-bottom: 0.65rem;
	margin-top: 1.4rem;
	text-wrap: balance;
}

.ie-post-shell .wp-block-post-content p,
.ie-post-shell .wp-block-post-content li {
	line-height: 1.7;
}

.ie-post-shell .wp-block-post-content ul,
.ie-post-shell .wp-block-post-content ol {
	padding-left: 1.25rem;
}

.ie-post-shell .wp-block-post-content li + li {
	margin-top: 0.5rem;
}

.ie-post-shell .wp-block-post-content .wp-block-button__link {
	font-family: var(--ie-font-body);
	font-weight: 800;
}

.ie-post-shell .wp-block-post-content .wp-block-image figcaption,
.ie-insights-card figcaption {
	display: none;
}

.ie-post-footer {
	border-top: 1px solid var(--ie-line);
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: 1rem;
}

.ie-post-footer .wp-block-post-terms,
.ie-post-nav {
	color: rgba(16, 1, 17, 0.78);
	font-family: var(--ie-font-body);
	font-size: 0.95rem;
	font-weight: 700;
}

.ie-post-nav {
	row-gap: 0.75rem;
}

body.single-portfolio .wp-block-post-content h1,
body.single-portfolio .wp-block-post-title {
	font-family: var(--ie-font-display);
	font-size: clamp(2.5rem, 4.6vw, 3.8rem);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: 0;
	text-wrap: balance;
}

@media (max-width: 820px) {
	:is(.ie-stage5, .ie-page) h1 {
		font-size: 2.6rem;
		line-height: 1.04;
		max-width: 9.5ch;
	}

	:is(.ie-stage5, .ie-page) h2 {
		font-size: 2rem;
	}

	:is(.ie-stage5, .ie-page) h3 {
		font-size: 1.2rem;
	}

	.ie-section,
	.ie-hero {
		padding-left: 1.1rem;
		padding-right: 1.1rem;
	}

	.ie-site-brand {
		gap: 0.65rem;
	}

	.ie-site-brand__logo {
		height: 1.7rem;
		width: 1.7rem;
	}

	.ie-site-brand__text {
		font-size: 1.3rem;
	}

	.ie-section__intro,
	.ie-split,
	.ie-process,
	.ie-form-grid,
	.ie-site-footer__grid {
		grid-template-columns: 1fr;
	}

	.ie-insights-browser__toolbar {
		grid-template-columns: 1fr;
	}

	.wp-block-columns.ie-split,
	.wp-block-columns.ie-split.is-layout-flex {
		grid-template-columns: 1fr !important;
	}

	.ie-post-shell .wp-block-post-title {
		font-size: 2.45rem;
		max-width: 10ch;
	}

	body.single-portfolio .ie-hero__content h1 {
		max-width: 11ch;
	}

	body.single-portfolio .ie-hero__content p {
		max-width: 100%;
	}

	.ie-insights-card__body {
		padding: 1.1rem;
	}
}
