h2,
h3,
h4,
h5 {
	scroll-margin-top: 82px !important;
}

.section-account {
	padding-top: 4em;
	padding-bottom: 4em;
}

.os-charts .chart {
	margin-bottom: 1.5em;
}

.divider-bottom {
	padding-bottom: 3em !important;
}

article h1 + h2 {
	margin-top: 1em;
}

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

article .headline-divider {
	margin-top: 1.6em;
	padding-top: 1.6em;
	border-top: 1px solid #6e6e73;
}

@media only screen and (max-width: 734px) {
	h1 {
		font-size: 36px;
	}
	#section-contact {
		border-left: none;
	}
}

ul.gutter-right {
	margin-right: 1em;
}
@media only screen and (max-width: 734px) {
	ul.gutter-right {
		margin-right: 0;
	}
}

#section-overview {
	padding-top: 1.5em;
}

@media only screen and (max-width: 734px) {
	#section-contact {
		padding: 2em 1em !important;
		margin: 0 !important;
		border-top: 1px solid #e3e3e3;
		text-align: center;
	}
	#section-forums {
		padding: 2em 1em !important;
		margin: 0 !important;
		text-align: center;
	}
	#section-overview .column.large-4 {
		padding: 2em;
	}
	#section-forums img,
	#section-overview img {
		margin: 1em auto 2em;
	}
}

.section-forums .guidelines {
	padding-left: 1.3em;
}
.section-forums .guidelines + p {
	margin-top: 1.4em;
}

.main ul:not(.compound-item-list) li:not(:last-child),
.main ol:not(.compound-item-list) li:not(:last-child) {
	margin-bottom: 0.5em;
}

@media only screen and (max-width: 734px) {
	.main ul:not(.compound-item-list) li,
	.main ol:not(.compound-item-list) li {
		margin-bottom: 0.5em;
	}
}

.compound-item-list > li {
	margin-bottom: 1.2em;
}

ol > li ul,
ul > li ul,
ol > li ol,
ul > li ol {
	margin-top: 0.5em;
}

table {
	width: 100%;
	margin: 1em 0;
}
table th,
table td {
	padding: 1em 0;
	border-bottom: 1px solid #ccc;
}
th.header {
	font-size: 1em;
	font-weight: bold;
	line-height: 1.285em;
	background: none;
	text-align: left;
}
th.fixed-width {
	width: 128px;
	font-size: 0.8571em;
	font-weight: bold;
	text-align: center;
}
td {
	text-align: center;
}
td:first-child {
	text-align: left;
}

/* ========== Articles ========== */
#articles
	section.section.section-category:not(:first-of-type)
	.section-content.divider-top {
	padding-top: 4em !important;
}

/* ========== App Store ========== */
#app-store-wip article a,
#app-store article a {
	white-space: normal;
}

#app-store-wip #main article,
#app-store #main article {
	padding-top: 0;
}
#app-store-wip #main > article > section.section:first-of-type,
#app-store #main > article > section.section:first-of-type {
	padding-top: 3em;
	padding-bottom: 4em;
	margin-bottom: 3em;
}

.stat-row {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.stat-row .stat-right {
	min-height: calc(36px + 21px);
	margin-top: 0;
	padding: 10px 0;
}

/* ========== Compare Memberships ========== */
#compare-table th.fixed-width {
	width: 200px;
}
@media only screen and (max-width: 1068px) {
	#compare-table th.fixed-width {
		width: 180px;
	}
}
@media only screen and (max-width: 734px) {
	#compare-table th.fixed-width {
		width: 140px;
	}
}

/* ========== Xcode ========== */
#xcode ul.links {
	margin-bottom: 0;
}
@media only screen and (max-width: 1068px) {
	#xcode ul.links.gutter {
		margin-left: 20px;
	}
}
@media only screen and (max-width: 734px) {
	#xcode ul.links.gutter {
		margin-left: 0;
	}
}

/* ========== Grid ========== */
#main > article {
	padding-top: 0;
	padding-bottom: 0;
}
#main > article > section.section:not(.section-calc) {
	padding-top: 4em;
	padding-bottom: 4em;
}
#main section:not(.section-calc) .section-content .row {
	margin-left: 0;
	margin-right: 0;
}
#main section:not(.section-calc) .section-content .row > .column {
	padding: 0;
}

@media only screen and (max-width: 1068px) {
	#main section:not(.section-calc) .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section:not(.section-calc) .section-content .row > .column {
		padding: 0;
	}
}

@media only screen and (max-width: 734px) {
	#main > article > section.section:not(.section-calc) {
		padding-top: 3em;
		padding-bottom: 3em;
	}
	#main section:not(.section-calc) .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	#main section:not(.section-calc) .section-content .row > .column {
		padding: 0;
	}
}

/* ===== router ===== */
.router-icon {
	display: inline-block;
}

/* asides */

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

#main aside {
	background-color: #fafafa;
	border: 1px solid;
	border-radius: 15px;
	padding: 0.94118rem;
}
#main aside .aside-name:lang(ar) {
	letter-spacing: 0;
	font-family: SF Pro AR, SF Pro Gulf, SF Pro Text, SF Pro Icons, Helvetica Neue,
		Helvetica, Arial, sans-serif;
}
#main aside .aside-name:lang(ja) {
	letter-spacing: 0;
	font-family: SF Pro JP, SF Pro Text, SF Pro Icons, Hiragino Kaku Gothic Pro,
		"\30D2\30E9\30AE\30CE\89D2\30B4   Pro W3", "\30E1\30A4\30EA\30AA", Meiryo,
		"\FF2D\FF33   \FF30\30B4\30B7\30C3\30AF", Helvetica Neue, Helvetica, Arial,
		sans-serif;
}
#main aside .aside-name:lang(ko) {
	letter-spacing: 0;
	font-family: SF Pro KR, SF Pro Text, SF Pro Icons, Apple Gothic, HY Gulim,
		MalgunGothic, HY Dotum, Lexi Gulim, Helvetica Neue, Helvetica, Arial,
		sans-serif;
}
#main aside .aside-name:lang(th) {
	letter-spacing: 0;
	font-family: SF Pro TH, SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica,
		Arial, sans-serif;
}
#main aside .aside-name:lang(zh) {
	letter-spacing: 0;
}
#main aside .aside-name:lang(zh-CN) {
	font-family: SF Pro SC, SF Pro Text, SF Pro Icons, PingFang SC, Helvetica Neue,
		Helvetica, Arial, sans-serif;
}
#main aside .aside-name:lang(zh-HK) {
	font-family: SF Pro HK, SF Pro Text, SF Pro Icons, PingFang HK, Helvetica Neue,
		Helvetica, Arial, sans-serif;
}
#main aside .aside-name:lang(zh-MO) {
	font-family: SF Pro HK, SF Pro TC, SF Pro Text, SF Pro Icons, PingFang HK,
		Helvetica Neue, Helvetica, Arial, sans-serif;
}
#main aside .aside-name:lang(zh-TW) {
	font-family: SF Pro TC, SF Pro Text, SF Pro Icons, PingFang TC, Helvetica Neue,
		Helvetica, Arial, sans-serif;
}
#main aside.aside-deprecated {
	background-color: #fff9f4;
	border-color: #bf4800;
}
#main aside.aside-deprecated .aside-name {
	color: #bf4800;
	font-size: 17px;
	line-height: 1.52947;
	font-weight: 600;
	letter-spacing: -0.021em;
	font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial,
		sans-serif;
}
#main aside.aside-experiment {
	background-color: #fcf8ff;
	border-color: #8c28c2;
}
#main aside.aside-experiment .aside-name {
	color: #8c28c2;
	font-size: 17px;
	line-height: 1.52947;
	font-weight: 600;
	letter-spacing: -0.021em;
	font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial,
		sans-serif;
}
#main aside.aside-important {
	background-color: #fffef2;
	border-color: #936d00;
}
#main aside.aside-important .aside-name {
	color: #936d00;
	font-size: 17px;
	line-height: 1.52947;
	font-weight: 600;
	letter-spacing: -0.021em;
	font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial,
		sans-serif;
}
#main aside.aside-note {
	background-color: #f5f5f7;
	border-color: #696969;
}
#main aside.aside-note .aside-name {
	color: #696969;
	font-size: 17px;
	line-height: 1.52947;
	font-weight: 600;
	letter-spacing: -0.021em;
	font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial,
		sans-serif;
}
#main aside.aside-tip {
	background-color: #faffff;
	border-color: #007c78;
}
#main aside.aside-tip .aside-name {
	color: #007c78;
	font-size: 17px;
	line-height: 1.52947;
	font-weight: 600;
	letter-spacing: -0.021em;
	font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial,
		sans-serif;
}
#main aside.aside-warning {
	background-image: none;
	background-color: #fff2f4;
	border-color: #e30000;
}
#main aside.aside-warning .aside-name {
	color: #e30000;
	font-size: 17px;
	line-height: 1.52947;
	font-weight: 600;
	letter-spacing: -0.021em;
	font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial,
		sans-serif;
}

/* === DARK MODE === */
body[data-color-scheme="dark"] .stat-row img {
	filter: invert(1);
}
body[data-color-scheme="dark"] #main aside.aside-note {
	background-color: var(--color-aside-note-background);
	border-color: var(--color-aside-note-border);
	box-shadow: 0 0 1px 0 var(--color-aside-note-border) inset,
		0 0 1px 0 var(--color-aside-note-border);
}
body[data-color-scheme="dark"] #main aside.aside-note .aside-name {
	color: var(--color-aside-note);
}
body[data-color-scheme="dark"] #main aside.aside-deprecated {
	background-color: var(--color-aside-deprecated-background);
	border-color: var(--color-aside-deprecated-border);
	box-shadow: 0 0 1px 0 var(--color-aside-deprecated-border) inset,
		0 0 1px 0 var(--color-aside-deprecated-border);
}
body[data-color-scheme="dark"] #main aside.aside-deprecated .aside-name {
	color: var(--color-aside-deprecated);
}
body[data-color-scheme="dark"] #main aside.aside-important {
	background-color: var(--color-aside-important-background);
	border-color: var(--color-aside-important-border);
	box-shadow: 0 0 1px 0 var(--color-aside-important-border) inset,
		0 0 1px 0 var(--color-aside-important-border);
}
body[data-color-scheme="dark"] #main aside.aside-important .aside-name {
	color: var(--color-aside-important);
}
body[data-color-scheme="dark"] #main aside.aside-tip {
	background-color: var(--color-aside-tip-background);
	border-color: var(--color-aside-tip-border);
	box-shadow: 0 0 1px 0 var(--color-aside-tip-border) inset,
		0 0 1px 0 var(--color-aside-tip-border);
}
body[data-color-scheme="dark"] #main aside.aside-tip .aside-name {
	color: var(--color-aside-tip);
}
body[data-color-scheme="dark"] #main aside.aside-warning {
	background-color: var(--color-aside-warning-background) !important;
	border-color: var(--color-aside-warning-border) !important;
	box-shadow: 0 0 1px 0 var(--color-aside-warning-border) inset,
		0 0 1px 0 var(--color-aside-warning-border);
}
body[data-color-scheme="dark"] #main aside.aside-warning .aside-name {
	color: var(--color-aside-warning);
}
body[data-color-scheme="dark"] #main aside.aside-experiment {
	background-color: var(--color-aside-experiment-background);
	border-color: var(--color-aside-experiment-border);
	box-shadow: 0 0 1px 0 var(--color-aside-experiment-border) inset,
		0 0 1px 0 var(--color-aside-experiment-border);
}
body[data-color-scheme="dark"] #main aside.aside-experiment .aside-name {
	color: var(--color-aside-experiment);
}
body[data-color-scheme="dark"] #main pre {
	background-color: var(--fill-tertiary);
}
