.is-style-fw-color-gallery a {
	color: inherit;
}

/* Standalone frmwrk/color block: replicate the swatch-tile sizing and caption
   styling that frmwrk/color-grid's gallery wrapper + theme CSS otherwise only
   apply when this block is nested inside a color-grid (see
   .is-style-fw-color-gallery in the theme's style.css), so a single color
   block looks the same whether or not it's inside a grid. Values match the
   grid's columns-4 default exactly, so this is a no-op when nested. */
/* !important matches the theme's own convention for overriding the global
   .is-layout-constrained max-width rule (see .is-style-fw-color-gallery in
   style.css) — that rule and this one tie on specificity, so without
   !important the winner depends on stylesheet load order. */
.frmwrk-color-swatch {
	max-width: calc( 25% - 24px ) !important;
}

@media ( max-width: 781px ) {
	.frmwrk-color-swatch {
		max-width: calc( 50% - 12px ) !important;
	}
}

.frmwrk-color-swatch a {
	color: inherit;
}

.frmwrk-color-swatch figcaption {
	background: transparent;
	color: inherit;
	font-size: var(--wp--preset--font-size--medium);
	margin-top: 12px !important;
	opacity: 1;
	padding: 0;
	position: relative;
	text-align: left;
	text-shadow: none;
}

.frmwrk-color-swatch figcaption a:only-child {
	text-decoration: none;
}
