.block-quick-links__header h1,
.block-quick-links__header h2,
.editor-styles-wrapper .block-quick-links__header h1,
.editor-styles-wrapper .block-quick-links__header h2 {
	font-family: var(--wp--custom--typography--interface--font-family);
	font-size: var(--wp--preset--font-size--large);
	font-weight: var(--wp--custom--typography--interface--font-weight);
	letter-spacing: var(--wp--custom--typography--interface--letter-spacing);
	line-height: var(--wp--custom--typography--interface--line-height);
	text-transform: var(--wp--custom--typography--interface--text-transform);
	margin-bottom: 8px;

	& + * {
		margin-top: 8px;
	}
}

.block-quick-links__header p,
.editor-styles-wrapper .block-quick-links__header p {
	font-size: var(--wp--preset--font-size--tiny);
	line-height: var(--wp--custom--line-height--medium);
	font-style: italic;
}

.block-quick-links__header > *:last-child {
	margin-bottom: 16px;
}

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

.block-quick-links__inner span {
	background: var(--wp--preset--color--background);
	display: inline-block;
	padding: 8px 12px;
	line-height: var(--wp--custom--line-height--small);
	font-family: var(--wp--custom--typography--interface--font-family);
	letter-spacing: var(--wp--custom--typography--interface--letter-spacing);
	text-transform: var(--wp--custom--typography--interface--text-transform);
	font-size: var(--wp--preset--font-size--min);
	font-weight: var(--wp--custom--typography--interface--font-weight);
}

.block-quick-links__inner a {
	color: var(--wp--preset--color--foreground);
	display: block;
	position: relative;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	z-index: 2;
}

.block-quick-links__inner img {
	z-index: 1;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

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

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

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

.has-background .block-quick-links.style-circle span {
	color: inherit;
}

.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;
	}

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

	.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: 4;
	}

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