.button-pill {
	border-radius: 1em;
}

.row-flex {
	display: flex;
}
.column-flex-center {
	align-self: center;
}
.device-flex {
	margin-right: auto;
	margin-left: auto;
}

.section-discover .copy-wrap {
	padding-right: 7em;
}
.section-discover .device-discover {
	margin: 2em 0 6em -96px;
}
.section-discover .row-quad .column:nth-of-type(1) p,
.section-discover .row-quad .column:nth-of-type(2) p {
	margin-bottom: 4em;
}

.image-icon {
	margin-bottom: 1em;
	width: 64px;
	height: 64px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center center;
}
.icon-create {
	background-image: url("/app-store/discoverability/images/icon-create.svg");
}
.icon-work {
	background-image: url("/app-store/discoverability/images/icon-work.svg");
}
.icon-play {
	background-image: url("/app-store/discoverability/images/icon-play.svg");
}
.icon-develop {
	background-image: url("/app-store/discoverability/images/icon-develop.svg");
}

.image-icon-small {
	margin-bottom: 1em;
	width: 48px;
	height: 48px;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center center;
}
.icon-chat {
	background-image: url("/assets/elements/icons/wwdr-unified/chat_bubble.svg");
}

.screen-search {
	background-image: url("/app-store/discoverability/images/screen-search-large_2x.jpg");
}
.screen-categories {
	background-image: url("/app-store/discoverability/images/screen-categories-large_2x.jpg");
}
.screen-today {
	background-image: url("/app-store/discoverability/images/screen-today-large_2x.jpg");
}
.screen-games {
	background-image: url("/app-store/discoverability/images/screen-games-large_2x.jpg");
}
.screen-apps {
	background-image: url("/app-store/discoverability/images/screen-apps-large_2x.jpg");
}
.screen-featured {
	background-image: url("/app-store/discoverability/images/screen-featured-large_2x.png");
}

.aside-promoted {
	width: 280px;
	height: 127px;
	background-size: 260px 107px;
	background-repeat: no-repeat;
	background-position: 10px 15px;
	background-image: url("/app-store/discoverability/images/aside-promoted-large_2x.png");
	background-color: #fff;
	border-radius: 8px;
}
:lang(zh-CN) .aside-promoted {
	background-image: url("/cn/app-store/discoverability/images/cn-aside-promoted-large_2x.png");
}
:lang(ja-JP) .aside-promoted {
	background-image: url("/jp/app-store/discoverability/images/jp-aside-promoted-large_2x.png");
}
:lang(ko-KR) .aside-promoted {
	background-image: url("/kr/app-store/discoverability/images/kr-aside-promoted-large_2x.png");
}

@media only screen and (max-width: 1068px) {
	.section-discover .copy-wrap {
		padding-right: 3em;
	}
	.section-discover .device-discover {
		margin: 2em 0 4em -68px;
	}
	.screen-search {
		background-image: url("/app-store/discoverability/images/screen-search-medium_2x.jpg");
	}
	.screen-categories {
		background-image: url("/app-store/discoverability/images/screen-categories-medium_2x.jpg");
	}
	.screen-today {
		background-image: url("/app-store/discoverability/images/screen-today-medium_2x.jpg");
	}
	.screen-games {
		background-image: url("/app-store/discoverability/images/screen-games-medium_2x.jpg");
	}
	.screen-apps {
		background-image: url("/app-store/discoverability/images/screen-apps-medium_2x.jpg");
	}
	.screen-featured {
		background-image: url("/app-store/discoverability/images/screen-featured-large_2x.png");
	}
}

@media only screen and (max-width: 734px) {
	.row-flex {
		display: block;
	}
	.column-flex-center {
		padding: 1em 0;
	}
	.device-flex {
		margin: 0;
	}
	.section-discover .copy-wrap {
		padding-right: 0;
	}
	.section-discover .device-discover {
		margin: 0 auto 0;
	}
	.section-discover .row-quad .column:nth-of-type(1) p,
	.section-discover .row-quad .column:nth-of-type(2) p {
		margin-bottom: 0;
	}
}

/* ========== Grid Changes ========== */
#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;
}
#main section .section-content .row > .column.divider-top {
	padding-top: 2em;
	margin-top: 2em;
}

@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: 2em;
		padding-bottom: 2em;
	}
	#main section .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section .section-content .row > .column {
		padding: 1em 0;
	}
	#main section .section-content .row > .column.divider-top {
		padding-top: 1em;
		margin-top: 1em;
	}
}

/* === DARK MODE === */
html body[data-color-scheme="dark"] .image-icon {
	filter: brightness(2);
}
html body[data-color-scheme="dark"] .image-icon-small {
	filter: brightness(2);
}
