.hero-image {
	margin-left: -14px;
}

.xcode-icon {
	margin-bottom: 0.5em;
}

.ios-icon {
	display: inline-block;
	width: 96px;
	height: 96px;
	background-size: 96px 96px;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-image: url("/watchos/submit/images/ios-icon.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) {
	.ios-icon {
		background-image: url("/watchos/submit/images/ios-icon_2x.png");
	}
}

.watch-icon {
	display: inline-block;
	margin-left: 70px;
	width: 44px;
	height: 97px;
	background-size: 44px 44px;
	background-position: 100% 100%;
	background-repeat: no-repeat;
	background-image: url("/watchos/submit/images/watch-icon.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) {
	.watch-icon {
		background-image: url("/watchos/submit/images/watch-icon_2x.png");
	}
}

.scale-icon {
	margin-top: 2em;
	width: 210px;
	height: 95px;
	background-size: 210px 95px;
	background-position: center center;
	background-repeat: no-repeat;
	background-image: url("/watchos/submit/images/icon-scale.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) {
	.scale-icon {
		background-image: url("/watchos/submit/images/icon-scale_2x.png");
	}
}

.ios-icon figcaption,
.watch-icon figcaption,
.scale-icon figcaption {
	padding-top: 105px;
}

.icon-app-store {
	margin-bottom: 0.75em;
}

.screenshot-example {
	margin-bottom: 0.75em;
	width: 184px;
	height: 224px;
}

.center-wrap {
	display: table-cell;
	height: 448px;
	vertical-align: middle;
}

#main .section-content .row > .column.sidebar.padding-top-alt {
	padding-top: 2.35em;
}

@media only screen and (max-width: 1068px) {
	.hero-image {
		margin-left: -10px;
	}
	.watch-icon {
		margin-left: 60px;
	}
	.center-wrap {
		height: 336px;
	}
	#main .section-content .row > .column.sidebar.padding-top-alt {
		padding-top: 2.15em;
	}
}

@media only screen and (max-width: 734px) {
	.hero-image {
		margin-right: auto;
		margin-left: auto;
	}
	.small-padding-top-small {
		padding-top: 1.5em;
	}
	.center-wrap {
		display: block;
		height: auto;
		text-align: center;
	}
	#main .section-content .row > .column.sidebar.padding-top-alt {
		padding-top: 1em;
	}
}

@media only screen and (max-width: 734px) {
	.link-wrap-mobile {
		max-width: 90%;
	}
	#main section.section {
		padding-top: 3em;
		padding-bottom: 3em;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}
}

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

.device-wrap {
	margin-left: 84px;
}

@media only screen and (max-width: 1068px) {
	.device-wrap {
		margin-left: 39px;
	}
}

@media only screen and (max-width: 734px) {
	.topic-icon.center {
		margin-left: 0;
		margin-bottom: 1em;
	}
	.device-wrap {
		margin-top: 0;
		margin-left: 0;
	}
	.column-flex-center {
		align-self: unset;
	}
}

/* ========== Tiles ========== */
.section-topics {
	background-color: #fff;
}

.simple-card-containers {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	border-radius: 18px;
	gap: 1.5em;
}

@media only screen and (max-width: 1068px) {
	.simple-card-containers {
		grid-template-columns: 1fr 1fr;
		gap: 1em;
	}
}

@media only screen and (max-width: 450px) {
	.simple-card-containers {
		grid-template-columns: 1fr;
		gap: 1em;
	}
}

.simple-card h4 {
	margin-top: 0 !important;
}

.simple-card img {
	margin-bottom: 10px;
}

body[data-color-scheme="dark"] .section-topics {
	background-color: #000;
}

.simple-card {
	background-color: #f5f5f7;
	color: #333333 !important;
	padding: 1em 2em;
	border-radius: 18px;
	border: 1px solid #e8e8e8;
	transition: 0.25s;
	display: flex;
	flex-direction: column;
}

body[data-color-scheme="dark"] .simple-card {
	background-color: #000;
	color: #fff !important;
	border: 1px solid #333;
}

a.simple-card:hover {
	text-decoration: none;
	/* box-shadow: 0 0 0 1px rgba(50, 50, 93, 0.01), 0 7px 14px 0 rgba(50, 50, 93, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.02); */
	box-shadow: 0 0 0 1px rgba(50, 50, 93, 0.005),
		0 4px 8px 0 rgba(50, 50, 93, 0.05), 0 2px 4px 0 rgba(0, 0, 0, 0.01);
	background-color: #fdfdfd;
}

body[data-color-scheme="dark"] a.simple-card:hover {
	background-color: #101010;
	border-color: #303030;
}

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