.bobr-machine-videos {
	box-sizing: border-box;
	width: min(100% - 40px, 1400px);
	margin: 56px auto;
	color: var(--awb-color8);
}

.bobr-product-preview .bobr-machine-videos {
	width: 100%;
	margin: 48px 0;
}

.page-id-6756 .bobr-production-page .bobr-machine-videos--production {
	width: 100%;
	margin: 36px 0 48px;
}

.bobr-machine-videos *,
.bobr-machine-videos *::before,
.bobr-machine-videos *::after {
	box-sizing: border-box;
}

.bobr-machine-videos__header {
	max-width: 900px;
	margin-bottom: 24px;
}

.bobr-machine-videos__kicker {
	margin: 0 0 8px;
	color: var(--awb-color5);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.bobr-machine-videos__header h2,
.bobr-machine-videos__consultation h3 {
	margin: 0;
	color: var(--awb-color8);
	letter-spacing: 0;
}

.bobr-machine-videos__header h2 {
	font-size: clamp(30px, 3vw, 44px);
	line-height: 1.12;
}

.bobr-machine-videos__header > p:last-child {
	max-width: 760px;
	margin: 12px 0 0;
	color: var(--awb-color7);
	font-size: 18px;
	line-height: 1.5;
}

.bobr-machine-videos__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
}

.bobr-machine-videos--1 .bobr-machine-videos__grid {
	grid-template-columns: minmax(0, 960px);
}

.bobr-machine-videos--2 .bobr-machine-videos__grid {
	grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.page-id-6756 .bobr-machine-videos--production .bobr-machine-videos__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bobr-machine-video {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	background: var(--awb-color1);
	border: 1px solid var(--awb-color3);
	border-radius: 6px;
}

.bobr-machine-video__media {
	display: grid;
	place-items: center;
	min-height: 0;
	background: var(--awb-color8);
}

.bobr-machine-video video {
	display: block;
	width: 100%;
	height: auto;
	max-height: 560px;
	background: var(--awb-color8);
	object-fit: contain;
}

.bobr-machine-video--landscape video {
	aspect-ratio: 16 / 9;
}

.bobr-machine-video--portrait .bobr-machine-video__media {
	background: var(--awb-color2);
}

.bobr-machine-video--portrait video {
	width: auto;
	max-width: 100%;
	aspect-ratio: 9 / 16;
}

.bobr-machine-videos--archive .bobr-machine-video--portrait video {
	max-height: 420px;
}

.bobr-machine-video figcaption {
	display: grid;
	gap: 6px;
	padding: 18px 20px 20px;
}

.bobr-machine-video figcaption strong {
	color: var(--awb-color8);
	font-size: 20px;
	line-height: 1.25;
}

.bobr-machine-video figcaption span {
	color: var(--awb-color7);
	font-size: 15px;
	line-height: 1.45;
}

.bobr-machine-videos__consultation {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px;
	align-items: center;
	margin-top: 24px;
	padding: 28px 30px;
	background: var(--awb-custom_color_1);
	border-left: 4px solid var(--awb-color5);
}

.bobr-machine-videos__consultation h3 {
	font-size: 27px;
	line-height: 1.2;
}

.bobr-machine-videos__consultation > div:first-child > p:last-child {
	max-width: 900px;
	margin: 10px 0 0;
	color: var(--awb-color7);
	font-size: 16px;
	line-height: 1.55;
}

.bobr-machine-videos__contact {
	display: grid;
	gap: 7px;
	justify-items: start;
	min-width: 230px;
}

.bobr-machine-videos__phone {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 18px;
	color: var(--awb-color1);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	background: var(--awb-color5);
	border: 1px solid var(--awb-color5);
	border-radius: 4px;
}

.bobr-machine-videos__phone:hover,
.bobr-machine-videos__phone:focus-visible {
	color: var(--awb-color1);
	background: var(--awb-color8);
	border-color: var(--awb-color8);
}

.bobr-machine-videos__number,
.bobr-machine-videos__email {
	color: var(--awb-color4);
	font-weight: 600;
	line-height: 1.35;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 1024px) {
	.bobr-machine-videos__grid,
	.bobr-machine-videos--2 .bobr-machine-videos__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bobr-machine-videos--1 .bobr-machine-videos__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bobr-machine-videos__consultation {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 700px) {
	.bobr-machine-videos,
	.bobr-product-preview .bobr-machine-videos {
		width: min(100% - 28px, 1400px);
		margin: 38px auto;
	}

	.page-id-6756 .bobr-production-page .bobr-machine-videos--production {
		width: 100%;
		margin: 30px 0 38px;
	}

	.bobr-machine-videos__header h2 {
		font-size: 30px;
	}

	.bobr-machine-videos__header > p:last-child {
		font-size: 16px;
	}

	.bobr-machine-videos__grid,
	.bobr-machine-videos--2 .bobr-machine-videos__grid,
	.page-id-6756 .bobr-machine-videos--production .bobr-machine-videos__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bobr-machine-video--portrait video {
		max-height: 620px;
	}

	.bobr-machine-videos__consultation {
		gap: 22px;
		padding: 22px 20px;
	}

	.bobr-machine-videos__consultation h3 {
		font-size: 24px;
		line-height: 1.2;
	}

	.bobr-product-preview .bobr-machine-videos__consultation h3 {
		font-size: 24px;
		line-height: 1.2;
	}

	.bobr-machine-videos__contact,
	.bobr-machine-videos__phone {
		width: 100%;
	}
}
