/* quick-links: original homepage design and editable color variables. */

:where(.wp-site-blocks, .editor-styles-wrapper) .quick-links {
	max-width: 1120px;
	margin: -29px auto 65px;
	display: grid;
	grid-template-columns: repeat(4,1fr);
	position: relative;
	z-index: 4;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 15px 30px #30245d18;
	overflow: hidden;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .quick-links .quick-link {
	padding: 24px 26px;
	text-decoration: none;
	color: var(--ink);
	border-right: 1px solid #eee;
	transition: .2s;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .quick-links .quick-link:last-child {
	border: 0;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .quick-links .quick-link:hover {
	background: #f7f4ff;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .quick-links b {
	display: block;
	color: var(--purple);
	font-size: 26px;
	margin-bottom: 6px;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .quick-links span {
	font-weight: 700;
	display: block;
}

:where(.wp-site-blocks, .editor-styles-wrapper) .quick-links small {
	color: var(--muted);
	font-size: 12px;
}

@media(max-width:760px) {
	:where(.wp-site-blocks, .editor-styles-wrapper) .quick-links {
		margin: -14px 14px 48px;
		grid-template-columns: 1fr 1fr;
	}
	
	:where(.wp-site-blocks, .editor-styles-wrapper) .quick-links .quick-link {
		padding: 17px;
		border-bottom: 1px solid #eee;
	}
	
	:where(.wp-site-blocks, .editor-styles-wrapper) .quick-links .quick-link:nth-child(2) {
		border-right: 0;
	}
	
}

.np-block.quick-links { background: var(--quick-bg, #fff); }
.np-block.quick-links .quick-link { border-color: var(--quick-border, #eee); }
.np-block.quick-links .quick-link:hover { background: var(--quick-hover, #f7f4ff); }
@media (min-width: 761px) {
	.np-block.quick-links .quick-link:nth-child(4n) { border-right: 0; }
}
