/* Technologies menu and page. Loaded after vertex-system.css. */

body.vx-body .vx-header__inner {
	position: relative;
}

body.vx-body .vertex-navbar .vx-nav .vx-menu > li.vertex-tech-item,
body.vx-body .vx-header .vx-nav .vx-menu > li.vertex-tech-item {
	position: static;
	display: flex;
	align-self: stretch;
	align-items: center;
}

.vertex-tech-toggle,
.vertex-tech-card__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.vertex-tech-toggle {
	width: 1.75rem;
	height: 2.75rem;
}

.vertex-tech-toggle::before,
.vertex-tech-card__toggle::before {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.vertex-tech-item.is-open > .vertex-tech-toggle::before,
.vertex-tech-card.is-open > .vertex-tech-card__row .vertex-tech-card__toggle::before {
	transform: translateY(1px) rotate(225deg);
}

body.vx-body .vx-header .vx-nav .vertex-tech-panel {
	position: absolute;
	z-index: 1100;
	inset-inline-start: 0;
	inset-inline-end: auto;
	top: calc(100% + 0.35rem);
	width: min(28rem, calc(100vw - 1.5rem));
	max-height: calc(100vh - 5rem);
	overflow: auto;
	padding: 0.65rem;
	background: #ffffff;
	color: #20242b;
	border: 1px solid #e6e8ec;
	border-radius: 14px;
	box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.vertex-tech-panel[hidden] {
	display: none !important;
}

.vertex-tech-panel__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.65rem;
}

.vertex-tech-panel--compact {
	width: min(26rem, calc(100vw - 1.5rem));
	padding: 0.65rem !important;
	border: 1px solid #e6e8ec !important;
	border-top: 1px solid #e6e8ec !important;
	border-radius: 14px !important;
	box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08) !important;
}

.vertex-tech-panel--compact .vertex-tech-panel__kicker {
	margin: 0 0.25rem 0.45rem;
	color: #66707d;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.vertex-tech-panel--compact .vertex-tech-panel__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.35rem;
}

.vertex-tech-panel--compact .vertex-tech-card {
	padding: 0.55rem 0.65rem;
	border-color: rgba(13, 27, 46, 0.08);
}

.vertex-tech-panel--compact .vertex-tech-panel__foot {
	margin-top: 0.55rem;
	padding-top: 0.55rem;
}

body.vx-body .vx-nav .vertex-tech-card {
	min-width: 0;
	padding: 0.4rem 0.5rem;
	background: transparent;
	border: 0;
	border-radius: 10px;
}

body.vx-body .vx-nav .vertex-tech-card:hover,
body.vx-body .vx-nav .vertex-tech-card:focus-within {
	background: #eaf1ff;
	border-color: transparent;
}

.vertex-tech-card__row {
	display: flex;
	align-items: flex-start;
	gap: 0.35rem;
}

.vertex-tech-card__link {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	min-width: 0;
	color: #20242b;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.vertex-tech-icon {
	flex: 0 0 auto;
	margin-top: 0.05rem;
	color: #155eef;
}

.vertex-tech-card__line,
.vertex-tech-panel__tag,
.vertex-tech-panel__note {
	margin: 0.2rem 0 0;
	color: #66707d;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.4;
}

.vertex-tech-panel__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.45rem 1rem;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid rgba(0, 85, 212, 0.16);
}

.vertex-tech-panel__more {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	color: #0055D4;
	font-weight: 700;
	text-decoration: none;
}

.vertex-tech-panel__more::after {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	margin-inline-start: 0.4rem;
	border-top: 1.5px solid currentColor;
	border-inline-end: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.vertex-tech-panel__tag,
.vertex-tech-panel__note {
	margin: 0;
	color: #4c5b6e;
}

.vertex-tech-panel__note {
	flex-basis: 100%;
}

@media (min-width: 1200px) {
	body.vx-body .vx-nav .vertex-tech-card__toggle {
		display: none;
	}
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
	body.vx-body .vx-header .vx-nav .vx-menu > li > a {
		padding-inline: 0.4rem;
		font-size: 0.875rem;
	}
}

@media (max-width: 1199.98px) {
	body.vx-body .vx-nav-panel .vertex-tech-item {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
	}

	body.vx-body .vx-nav-panel .vertex-tech-item > a,
	body.vx-body .vx-nav-panel .vertex-tech-card__link,
	body.vx-body .vx-nav-panel .vertex-tech-card__toggle,
	body.vx-body .vx-nav-panel .vertex-tech-toggle,
	body.vx-body .vx-nav-panel .vertex-tech-panel__more {
		min-height: 2.75rem;
	}

	body.vx-body .vx-nav-panel .vertex-tech-toggle,
	body.vx-body .vx-nav-panel .vertex-tech-card__toggle {
		width: 2.75rem;
		height: 2.75rem;
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 10px;
		background: rgba(255, 255, 255, 0.05);
		color: #ffffff;
	}

	body.vx-body .vx-nav-panel .vertex-tech-panel {
		position: static;
		grid-column: 1 / -1;
		width: auto;
		max-height: none;
		margin: 0.2rem 0 0.35rem;
		padding: 0.45rem;
		overflow: visible;
		background: rgba(255, 255, 255, 0.06);
		color: #ffffff;
		border: 0;
		border-radius: 12px;
		box-shadow: none;
	}

	body.vx-body .vx-nav-panel .vertex-tech-panel__grid {
		grid-template-columns: 1fr;
		gap: 0.2rem;
	}

	body.vx-body .vx-nav-panel .vertex-tech-card {
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
	}

	body.vx-body .vx-nav-panel .vertex-tech-card__row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 0.35rem;
	}

	body.vx-body .vx-nav-panel .vertex-tech-card__link {
		padding: 0.55rem 0.7rem;
		border-radius: 8px;
		color: #ffffff;
	}

	body.vx-body .vx-nav-panel .vertex-tech-icon {
		color: #8fd4ea;
	}

	body.vx-body .vx-nav-panel .vertex-tech-card__detail[hidden] {
		display: none !important;
	}

	body.vx-body .vx-nav-panel .vertex-tech-card__line,
	body.vx-body .vx-nav-panel .vertex-tech-panel__tag,
	body.vx-body .vx-nav-panel .vertex-tech-panel__note {
		color: rgba(255, 255, 255, 0.88);
	}

	body.vx-body .vx-nav-panel .vertex-tech-card__detail {
		padding: 0 0.7rem 0.7rem 2.4rem;
	}

	body.vx-body .vx-nav-panel .vertex-tech-panel__more {
		color: #ffffff;
	}

	body.vx-body .vx-nav-panel .vertex-tech-panel__foot {
		border-top-color: rgba(255, 255, 255, 0.16);
	}
}

.vertex-tech-toggle:focus-visible,
.vertex-tech-card__link:focus-visible,
.vertex-tech-card__toggle:focus-visible,
.vertex-tech-panel__more:focus-visible,
.vertex-tech a:focus-visible {
	outline: 2px solid #0055D4;
	outline-offset: 3px;
}

body.vx-body .vx-nav-panel .vertex-tech-toggle:focus-visible,
body.vx-body .vx-nav-panel .vertex-tech-card__link:focus-visible,
body.vx-body .vx-nav-panel .vertex-tech-card__toggle:focus-visible,
body.vx-body .vx-nav-panel .vertex-tech-panel__more:focus-visible {
	outline-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
	.vertex-tech-panel,
	.vertex-tech-toggle::before,
	.vertex-tech-card__toggle::before,
	.vertex-tech-block,
	.vertex-tech-point {
		transition: none;
	}
}

/* Page */
.vertex-tech-eyebrow {
	margin: 0 0 0.45rem;
	color: #0055D4;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.vertex-tech h3.wp-block-heading {
	margin: 0;
	max-width: 22em;
	color: #0d1b2e;
	font-size: clamp(1.5rem, 0.6vw + 1.2rem, 2rem);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.vertex-tech h4.wp-block-heading {
	margin: 0;
	color: #0d1b2e;
	font-size: clamp(1.125rem, 0.25vw + 1.05rem, 1.375rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.vertex-tech-lead,
.vertex-tech p {
	max-width: 46rem;
	color: #243447;
	font-size: 1.0625rem;
	line-height: 1.65;
}

.vertex-tech-lead {
	margin-top: 0.85rem;
	font-size: 1.125rem;
}

.vertex-tech-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1.15rem;
}

body.vx-body a.vx-btn.vertex-tech-btn--ghost {
	background: #ffffff;
	color: #0055D4;
	border: 2px solid #0055D4;
}

body.vx-body a.vx-btn.vertex-tech-btn--ghost:hover,
body.vx-body a.vx-btn.vertex-tech-btn--ghost:focus-visible {
	background: #0055D4;
	color: #ffffff;
}

.vertex-tech-section,
.vertex-tech-close {
	margin-top: 2.4rem;
}

.vertex-tech-caption {
	margin-top: 0.75rem;
	color: #4c5b6e;
	font-size: 0.9375rem;
}

.vertex-tech-flow,
.vertex-tech-process {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.vertex-tech-flow li,
.vertex-tech-process li {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0.45rem 0.8rem;
	background: #ffffff;
	color: #0d1b2e;
	border: 1px solid rgba(0, 85, 212, 0.2);
	border-radius: 12px;
	font-weight: 700;
}

.vertex-tech-flow li:not(:last-child)::after,
.vertex-tech-process li:not(:last-child)::after {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	border-top: 1.5px solid #1493c4;
	border-inline-end: 1.5px solid #1493c4;
	transform: rotate(45deg);
}

.vertex-tech-grid,
.vertex-tech-points,
.vertex-tech-stack {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.8rem;
	margin-top: 1rem;
}

.vertex-tech-stack {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vertex-tech-block,
.vertex-tech-point,
.vertex-tech-stack__group {
	min-width: 0;
	padding: 1rem 1rem 1.1rem;
	background: #ffffff;
	border: 1px solid rgba(13, 27, 46, 0.12);
	border-inline-start: 4px solid #0055D4;
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(13, 27, 46, 0.06);
}

.vertex-tech-block .vertex-tech-icon,
.vertex-tech-point .vertex-tech-icon {
	color: #0055D4;
}

.vertex-tech-block h4.wp-block-heading,
.vertex-tech-point h4.wp-block-heading {
	margin-top: 0.55rem;
}

.vertex-tech-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0.8rem 0 0;
	padding: 0;
	list-style: none;
}

.vertex-tech-tags li {
	padding: 0.2rem 0.55rem;
	background: rgba(0, 85, 212, 0.08);
	color: #0d1b2e;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
}

.vertex-tech-related,
.vertex-tech-links {
	margin-top: 0.8rem;
}

.vertex-tech-related a,
.vertex-tech-links a {
	color: #0055D4;
	font-weight: 700;
	text-decoration: none;
}

.vertex-tech-related a:hover,
.vertex-tech-links a:hover {
	text-decoration: underline;
}

.vertex-tech-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 1rem;
	padding: 0;
	list-style: none;
}

.vertex-tech-stack__name {
	margin: 0;
	color: #0d1b2e;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
}

.vertex-tech-outcomes {
	display: grid;
	gap: 0.55rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.vertex-tech-outcomes li {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) auto minmax(0, 1.2fr);
	gap: 0.75rem;
	align-items: center;
	padding: 0.75rem 0.9rem;
	background: #ffffff;
	border: 1px solid rgba(13, 27, 46, 0.12);
	border-radius: 12px;
	font-weight: 700;
}

.vertex-tech-outcomes__arrow {
	width: 0.45rem;
	height: 0.45rem;
	border-top: 1.5px solid #1493c4;
	border-inline-end: 1.5px solid #1493c4;
	transform: rotate(45deg);
}

.vertex-tech-close {
	padding: 1.25rem 1.2rem 1.35rem;
	background: #ffffff;
	border: 1px solid rgba(0, 85, 212, 0.2);
	border-radius: 16px;
}

.vertex-tech [id] {
	scroll-margin-top: calc(var(--header) + 0.75rem);
}

@media (max-width: 1199.98px) {
	.vertex-tech-grid,
	.vertex-tech-points {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.vertex-tech-grid,
	.vertex-tech-points,
	.vertex-tech-stack,
	.vertex-tech-outcomes li {
		grid-template-columns: 1fr;
	}

	.vertex-tech-outcomes__arrow {
		transform: rotate(135deg);
	}
}

/* Light navbar compatibility */
body.vx-body .vertex-header .vertex-tech-toggle {
	color: #0d1b2e;
}
