.digages-rentnow-locations {
	color: var(--digages-rentnow-text);
	font-family: inherit;
	margin: 0 auto;
	max-width: var(--digages-rentnow-content-width);
	width: 100%;
}

.digages-rentnow-locations > h2 {
	color: var(--digages-rentnow-text);
	font-size: 1.5em;
	line-height: 1.3;
	margin: 0 0 20px;
}

.digages-rentnow-locations__grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(var(--digages-rentnow-location-columns, 3), minmax(0, 1fr));
}

.digages-rentnow-location-card {
	background: #344054;
	border-radius: 8px;
	height: 130px;
	overflow: hidden;
	position: relative;
}

.digages-rentnow-location-card > a {
	color: #fff;
	display: block;
	height: 100%;
	position: relative;
	text-decoration: none;
}

.digages-rentnow-location-card__image {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: none;
	width: 100%;
}

.digages-rentnow-location-card__shade {
	background: linear-gradient(to top, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.34) 38%, rgba(15, 23, 42, 0.04) 72%, transparent 100%);
	inset: 0;
	position: absolute;
}

.digages-rentnow-location-card__content {
	bottom: 11px;
	display: flex;
	flex-direction: column;
	inset-inline: 12px;
	position: absolute;
}

.digages-rentnow-location-card__content strong {
	color: #fff;
	font-size: 1em;
	font-weight: 700;
	line-height: 1.25;
}

.digages-rentnow-location-card__content small {
	align-items: center;
	color: rgba(255, 255, 255, 0.92);
	display: flex;
	font-size: 1em;
	gap: 4px;
	line-height: 1.3;
	margin-top: 3px;
}

.digages-rentnow-location-card__content small .ph {
	font-size: 1em;
}

.digages-rentnow-location-card--fallback {
	background: #344054;
}

.digages-rentnow-location-card__fallback-icon {
	color: rgba(255, 255, 255, 0.14);
	font-size: 64px;
	inset-inline-end: 18px;
	position: absolute;
	top: 16px;
}

.digages-rentnow-locations__empty {
	align-items: center;
	background: var(--digages-rentnow-surface);
	border: 1px solid var(--digages-rentnow-border);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 180px;
	padding: 30px;
	text-align: center;
}

.digages-rentnow-locations__empty > .ph {
	color: var(--digages-rentnow-primary);
	font-size: 32px;
	margin-bottom: 8px;
}

.digages-rentnow-locations__empty strong {
	font-size: 1em;
}

.digages-rentnow-locations__empty p {
	color: var(--digages-rentnow-muted);
	font-size: inherit;
	margin: 5px 0 0;
}

@media (max-width: 900px) {
	.digages-rentnow-locations__grid {
		grid-template-columns: repeat(min(2, var(--digages-rentnow-location-columns, 3)), minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.digages-rentnow-locations__grid {
		grid-template-columns: 1fr;
	}

	.digages-rentnow-location-card {
		height: 145px;
	}
}

.digages-rentnow-locations {
	container: digages-rentnow-locations / inline-size;
}
.digages-rentnow-location-card {
	height: auto;
	min-height: 130px;
}
.digages-rentnow-location-card > a {
	display: flex;
	align-items: flex-end;
	min-height: inherit;
	padding: 12px;
}
.digages-rentnow-location-card__image {
	inset: 0;
	position: absolute;
}
.digages-rentnow-location-card__content {
	bottom: auto;
	inset-inline: auto;
	position: relative;
	z-index: 1;
}
@container digages-rentnow-locations (max-width: 40em) {
	.digages-rentnow-locations__grid {
		grid-template-columns: repeat(min(2, var(--digages-rentnow-location-columns, 3)), minmax(0, 1fr));
	}
}
@container digages-rentnow-locations (max-width: 26em) {
	.digages-rentnow-locations__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.digages-rentnow-location-card { min-height: 145px; }
}
