:root {
	--sk-tile-padding: 1.5em 1.5em;
}

.section-stats {
	--sk-tile-padding: 1.5em 1.5em !important;
}

body[data-color-scheme="light"] .section-use .tile,
body[data-color-scheme="light"] .section-stats .tile,
body[data-color-scheme="light"] .section-programs .tile {
	--sk-tile-background: #f5f5f7;
}

body[data-color-scheme="dark"] .section-use .tile,
body[data-color-scheme="dark"] .section-stats .tile,
body[data-color-scheme="dark"] .section-programs .tile {
	--sk-tile-background: #111;
}

.bold {
	font-weight: bold;
}

.bold + p {
	margin-top: 0.2em;
}

.industry-card-use {
	margin-bottom: 2em;
}

.icon-array {
	display: flex;
	align-items: center;
	gap: 1.5em;
	margin-top: 3em;
}

@media only screen and (max-width: 734px) {
	.icon-array {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75em;
	}
}

.hero-lockup {
	width: 80%;
	max-width: 1200px;
}

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

.tile-full .tile-content {
	gap: 2em;
}

.section-use .tile-full .tile-content {
	justify-content: unset !important;
}

sf-symbol + p,
img + p {
	margin-top: 0.8em;
}

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

#main section.section.section-info {
	padding-top: 2em;
}

#main section .section-content .row {
	margin-left: 0;
	margin-right: 0;
}
#main section .section-content .row > .column {
	padding: 0 2em 0 0em;
}

@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: 3em;
		padding-bottom: 3em;
	}
	#main section .section-content .row {
		margin-left: 0;
		margin-right: 0;
	}
	/* #main section .section-content .row > .column {
		padding: 0;
	} */
}

/* ========== Hero ========== */
.section-hero .section-content {
	text-align: center;
}

/* ========== SF Symbol gradients ========== */
.sf-gradient-a {
	--s-primary: url(#sf-gradient-a);
	--s-secondary: url(#sf-gradient-a);
	--s-tertiary: url(#sf-gradient-a);
}

.sf-gradient-b {
	--s-primary: url(#sf-gradient-b);
	--s-secondary: url(#sf-gradient-b);
	--s-tertiary: url(#sf-gradient-b);
}

.sf-gradient-c {
	--s-primary: url(#sf-gradient-c);
	--s-secondary: url(#sf-gradient-c);
	--s-tertiary: url(#sf-gradient-c);
}

body[data-color-scheme="light"] .sf-gradient-a {
	--s-primary: url(#sf-gradient-a-light);
	--s-secondary: url(#sf-gradient-a-light);
	--s-tertiary: url(#sf-gradient-a-light);
}

body[data-color-scheme="light"] .sf-gradient-b {
	--s-primary: url(#sf-gradient-b-light);
	--s-secondary: url(#sf-gradient-b-light);
	--s-tertiary: url(#sf-gradient-b-light);
}

body[data-color-scheme="light"] .sf-gradient-c {
	--s-primary: url(#sf-gradient-c-light);
	--s-secondary: url(#sf-gradient-c-light);
	--s-tertiary: url(#sf-gradient-c-light);
}

/* ========== Sensor strip ========== */
.input-strip {
	display: flex;
	justify-content: center;
	gap: 1em;
}

.input-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.caption-sf-icon {
	font-size: 2em;
	margin-bottom: 0.5em;
}

@media only screen and (max-width: 734px) {
	.input-strip {
		flex-direction: column;
	}

	.input-tile {
		margin-bottom: 2em;
	}
}

/* ========== Stats ========== */
.grid-item:has(.stat) .tile {
	height: 100%;
}

.tile-content:has(> .stat) {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.tile-content > .stat {
	margin-top: auto;
}

/* ========== Industries gallery ========== */
.sc-gallery {
	--sc-gallery-card-width: 360px;
}

@media only screen and (max-width: 734px) {
	.sc-gallery {
		--sc-gallery-card-width: 87.5vw;
	}
}

body[data-color-scheme="light"] .sc-gallery__card.tile {
	--sk-tile-background: #fff;
}

body[data-color-scheme="dark"] .sc-gallery__card.tile {
	--sk-tile-background: #000;
}

/* ----- 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: 2em;
	row-gap: 2em;
	width: 100%;
	box-sizing: border-box;
	margin-top: 2em;
}

.section-developer-stories .resource-grid {
	grid-template-columns: repeat(2, 2fr);
}

.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,
.resource-grid + p {
	margin-top: 2em;
}

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

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

/* Prevents content jumping */

.image-wrapper {
	width: 432px;
	height: 242px;
	border-radius: 8px;
}

@media only screen and (max-width: 1068px) {
	.image-wrapper {
		width: 100%;
		height: auto;
		aspect-ratio: var(--video-card-width) / var(--video-card-height);
	}
}

.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: #666666;
	font-size: 15px;
	margin-top: 1em;
	cursor: pointer !important;
}
body[data-color-scheme="dark"] .resource-grid-item h4 {
	color: #d2d2d7;
}

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

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