/*
 * Product anchor navigation enhancements.
 * Add these classes in the visual editor:
 * .hs-product-page, .hs-product-layout, .hs-product-sidebar, .hs-product-content,
 * .hs-product-nav-link, .hs-product-section
 */

:root {
	--jssx-product-header-height: 88px;
	--jssx-product-content-top: 140px;
	--jssx-product-nav-active: #0078c0;
	--jssx-product-text: #061b1b;
	--jssx-product-muted: #5f6872;
}

.hs-product-page.uagb-position__sticky,
.hs-product-page.hs-product-layout.uagb-position__sticky {
	position: relative !important;
	top: auto !important;
	bottom: auto !important;
	z-index: auto !important;
}

.hs-product-page .hs-product-layout:has(> .hs-product-sidebar):has(> .hs-product-content),
.hs-product-page.hs-product-layout:has(> .hs-product-sidebar):has(> .hs-product-content) {
	display: grid;
	grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
	gap: clamp(32px, 4vw, 64px);
	align-items: start;
}

.hs-product-page .hs-product-sidebar {
	position: sticky;
	top: calc(var(--jssx-product-header-height) + 32px);
	align-self: start;
	max-height: none;
	overflow: visible;
	padding-right: 10px;
}

.hs-product-page .hs-product-sidebar[data-aos] {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
}

.hs-product-page .hs-product-content {
	min-width: 0;
	height: auto !important;
	min-height: 0;
	max-height: none;
	overflow: visible !important;
	padding-right: 0;
	scroll-behavior: auto;
	align-self: start;
	justify-content: flex-start !important;
}

.hs-product-page .hs-product-nav-group {
	display: block;
	margin: 0 0 10px;
	color: var(--jssx-product-text);
}

.hs-product-page .hs-product-nav-link {
	position: relative;
	display: flex;
	width: 100%;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 10px 14px;
	border: 1px dashed transparent;
	border-radius: 10px;
	background: transparent;
	color: #333;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hs-product-page .hs-product-nav-link::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	border-radius: 999px;
	background: #000;
	color: #fff;
	content: "\2192";
	font-size: 10px;
	line-height: 1;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.hs-product-page .hs-product-nav-link:hover {
	background: #f5f5f5;
	color: #000;
	transform: translateX(4px);
}

.hs-product-page .hs-product-nav-link.is-active {
	border-color: #000;
	background: #fef7f7;
	color: #000;
	transform: translateX(4px);
}

.hs-product-page .hs-product-nav-link:hover::before {
	background: #000;
	transform: translateX(2px);
}

.hs-product-page .hs-product-nav-link.is-active::before {
	background: var(--jssx-product-nav-active);
	transform: translateX(2px);
}

.hs-product-page .hs-product-nav-toggle {
	background: linear-gradient(90deg, #f0001e 0%, #000 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: #f0001e;
	font-size: clamp(20px, 1.5vw, 24px);
	font-weight: 820;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
}

.hs-product-page .hs-product-nav-toggle:hover,
.hs-product-page .hs-product-nav-toggle.is-active {
	color: #f0001e;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
}

.hs-product-page .hs-product-nav-children {
	display: block;
	padding: 8px 0 8px 30px;
}

.hs-product-page .hs-product-nav-child-link {
	margin-top: 6px;
	padding: 8px 12px;
	color: var(--jssx-product-muted);
	font-size: 15px;
	font-weight: 650;
}

.hs-product-page .hs-product-nav-child-link::before {
	width: 10px;
	height: 10px;
	background: #9aa3aa;
	content: "";
}

.hs-product-page .hs-product-nav-child-link:hover,
.hs-product-page .hs-product-nav-child-link.is-active {
	color: var(--jssx-product-text);
}

.hs-product-page .hs-product-nav-child-link.is-active::before {
	background: var(--jssx-product-nav-active);
}

.hs-product-page .hs-product-section {
	scroll-margin-top: calc(var(--jssx-product-header-height) + 24px);
	margin-bottom: clamp(72px, 8vw, 120px);
}

.hs-product-page .hs-product-section.hs-product-visible {
	animation: hsProductFadeUp 0.45s ease both;
}

.hs-product-page.alignfull {
	box-sizing: border-box;
	width: min(100%, 1440px) !important;
	max-width: 1440px !important;
	margin: 0 auto;
	padding: clamp(112px, 12vw, 168px) clamp(10px, 3vw, 24px) clamp(64px, 8vw, 112px);
}

.hs-product-page .hs-product-section__header {
	margin: 0 0 clamp(24px, 3vw, 40px);
}

.hs-product-page .hs-product-section__eyebrow {
	margin: 0 0 8px;
	color: var(--jssx-product-nav-active);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hs-product-page .hs-product-section__title {
	margin: 0;
	color: var(--jssx-product-text);
	font-size: clamp(30px, 3.2vw, 44px);
	font-weight: 850;
	line-height: 1.02;
	letter-spacing: 0;
}

.hs-product-page .hs-product-section__desc {
	max-width: 760px;
	margin: 14px 0 0;
	color: var(--jssx-product-muted);
	font-size: 16px;
	line-height: 1.65;
	letter-spacing: 0;
}

.hs-product-page .hs-product-group {
	margin: 0 0 clamp(36px, 4vw, 56px);
}

.hs-product-page .hs-product-group:last-child {
	margin-bottom: 0;
}

.hs-product-page .hs-product-group__header {
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(6, 27, 27, 0.1);
}

.hs-product-page .hs-product-group__title {
	margin: 0;
	color: var(--jssx-product-text);
	font-size: clamp(24px, 2.2vw, 34px);
	font-weight: 820;
	line-height: 1.12;
	letter-spacing: 0;
}

.hs-product-page .hs-product-group__desc {
	max-width: 720px;
	margin: 10px 0 0;
	color: var(--jssx-product-muted);
	font-size: 15px;
	line-height: 1.6;
	letter-spacing: 0;
}

.hs-product-page .hs-product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.hs-product-page .hs-product-card {
	box-sizing: border-box;
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(209, 213, 219, 0.9);
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	color: var(--jssx-product-text);
	text-decoration: none;
	transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
	padding: clamp(14px, 1.4vw, 20px) clamp(14px, 1.4vw, 20px) 0;
}

.hs-product-page .hs-product-card:hover {
	border-color: rgba(225, 0, 18, 0.24);
	background: #fff;
	box-shadow: 0 22px 48px rgba(6, 27, 27, 0.14);
	color: var(--jssx-product-text);
	transform: translateY(-6px);
}

.hs-product-page .hs-product-card.is-placeholder {
	background: #f8fafb;
	cursor: default;
}

.hs-product-page .hs-product-card.is-placeholder:hover {
	border-color: rgba(209, 213, 219, 0.9);
	background: #f8fafb;
	box-shadow: none;
	transform: none;
}

.hs-product-page .hs-product-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: linear-gradient(135deg, #f5f7f8, #eceff1);
    border-radius: 10px;
}

.hs-product-page .hs-product-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.36s ease;
}

.hs-product-page .hs-product-card:hover .hs-product-card__image {
	transform: scale(1.04);
}

.hs-product-page .hs-product-card.is-placeholder:hover .hs-product-card__image {
	transform: none;
}

.hs-product-page .hs-product-card__placeholder {
	position: absolute;
	inset: 22%;
	border: 2px solid rgba(225, 0, 18, 0.22);
	border-radius: 999px;
}

.hs-product-page .hs-product-card__placeholder::before,
.hs-product-page .hs-product-card__placeholder::after {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 52%;
	height: 2px;
	background: rgba(225, 0, 18, 0.28);
	content: "";
	transform: translate(-50%, -50%);
}

.hs-product-page .hs-product-card__placeholder::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.hs-product-page .hs-product-card__title {
	display: block;
	padding: clamp(16px, 1.6vw, 22px) clamp(2px, 0.6vw, 10px) 0;
	color: var(--jssx-product-text);
	font-size: 19px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
}

.hs-product-page .hs-product-card__summary {
	display: block;
	padding: 10px clamp(2px, 0.6vw, 10px) 0;
	color: var(--jssx-product-muted);
	font-size: 15px;
	line-height: 1.55;
	letter-spacing: 0;
}

.hs-product-page .hs-product-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: auto clamp(2px, 0.6vw, 10px) 20px;
	padding-top: 18px;
	color: var(--jssx-product-nav-active);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hs-product-page .hs-product-card__status {
	display: inline-flex;
	align-items: center;
	margin: auto clamp(2px, 0.6vw, 10px) 20px;
	padding-top: 18px;
	color: var(--jssx-product-muted);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hs-product-page .hs-product-card__cta::after {
	content: "\2192";
	font-size: 15px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.hs-product-page .hs-product-card:hover .hs-product-card__cta::after {
	transform: translateX(4px);
}

.hs-product-page .hs-product-section--empty {
	width: min(100%, 960px);
	margin: 0 auto;
	padding: clamp(120px, 12vw, 180px) 24px;
	text-align: center;
}

@keyframes hsProductFadeUp {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hs-product-page .hs-product-nav-link,
	.hs-product-page .hs-product-nav-link::before,
	.hs-product-page .hs-product-section.hs-product-visible {
		animation: none;
		transition: none;
	}
}

@media (max-width: 921px) {
	.hs-product-page .hs-product-layout:has(> .hs-product-sidebar):has(> .hs-product-content),
	.hs-product-page.hs-product-layout:has(> .hs-product-sidebar):has(> .hs-product-content) {
		display: block;
	}

	.hs-product-page .hs-product-sidebar {
		position: static;
		top: auto;
		z-index: auto;
		display: block;
		max-height: none;
		overflow: visible;
		padding: 0 0 28px;
		background: #fff;
	}

	.hs-product-page .hs-product-content {
		max-height: none;
		height: auto !important;
		overflow: visible !important;
		padding-right: 0;
	}

	.hs-product-page .hs-product-nav-group {
		min-width: 0;
		margin-bottom: 10px;
	}

	.hs-product-page .hs-product-nav-link {
		white-space: normal;
	}

	.hs-product-page .hs-product-nav-children {
		padding-left: 18px;
	}

	.hs-product-page.alignfull {
		padding-top: clamp(92px, 18vw, 132px);
	}

	.hs-product-page .hs-product-grid {
		grid-template-columns: 1fr;
	}

	.site-footer .footer-widget-area,
	.site-footer .footer-widget-area-inner,
	.site-footer .widget,
	.site-footer .widget-title,
	.site-footer .menu,
	.site-footer .menu-item,
	.site-footer .wp-block-heading,
	.site-footer .wp-block-paragraph {
		box-sizing: border-box;
		width: auto !important;
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	.hs-product-page .hs-product-card__title {
		padding-right: 18px;
		padding-left: 18px;
	}

	.hs-product-page .hs-product-card__summary {
		padding-right: 18px;
		padding-left: 18px;
	}

	.hs-product-page .hs-product-card__cta {
		margin-right: 18px;
		margin-left: 18px;
	}
}

/*
 * R&D and manufacturing layout enhancement.
 * Gutenberg/Spectra owns the markup; these rules only style the tagged section.
 */
.rd-layout-section {
	--rd-card-blue: #1378c9;
	--rd-card-text: #252b33;
	--rd-card-muted: #4f5965;
	--rd-card-border: rgba(74, 154, 210, 0.18);
	--rd-card-shadow: 0 14px 30px rgba(21, 92, 145, 0.1);
	--rd-card-shadow-hover: 0 20px 42px rgba(21, 92, 145, 0.18);
}

.rd-layout-section .uagb-block-ffd1e4b5 {
	display: grid !important;
	grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
	gap: clamp(14px, 1.5vw, 20px) !important;
	width: min(92vw, 1320px) !important;
	max-width: 1320px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	align-items: stretch;
}

.rd-layout-section .uagb-block-a0a296cc {
	position: relative;
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100%;
	padding: clamp(28px, 3vw, 42px);
	overflow: hidden;
	border-radius: 8px;
	background:
		radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.34), transparent 18%),
		linear-gradient(180deg, #245fb8 0%, #113b8e 52%, #09275f 100%);
	box-shadow: 0 20px 44px rgba(18, 69, 143, 0.18);
}

.rd-layout-section .uagb-block-a0a296cc::before {
	position: absolute;
	inset: 0;
	content: "";
	background:
		linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.08) 100%),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 34px);
	opacity: 0.55;
	pointer-events: none;
}

.rd-layout-section .uagb-block-a0a296cc .uagb-heading-text {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 2.9vw, 42px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: 0;
	writing-mode: vertical-rl;
}

.rd-layout-section .rd-feature-card {
	position: relative;
	isolation: isolate;
	overflow: visible;
	display: flex !important;
	flex-direction: column;
	gap: clamp(12px, 1.2vw, 18px);
	min-width: 0;
	min-height: clamp(148px, 12vw, 182px);
	padding: clamp(20px, 1.7vw, 28px) clamp(18px, 1.7vw, 26px);
	border: 1px solid var(--rd-card-border);
	border-radius: 8px;
	background: linear-gradient(135deg, #fbfcfe 0%, #f3f6fa 100%);
	box-shadow: var(--rd-card-shadow);
	color: var(--rd-card-text);
	text-align: left;
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.rd-layout-section .rd-feature-card > .wp-block-uagb-container:first-child,
.rd-layout-section .rd-feature-card > .uagb-container-inner-blocks-wrap:first-child {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(12px, 1.2vw, 18px);
	width: 100%;
	min-width: 0;
}

.rd-layout-section .rd-feature-card:hover {
	border-color: rgba(19, 120, 201, 0.28);
	box-shadow: var(--rd-card-shadow-hover);
	transform: translateY(-8px);
}

.rd-layout-section .rd-feature-card .wp-block-uagb-icon,
.rd-layout-section .rd-feature-card .uagb-icon-wrapper,
.rd-layout-section .rd-feature-card .wp-block-image:first-child,
.rd-layout-section .rd-feature-card > figure:first-child,
.rd-layout-section .rd-feature-card > .wp-block-uagb-image:first-child {
	position: static;
	flex: 0 0 clamp(34px, 3vw, 44px) !important;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: clamp(34px, 3vw, 44px) !important;
	height: clamp(34px, 3vw, 44px) !important;
	max-width: clamp(34px, 3vw, 44px) !important;
	margin: 0 0 0 auto !important;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	transform: none;
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.rd-layout-section .rd-feature-card:hover .wp-block-uagb-icon,
.rd-layout-section .rd-feature-card:hover .uagb-icon-wrapper,
.rd-layout-section .rd-feature-card:hover .wp-block-image:first-child,
.rd-layout-section .rd-feature-card:hover > figure:first-child,
.rd-layout-section .rd-feature-card:hover > .wp-block-uagb-image:first-child {
	box-shadow: none;
	transform: scale(1.07);
}

.rd-layout-section .rd-feature-card .wp-block-uagb-icon svg,
.rd-layout-section .rd-feature-card .uagb-icon-wrapper svg,
.rd-layout-section .rd-feature-card .wp-block-image:first-child img,
.rd-layout-section .rd-feature-card > figure:first-child img,
.rd-layout-section .rd-feature-card > .wp-block-uagb-image:first-child img {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain;
	color: var(--rd-card-blue);
	fill: currentColor;
}

.rd-layout-section .rd-feature-card h1,
.rd-layout-section .rd-feature-card h2,
.rd-layout-section .rd-feature-card h3,
.rd-layout-section .rd-feature-card h4,
.rd-layout-section .rd-feature-card h5,
.rd-layout-section .rd-feature-card h6,
.rd-layout-section .rd-feature-card .uagb-heading-text {
	margin: 0 0 8px;
	color: var(--rd-card-blue) !important;
	font-size: clamp(18px, 1.35vw, 24px);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: 0;
	text-align: left !important;
}

.rd-layout-section .rd-feature-card > .wp-block-uagb-container:first-child .wp-block-uagb-advanced-heading,
.rd-layout-section .rd-feature-card > .uagb-container-inner-blocks-wrap:first-child .wp-block-uagb-advanced-heading {
	flex: 1 1 auto;
	min-width: 0;
}

.rd-layout-section .rd-feature-card p,
.rd-layout-section .rd-feature-card .uagb-desc-text {
	margin: 0;
	color: var(--rd-card-muted);
	font-size: clamp(14px, 0.95vw, 16px);
	font-weight: 400;
	line-height: 1.38;
	letter-spacing: 0;
	text-align: left !important;
}

@media (max-width: 1100px) {
	.rd-layout-section .uagb-block-ffd1e4b5 {
		grid-template-columns: 1fr;
	}

	.rd-layout-section .uagb-block-a0a296cc {
		grid-column: 1 / -1 !important;
		min-height: 180px;
	}

	.rd-layout-section .uagb-block-a0a296cc .uagb-heading-text {
		writing-mode: horizontal-tb;
	}
}

@media (max-width: 640px) {
	.rd-layout-section .uagb-block-ffd1e4b5 {
		grid-template-columns: 1fr;
	}

	.rd-layout-section .rd-feature-card {
		min-height: 150px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rd-layout-section .rd-feature-card,
	.rd-layout-section .rd-feature-card .wp-block-uagb-icon,
	.rd-layout-section .rd-feature-card .uagb-icon-wrapper,
	.rd-layout-section .rd-feature-card .wp-block-image:first-child,
	.rd-layout-section .rd-feature-card > figure:first-child,
	.rd-layout-section .rd-feature-card > .wp-block-uagb-image:first-child {
		transition: none;
	}

	.rd-layout-section .rd-feature-card:hover {
		transform: none;
	}
}

.hs-honors-qualifications {
	--jssx-honors-marquee-gap: clamp(18px, 2.6vw, 40px);
	--jssx-honors-marquee-distance: 0px;
	--jssx-honors-edge-fade: clamp(24px, 4vw, 72px);
	width: 80vw !important;
	max-width: 80vw !important;
	margin-right: auto !important;
	margin-left: auto !important;
	overflow: hidden;
	position: relative;
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0,
		#000 var(--jssx-honors-edge-fade),
		#000 calc(100% - var(--jssx-honors-edge-fade)),
		transparent 100%
	);
	mask-image: linear-gradient(
		90deg,
		transparent 0,
		#000 var(--jssx-honors-edge-fade),
		#000 calc(100% - var(--jssx-honors-edge-fade)),
		transparent 100%
	);
}

.hs-honors-qualifications[data-hs-honors-marquee="true"] {
	display: block;
}

.hs-honors-qualifications__track {
	display: flex;
	width: max-content;
	will-change: transform;
	animation: hs-honors-marquee var(--jssx-honors-marquee-duration, 90s) linear infinite;
}

.hs-honors-qualifications__group {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: var(--jssx-honors-marquee-gap);
	padding-right: var(--jssx-honors-marquee-gap);
}

.hs-honors-qualifications__group > * {
	flex: 0 0 auto;
}

.hs-honors-qualifications__group img {
	display: block;
    border-radius: 16px;
}

@keyframes hs-honors-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(calc(var(--jssx-honors-marquee-distance) * -1), 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hs-honors-qualifications__track {
		animation: none;
		transform: none;
	}
}
