/* Defaults */

body[data-color-scheme="light"] {
	/* --bg-light-override: #f5f5f7;
	--bg-fill: #fff;
	--bg-fill-invert: #000; */
	--card-border-color: #eeeeee;
}

body[data-color-scheme="dark"] {
	/* --bg-light-override: #161617;
	--bg-fill: #000;
	--bg-fill-invert: #fff; */
	--card-border-color: #222;
}

:root {
	--sc-gallery-card-width: 180px !important;
	--sk-tile-padding: 1.5em;
	--tile-custom-gap: 1em;
}

@media only screen and (max-width: 1068px) {
	.sc-gallery__item {
		--sc-gallery-card-width: 150px !important;
	}
}

.card-media img {
	border-bottom: 1px solid var(--card-border-color);
}

/* .theme-dark .tile-content hr {
	border-color: var(--card-border-color);
} */

.bg-light {
	background-color: #f5f5f7;
}

/* Custom Styles */
.sc-gallery__item:hover a .link,
.sc-gallery__item a .link:hover {
	text-decoration: none !important;
}

.download-detail {
	margin-top: 0 !important;
}

.beta-img {
	padding: 1em;
	display: block;
	margin-bottom: 0.5em;
}

.bpn-nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.grid-item-center {
	place-items: center;
}

.item-bg {
	background-color: #f5f5f7;
	padding: 1.5em 2.5em;
	border-radius: 18px;
}

body[data-color-scheme="dark"] .item-bg {
	background-color: #141414;
}

.item-bg + p {
	margin-top: 1em;
}

@media only screen and (max-width: 734px) {
	.item-bg img {
		width: 50%;
	}
}

.tile.tile-no-bg {
	background-color: unset !important;
}

/* .tile.tile-border {
	border: 1px solid var(--card-border-color);
} */

.links-list {
	margin-top: 1em;
	min-height: 140px;
}

.links-list p {
	margin-top: 0.3em;
}

.links-list hr {
	margin-bottom: 1.25em;
}

.links-link-container {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.4rem;
}

.links-link-container > sf-symbol,
.links-link-container > .icon {
	display: inline-block;
	width: 1.1em;
	height: 1.1em;
	flex: 0 0 1.1em;
}

.links-link-container > sf-symbol {
	margin-top: 0.2em;
}

/* 
body[data-color-scheme="dark"] .link {
	color: rgb(41, 151, 255);
} */

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

section.section.section-hero,
section.section.section-beta {
	margin-bottom: 0;
}
