/* Button block */
.wp-block-buttons {
	justify-content: var(--center-on-mobile); /* Center buttons on mobile */
}

.button,
.wp-block-file__button,
.wp-block-post-excerpt__more-link,
.wp-block-buttons .wp-element-button,
.wp-block-buttons .wp-block-button__link.wp-block-button__link {
	background: linear-gradient(180deg, #2F3BBB -21.79%, #4FC6E6 182.05%);
	background-size: 200% 500%;
	color: var(--white);
	border-radius: 50px;
	font-weight: 500;
	line-height: normal;
	padding: .3rem 1em;
	font-size: 1rem; 
	transition: background-size .5s ease; 
	
}

.wp-block-buttons .alt-button .wp-element-button{
	background: #fff;  
	color: var(--wp--preset--color--content);
	border: 1px solid var(--wp--preset--color--content);
	transition: background .25s ease; 
	z-index: 100; 
}

.button:is(:hover, :focus-visible),
.wp-block-file__button:is(:hover, :focus-visible),
.wp-block-post-excerpt__more-link:is(:hover, :focus-visible),
.wp-block-buttons .wp-element-button:is(:hover, :focus-visible),
.wp-block-buttons .wp-block-button__link.wp-block-button__link:is(:hover, :focus-visible) {
	background-size: 200% 100%;
	color: #fff;
}

.wp-block-buttons .alt-button .wp-element-button{
	position: relative; 
	overflow: hidden; 
	color: var(--wp--preset--color--content); 
	z-index: 100; 
	background: #fff;
}
/* 
.wp-block-buttons .alt-button .wp-element-button:before{
	content: ''; 
	position: absolute;
	left: 0;
	top: 0; 
	width: 100%;
	height: 100%; 
	background: #fff; 
	z-index: -1;
} */ 

.wp-block-buttons .alt-button .wp-element-button:after{
	content: ''; 
	position: absolute;
	left: 0;
	top: 0; 
	width: 100%;
	height: 100%; 
	background: linear-gradient(180deg, #2F3BBB -21.79%, #4FC6E6 182.05%);
	background-size: 200% 100%;
	z-index: -1; 
	opacity: 0; 
	transition: opacity .5s ease; 
} 



.wp-block-buttons .alt-button .wp-element-button:focus-visible{
	color: var(--wp--preset--color--content);
}

.wp-block-buttons .alt-button .wp-element-button:hover:after{
	opacity: 1; 
}
.wp-block-buttons .alt-button .wp-element-button:focus-visble:after{
	opacity: 1; 
}

/* .wp-block-buttons .alt-button .wp-element-button:is(:hover, :focus-visible){
	background: var(--wp--preset--color--content);
} */

.wp-block-buttons .alt-button .wp-element-button:hover:after{
	opacity: 1; 
}

.about-width {
	transform: translateY(-.2rem);
}

/* Button block - outline */
.is-style-outline.is-style-outline.wp-block-button .wp-block-button__link {
	background: var(--white);
	color: var(--wp--preset--color--accent);
	border: 1px solid var(--wp--preset--color--accent);
	padding: 0.5em 1em;
}

.wp-block-button.is-style-outline .wp-element-button:is(:hover, :focus-visible) {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: var(--white);
}

/* 
 * iPhone bug fix
 * https://www.notion.so/fueldigital/iPhone-button-contrast-fix-47918141a741472fbc1fba3aa5919ca4 
 */
@supports (-webkit-touch-callout: none) {
	.entry-content a.wp-block-button__link{
		transition: none;
  	}
}