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

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

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

.whats-new-ios section.section-hero {
	background: linear-gradient(to bottom, #cbe0df -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-ios section.section-hero {
	background: linear-gradient(to bottom, #042626 -50%, #000 100%);
}

.whats-new-ipados section.section-hero {
	background: linear-gradient(to bottom, #cbe0df -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-ipados section.section-hero {
	background: linear-gradient(to bottom, #042626 -50%, #000 100%);
}

.whats-new-macos section.section-hero {
	background: linear-gradient(to bottom, #cce9fc -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-macos section.section-hero {
	background: linear-gradient(to bottom, #03283e -50%, #000 100%);
}

.whats-new-tvos section.section-hero {
	background: linear-gradient(to bottom, #a3d8fc -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-tvos section.section-hero {
	background: linear-gradient(to bottom, #042a44 -50%, #000 100%);
}

.whats-new-visionos section.section-hero {
	background: linear-gradient(to bottom, #b7baff -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-visionos section.section-hero {
	background: linear-gradient(to bottom, #1e1245 -50%, #000 100%);
}

.whats-new-watchos section.section-hero {
	background: linear-gradient(to bottom, #cce9fc -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-watchos section.section-hero {
	background: linear-gradient(to bottom, #03283e -50%, #000 100%);
}

.whats-new-games section.section-hero {
	background: linear-gradient(to bottom, #fbc2c7 -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-games section.section-hero {
	background: linear-gradient(to bottom, #490902 -50%, #000 100%);
}

.whats-new-apple-intelligence section.section-hero {
	background: linear-gradient(to bottom, #fac6e9 -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-apple-intelligence section.section-hero {
	background: linear-gradient(to bottom, #370226 -50%, #000 100%);
}

.whats-new-xcode section.section-hero {
	background: linear-gradient(to bottom, #cce9fc -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-xcode section.section-hero {
	background: linear-gradient(to bottom, #03283e -50%, #000 100%);
}

.whats-new-swift section.section-hero {
	background: linear-gradient(to bottom, #fcd4d0 -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-swift section.section-hero {
	background: linear-gradient(to bottom, #451504 -50%, #000 100%);
}

.whats-new-swiftui section.section-hero {
	background: linear-gradient(to bottom, #cce9fc -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-swiftui section.section-hero {
	background: linear-gradient(to bottom, #03283e -50%, #000 100%);
}

.whats-new-machine-learning section.section-hero {
	background: linear-gradient(180deg,rgba(224, 251, 229, 1) 0%, rgba(255, 255, 255, 1) 90%);
}
body[data-color-scheme="dark"] .whats-new-machine-learning section.section-hero {
	background: linear-gradient(180deg,rgba(2, 27, 29, 1) 0%, rgba(0, 0, 0, 1) 100%);
}

.whats-new-metal section.section-hero {
	background: linear-gradient(180deg,rgba(213, 252, 226, 1) 0%, rgba(255, 255, 255, 1) 90%);
}
body[data-color-scheme="dark"] .whats-new-metal section.section-hero {
	background: linear-gradient(180deg,rgba(1, 12, 42, 1) 0%, rgba(0, 0, 0, 1) 100%);
}
.whats-new-design section.section-hero {
	background: linear-gradient(to bottom, #b1ddb2 -50%, #fff 100%);
}
body[data-color-scheme="dark"] .whats-new-design section.section-hero {
	background: linear-gradient(to bottom, #032f1d -50%, #000 100%);
}

section.section-hero img {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.hero-icons {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1em;
}
.hero-icons img {
	width: 96px;
	height: 96px;
}
.hero-icons img.icon-large {
	width: 128px;
	height: 128px;
}
.hero-icons img.icon-xlarge {
	width: 256px;
	height: 256px;
}

@media only screen and (max-width: 427px) {
	.hero-icons img {
		width: 48px;
		height: 48px;
	}
	.hero-icons img.icon-large {
		width: 96px;
		height: 96px;
	}
	.hero-icons img.icon-xlarge {
		width: 128px;
		height: 128px;
	}
}

.typography-intro + .badge {
	margin-top: 1.13em;
	display: inline-block;
}

.topic-icon {
	width: 96px;
	height: 96px;
	margin: 0 0.5em 0;
}

.topic-symbol {
	display: block;
	font-size: 72px;
	margin: 0 0.5em 0;
}
@media only screen and (max-width: 734px) {
	.topic-icon {
		margin: 0 ;
	}
	.topic-symbol {
		margin: 0;
	}
	sf-symbol.topic-symbol {
		margin: 0 0 17px;
	}
}

.image-screenshot {
	margin: 2em auto 0;
	border-radius: 8px;
}

@media only screen and (max-width: 734px) {
	.text-center.sv-text-left {
		text-align: left;
	}
}

.badge.badge-inline {
	vertical-align: top;
}

.grid.grid-gutterless {
	margin-top: 1.5em;
}

.grid.grid-gutterless + h3 {
	margin-top: 2em;
}



/* ----- 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: 2em;
	row-gap: 2em;
	width: 100%;
	box-sizing: border-box;
	margin-top: 2em;
}

.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: 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: 350px;
	height: 186px;
	border-radius: 8px;
}

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

@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: #666666;
	font-size: 15px;
	margin-top: 1em;
	cursor: pointer !important;
}
body[data-color-scheme="dark"] .resource-grid-item h4 {
	color: #D2D2D7;
}

@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 {
	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;
	}
}
