
.custom-s-animated-subheading-container {
	position: relative;
	margin: 1em 0;
	padding: 0;
	color: var(--custom-s--animated-subhead-text, #000000);
}

/* Sidebar Page overrides */
@media screen and (min-width: 48.875em) { /* only differs above 2-column breakpoint */
	.page-template-default .site-main .custom-s-block-animated-subheading {
		position: relative;
		height: 7rem; /* height of heading plus margin */
	}
}

.custom-s-animated-subheading-container p {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: .5em;
	margin: 0;
	padding: 0;
	font-size: .875em;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .025em;
}

.custom-s-animated-subheading-container p::before {
	content: '';
	position: relative;
	display: block;
	height: 3em;
	width: 3em;
	background: transparent url('./aspen-leaf-2x.png') 0 0 no-repeat;
	background-size: contain;
}

.custom-s-block-animated-subheading.custom-s-animate-subheading p::before {
	animation: .33s 6 normal quaking-aspen;
}

@media (prefers-reduced-motion: reduce) {
	.custom-s-block-animated-subheading.custom-s-animate-subheading p::before {
		animation-duration: 0ms;
	}
}

@keyframes quaking-aspen {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}
