.bg-gradient {
	background: linear-gradient(to bottom, #f2f1f0 0%, #ffffff 100%);
}
.bg-alt {
	background-color: #f5f5f7;
}
.button-pill {
	border-radius: 1em;
}

.bg-app-store-blue {
	background: linear-gradient(320deg, #d2e3f3 0%, #eff5f9 100%);
}

.callout.whats-new-callout {
	background-color: #f5f5f7;
	border: none;
	padding: 1em;
}
body[data-color-scheme="dark"] .callout.whats-new-callout {
	background-color: var(--fill-secondary-alt);
}

body[data-color-scheme="light"] .light-border {
	filter: drop-shadow(0 0 1px #aaa);
}
body[data-color-scheme="dark"] .light-border {
	filter: none;
}

.whats-new-icon {
	width: 32px;
	margin: 0 0.5em 0.2em 0;
	vertical-align: middle;
	display: inline-block;
}

.device-hero-ipad {
	margin-top: 2em;
}

.device-desktop {
	margin-top: 1em;
}

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

.icon-star {
	filter: invert(1);
	/* background-image: linear-gradient(90deg, #0072ff 0%, #00d4ff 100%); */
}

.design-hero {
	width: 100%;
}
@media only screen and (max-width: 1068px) {
	.design-hero {
		width: 87%;
	}
}
@media only screen and (max-width: 735px) {
	.design-hero {
		width: 100%;
	}
}

/* ----- resource grid ----- */
:root {
	--video-card-width: 900;
	--video-card-height: 506;
}
.resource-grid {
	display: grid;
	grid-template-columns: repeat(2, 2fr);
	/* grid-gap: 20px; */
	column-gap: 3em;
	row-gap: 2em;
	width: 100%;
	box-sizing: border-box;
}

.resource-grid-item {
	height: auto;
	cursor: pointer !important;
	text-decoration: none !important;
}

/* .resource-grid-item-full {
	grid-column: 1/3;
} */

.resource-grid + h2,
.resource-grid + h3 {
	margin-top: 2em;
}

.resource-grid + p {
	margin-top: 0.8em;
}

.resource-grid + .divider-bottom {
	padding-top: 0;
}

@media only screen and (max-width: 1068px) {
	.resource-grid {
		grid-template-columns: repeat(2, 2fr);
		column-gap: 1.5em;
		row-gap: 1em;
	}

	.resource-grid-item {
		grid-column: unset;
	}
}

@media only screen and (max-width: 735px) {
	.resource-grid {
		grid-template-columns: repeat(3, 3fr);
		row-gap: 1.5em;
	}

	.resource-grid-item {
		grid-column: 1/3;
	}
}
/* Prevents content jumping */
.image-wrapper {
	width: 314px;
	height: 177px;
	border-radius: 8px;
}

@media only screen and (max-width: 1068px) {
	.image-wrapper {
		width: 260px;
		height: 147px;
	}
}

.resource-grid-item img {
	border-radius: 8px;
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
	height: auto;
}

a.resource-grid-item {
	color: unset;
}

a.resource-grid-item:hover {
	text-decoration: none !important;
}

.resource-grid-item h4 {
	color: #86868b;
	font-size: 15px;
	margin-top: 1em;
	cursor: pointer !important;
}
body[data-color-scheme="dark"] .resource-grid-item h4 {
	color: #6e6e73;
}

@media only screen and (max-width: 735px) {
	.resource-grid-item h4 {
		margin-top: 0.5em;
	}
}

.resource-grid-item h4:hover {
	text-decoration: none;
}

/* ========== Grid ========== */
#main section.section.section-resources {
	padding-top: 4em;
	padding-bottom: 2em;
}

#main section.section-topics .section-content .row > .column > .row:not(:first-of-type) {
	margin-top: 3em;
}

@media only screen and (max-width: 735px) {
	#main section.section {
		padding-top: 3em;
		padding-bottom: 3em;
	}
	#main section.section.section-resources {
		padding-top: 2em;
		padding-bottom: 2em;
	}
	#main section .section-content .row > .column {
		padding: 0;
	}
}
