body[data-color-scheme="light"] {
	--bg-design: #f5f5f7;
	--bg-tile: #fff;
	--font-tile-color: #1d1d1f;
	--font-accent-color: #6e6e73;
}

body[data-color-scheme="dark"] {
	--bg-design: #141414;
	--bg-tile: #000;
	--font-tile-color: #f5f5f7;
	--font-accent-color: #91918c;
}

.unit-link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 3;
	outline: none;
}

.main .typography-hero-headline {
	font-weight: 700 !important;
	color: #000;
}

h1 + .typography-intro {
	margin-top: 1em;
	color: #000;
}

body[data-color-scheme="dark"] .main .typography-hero-headline,
body[data-color-scheme="dark"] h1 + .typography-intro {
	color: #fff;
}

html body[data-color-scheme="dark"] section.section.section-hero a {
	color: #94c7ff !important;
}

.hero-text {
	font-size: 28px;
	line-height: 34px;
	font-weight: 500;
	letter-spacing: 0.012em;
	font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	margin-bottom: 4em;
}

@media only screen and (max-width: 735px) {
	.hero-text {
		font-size: 19px;
		line-height: 1.4211;
	}
}

.hello-hero {
	position: absolute;
	width: 100%;
	height: 692px;
	background-repeat: no-repeat;
	background-size: 1980px 860px;
	background-position: center bottom;
	max-width: 2400px;
}

.main section.section.section-hero {
	min-height: 692px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
}

@media only screen and (max-width: 1068px) {
	.hello-hero {
		height: 650px;
		background-size: 1600px 695px;
	}

	.main section.section.section-hero {
		min-height: 588px;
	}

	.hero-text {
		margin-bottom: 2em;
	}
}

@media only screen and (max-width: 735px) {
	.hello-hero {
		height: 650px;
		background-size: 200% auto;
		background-position: center center;
	}

	.main section.section.section-hero {
		min-height: 500px;
	}

	.hero-text {
		margin-bottom: 3em;
	}
}

/* @media only screen and (max-width: 320px) {
	.hello-hero {
		height: 700px;
		background-position: center top;
	}
} */

body[data-color-scheme="dark"] .main section.section.section-hero a.link {
	color: #06c;
}

img.dark-image,
img.light-image {
	display: none;
}

body[data-color-scheme="dark"] img.dark-image,
body[data-color-scheme="light"] img.light-image {
	display: block;
}

body[data-color-scheme="dark"] img.light-image,
body[data-color-scheme="light"] img.dark-image {
	display: none;
}

/* ========== Card ========== */
h2 + .tiles-list,
h3 + .tiles-list,
p + .tiles-list,
div + .tiles-list {
	margin-top: 1.6em;
}

.tiles-list {
	align-items: stretch;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	margin: 0;
	gap: 36px;
}

@media only screen and (max-width: 1068px) {
	.tiles-list {
		gap: 25px;
	}
}

@media only screen and (max-width: 735px) {
	.tiles-list {
		flex-flow: column;
		justify-content: center;
		gap: 36px;
	}
}

.tile-item {
	position: relative;
	list-style: none;
}

.item-hero {
	flex-basis: 100%;
}

@media only screen and (max-width: 735px) {
	.item-hero {
		flex-basis: auto;
	}
}

.tile {
	height: 100%;
	background-color: var(--bg-tile);
	color: var(--font-tile-color) !important;
	display: flex;
	border-radius: 16px;
	border-top-left-radius: 16px;
	border-top-right-radius: 16px;
	border-bottom-right-radius: 16px;
	border-bottom-left-radius: 16px;
	overflow: hidden;
	z-index: 0;
	position: relative;
}

.tile.tile-2up {
	flex-direction: column;
	width: 472px;
}

.tile:hover {
	text-decoration: none;
}

.tile.tile-hero {
	flex-direction: row;
	width: 100%;
}

@media only screen and (max-width: 1068px) {
	.tile.tile-hero {
		max-height: 255px;
	}
}

@media only screen and (max-width: 735px) {
	.tile.tile-hero {
		max-height: unset;
	}
}

@media only screen and (max-width: 1068px) {
	.tile.tile-2up {
		flex-direction: column;
		width: 333px;
	}
}

@media only screen and (max-width: 735px) {
	.tile.tile-2up,
	.tile.tile-hero {
		flex-direction: column;
		width: 100%;
	}
}

/* tile-media */
.tile.tile-hero .tile-media {
	width: 100%;
	height: auto;
	min-height: 362px;
	flex-basis: 643px;
	flex-shrink: 1;
}

@media only screen and (max-width: 1068px) {
	.tile.tile-hero .tile-media {
		min-height: 255px;
		flex-basis: 453px;
		flex-shrink: 1;
	}
}

.tile.tile-2up .tile-media {
	width: 100%;
	height: 266px;
	min-height: auto;
	flex-basis: auto;
	flex-shrink: 1;
}

@media only screen and (max-width: 1068px) {
	.tile.tile-2up .tile-media {
		height: 187px;
	}
}

@media only screen and (max-width: 735px) {
	.tile.tile-2up .tile-media,
	.tile.tile-hero .tile-media {
		width: 100%;
		/* height: 266px; */
		min-height: auto;
		flex-basis: auto;
		flex-shrink: 1;
		height: auto;
	}
}

/* tile-image */
.tile.tile-hero .tile-image {
	background-size: contain;
	height: 100%;
	width: 100%;
	height: auto;
	min-height: 362px;
	background-repeat: no-repeat;
}

@media only screen and (max-width: 1068px) {
	.tile.tile-hero .tile-image {
		min-height: 255px;
	}
}

.tile.tile-2up .tile-image {
	background-size: cover;
	height: 100%;
	width: 100%;
	height: auto;
	min-height: 266px;
	background-repeat: no-repeat;
}

@media only screen and (max-width: 1068px) {
	.tile.tile-2up .tile-image {
		min-height: 187px;
	}
}

@media only screen and (max-width: 735px) {
	.tile.tile-2up .tile-image,
	.tile.tile-hero .tile-image {
		background-size: contain;
		min-height: unset;
		height: unset;
		padding-top: 56.5%;
	}
}

/* tile copy */
.tile .tile-description {
	padding: 32px;
	justify-content: space-between;
	flex-basis: 0;
}
@media only screen and (max-width: 1068px) {
	.tile .tile-description {
		padding: 24px;
	}
}

.tile .tile-description {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	flex-grow: 1;
}

.tile-headline {
	font-size: 24px;
	line-height: 1.16667;
	font-weight: 700;
	letter-spacing: 0.009em;
	font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	overflow: hidden;
}

.tile-hero .tile-headline {
	font-size: 32px;
	line-height: 1.125;
	font-weight: 700;
	letter-spacing: 0.004em;
	font-family: "SF Pro Display", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	display: -webkit-box;
	overflow: hidden;
}

@media only screen and (max-width: 1068px) {
	.tile-hero .tile-headline {
		font-size: 19px;
		line-height: 1.21053;
		letter-spacing: 0.012em;
	}
}

.tile-paragraph {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.28577;
	font-weight: 600;
	letter-spacing: -0.016em;
	font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

@media only screen and (max-width: 1068px) {
	.tile-paragraph {
		font-size: 10px;
	}
}

@media only screen and (max-width: 735px) {
	.tile-paragraph {
		font-size: 12px;
	}
}

.tile-category {
	margin-bottom: 8px;
	font-size: 12px;
	line-height: 1.33337;
	font-weight: 700;
	letter-spacing: -0.01em;
	font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	color: var(--font-accent-color);
}

.tile-timestamp {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.28577;
	font-weight: 600;
	letter-spacing: -0.016em;
	font-family: "SF Pro Text", "SF Pro Icons", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	color: var(--font-accent-color);
}

/* end tile */

.video-card-1 {
	background-image: url("https://devimages-cdn.apple.com/wwdc-services/images/D35E0E85-CCB6-41A1-B227-7995ECD83ED5/8126/8126_wide_900x506_2x.jpg");
}

.video-card-2 {
	background-image: url("https://devimages-cdn.apple.com/wwdc-services/images/D35E0E85-CCB6-41A1-B227-7995ECD83ED5/8259/8259_wide_900x506_2x.jpg");
}

.video-card-3 {
	background-image: url("https://devimages-cdn.apple.com/wwdc-services/images/D35E0E85-CCB6-41A1-B227-7995ECD83ED5/8255/8255_wide_900x506_2x.jpg");
}

.article-card-1 {
	background-image: url("/design/images/hello/article-ada23-winners_2x.jpg");
}

.article-card-2 {
	background-image: url("/design/images/hello/article-any-flighty_2x.jpg");
}

.article-card-3 {
	background-image: url("/design/images/hello/article-marvel_2x.jpg");
}
.hig-card-1 {
	background-image: url("/design/images/hello/hig-components-ornaments-intro_2x.jpg");
}

.hig-card-2 {
	background-image: url("/design/images/hello/hig-foundations-immersive-experiences-intro_2x.jpg");
}

.hig-card-3 {
	background-image: url("/design/images/hello/hig-platforms-visionOS-intro_2x.jpg");
}

body[data-color-scheme="dark"] .hig-card-1 {
	background-image: url("/design/images/hello/hig-components-ornaments-intro-dark_2x.jpg");
}
body[data-color-scheme="dark"] .hig-card-2 {
	background-image: url("/design/images/hello/hig-foundations-immersive-experiences-intro-dark_2x.jpg");
}
body[data-color-scheme="dark"] .hig-card-3 {
	background-image: url("/design/images/hello/hig-platforms-visionOS-intro-dark_2x.jpg");
}

.resource-image {
	border-radius: 18px;
}

@media only screen and (max-width: 735px) {
	.resource-image {
		border-radius: 10px;
	}
}

/* ========== Grid Changes ========== */
.main section {
	background-color: var(--bg-design);
}

.main section.section-meet,
.main section.section-videos,
.main section.section-articles,
.main section.section-resources {
	padding-top: 4em;
	padding-bottom: 4em;
}

.main section.section:not(.section-hero) {
	margin-top: 2em;
}

@media only screen and (max-width: 735px) {
	.main section.section-meet,
	.main section.section-videos,
	.main section.section-articles,
	.main section.section-resources {
		padding-top: 3em;
		padding-bottom: 3em;
	}
}
