/* =====================================================
   Legacy collapse polyfill — old-theme collapsible sections
   (wpz-sc-button + data-bs-toggle="collapse") in migrated posts.
   ===================================================== */

.collapse:not(.show) {
	display: none;
}

.collapse.show {
	display: block;
}

.pull-right {
	float: right;
}

/* Button — recovered from the live site's computed styles for
   .wpz-sc-button, since the old theme's CSS isn't part of this stack. */
a.wpz-sc-button {
	display: inline-block;
	line-height: 1em;
	padding: 10px 20px;
	margin: 0 .6em 1.5em 0;
	text-align: center;
	border-radius: 3px;
	border: 1px solid transparent;
	background: #3f70c0;
	color: #fff !important;
	font-weight: bold;
	font-size: 13.5px;
	text-decoration: none !important;
	transition: all .2s ease;
}

a.wpz-sc-button:hover,
a.wpz-sc-button.active {
	background: #2151a1;
	color: #fff !important;
	opacity: .8;
	text-decoration: none !important;
}

/* Full-width, centered variant used inside a collapsible section header */
.collapse-section-header a.wpz-sc-button {
	display: block;
	margin: 0 auto 1.5em;
	width: auto;
	background: #33aad6;
}

.collapse-section-header a.wpz-sc-button.reveal-button {
	background: #3f70c0;
}

/* Font Awesome isn't loaded, so draw the chevron with CSS and rotate it
   on open instead of relying on FA's icon glyph swap. */
.wpz-sc-button .fa-chevron-down {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 0.5em;
	vertical-align: middle;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid currentColor;
	transition: transform 0.15s ease;
}

.wpz-sc-button:not(.collapsed) .fa-chevron-down {
	transform: rotate(180deg);
}
