/**
 * 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)); }

/* Page-scoped campaign accent: Ocean instead of Citrus (MTP-879 La Jolla UTC, page 712 only; Schuler 2026-11-16, a
 * campaign exception to D12). Opt-in: only sections carrying `tt5c-accent-ocean` change, so every other page, the
 * Pattern Library and the IC button styles themselves are untouched. White-label roles only.
 *   Solid CTA: Ocean 1 (brand primary) + white; hover/focus Ocean 2 (accent-alt); press Ocean 1.
 *   Text button (Learn More): label stays text colour, rule Ocean 2; hover/focus label + rule Ocean 2.
 * Focus rings are the shared black ring with its offset gap, visible on the light grounds these buttons sit on. */
.tt5c-accent-ocean .wp-block-button.is-style-ic-solid-citrus .wp-block-button__link,
.tt5c-accent-ocean .wp-block-button.is-style-ic-solid-citrus .wp-block-button__link:active {
	background-color: var(--wp--custom--brand--primary);
	color: var(--wp--preset--color--base);
	box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--wp--custom--brand--primary);
}
.tt5c-accent-ocean .wp-block-button.is-style-ic-solid-citrus .wp-block-button__link:is(:hover, :focus-visible) {
	background-color: var(--wp--custom--brand--accent-alt);
	color: var(--wp--preset--color--base);
	box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--wp--custom--brand--accent-alt);
}
.tt5c-accent-ocean .wp-block-button.is-style-ic-text-black .wp-block-button__link {
	background-image: linear-gradient(var(--wp--custom--brand--accent-alt), var(--wp--custom--brand--accent-alt));
}
.tt5c-accent-ocean .wp-block-button.is-style-ic-text-black .wp-block-button__link:is(:hover, :focus-visible, :active) {
	color: var(--wp--custom--brand--accent-alt);
	background-image: linear-gradient(var(--wp--custom--brand--accent-alt), var(--wp--custom--brand--accent-alt));
}
/* Outline (Stroke Black) in the Ocean accent: the secondary CTA ("Download the Brochure"). Ocean 1 stroke and label;
 * hover/focus fill Ocean 1 with a white label. */
.tt5c-accent-ocean .wp-block-button.is-style-ic-stroke-black .wp-block-button__link,
.tt5c-accent-ocean .wp-block-button.is-style-ic-stroke-black .wp-block-button__link:active {
	background-color: transparent;
	color: var(--wp--custom--brand--primary);
	box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--wp--custom--brand--primary);
}
.tt5c-accent-ocean .wp-block-button.is-style-ic-stroke-black .wp-block-button__link:is(:hover, :focus-visible) {
	background-color: var(--wp--custom--brand--primary);
	color: var(--wp--preset--color--base);
	box-shadow: inset 0 0 0 var(--ico-btn-border-width) var(--wp--custom--brand--primary);
}
