/*
 * V2 Recruitment: the styles theme.json can't express.
 * Loaded on the front end and in the editor.
 */

/* ---------- Base ---------- */

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover {
	text-decoration-thickness: 2px;
}

/* The sage full stop. Wrap the last "." of a headline in <span class="v2-stop">. */
.v2-stop {
	color: var(--wp--preset--color--sage);
}

/* On a sage background the full stop turns navy (brand rule). */
.has-sage-background-color .v2-stop {
	color: var(--wp--preset--color--navy);
}

/* ---------- Focus ---------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--navy);
	outline-offset: 2px;
}

.has-navy-background-color :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline-color: var(--wp--preset--color--linen);
}

.skip-link.screen-reader-text:focus {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--linen);
	border-radius: 999px;
	padding: 14px 24px;
	font-weight: 600;
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Page structure ---------- */

/* Full-width sections sit flush against each other. */
.v2-page > .alignfull,
.v2-site-header,
.v2-site-footer {
	margin-block: 0;
}

.v2-section {
	padding-block: var(--wp--preset--spacing--section);
}

/* Two halves that wrap below ~900 px, like the design's flex: 1 1 420px. */
.v2-split {
	gap: 24px 64px;
	align-items: flex-start;
}

.v2-split > * {
	flex: 1 1 420px;
	min-width: 0;
}

.v2-split > .v2-split__narrow {
	flex-basis: 320px;
}

.v2-split > .v2-split__wide {
	flex-basis: 520px;
}

.v2-split.is-centred {
	align-items: center;
}

.v2-split.is-bottom {
	align-items: flex-end;
}

.v2-measure {
	max-width: 34em;
}

.v2-measure-heading {
	max-width: 18em;
}

.v2-measure-wide {
	max-width: 720px;
}

.v2-h1-measure {
	max-width: 12em;
}

.v2-h1-measure-wide {
	max-width: 13em;
}

.v2-muted {
	color: var(--wp--preset--color--text-secondary);
}

/* ---------- Buttons ---------- */

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.wp-block-button__link:hover {
	background-color: #0f2233;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--navy);
	border: 2px solid var(--wp--preset--color--navy);
	padding-inline: 26px;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--linen);
}

.wp-block-button.is-style-on-navy > .wp-block-button__link {
	background: var(--wp--preset--color--linen);
	color: var(--wp--preset--color--navy);
}

.wp-block-button.is-style-on-navy > .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
}

/* A row of buttons and text links. */
.v2-actions {
	gap: 16px 24px;
	align-items: center;
	padding-top: 8px;
}

/* ---------- Paragraph styles ---------- */

.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--sora);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	line-height: 1.4;
}

.is-style-text-link {
	font-size: var(--wp--preset--font-size--ui);
	font-weight: 600;
}

/* Text links are at least 44 px tall to tap. */
.is-style-text-link a {
	display: inline-block;
	padding-block: 12px;
	margin-block: -12px;
}

.is-style-fine {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
	line-height: 1.5;
}

/* ---------- Group styles ---------- */

.wp-block-group.is-style-card {
	border-radius: 16px;
	padding: 24px;
}

.wp-block-group.is-style-panel {
	border: 1.5px solid var(--wp--preset--color--rule);
	border-radius: 24px;
	padding: clamp(24px, 4vw, 48px);
}

/* ---------- Header ---------- */

.v2-header {
	background: var(--wp--preset--color--linen);
	border-bottom: 1px solid var(--wp--preset--color--rule);
}

.v2-header__bar {
	padding-block: 14px;
	gap: 0 24px;
	flex-wrap: wrap;
}

.v2-header__logo {
	margin: 0;
	flex-shrink: 0;
}

.v2-header__logo a {
	display: flex;
	align-items: center;
	min-height: 44px;
}

.v2-header__logo img {
	display: block;
	height: 28px;
	width: 181px; /* 28 px at the logo's 972 × 150 ratio */
}

.v2-header__nav {
	flex: 1 1 auto;
	gap: 28px;
}

.v2-header__nav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: none;
	color: var(--wp--preset--color--navy);
}

.v2-header__nav .wp-block-navigation-item__content:hover,
.v2-header__nav .current-menu-item > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

.v2-header__cta {
	margin-left: auto;
}

.v2-header__cta .wp-block-button__link {
	min-height: 44px;
	padding-inline: 20px;
	font-size: var(--wp--preset--font-size--ui);
	white-space: nowrap;
}

/* Below 700 px the nav takes its own row under the logo and button. */
@media (max-width: 699.98px) {
	.v2-header__bar {
		padding-bottom: 0;
	}

	.v2-header__nav {
		order: 3;
		flex-basis: 100%;
		padding-top: 2px;
	}

	.v2-header__nav .wp-block-navigation__container {
		width: 100%;
		justify-content: space-between;
		gap: 12px;
	}

	.v2-header__nav .wp-block-navigation-item__content {
		padding-bottom: 4px;
	}
}

/* ---------- Footer ---------- */

.v2-footer {
	padding-top: clamp(40px, 6vw, 64px);
	padding-bottom: 32px;
}

.v2-footer a {
	color: var(--wp--preset--color--linen);
}

.v2-footer__cols {
	gap: 40px 64px;
	align-items: flex-start;
}

.v2-footer__brand,
.v2-footer__contact {
	flex: 1 1 220px;
	gap: 16px;
}

.v2-footer__contact {
	gap: 10px;
}

.v2-footer__nav {
	flex: 1 1 160px;
	font-weight: 400;
}

.v2-footer__nav .wp-block-navigation__container {
	gap: 10px;
}

.v2-footer__nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--linen);
	text-decoration: none;
}

.v2-footer__nav .wp-block-navigation-item__content:hover {
	text-decoration: underline;
}

.v2-footer__logo {
	margin: 0;
}

.v2-footer__logo img {
	display: block;
	width: 120px;
	height: 76px; /* 120 px at the logo's 308 × 194 ratio */
}

.v2-footer__legal {
	margin-top: 40px;
	border-top: 1px solid var(--wp--preset--color--text-secondary);
	padding-top: 20px;
	gap: 8px 24px;
}

/* ---------- Home: hero ---------- */

.v2-hero {
	padding-block: clamp(40px, 7vw, 96px);
}

.v2-hero__copy {
	gap: 20px;
}

/* V1 vs V2 comparison card */
.v2-versus {
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	padding: clamp(20px, 3vw, 32px);
}

.v2-versus__label {
	margin-bottom: 12px;
	font-size: var(--wp--preset--font-size--ui);
	font-weight: 700;
}

.v2-versus__label s {
	color: var(--wp--preset--color--text-secondary);
}

.v2-versus__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 0;
	border-top: 1px solid var(--wp--preset--color--rule);
}

.v2-versus__grid > p {
	margin: 0;
	padding-block: 16px;
	border-bottom: 1px solid var(--wp--preset--color--rule);
	font-size: var(--wp--preset--font-size--ui);
	line-height: 1.5;
}

.v2-versus__grid > p:nth-child(odd) {
	color: var(--wp--preset--color--text-secondary);
}

.v2-versus__grid > p:nth-child(even) {
	font-weight: 600;
}

/* ---------- Numbered steps ---------- */

.v2-steps > .wp-block-group {
	border-top: 2px solid var(--wp--preset--color--navy);
	padding-top: 16px;
	gap: 8px;
}

.v2-steps__num {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	color: var(--wp--preset--color--text-secondary);
}

/* Card and step body text */
.v2-steps p:not(.v2-steps__num),
.is-style-card > p:not(.is-style-fine) {
	font-size: var(--wp--preset--font-size--card);
}

.is-style-card > p:not(.is-style-fine) {
	line-height: 1.5;
}

.is-style-card {
	gap: 8px;
}

/* ---------- Navy band ---------- */

.v2-split > .v2-band__copy {
	flex: 1 1 520px;
}

.v2-split > .v2-band__link,
.v2-split > .v2-panel__action {
	flex: 0 0 auto;
}

/* Footer touch targets: 44 px tall without changing the type. */
.v2-footer__nav .wp-block-navigation__container {
	gap: 0;
}

.v2-footer__nav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-block: -5px;
}

.v2-footer__contact a,
.v2-footer__legal a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-block: -14px;
}

/* ---------- Section variants ---------- */

.v2-section--flush-top {
	padding-top: 0;
}

.v2-short-page {
	padding-block: clamp(40px, 6vw, 80px);
}

.v2-404 {
	padding-block: clamp(48px, 8vw, 112px);
}

.v2-404-actions {
	gap: 12px 16px;
}

/* ---------- Card variants ---------- */

.wp-block-group.v2-card-outline {
	border: 1.5px solid var(--wp--preset--color--rule);
}

.wp-block-group.v2-card-dark {
	border-color: var(--wp--preset--color--text-secondary);
}

.is-style-card .wp-block-list {
	margin: 0;
	font-size: var(--wp--preset--font-size--card);
	line-height: 1.5;
}

.v2-bullets {
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* Whole card is the link; the title link stretches over it. */
.v2-linkcard {
	position: relative;
}

.v2-linkcard__title {
	font-size: var(--wp--preset--font-size--subtitle);
	font-weight: 700;
	line-height: 1.3;
}

.v2-linkcard__title a {
	text-decoration: none;
}

.v2-linkcard__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 16px;
}

.v2-linkcard:hover .v2-linkcard__title a {
	text-decoration: underline;
}

.v2-linkcard__title a:focus-visible {
	outline: none;
}

.v2-linkcard:has(a:focus-visible) {
	outline: 2px solid var(--wp--preset--color--navy);
	outline-offset: 2px;
}

.v2-contact__other {
	border-top: 1px solid var(--wp--preset--color--rule);
	padding-top: 24px;
}

.v2-contact__email {
	font-size: 22px;
	font-weight: 700;
}

.v2-contact__email a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-block: -8px;
}

/* ---------- Lined lists ---------- */

.wp-block-list.v2-lined {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--wp--preset--color--rule);
}

.v2-lined > li {
	padding-block: 16px;
	border-bottom: 1px solid var(--wp--preset--color--rule);
	line-height: 1.5;
}

.v2-lined.is-compact > li {
	padding-block: 14px;
	font-size: var(--wp--preset--font-size--card);
}

/* Role chips */
.wp-block-list.v2-chips {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 12px;
}

.v2-chips > li {
	background: var(--wp--preset--color--white);
	border-radius: 12px;
	padding: 16px 20px;
	font-weight: 600;
}

/* ---------- For businesses: how a search runs ---------- */

.v2-runs {
	border-top: 1px solid var(--wp--preset--color--rule);
}

.v2-run {
	gap: 8px 32px;
	padding-block: 24px;
	border-bottom: 1px solid var(--wp--preset--color--rule);
	align-items: flex-start;
}

.v2-run__num {
	flex: 0 0 48px;
	font-size: var(--wp--preset--font-size--subtitle);
	font-weight: 700;
	color: var(--wp--preset--color--text-secondary);
}

.v2-run > .v2-run__body {
	flex: 1 1 360px;
}

.v2-run__time {
	flex: 0 1 240px;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	color: var(--wp--preset--color--text-secondary);
}

.v2-run__time strong,
.v2-sample__subject strong {
	color: var(--wp--preset--color--navy);
}

/* Sample weekly update */
.v2-split > .v2-sample {
	flex-basis: 460px;
	border: 1.5px solid var(--wp--preset--color--rule);
	border-radius: 16px;
	padding: 24px;
}

.v2-badge {
	align-self: flex-start;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1.5px solid var(--wp--preset--color--navy);
	border-radius: 4px;
	padding: 2px 8px;
}

.v2-sample__subject {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--text-secondary);
}

.v2-sample__heading {
	font-size: var(--wp--preset--font-size--card);
	font-weight: 700;
}

.v2-sample__text {
	font-size: var(--wp--preset--font-size--ui);
	color: var(--wp--preset--color--text-secondary);
}

/* ---------- FAQ ---------- */

.v2-faqs {
	border-top: 1px solid var(--wp--preset--color--rule);
}

.wp-block-details.v2-faq {
	border-bottom: 1px solid var(--wp--preset--color--rule);
	padding-block: 10px;
	margin: 0;
}

/* 10 px of padding on the summary keeps the design's 20 px rhythm and a 44 px target. */
.v2-faq summary {
	font-family: var(--wp--preset--font-family--sora);
	font-size: var(--wp--preset--font-size--lead);
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	padding-block: 10px;
}

.v2-faq > p {
	margin-top: 2px;
	padding-bottom: 10px;
	font-size: var(--wp--preset--font-size--card);
}

/* ---------- Legal prose ---------- */

.v2-prose p {
	line-height: 1.7;
}

/* Grids stretch their cards to fill the row, like the design (auto-fit). */
.wp-block-group.v2-fit-200 {
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
}

.wp-block-group.v2-fit-220 {
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.wp-block-group.v2-fit-240 {
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.wp-block-group.v2-fit-260 {
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.wp-block-group.v2-fit-280 {
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.wp-block-group.v2-fit-300 {
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}


/* ---------- Form pages ---------- */

.v2-message {
	padding-block: clamp(48px, 8vw, 112px);
}

.v2-notice {
	border-radius: 16px;
	padding: 20px 24px;
}

.v2-form-layout {
	gap: 40px 64px;
	align-items: flex-start;
}

.v2-form-layout > .v2-form-col {
	flex: 2 1 560px;
	min-width: 0;
}

.v2-form-layout > .v2-aside {
	flex: 1 1 280px;
	min-width: 0;
	border-radius: 24px;
	padding: clamp(20px, 3vw, 32px);
}

.v2-aside__steps {
	margin: 0;
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: var(--wp--preset--font-size--card);
	line-height: 1.5;
}

.v2-aside__footer {
	padding-top: 8px;
	border-top: 1px solid var(--wp--preset--color--rule);
	font-size: var(--wp--preset--font-size--ui);
	line-height: 1.5;
}

.v2-aside__footer a {
	display: inline-block;
	padding-block: 12px;
	margin-block: -12px;
}

/* ---------- Fluent Forms, restyled to the design ---------- */

.frm-fluent-form fieldset {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.frm-fluent-form .ff-el-group {
	grid-column: 1 / -1;
	margin: 0;
}

.frm-fluent-form .ff-el-group.v2-half {
	grid-column: auto;
}

@media (max-width: 599.98px) {
	.frm-fluent-form .ff-el-group.v2-half {
		grid-column: 1 / -1;
	}
}

.frm-fluent-form .ff-el-input--label {
	margin-bottom: 6px;
}

.frm-fluent-form .ff-el-input--label label {
	font-size: var(--wp--preset--font-size--ui);
	font-weight: 600;
	line-height: 1.4;
}

.v2-optional {
	font-weight: 400;
	color: var(--wp--preset--color--text-secondary);
}

.frm-fluent-form .ff-el-form-control {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1.5px solid var(--wp--preset--color--text-secondary);
	border-radius: 10px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
	font: inherit;
	font-size: var(--wp--preset--font-size--body);
	box-sizing: border-box;
}

.frm-fluent-form select.ff-el-form-control {
	padding: 0 40px 0 10px;
	background: var(--wp--preset--color--linen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2319334A' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
	appearance: none;
}

.frm-fluent-form textarea.ff-el-form-control {
	height: auto;
	min-height: 96px;
	padding: 12px 14px;
	resize: vertical;
	line-height: 1.5;
}

.frm-fluent-form .ff-el-form-control::placeholder {
	color: var(--wp--preset--color--text-secondary);
	opacity: 1;
}

.frm-fluent-form .ff-el-form-control:focus-visible {
	outline: 2px solid var(--wp--preset--color--navy);
	outline-offset: 2px;
}

/* Errors */
.frm-fluent-form .ff-el-is-error .ff-el-form-control {
	border-color: #B3261E;
}

.frm-fluent-form .error.text-danger,
.frm-fluent-form .ff-el-is-error .text-danger {
	margin-top: 6px;
	color: #B3261E;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.ff-errors-in-stack {
	margin-top: 16px;
	color: #B3261E;
	font-weight: 600;
}

/* Chip-style radios */
.v2-chips-field .ff-el-input--content {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.v2-chips-field .ff-el-input--label {
	margin-bottom: 10px;
}

.v2-chips-field .ff-el-form-check {
	margin: 0;
}

.v2-chips-field .ff-el-form-check-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--wp--preset--color--text-secondary);
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--ui);
	cursor: pointer;
	background: transparent;
}

.v2-chips-field .ff-el-form-check-label:has(input:checked) {
	background: var(--wp--preset--color--navy);
	border-color: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--linen);
}

.v2-chips-field .ff-el-form-check-label:has(input:focus-visible) {
	outline: 2px solid var(--wp--preset--color--navy);
	outline-offset: 2px;
}

.v2-chips-field input[type="radio"] {
	margin: 0;
	accent-color: var(--wp--preset--color--linen);
}

/* White info boxes inside the CV form */
.frm-fluent-form .v2-form-box {
	background: var(--wp--preset--color--white);
	border-radius: 12px;
	padding: 16px 20px;
	font-size: var(--wp--preset--font-size--ui);
	line-height: 1.6;
}

.frm-fluent-form .v2-form-box p {
	margin: 0;
}

.frm-fluent-form .v2-form-box p + p {
	margin-top: 6px;
}

.v2-form-box__title {
	font-weight: 600;
}

/* Collection notice and consent tick box share one white box. */
.frm-fluent-form .v2-consent-notice {
	border-radius: 12px 12px 0 0;
	padding-bottom: 6px;
	font-size: var(--wp--preset--font-size--small);
}

.frm-fluent-form .v2-consent-box {
	margin-top: -20px;
	border-radius: 0 0 12px 12px;
	padding-top: 6px;
}

.v2-consent-box .ff-el-form-check-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	line-height: 1.5;
	cursor: pointer;
}

.v2-consent-box input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	flex-shrink: 0;
	accent-color: var(--wp--preset--color--navy);
}

/* Turnstile is invisible unless Cloudflare needs a click. */
.frm-fluent-form .ff-el-turnstile:empty {
	display: none;
}

/* Submit */
.frm-fluent-form .ff_submit_btn_wrapper {
	margin-top: 4px;
}

.frm-fluent-form .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding: 0 32px;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--navy);
	color: var(--wp--preset--color--linen);
	font: inherit;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}

.frm-fluent-form .ff-btn-submit:hover {
	background: #0f2233;
}

.frm-fluent-form .ff-btn-submit:focus-visible {
	outline: 2px solid var(--wp--preset--color--navy);
	outline-offset: 2px;
}

.frm-fluent-form.ff-form-loading .ff-btn-submit,
.frm-fluent-form .ff-btn-submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.ff_screen_reader_title,
.ff-hpsf-container {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

/* ---------- Book a call ---------- */

.v2-book {
	align-items: flex-start;
}

.v2-book > .v2-book__hire {
	flex: 2 1 560px;
	min-width: 0;
	border: 2px solid var(--wp--preset--color--navy);
	border-radius: 24px;
	padding: clamp(20px, 3vw, 32px);
}

.v2-book > .v2-book__cv {
	flex: 1 1 280px;
	min-width: 0;
	border-radius: 24px;
	padding: clamp(20px, 3vw, 32px);
}

.v2-book__title {
	font-size: 26px;
	line-height: 1.2;
}

.v2-cal {
	min-height: 420px;
	border-radius: 12px;
	background: var(--wp--preset--color--white);
	overflow: hidden;
}

.v2-cal:has(.v2-cal__placeholder) {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	border: 1.5px dashed var(--wp--preset--color--text-secondary);
	text-align: center;
}

.v2-cal__placeholder {
	color: var(--wp--preset--color--text-secondary);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
}

.v2-btn-small .wp-block-button__link {
	min-height: 48px;
	padding-inline: 22px;
	font-size: var(--wp--preset--font-size--ui);
}

/*
 * Safari fix. WordPress puts container-type: inline-size on grids that have a
 * minimum column width. Inside a stacked (flex column) group Safari then sizes
 * the grid to zero width and every card lands on top of the others.
 * We don't use container queries, so switch it off and fill the row.
 */
.wp-block-group.is-layout-grid {
	container-type: normal;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* Same protection for anything stacked inside a stretch column. */
.is-layout-flex.is-vertical.is-content-justification-stretch > * {
	min-width: 0;
	max-width: 100%;
}

/*
 * Book a call: Cal.com only shows dates and times side by side (with the
 * times in their own short scrolling column) when the calendar is wider
 * than 768 px. Beside the candidate panel it got ~670 px and stacked every
 * time slot down the page. So the booking panel takes the full row and the
 * candidate panel sits underneath, laid out across on wide screens.
 */
.v2-book > .v2-book__hire {
	flex-basis: 100%;
}

.v2-book > .v2-book__cv {
	flex-basis: 100%;
}

@media (min-width: 900px) {
	.v2-book > .v2-book__cv {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 48px;
		align-items: center;
	}

	.v2-book__cv > * {
		grid-column: 1;
	}

	.v2-book__cv > .wp-block-buttons {
		grid-column: 2;
		grid-row: 1 / span 3;
	}
}

.v2-cal iframe {
	display: block;
	width: 100%;
}

/* ---------- Brand graphics (inc/graphics.php) ---------- */

.v2-graphic svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Top sections and 404: text left, graphic right. */
.has-graphic > .v2-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	gap: 32px 64px;
	align-items: center;
}

.has-graphic .v2-hero__text {
	min-width: 0;
}

.v2-404.has-graphic > .v2-hero__layout {
	grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
}

/* The 404 content was capped at 760 px; give it room for the graphic. */
.v2-404.has-graphic > .v2-hero__layout {
	max-width: 1120px;
}

@media (max-width: 899.98px) {
	.has-graphic > .v2-hero__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.v2-graphic--hero {
		max-width: 480px;
	}

	.v2-graphic--404 {
		max-width: 300px;
	}
}

@media (max-width: 599.98px) {
	.v2-graphic--hero {
		max-width: 360px;
		margin-inline: auto;
	}
}

/* Home: the signature graphic is a little larger than the others (wide screens only). */
@media (min-width: 900px) {
	.v2-hero.has-graphic > .v2-hero__layout:has(.v2-graphic--home) {
		grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
	}
}

/* The comparison table, moved out of the Home top section into its own. */
.v2-versus-section {
	padding-top: 0;
}


/*
 * Book a call: graphic beside the heading and intro. The booking and candidate
 * panels sit below at a fixed width, wide enough (880 px) for Cal.com's compact
 * side-by-side calendar, which needs 769 px.
 */
.v2-book-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	gap: 24px 64px;
	align-items: center;
}

/* Must outrank the stacked-layout rule that caps items at 100%. */
.is-layout-flex.is-vertical.is-content-justification-stretch > .v2-book {
	max-width: 880px;
}

/* Mid-page: graphic under the heading in the left column. */
.v2-split__with-graphic {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.v2-graphic--mid {
	max-width: 360px;
}

@media (max-width: 899.98px) {
	.v2-book-top {
		grid-template-columns: minmax(0, 1fr);
	}

	.v2-graphic--home,
	.v2-graphic--book {
		max-width: 420px;
	}

	.v2-split__with-graphic {
		gap: 24px;
	}

	.v2-graphic--mid {
		max-width: 300px;
	}
}
