img.img-hero {
	margin-bottom: -7px
}

/* ----- product header video ----- */
.product-header-video-wrapper {
	position: relative;
	width: 100%;
	line-height: 0;
}

.product-header-video {
	display: block;
}

.product-header-video-fallback {
	display: block;
}

.product-header-video.hidden,
.product-header-video-fallback.hidden {
	display: none;
}

body[data-color-scheme="light"] .product-header-video.dark-version {
	display: none;
}

body[data-color-scheme="dark"] .product-header-video.light-version {
	display: none;
}


.media-row {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 1em;
	margin-bottom: 1em;
}
.media-row .media-item {
	flex: 1 1 0;
	min-width: 120px;
	max-width: 298px;
}
@media only screen and (max-width: 1068px) {
	.media-row .media-item {
		max-width: 228px;
	}
}

.media-row .media-item img {
	width: 100%;
	border-radius: 12px;
}

.single-device-wide {
	width: 518px;
}

.single-device {
	width: 298px;
}

@media only screen and (max-width: 1068px) {
	.single-device-wide {
		width: 396px;
	}
	.single-device {
		width: 228px;
	}
}

/* ========== Sidenav layout ========== */
.main {
	overflow: initial;
}

.column-sidenav {
	height: 100%;
}

.row-flex {
	display: flex;
	gap: 1.5em;
}

@media only screen and (max-width: 734px) {
	.row-flex {
		gap: 0;
		display: block;
	}
}


/* ----- video grid ----- */
.resource-grid {
	display: grid;
	grid-template-columns: repeat(2, 2fr);
	/* grid-gap: 20px; */
	column-gap: 3em;
	row-gap: 2em;
	width: 100%;
	box-sizing: border-box;
	margin-top: 1.5em;
}

.resource-grid-item {
	height: auto;
	cursor: pointer !important;
	text-decoration: none !important;
}

/* .resource-grid-item-full {
	grid-column: 1/3;
} */

.resource-grid + h2,
.resource-grid + h3,
.resource-grid + p {
	margin-top: 2em;
}

.resource-grid + .divider-bottom {
	padding-top: 0;
}

@media only screen and (max-width: 1068px) {
	.resource-grid {
		grid-template-columns: repeat(2, 2fr);
		column-gap: 1.5em;
		row-gap: 1em;
	}

	.resource-grid-item {
		grid-column: unset;
	}
}

@media only screen and (max-width: 734px) {
	.resource-grid {
		grid-template-columns: repeat(3, 3fr);
		row-gap: 1.5em;
	}

	.resource-grid-item {
		grid-column: 1/3;
	}
}
/* Prevents content jumping */
.image-wrapper {
	width: 342px;
	height: 192px;
	border-radius: 8px;
}

@media only screen and (max-width: 1068px) {
	.image-wrapper {
		width: 246px;
		height: 138px;
	}
}

.resource-grid-item img {
	border-radius: 8px;
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
	height: auto;
}

a.resource-grid-item {
	color: unset;
}

a.resource-grid-item:hover {
	text-decoration: none !important;
}

.resource-grid-item h4 {
	color: #86868b;
	font-size: 15px;
	margin-top: 1em;
	cursor: pointer !important;
}
body[data-color-scheme="dark"] .resource-grid-item h4 {
	color: #6e6e73;
}

@media only screen and (max-width: 734px) {
	.resource-grid-item h4 {
		margin-top: 0.5em;
	}
}

.resource-grid-item h4:hover {
	text-decoration: none;
}


/* ========== Grid ========== */
#main section.section {
	padding-top: 4em;
	padding-bottom: 4em;
}
#main section .section-content .row{
	margin-left: 0;
	margin-right: 0;
}
#main section .section-content .row > .column{
	padding: 0;
}

@media only screen and (max-width: 1068px) {
	#main section .section-content .row{
		margin-left: 0;
		margin-right: 0;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}
}

@media only screen and (max-width: 734px) {
	#main section.section {
		padding-top: 3em;
		padding-bottom: 3em;
	}
	#main section .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}
}
