.sp-eyebrow {
	margin: 0 0 var(--sp-space-1);
	font-size: var(--sp-type-size-label);
	font-weight: 700;
	letter-spacing: var(--sp-type-letter-spacing-label);
	text-transform: uppercase;
	color: var(--sp-color-text-accent);
}

.sp-meta-chip {
	display: inline-flex;
	align-items: center;
	align-self: start;
	width: fit-content;
	max-width: 100%;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--sp-color-layer-1);
	color: var(--sp-color-text-accent);
	font-size: var(--sp-type-size-meta);
}

.wp-block-list.is-style-sp-styled {
	display: grid;
	gap: var(--sp-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--sp-color-text-muted);
}

.wp-block-list.is-style-sp-styled:where(ol) {
	counter-reset: sp-styled-list;
}

.wp-block-list.is-style-sp-styled > li {
	position: relative;
	min-width: 0;
	padding-inline-start: 1.75rem;
	font-weight: 500;
	line-height: var(--sp-type-line-height-copy);
}

.wp-block-list.is-style-sp-styled:where(ol) > li {
	counter-increment: sp-styled-list;
}

.wp-block-list.is-style-sp-styled > li::before {
	content: "";
	position: absolute;
	inset-block-start: 0.18em;
	inset-inline-start: 0;
	width: 1rem;
	height: 1rem;
	background: var(--sp-color-text-accent);
	mask: url("../icons/lucide/circle-check.svg") center / contain no-repeat;
	-webkit-mask: url("../icons/lucide/circle-check.svg") center / contain no-repeat;
}

.wp-block-list.is-style-sp-styled:where(ol) > li::before {
	content: counter(sp-styled-list);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	border-radius: 999px;
	background: var(--sp-color-text-accent);
	color: var(--sp-color-layer-canvas);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
	mask: none;
	-webkit-mask: none;
}

.wp-block-list.is-style-sp-styled li > :first-child {
	margin-block-start: 0;
}

.wp-block-list.is-style-sp-styled li > :last-child {
	margin-block-end: 0;
}

.wp-block-list.is-style-sp-styled ul,
.wp-block-list.is-style-sp-styled ol {
	display: grid;
	gap: var(--sp-space-1);
	margin-block-start: var(--sp-space-1);
	padding-inline-start: var(--sp-space-3);
}

.wp-block-button .wp-block-button__link {
	border: 1px solid transparent;
	border-radius: var(--sp-layout-radius-sm);
	background: var(--sp-color-action-primary-bg);
	color: var(--sp-color-action-primary-text);
	transition:
		background-color var(--sp-motion-duration-standard) var(--sp-motion-ease-standard),
		border-color var(--sp-motion-duration-standard) var(--sp-motion-ease-standard),
		color var(--sp-motion-duration-standard) var(--sp-motion-ease-standard);
}

.wp-block-button .wp-block-button__link:hover {
	background: var(--sp-color-action-primary-hover-bg);
	color: var(--sp-color-action-primary-text);
	text-decoration: none;
}

.wp-block-button .wp-block-button__link:focus-visible {
	text-decoration: none;
}

.wp-block-button .wp-block-button__link:active {
	background: var(--sp-color-action-primary-active-bg);
	color: var(--sp-color-action-primary-text);
}

.wp-block-button .wp-block-button__link[aria-disabled="true"],
.wp-block-button.is-disabled .wp-block-button__link {
	border-color: var(--sp-color-action-disabled-bg);
	background: var(--sp-color-action-disabled-bg);
	color: var(--sp-color-action-disabled-text);
	pointer-events: none;
}

.wp-block-button.is-style-sp-secondary .wp-block-button__link {
	background: var(--sp-color-action-secondary-bg);
	color: var(--sp-color-action-secondary-text);
	border-color: var(--sp-color-action-secondary-bg);
}

.wp-block-button.is-style-sp-secondary .wp-block-button__link:hover {
	background: var(--sp-color-action-secondary-hover-bg);
	color: var(--sp-color-action-secondary-text);
	border-color: var(--sp-color-action-secondary-hover-bg);
}

.wp-block-button.is-style-sp-secondary .wp-block-button__link:active {
	background: var(--sp-color-action-secondary-active-bg);
	color: var(--sp-color-action-secondary-text);
	border-color: var(--sp-color-action-secondary-active-bg);
}

.wp-block-button.is-style-sp-ghost .wp-block-button__link {
	background: transparent;
	color: var(--sp-color-link-default);
	border-color: var(--sp-color-border-strong);
}

.wp-block-button.is-style-sp-ghost .wp-block-button__link:hover {
	background: var(--sp-color-action-ghost-hover-bg);
	color: var(--sp-color-link-hover);
	border-color: var(--sp-color-action-ghost-hover-border);
}

.wp-block-button.is-style-sp-ghost .wp-block-button__link:active {
	background: var(--sp-color-action-ghost-active-bg);
	color: var(--sp-color-link-hover);
	border-color: var(--sp-color-action-ghost-hover-border);
}

.wp-block-button.is-style-sp-link .wp-block-button__link {
	padding: 0;
	border-color: transparent;
	border-radius: 0;
	background: transparent;
	color: var(--sp-color-link-default);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.wp-block-button.is-style-sp-link .wp-block-button__link:hover {
	background: transparent;
	color: var(--sp-color-link-hover);
	text-decoration: underline;
}

.wp-block-button.is-style-sp-link .wp-block-button__link:active {
	background: transparent;
	color: var(--sp-color-link-hover);
}

.wp-block-button.is-style-sp-secondary .wp-block-button__link[aria-disabled="true"],
.wp-block-button.is-style-sp-secondary.is-disabled .wp-block-button__link,
.wp-block-button.is-style-sp-ghost .wp-block-button__link[aria-disabled="true"],
.wp-block-button.is-style-sp-ghost.is-disabled .wp-block-button__link,
.wp-block-button.is-style-sp-link .wp-block-button__link[aria-disabled="true"],
.wp-block-button.is-style-sp-link.is-disabled .wp-block-button__link {
	border-color: var(--sp-color-border-disabled);
	background: var(--sp-color-action-disabled-bg);
	color: var(--sp-color-action-disabled-text);
}

.sp-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	border: 0;
	border-radius: var(--sp-layout-radius-sm);
	padding: 0.55rem 0.85rem;
	background: transparent;
	color: inherit;
	font-weight: 600;
	cursor: pointer;
	transition:
		background-color var(--sp-motion-duration-fast) var(--sp-motion-ease-standard),
		color var(--sp-motion-duration-fast) var(--sp-motion-ease-standard);
}

.sp-search-toggle:hover {
	color: var(--sp-color-link-hover);
}

.sp-search-toggle__icon {
	display: inline-flex;
	width: 1rem;
	height: 1rem;
}

.sp-search-toggle__icon svg {
	width: 100%;
	height: 100%;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

.sp-language-segmented-control {
	display: flex;
	align-items: center;
	gap: 0.125rem;
	padding: 0.125rem;
	border: 1px solid var(--sp-color-border-subtle);
	border-radius: var(--sp-layout-radius-sm);
	background-color: var(--sp-color-layer-1);
}

.sp-language-segment {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 4.375rem;
	padding: 0.125rem 0.75rem;
	background: none;
	border: none;
	border-radius: calc(var(--sp-layout-radius-sm) - 0.125rem);
	color: var(--sp-color-text-muted);
	cursor: pointer;
	font-size: var(--sp-type-size-meta);
	font-weight: 500;
	position: relative;
	transition:
		background-color var(--sp-motion-duration-fast) var(--sp-motion-ease-standard),
		color var(--sp-motion-duration-fast) var(--sp-motion-ease-standard);
}

.sp-language-segment:hover,
.sp-language-segment:focus-visible {
	background-color: var(--sp-color-layer-hover);
	color: var(--sp-color-text-strong);
	outline: none;
}

.sp-language-segment.is-active {
	background-color: var(--sp-color-layer-canvas);
	color: var(--sp-color-text-strong);
	font-weight: 600;
	box-shadow: 0 1px 3px var(--sp-ref-color-ink-alpha-10);
}

.sp-site-header__utility .sp-language-segmented-control {
	border-color: var(--sp-component-header-language-border);
	background-color: var(--sp-component-header-language-bg);
}

.sp-site-header__utility .sp-language-segment {
	color: var(--sp-component-header-language-text);
}

.sp-site-header__utility .sp-language-segment:hover,
.sp-site-header__utility .sp-language-segment:focus-visible {
	background-color: var(--sp-component-header-language-hover-bg);
	color: var(--sp-component-header-language-hover-text);
}

.sp-site-header__utility .sp-language-segment.is-active {
	background-color: var(--sp-component-header-language-active-bg);
	color: var(--sp-component-header-language-active-text);
	box-shadow: var(--sp-component-header-language-active-shadow);
}

.sp-language-segment:disabled {
	color: var(--sp-color-text-disabled);
	cursor: not-allowed;
	opacity: var(--sp-state-disabled-opacity);
}

.sp-language-segment span {
	display: block;
	white-space: nowrap;
}

@media (max-width: 980px) {
	.sp-language-segment {
		min-width: 3.75rem;
		padding: 0.3125rem 0.625rem;
		font-size: var(--sp-type-size-label);
	}

	.sp-language-segmented-control {
		gap: 0.0625rem;
	}
}

@media (max-width: 580px) {
	.sp-language-segmented-control,
	.sp-language-segment {
		width: 100%;
	}
}
