.bg-alt {
	background-color: #f5f5f7;
}

.lockup-hero {
	margin-top: 2em;
	width: 980px;
	height: auto;
}

.code-sample {
	display: block;
	margin: 2em 0;
	max-width: 645px;
	height: auto;
}

.code-sample {
	margin-top: 2em;
}

.example-design {
	display: block;
	margin: 2em 0;
	width: 735px;
	height: auto;
}

.example-design img {
	border: 1px solid #ddd;
	border-radius: 6px;
}

body[data-color-scheme='dark'] .example-design img {
	border: 1px solid #555;
}

body[data-color-scheme="dark"].dmf .screen-only img {
	border-color: #555;
}

.section-topics .callout {
	padding: 4em 0;
}

.topic-row img + h4 {
	margin-top: 0;
}

.topic-icon {
	margin-top: 4em;
}

.topic-icon-margin {
	margin-bottom: 0.3em;
}

.icon-swift {
	margin-bottom: 1em;
}

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

@media only screen and (max-width: 1068px) {
	.lockup-hero {
		width: 692px;
	}
	.example-design {
		width: 634px;
		height: auto;
	}
	.topic-icon {
		margin-top: 3em;
	}
}

@media only screen and (max-width: 735px) {
	.lockup-hero {
		width: 100%;
		max-width: 692px;
	}
	.example-design {
		width: 460px;
		max-width: 100%;
		height: auto;
	}
	.section-topics .callout {
		padding: 3em 1em;
	}
}

/* ========== Grid ========== */
#main section.section.section-topics {
	padding-top: 0;
	padding-bottom: 0;
}
#main section.section.section-resources {
	padding-bottom: 0;
}
#main section.section-topics .section-content .row.headline-row {
	margin-bottom: -1em;
}
#main section.section-topics .section-content .row.topic-row .column.large-6:first-of-type * {
	padding-right: 34px;
}
#main section.section-topics .section-content .row.topic-row .column.large-6:last-of-type * {
	padding-left: 34px;
}

@media only screen and (max-width: 735px) {
	#main section.section {
		padding-top: 3em;
		padding-bottom: 3em;
	}
	#main section.section.section-resources {
		padding-bottom: 0;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}
	#main section.section-topics .section-content .row.topic-row .column.large-6:first-of-type * {
		padding-right: 0;
	}
	#main section.section-topics .section-content .row.topic-row .column.large-6:last-of-type * {
		padding-left: 0;
	}
}
