.epc-rs {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	width: 100%;
}

.epc-rs__card {
	--epc-rs-brand: #555;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	background-color: #f1f1f3;
	border-radius: 14px;
	color: inherit;
	text-decoration: none;
	box-sizing: border-box;
	min-width: 0;
	transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
	-webkit-tap-highlight-color: transparent;
}

a.epc-rs__card,
a.epc-rs__card:hover,
a.epc-rs__card:focus {
	color: inherit;
	text-decoration: none;
}

.epc-rs-lift-yes .epc-rs__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.epc-rs__card:active {
	transform: scale(.98);
}

.epc-rs__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--epc-rs-brand);
	color: #fff;
	overflow: hidden;
}

.epc-rs__icon svg {
	width: 24px;
	height: 24px;
	display: block;
}

.epc-rs__icon i {
	font-size: 22px;
	line-height: 1;
}

.epc-rs__icon svg path {
	fill: currentColor;
}

.epc-rs__text {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.25;
}

.epc-rs__title {
	font-weight: 700;
	font-size: 15px;
	color: #1d1d1f;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.epc-rs__subtitle {
	font-size: 13px;
	color: #6b6b70;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.epc-rs__btn,
a.epc-rs__btn {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--epc-rs-brand);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: filter .2s ease, background .2s ease;
}

a.epc-rs__btn:hover,
a.epc-rs__btn:focus {
	color: #fff;
	text-decoration: none;
}

.epc-rs__card:hover .epc-rs__btn,
.epc-rs__btn:hover {
	filter: brightness(1.08);
}

@media (max-width: 360px) {
	.epc-rs__card {
		gap: 10px;
		padding: 10px 12px;
	}

	.epc-rs__btn,
	a.epc-rs__btn {
		padding: 7px 12px;
	}
}
