/* WordTenance home sections and section blocks; loaded where used (inc/home.php). Palette colours;
 * Trustpilot's are its brand tokens. */

/* ---------- Shared card look ---------- */
.wt-product-cards,
.wt-industry-cards,
.wt-includes {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.wt-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: var(--wp--preset--spacing--40);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 1rem;
	background: var(--wp--preset--color--base);
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.wt-product-card:hover {
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 12px 30px color-mix(in srgb, var(--wp--preset--color--ink) 8%, transparent);
}

/* ---------- Hero (block wordtenance/home-hero) ---------- */
.wt-section.wt-home-hero {
	padding-block-end: var(--wp--custom--section-space-m); /* The logo strip follows. */
}
.wt-home-hero__intro {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 0 var(--wp--preset--spacing--60);
	align-items: end;
}
.wt-home-hero__intro > .is-style-label {
	grid-column: 1 / -1;
}
.wt-home-hero__intro h1 {
	margin: 0;
	font-size: clamp(2.25rem, 4.4vw, 3.75rem) !important; /* Beats the preset class. */
}
.wt-home-hero__lead {
	margin: 0;
	color: var(--wp--preset--color--ink-soft);
}
@media (max-width: 781px) {
	.wt-home-hero__intro {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--40);
	}
}
/* Icons (Lucide, ISC): plan features. */
.wt-include--updates { --wt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E"); }
.wt-include--security { --wt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.wt-include--edits { --wt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 21h8'/%3E%3Cpath d='m15 5 4 4'/%3E%3Cpath d='M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z'/%3E%3C/svg%3E"); }
.wt-include--hours { --wt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.wt-include--reports { --wt-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M8 18v-1'/%3E%3Cpath d='M12 18v-6'/%3E%3Cpath d='M16 18v-3'/%3E%3C/svg%3E"); }

/* ---------- Product cards (services and plugins) ---------- */
.wt-product-cards {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.wt-product-card__type {
	margin: 0;
	color: var(--wp--preset--color--primary-strong);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.wt-product-card__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.3;
}
.wt-product-card__title a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.wt-product-card__title a:hover {
	color: var(--wp--preset--color--primary-strong);
}
.wt-product-card__summary {
	margin: 0;
	color: var(--wp--preset--color--ink-soft);
	font-size: 0.9375rem;
}
.wt-product-card__price {
	margin: auto 0 0;
	padding-top: 0.75rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.875rem;
}
.wt-product-card__price strong {
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.625rem;
	letter-spacing: -0.02em;
}
.wt-product-card__action {
	margin: 0.5rem 0 0;
}
.wt-product-card__button {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	min-height: 2.75rem;
	color: var(--wp--preset--color--primary-strong);
	font-weight: 600;
	text-decoration: none;
}
.wt-product-card__button::after {
	content: "→";
	transition: transform 0.2s ease;
}
.wt-product-card__button:hover::after {
	transform: translateX(3px);
}
/* Bundles: first Ember, next Midnight (role class from Core). */
.wt-product-card--bundle {
	border-color: transparent;
	background: var(--wp--preset--color--primary-strong);
}
.wt-product-card--bundle ~ .wt-product-card--bundle {
	background: var(--wp--preset--color--stage);
}
.wt-product-card--bundle :is(p, a, strong, a:hover) {
	color: #fff;
}

/* ---------- Colourful cards: plan features, industries, articles ----------
   Ember, Saffron, Sky, Sand; industries repeat every 5, so neighbours never match in 4 columns. */
.wt-include,
.wt-industry-card,
.wt-post-cards .wp-block-post {
	--card-bg: var(--wp--preset--color--primary-strong);
	--card-ink: #fff;
	--card-soft: #fff;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	min-height: 16rem;
	padding: 1.75rem;
	border-radius: 2rem;
	background: var(--card-bg);
	color: var(--card-soft);
	line-height: 1.55;
	transition: transform 0.25s;
}
.wt-include:nth-child(5n + 2),
.wt-industry-card:is(:nth-child(5n + 2), :nth-child(5n)),
.wt-post-cards .wp-block-post:nth-child(3n + 2) {
	--card-bg: var(--wp--preset--color--accent);
	--card-ink: var(--wp--preset--color--ink);
	--card-soft: var(--wp--preset--color--ink-soft);
}
.wt-include:nth-child(5n + 3),
.wt-industry-card:nth-child(5n + 3),
.wt-post-cards .wp-block-post:nth-child(3n) {
	--card-bg: var(--wp--preset--color--accent-cool);
	--card-ink: var(--wp--preset--color--ink);
	--card-soft: var(--wp--preset--color--ink-soft);
}
.wt-include:nth-child(5n + 4),
.wt-industry-card:nth-child(5n + 4) {
	--card-bg: var(--wp--preset--color--surface-alt);
	--card-ink: var(--wp--preset--color--ink);
	--card-soft: var(--wp--preset--color--ink-soft);
}
/* Hover as on plugin cards: lift, straighten the icon or picture, turn the arrow. */
:is(.wt-sg__card, .wt-tm__card, .wt-co__item, .wt-why__card) {
	transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.wt-include::before,
.wt-include::after,
.wt-industry-card__icon,
.wt-industry-card::after,
.wt-sg__icon,
.wt-co__icon,
.wt-why__icon,
.wt-sg__cta svg,
.wt-post-cards img,
.wt-post-cards .wp-block-read-more::after {
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.25s, color 0.25s;
}
.wt-post-cards img {
	transform: rotate(-2deg);
}
@media (prefers-reduced-motion: no-preference) {
	:is(.wt-include, .wt-industry-card, .wt-post-cards .wp-block-post, .wt-product-card, .wt-sg__card, .wt-tm__card, .wt-co__item:has(a), .wt-why__card):hover {
		transform: translateY(-4px);
	}
	.wt-include:hover::before,
	.wt-include:hover::after,
	.wt-industry-card:hover .wt-industry-card__icon {
		transform: rotate(0) scale(1.08);
	}
	.wt-post-cards .wp-block-post:hover img {
		transform: rotate(0) scale(1.03);
	}
	:is(.wt-sg__card, .wt-co__item, .wt-why__card):hover :is(.wt-sg__icon, .wt-co__icon, .wt-why__icon) {
		transform: rotate(-6deg) scale(1.08);
	}
	.wt-industry-card:hover::after,
	.wt-post-cards .wp-block-post:hover .wp-block-read-more::after,
	.wt-sg__card:hover .wt-sg__cta svg {
		transform: rotate(45deg);
	}
}
.wt-include::before,
.wt-industry-card__icon {
	content: "";
	display: grid;
	place-items: center;
	width: 4rem;
	height: 4rem;
	margin-bottom: auto;
	border-radius: 1.25rem;
	background: #fff;
	color: var(--wp--preset--color--ink);
	transform: rotate(-6deg);
}
.wt-industry-card__icon .wt-icon {
	width: 1.75rem;
	height: 1.75rem;
}
/* Plan feature icons: a mask over the tile. */
.wt-include::after {
	content: "";
	position: absolute;
	top: 2.875rem;
	left: 2.875rem;
	width: 1.75rem;
	height: 1.75rem;
	background: var(--wp--preset--color--ink);
	-webkit-mask: var(--wt-icon) center / contain no-repeat;
	mask: var(--wt-icon) center / contain no-repeat;
	transform: rotate(-6deg);
}
.wt-include strong,
.wt-industry-card__title,
.wt-post-cards .wp-block-post-title {
	margin: 1rem 0 0;
	color: var(--card-ink);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}
:is(.wt-industry-card__title, .wt-post-cards .wp-block-post-title) a {
	color: inherit;
	text-decoration: none;
}
.wt-industry-card__text,
.wt-post-cards .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 0.9375rem;
}

/* Plan features: three on the first row, two on the second. */
.wt-includes {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin-top: var(--wp--custom--section-head-gap);
}
.wt-include {
	grid-column: span 2;
}
.wt-include:nth-child(n + 4) {
	grid-column: span 3;
}

/* Industries: four to a row, a short last row shares the width; the card is the link. */
.wt-industry-cards {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.wt-industry-cards > :nth-child(4n + 1):nth-last-child(2),
.wt-industry-cards > :nth-child(4n + 1):nth-last-child(2) + *,
.wt-industry-cards > :nth-child(4n + 2):last-child {
	grid-column: span 2;
}
.wt-industry-cards > :nth-child(4n + 1):last-child {
	grid-column: 1 / -1;
}
.wt-industry-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}
.wt-industry-card__title a:focus-visible {
	outline: none;
}
.wt-industry-card:has(.wt-industry-card__title a:focus-visible) {
	outline: 3px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}
.wt-industry-card:has(.wt-industry-card__title a)::after {
	content: "";
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317171c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 7h10v10M7 17 17 7'/%3E%3C/svg%3E") center / 1.125rem no-repeat;
}
/* The last card: other industries, with "Schedule a call" (inc/home.php). */
.wt-industry-card.wt-industry-card--more {
	--card-bg: var(--wp--preset--color--stage);
	--card-ink: var(--wp--preset--color--stage-contrast);
	--card-soft: var(--wp--preset--color--stage-muted);
	justify-content: flex-end;
}
.wt-industry-card__action {
	margin: 0.5rem 0 0;
}
a.wt-industry-card__button {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.5rem 1.375rem;
	border-radius: 99px;
	background: #fff;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
	text-decoration: none;
}
a.wt-industry-card__button:hover {
	background: var(--wp--preset--color--accent);
}
@media (max-width: 1080px) {
	.wt-includes,
	.wt-industry-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.wt-includes > *,
	.wt-industry-cards > * {
		grid-column: auto !important;
	}
	:is(.wt-includes, .wt-industry-cards) > :nth-child(odd):last-child {
		grid-column: 1 / -1 !important;
	}
}
@media (max-width: 600px) {
	.wt-includes,
	.wt-industry-cards {
		grid-template-columns: minmax(0, 1fr);
	}
	.wt-include,
	.wt-industry-card {
		min-height: 0;
	}
}
.wt-section__more {
	margin-top: var(--wp--preset--spacing--40);
}

/* ---------- Documentation teaser ---------- */
.wt-docs-teaser {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	gap: var(--wp--preset--spacing--40);
	align-items: center;
	padding: var(--wp--preset--spacing--50);
	border-radius: 1.25rem;
	background: var(--wp--preset--color--surface);
}
.wt-docs-teaser__text > * {
	margin-block: 0 0.75rem;
}
.wt-docs-search {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.wt-docs-search label {
	flex-basis: 100%;
	font-weight: 600;
}
.wt-docs-search input[type="search"] {
	flex: 1 1 12rem;
	min-width: 0;
	min-height: 2.75rem;
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--wp--preset--color--outline);
	border-radius: 0.5rem;
	background: var(--wp--preset--color--base);
	font: inherit;
}
.wt-docs-search button {
	min-height: 2.75rem;
}

/* ---------- Client logos (gallery style "Logo marquee", theme.js) ---------- */
.wt-logos {
	padding: var(--wp--custom--section-space-m) var(--wp--preset--spacing--40);
	border-block: 1px solid var(--wp--preset--color--border);
}
.wt-logos__title {
	margin: 0 0 var(--wp--preset--spacing--50);
	text-align: center;
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.wp-block-gallery.is-style-logo-marquee {
	--logo-gap: clamp(2.5rem, 5vw, 4.5rem);
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1.5rem var(--logo-gap);
}
.wp-block-gallery.has-nested-images.is-style-logo-marquee figure.wp-block-image:not(#individual-image) {
	flex: none;
	width: auto;
	margin: 0;
}
.wp-block-gallery.has-nested-images.is-style-logo-marquee figure.wp-block-image:not(#individual-image) img {
	width: auto;
	max-width: 11rem;
	height: clamp(1.5rem, 2.2vw, 2rem);
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.6;
	transition: filter 0.3s, opacity 0.3s;
}
/* As heavy as core's gallery image rule. */
.wp-block-gallery.has-nested-images.is-style-logo-marquee figure.wp-block-image:not(#individual-image):hover img,
.wp-block-gallery.has-nested-images.is-style-logo-marquee figure.wp-block-image:not(#individual-image):focus-within img {
	filter: none;
	opacity: 1;
}
/* One row from the first paint; faded edges. */
@media (prefers-reduced-motion: no-preference) {
	.js .wp-block-gallery.is-style-logo-marquee {
		flex-wrap: nowrap;
		justify-content: flex-start;
		overflow: hidden;
		-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
		mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	}
}
.logo-marquee__track {
	display: flex;
	flex: none;
	align-items: center;
	gap: var(--logo-gap);
	width: max-content;
	animation: wt-marquee var(--marquee-duration, 40s) linear infinite;
}
.is-marquee:hover .logo-marquee__track,
.is-marquee:focus-within .logo-marquee__track {
	animation-play-state: paused;
}
@keyframes wt-marquee {
	to {
		transform: translateX(calc(-1 * var(--marquee-shift, 50%)));
	}
}

/* ---------- About ---------- */
.wt-about__cols {
	align-items: center;
	gap: var(--wp--preset--spacing--70);
}
.wt-about__cols h1,
.wt-about__cols h2 {
	margin-block: 0.75rem 1.25rem;
}
.wt-about__cols h1 {
	font-size: clamp(2.25rem, 4.4vw, 3.5rem) !important;
}
.wt-about__mv {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30);
	margin-block: var(--wp--preset--spacing--50);
}
.wt-about__mv > * {
	margin: 0;
}
.wt-about__mv .is-style-card {
	border-radius: 1rem;
	background: #fff;
	border-top: 3px solid var(--wp--preset--color--primary);
}
.wt-about__mv .is-style-card + .is-style-card {
	border-top-color: var(--wp--preset--color--accent);
}
.wt-about__mv h3 {
	margin: 0 0 0.5rem;
	color: var(--wp--preset--color--primary-strong);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.wt-about__mv p {
	margin: 0;
}
.wt-about__cols > .wp-block-column:has(.wt-about__art) {
	align-self: center;
}
.wt-about__art img {
	width: 100%;
	height: auto;
}
@media (max-width: 600px) {
	.wt-about__mv {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Mission (light card) and vision (dark card) ---------- */
.wt-mv__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--50);
}
.wt-mv__card {
	display: flex;
	flex-direction: column;
	margin: 0 !important;
	padding: clamp(1.75rem, 3.5vw, 3rem);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 1.25rem;
	background: var(--wp--preset--color--base);
}
.wt-mv__card--vision {
	border-color: transparent;
	background: var(--wp--preset--color--stage);
	color: var(--wp--preset--color--stage-contrast);
}
.wt-mv__card > * {
	margin: 0;
}
.wt-mv__card h3 {
	color: var(--wp--preset--color--primary-strong);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.wt-mv__card--vision h3 {
	color: var(--wp--preset--color--accent);
}
.wt-mv__statement {
	margin-block: 1rem auto !important; /* The lists line up at the bottom. */
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	letter-spacing: -0.02em;
}
.wt-mv__sub {
	margin-block-start: var(--wp--preset--spacing--60) !important;
	padding-block-start: var(--wp--preset--spacing--40);
	border-top: 1px solid currentColor;
	border-top-color: color-mix(in srgb, currentColor 16%, transparent);
	color: var(--wp--preset--color--ink-soft);
	font-size: 0.8125rem;
	font-weight: 600;
}
.wt-mv__card--vision .wt-mv__sub {
	color: var(--wp--preset--color--stage-muted);
}
.wt-mv__list {
	display: grid;
	gap: 0.75rem;
	margin-block-start: 1rem !important;
	padding: 0;
	list-style: none;
}
.wt-mv__list li {
	position: relative;
	padding-inline-start: 1.75rem;
}
.wt-mv__list li::before {
	content: "";
	position: absolute;
	top: 0.45em;
	left: 0;
	width: 1rem;
	height: 0.55rem;
	border: solid var(--wp--preset--color--primary);
	border-width: 0 0 2px 2px;
	rotate: -45deg;
	translate: 0 -0.15rem;
}
.wt-mv__card--vision li::before {
	border-color: var(--wp--preset--color--accent);
}
@media (max-width: 781px) {
	.wt-mv__cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- The numbers (theme.js counts them up once in view) ---------- */
.wt-numbers__cols {
	gap: var(--wp--preset--spacing--70);
}
.wt-numbers__cols > .wp-block-column:last-child {
	align-self: center;
}
.wt-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wt-stats > .wt-stat {
	margin: 0;
	padding: 0.5rem var(--wp--preset--spacing--40);
	border-inline-start: 1px solid var(--wp--preset--color--border);
}
.wt-stat__value {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.75rem, 5.5vw, 4.75rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.wt-stat__plus {
	color: var(--wp--preset--color--primary);
}
.wt-stat__label {
	margin: 0.75rem 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
@media (max-width: 600px) {
	.wt-stats {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--40);
	}
	.wt-stats > .wt-stat {
		padding-block: 0;
	}
}

/* ---------- FAQ: categories as tabs (theme.js), stacked without JS ---------- */
.wt-faq {
	margin-top: var(--wp--custom--section-head-gap);
}
.wt-faq.is-tabs {
	display: grid;
	grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.6fr);
	gap: var(--wp--preset--spacing--60);
	align-items: start;
}
.wt-faq__nav {
	position: sticky;
	top: 6rem;
	display: grid;
	gap: 0.35rem;
}
.wt-faq__tab {
	padding: 0.85rem 1.1rem;
	border: 1px solid transparent;
	border-radius: 0.75rem;
	background: none;
	color: var(--wp--preset--color--ink-soft);
	font: 600 1rem/1.3 var(--wp--preset--font-family--body);
	text-align: start;
	cursor: pointer;
}
.wt-faq__tab:hover {
	color: var(--wp--preset--color--ink);
}
.wt-faq__tab[aria-selected="true"] {
	border-color: var(--wp--preset--color--border);
	background: #fff;
	color: var(--wp--preset--color--primary-strong);
	box-shadow: 0 10px 24px -20px rgba(23, 23, 28, 0.5);
}
.wt-faq__cat + .wt-faq__cat {
	margin-top: var(--wp--preset--spacing--50);
}
.wt-faq.is-tabs .wt-faq__cat {
	margin: 0;
}
.wt-faq.is-tabs .wt-faq__cat-title {
	position: absolute;
	clip-path: inset(50%);
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.wt-faq .wp-block-details {
	margin: 0 0 0.6rem;
	padding: 0 1.25rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.9rem;
	background: #fff;
}
.wt-faq .wp-block-details[open] {
	padding-bottom: 1.1rem; /* Room below the answer. */
	border-color: color-mix(in srgb, var(--wp--preset--color--primary) 40%, var(--wp--preset--color--border));
}
.wt-faq .wp-block-details > summary {
	padding-block: 1.05rem;
}
.wt-faq .wp-block-details > p {
	margin-top: 0;
	color: var(--wp--preset--color--ink-soft);
}
.wt-faq__more {
	margin-top: var(--wp--preset--spacing--50);
	color: var(--wp--preset--color--ink-soft);
}
@media (max-width: 781px) {
	.wt-faq.is-tabs {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--wp--preset--spacing--40);
	}
	.wt-faq__nav {
		position: static;
		display: flex;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.wt-faq__tab {
		flex: none;
	}
}

/* ---------- Contact: ways to reach us beside the form ---------- */
.wt-contact__cols {
	gap: var(--wp--preset--spacing--70);
}
.wt-contact__form {
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 1.5rem;
	background: #fff;
	box-shadow: 0 30px 60px -45px rgba(23, 23, 28, 0.45);
}

/* ---------- Latest articles (query block .wt-post-cards) ---------- */
.wt-post-cards .wp-block-post-template {
	gap: 1.25rem;
}
.wt-post-cards .wp-block-post-template .wp-block-post {
	gap: 0.875rem;
	padding: 1.75rem;
	border: 0;
}
.wt-post-cards .wp-block-post > *,
.wt-post-cards .wp-block-post-title {
	margin: 0;
}
.wt-post-cards .wp-block-post-terms {
	align-self: flex-start;
	font-size: 0.8125rem;
	font-weight: 600;
}
.wt-post-cards .wp-block-post-terms a {
	display: inline-block;
	padding: 0.375rem 0.875rem;
	border-radius: 99px;
	background: color-mix(in srgb, var(--card-ink) 14%, transparent);
	color: var(--card-ink);
	text-decoration: none;
}
.wt-post-cards .wp-block-post-terms__separator {
	display: none;
}
.wt-post-cards .wp-block-post-featured-image img {
	border: 4px solid #fff;
	border-radius: 1rem;
}
.wt-post-cards .wp-block-read-more {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: auto;
	padding: 0.375rem 0.375rem 0.375rem 1.375rem;
	border-radius: 99px;
	background: #fff;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
	text-decoration: none;
}
.wt-post-cards .wp-block-read-more::after {
	content: "";
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--wp--preset--color--primary-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M7 7h10v10M7 17 17 7'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.wt-post-cards .wp-block-read-more:focus-visible {
	outline: 3px solid var(--wp--preset--color--ink);
	outline-offset: 3px;
}
