sf-symbol {
	font-size: 56px;
}

img + h4,
h4 {
	margin-top: 0.75em;
	margin-bottom: 0.5em;
}

p a:last-of-type {
	margin-bottom: 0.75em;
}

.sf-large {
	margin-bottom: -1em;
}

.compound-item-list li ul li {
	margin-bottom: 0.25em;
}

body[data-color-scheme="light"] {
	--card-button-bg: #f5f5f7;
	--card-button-bg-hover: #eeeeee;
}

body[data-color-scheme="dark"] {
	--card-button-bg: #1d1d1f;
	--card-button-bg-hover: #1a1a1a;
}

.callout {
	padding: 0 !important;
	overflow: hidden;
}

.callout.callout-fixed {
	padding: 1.5em 2em 2em !important;
	background-color: #fff !important;
}
body[data-color-scheme="dark"] .callout.callout-fixed{
	padding: 2em 1.5em !important;
	background-color: #000 !important;
}

.example-images {
	margin: 0 0 0 auto ;
}
@media only screen and (max-width: 1068px) {
	.example-images {
		margin: 0 0 -1.5em 0 ;
	}
}

.example-main-details.card-padding {
	padding: 3em 0 3em 3em;
}
.example-images.card-padding {
	padding: 3em 3em 3em 1.5em;
}


.card-padding-sm {
	padding: 3em 3em 1.5em;
}

.card-padding-sm {
	padding: 1.5em 3em;
	background-color: var(--card-button-bg);
}

@media only screen and (max-width: 1068px) {
	.example-main-details.card-padding {
		padding: 2em 2em 0 2em;
	}
	.example-images.card-padding {
		padding: 1em 2em 3em;
	}
}

@media only screen and (max-width: 734px) {
	.example-main-details.card-padding,
	.card-padding-sm {
		padding: 1.5em;
	}
	.example-images.card-padding {
		padding: 1em 1.5em 2em;
	}
}

.card-padding-sm.card-opener:hover {
	background-color: var(--card-button-bg-hover);
}

.example-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
}

@media only screen and (max-width: 1068px) {
	.example-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
	}

}

.code-badge {
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 600;
	background-color: lightgrey;
	padding: 2px 10px 0;
	border-radius: 3px;
	width: fit-content;
	opacity: 0.75;
}

body[data-color-scheme="dark"] .code-badge {
	background-color: #666;
	color: #fff !important;
	opacity: 1;
}

.example-main-details h3 {
	margin-top: 0.5em;
	margin-bottom: 0em;
}

.example-icon {
	display: inline;
	margin: 0 10px;
}

.example-column-flex {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}


hr {
	margin: 0;
	padding: 0;
}

.link.icon {
	width: fit-content;
}

.details-container h3 {
	margin-bottom: 0.75em !important;
}

.details-container ul.compound-item-list > li {
	font-weight: 600;
}
.details-container ul.compound-item-list > li:not(:first-of-type) {
	margin-top: 1em;
}
.details-container ul.compound-item-list > li > ul > li {
	margin-top: 0.5em;
	font-weight: normal;
}

.icon-wrapper {
	display: block;
}
@media only screen and (max-width: 320px) {
	.icon-wrapper sf-symbol {
		font-size: 50px;
	}
}

/* ========== Grid ========== */

#main section.section.section-hero {
	padding-top: 4em;
	padding-bottom: 4em;
}

#main section.section.section-basic {
	padding-top: 0;
}

#main section .section-content .row > .column.large-6:nth-of-type(odd) {
	padding-right: 2em;
	padding-left: 0;
}
#main section .section-content .row > .column.large-6:nth-of-type(even) {
	padding-right: 0;
	padding-left: 2em;
}

@media only screen and (max-width: 734px) {
	#main section.section.section-hero {
		padding-top: 3em;
		padding-bottom: 3em;
	}
	#main section.section.section-basic {
		padding-top: 0;
	}
	#main section .section-content .row > .column.large-6:nth-of-type(odd),
	#main section .section-content .row > .column.large-6:nth-of-type(even) {
		padding-right: 0;
		padding-left: 0;
	}
}

/* === DARK MODE === */
body[data-color-scheme="dark"] .section-immersive img {
	filter: invert(1);
}
body[data-color-scheme="dark"] .section-advanced img {
	filter: invert(1);
}
body[data-color-scheme="dark"] .section-basic img {
	filter: invert(1);
}
