/*
 * Certificates of Analysis page (WordPress page 4100).
 * Part 1 is the stylesheet of the plugin widget "APS Linked Gallery" 1.3.0 (snippet 19), rule by rule as the widget printed it
 * inline, without the rules for markup that this page does not print any more: the card overlay, the Elementor widget
 * selectors, and the intro section (the title and lead text are in the theme hero now). 21 rules were left out.
 * Part 2 is the widget's own custom CSS control (the card image frame is 550px high).
 * Part 3, below the marker line, is new and hand written: the theme fit and the lightbox.
 */

/**
 * APS Linked Gallery
 */

.aps-linked-gallery,
.aps-linked-gallery *,
.aps-linked-gallery *::before,
.aps-linked-gallery *::after {
	box-sizing: border-box !important;
}

.aps-linked-gallery {
	--aps-lg-columns: 3;
	--aps-lg-columns-tablet: 2;
	--aps-lg-columns-mobile: 1;
	--aps-lg-gap: 22px;
	--aps-lg-height: 360px;
	--aps-lg-height-tablet: 320px;
	--aps-lg-height-mobile: 280px;
	--aps-lg-radius: 18px;
	--aps-lg-overlay: rgba(5, 31, 48, 0.68);
	--aps-lg-title-color: #061d33;
	--aps-lg-button-background: #0877bb;
	--aps-lg-button-color: #ffffff;
	--aps-lg-button-hover-background: #28a9d9;
	--aps-lg-button-hover-color: #ffffff;

	position: relative !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	font-family: inherit !important;
}

/**
 * Gallery grid.
 */

.aps-linked-gallery .aps-linked-gallery-grid {
	display: grid !important;
	grid-template-columns: repeat(
		var(--aps-lg-columns),
		minmax(0, 1fr)
	) !important;
	align-items: stretch !important;
	gap: var(--aps-lg-gap) !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

/**
 * Gallery item.
 */

.aps-linked-gallery .aps-linked-gallery-item {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	min-width: 0 !important;
	height: var(--aps-lg-height) !important;
	min-height: var(--aps-lg-height) !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	border-radius: var(--aps-lg-radius) !important;
	background: #e9edf0 !important;
	box-shadow: none !important;
	isolation: isolate !important;
	transform: translateZ(0) !important;
}

/**
 * Clickable image area.
 */

.aps-linked-gallery .aps-linked-gallery-card,
.aps-linked-gallery a.aps-linked-gallery-card {
	position: absolute !important;
	inset: 0 !important;
	z-index: 1 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	border-radius: inherit !important;
	outline: 0 !important;
	color: inherit !important;
	background: transparent !important;
	box-shadow: none !important;
	text-decoration: none !important;
	cursor: zoom-in !important;
}

.aps-linked-gallery .aps-linked-gallery-card:focus-visible {
	outline: 3px solid var(--aps-lg-button-background) !important;
	outline-offset: 3px !important;
}

/**
 * Image wrapper.
 */

.aps-linked-gallery .aps-linked-gallery-image-wrapper {
	position: absolute !important;
	inset: 0 !important;
	z-index: 1 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border-radius: inherit !important;
	background: #e9edf0 !important;
}

/**
 * Gallery image.
 */

.aps-linked-gallery .aps-linked-gallery-image,
.aps-linked-gallery .aps-linked-gallery-image-wrapper img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	outline: 0 !important;
	object-fit: cover !important;
	object-position: center center !important;
	background: transparent !important;
	box-shadow: none !important;
	opacity: 1 !important;
	transform: scale(1.001) !important;
	transition:
		transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
		filter 400ms ease !important;
	will-change: transform !important;
}

/**
 * Gallery title.
 */

.aps-linked-gallery .aps-linked-gallery-title {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	color: var(--aps-lg-title-color) !important;
	font-family: inherit !important;
	font-size: 24px !important;
	font-style: normal !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.01em !important;
	text-align: left !important;
	text-decoration: none !important;
	text-transform: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

/**
 * Certificate card wrapper, body, and meta details.
 */

.aps-linked-gallery .aps-linked-gallery-cell {
	display: flex !important;
	flex-direction: column !important;
	min-width: 0 !important;
	height: 100% !important;
	overflow: hidden !important;
	background: #ffffff !important;
	border: 1px solid var(--aps-lg-cell-border, #dce9f0) !important;
	border-radius: var(--aps-lg-radius) !important;
	box-shadow: 0 8px 26px rgba(7, 76, 112, .05) !important;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease !important;
}

.aps-linked-gallery .aps-linked-gallery-cell:hover {
	transform: translateY(-4px) !important;
	border-color: rgba(8, 119, 187, .28) !important;
	box-shadow: 0 18px 42px rgba(7, 76, 112, .10) !important;
}

.aps-linked-gallery .aps-linked-gallery-cell .aps-linked-gallery-item {
	flex: 0 0 auto !important;
	border-radius: 0 !important;
}

.aps-linked-gallery .aps-linked-gallery-body {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 12px !important;
	padding: 18px 18px 20px !important;
	background: #ffffff !important;
}

.aps-linked-gallery .aps-linked-gallery-body .aps-linked-gallery-title {
	margin: 0 !important;
	color: var(--aps-lg-title-color) !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.34 !important;
	letter-spacing: -0.015em !important;
	text-align: left !important;
}

.aps-linked-gallery .aps-linked-gallery-body .aps-linked-gallery-button {
	margin-top: auto !important;
}

.aps-linked-gallery .aps-linked-gallery-meta {
	width: 100% !important;
	color: var(--aps-lg-meta-color, #46586a) !important;
	font-size: 13.5px !important;
	line-height: 1.6 !important;
}

.aps-linked-gallery .aps-linked-gallery-meta p {
	margin: 0 0 6px !important;
	padding: 0 0 6px !important;
	border-bottom: 1px solid rgba(220, 233, 240, .7) !important;
}

.aps-linked-gallery .aps-linked-gallery-meta p:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
}

.aps-linked-gallery .aps-linked-gallery-meta strong {
	color: var(--aps-lg-meta-label-color, #061d33) !important;
	font-weight: 700 !important;
}

/**
 * Gallery button.
 */

.aps-linked-gallery .aps-linked-gallery-button {
	position: relative !important;
	display: inline-flex !important;
	justify-content: center !important;
	align-items: center !important;
	gap: 8px !important;
	width: auto !important;
	max-width: 100% !important;
	min-height: 44px !important;
	margin: 0 !important;
	padding: 10px 19px !important;
	overflow: hidden !important;
	border: 0 !important;
	border-radius: 999px !important;
	outline: 0 !important;
	color: var(--aps-lg-button-color) !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-style: normal !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-transform: none !important;
	white-space: nowrap !important;
	background: var(--aps-lg-button-background) !important;
	box-shadow: none !important;
	transform: translateZ(0) !important;
	transition:
		color 180ms ease,
		background-color 180ms ease,
		transform 180ms ease !important;
}

/**
 * Button arrow.
 */

.aps-linked-gallery .aps-linked-gallery-button-icon {
	display: inline-flex !important;
	flex: 0 0 17px !important;
	justify-content: center !important;
	align-items: center !important;
	width: 17px !important;
	height: 17px !important;
	margin: 0 !important;
	padding: 0 !important;
	color: inherit !important;
	transition: transform 180ms ease !important;
}

.aps-linked-gallery .aps-linked-gallery-button-icon svg {
	display: block !important;
	width: 17px !important;
	height: 17px !important;
	margin: 0 !important;
	padding: 0 !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.9 !important;
	stroke-linecap: round !important;
	stroke-linejoin: round !important;
}

.aps-linked-gallery .aps-linked-gallery-button {
	pointer-events: auto !important;
	z-index: 5 !important;
}

.aps-linked-gallery .aps-linked-gallery-item:hover .aps-linked-gallery-image,
.aps-linked-gallery .aps-linked-gallery-item:focus-within .aps-linked-gallery-image {
	transform: scale(1.075) !important;
	filter: saturate(1.04) !important;
}

.aps-linked-gallery .aps-linked-gallery-button:hover,
.aps-linked-gallery .aps-linked-gallery-button:focus-visible {
	color: var(--aps-lg-button-hover-color) !important;
	background: var(--aps-lg-button-hover-background) !important;
	transform: translateY(-2px) !important;
}

.aps-linked-gallery .aps-linked-gallery-button:hover .aps-linked-gallery-button-icon,
.aps-linked-gallery .aps-linked-gallery-button:focus-visible .aps-linked-gallery-button-icon {
	transform: translateX(3px) !important;
}

/**
 * Tablet layout.
 */

.aps-coa-page__articles {
	padding: clamp(66px, 7vw, 100px) 0 !important;
	background: #ffffff !important;
	border-top: 1px solid rgba(220,233,240,.7) !important;
}

.aps-coa-page__articles-heading {
	max-width: 800px !important;
	margin: 0 auto 34px !important;
	text-align: center !important;
}

.aps-coa-page__articles-heading h2 {
	margin: 0 0 11px !important;
	padding: 0 !important;
	color: var(--aps-coa-navy) !important;
	font-size: clamp(29px, 3.5vw, 42px) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: -.026em !important;
}

.aps-coa-page__articles-heading p {
	margin: 0 !important;
	color: var(--aps-coa-muted) !important;
	font-size: 15px !important;
	line-height: 1.72 !important;
}

.aps-coa-page__articles-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 22px !important;
	align-items: stretch !important;
}

.aps-coa-page__article-card {
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	min-width: 0 !important;
	height: 100% !important;
	overflow: hidden !important;
	background: #ffffff !important;
	border: 1px solid var(--aps-coa-border) !important;
	border-radius: 20px !important;
	box-shadow: 0 8px 26px rgba(7,76,112,.045) !important;
	transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease !important;
}

.aps-coa-page__article-card:hover {
	transform: translateY(-5px) !important;
	border-color: rgba(8,119,187,.28) !important;
	box-shadow: 0 18px 42px rgba(7,76,112,.09) !important;
}

.aps-coa-page__article-link {
	display: flex !important;
	flex-direction: column !important;
	width: 100% !important;
	height: 100% !important;
	color: inherit !important;
	text-decoration: none !important;
}

.aps-coa-page__article-link:focus-visible {
	outline: 3px solid rgba(40,169,217,.42) !important;
	outline-offset: -3px !important;
}

.aps-coa-page__article-media {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 0 !important;
	overflow: hidden !important;
	background: #eef8fc !important;
	border-bottom: 1px solid rgba(220,233,240,.8) !important;
}

.aps-coa-page__article-image {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: contain !important;
	object-position: center center !important;
	border: 0 !important;
	transition: transform .3s ease !important;
}

.aps-coa-page__article-card:hover .aps-coa-page__article-image {
	transform: scale(1.015) !important;
}

.aps-coa-page__article-placeholder {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 220px !important;
	color: rgba(8,119,187,.38) !important;
	background: linear-gradient(145deg, #f7fcfe, #eaf7fc) !important;
	font-size: 24px !important;
	font-weight: 800 !important;
	letter-spacing: .08em !important;
}

.aps-coa-page__article-body {
	display: flex !important;
	flex: 1 1 auto !important;
	flex-direction: column !important;
	width: 100% !important;
	padding: 22px 21px 21px !important;
}

.aps-coa-page__article-title {
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: var(--aps-coa-navy) !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	line-height: 1.34 !important;
	letter-spacing: -.015em !important;
}

.aps-coa-page__article-excerpt {
	display: -webkit-box !important;
	margin: 0 0 18px !important;
	overflow: hidden !important;
	color: var(--aps-coa-muted) !important;
	font-size: 13.5px !important;
	line-height: 1.65 !important;
	-webkit-line-clamp: 3 !important;
	-webkit-box-orient: vertical !important;
}

.aps-coa-page__article-read {
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
	margin-top: auto !important;
	color: var(--aps-coa-blue) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
}

.aps-coa-page__articles-action {
	display: flex !important;
	justify-content: center !important;
	margin-top: 34px !important;
}

.aps-coa-page__articles-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 50px !important;
	padding: 14px 22px !important;
	color: #ffffff !important;
	background: var(--aps-coa-blue) !important;
	border: 1px solid rgba(8,119,187,.12) !important;
	border-radius: 999px !important;
	box-shadow: 0 10px 24px rgba(8,119,187,.14) !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: transform .2s ease, box-shadow .2s ease !important;
}

.aps-coa-page__articles-button:hover,
.aps-coa-page__articles-button:focus-visible {
	transform: translateY(-2px) !important;
	box-shadow: 0 14px 30px rgba(8,119,187,.2) !important;
}

@media screen and (max-width: 1024px) {
	.aps-linked-gallery .aps-linked-gallery-grid {
		grid-template-columns: repeat(
			var(--aps-lg-columns-tablet),
			minmax(0, 1fr)
		) !important;
	}

	.aps-linked-gallery .aps-linked-gallery-item {
		height: var(--aps-lg-height-tablet) !important;
		min-height: var(--aps-lg-height-tablet) !important;
	}

	.aps-linked-gallery .aps-linked-gallery-title {
		font-size: 22px !important;
	}
}

/**
 * Touch and mobile layout.
 *
 * Touch devices do not have a reliable hover state, so the overlay content
 * remains visible and is positioned over a compact bottom gradient.
 */

@media screen and (max-width: 767px) {
	.aps-linked-gallery .aps-linked-gallery-grid {
		grid-template-columns: repeat(
			var(--aps-lg-columns-mobile),
			minmax(0, 1fr)
		) !important;
	}

	.aps-linked-gallery .aps-linked-gallery-item {
		height: var(--aps-lg-height-mobile) !important;
		min-height: var(--aps-lg-height-mobile) !important;
	}

	.aps-linked-gallery .aps-linked-gallery-title {
		font-size: 20px !important;
	}

	.aps-linked-gallery .aps-linked-gallery-button {
		min-height: 41px !important;
		padding: 9px 16px !important;
		font-size: 13px !important;
	}
}

/**
 * Reduced motion.
 */

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

/**
 * COA full-page content shell.
 *
 * This extends the widget visually without changing the existing gallery rules.
 */

.aps-coa-page,
.aps-coa-page *,
.aps-coa-page *::before,
.aps-coa-page *::after {
	box-sizing: border-box !important;
}

.aps-coa-page {
	--aps-coa-blue: #0877bb;
	--aps-coa-blue-light: #28a9d9;
	--aps-coa-navy: #061d33;
	--aps-coa-text: #263b4c;
	--aps-coa-muted: #6c7f8e;
	--aps-coa-border: #dce9f0;
	--aps-coa-soft: #f5fafc;
	--aps-coa-soft-2: #eaf7fc;

	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--aps-coa-text) !important;
	font-family: inherit !important;
	direction: ltr !important;
	text-align: left !important;
}

.aps-coa-page__container {
	width: min(calc(100% - 48px), 1280px) !important;
	max-width: 1280px !important;
	margin-inline: auto !important;
}

.aps-coa-page__gallery-section {
	padding: clamp(58px, 6vw, 86px) 0 !important;
	background: #ffffff !important;
}

.aps-coa-page__gallery-heading {
	max-width: 760px !important;
	margin: 0 auto 34px !important;
	text-align: center !important;
}

.aps-coa-page__gallery-heading h2 {
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: var(--aps-coa-navy) !important;
	font-size: clamp(28px, 3.5vw, 42px) !important;
	font-weight: 700 !important;
	line-height: 1.14 !important;
	letter-spacing: -.028em !important;
}

.aps-coa-page__gallery-heading p {
	margin: 0 !important;
	color: var(--aps-coa-muted) !important;
	font-size: 15px !important;
	line-height: 1.72 !important;
}

.aps-coa-page__content {
	padding: clamp(66px, 7vw, 104px) 0 !important;
	background:
		linear-gradient(180deg, #f8fcfe 0%, #ffffff 100%) !important;
	border-top: 1px solid rgba(220,233,240,.65) !important;
}

.aps-coa-page__prose {
	max-width: 980px !important;
	margin-inline: auto !important;
}

.aps-coa-page__section {
	margin: 0 0 62px !important;
}

.aps-coa-page__section:last-child {
	margin-bottom: 0 !important;
}

.aps-coa-page__section > h2 {
	margin: 0 0 20px !important;
	padding: 0 !important;
	color: var(--aps-coa-navy) !important;
	font-size: clamp(28px, 3.3vw, 40px) !important;
	font-weight: 700 !important;
	line-height: 1.16 !important;
	letter-spacing: -.026em !important;
	text-wrap: balance !important;
}

.aps-coa-page__section > p,
.aps-coa-page__verification-list li {
	color: var(--aps-coa-text) !important;
	font-size: 15px !important;
	line-height: 1.82 !important;
}

.aps-coa-page__section > p {
	margin: 0 0 18px !important;
}

.aps-coa-page__section > p:last-child {
	margin-bottom: 0 !important;
}

.aps-coa-page__rich-text {
	margin: 0 0 18px !important;
	color: var(--aps-coa-text) !important;
	font-size: 15px !important;
	line-height: 1.82 !important;
}

.aps-coa-page__rich-text:last-child {
	margin-bottom: 0 !important;
}

.aps-coa-page__rich-text p {
	margin: 0 0 18px !important;
	color: inherit !important;
	font: inherit !important;
	line-height: inherit !important;
}

.aps-coa-page__rich-text p:last-child {
	margin-bottom: 0 !important;
}

.aps-coa-page__rich-text strong {
	color: var(--aps-coa-navy) !important;
	font-weight: 700 !important;
}

.aps-coa-page__section strong {
	color: var(--aps-coa-navy) !important;
	font-weight: 700 !important;
}

.aps-coa-page__info-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 18px !important;
	margin-top: 28px !important;
}

.aps-coa-page__info-card {
	position: relative !important;
	min-width: 0 !important;
	padding: 24px 24px 24px 26px !important;
	background: #ffffff !important;
	border: 1px solid var(--aps-coa-border) !important;
	border-radius: 18px !important;
	box-shadow: 0 8px 26px rgba(7,76,112,.035) !important;
}

.aps-coa-page__info-card::before {
	content: "" !important;
	position: absolute !important;
	top: 23px !important;
	left: 0 !important;
	width: 4px !important;
	height: 34px !important;
	background: linear-gradient(180deg, var(--aps-coa-blue-light), var(--aps-coa-blue)) !important;
	border-radius: 0 4px 4px 0 !important;
}

.aps-coa-page__info-card h3 {
	margin: 0 0 8px !important;
	padding: 0 !important;
	color: var(--aps-coa-navy) !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
}

.aps-coa-page__info-card p {
	margin: 0 !important;
	color: var(--aps-coa-muted) !important;
	font-size: 14px !important;
	line-height: 1.72 !important;
}

.aps-coa-page__verification-list {
	margin: 25px 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	counter-reset: aps-coa-verify !important;
}

.aps-coa-page__verification-list li {
	position: relative !important;
	margin: 0 0 14px !important;
	padding: 0 0 0 50px !important;
	counter-increment: aps-coa-verify !important;
}

.aps-coa-page__verification-list li:last-child {
	margin-bottom: 0 !important;
}

.aps-coa-page__verification-list li::before {
	content: counter(aps-coa-verify) !important;
	position: absolute !important;
	top: 1px !important;
	left: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 34px !important;
	height: 34px !important;
	color: #ffffff !important;
	background: linear-gradient(135deg, var(--aps-coa-blue-light), var(--aps-coa-blue)) !important;
	border-radius: 50% !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

.aps-coa-page__notice {
	margin-top: 26px !important;
	padding: 22px 24px !important;
	color: var(--aps-coa-text) !important;
	background: linear-gradient(145deg, #f7fcfe 0%, #edf8fc 100%) !important;
	border: 1px solid var(--aps-coa-border) !important;
	border-radius: 18px !important;
	font-size: 14px !important;
	line-height: 1.72 !important;
}

.aps-coa-page__faq {
	padding: clamp(66px, 7vw, 100px) 0 !important;
	background: #f6fafc !important;
	border-top: 1px solid rgba(220,233,240,.7) !important;
}

.aps-coa-page__faq-heading {
	max-width: 780px !important;
	margin: 0 auto 32px !important;
	text-align: center !important;
}

.aps-coa-page__faq-heading h2 {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--aps-coa-navy) !important;
	font-size: clamp(29px, 3.5vw, 42px) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	letter-spacing: -.026em !important;
}

.aps-coa-page__faq-list {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 18px !important;
	max-width: 1100px !important;
	margin-inline: auto !important;
}

.aps-coa-page__faq-item {
	margin: 0 !important;
	padding: 25px !important;
	background: #ffffff !important;
	border: 1px solid var(--aps-coa-border) !important;
	border-radius: 18px !important;
	box-shadow: 0 8px 24px rgba(7,76,112,.035) !important;
}

.aps-coa-page__faq-item h3 {
	margin: 0 0 10px !important;
	padding: 0 !important;
	color: var(--aps-coa-navy) !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
}

.aps-coa-page__faq-item p {
	margin: 0 !important;
	color: var(--aps-coa-muted) !important;
	font-size: 14px !important;
	line-height: 1.72 !important;
}

@media screen and (max-width: 1024px) {
	.aps-coa-page__articles-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.aps-coa-page__container {
		width: min(calc(100% - 38px), 1280px) !important;
	}
}

@media screen and (max-width: 767px) {
	.aps-coa-page__articles {
		padding: 58px 0 !important;
	}

	.aps-coa-page__articles-grid {
		grid-template-columns: 1fr !important;
	}

	.aps-coa-page__article-card:hover {
		transform: none !important;
	}

	.aps-coa-page__container {
		width: min(calc(100% - 28px), 1280px) !important;
	}

	.aps-coa-page__gallery-section {
		padding: 48px 0 58px !important;
	}

	.aps-coa-page__content,
	.aps-coa-page__faq {
		padding: 58px 0 !important;
	}

	.aps-coa-page__section {
		margin-bottom: 48px !important;
	}

	.aps-coa-page__info-grid,
	.aps-coa-page__faq-list {
		grid-template-columns: 1fr !important;
	}

	.aps-coa-page__info-card,
	.aps-coa-page__faq-item {
		padding: 21px 20px 21px 22px !important;
	}

	.aps-coa-page__verification-list li {
		padding-left: 45px !important;
	}
}

@media screen and (max-width: 420px) {
	.aps-coa-page__container {
		width: calc(100% - 22px) !important;
	}
}

/* Part 2: custom CSS of the widget */
.aps-linked-gallery {
	--aps-lg-height: 550px !important;
	--aps-lg-height-tablet: 550px !important;
	--aps-lg-height-mobile: 550px !important;
}

.aps-linked-gallery .aps-linked-gallery-item {
	height: 550px !important;
	min-height: 550px !important;
	max-height: 550px !important;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
	.aps-linked-gallery .aps-linked-gallery-item {
		height: 550px !important;
		min-height: 550px !important;
		max-height: 550px !important;
	}
}

@media screen and (max-width: 767px) {
	.aps-linked-gallery .aps-linked-gallery-item {
		height: 550px !important;
		min-height: 550px !important;
		max-height: 550px !important;
	}
}

/* ===== theme fit and lightbox (hand written, not part of the old widget): everything below this line is new ===== */

/*
 * Theme fit. Selectors start with .aps-page so they win against the Elementor kit rules that still load in the preview.
 */

/* Hero: the lead is a long paragraph with bold words, give it more room than the kit's 640px. */
.aps-page .aps-hero .aps-lead { max-width: 800px; }
.aps-page .aps-hero .aps-lead strong { color: var(--c-ink); font-weight: 700; }

/* Contrast: the muted grey of the plugin palette is 4.2:1 on white, a little under the 4.5:1 that small text needs (the live page
   has the same). Same hue, a step darker, used for the card, FAQ and section texts. */
.aps-page .aps-coa-page { --aps-coa-muted: #566a79; }

/* The plugin draws the card focus ring outside the card, where the card's own overflow:hidden cuts it off: draw it inside. */
.aps-page .aps-linked-gallery .aps-linked-gallery-card:focus-visible { outline: 4px solid var(--aps-lg-button-background) !important; outline-offset: -4px !important; }

/* Hover and keyboard focus of the product buttons: white text on the plugin's light blue was 2.7:1, a deeper blue of the same family keeps the text readable. */
.aps-page .aps-linked-gallery .aps-linked-gallery-button:hover,
.aps-page .aps-linked-gallery .aps-linked-gallery-button:focus-visible { background: #065f94 !important; }

/* The page rises into the hero's bottom padding like the kit sections do, and the closing white section ends at the footer. */
.aps-page .page-content > .aps-coa-page:first-child { margin-top: -72px; }
.aps-page .page-content { padding-bottom: 0; }

/* Lightbox (the page script builds one dialog when a certificate image is opened).
   It lives outside .aps-page, so every selector starts with .aps-lightbox. */
html.aps-lightbox-open { overflow: hidden; }

.aps-lightbox {
	position: fixed;
	inset: 0;
	display: none;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	overflow: hidden;
	font-family: Cairo, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.aps-lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.aps-lightbox::backdrop { background: rgba(6, 29, 51, 0.96); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

.aps-lightbox .aps-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; }
.aps-lightbox .aps-lightbox__count { margin: 0; color: rgba(255, 255, 255, 0.86); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.aps-lightbox .aps-lightbox__tools { display: flex; gap: 10px; }

.aps-lightbox .aps-lightbox__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.18s ease, transform 0.18s ease;
}
.aps-lightbox .aps-lightbox__button:hover,
.aps-lightbox .aps-lightbox__button:focus { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.24); color: #fff; }
.aps-lightbox .aps-lightbox__button[aria-pressed="true"] { border-color: #56ccf2; background: rgba(86, 204, 242, 0.28); }
.aps-lightbox .aps-lightbox__button svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.aps-lightbox .aps-lightbox__figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; margin: 0; }
.aps-lightbox .aps-lightbox__stage { display: flex; min-height: 0; padding: 0 72px; overflow: auto; }
.aps-lightbox .aps-lightbox__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	margin: auto;
	border-radius: 6px;
	background: transparent;
	color: #fff;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
	cursor: zoom-in;
}
.aps-lightbox.is-zoomed .aps-lightbox__img { max-width: none; max-height: none; cursor: zoom-out; }
/* A horizontal drag on a touch screen must reach the script (swipe), a vertical one and a pinch stay with the browser. */
.aps-lightbox:not(.is-zoomed) .aps-lightbox__stage { touch-action: pan-y pinch-zoom; }
.aps-lightbox .aps-lightbox__stage:focus-visible { outline-offset: -4px; }
.aps-lightbox .aps-lightbox__caption { margin: 0; padding: 14px 24px 18px; color: #fff; font-size: 15px; font-weight: 600; font-style: normal; line-height: 1.4; text-align: center; }

.aps-lightbox .aps-lightbox__nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; }
.aps-lightbox .aps-lightbox__prev { left: 12px; }
.aps-lightbox .aps-lightbox__next { right: 12px; }

@media (max-width: 767px) {
	.aps-lightbox .aps-lightbox__stage { padding: 0 8px; }
	.aps-lightbox .aps-lightbox__nav { top: auto; bottom: 8px; margin-top: 0; }
	.aps-lightbox .aps-lightbox__caption { padding: 12px 64px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.aps-lightbox .aps-lightbox__button { transition: none; }
}

/* The certificate buttons come from the old gallery snippet with nowrap and overflow hidden, so a long name ("View GHK-Cu + BPC-157 + TB-500 ...") was cut off. Let the label wrap inside the pill. */
.aps-linked-gallery .aps-linked-gallery-button { height: auto !important; white-space: normal !important; overflow: visible !important; line-height: 1.3 !important; }
