/* Partners: constituencies (patterns/partners-constituencies.php): four overlapping cards (is-style-shingle, sections/shingle.css),
   here with the prototype's 20px gap below 1024 and no minimum height. Icons are masks, drawn in the card's text colour. */
@media (width < 1024px) {
	.wp-block-group.is-style-shingle.partners-cards {
		gap: 20px;
	}
}

.wp-block-group.is-style-shingle.partners-cards > * {
	display: flex;
	flex-direction: column;
	gap: 30px;
	min-height: 0;
}

.section-partners-constituencies .partners-icon {
	flex: none;
	width: 65px;
	height: 65px;
	background: currentColor;
	-webkit-mask: var(--partners-icon) center / contain no-repeat;
	mask: var(--partners-icon) center / contain no-repeat;
}

.partners-icon--data { --partners-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M4%207c0-1.7%203.6-3%208-3s8%201.3%208%203-3.6%203-8%203-8-1.3-8-3Z%22%2F%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M4%207v10c0%201.7%203.6%203%208%203s8-1.3%208-3V7%22%2F%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M4%2012c0%201.7%203.6%203%208%203s8-1.3%208-3%22%2F%3E%3C%2Fsvg%3E"); }
.partners-icon--shield { --partners-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M12%203%204%206v6c0%204.4%203.4%208.3%208%209%204.6-.7%208-4.6%208-9V6l-8-3Z%22%2F%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M12%208v4%22%2F%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M12%2016h.01%22%2F%3E%3C%2Fsvg%3E"); }
.partners-icon--bank { --partners-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M3%2010%2012%204l9%206%22%2F%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M5%2010v8%22%2F%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M9.5%2010v8%22%2F%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M14.5%2010v8%22%2F%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M19%2010v8%22%2F%3E%3Cpath%20vector-effect%3D%22non-scaling-stroke%22%20d%3D%22M3%2020h18%22%2F%3E%3C%2Fsvg%3E"); }
.partners-icon--matrix { --partners-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2069.21%2069.09%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20vector-effect%3D%22non-scaling-stroke%22%20x%3D%223%22%20y%3D%222.99%22%20width%3D%2229.23%22%20height%3D%2217.83%22%2F%3E%3Crect%20vector-effect%3D%22non-scaling-stroke%22%20x%3D%2237.06%22%20y%3D%222.99%22%20width%3D%2229.02%22%20height%3D%2217.83%22%2F%3E%3Crect%20vector-effect%3D%22non-scaling-stroke%22%20x%3D%223.14%22%20y%3D%2248.27%22%20width%3D%2236.47%22%20height%3D%2217.83%22%20fill%3D%22%23000%22%2F%3E%3Crect%20vector-effect%3D%22non-scaling-stroke%22%20x%3D%2244.36%22%20y%3D%2248.27%22%20width%3D%2221.86%22%20height%3D%2217.83%22%2F%3E%3Crect%20vector-effect%3D%22non-scaling-stroke%22%20x%3D%223%22%20y%3D%2225.63%22%20width%3D%2213.67%22%20height%3D%2217.83%22%2F%3E%3Crect%20vector-effect%3D%22non-scaling-stroke%22%20x%3D%2253.91%22%20y%3D%2225.63%22%20width%3D%2212.16%22%20height%3D%2217.83%22%2F%3E%3Crect%20vector-effect%3D%22non-scaling-stroke%22%20x%3D%2221.46%22%20y%3D%2225.63%22%20width%3D%2227.67%22%20height%3D%2217.83%22%2F%3E%3C%2Fsvg%3E"); }

.section-partners-constituencies .partners-card__text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.section-partners-constituencies hr.partners-card__rule {
	width: 100px;
	max-width: none;
	height: 2px;
	margin: 0;
	border: 0;
	background: color-mix(in srgb, currentColor 30%, transparent);
	opacity: 1;
}

.section-partners-constituencies .partners-cards__note {
	margin-top: 30px;
}

.section-partners-constituencies .partners-cards__note a {
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: color-mix(in srgb, var(--wp--preset--color--charcoal) 40%, transparent);
	text-underline-offset: 2px;
	transition: text-decoration-color 300ms var(--wp--custom--ease);
}

.section-partners-constituencies .partners-cards__note a:hover {
	text-decoration-color: var(--wp--preset--color--charcoal);
}
