:root {
	--sk-tile-padding: 1.5em 2em;
}

@media only screen and (max-width: 1068px) {
	:root {
		--sk-tile-padding: 1.25em 1em;
	}
}

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

body[data-color-scheme="dark"] h2 .theme-dark-image,
body[data-color-scheme="light"] h2 .theme-light-image {
	display: inline-block;
}

.whats-new-app-store section.section-hero {
	background: linear-gradient(180deg, rgba(219, 240, 250, 1) 0%, rgba(255, 255, 255, 1) 90%);
}
body[data-color-scheme="dark"] .whats-new-app-store section.section-hero {
	background: linear-gradient(180deg, rgba(2, 25, 35, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

section.section.bg-light {
	background-color: #fff;
}
body[data-color-scheme="dark"] section.section.bg-light,
html body[data-color-scheme="dark"].theme-dark section.section.bg-light {
	background-color: #000;
}
.grid .grid-item .tile.tile-rounded {
	background-color: #fafafa;
}
body[data-color-scheme="dark"] .grid .grid-item .tile.tile-rounded,
html body[data-color-scheme="dark"].theme-dark .grid .grid-item .tile.tile-rounded {
	background-color: #141414;
}

h2#games-app img {
	margin-bottom: 0.5em;
}

.hero-icons {
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-icons img {
	width: 128px;
	height: 128px;
}

@media only screen and (max-width: 605px) {
	.hero-icons img {
		width: 96px;
		height: 96px;
	}
}

@media only screen and (max-width: 427px) {
	.hero-icons img {
		width: 64px;
		height: 64px;
	}
}

.device-header {
	margin-top: 50px;
}
.device-right {
	margin-right: auto;
	margin-left: auto;
}
@media only screen and (max-width: 734px) {
	.device-header {
		margin-top: 25px;
	}
	.device-right {
		margin-top: 25px;
		margin-right: 0;
		margin-left: 0;
	}
}

.border-rounded {
	border: 1px solid #eee;
	border-radius: 18px;
}
body[data-color-scheme="dark"] .border-rounded {
	border: 1px solid #333;
}
@media only screen and (max-width: 1068px) {
	.device-macbook-pro-5th-gen-16-silver.device-medium-for-large {
		width: 519px;
		height: 317px;
	}
	.device-macbook-pro-5th-gen-16-silver.device-medium-for-large .device-screen {
		top: 7.5px;
		left: 49px;
		width: 422px;
		height: 274px;
	}
}

@media only screen and (max-width: 590px) {
	.device-macbook-pro-5th-gen-16-silver.device-medium-for-large.device-small-for-small {
		width: 375px;
		height: 229px;
		margin-left: -23px;
	}
	.device-macbook-pro-5th-gen-16-silver.device-medium-for-large.device-small-for-small
		.device-screen {
		top: 4.5px;
		left: 33px;
		width: 308px;
		height: 199px;
	}
}

@media only screen and (max-width: 375px) {
	.device-macbook-pro-5th-gen-16-silver.device-medium-for-large.device-small-for-small {
		margin-left: -23px;
	}
}

.section-whats-new sf-symbol {
	display: block !important;
	font-size: 96px;
	color: #4eaaf3;
	margin-bottom: 13px;
}
body[data-color-scheme="dark"] .section-whats-new sf-symbol {
	color: #56bdfb;
}

/* ----- sidenav ----- */
.main {
	overflow: initial;
}

.headline-divider {
	margin-top: 1.4em;
	padding-top: 1.4em;
	border-top: 1px solid #e3e3e3;
}

.row-flex {
	display: flex;
}

.row-flex .column-flex > .row-flex {
	margin-top: 2em;
}

.row-flex + h4 {
	margin-top: 1.6em;
}

.column-flex-center {
	align-self: center;
}

ul.links.small li > a {
	display: initial;
}

.compound-item-list li > ul li {
	margin-bottom: 0;
}

@media only screen and (max-width: 734px) {
	h3 {
		margin-top: 1.6em;
	}
	.row-flex {
		display: block;
	}
	.row-flex + p {
		margin-top: 0.8em;
	}
	.row-flex .column-flex > .row-flex {
		margin-top: 0;
		margin-bottom: 0;
	}

	.Sidenav_container {
		margin-bottom: 3em !important;
	}
}

/* ----- 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: 382px;
	height: 214px;
	border-radius: 8px;
}

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

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

.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;
}

#main section .section-content .row > .column.gutter:nth-of-type(odd) {
	padding-right: 1.5em;
}
#main section .section-content .row > .column.gutter:nth-of-type(even) {
	padding-left: 1.5em;
}
@media only screen and (max-width: 734px) {
	#main section .section-content .row > .column.gutter:nth-of-type(odd) {
		padding-right: 0;
	}
	#main section .section-content .row > .column.gutter:nth-of-type(even) {
		padding-left: 0;
	}
}

/* ========== 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;
	}
}

/* === DARK MODE === */
body[data-color-scheme="dark"] .section-whats-new .row > .column > .callout {
	background-color: #000;
}
body[data-color-scheme="dark"] .bg-gradient {
	background: linear-gradient(
		to bottom,
		var(--fill-gradient-gray-start) 20%,
		var(--fill-gradient-gray-end) 150%
	);
}
