/* .wp-block-button.is-style-primary {
	height: 50px;
	width: 200px;
	border-radius: 30px;
	background-color: #009fe3;
	align-items: center;
	z-index: 1;
	color: white;
	display: inline-block;
	flex-shrink: 0;
	line-height: 1;
	overflow: hidden;
	position: relative;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease,
		transform 0.15s ease-out;
	width: 100%;
	border: 2px solid #009fe3;
}
.wp-block-button.is-style-primary::after {
	border-radius: 30px;
	content: "";
	width: 0;
	inset: auto 0 0 0;
	position: absolute;
	transition: all 0.25s ease;
	opacity: 0;
	height: 100%;
	background-color: #1e5082;
	z-index: 1;
}

.wp-block-button.is-style-primary:hover::after {
	opacity: 1;
	width: 100%;
}

.wp-block-button.is-style-primary span {
	z-index: 10;
	position: relative;
}
 */

.wp-block-button.is-style-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	border-radius: 100px;
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
	padding: 0rem 1rem;
	text-decoration: none;
	z-index: 1;
	line-height: 1;
	overflow: hidden;
	position: relative;
	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		transform 0.15s ease-out;

	border: 2px solid var(--wp--preset--color--primary);

	&::after {
		border-radius: 30px;
		content: "";
		width: 0;
		inset: auto 0 0 0;
		position: absolute;
		transition: all 0.25s ease;
		opacity: 0;
		height: 100%;
		background-color: #1e5082;
		z-index: 1;
	}

	&:hover::after {
		opacity: 1;
		width: 100%;
	}

	& a,
	div {
		z-index: 10;
		background-color: transparent;
	}

	/* 	& .rich-text {
		z-index: 10;
		background-color: transparent;
	}

	&:hover .rich-text {
		color: var(--wp--preset--color--white);
	} */
}
