/* Center Style
.style-square .block-quick-links__inner a {
	display: grid;
	justify-content: center;
	align-items: center;
	white-space: nowrap;
}

.style-square .block-quick-links__inner img {
	grid-area: 1 / 1 / 2 / 2;
	z-index: 1;
}

.style-square .block-quick-links__inner span {
	max-width: calc( 100% - 48px );
	margin: 0 auto;
	grid-area: 1 / 1 / 2 / 2;
	z-index: 2;
}
/* End Center Style */

/* Lower Style
.style-square .block-quick-links__inner span {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	width: max-content;
}
/* End Lower Style */

/* Bottom Style
.style-square .block-quick-links__inner span {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: max-content;
}
/* End Bottom Style */

/* Corner Style
.style-square .block-quick-links__inner span {
	position: absolute;
	bottom: 0;
	left: 0;
	width: max-content;
}
/* End Corner Style */


.block-quick-links {
	--cwp-columns: 2;
	--cwp-gap: 8px;
}
.block-quick-links__inner {
	display: grid;
	grid-template-columns: repeat( var(--cwp-columns), minmax( 0, 1fr ) );
	gap: var(--cwp-gap);
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}

.block-quick-links__inner span {
	background: var(--wp--preset--color--background);
	display: inline-block;
	padding: 8px 16px;
	line-height: var(--wp--custom--line-height--small);
}

.block-quick-links__inner a {
	display: block;
	position: relative;
	font-weight: 700;
	text-decoration: none;
	z-index: 2;
}

.block-quick-links__inner img {
	z-index: 1;
}

.block-quick-links.style-circle {
	--cwp-columns: 3;
}

.block-quick-links.style-circle a {
	max-width: 200px;
}

.block-quick-links.style-circle img {
	border-radius: 50%;
}

.block-quick-links.style-circle span {
	background: transparent;
}

.layout-flex .block-quick-links__inner a {
	flex-basis: 150px;
	flex-grow: 1;
}

@media only screen and (min-width: 600px) {

	.block-quick-links {
		--cwp-gap: 16px;
		--cwp-columns: 3;
	}

	.block-quick-links.style-circle {
		--cwp-columns: 6;
	}

	.layout-flex .block-quick-links__inner {
		display: flex;
	}
}

@media only screen and (max-width: 900px) {
	.layout-flex .block-quick-links__inner {
		flex-wrap: wrap;
	}
}
@media only screen and (min-width: 900px) {
	.block-quick-links {
		--cwp-columns: 6;
	}

	.block-quick-links.style-circle {
		--cwp-columns: 9;
	}
}
