.hero-image {
	max-width: 1150px;
}

.bg-gradient {
	background: linear-gradient(to bottom, #f4f7fb 0%, #ffffff 100%);
}
.bg-alt {
	background-color: #f5f5f7;
}

.callout.whats-new-callout {
	background-color: #f5f5f7;
	border: none;
	padding: 1em;
}
body[data-color-scheme="dark"] .callout.whats-new-callout {
	background-color: var(--fill-secondary-alt);
}

.whats-new-icon {
	width: 32px;
	margin: 0 0.5em 0.2em 0;
	vertical-align: middle;
	display: inline-block;
}

h2 + h3 {
	margin-top: 1.6em;
}

h5.divider-top {
	margin-top: 2em;
	padding-top: 2em;
}

hr {
	margin-top: 2em;
	padding-top: 2em;
}

body[data-color-scheme="light"] .svg-filter {
	filter: invert(23%) sepia(78%) saturate(2414%) hue-rotate(197deg) brightness(98%) contrast(101%);
}
body[data-color-scheme="dark"] .svg-filter {
	filter: invert(46%) sepia(76%) saturate(1685%) hue-rotate(189deg) brightness(99%) contrast(105%);
}

#main section.section-whats-new .section-content .row > .column.large-4.divider-top {
	margin-top: 1.45em;
	padding-top: 2em;
}

img.dark-image,
img.light-image {
	display: none;
}

body[data-color-scheme="dark"] img.dark-image {
	display: block;
}

body[data-color-scheme="dark"] img.light-image {
	display: none;
}

body[data-color-scheme="light"] img.dark-image {
	display: none;
}

body[data-color-scheme="light"] img.light-image {
	display: block;
}

.topic-icon {
	display: block;
	margin: 0 auto;
}
@media only screen and (max-width: 735px) {
	.topic-icon {
		margin: 0 0 1em 0;
	}
}

.image-hero-wrapper {
	position: relative;
	height: 0;
	padding-top: calc(1039 / 2300 * 100%);
}

.image-hero {
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
	height: auto;
	max-width: 1150px;
}

.game-section-content {
	margin-left: auto;
	margin-right: auto;
	max-width: 1150px;
}

@media only screen and (max-width: 735px) {
	.mobile-margin-top {
		margin-top: 1.6em;
	}
}

.lockup-hero {
	margin-top: 2em;
	width: 980px;
	height: 603px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("/games/images/lockup-hero-large.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
	.lockup-hero {
		background-image: url("/games/images/lockup-hero-large_2x.png");
	}
}

@media only screen and (max-width: 1068px) {
	.lockup-hero {
		width: 692px;
		height: 426px;
		background-image: url("/games/images/lockup-hero-medium.png");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
		.lockup-hero {
			background-image: url("/games/images/lockup-hero-medium_2x.png");
		}
	}
}

@media only screen and (max-width: 735px) {
	.lockup-hero {
		width: 320px;
		height: 197px;
		background-image: url("/games/images/lockup-hero-small.png");
	}
	@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
		.lockup-hero {
			background-image: url("/games/images/lockup-hero-small_2x.png");
		}
	}
}

@media only screen and (max-width: 320px) {
	.lockup-hero {
		width: 280px;
		height: 172px;
	}
}

/* ----- resource grid ----- */
:root {
	--video-card-width: 900;
	--video-card-height: 506;
}
.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;
}

.section-developer-stories .resource-grid {
	grid-template-columns: repeat(2, 2fr);
}

.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: 735px) {
	.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: 465px;
	height: 263px;
	border-radius: 8px;
}

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

@media only screen and (max-width: 390px) {
	.image-wrapper {
		width: 260px;
		height: 147px;
	}
}

.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: 735px) {
	.resource-grid-item h4 {
		margin-top: 0.5em;
	}
}

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

/* ========== main grid ========== */
#main section.section {
	padding-top: 4em;
	padding-bottom: 4em;
}
#main section.section.section-hero {
	padding-bottom: 0;
}
#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: 735px) {
	#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;
	}
}
