@import "@wordpress/base-styles/breakpoints";
@import "@wordpress/base-styles/mixins";
@import "@wordpress/base-styles/variables";

.hosting-benefits {
	display: grid;

	grid-template-rows: 1fr;
	gap: 24px;

	@include break-large {
		grid-template-columns: repeat(2, 1fr);
	}

	@include break-huge {
		grid-template-columns: repeat(3, 1fr);
	}
}

.hosting-benefits-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-radius: 4px;
	border: 1px solid var(--color-neutral-5);
	background-color: var(--color-surface);
	gap: 16px;
	padding: 16px;

	@include break-medium {
		gap: 24px;
		padding: 32px;
	}
}

.hosting-benefits-card__title {
	@include heading-x-large;
	margin-block-end: 24px;
}

.hosting-benefits-card__description {
	@include body-large;
	margin: 0;
}

.hosting-benefits-card__list {
	margin-block-start: auto;
	display: flex;
	flex-direction: column;
	list-style-type: none;
	gap: 8px;
	margin: 0;
	padding: 0;

	li {
		@include body-large;

		display: flex;
		flex-direction: row;
		align-content: center;
		margin: 0;
		padding: 0;
	}

	.gridicon {
		fill: var(--color-primary-50);
	}
}
