/*
 * Starting point for pages rebuilt in Elementor.
 * The selectors are intentionally scoped so the existing PHP-built pages
 * keep their current design during the migration.
 */
.yg-product-sample {
		--yg-ink: #0b3438;
		--yg-deep: #062b30;
		--yg-mint: #bfe9e1;
		--yg-copper: #d59a65;
		--yg-paper: #f4f7f6;
		box-sizing: border-box;
		color: var(--yg-ink);
}

/* Keep Elementor containers on the same centered grid as the original PHP
 * product pages. The outer container owns the background; the inner wrapper
 * owns the readable 1240px content width. */
.yg-product-sample > .e-con-inner {
		box-sizing: border-box;
		margin-inline: auto;
		max-width: 1240px;
		width: 100%;
}

.yg-product-sample .elementor-widget-heading .elementor-heading-title {
		max-width: 100%;
		text-wrap: pretty;
}

.yg-product-sample .elementor-widget-heading h1,
.yg-product-sample .elementor-widget-heading h2,
.yg-product-sample .elementor-widget-heading h3 {
		margin: 0;
		letter-spacing: -.035em;
}

.yg-product-sample .yg-kicker .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	margin: 0 0 26px;
	border: 1px solid rgba(168, 238, 232, .38);
	border-left: 4px solid var(--yg-mint);
	background: rgba(7, 63, 66, .44);
	box-shadow: 0 16px 42px rgba(0, 0, 0, .12);
		color: var(--yg-mint);
		font-size: clamp(.78rem, 1vw, .94rem);
		font-weight: 800;
		letter-spacing: .13em;
		line-height: 1.2;
		padding: 13px 18px 13px 16px;
		text-transform: uppercase;
		text-wrap: balance;
}

@media (min-width: 1200px) {
		.yg-product-sample .yg-kicker .elementor-heading-title {
			width: max-content !important;
			max-width: none;
			white-space: nowrap;
			letter-spacing: .05em;
		}
}

.yg-product-sample .yg-hero,
.yg-product-sample.yg-hero {
		background: var(--yg-deep);
		color: #f7fbfa;
		--min-height: 680px;
}

.yg-product-sample .yg-hero .elementor-widget-text-editor,
.yg-product-sample.yg-hero .elementor-widget-text-editor {
		color: rgba(247, 251, 250, .72);
}

.yg-product-sample .yg-hero .elementor-widget-text-editor p,
.yg-product-sample.yg-hero .elementor-widget-text-editor p {
		color: inherit;
}

.yg-product-sample .yg-hero-image img,
.yg-product-sample .yg-media img {
		border-radius: 18px;
		box-shadow: 0 22px 60px rgba(2, 22, 25, .16);
		display: block;
		width: 100%;
}

.yg-product-sample .yg-hero-image img {
		border: 1px solid rgba(191, 233, 225, .24);
}

.yg-product-sample .yg-hero-copy,
.yg-product-sample .yg-hero-media {
		box-sizing: border-box;
}

.yg-product-sample .yg-hero-copy {
		--width: calc(40% - 28px);
}

.yg-product-sample .yg-hero-media {
		--width: calc(60% - 28px);
}

/* Elementor owns container direction, alignment and gap. The migrated child
 * flex-basis defaults below only preserve the original column proportions. */

.yg-product-sample.yg-hero > .e-con-inner > .yg-hero-copy,
.yg-product-sample.yg-hero > .e-con-inner > .yg-hero-media {
		min-width: 0;
}

.yg-product-sample.yg-hero > .e-con-inner > .yg-hero-copy {
		flex: 1 1 var(--width);
		height: auto !important;
}

.yg-product-sample.yg-hero > .e-con-inner > .yg-hero-media {
		flex: 1 1 var(--width);
		height: auto !important;
}

.yg-product-sample.yg-hero > .e-con-inner > .yg-hero-copy > .e-con-inner,
.yg-product-sample.yg-hero > .e-con-inner > .yg-hero-media > .e-con-inner {
		height: auto !important;
}

.yg-product-sample .yg-intro-grid > .e-con-inner > .yg-copy,
.yg-product-sample .yg-intro-grid > .e-con-inner > .yg-media {
		min-width: 0;
}

.yg-product-sample :where(.yg-intro-grid) .yg-copy {
		--width: calc(50% - 24px);
}

.yg-product-sample :where(.yg-intro-grid) .yg-media {
		--width: calc(46% - 24px);
}

.yg-product-sample .yg-intro-grid > .e-con-inner > .yg-copy {
		flex: 1 1 var(--width);
		height: auto !important;
}

.yg-product-sample .yg-intro-grid > .e-con-inner > .yg-media {
		flex: 1 1 var(--width);
		height: auto !important;
}

.yg-product-sample .yg-intro-grid > .e-con-inner > .yg-copy > .e-con-inner,
.yg-product-sample .yg-intro-grid > .e-con-inner > .yg-media > .e-con-inner {
		height: auto !important;
}

.yg-product-sample .yg-system-grid > .e-con-inner,
.yg-product-sample .yg-advantages-grid > .e-con-inner {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 18px;
}

.yg-product-sample .yg-system-grid > .e-con-inner > .yg-stat-card,
.yg-product-sample .yg-advantages-grid > .e-con-inner > .yg-stat-card {
		min-width: 0;
		width: auto;
}

.yg-product-sample .yg-table-row > .e-con-inner {
		display: flex;
		flex-direction: row !important;
		align-items: stretch !important;
		gap: 0 !important;
		min-height: 0;
		padding: 0 !important;
		width: 100% !important;
}

.yg-product-sample .yg-table-row > .e-con-inner > .yg-table-label,
.yg-product-sample .yg-table-row > .e-con-inner > .yg-table-value {
		min-width: 0;
		width: auto !important;
}

.yg-product-sample .yg-table-row > .e-con-inner > .yg-table-label {
		flex: 0 0 34% !important;
}

.yg-product-sample .yg-table-row > .e-con-inner > .yg-table-value {
		flex: 1 1 66% !important;
}

.yg-product-sample .yg-capacity-copy,
.yg-product-sample .yg-capacity-cards {
		min-width: 0;
}

.yg-product-sample .yg-capacity-copy {
		flex: 1 1 calc(40% - 28px);
}

.yg-product-sample .yg-capacity-cards {
		flex: 1 1 calc(52% - 28px);
}

.yg-product-sample .yg-capacity-cards > .e-con-inner {
		display: flex;
		flex-direction: column;
		gap: 16px;
}

.yg-product-sample.yg-cta .yg-section-title .elementor-heading-title {
		color: #f7fbfa;
		font-size: clamp(38px, 4.35vw, 72px);
		font-weight: 740;
		text-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.yg-product-sample .yg-hero :where(.elementor-widget-heading:not(.yg-kicker)) .elementor-heading-title,
.yg-product-sample.yg-hero :where(.elementor-widget-heading:not(.yg-kicker)) .elementor-heading-title {
		color: #f7fbfa;
		font-size: clamp(48px, 6.3vw, 96px);
		line-height: .92;
}

.yg-product-sample .yg-section-title .elementor-heading-title {
		color: var(--yg-ink);
		font-size: clamp(38px, 4.35vw, 72px);
		font-weight: 740;
		letter-spacing: -.062em;
		line-height: .94;
		max-width: 25ch;
}

.yg-product-sample .yg-table-grid {
		border: 1px solid rgba(11, 52, 56, .14);
		border-radius: 14px;
		overflow: hidden;
}

.yg-product-sample .yg-table-row {
		align-items: stretch;
		border-bottom: 1px solid rgba(11, 52, 56, .12);
}

.yg-product-sample .yg-table-row:last-child {
		border-bottom: 0;
}

.yg-product-sample .yg-table-label {
		background: #e7f2ef !important;
		box-sizing: border-box;
		padding: 16px 22px;
}

.yg-product-sample .yg-table-label .elementor-heading-title {
		color: #1598cf;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.25;
}

.yg-product-sample .yg-table-value {
		box-sizing: border-box;
		padding: 16px 22px;
}

.yg-product-sample .yg-table-value p {
		color: #526b73;
		font-size: 17px;
		line-height: 1.45;
		margin: 0;
}

.yg-product-sample .yg-table-label > .e-con-inner,
.yg-product-sample .yg-table-value > .e-con-inner {
		padding: 0 !important;
		gap: 0 !important;
}

.yg-product-sample .yg-table-label > .e-con-inner {
		justify-content: center !important;
}

.yg-product-sample .yg-table-grid {
		border-color: rgba(11, 52, 56, .16) !important;
}

.yg-product-sample .yg-table-row {
		border-bottom-color: rgba(11, 52, 56, .12) !important;
}

.yg-product-sample .yg-capacity-copy {
		box-sizing: border-box;
	}

.yg-product-sample .yg-capacity-cards {
		box-sizing: border-box;
}

.yg-product-sample .yg-light,
.yg-product-sample.yg-light {
		background: #fff;
}

.yg-product-sample .yg-paper,
.yg-product-sample.yg-paper {
		background: var(--yg-paper);
}

.yg-product-sample .yg-section-title .elementor-heading-title {
		font-size: clamp(32px, 4vw, 58px);
		line-height: .98;
}

.yg-product-sample .yg-copy,
.yg-product-sample .yg-copy p {
		font-size: 17px;
		line-height: 1.65;
}

.yg-product-sample .yg-stat-card {
		background: #fff;
		border: 1px solid rgba(11, 52, 56, .12);
		border-radius: 14px;
		box-shadow: 0 14px 34px rgba(11, 52, 56, .07);
	}

.yg-product-sample .yg-stat-card .elementor-heading-title {
		font-size: 21px;
		line-height: 1.15;
	}

.yg-product-sample .yg-stat-card .elementor-widget-text-editor,
.yg-product-sample .yg-stat-card .elementor-widget-text-editor p {
		color: #527073;
		font-size: 14px;
		line-height: 1.55;
}

.yg-product-sample .yg-table {
		border: 1px solid rgba(11, 52, 56, .16);
		border-radius: 14px;
		overflow: hidden;
}

.yg-product-sample .yg-table table {
		border-collapse: collapse;
		font-size: 15px;
		margin: 0;
		width: 100%;
	}

.yg-product-sample .yg-table th,
.yg-product-sample .yg-table td {
		border-bottom: 1px solid rgba(11, 52, 56, .12);
		padding: 15px 18px;
		text-align: left;
		vertical-align: top;
	}

.yg-product-sample .yg-table th {
		background: #e7f2ef;
		font-weight: 700;
		width: 34%;
	}

.yg-product-sample .yg-table tr:last-child th,
.yg-product-sample .yg-table tr:last-child td {
		border-bottom: 0;
	}

.yg-product-sample .yg-cta,
.yg-product-sample.yg-cta {
		background: var(--yg-deep);
		color: #fff;
}

.yg-product-sample .yg-cta .elementor-widget-text-editor,
.yg-product-sample.yg-cta .elementor-widget-text-editor,
.yg-product-sample .yg-cta .elementor-widget-text-editor p {
		color: rgba(255, 255, 255, .72);
}

.yg-product-sample.yg-cta .elementor-widget-text-editor p {
		color: rgba(255, 255, 255, .72);
}

.yg-product-sample .yg-button .elementor-button {
		background: var(--yg-mint);
		border-radius: 999px;
		color: var(--yg-deep);
		font-weight: 700;
		padding: 14px 24px;
}

/* Product-specific model presentation: preserve the Coil page rhythm while
 * giving each US/YM configuration its own editable image-and-copy row. */
.yg-product-sample .yg-models-lead {
		max-width: 760px;
		margin: -8px 0 8px;
		color: #527073;
		font-size: 17px;
		line-height: 1.6;
}

.yg-product-sample .yg-model-list > .e-con-inner {
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding: 0 !important;
}

.yg-product-sample .yg-model-row {
		width: 100%;
}

.yg-product-sample .yg-model-row > .e-con-inner {
		display: flex;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		gap: 56px !important;
		padding: 28px 30px !important;
		border: 1px solid rgba(11, 52, 56, .13);
		border-radius: 18px;
		background: rgba(255, 255, 255, .94);
		box-shadow: 0 18px 42px rgba(11, 52, 56, .065);
		transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.yg-product-sample .yg-model-row:hover > .e-con-inner,
.yg-product-sample .yg-model-row:focus-within > .e-con-inner {
		border-color: rgba(21, 152, 207, .38);
		box-shadow: 0 24px 52px rgba(11, 52, 56, .11);
		transform: translateY(-2px);
}

.yg-product-sample .yg-model-row > .e-con-inner > .yg-model-media,
.yg-product-sample .yg-model-row > .e-con-inner > .yg-model-copy {
		box-sizing: border-box;
		min-width: 0;
		height: auto !important;
}

.yg-product-sample .yg-model-row > .e-con-inner > .yg-model-media {
		flex: 1 1 calc(56% - 28px);
		width: auto !important;
}

.yg-product-sample .yg-model-row > .e-con-inner > .yg-model-copy {
		flex: 1 1 calc(44% - 28px);
		width: auto !important;
		justify-content: center;
	}

.yg-product-sample .yg-model-media > .e-con-inner {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
		align-items: center;
		gap: 14px;
		padding: 0 !important;
	}

.yg-product-sample .yg-model-media .elementor-widget-image {
		min-width: 0;
		width: 100%;
}

.yg-product-sample .yg-model-media img {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		object-fit: contain;
		border: 1px solid rgba(11, 52, 56, .1);
		border-radius: 14px;
		background: #f4f7f6;
		box-shadow: 0 12px 28px rgba(11, 52, 56, .08);
}

.yg-product-sample.yg-ym-page-models .yg-model-media img {
		aspect-ratio: 1790 / 615;
	}

.yg-product-sample .yg-model-copy > .e-con-inner {
		display: flex;
		flex-direction: column;
		justify-content: center !important;
		gap: 14px !important;
		padding: 0 !important;
}

.yg-product-sample .yg-model-copy .yg-model-eyebrow {
		margin: 0;
		color: #1598cf;
		font-size: .78rem;
		font-weight: 800;
		letter-spacing: .105em;
		line-height: 1.35;
		text-transform: uppercase;
}

.yg-product-sample .yg-model-copy :where(.yg-model-title) .elementor-heading-title {
		color: var(--yg-ink);
		font-size: clamp(2rem, 3.4vw, 3.35rem);
		font-weight: 760;
		letter-spacing: -.055em;
		line-height: .96;
}

.yg-product-sample .yg-model-copy .elementor-widget-text-editor:not(:first-child) p {
		margin: 0;
		color: #527073;
		font-size: 17px;
		line-height: 1.6;
}

/* YM keeps the old page's model comparison, but each cell remains a normal
 * Elementor heading or text widget so operators can edit it without touching
 * template code. The wrapper scrolls on small screens instead of shrinking
 * technical values into unreadable text. */
.yg-product-sample.yg-ym-page-technical {
		background: linear-gradient(180deg, #eef5f3 0%, #ffffff 100%);
}

.yg-product-sample .yg-tech-matrix {
		overflow-x: auto;
		border: 1px solid rgba(11, 52, 56, .15);
		border-radius: 16px;
		background: rgba(255, 255, 255, .92);
		box-shadow: 0 16px 36px rgba(11, 52, 56, .07);
}

.yg-product-sample .yg-tech-matrix > .e-con-inner {
		min-width: 960px;
		padding: 0 !important;
	}

.yg-product-sample .yg-tech-matrix-row > .e-con-inner {
		display: grid;
		grid-template-columns: minmax(110px, 1fr) minmax(170px, 1.45fr) minmax(145px, 1.3fr) minmax(190px, 1.55fr) minmax(120px, 1fr) minmax(150px, 1.25fr);
		align-items: stretch !important;
		gap: 0 !important;
		padding: 0 !important;
	}

.yg-product-sample .yg-tech-matrix-cell {
		box-sizing: border-box;
		min-width: 0;
		justify-content: center;
		padding: 18px 18px !important;
		border-right: 1px solid rgba(11, 52, 56, .1);
		border-bottom: 1px solid rgba(11, 52, 56, .1);
	}

.yg-product-sample .yg-tech-matrix-cell:last-child {
		border-right: 0;
	}

.yg-product-sample .yg-tech-matrix-row:last-child .yg-tech-matrix-cell {
		border-bottom: 0;
	}

.yg-product-sample .yg-tech-matrix-header .yg-tech-matrix-cell {
		background: var(--yg-deep);
		border-color: rgba(191, 233, 225, .24);
	}

.yg-product-sample :where(.yg-tech-matrix-header) .yg-tech-matrix-heading .elementor-heading-title {
		color: #f7fbfa;
		font-size: .78rem;
		font-weight: 800;
		letter-spacing: .06em;
		line-height: 1.25;
		text-transform: uppercase;
}

.yg-product-sample .yg-tech-matrix-row:not(.yg-tech-matrix-header):nth-child(odd) .yg-tech-matrix-cell {
		background: #e7f2ef;
	}

.yg-product-sample .yg-tech-matrix-row:not(.yg-tech-matrix-header) .yg-tech-matrix-cell p {
		margin: 0;
		color: #526b73;
		font-size: 15px;
		line-height: 1.4;
}

.yg-product-sample .yg-tech-matrix-row:not(.yg-tech-matrix-header) .yg-tech-matrix-cell:first-child {
		background: #d6ebe6;
}

.yg-product-sample :where(.yg-tech-matrix-row:not(.yg-tech-matrix-header)) .yg-tech-matrix-cell .elementor-heading-title {
		color: var(--yg-ink);
		font-size: 17px;
		font-weight: 800;
		line-height: 1.2;
}

@media (max-width: 900px) {
		.yg-product-sample .yg-model-row > .e-con-inner {
			flex-wrap: wrap !important;
			gap: 28px !important;
		}

		.yg-product-sample .yg-model-row > .e-con-inner > .yg-model-media,
		.yg-product-sample .yg-model-row > .e-con-inner > .yg-model-copy {
			flex: 1 1 100%;
			width: 100% !important;
		}
}

@media (max-width: 767px) {
		.yg-product-sample > .e-con-inner {
			max-width: none;
		}
		.yg-product-sample .yg-hero,
		.yg-product-sample.yg-hero {
			--min-height: 0;
		}
		.yg-product-sample.yg-hero > .e-con-inner,
		.yg-product-sample .yg-intro-grid > .e-con-inner,
		.yg-product-sample.yg-capacity-section > .e-con-inner {
			flex-direction: column !important;
			gap: 32px;
		}
		.yg-product-sample.yg-hero > .e-con-inner > .yg-hero-copy,
		.yg-product-sample.yg-hero > .e-con-inner > .yg-hero-media,
		.yg-product-sample .yg-intro-grid > .e-con-inner > .yg-copy,
		.yg-product-sample .yg-intro-grid > .e-con-inner > .yg-media {
			flex: 1 1 100%;
			height: auto !important;
			width: 100%;
		}
		.yg-product-sample .yg-system-grid > .e-con-inner,
		.yg-product-sample .yg-advantages-grid > .e-con-inner {
			grid-template-columns: 1fr;
		}
		.yg-product-sample .yg-copy,
		.yg-product-sample .yg-copy p {
			font-size: 16px;
		}
		.yg-product-sample .yg-kicker .elementor-heading-title {
			font-size: .72rem;
			letter-spacing: .11em;
			line-height: 1.3;
			padding: 12px 14px 12px 13px;
		}
		.yg-product-sample .yg-table {
			overflow-x: auto;
		}
		.yg-product-sample .yg-table table {
			min-width: 560px;
		}
		.yg-product-sample .yg-table-row > .e-con-inner {
			flex-direction: column !important;
		}
		.yg-product-sample .yg-table-row > .e-con-inner > .yg-table-label,
		.yg-product-sample .yg-table-row > .e-con-inner > .yg-table-value {
			flex: 1 1 100% !important;
			width: 100% !important;
		}
		.yg-product-sample .yg-table-label,
		.yg-product-sample .yg-table-value {
			padding: 12px 14px;
			width: 100%;
		}
		.yg-product-sample .yg-models-lead {
			margin: -4px 0 4px;
			font-size: 16px;
		}
		.yg-product-sample .yg-model-row > .e-con-inner {
			padding: 20px !important;
			border-radius: 16px;
		}
		.yg-product-sample .yg-model-media > .e-con-inner {
			grid-template-columns: 1fr;
		}
		.yg-product-sample .yg-model-media img,
		.yg-product-sample.yg-ym-page-models .yg-model-media img {
			aspect-ratio: 16 / 10;
		}
		.yg-product-sample .yg-model-copy .elementor-widget-text-editor:not(:first-child) p {
			font-size: 16px;
		}
}

/* Main-site Elementor rebuild.  These rules intentionally share the product
 * palette and spacing so the homepage and editorial pages feel like one
 * system while every heading, paragraph and image remains a native widget. */
.yg-site-page {
	--yg-site-ink: #0b3438;
	--yg-site-deep: #062b30;
	--yg-site-mint: #bfe9e1;
	--yg-site-sky: #1598cf;
	--yg-site-paper: #f3f7f6;
	box-sizing: border-box;
	color: var(--yg-site-ink);
	overflow: hidden;
}

.yg-site-page > .e-con-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
}

.yg-site-page .elementor-widget-heading .elementor-heading-title {
	max-width: 100%;
	margin: 0;
	text-wrap: pretty;
}

.yg-site-page .elementor-widget-heading h1,
.yg-site-page .elementor-widget-heading h2,
.yg-site-page .elementor-widget-heading h3,
.yg-site-page .elementor-widget-heading h6 {
	margin: 0;
	letter-spacing: -.045em;
}

.yg-site-page .elementor-widget-text-editor p {
	margin: 0;
}

.yg-site-subpage-hero,
.yg-site-hero {
	position: relative;
	isolation: isolate;
	color: #f7fbfa;
	background:
		radial-gradient(circle at 78% 20%, rgba(42, 133, 142, .26), transparent 34%),
		linear-gradient(135deg, #062b30 0%, #073b3e 58%, #0d4c4b 100%);
}

.yg-site-subpage-hero::before,
.yg-site-hero::before {
	position: absolute;
	inset: 0;
	content: "";
	background-image: linear-gradient(rgba(191, 233, 225, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(191, 233, 225, .045) 1px, transparent 1px);
	background-size: 80px 80px;
	mask-image: linear-gradient(120deg, #000 0%, rgba(0, 0, 0, .36) 68%, transparent 100%);
	pointer-events: none;
}

.yg-site-hero > .e-con-inner,
.yg-site-subpage-hero > .e-con-inner {
	position: relative;
	z-index: 1;
}

.yg-site-kicker .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	padding: 12px 17px 12px 14px;
	border: 1px solid rgba(191, 233, 225, .35);
	border-left: 4px solid var(--yg-site-mint);
	color: var(--yg-site-mint);
	background: rgba(7, 63, 66, .45);
	font-size: clamp(.72rem, 1vw, .9rem);
	font-weight: 800;
	letter-spacing: .11em;
	line-height: 1.25;
	text-transform: uppercase;
}

.yg-site-display-title .elementor-heading-title,
.yg-site-hero-title .elementor-heading-title {
	color: #f7fbfa;
	font-size: clamp(3rem, 6.7vw, 6.8rem);
	font-weight: 760;
	letter-spacing: -.075em;
	line-height: .92;
}

.yg-site-hero-title--second .elementor-heading-title {
	margin-top: -10px;
}

.yg-site-subpage-lead,
.yg-site-hero-lede,
.yg-site-section-lead {
	max-width: 680px;
	color: rgba(247, 251, 250, .74);
	font-size: clamp(1.02rem, 1.35vw, 1.2rem);
	line-height: 1.55;
}

.yg-site-hero-lede strong {
	margin-right: .36em;
	color: #fff;
	font-weight: 760;
}

.yg-site-subpage-hero .yg-site-subpage-lead {
	margin-top: 18px;
}

.yg-site-hero > .e-con-inner {
	display: var(--display, flex);
	flex-direction: var(--flex-direction, row);
	flex-wrap: var(--flex-wrap, wrap);
	align-items: var(--align-items, center);
	justify-content: var(--justify-content, space-between);
	gap: var(--row-gap, 46px) var(--column-gap, 46px);
}

.yg-site-hero-copy,
.yg-site-hero-media,
.yg-site-company-copy,
.yg-site-company-media,
.yg-site-innovation-copy,
.yg-site-innovation-media,
.yg-site-copy-column,
.yg-site-media-column {
	box-sizing: border-box;
	min-width: 0;
	height: auto;
}

.yg-site-hero-copy,
.yg-site-hero-media {
	/* Elementor's own --flex-basis variable remains the source of truth for
	 * editor-controlled widths. The fallback is supplied at the end of this
	 * file for the first render. */
	flex-basis: var(--flex-basis, 48%);
}

.yg-site-hero-media > .e-con-inner,
.yg-site-company-media > .e-con-inner,
.yg-site-hero-copy > .e-con-inner,
.yg-site-company-copy > .e-con-inner,
.yg-site-innovation-copy > .e-con-inner,
.yg-site-innovation-media > .e-con-inner,
.yg-site-copy-column > .e-con-inner,
.yg-site-media-column > .e-con-inner {
	box-sizing: border-box;
	height: auto;
	padding: 0;
}

.yg-site-hero-video-widget,
.yg-site-factory-video-widget {
	width: 100%;
}

.yg-site-video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	border: 1px solid rgba(191, 233, 225, .25);
	border-radius: 22px;
	background: #031f23;
	box-shadow: 0 24px 60px rgba(1, 23, 27, .26);
	object-fit: cover;
}

.yg-site-hero-video { aspect-ratio: 16 / 9; }
.yg-site-factory-video { aspect-ratio: 16 / 10; }

.yg-site-home-products,
.yg-site-directory,
.yg-site-about-story,
.yg-site-about-workflow,
.yg-site-quality {
	background: #fff;
}

.yg-site-home-products > .e-con-inner,
.yg-site-directory > .e-con-inner,
.yg-site-about-story > .e-con-inner,
.yg-site-about-workflow > .e-con-inner,
.yg-site-quality > .e-con-inner {
	gap: var(--row-gap, 22px) var(--column-gap, 22px);
}

.yg-site-section-title .elementor-heading-title {
	color: var(--yg-site-ink);
	font-size: clamp(2.55rem, 5vw, 5.2rem);
	font-weight: 760;
	letter-spacing: -.075em;
	line-height: .94;
}

.yg-site-section-lead {
	color: #5b7174;
}

.yg-site-home-products .yg-site-section-lead,
.yg-site-directory .yg-site-section-lead,
.yg-site-about-story .yg-site-section-lead,
.yg-site-about-workflow .yg-site-section-lead,
.yg-site-quality .yg-site-section-lead {
	color: #5b7174;
}

.yg-home-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	margin-top: 22px;
}

.yg-home-product-group {
	min-width: 0;
	padding: 26px 26px 12px;
	border: 1px solid rgba(11, 52, 56, .13);
	border-radius: 18px;
	background: #f3f7f6;
	box-shadow: 0 16px 36px rgba(11, 52, 56, .06);
}

.yg-home-product-group h3 {
	margin: 0 0 18px;
	color: var(--yg-site-ink);
	font-size: clamp(1.35rem, 1.8vw, 1.8rem);
	letter-spacing: -.04em;
	line-height: 1.05;
}

.yg-home-product-links a {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	padding: 13px 0;
	border-top: 1px solid rgba(11, 52, 56, .12);
	color: #527073;
	transition: color .2s ease, transform .2s ease;
}

.yg-home-product-links a:hover,
.yg-home-product-links a:focus-visible {
	color: #0b8d91;
	transform: translateX(3px);
}

.yg-home-product-links a span { color: #1598cf; font-size: .76rem; font-weight: 800; }
.yg-home-product-links a strong { font-size: .98rem; line-height: 1.25; }
.yg-home-product-links a i { font-style: normal; font-size: 1.1rem; }

.yg-site-company,
.yg-site-projects {
	color: #f7fbfa;
	background: var(--yg-site-deep);
}

.yg-site-company > .e-con-inner,
.yg-site-innovation > .e-con-inner {
	display: var(--display, flex);
	flex-direction: var(--flex-direction, row);
	flex-wrap: var(--flex-wrap, wrap);
	align-items: var(--align-items, center);
	justify-content: var(--justify-content, space-between);
	gap: var(--row-gap, 48px) var(--column-gap, 48px);
}

.yg-site-company-copy { flex: 1 1 calc(47% - 24px); }
.yg-site-company-media { flex: 1 1 calc(53% - 24px); }

.yg-site-company .yg-site-section-title .elementor-heading-title,
.yg-site-projects .yg-site-section-title .elementor-heading-title,
.yg-site-about-capabilities .yg-site-section-title .elementor-heading-title,
.yg-site-about-cta .yg-site-section-title .elementor-heading-title {
	color: #f7fbfa;
}

.yg-site-company .yg-site-kicker .elementor-heading-title,
.yg-site-projects .yg-site-kicker .elementor-heading-title {
	color: var(--yg-site-mint);
}

.yg-site-bullet-list ul {
	display: grid;
	gap: 0;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.yg-site-bullet-list li {
	padding: 13px 0;
	border-top: 1px solid rgba(191, 233, 225, .23);
	color: rgba(247, 251, 250, .76);
	font-size: 1.02rem;
	line-height: 1.45;
}

.yg-site-proof {
	background: var(--yg-site-paper);
}

.yg-home-proof-metrics {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	width: 100%;
	margin-top: 26px;
	border-top: 1px solid rgba(11, 52, 56, .16);
	border-bottom: 1px solid rgba(11, 52, 56, .16);
}

.yg-home-proof-metrics > div {
	display: grid;
	gap: 10px;
	min-height: 154px;
	padding: 26px 22px;
	border-right: 1px solid rgba(11, 52, 56, .12);
}

.yg-home-proof-metrics > div:first-child { border-left: 1px solid rgba(11, 52, 56, .12); }
.yg-home-proof-metrics strong { color: #0b8d91; font-size: clamp(2.5rem, 4.8vw, 4.8rem); letter-spacing: -.08em; line-height: .9; }
.yg-home-proof-metrics span { color: #5b7174; font-size: .92rem; font-weight: 650; }

.yg-home-history {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 0;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}

.yg-home-history li { display: grid; gap: 10px; min-height: 132px; padding: 16px 16px 0; border-left: 1px solid rgba(11, 52, 56, .15); }
.yg-home-history time { color: #1598cf; font-size: 1rem; font-weight: 800; }
.yg-home-history span { color: #5b7174; font-size: .89rem; line-height: 1.45; }

.yg-site-innovation { background: #fff; }
.yg-site-innovation-copy { flex: 1 1 calc(40% - 26px); }
.yg-site-innovation-media { flex: 1 1 calc(54% - 26px); }

.yg-site-gallery-grid > .e-con-inner,
.yg-site-quality-grid > .e-con-inner,
.yg-site-project-grid > .e-con-inner {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	padding: 0 !important;
}

.yg-site-gallery-grid .elementor-widget-image,
.yg-site-quality-grid .elementor-widget-image,
.yg-site-project-grid .elementor-widget-image { min-width: 0; }
.yg-site-gallery-grid img,
.yg-site-quality-grid img,
.yg-site-project-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 18px 40px rgba(11, 52, 56, .12); }

.yg-site-quality-grid > .e-con-inner,
.yg-site-project-grid > .e-con-inner { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.yg-site-quality-grid img { aspect-ratio: 3 / 4; object-fit: cover; }
.yg-site-quality-grid a { display: block; border-radius: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.yg-site-quality-grid a:hover,
.yg-site-quality-grid a:focus-visible { transform: translateY(-4px); box-shadow: 0 20px 42px rgba(11, 52, 56, .18); }
.yg-site-projects .yg-site-section-lead { color: rgba(247, 251, 250, .74); }
.yg-site-project-grid img { aspect-ratio: 4 / 3; }

.yg-site-directory { background: var(--yg-site-paper); }
.yg-product-directory {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
	margin-top: 24px;
}

.yg-product-directory-card {
	display: grid;
	grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
	min-width: 0;
	border: 1px solid rgba(11, 52, 56, .13);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(11, 52, 56, .065);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.yg-product-directory-card:hover,
.yg-product-directory-card:focus-visible { transform: translateY(-3px); border-color: rgba(21, 152, 207, .4); box-shadow: 0 22px 48px rgba(11, 52, 56, .12); }
.yg-product-directory-card__media { min-height: 230px; background: #e7f2ef; }
.yg-product-directory-card__media img { display: block; width: 100%; height: 100%; min-height: 230px; object-fit: cover; }
.yg-product-directory-card__copy { display: grid; align-content: center; gap: 11px; padding: 24px 25px; }
.yg-product-directory-card__copy small { color: #1598cf; font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.yg-product-directory-card__copy strong { color: var(--yg-site-ink); font-size: clamp(1.25rem, 2vw, 1.8rem); letter-spacing: -.045em; line-height: 1.08; }
.yg-product-directory-card__copy em { color: #5b7174; font-size: .93rem; font-style: normal; line-height: 1.45; }
.yg-product-directory-card__copy > span { color: #0b8d91; font-size: .86rem; font-weight: 750; }
.yg-product-directory-card__copy b { font-size: 1.1rem; }

.yg-site-about-story .yg-site-two-column > .e-con-inner,
.yg-site-about-capabilities .yg-site-card-grid > .e-con-inner,
.yg-site-about-workflow .yg-site-card-grid > .e-con-inner {
	display: var(--display, flex);
	flex-direction: var(--flex-direction, row);
	flex-wrap: var(--flex-wrap, wrap);
	width: 100%;
	padding: 0;
}

.yg-site-two-column > .e-con-inner {
	align-items: var(--align-items, center);
	justify-content: var(--justify-content, space-between);
	gap: var(--row-gap, 48px) var(--column-gap, 48px);
}
.yg-site-copy-column { flex: 1 1 calc(48% - 24px); }
.yg-site-media-column { flex: 1 1 calc(48% - 24px); }
.yg-site-media-column img { display: block; width: 100%; border-radius: 20px; box-shadow: 0 24px 54px rgba(11, 52, 56, .14); }
.yg-site-body-copy p { max-width: 610px; color: #5b7174; font-size: 1.04rem; line-height: 1.72; }
.yg-site-body-copy + .yg-site-body-copy { margin-top: 24px; }

.yg-site-about-capabilities,
.yg-site-about-cta { color: #f7fbfa; background: var(--yg-site-deep); }
.yg-site-about-capabilities .yg-site-section-lead,
.yg-site-about-cta .yg-site-section-lead { color: rgba(247, 251, 250, .72); }
.yg-site-card-grid > .e-con-inner { gap: var(--row-gap, 16px) var(--column-gap, 16px); }
.yg-site-card-grid--three > .e-con-inner > .yg-site-info-card { flex: 1 1 calc(33.333% - 11px); }
.yg-site-card-grid--four > .e-con-inner > .yg-site-step-card { flex: 1 1 calc(25% - 12px); }
.yg-site-info-card,
.yg-site-step-card { min-width: 0; min-height: 208px; padding: 24px; border: 1px solid rgba(191, 233, 225, .2); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.yg-site-about-capabilities .yg-site-info-card:hover,
.yg-site-about-workflow .yg-site-step-card:hover { background: rgba(191, 233, 225, .12); }
.yg-site-card-title .elementor-heading-title { color: var(--yg-site-ink); font-size: clamp(1.45rem, 2.1vw, 2.1rem); line-height: 1.05; }
.yg-site-about-capabilities .yg-site-card-title .elementor-heading-title,
.yg-site-about-cta .yg-site-card-title .elementor-heading-title { color: #f7fbfa; }
.yg-site-card-copy p { color: #5b7174; font-size: .96rem; line-height: 1.55; }
.yg-site-about-capabilities .yg-site-card-copy p,
.yg-site-about-cta .yg-site-card-copy p { color: rgba(247, 251, 250, .7); }
.yg-site-step-index .elementor-heading-title { color: #1598cf; font-size: .8rem; font-weight: 850; letter-spacing: .1em; }
.yg-site-button .elementor-button { margin-top: 12px; padding: 14px 24px; border-radius: 999px; color: var(--yg-site-deep); background: var(--yg-site-mint); font-weight: 750; }
.yg-site-button .elementor-button:hover { color: var(--yg-site-deep); background: #e2faf4; }

.yg-site-news-feed { background: var(--yg-site-paper); }
.yg-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: 100%; }
.yg-news-card { min-width: 0; overflow: hidden; border: 1px solid rgba(11, 52, 56, .13); border-radius: 18px; background: #fff; box-shadow: 0 16px 38px rgba(11, 52, 56, .06); }
.yg-news-card__media { display: block; background: #dfece9; }
.yg-news-card__media img,
.yg-news-card__media video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.yg-news-card__copy { display: grid; gap: 10px; padding: 23px 25px 28px; }
.yg-news-card__copy time { color: #1598cf; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.yg-news-card__copy h2 { margin: 0; color: var(--yg-site-ink); font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -.05em; line-height: 1.05; }
.yg-news-card__copy p { color: #5b7174; font-size: .96rem; line-height: 1.55; }
.yg-news-empty { padding: 40px; border: 1px solid rgba(11, 52, 56, .13); border-radius: 18px; background: #fff; }
.yg-news-pagination { margin-top: 30px; }
.yg-news-pagination ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.yg-news-pagination a,
.yg-news-pagination span { display: grid; min-width: 38px; min-height: 38px; place-items: center; border: 1px solid rgba(11, 52, 56, .16); border-radius: 999px; background: #fff; }

.yg-site-contact-page > .e-con-inner { max-width: none; padding: 0 !important; }
.yg-site-contact-shortcode { width: 100%; }
.yg-site-contact-shortcode > .elementor-widget-container { width: 100%; }
.yg-site-global-header,
.yg-site-global-footer,
.yg-site-news-single-template { max-width: none !important; padding: 0 !important; }
.yg-site-global-header > .e-con-inner,
.yg-site-global-footer > .e-con-inner,
.yg-site-news-single-template > .e-con-inner { max-width: none; padding: 0 !important; }

@media (max-width: 980px) {
	.yg-home-product-grid,
	.yg-news-grid,
	.yg-product-directory { grid-template-columns: 1fr; }
	.yg-home-proof-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yg-home-history { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
	.yg-site-quality-grid > .e-con-inner,
	.yg-site-project-grid > .e-con-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.yg-site-card-grid--three > .e-con-inner > .yg-site-info-card { flex-basis: calc(50% - 8px); }
	.yg-site-card-grid--four > .e-con-inner > .yg-site-step-card { flex-basis: calc(50% - 8px); }
}

@media (max-width: 767px) {
	.yg-site-page > .e-con-inner { max-width: none; }
	.yg-site-hero > .e-con-inner,
	.yg-site-company > .e-con-inner,
	.yg-site-innovation > .e-con-inner { flex-direction: var(--flex-direction, column); gap: var(--row-gap, 32px) var(--column-gap, 32px); }
	.yg-site-hero-copy,
	.yg-site-hero-media,
	.yg-site-company-copy,
	.yg-site-company-media,
	.yg-site-innovation-copy,
	.yg-site-innovation-media,
	.yg-site-copy-column,
	.yg-site-media-column { flex-basis: 100%; width: 100%; }
	.yg-site-display-title .elementor-heading-title,
	.yg-site-hero-title .elementor-heading-title { font-size: clamp(2.8rem, 13vw, 4.4rem); }
	.yg-site-section-title .elementor-heading-title { font-size: clamp(2.5rem, 11vw, 4rem); }
	.yg-home-proof-metrics { grid-template-columns: 1fr 1fr; }
	.yg-home-proof-metrics > div { min-height: 126px; padding: 20px 16px; }
	.yg-home-history { grid-template-columns: 1fr 1fr; }
	.yg-home-history li { min-height: 112px; padding-inline: 12px; }
	.yg-site-gallery-grid > .e-con-inner,
	.yg-site-quality-grid > .e-con-inner,
	.yg-site-project-grid > .e-con-inner { grid-template-columns: 1fr 1fr; }
	.yg-site-quality-grid > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yg-product-directory-card { grid-template-columns: 1fr; }
	.yg-product-directory-card__media,
	.yg-product-directory-card__media img { min-height: 190px; height: 190px; }
	.yg-site-card-grid--three > .e-con-inner > .yg-site-info-card,
	.yg-site-card-grid--four > .e-con-inner > .yg-site-step-card { flex-basis: 100%; }
}

@media (min-width: 768px) and (max-width: 1100px) {
		.yg-product-sample .yg-system-grid > .e-con-inner,
		.yg-product-sample .yg-advantages-grid > .e-con-inner {
			grid-template-columns: repeat(2, minmax(0, 1fr));
		}
}

/* Taste pass: turn Operational advantages into a calm, structured operating
 * edge list instead of four empty white tiles. The existing Elementor cards
 * stay intact and remain editable one-by-one in the visual builder. */
.yg-product-sample.yg-cta {
		position: relative;
		isolation: isolate;
		overflow: hidden;
		background:
			radial-gradient(circle at 12% 8%, rgba(191, 233, 225, .16), transparent 31%),
			radial-gradient(circle at 92% 84%, rgba(79, 145, 160, .22), transparent 35%),
			#062b30 !important;
}

.yg-product-sample.yg-cta::before {
		position: absolute;
		z-index: -1;
		inset: 0;
		content: "";
		background:
			linear-gradient(rgba(191, 233, 225, .045) 1px, transparent 1px),
			linear-gradient(90deg, rgba(191, 233, 225, .045) 1px, transparent 1px);
		background-size: 84px 84px;
		mask-image: linear-gradient(120deg, #000 0%, rgba(0, 0, 0, .22) 62%, transparent 100%);
		pointer-events: none;
}

.yg-product-sample.yg-cta > .e-con-inner {
		position: relative;
		z-index: 1;
}

.yg-product-sample.yg-cta .yg-section-title {
		margin-bottom: 50px !important;
}

.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0 !important;
		padding: 0 !important;
		border-top: 1px solid rgba(191, 233, 225, .24);
		border-left: 1px solid rgba(191, 233, 225, .24);
}

.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner > .yg-stat-card {
		position: relative;
		display: block;
		min-width: 0;
		min-height: 194px;
		padding: 0 !important;
		border: 0 !important;
		border-right: 1px solid rgba(191, 233, 225, .24) !important;
		border-bottom: 1px solid rgba(191, 233, 225, .24) !important;
		border-radius: 0 !important;
		background: rgba(4, 40, 44, .42) !important;
		box-shadow: none !important;
		transition: background-color .28s ease, box-shadow .28s ease;
}

.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner > .yg-stat-card::before {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 3px;
		content: "";
		background: var(--yg-mint);
		transform: scaleY(.22);
		transform-origin: top;
		transition: transform .35s ease;
}

.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner > .yg-stat-card:hover,
.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner > .yg-stat-card:focus-within {
		background: rgba(20, 77, 79, .7) !important;
		box-shadow: inset 0 0 0 1px rgba(191, 233, 225, .08) !important;
}

.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner > .yg-stat-card:hover::before,
.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner > .yg-stat-card:focus-within::before {
		transform: scaleY(1);
}

.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner > .yg-stat-card > .e-con-inner {
		display: grid;
		grid-template-columns: minmax(132px, .72fr) minmax(0, 1fr);
		align-items: start;
		column-gap: 28px;
		padding: 30px 32px !important;
}

.yg-product-sample.yg-cta :where(.yg-advantages-grid .yg-stat-card) .elementor-heading-title {
		color: #f7fbfa;
		font-size: clamp(21px, 2.1vw, 30px);
		font-variant-numeric: tabular-nums;
		font-weight: 720;
		letter-spacing: -.045em;
		line-height: 1.04;
}

.yg-product-sample.yg-cta :where(.yg-advantages-grid .yg-stat-card) .elementor-widget-text-editor {
		align-self: start;
		color: rgba(247, 251, 250, .72);
		font-size: 16px;
		line-height: 1.5;
		margin: 0;
}

.yg-product-sample.yg-cta :where(.yg-advantages-grid .yg-stat-card) .elementor-widget-text-editor p {
		color: inherit;
		margin: 0;
}

@media (max-width: 767px) {
	.yg-product-sample.yg-cta .yg-section-title {
			margin-bottom: 34px !important;
		}

		.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner {
			grid-template-columns: 1fr;
		}

		.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner > .yg-stat-card {
			min-height: 0;
		}

		.yg-product-sample.yg-cta .yg-advantages-grid > .e-con-inner > .yg-stat-card > .e-con-inner {
			grid-template-columns: 1fr;
			row-gap: 14px;
			padding: 24px 22px !important;
		}
}

/* Remaining product pages: feature rows and galleries keep the Coil / US /
 * YM rhythm while allowing each page to retain its own old-page content. */
.yg-product-sample .yg-feature-row > .e-con-inner {
		align-items: stretch !important;
}

.yg-product-sample .yg-feature-media > .e-con-inner {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
		align-items: center;
		gap: 14px;
		padding: 0 !important;
}

.yg-product-sample .yg-feature-media img {
		aspect-ratio: 16 / 10;
		object-fit: contain;
}

.yg-product-sample .yg-feature-copy > .e-con-inner {
		justify-content: flex-start !important;
		gap: 22px !important;
		padding: 0 !important;
}

.yg-product-sample .yg-feature-item {
		padding: 18px 0 20px;
		border-top: 1px solid rgba(11, 52, 56, .14);
	}

.yg-product-sample .yg-feature-item:first-child {
		padding-top: 0;
		border-top: 0;
}

.yg-product-sample .yg-feature-item-title .elementor-heading-title {
		color: var(--yg-ink);
		font-size: clamp(1.35rem, 2.1vw, 2rem);
		font-weight: 760;
		letter-spacing: -.045em;
		line-height: 1.05;
}

.yg-product-sample .yg-feature-item p,
.yg-product-sample .yg-feature-lead,
.yg-product-sample .yg-feature-steps {
		margin: 0;
		color: #527073;
		font-size: 17px;
		line-height: 1.6;
}

.yg-product-sample .yg-feature-steps strong {
		color: #1598cf;
		font-weight: 800;
		letter-spacing: .04em;
	}

/* Taste pass: the homepage keeps the old forest-mask identity, but the
 * editable Elementor hero gets a calmer Apple-like hierarchy. The video,
 * headings and lede remain native widgets, so editors can still change each
 * item without touching this visual system. */
.yg-site-home.yg-site-hero {
	min-height: var(--min-height, 100dvh);
	padding-top: var(--padding-top, clamp(92px, 10vh, 124px));
	padding-bottom: var(--padding-bottom, clamp(52px, 7vh, 84px));
	background:
		linear-gradient(90deg, rgba(3, 24, 27, .94) 0%, rgba(3, 24, 27, .78) 47%, rgba(3, 24, 27, .4) 100%),
		url("../images/ying-group-forest-hero.webp") center / cover no-repeat;
}

.yg-site-home.yg-site-hero::before {
	background:
		linear-gradient(rgba(191, 233, 225, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(191, 233, 225, .05) 1px, transparent 1px);
	background-size: 78px 78px;
	opacity: .32;
	mask-image: linear-gradient(105deg, #000 0%, rgba(0, 0, 0, .54) 55%, transparent 100%);
}

.yg-site-home.yg-site-hero > .e-con-inner {
	align-items: var(--align-items, center);
	gap: var(--row-gap, clamp(30px, 5vw, 72px)) var(--column-gap, clamp(30px, 5vw, 72px));
}

.yg-site-home.yg-site-hero .yg-site-hero-copy,
.yg-site-home.yg-site-hero .yg-site-hero-media {
	/* Container Width is Elementor's native sizing control. The fallback
	 * width keeps the original two-column composition until an editor sets a
	 * custom value in Layout > Width. */
	--width: 48%;
	flex-basis: auto;
}

.yg-site-home.yg-site-hero .yg-site-hero-media > .e-con-inner {
	width: 100%;
	max-width: 660px;
	margin-left: auto;
}

.yg-site-home.yg-site-hero :where(.yg-site-kicker) .elementor-heading-title {
	padding-block: 10px;
	font-size: clamp(.68rem, .9vw, .82rem);
}

.yg-site-home.yg-site-hero :where(.yg-site-hero-title) .elementor-heading-title {
	font-size: clamp(2.8rem, 4.8vw, 5.15rem);
	line-height: .96;
}

.yg-site-home.yg-site-hero :where(.yg-site-hero-title--second) .elementor-heading-title {
	margin-top: -4px;
}

.yg-site-home.yg-site-hero .yg-site-hero-lede {
	margin-top: 22px;
	font-size: clamp(.94rem, 1.15vw, 1.08rem);
	line-height: 1.45;
}

.yg-site-home.yg-site-hero .yg-site-video {
	max-height: 390px;
	border-radius: 18px;
	box-shadow: 0 28px 74px rgba(1, 23, 27, .4);
}

/* One product per row keeps the catalogue easy to scan and still leaves a
 * media/copy split inside each editable card. */
.yg-site-directory .yg-product-directory {
	grid-template-columns: 1fr;
	gap: 20px;
}

.yg-site-directory .yg-product-directory-card {
	grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
	min-height: 240px;
}

.yg-site-directory .yg-product-directory-card__media,
.yg-site-directory .yg-product-directory-card__media img {
	min-height: 240px;
}

/* News archive: an editorial, one-story-per-row rhythm avoids a generic card
 * grid while preserving each post's title, excerpt, date and featured media. */
.yg-site-news-page.yg-site-subpage-hero {
	background:
		linear-gradient(90deg, rgba(3, 24, 27, .94) 0%, rgba(3, 24, 27, .7) 58%, rgba(3, 24, 27, .34) 100%),
		url("../images/ying-group-news-hero-apple.webp") center / cover no-repeat !important;
}

.yg-site-news-feed {
	color: #eaf5f3;
	background: #041f21;
}

.yg-site-news-feed > .e-con-inner {
	box-sizing: border-box;
	width: min(calc(100% - 64px), 1440px);
	max-width: 1440px;
}

.yg-site-news-feed .yg-news-grid {
	grid-template-columns: 1fr;
	gap: 0;
	margin-top: 12px;
}

.yg-site-news-feed .yg-news-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(28px, 5vw, 76px);
	padding: clamp(34px, 5vw, 68px) 0;
	border: 0;
	border-top: 1px solid rgba(193, 223, 219, .22);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.yg-site-news-feed .yg-news-card:last-child {
	border-bottom: 1px solid rgba(193, 223, 219, .22);
}

.yg-site-news-feed .yg-news-card__media {
	overflow: hidden;
	border-radius: 24px 8px 24px 8px;
	box-shadow: 0 30px 80px rgba(0, 12, 14, .34);
}

.yg-site-news-feed .yg-news-card__media img,
.yg-site-news-feed .yg-news-card__media video {
	aspect-ratio: 16 / 10;
	transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.yg-site-news-feed .yg-news-card:hover .yg-news-card__media img,
.yg-site-news-feed .yg-news-card:focus-within .yg-news-card__media img {
	transform: scale(1.035);
}

.yg-site-news-feed .yg-news-card__copy {
	gap: 12px;
	padding: 0;
}

.yg-site-news-feed .yg-news-card__copy time {
	color: #62d4cc;
	font-size: .72rem;
	letter-spacing: .13em;
}

.yg-site-news-feed .yg-news-card__copy h2 {
	max-width: 32ch;
	margin: 8px 0 0;
	color: #eaf5f3;
	font-size: clamp(1.6rem, 2.25vw, 2.45rem);
	line-height: 1.07;
	letter-spacing: -.04em;
	text-wrap: pretty;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.yg-site-news-feed .yg-news-card__copy h2 a {
	color: inherit;
}

.yg-site-news-feed .yg-news-card__copy p {
	max-width: 62ch;
	margin: 18px 0 0;
	color: #9fb9b7;
	line-height: 1.58;
}

.yg-site-news-feed .yg-news-card__excerpt,
.yg-site-news-feed .yg-news-card__body {
	max-width: 62ch;
	margin: 18px 0 0;
	color: #9fb9b7;
	font-size: clamp(.92rem, 1vw, 1.04rem);
	line-height: 1.62;
}

.yg-site-news-feed .yg-news-card__body p {
	margin: 0;
}

.yg-site-news-feed .yg-news-card__body p:first-child {
	padding-left: 0;
	border-left: 0;
}

.yg-site-news-feed .yg-news-card__body p + p {
	margin-top: 14px;
	padding-left: 0;
	border-left: 0;
}

.yg-site-news-feed .yg-news-card__body strong {
	color: #d8ece8;
	font-weight: 760;
}

.yg-site-news-feed .yg-news-card__quote {
	max-width: 62ch;
	margin: 18px 0 0;
	padding: 2px 0 2px 18px;
	border-left: 3px solid #62d4cc;
	color: #c5d9d6;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(.96rem, 1.06vw, 1.1rem);
	font-style: italic;
	line-height: 1.56;
}

.yg-site-news-feed .yg-news-card__quote blockquote,
.yg-site-news-feed .yg-news-card__quote p {
	margin: 0;
}

.yg-site-news-feed .yg-news-card__media--video video {
	cursor: pointer;
	transition: none;
}

.yg-site-news-feed .yg-news-card:hover .yg-news-card__media--video video,
.yg-site-news-feed .yg-news-card:focus-within .yg-news-card__media--video video {
	transform: none;
}

.yg-site-news-feed .yg-news-card--featured {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	padding-top: 0;
}

.yg-site-news-feed .yg-news-card--featured .yg-news-card__media {
	border-radius: 24px 8px 24px 8px;
}

.yg-site-news-feed .yg-news-card--featured .yg-news-card__copy h2 {
	font-size: clamp(1.6rem, 2.25vw, 2.45rem);
}

.yg-site-news-feed .yg-news-card__meta { display: none !important; }

.yg-news-card__read-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	margin-top: 8px;
	color: #eaf5f3;
	font-size: .82rem;
	font-weight: 800;
	letter-spacing: .02em;
}

.yg-news-card__read-more span {
	color: #62d4cc;
	font-size: 1.05rem;
	transition: transform .3s ease;
}

.yg-news-card__read-more:hover span,
.yg-news-card__read-more:focus-visible span {
	transform: translate(3px, -3px);
}

.yg-news-card__media {
	position: relative;
}

.yg-news-card__media-badge {
	position: absolute;
	right: 14px;
	top: 14px;
	bottom: auto;
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0 10px;
	border: 1px solid rgba(234, 245, 243, .38);
	border-radius: 999px;
	color: #eaf5f3;
	background: rgba(4, 31, 33, .66);
	font-size: .67rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	backdrop-filter: blur(10px);
	pointer-events: none;
}

.yg-site-news-feed .yg-news-card:hover .yg-news-card__media video,
.yg-site-news-feed .yg-news-card:focus-within .yg-news-card__media video {
	transform: none;
}

/* Optional gentle section snapping: it never hijacks wheel/touch input and
 * is disabled on small screens or for users who request reduced motion. */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
	html:has(body.home),
	body.home {
		scroll-snap-type: y proximity;
	}

	html:has(body.home) .yg-site-home,
	body.home .yg-site-home {
		scroll-snap-align: start;
		scroll-snap-stop: normal;
	}
}

@media (max-width: 860px) {
	.yg-site-news-feed .yg-news-card {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.yg-site-news-feed .yg-news-card__copy h2 {
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yg-site-news-feed .yg-news-card__media img,
	.yg-site-news-feed .yg-news-card__media video,
	.yg-news-card__read-more span {
		transition: none;
	}

	.yg-site-news-feed .yg-news-card:hover .yg-news-card__media img,
	.yg-site-news-feed .yg-news-card:focus-within .yg-news-card__media img,
	.yg-site-news-feed .yg-news-card:hover .yg-news-card__media video,
	.yg-site-news-feed .yg-news-card:focus-within .yg-news-card__media video,
	.yg-news-card__read-more:hover span,
	.yg-news-card__read-more:focus-visible span {
		transform: none;
	}
}

@media (max-width: 767px) {
	.yg-site-home.yg-site-hero {
		min-height: auto;
		padding-top: var(--padding-top, 96px);
		padding-bottom: var(--padding-bottom, 56px);
	}

	.yg-site-home.yg-site-hero .yg-site-hero-media,
	.yg-site-home.yg-site-hero .yg-site-hero-media > .e-con-inner,
	.yg-site-home.yg-site-hero .yg-site-hero-video-widget {
		max-width: 100%;
	}

	.yg-site-home.yg-site-hero .yg-site-video {
		max-height: none;
	}

	.yg-site-directory .yg-product-directory-card {
		grid-template-columns: 1fr;
	}

	.yg-site-directory .yg-product-directory-card__media,
	.yg-site-directory .yg-product-directory-card__media img {
		min-height: 190px;
		height: 190px;
	}
}

.yg-product-sample .yg-model-spec {
		margin: 0;
		color: #1598cf;
		font-size: 1.05rem;
		font-weight: 800;
		letter-spacing: .015em;
		line-height: 1.3;
}

.yg-product-sample .yg-model-detail {
		margin: 0;
		color: #527073;
		font-size: 15px;
		line-height: 1.55;
}

.yg-product-sample .yg-model-detail strong {
		color: var(--yg-ink);
		font-size: .75rem;
		letter-spacing: .1em;
		text-transform: uppercase;
}

.yg-product-sample .yg-gallery-grid > .e-con-inner {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: stretch;
		gap: 18px;
		padding: 0 !important;
}

.yg-product-sample .yg-gallery-card {
		min-width: 0;
		border: 1px solid rgba(11, 52, 56, .13);
		border-radius: 18px;
		background: rgba(255, 255, 255, .94);
		box-shadow: 0 18px 42px rgba(11, 52, 56, .065);
		overflow: hidden;
		transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.yg-product-sample .yg-gallery-card:hover,
.yg-product-sample .yg-gallery-card:focus-within {
		border-color: rgba(21, 152, 207, .38);
		box-shadow: 0 24px 52px rgba(11, 52, 56, .11);
		transform: translateY(-2px);
}

.yg-product-sample .yg-gallery-card > .e-con-inner {
		display: flex;
		flex-direction: column;
		height: 100%;
		gap: 12px !important;
		padding: 0 22px 22px !important;
	}

.yg-product-sample .yg-gallery-media {
		margin: 0 -22px;
		width: calc(100% + 44px) !important;
	}

.yg-product-sample .yg-gallery-media img {
		display: block;
		width: 100%;
		aspect-ratio: 16 / 10;
		object-fit: cover;
		border-bottom: 1px solid rgba(11, 52, 56, .1);
		background: #e7f2ef;
	}

.yg-product-sample .yg-gallery-card-title .elementor-heading-title {
		color: var(--yg-ink);
		font-size: clamp(1.3rem, 2vw, 1.75rem);
		font-weight: 760;
		letter-spacing: -.045em;
		line-height: 1.05;
	}

.yg-product-sample .yg-gallery-card-copy p {
		margin: 0;
		color: #527073;
		font-size: 16px;
		line-height: 1.5;
}

/* YM hero guard: the wide line-render image must stay inside its Elementor
 * media column at every desktop breakpoint. The editor can add its own
 * outline around the column, so clip the media column as well as constraining
 * the image itself; mobile still switches back to the full-width stack below. */
.yg-product-sample.yg-ym-page.yg-hero > .e-con-inner > .yg-hero-media {
		flex: 0 1 min(56%, 636px);
		max-width: 100%;
		overflow: hidden;
	}

.yg-product-sample.yg-ym-page.yg-hero .yg-hero-image,
.yg-product-sample.yg-ym-page.yg-hero .yg-hero-image img {
		box-sizing: border-box;
		max-width: 100%;
	}

.yg-product-sample.yg-ym-page.yg-hero .yg-hero-image img {
		height: auto;
		object-fit: contain;
}

.yg-product-sample.yg-cta .yg-advantage-lead {
		max-width: 760px;
		margin: -26px 0 34px;
		color: rgba(247, 251, 250, .72);
		font-size: 17px;
		line-height: 1.6;
}

@media (max-width: 900px) {
	.yg-product-sample .yg-gallery-grid > .e-con-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.yg-product-sample .yg-feature-row > .e-con-inner {
		flex-wrap: wrap !important;
		gap: 28px !important;
	}

	.yg-product-sample .yg-feature-row > .e-con-inner > .yg-feature-media,
	.yg-product-sample .yg-feature-row > .e-con-inner > .yg-feature-copy {
		flex: 1 1 100%;
		width: 100% !important;
	}

	.yg-product-sample.yg-ym-page.yg-hero > .e-con-inner > .yg-hero-media {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.yg-product-sample .yg-feature-item p,
	.yg-product-sample .yg-feature-lead,
	.yg-product-sample .yg-feature-steps {
		font-size: 16px;
	}

	.yg-product-sample .yg-gallery-grid > .e-con-inner {
		grid-template-columns: 1fr;
	}

	.yg-product-sample.yg-cta .yg-advantage-lead {
		margin: -12px 0 28px;
		font-size: 16px;
	}
}

/* Full-bleed template rails. Elementor's boxed containers are useful while
 * editing, but the public header, footer and Contact Us backgrounds should
 * reach the viewport edges. Their inner content keeps a readable max width. */
.yg-site-global-header,
.yg-site-global-footer,
.yg-site-contact-page,
.yg-site-single-post,
.yg-site-news-single-template {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.yg-site-global-header > .e-con-inner,
.yg-site-global-footer > .e-con-inner,
.yg-site-contact-page > .e-con-inner,
.yg-site-single-post > .e-con-inner,
.yg-site-news-single-template > .e-con-inner,
.yg-site-global-header .yg-site-template-shortcode,
.yg-site-global-footer .yg-site-template-shortcode,
.yg-site-contact-page .yg-site-contact-shortcode,
.yg-site-single-post .yg-site-template-shortcode,
.yg-site-news-single-template .yg-site-template-shortcode,
.yg-site-global-header .elementor-widget-container,
.yg-site-global-footer .elementor-widget-container,
.yg-site-contact-page .elementor-widget-container,
.yg-site-single-post .elementor-widget-container,
.yg-site-news-single-template .elementor-widget-container {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.yg-site-global-header .site-header,
.yg-site-global-header .site-header-shell,
.yg-site-global-footer .site-footer,
.yg-site-global-footer .site-footer-shell {
	width: 100vw !important;
	max-width: none !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

/* Homepage composition: restore the previous left-copy/right-media rhythm,
 * but keep the hero in normal flex flow. Elementor can therefore change the
 * copy and media containers' width, order, alignment and spacing without a
 * theme-level absolute position fighting the editor. */
@media (min-width: 901px) {
	.yg-site-home.yg-site-hero {
		box-sizing: border-box;
		height: var(--height, auto);
		min-height: var(--min-height, calc(100dvh - 72px));
		padding-top: var(--padding-top, clamp(56px, 8vh, 92px));
		padding-bottom: var(--padding-bottom, clamp(56px, 8vh, 92px));
		overflow: var(--overflow, visible);
	}

	.yg-site-home.yg-site-hero > .e-con-inner {
		display: var(--display, flex);
		position: relative;
		flex-direction: var(--flex-direction, row);
		flex-wrap: var(--flex-wrap, wrap);
		align-items: var(--align-items, center);
		justify-content: var(--justify-content, space-between);
		width: min(calc(100% - 80px), 1200px) !important;
		max-width: 1200px !important;
		height: var(--height, auto);
		min-height: calc(100dvh - 216px);
		margin-inline: auto !important;
		padding: 0;
		gap: var(--row-gap, clamp(28px, 4vw, 56px)) var(--column-gap, clamp(28px, 4vw, 56px));
	}

	.yg-site-home.yg-site-hero .yg-site-hero-copy {
		position: var(--position, relative);
		z-index: 2;
		width: var(--width, 48%);
		flex-basis: auto;
	}

	.yg-site-home.yg-site-hero .yg-site-hero-media {
		position: var(--position, relative);
		z-index: 2;
		width: var(--width, 48%);
		flex-basis: auto;
	}

	.yg-site-home.yg-site-hero .yg-site-hero-media > .e-con-inner,
	.yg-site-home.yg-site-hero .yg-site-hero-video-widget > .elementor-widget-container {
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.yg-site-home.yg-site-hero .yg-site-hero-lede {
		max-width: 500px;
		margin-top: 20px;
		font-size: clamp(.82rem, .95vw, .98rem);
		line-height: 1.45;
	}

	.yg-site-home.yg-site-hero :where(.yg-site-hero-title) .elementor-heading-title {
		font-size: clamp(3rem, 4.25vw, 4.65rem);
		line-height: .98;
	}

	.yg-site-home.yg-site-hero .yg-site-video,
	.yg-site-home.yg-site-hero .yg-site-hero-video-widget .elementor-wrapper,
	.yg-site-home.yg-site-hero .yg-site-hero-video-widget .elementor-video {
		width: 100%;
		max-width: 100%;
		max-height: none;
		aspect-ratio: 16 / 9;
		border-radius: 18px 8px 18px 8px;
		object-fit: cover;
	}
}

/* Main Products keeps the grouped card rhythm used by the earlier homepage;
 * the shortcode renderer still pulls product copy, links and images from the
 * shared catalogue. */
.yg-site-home-products .yg-home-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
}

.yg-site-home-products .yg-home-product-group {
		display: grid;
		grid-template-rows: auto auto 1fr;
		padding: 0 26px 12px;
		overflow: hidden;
	}

.yg-site-home-products .yg-home-product-group__media {
		width: calc(100% + 52px);
		margin: 0 -26px 24px;
		background: #e5efed;
	}

.yg-site-home-products .yg-home-product-group__media img {
		width: 100%;
		aspect-ratio: 16 / 8.6;
		object-fit: cover;
		object-position: center;
		transition: transform .55s cubic-bezier(.16, 1, .3, 1);
	}

.yg-site-home-products .yg-home-product-group:hover .yg-home-product-group__media img,
.yg-site-home-products .yg-home-product-group:focus-within .yg-home-product-group__media img {
		transform: scale(1.025);
}

.yg-site-home-products .yg-home-product-group h3 {
		margin-bottom: 14px;
}

.yg-site-home-products .yg-home-product-links {
		padding-bottom: 4px;
}

/* A wider inner grid removes the empty desktop gutters on Contact Us while
 * preserving comfortable side padding on very wide screens. */
.yg-site-contact-page .contact-page .container {
		width: min(calc(100% - 112px), 1540px);
		max-width: 1540px;
	}

@media (max-width: 900px) {
	.yg-site-home-products .yg-home-product-grid {
		grid-template-columns: 1fr;
	}

	.yg-site-contact-page .contact-page .container {
		width: min(calc(100% - 56px), 760px);
	}
}

@media (max-width: 767px) {
	.yg-site-home.yg-site-hero {
		height: var(--height, auto);
		min-height: var(--min-height, auto);
		padding-top: var(--padding-top, 96px);
		padding-bottom: var(--padding-bottom, 56px);
	}

	.yg-site-home.yg-site-hero > .e-con-inner {
		display: var(--display, flex);
		width: 100% !important;
		height: var(--height, auto);
		min-height: var(--min-height, 0);
		padding-inline: 20px !important;
	}

	.yg-site-home.yg-site-hero .yg-site-hero-copy,
	.yg-site-home.yg-site-hero .yg-site-hero-media {
		position: var(--position, relative);
		max-width: none;
	}

	.yg-site-home-products .yg-home-product-group {
		padding-inline: 20px;
	}

	.yg-site-home-products .yg-home-product-group__media {
		width: calc(100% + 40px);
		margin-right: -20px;
		margin-left: -20px;
	}

	.yg-site-contact-page .contact-page .container {
		width: min(calc(100% - 40px), 620px);
	}
}

/* Mobile-first hero and navigation pass. The desktop composition above keeps
 * the copy upper-left and the 16:9 media lower-right; below 900px the same
 * widgets become a readable vertical sequence so nothing is clipped by the
 * viewport. The shared header changes to the liquid-glass panel as soon as
 * the scroll listener adds .is-floating, including on touch devices. */
html,
body {
	overflow-x: hidden;
}

@media (max-width: 900px) {
	.yg-site-home.yg-site-hero {
		height: var(--height, auto);
		min-height: var(--min-height, auto);
		padding-top: var(--padding-top, 104px);
		padding-bottom: var(--padding-bottom, 64px);
		overflow: visible;
	}

	.yg-site-home.yg-site-hero > .e-con-inner {
		display: var(--display, flex);
		flex-direction: var(--flex-direction, column);
		align-items: var(--align-items, stretch);
		justify-content: var(--justify-content, flex-start);
		width: min(calc(100% - 40px), 760px) !important;
		max-width: 760px !important;
		height: var(--height, auto);
		min-height: var(--min-height, 0);
		gap: var(--row-gap, clamp(30px, 6vw, 48px)) var(--column-gap, clamp(30px, 6vw, 48px));
		margin-inline: auto !important;
		padding: 0;
	}

	.yg-site-home.yg-site-hero .yg-site-hero-copy,
	.yg-site-home.yg-site-hero .yg-site-hero-media {
		position: var(--position, relative);
		width: var(--width, 100%);
		flex-basis: auto;
	}

	.yg-site-home.yg-site-hero .yg-site-hero-copy > .e-con-inner,
	.yg-site-home.yg-site-hero .yg-site-hero-media > .e-con-inner {
		width: 100%;
		max-width: none;
		padding: 0;
	}

	.yg-site-home.yg-site-hero :where(.yg-site-hero-title) .elementor-heading-title {
		font-size: clamp(2.55rem, 8.5vw, 4.25rem);
		line-height: .98;
	}

	.yg-site-home.yg-site-hero .yg-site-hero-lede {
		max-width: 42rem;
		margin-top: 18px;
		font-size: clamp(.92rem, 2.2vw, 1.05rem);
		line-height: 1.5;
	}

	.yg-site-home.yg-site-hero .yg-site-hero-video-widget > .elementor-widget-container,
	.yg-site-home.yg-site-hero .yg-site-hero-video-widget .elementor-wrapper,
	.yg-site-home.yg-site-hero .yg-site-hero-video-widget .elementor-shortcode,
	.yg-site-home.yg-site-hero .yg-site-video {
		width: 100%;
		max-width: none;
	}

	.yg-site-home.yg-site-hero .yg-site-video {
		max-height: none;
		aspect-ratio: 16 / 9;
		border-radius: 16px 7px 16px 7px;
	}

	/* Give the open mobile menu a safe touch target below the fixed glass bar. */
	.site-header.is-floating {
		top: 10px !important;
		left: 50% !important;
		width: calc(100% - 24px) !important;
		max-width: none !important;
		z-index: 100;
	}

	.site-header.is-floating .header-inner {
		min-height: 62px !important;
		padding-inline: 14px !important;
	}

	.site-header.is-floating .primary-navigation {
		max-height: calc(100dvh - 104px);
	}
}

@media (max-width: 767px) {
	.yg-site-home.yg-site-hero > .e-con-inner {
		width: 100% !important;
		max-width: none !important;
		padding-inline: 20px !important;
		gap: var(--row-gap, 30px) var(--column-gap, 30px);
	}

	.yg-site-home.yg-site-hero {
		padding-top: var(--padding-top, 96px);
		padding-bottom: var(--padding-bottom, 56px);
	}

	.yg-site-home.yg-site-hero :where(.yg-site-kicker) .elementor-heading-title {
		padding: 9px 13px 9px 11px;
		font-size: .66rem;
		letter-spacing: .09em;
	}

	.yg-site-home.yg-site-hero :where(.yg-site-hero-title) .elementor-heading-title {
		font-size: clamp(2.42rem, 12.2vw, 3.55rem);
	}

	.site-header.is-floating {
		top: 8px !important;
		width: calc(100% - 16px) !important;
	}
}

/* WordPress' optional admin toolbar occupies the top edge for logged-in
 * editors. Keep the glass header below it while leaving public visitors
 * unchanged. */
@media (min-width: 783px) and (max-width: 900px) {
	body.admin-bar .site-header.is-floating { top: 42px !important; }
}

@media (max-width: 782px) {
	body.admin-bar .site-header.is-floating { top: 54px !important; }
}

/* Safe content rail: section backgrounds remain full-bleed while the public
 * controls and editable content stay inside a readable desktop frame. */
.yg-site-home-products {
	background: var(--yg-site-paper) !important;
}

@media (min-width: 901px) {
	body.home .site-header:not(.is-floating) .header-inner,
	body.home .site-header.is-floating .header-inner,
	.yg-site-global-header .site-header:not(.is-floating) .header-inner,
	.yg-site-global-header .site-header.is-floating .header-inner {
		width: min(calc(100% - 80px), 1200px) !important;
		max-width: 1200px !important;
		margin-inline: auto !important;
	}

	body.home .site-header:not(.is-floating) .brand-logo,
	.yg-site-global-header .site-header:not(.is-floating) .brand-logo {
		height: 40px !important;
		max-width: 132px !important;
	}

	body.home .site-header:not(.is-floating) .primary-navigation > div > ul,
	.yg-site-global-header .site-header:not(.is-floating) .primary-navigation > div > ul {
		gap: clamp(14px, 1.35vw, 24px) !important;
	}

	body.home .site-header:not(.is-floating) .primary-navigation a,
	.yg-site-global-header .site-header:not(.is-floating) .primary-navigation a {
		min-height: 72px;
		font-size: .78rem !important;
	}

	body.home .site-header:not(.is-floating) .header-cta,
	.yg-site-global-header .site-header:not(.is-floating) .header-cta {
		min-width: 132px !important;
		min-height: 38px !important;
		padding-inline: 15px !important;
		font-size: .77rem !important;
	}

	body.home .site-header.is-floating,
	.yg-site-global-header .site-header.is-floating {
		width: min(calc(100% - 48px), 1200px) !important;
		max-width: 1200px !important;
	}

	body.home .site-header.is-floating .brand-logo,
	.yg-site-global-header .site-header.is-floating .brand-logo {
		height: 38px !important;
		max-width: 126px !important;
	}

	body.home .site-header.is-floating .header-cta,
	.yg-site-global-header .site-header.is-floating .header-cta {
		min-width: 132px !important;
		font-size: .77rem !important;
	}

	.yg-site-home > .e-con-inner {
		width: min(calc(100% - 80px), 1200px) !important;
		max-width: 1200px !important;
		margin-inline: auto !important;
	}

	/* Main Products is back to the three grouped cards from the earlier
	 * homepage. Product links and representative images remain dynamic. */
	.yg-site-home-products .yg-home-product-grid {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
		width: 100%;
		margin-top: 24px;
	}

	.yg-site-home-products .yg-home-product-group {
		display: grid;
		grid-template-rows: auto auto 1fr;
		min-width: 0;
		padding: 0 26px 12px;
		overflow: hidden;
	}

	.yg-site-home-products .yg-home-product-group__media {
		width: calc(100% + 52px);
		margin: 0 -26px 24px;
		background: #e5efed;
	}

	.yg-site-home-products .yg-home-product-group__media img {
		display: block;
		width: 100%;
		aspect-ratio: 16 / 8.6;
		object-fit: cover;
		object-position: center;
		transition: transform .55s cubic-bezier(.16, 1, .3, 1);
	}

	.yg-site-home-products .yg-home-product-group__media:hover img,
	.yg-site-home-products .yg-home-product-group:focus-within .yg-home-product-group__media img {
		transform: scale(1.025);
	}

	.yg-site-home-products .yg-home-product-group h3 {
		margin-bottom: 14px;
	}

	.yg-site-home.yg-site-company :where(.yg-site-section-title) .elementor-heading-title {
		font-size: clamp(2.35rem, 3.35vw, 4rem);
		line-height: .98;
		letter-spacing: -.065em;
		text-wrap: balance;
		overflow-wrap: normal;
		word-break: normal;
		hyphens: none;
	}
}

@media (max-width: 900px) {
	.yg-site-home-products .yg-home-product-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.yg-site-home-products .yg-home-product-group {
		padding-inline: 20px;
	}

	.yg-site-home-products .yg-home-product-group__media {
		width: calc(100% + 40px);
		margin-right: -20px;
		margin-left: -20px;
	}

	.yg-site-home-products .yg-home-product-group__media img {
		min-height: 190px;
		height: 190px;
	}
}

/* A full-width Contact Us background can still use a comfortable inner rail. */
.yg-site-contact-page .contact-page .container {
	width: min(calc(100% - 112px), 1540px);
	max-width: 1540px;
}

@media (max-width: 900px) {
	.yg-site-contact-page .contact-page .container {
		width: min(calc(100% - 56px), 760px);
	}
}

/* Elementor width controls write --width on the element itself. These
 * low-specificity defaults yield to those settings while keeping a balanced
 * first render when no custom width has been chosen yet. */
.yg-site-home.yg-site-hero {
	--display: flex;
	--flex-direction: row;
	--flex-wrap: wrap;
	--justify-content: space-between;
	--align-items: center;
	--row-gap: clamp(28px, 4vw, 56px);
	--column-gap: clamp(28px, 4vw, 56px);
	--height: auto;
	--min-height: 100dvh;
	--padding-top: clamp(92px, 10vh, 124px);
	--padding-bottom: clamp(52px, 7vh, 84px);
	--overflow: visible;
}

.yg-site-home.yg-site-hero .yg-site-hero-copy,
.yg-site-home.yg-site-hero .yg-site-hero-media {
	--width: 48%;
}

@media (max-width: 900px) {
	.yg-site-home.yg-site-hero {
		--display: flex;
		--flex-direction: column;
		--flex-wrap: nowrap;
		--justify-content: flex-start;
		--align-items: stretch;
		--row-gap: clamp(30px, 6vw, 48px);
		--column-gap: clamp(30px, 6vw, 48px);
		--min-height: 0;
		--padding-top: 104px;
		--padding-bottom: 64px;
	}

	.yg-site-home.yg-site-hero .yg-site-hero-copy,
	.yg-site-home.yg-site-hero .yg-site-hero-media {
		--width: 100%;
	}

	.yg-site-hero-media {
		--margin-top: 30px;
	}
}

/* Taste pass: evidence-led closing chapters for the editable homepage.
 * Quality uses one featured certificate with a flexible support grid. The
 * International Market chapter uses a lead project image with a staggered
 * photo wall. Both patterns intentionally keep every image as a native
 * Elementor widget so editors can replace, reorder or add images visually. */
.yg-site-home.yg-site-quality {
	background-color: #f4f8f7 !important;
	background-image:
		linear-gradient(180deg, #f4f8f7 0%, #ffffff 42%, #f7faf9 100%) !important;
}

.yg-site-quality > .e-con-inner {
	width: min(calc(100% - 80px), 1200px) !important;
	max-width: 1200px !important;
	margin-inline: auto !important;
	padding: 0 !important;
	gap: 30px !important;
}

.yg-site-quality .yg-site-section-title .elementor-heading-title {
	max-width: 14ch;
	font-size: clamp(3rem, 5.2vw, 5.35rem);
	letter-spacing: -.08em;
	line-height: .91;
	text-wrap: balance;
}

.yg-site-quality-grid {
	width: 100%;
}

.yg-site-quality-grid > .e-con-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)) !important;
	grid-template-rows: repeat(2, minmax(230px, 1fr)) !important;
	grid-auto-rows: minmax(220px, auto);
	align-items: stretch;
	gap: 18px !important;
	width: 100%;
	padding: 0 !important;
}

.yg-site-quality-grid .elementor-widget-image {
	min-width: 0;
	height: 100%;
	min-height: 0;
}

.yg-site-quality-grid .elementor-widget-image > .elementor-widget-container,
.yg-site-quality-grid .elementor-widget-image > .elementor-widget-container > a {
	display: block;
	height: 100%;
}

/* Elementor 4 renders Image widgets without the legacy
 * .elementor-widget-container wrapper. Keep the same card treatment on the
 * direct lightbox link so the editable image wall has no intrinsic-ratio gaps. */
.yg-site-quality-grid .elementor-widget-image > a {
	box-sizing: border-box;
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 18px;
	border: 1px solid rgba(11, 52, 56, .13);
	border-radius: 20px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 18px 44px rgba(11, 52, 56, .09);
}

.yg-site-quality-grid .elementor-widget-image > .elementor-widget-container {
	position: relative;
	overflow: hidden;
	padding: 18px !important;
	border: 1px solid rgba(11, 52, 56, .13);
	border-radius: 20px;
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 18px 44px rgba(11, 52, 56, .09);
}

.yg-site-quality-grid .elementor-widget-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
	object-fit: contain;
	border-radius: 10px;
	background: #ffffff;
}

.yg-site-quality-grid .elementor-widget-image:nth-child(1) {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.yg-site-quality-grid .elementor-widget-image:nth-child(1) > .elementor-widget-container {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 26px !important;
	border-color: rgba(21, 152, 207, .3);
	background: #e9f4f1;
	box-shadow: 0 24px 58px rgba(11, 52, 56, .14);
}

.yg-site-quality-grid .elementor-widget-image:nth-child(1) > a {
	padding: 26px;
	border-color: rgba(21, 152, 207, .3);
	background: #e9f4f1;
	box-shadow: 0 24px 58px rgba(11, 52, 56, .14);
}

.yg-site-quality-grid .elementor-widget-image:nth-child(1) img {
	max-height: 100%;
}

.yg-site-quality-grid .elementor-widget-image:focus-within > .elementor-widget-container,
.yg-site-quality-grid .elementor-widget-image:hover > .elementor-widget-container {
	border-color: rgba(21, 152, 207, .48);
}

.yg-site-quality-grid .elementor-widget-image:focus-within > a,
.yg-site-quality-grid .elementor-widget-image:hover > a {
	border-color: rgba(21, 152, 207, .48);
}

.yg-site-home.yg-site-projects {
	position: relative;
	isolation: isolate;
	background-color: #062b30 !important;
	background-image:
		radial-gradient(circle at 88% 12%, rgba(21, 152, 207, .18), transparent 34%),
		linear-gradient(135deg, #062b30 0%, #073b3f 54%, #06272c 100%) !important;
}

.yg-site-home.yg-site-projects::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	content: "";
	background:
		linear-gradient(rgba(191, 233, 225, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(191, 233, 225, .045) 1px, transparent 1px);
	background-size: 84px 84px;
	mask-image: linear-gradient(125deg, #000 0%, rgba(0, 0, 0, .45) 58%, transparent 100%);
	pointer-events: none;
}

.yg-site-projects > .e-con-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1.22fr) minmax(250px, .78fr);
	grid-template-rows: auto auto auto;
	align-items: end;
	column-gap: clamp(32px, 7vw, 92px);
	row-gap: 12px;
	width: min(calc(100% - 80px), 1200px) !important;
	max-width: 1200px !important;
	margin-inline: auto !important;
	padding: 0 !important;
}

.yg-site-projects > .e-con-inner > .elementor-element-home-projects-title {
	grid-column: 1;
	grid-row: 1;
}

.yg-site-projects .yg-site-section-title .elementor-heading-title {
	max-width: 12ch;
	font-size: clamp(3rem, 5.2vw, 5.35rem);
	letter-spacing: -.08em;
	line-height: .91;
	text-wrap: balance;
}

.yg-site-projects > .e-con-inner > .elementor-element-home-projects-lead {
	grid-column: 2;
	grid-row: 1;
	align-self: end;
	max-width: 31ch;
	margin: 0 0 5px;
	padding-left: 18px;
	border-left: 2px solid rgba(191, 233, 225, .55);
	font-size: 1.02rem;
	line-height: 1.55;
}

.yg-site-project-grid {
	grid-column: 1 / -1;
	grid-row: 3;
	width: 100%;
	margin-top: 26px;
}

.yg-site-project-grid > .e-con-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, .91fr)) !important;
	grid-template-rows: repeat(2, minmax(210px, 1fr)) !important;
	grid-auto-rows: minmax(210px, auto);
	align-items: stretch;
	gap: 14px !important;
	width: 100%;
	padding: 0 !important;
}

.yg-site-project-grid .elementor-widget-image {
	min-width: 0;
	height: 100%;
	min-height: 0;
}

.yg-site-project-grid .elementor-widget-image > .elementor-widget-container,
.yg-site-project-grid .elementor-widget-image > .elementor-widget-container > a {
	display: block;
	height: 100%;
}

.yg-site-project-grid .elementor-widget-image > a {
	box-sizing: border-box;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border: 1px solid rgba(191, 233, 225, .24);
	border-radius: 20px 8px 20px 8px;
	background: #0b3b3f;
	box-shadow: 0 24px 58px rgba(0, 12, 14, .28);
}

.yg-site-project-grid .elementor-widget-image > .elementor-widget-container {
	overflow: hidden;
	border: 1px solid rgba(191, 233, 225, .24);
	border-radius: 20px 8px 20px 8px;
	background: #0b3b3f;
	box-shadow: 0 24px 58px rgba(0, 12, 14, .28);
}

.yg-site-project-grid .elementor-widget-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
	object-fit: cover;
	transition: transform .65s cubic-bezier(.16, 1, .3, 1), filter .3s ease;
}

.yg-site-project-grid .elementor-widget-image:nth-child(1) {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.yg-site-project-grid .elementor-widget-image:nth-child(1) img {
	object-position: center 48%;
}

.yg-site-project-grid .elementor-widget-image:focus-within > .elementor-widget-container,
.yg-site-project-grid .elementor-widget-image:hover > .elementor-widget-container {
	border-color: rgba(191, 233, 225, .62);
}

.yg-site-project-grid .elementor-widget-image:focus-within > a,
.yg-site-project-grid .elementor-widget-image:hover > a {
	border-color: rgba(191, 233, 225, .62);
}

@media (prefers-reduced-motion: no-preference) {
	.yg-site-quality-grid .elementor-widget-image img,
	.yg-site-project-grid .elementor-widget-image img {
		transition: transform .45s cubic-bezier(.16, 1, .3, 1), filter .3s ease;
	}

	.yg-site-quality-grid .elementor-widget-image:hover img,
	.yg-site-quality-grid .elementor-widget-image:focus-within img {
		transform: scale(1.018);
	}

	.yg-site-project-grid .elementor-widget-image:hover img,
	.yg-site-project-grid .elementor-widget-image:focus-within img {
		transform: scale(1.035);
		filter: saturate(1.04);
	}
}

@media (max-width: 900px) {
	.yg-site-quality > .e-con-inner,
	.yg-site-projects > .e-con-inner {
		width: min(calc(100% - 40px), 760px) !important;
		max-width: 760px !important;
	}

	.yg-site-quality-grid > .e-con-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: auto !important;
	}

	.yg-site-quality-grid .elementor-widget-image:nth-child(1) {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 360px;
	}

	.yg-site-quality-grid .elementor-widget-image:not(:nth-child(1)) {
		min-height: 220px;
	}

	.yg-site-projects > .e-con-inner {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 22px !important;
	}

	.yg-site-projects > .e-con-inner > .elementor-element-home-projects-title,
	.yg-site-projects > .e-con-inner > .elementor-element-home-projects-lead,
	.yg-site-project-grid {
		width: 100%;
		max-width: none;
		margin-top: 0;
	}

	.yg-site-projects > .e-con-inner > .elementor-element-home-projects-lead {
		margin-bottom: 4px;
	}

	.yg-site-project-grid > .e-con-inner {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-rows: auto !important;
	}

	.yg-site-project-grid .elementor-widget-image:nth-child(1) {
		grid-column: 1 / -1;
		grid-row: auto;
		min-height: 300px;
	}

	.yg-site-project-grid .elementor-widget-image:not(:nth-child(1)) {
		min-height: 210px;
	}
}

@media (max-width: 560px) {
	.yg-site-quality > .e-con-inner,
	.yg-site-projects > .e-con-inner {
		width: min(calc(100% - 32px), 520px) !important;
	}

	.yg-site-quality .yg-site-section-title .elementor-heading-title,
	.yg-site-projects .yg-site-section-title .elementor-heading-title {
		font-size: clamp(2.55rem, 13vw, 4rem);
	}

	.yg-site-quality-grid > .e-con-inner,
	.yg-site-project-grid > .e-con-inner {
		grid-template-columns: 1fr !important;
	}

	.yg-site-quality-grid .elementor-widget-image:nth-child(1),
	.yg-site-quality-grid .elementor-widget-image:not(:nth-child(1)),
	.yg-site-project-grid .elementor-widget-image:nth-child(1),
	.yg-site-project-grid .elementor-widget-image:not(:nth-child(1)) {
		grid-column: auto;
		min-height: 240px;
	}

	.yg-site-quality-grid .elementor-widget-image:nth-child(1) {
		min-height: 340px;
	}

	.yg-site-project-grid .elementor-widget-image:nth-child(1) {
		min-height: 260px;
	}
}

/* News detail rail lock. The outer Elementor shell remains full bleed for
 * section backgrounds, while every article container follows the same rail
 * as the header logo and inquiry button. The important declarations protect
 * the rail from Elementor widget width defaults. */
.yg-site-single-post .news-minimal-article,
.yg-site-news-single-template .news-minimal-article {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}

.yg-site-single-post .news-minimal-article .container,
.yg-site-news-single-template .news-minimal-article .container {
	box-sizing: border-box;
	width: min(calc(100% - 40px), var(--content, 1180px)) !important;
	max-width: var(--content, 1180px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.yg-site-single-post .news-minimal-article__image,
.yg-site-news-single-template .news-minimal-article__image {
	box-sizing: border-box;
	width: min(calc(100% - 40px), var(--content, 1180px)) !important;
	max-width: var(--content, 1180px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	overflow: hidden;
}

.yg-site-single-post .news-minimal-article__image img,
.yg-site-news-single-template .news-minimal-article__image img {
	display: block;
	width: auto !important;
	max-width: 100% !important;
	height: auto !important;
}

.yg-site-single-post .news-minimal-article__image video,
.yg-site-news-single-template .news-minimal-article__image video {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

.yg-site-single-post .news-entry-content img,
.yg-site-single-post .news-entry-content video,
.yg-site-news-single-template .news-entry-content img,
.yg-site-news-single-template .news-entry-content video {
	box-sizing: border-box;
	max-width: 100% !important;
	height: auto !important;
}

.yg-site-single-post .news-entry-content iframe,
.yg-site-news-single-template .news-entry-content iframe {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
}

.yg-site-single-post .news-entry-content figure,
.yg-site-news-single-template .news-entry-content figure {
	box-sizing: border-box;
	max-width: 100% !important;
	margin-left: 0;
	margin-right: 0;
}

@media (min-width: 901px) {
	/* The shared desktop header uses the same 80px viewport gutter and a
	 * 1200px maximum. Match that geometry exactly so media edges line up with
	 * the logo and inquiry button rather than merely staying inside them. */
	.yg-site-single-post .news-minimal-article .container,
	.yg-site-news-single-template .news-minimal-article .container,
	.yg-site-single-post .news-minimal-article__image,
	.yg-site-news-single-template .news-minimal-article__image {
		width: min(calc(100% - 80px), 1200px) !important;
		max-width: 1200px !important;
	}
}

@media (max-width: 640px) {
	.yg-site-single-post .news-minimal-article .container,
	.yg-site-news-single-template .news-minimal-article .container,
	.yg-site-single-post .news-minimal-article__image,
	.yg-site-news-single-template .news-minimal-article__image {
		width: min(calc(100% - 28px), var(--content, 1180px)) !important;
	}
}

/* Keep the desktop headline and video visible together without reducing type size. */
@media (min-width: 901px) {
	.elementor-6 .yg-site-home.yg-site-hero {
		height: auto !important;
		min-height: 60dvh !important;
		padding-top: 78px !important;
		padding-bottom: 18px !important;
	}

	.elementor-6 .yg-site-home.yg-site-hero > .e-con-inner {
		min-height: 0 !important;
		gap: 10px clamp(28px, 3vw, 40px) !important;
	}

	.elementor-6 .yg-site-home.yg-site-hero .yg-site-hero-media {
		width: min(100%, clamp(540px, 46.9vw, 640px));
		max-width: 640px;
		flex-basis: min(100%, clamp(540px, 46.9vw, 640px));
		margin-inline: auto;
	}

	.elementor-6 .elementor-element.elementor-element-home-products {
		--padding-top: 34px !important;
		--padding-block-start: 34px !important;
		padding-top: 34px !important;
		padding-block-start: 34px !important;
	}

	.elementor-6 .yg-site-home.yg-site-hero .yg-site-hero-video-widget,
	.elementor-6 .yg-site-home.yg-site-hero .yg-site-hero-video-widget .elementor-widget-container {
		width: 100%;
		max-width: 100%;
	}
}

/* Use the extra vertical room on taller desktop viewports for a slightly
 * larger homepage video; keep the 720px-tall desktop layout unchanged. */
@media (min-width: 901px) and (min-height: 740px) {
	.elementor-6 .yg-site-home.yg-site-hero .yg-site-hero-media {
		width: min(100%, clamp(540px, 49vw, 660px));
		max-width: 660px;
		flex-basis: min(100%, clamp(540px, 49vw, 660px));
	}
}
