.icon-button-block {

	&.large-buttons {

		column-gap: 30px !important;
		row-gap: 30px !important;

		@media (max-width: 662px) {
			row-gap: 15px !important;
		}

		/* Share the row equally and wrap to full width together, rather
		   than each button sizing to its own content. */
		.wp-block-button {
			flex: 0 0 240px;
			@media (width <= 992px) {
				flex: 1 1 240px;
			}
			@media (width <= 662px) {
				flex: 1 1 100%;
			}
		}

		.icon-button {
			height: 100%;
			width: 100%;
			border-radius: 4px !important;
			grid-template-columns: 1fr;
			grid-template-rows: auto auto;
			min-height: 128px;
			min-width: 240px;
			padding: 24px !important;

			@media (width <= 662px) {
				min-height: auto;
				min-width: auto;
				grid-template-columns: auto 1fr;
				grid-template-rows: auto;
			}

		}

	}


	&.small-buttons {

		column-gap: 12px !important;
		row-gap: 12px !important;

		.icon-button {
			align-content: center;
			align-items: center;
			grid-template-columns: auto 1fr;
			padding: 10px 16px !important;
			.icon {
				align-items: center;
				display: flex;
			}
			.content {
				font-size: 14px;
			}
		}

	}


}


.icon-button {
	align-content: start;
	display: grid;
	gap: 8px !important;
	justify-content: start;
	text-align: left;

	/* Fixed size, not height: 100% of a max-height parent (which never
	   resolves) — otherwise SVGs without pixel width/height attributes
	   (e.g. width="100%") fall back to browser-specific intrinsic sizes and
	   blow out the grid column. */
	.icon {
		display: flex;
		height: 24px;
		img,
		svg {
			height: 24px;
			max-width: none;
			object-fit: contain;
			width: 24px;
		}
	}
	.content {
		column-gap: 8px;
		display: flex;
		font-size: 18px;
		font-weight: 700;
	}

}