/**
 * core/button block styles = ico 06 Buttons (LG). Registered in inc/ic-patterns.php.
 * The unstyled button already renders Solid Citrus through theme.json's role tokens (D12); `is-style-ic-solid-citrus`
 * pins it on pages whose skin restates another button (300 NLS / Plaza / SCD parity blocks).
 * The 1px stroke is an inset box-shadow so every variant keeps the same box (no border width).
 */
.wp-block-button[class*="is-style-ic-"] .wp-block-button__link {
	border-radius: var(--ico-btn-radius);
	padding: var(--ico-btn-lg-padding);
	font-family: var(--ico-type-button-label-lg-family);
	font-size: var(--ico-type-button-label-lg-size);
	font-weight: var(--ico-type-button-label-lg-weight);
	line-height: var(--ico-type-button-label-lg-lh);
	letter-spacing: var(--ico-type-button-label-lg-ls);
	text-transform: var(--ico-type-button-label-lg-case);
	text-decoration: none;
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.wp-block-button[class*="is-style-ic-"] .wp-block-button__link:focus-visible {
	outline: var(--ico-btn-focus-ring-width) solid var(--ico-btn-focus-ring-color);
	outline-offset: var(--ico-btn-focus-ring-offset);
}

/* Solid and stroke variants: one rule per state, values straight from the tokens. */
.wp-block-button.is-style-ic-solid-citrus .wp-block-button__link { background-color: var(--ico-btn-solid-citrus-default-bg); color: var(--ico-btn-solid-citrus-default-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-solid-citrus-default-border); }
.wp-block-button.is-style-ic-solid-citrus .wp-block-button__link:hover,
.wp-block-button.is-style-ic-solid-citrus .wp-block-button__link:focus-visible { background-color: var(--ico-btn-solid-citrus-hover-bg); color: var(--ico-btn-solid-citrus-hover-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-solid-citrus-hover-border); }
.wp-block-button.is-style-ic-solid-citrus .wp-block-button__link:active { background-color: var(--ico-btn-solid-citrus-press-bg); color: var(--ico-btn-solid-citrus-press-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-solid-citrus-press-border); }
.wp-block-button.is-style-ic-stroke-citrus .wp-block-button__link { background-color: var(--ico-btn-stroke-citrus-default-bg); color: var(--ico-btn-stroke-citrus-default-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-stroke-citrus-default-border); }
.wp-block-button.is-style-ic-stroke-citrus .wp-block-button__link:hover,
.wp-block-button.is-style-ic-stroke-citrus .wp-block-button__link:focus-visible { background-color: var(--ico-btn-stroke-citrus-hover-bg); color: var(--ico-btn-stroke-citrus-hover-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-stroke-citrus-hover-border); }
.wp-block-button.is-style-ic-stroke-citrus .wp-block-button__link:active { background-color: var(--ico-btn-stroke-citrus-press-bg); color: var(--ico-btn-stroke-citrus-press-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-stroke-citrus-press-border); }
.wp-block-button.is-style-ic-stroke-black .wp-block-button__link { background-color: var(--ico-btn-stroke-black-default-bg); color: var(--ico-btn-stroke-black-default-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-stroke-black-default-border); }
.wp-block-button.is-style-ic-stroke-black .wp-block-button__link:hover,
.wp-block-button.is-style-ic-stroke-black .wp-block-button__link:focus-visible { background-color: var(--ico-btn-stroke-black-hover-bg); color: var(--ico-btn-stroke-black-hover-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-stroke-black-hover-border); }
.wp-block-button.is-style-ic-stroke-black .wp-block-button__link:active { background-color: var(--ico-btn-stroke-black-press-bg); color: var(--ico-btn-stroke-black-press-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-stroke-black-press-border); }
.wp-block-button.is-style-ic-stroke-white .wp-block-button__link { background-color: var(--ico-btn-stroke-white-default-bg); color: var(--ico-btn-stroke-white-default-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-stroke-white-default-border); }
.wp-block-button.is-style-ic-stroke-white .wp-block-button__link:hover,
.wp-block-button.is-style-ic-stroke-white .wp-block-button__link:focus-visible { background-color: var(--ico-btn-stroke-white-hover-bg); color: var(--ico-btn-stroke-white-hover-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-stroke-white-hover-border); }
.wp-block-button.is-style-ic-stroke-white .wp-block-button__link:active { background-color: var(--ico-btn-stroke-white-press-bg); color: var(--ico-btn-stroke-white-press-fg); box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--ico-btn-stroke-white-press-border); }

/* Text variants: no box, a 2px rule 3px under the label. */
.wp-block-button:is(.is-style-ic-text-black, .is-style-ic-text-white) .wp-block-button__link {
	background: transparent;
	box-shadow: none;
	padding: 0 0 var(--ico-btn-text-rule-gap);
	border-radius: 0;
	font-family: var(--ico-type-button-text-link-lg-family);
	font-size: var(--ico-type-button-text-link-lg-size);
	font-weight: var(--ico-type-button-text-link-lg-weight);
	line-height: var(--ico-type-button-text-link-lg-lh);
	letter-spacing: var(--ico-type-button-text-link-lg-ls);
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 100% var(--ico-btn-text-rule-height);
	background-position: 0 100%;
	background-repeat: no-repeat;
}
.wp-block-button.is-style-ic-text-black .wp-block-button__link { color: var(--ico-btn-text-black-default-fg); background-image: linear-gradient(var(--ico-btn-text-black-default-rule), var(--ico-btn-text-black-default-rule)); }
.wp-block-button.is-style-ic-text-black .wp-block-button__link:hover,
.wp-block-button.is-style-ic-text-black .wp-block-button__link:focus-visible { color: var(--ico-btn-text-black-hover-fg); background-image: linear-gradient(var(--ico-btn-text-black-hover-rule), var(--ico-btn-text-black-hover-rule)); }
.wp-block-button.is-style-ic-text-black .wp-block-button__link:active { color: var(--ico-btn-text-black-press-fg); background-image: linear-gradient(var(--ico-btn-text-black-press-rule), var(--ico-btn-text-black-press-rule)); }
.wp-block-button.is-style-ic-text-white .wp-block-button__link { color: var(--ico-btn-text-white-default-fg); background-image: linear-gradient(var(--ico-btn-text-white-default-rule), var(--ico-btn-text-white-default-rule)); }
.wp-block-button.is-style-ic-text-white .wp-block-button__link:hover,
.wp-block-button.is-style-ic-text-white .wp-block-button__link:focus-visible { color: var(--ico-btn-text-white-hover-fg); background-image: linear-gradient(var(--ico-btn-text-white-hover-rule), var(--ico-btn-text-white-hover-rule)); }
.wp-block-button.is-style-ic-text-white .wp-block-button__link:active { color: var(--ico-btn-text-white-press-fg); background-image: linear-gradient(var(--ico-btn-text-white-press-rule), var(--ico-btn-text-white-press-rule)); }
