/**
 * Tracey Muir — section styles for the TM Elementor widgets.
 * Loaded only on pages that use a TM widget (declared as a widget dependency).
 */

[class*="elementor-widget-tm-"] {
	margin: 0;
}

/* Elementor's `.elementor img { height: auto }` would otherwise win over cover images. */
.tm-hero .tm-hero__media img,
.tm-research .tm-research__media img,
.tm-banner .tm-banner__media img,
.tm-card .tm-card__media img,
.tm-image-text .tm-image-text__media img {
	height: 100%;
	max-width: none;
}

.tm-section-title {
	margin: 0 0 26px;
}

.tm-section-description {
	font-size: var(--tm-size-body);
	line-height: 1.8;
	margin: 0;
	max-width: 520px;
}

.tm-button-group {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 26px;
	margin-top: 40px;
}

/* ---------- Hero ---------- */

.tm-hero {
	align-items: center;
	background: var(--tm-color-background);
	box-sizing: border-box;
	display: flex;
	min-height: 742px;
	overflow: hidden;
	position: relative;
}

.tm-hero__media {
	bottom: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: var(--tm-hero-image-width, 58%);
}

.tm-hero__image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tm-hero--fade .tm-hero__media,
.tm-research--fade .tm-research__media {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%);
	mask-image: linear-gradient(to right, transparent 0, #000 26%);
}

.tm-hero__note {
	background: #fdfcf9;
	box-shadow: 0 1px 10px rgba(30, 43, 69, 0.12);
	color: var(--tm-color-primary);
	font-family: var(--tm-font-accent);
	font-size: 24px;
	line-height: 1.33;
	margin: 0;
	padding: 26px 26px 24px;
	position: absolute;
	right: 22px;
	top: 52px;
	width: 214px;
	z-index: 1;
}

.tm-hero__note-rule {
	background: var(--tm-color-secondary);
	display: block;
	height: 2px;
	margin-top: 14px;
	width: 44px;
}

.tm-hero__inner {
	padding-inline: calc(var(--tm-gutter) + var(--tm-inset));
	position: relative;
	z-index: 1;
}

.tm-hero__content {
	max-width: 610px;
	padding-block: 104px 64px;
}

.tm-hero .tm-section-title {
	font-size: var(--tm-size-h1);
	margin-bottom: 30px;
}

.tm-hero .tm-divider {
	margin-bottom: 30px;
}

/* ---------- Feature category grid ---------- */

.tm-feature-grid {
	background: var(--tm-color-background);
	border-top: var(--tm-border-width) solid var(--tm-color-border);
	padding: 76px 0 82px;
}

.tm-feature-grid__list.tm-container {
	display: grid;
	grid-template-columns: repeat(var(--tm-columns, 6), minmax(0, 1fr));
	list-style: none;
	margin-block: 0;
	max-width: 1440px;
	padding-inline: 22px;
	row-gap: 48px;
}

.tm-feature-grid__list > li {
	position: relative;
}

.tm-feature-grid--dividers .tm-feature-grid__list > li + li::before {
	background: var(--tm-color-border);
	bottom: -8px;
	content: "";
	left: 0;
	position: absolute;
	top: -2px;
	width: var(--tm-border-width);
}

.tm-feature-grid__item {
	align-items: center;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 0 14px;
	text-align: center;
	text-decoration: none;
}

.tm-feature-grid__icon {
	color: var(--tm-color-primary);
	display: inline-flex;
	height: 60px;
	margin-bottom: 18px;
}

.tm-feature-grid__icon svg,
.tm-feature-grid__icon img {
	height: 60px;
	width: 60px;
}

.tm-feature-grid__title {
	color: var(--tm-color-primary);
	font-size: 19px;
	font-weight: var(--tm-weight-bold);
	line-height: 1.35;
	margin-bottom: 10px;
}

.tm-feature-grid__text {
	color: var(--tm-color-muted);
	font-size: 15.5px;
	line-height: 1.72;
	max-width: 205px;
}

a.tm-feature-grid__item:hover .tm-feature-grid__title,
a.tm-feature-grid__item:focus-visible .tm-feature-grid__title {
	color: var(--tm-color-secondary);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------- Research feature + quote panel ---------- */

.tm-research {
	align-items: center;
	background: var(--tm-color-background);
	box-sizing: border-box;
	display: flex;
	height: 100%;
	min-height: 669px;
	overflow: hidden;
	position: relative;
}

.tm-research__media {
	bottom: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: var(--tm-research-image-width, 58%);
}

.tm-research__media picture {
	display: block;
	height: 100%;
}

.tm-research__image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tm-research__content {
	box-sizing: content-box;
	max-width: 520px;
	padding: 80px 24px 80px calc(var(--tm-gutter) + 22px);
	position: relative;
	z-index: 1;
}

.tm-research .tm-section-description {
	max-width: 460px;
}

.tm-research .tm-button,
.tm-books .tm-button,
.tm-image-text .tm-button {
	margin-top: 40px;
}

.tm-quote {
	background: var(--tm-color-alt-background);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	margin: 0;
	padding: 80px 64px 80px 108px;
}

.tm-quote__mark {
	color: var(--tm-color-primary);
	display: block;
	font-family: var(--tm-font-heading);
	font-size: 96px;
	height: 44px;
	line-height: 0.85;
	margin: 0 0 30px -28px;
}

.tm-quote__text {
	border: 0;
	color: var(--tm-color-primary);
	font-family: var(--tm-font-heading);
	font-size: 29px;
	font-style: italic;
	line-height: 1.55;
	margin: 0;
	max-width: 300px;
	padding: 0;
}

.tm-quote__text p {
	margin: 0;
}

.tm-quote__cite {
	color: var(--tm-color-muted);
	font-size: var(--tm-size-small);
	margin-top: 16px;
}

.tm-quote .tm-divider {
	margin-top: 40px;
}

/* ---------- Book showcase ---------- */

.tm-books--shelf {
	background: var(--tm-color-background);
	overflow: hidden;
}

.tm-books__inner.tm-container {
	align-items: center;
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 589px;
	padding-left: calc(var(--tm-gutter) + var(--tm-inset));
}

.tm-books__content {
	padding-block: 64px;
}

.tm-books .tm-eyebrow {
	color: var(--tm-color-accent);
}

.tm-books__content .tm-section-title {
	white-space: nowrap;
}

.tm-books__display {
	align-items: flex-start;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-bottom: 76px;
	position: relative;
}

.tm-books__covers {
	align-items: flex-end;
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0 0 0 66px;
	position: relative;
	z-index: 1;
}

.tm-books__cover {
	flex: none;
	width: 252px;
}

.tm-books__cover + .tm-books__cover {
	margin-left: -10px;
	transform: rotate(2.5deg);
	transform-origin: bottom left;
}

.tm-books__cover a {
	display: block;
}

/* Covers keep their own proportions (never cropped); they stand on the shelf by their bottom edge. */
.tm-books__cover img,
.tm-books__cover .tm-image-placeholder {
	box-shadow: 0 10px 18px rgba(30, 43, 69, 0.2), 0 2px 4px rgba(30, 43, 69, 0.12);
	display: block;
	height: auto;
	width: 100%;
}

.tm-books__cover .tm-image-placeholder {
	aspect-ratio: 2 / 3;
}

/* Cover hover lift lives in motion.css (Site Settings → Motion). */

.tm-books__shelf {
	background: #9a6a42;
	border-top: 4px solid #b98b5f;
	box-shadow: 0 10px 16px rgba(70, 45, 20, 0.16);
	display: block;
	height: 18px;
	margin-right: calc(-1 * var(--tm-gutter));
	width: calc(100% + var(--tm-gutter) - 0px);
}

.tm-books__decor {
	bottom: 98px;
	position: absolute;
	right: calc(-1 * var(--tm-gutter));
	width: 190px;
	z-index: 2;
}

.tm-books__decor img {
	display: block;
	height: auto;
	width: 100%;
}

.tm-books__empty {
	color: var(--tm-color-muted);
	padding-left: 66px;
}

.tm-books--grid {
	padding-block: var(--tm-section-space);
}

.tm-books__intro {
	margin-bottom: 48px;
}

.tm-books__grid {
	display: grid;
	gap: 48px var(--tm-grid-gap);
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* Grid cards share a 2:3 frame; the whole cover is shown inside it (contain, not cover). */
.tm-book-card__cover {
	align-items: flex-end;
	aspect-ratio: 2 / 3;
	display: flex;
	margin-bottom: 22px;
}

.tm-book-card__cover img,
.tm-book-card__cover .tm-image-placeholder {
	box-shadow: 0 8px 16px rgba(30, 43, 69, 0.16);
	display: flex;
	max-height: 100%;
	object-fit: contain;
	width: 100%;
}

.tm-book-card__cover img {
	height: auto;
}

.tm-book-card__cover .tm-image-placeholder {
	height: 100%;
}

.tm-book-card__title {
	font-size: var(--tm-size-h3);
	margin-bottom: 10px;
}

.tm-book-card__title a {
	color: inherit;
	text-decoration: none;
}

.tm-book-card__text {
	color: var(--tm-color-muted);
	font-size: 16px;
	margin: 0 0 16px;
}

.tm-books__more {
	margin-top: 48px;
}

/* ---------- Latest articles ---------- */

.tm-latest {
	background: var(--tm-color-background);
	padding: 96px 0 52px;
}

.tm-latest__header {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	justify-content: space-between;
	margin-bottom: 28px;
}

.tm-latest__header .tm-section-title {
	font-size: clamp(32px, 2.4vw + 13px, 48px);
	margin: 0;
}

.tm-latest__header .tm-section-description {
	margin-top: 12px;
}

.tm-latest__header .tm-link-arrow {
	margin-bottom: 8px;
}

.tm-latest__empty {
	color: var(--tm-color-muted);
}

/* ---------- Contact banner ---------- */

.tm-banner {
	align-items: flex-start;
	background: var(--tm-color-alt-background);
	box-sizing: border-box;
	display: flex;
	min-height: 583px;
	overflow: hidden;
	position: relative;
}

.tm-banner__media {
	inset: 0;
	position: absolute;
}

.tm-banner__image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tm-banner__overlay {
	inset: 0;
	position: absolute;
}

.tm-banner__content {
	box-sizing: border-box;
	margin-left: var(--tm-banner-offset, 38.8%);
	max-width: 720px;
	padding: 100px var(--tm-gutter) 80px 0;
	position: relative;
	z-index: 1;
}

.tm-banner .tm-eyebrow {
	margin-bottom: 18px;
}

.tm-banner .tm-section-title {
	font-size: 46px;
	line-height: 1.2;
	margin-bottom: 28px;
}

/* ---------- Section heading ---------- */

.tm-heading-block {
	padding: var(--tm-section-space) 0 40px;
}

.tm-heading-block__inner {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 32px;
	justify-content: space-between;
}

.tm-heading-block .tm-divider {
	margin-bottom: 26px;
}

.tm-heading-block .tm-section-description {
	max-width: none;
}

.tm-align-center .tm-heading-block__inner {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.tm-align-center .tm-heading-block .tm-divider {
	margin-inline: auto;
}

/* ---------- CTA, social ---------- */

.tm-cta {
	display: flex;
}

.tm-social-list--labels a {
	align-items: center;
	gap: 8px;
	text-decoration: none;
}

/* ---------- Image with text ---------- */

.tm-image-text {
	padding-block: var(--tm-section-space);
}

.tm-image-text__inner {
	align-items: center;
	display: grid;
	gap: 80px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.tm-image-side-left .tm-image-text__media {
	order: -1;
}

.tm-image-text__media {
	aspect-ratio: 1.25;
	border-radius: var(--tm-image-radius);
	overflow: hidden;
}

.tm-image-text__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.tm-image-text__body > * {
	margin: 0 0 1em;
}

/* ---------- Contact form ---------- */

.tm-contact {
	padding-block: var(--tm-section-space);
}

.tm-contact__inner:not(.tm-contact__inner--details) .tm-contact__form {
	max-width: 860px;
}

.tm-contact__inner--details {
	display: grid;
	gap: 80px;
	grid-template-columns: minmax(0, 1fr) 340px;
}

.tm-contact__details {
	background: var(--tm-color-alt-background);
	border: var(--tm-border-width) solid var(--tm-color-border);
	padding: 32px;
}

.tm-contact__details dl {
	margin: 0 0 24px;
}

.tm-contact__details dt {
	color: var(--tm-color-muted);
	font-size: var(--tm-size-small);
	font-weight: var(--tm-weight-bold);
	margin-top: 16px;
}

.tm-contact__details dt:first-child {
	margin-top: 0;
}

.tm-contact__details dd {
	margin: 2px 0 0;
}

.tm-contact-form form {
	margin-top: 32px;
}

.tm-form-row {
	margin-bottom: 22px;
}

.tm-form-row--split {
	display: grid;
	gap: 22px;
	grid-template-columns: 1fr 1fr;
}

.tm-form-field label {
	color: var(--tm-color-primary);
	display: block;
	font-size: var(--tm-size-small);
	font-weight: var(--tm-weight-bold);
	margin-bottom: 6px;
}

.tm-form-field input,
.tm-form-field select,
.tm-form-field textarea {
	background: var(--tm-color-surface);
	border: var(--tm-border-width) solid #b9b3a7;
	border-radius: var(--tm-radius);
	box-sizing: border-box;
	color: var(--tm-color-text);
	font: inherit;
	padding: 13px 14px;
	width: 100%;
}

.tm-form-field.has-error input,
.tm-form-field.has-error textarea {
	border-color: #b3261e;
}

.tm-form-error {
	color: #b3261e;
	font-size: var(--tm-size-small);
	margin: 6px 0 0;
}

.tm-form-notice {
	border-left: 3px solid;
	margin-bottom: 24px;
	padding: 14px 18px;
}

.tm-form-notice--success {
	background: #e8f1ec;
	border-color: var(--tm-color-secondary);
}

.tm-form-notice--error {
	background: #fbeceb;
	border-color: #b3261e;
}

.tm-form-hp {
	height: 1px;
	left: -10000px;
	overflow: hidden;
	position: absolute;
	width: 1px;
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
	.tm-hero {
		flex-direction: column;
		align-items: stretch;
		min-height: 0 !important;
	}

	.tm-hero__media {
		aspect-ratio: 16 / 10;
		order: 2;
		position: relative;
		width: 100% !important;
	}

	.tm-hero-mobile-image-before .tm-hero__media {
		order: 0;
	}

	.tm-hero--fade .tm-hero__media,
	.tm-research--fade .tm-research__media {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.tm-hero__content {
		max-width: 680px !important;
		padding-block: 56px;
	}

	.tm-feature-grid--dividers .tm-feature-grid__list > li + li::before {
		display: none;
	}

	.tm-research {
		flex-direction: column;
		align-items: stretch;
		min-height: 0 !important;
	}

	.tm-research__media {
		aspect-ratio: 16 / 10;
		order: 2;
		position: relative;
		width: 100% !important;
	}

	.tm-research__content {
		max-width: 680px !important;
		padding: 64px var(--tm-gutter);
	}

	.tm-quote {
		padding: 64px var(--tm-gutter);
	}

	.tm-quote__mark {
		margin-left: 0;
	}

	.tm-quote__text {
		max-width: 620px;
	}

	.tm-books__inner.tm-container {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.tm-books__content {
		padding-bottom: 0;
	}

	.tm-books__content .tm-section-title {
		white-space: normal;
	}

	.tm-books__display {
		padding-bottom: 64px;
	}

	.tm-books__covers {
		padding-left: 24px;
	}

	.tm-banner {
		min-height: 460px !important;
	}

	.tm-banner__content {
		margin-left: var(--tm-gutter) !important;
		padding-right: var(--tm-gutter);
	}

	.tm-image-text__inner,
	.tm-contact__inner--details {
		gap: 48px;
		grid-template-columns: 1fr;
	}

	.tm-image-side-left .tm-image-text__media {
		order: 0;
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
	/* Desktop line breaks typed into headings would leave ragged lines on phones. */
	.tm-section-title br {
		display: none;
	}

	.tm-hero__note {
		font-size: 18px;
		padding: 14px 16px;
		right: 12px;
		top: 12px;
		width: 150px;
	}

	.tm-hero__note-rule {
		margin-top: 8px;
	}

	.tm-hero__content {
		padding-block: 44px 48px;
	}

	.tm-button-group {
		margin-top: 32px;
	}

	.tm-feature-grid {
		padding: 56px 0;
	}

	.tm-feature-grid__list.tm-container {
		padding-inline: var(--tm-gutter);
		row-gap: 40px;
	}

	.tm-feature-grid__item {
		padding: 0 6px;
	}

	.tm-feature-grid__title {
		font-size: 17px;
	}

	.tm-feature-grid__text {
		font-size: 15px;
	}

	.tm-research__content {
		padding-block: 52px;
	}

	.tm-quote {
		padding-block: 52px;
	}

	.tm-quote__mark {
		font-size: 72px;
		height: 32px;
		margin-bottom: 20px;
	}

	.tm-quote__text {
		font-size: 24px;
	}

	.tm-books__content {
		padding-top: 52px;
	}

	.tm-books__covers {
		padding-left: 0;
	}

	.tm-books__cover {
		width: min(42vw, 200px);
	}

	.tm-books__decor {
		width: 110px;
	}

	.tm-latest {
		padding: 64px 0 48px;
	}

	.tm-banner {
		min-height: 380px !important;
	}

	.tm-banner__content {
		padding-block: 56px;
	}

	.tm-banner .tm-section-title {
		font-size: 32px;
	}

	.tm-form-row--split {
		grid-template-columns: 1fr;
	}
}

/* =====================================================================
 * Inner pages — components added for the nine inner pages.
 * Same tokens as the homepage: no new colours or type styles.
 * ===================================================================== */

/* ---------- Editor-only states ---------- */

.tm-draft {
	outline: 2px dashed #c08a2c;
	outline-offset: -2px;
	position: relative;
}

.tm-draft__label {
	background: #fff4dc;
	color: #6b4a00;
	font: 600 13px/1.4 var(--tm-font-body);
	margin: 0;
	padding: 8px 14px;
}

.tm-editor-note {
	background: var(--tm-color-surface);
	border: 1px dashed var(--tm-color-border);
	color: var(--tm-color-muted);
	font-size: var(--tm-size-small);
	margin: 24px var(--tm-gutter);
	padding: 16px 20px;
}

/* ---------- Page hero ---------- */

.tm-page-hero {
	background: var(--tm-color-background);
	border-bottom: var(--tm-border-width) solid var(--tm-color-border);
}

.tm-page-hero--split {
	padding: 64px 0 80px;
}

.tm-page-hero--split .tm-page-hero__inner {
	align-items: center;
	display: grid;
	gap: 72px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	padding-inline: calc(var(--tm-gutter) + var(--tm-inset));
}

.tm-page-hero--image-left .tm-page-hero__media {
	order: -1;
}

.tm-page-hero__content {
	max-width: 580px;
}

.tm-page-hero--compact {
	padding: 72px 0 64px;
}

.tm-page-hero--compact .tm-page-hero__inner {
	padding-inline: calc(var(--tm-gutter) + var(--tm-inset));
}

.tm-page-hero--compact .tm-page-hero__content {
	max-width: 820px;
}

.tm-page-hero--center .tm-page-hero__content {
	margin-inline: auto;
	text-align: center;
}

.tm-page-hero--center .tm-divider,
.tm-page-hero--center .tm-section-description {
	margin-inline: auto;
}

.tm-page-hero--center .tm-breadcrumb ol,
.tm-page-hero--center .tm-button-group {
	justify-content: center;
}

.tm-page-hero .tm-section-title {
	font-size: var(--tm-size-h1);
	margin-bottom: 26px;
}

.tm-page-hero .tm-divider {
	margin-bottom: 26px;
}

.tm-page-hero .tm-section-description {
	max-width: 560px;
}

.tm-page-hero__media {
	aspect-ratio: 1.3;
	border-radius: var(--tm-image-radius);
	overflow: hidden;
}

.tm-page-hero .tm-page-hero__media img {
	display: block;
	height: 100%;
	max-width: none;
	object-fit: cover;
	width: 100%;
}

/* ---------- Feature grid: cards style ---------- */

.tm-feature-grid--cards {
	border-top: 0;
	padding: 0 0 48px; /* The next section supplies its own top spacing. */
}

.tm-feature-grid--cards .tm-feature-grid__list.tm-container {
	gap: var(--tm-grid-gap);
	max-width: calc(var(--tm-container) + 2 * var(--tm-gutter));
	padding-inline: var(--tm-gutter);
	row-gap: var(--tm-grid-gap);
}

.tm-feature-card {
	background: var(--tm-color-surface);
	border: var(--tm-border-width) solid var(--tm-color-border);
	display: flex;
	flex-direction: column;
	padding: 32px 28px 30px;
}

.tm-feature-card .tm-feature-grid__icon {
	height: 48px;
	margin-bottom: 20px;
}

.tm-feature-card .tm-feature-grid__icon svg,
.tm-feature-card .tm-feature-grid__icon img {
	height: 48px;
	width: 48px;
}

.tm-feature-card__title {
	font-size: var(--tm-size-h3);
	line-height: 1.25;
	margin: 0 0 12px;
}

.tm-feature-card__title a {
	color: inherit;
	text-decoration: none;
}

.tm-feature-card__title a:hover {
	color: var(--tm-color-secondary);
}

.tm-feature-card__text {
	color: var(--tm-color-muted);
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
}

.tm-feature-card__list {
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.tm-feature-card__list li {
	font-size: 16px;
	line-height: 1.6;
	padding: 4px 0 4px 20px;
	position: relative;
}

.tm-feature-card__list li::before {
	background: var(--tm-color-secondary);
	content: "";
	height: 6px;
	left: 2px;
	position: absolute;
	top: 0.9em;
	width: 6px;
}

.tm-feature-card__link {
	margin-top: auto;
	padding-top: 22px;
}

/* ---------- Latest articles: featured layout ---------- */

.tm-feature-list {
	display: grid;
	gap: 32px;
}

.tm-card--feature {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.tm-card--feature .tm-card__media {
	aspect-ratio: auto;
	min-height: 360px;
}

.tm-card--feature .tm-card__body {
	justify-content: center;
	padding: 44px 48px;
}

.tm-card--feature .tm-card__title {
	font-size: clamp(26px, 1.4vw + 14px, 34px);
	line-height: 1.2;
}

.tm-card--feature .tm-card__excerpt {
	font-size: 17px;
}

.tm-card--feature .tm-card__more {
	margin-top: 8px;
}

/* ---------- Contact banner: plain style ---------- */

.tm-banner .tm-button-group {
	margin-top: 0;
}

.tm-banner.tm-banner--plain {
	background: var(--tm-color-alt-background);
	justify-content: center;
	min-height: 0 !important;
}

.tm-banner--plain .tm-banner__content {
	margin: 0 auto !important;
	max-width: 820px;
	padding: 88px var(--tm-gutter);
	text-align: center;
}

.tm-banner--plain .tm-button-group {
	justify-content: center;
}

/* ---------- Rich text ---------- */

.tm-rich-text {
	padding-block: var(--tm-section-space);
}

.tm-rich-text--single .tm-rich-text__inner {
	max-width: 760px;
}

.tm-rich-text--center .tm-rich-text__inner {
	margin-inline: auto;
	text-align: center;
}

.tm-rich-text--split .tm-rich-text__inner {
	display: grid;
	gap: 80px;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.tm-rich-text__head .tm-section-title {
	font-size: clamp(30px, 1.9vw + 13px, 44px);
}

.tm-rich-text__body > * {
	margin: 0 0 1em;
}

.tm-rich-text__body > :last-child {
	margin-bottom: 0;
}

.tm-rich-text__body ul {
	padding-left: 1.2em;
}

.tm-rich-text__body .tm-button {
	margin-top: 16px;
}

/* ---------- Resource downloads ---------- */

.tm-resources {
	padding: 96px 0 52px; /* Same rhythm as the Latest Articles section. */
}

.tm-resource-card {
	background: var(--tm-color-surface);
	border: var(--tm-border-width) solid var(--tm-color-border);
	display: flex;
	flex-direction: column;
}

.tm-resource-card__media {
	aspect-ratio: 1.27;
	overflow: hidden;
}

.tm-resource-card .tm-resource-card__media img {
	display: block;
	height: 100%;
	max-width: none;
	object-fit: cover;
	width: 100%;
}

.tm-resource-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 28px;
}

.tm-resource-card__body .tm-card__label {
	margin-bottom: 14px;
}

.tm-resource-card__title {
	font-size: 22px;
	line-height: 1.3;
	margin: 0 0 10px;
}

.tm-resource-card__title a {
	color: inherit;
	text-decoration: none;
}

.tm-resource-card__title a:hover {
	color: var(--tm-color-secondary);
}

.tm-resource-card__text {
	font-size: 15.5px;
	line-height: 1.7;
	margin: 0 0 12px;
}

.tm-resource-card__file {
	color: var(--tm-color-muted);
	font-size: 13px;
	font-weight: var(--tm-weight-bold);
	letter-spacing: 0.06em;
	margin: 0 0 18px;
}

.tm-resource-card__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 20px;
	margin-top: auto;
}

.tm-resource-card__actions .tm-button {
	padding: 12px 20px;
}

/* ---------- Contact details ---------- */

.tm-contact-details {
	padding: 0 0 56px;
}

.tm-contact-cards {
	display: grid;
	gap: var(--tm-grid-gap);
	grid-template-columns: repeat(var(--tm-columns, 4), minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.tm-contact-card {
	background: var(--tm-color-surface);
	border: var(--tm-border-width) solid var(--tm-color-border);
	padding: 30px 26px;
}

.tm-contact-card__icon {
	color: var(--tm-color-primary);
	display: inline-flex;
	margin-bottom: 16px;
}

.tm-contact-card__icon svg {
	height: 40px;
	width: 40px;
}

.tm-contact-card__heading {
	color: var(--tm-color-primary);
	font-family: var(--tm-font-body);
	font-size: 18px;
	font-weight: var(--tm-weight-bold);
	letter-spacing: 0;
	margin: 0 0 8px;
}

.tm-contact-card__body {
	font-size: 16px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.tm-contact-card__body p,
.tm-contact-card__body address {
	font-style: normal;
	margin: 0 0 10px;
}

/* ---------- Map ---------- */

.tm-map {
	padding: 0 0 var(--tm-section-space);
}

.tm-map__head {
	margin-bottom: 24px;
}

.tm-map__frame {
	border: var(--tm-border-width) solid var(--tm-color-border);
	height: 440px;
}

.tm-map__frame iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

.tm-map__directions {
	margin: 16px 0 0;
}

/* ---------- Contact form ---------- */

.tm-form-required-note {
	color: var(--tm-color-muted);
	font-size: var(--tm-size-small);
	margin: 0 0 18px;
}

/* ---------- Inner pages: tablet ---------- */

@media (max-width: 1024px) {
	.tm-page-hero--split .tm-page-hero__inner {
		gap: 40px;
		grid-template-columns: 1fr;
	}

	.tm-page-hero--image-left .tm-page-hero__media {
		order: 0;
	}

	.tm-page-hero__content {
		max-width: 680px;
	}

	.tm-rich-text--split .tm-rich-text__inner {
		gap: 24px;
		grid-template-columns: 1fr;
	}

	.tm-card--feature {
		grid-template-columns: 1fr;
	}

	.tm-card--feature .tm-card__media {
		aspect-ratio: 1.6;
		min-height: 0;
	}

	.tm-card--feature .tm-card__body {
		padding: 28px 28px 34px;
	}

	.tm-contact-cards {
		--tm-columns: 2 !important;
	}
}

/* ---------- Inner pages: mobile ---------- */

@media (max-width: 767px) {
	.tm-resources {
		padding: 64px 0 48px;
	}

	.tm-page-hero--split {
		padding: 40px 0 48px;
	}

	.tm-page-hero--compact {
		padding: 48px 0 40px;
	}

	.tm-feature-card {
		padding: 26px 22px;
	}

	.tm-banner--plain .tm-banner__content {
		padding-block: 56px;
	}

	.tm-contact-cards {
		--tm-columns: 1 !important;
	}

	.tm-map__frame {
		height: 320px !important;
	}
}

@media (max-width: 430px) {
	.tm-page-hero .tm-button-group .tm-button,
	.tm-banner .tm-button-group .tm-button {
		justify-content: center;
		width: 100%;
	}
}
