/**
 * Locations — archive grid (index of every pharmacy/clinic).
 * Card look lifted from css/ingredient-library/grid.css.
 */
.locations-page .loc-group-title {
	font-family: var(--loc-serif);
	font-weight: 500;
	font-size: 24px;
	margin: 0 0 20px;
}

.locations-page .loc-group + .loc-group {
	margin-top: 48px;
}

.locations-page .loc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.locations-page .loc-item {
	display: flex;
	flex-direction: column;
	background: var(--loc-surface);
	border: 1px solid var(--loc-line);
	border-radius: var(--loc-radius);
	padding: 22px 20px;
	text-decoration: none;
	color: inherit;
	transition: transform .22s, box-shadow .22s;
}

.locations-page .loc-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px -24px rgba(30, 40, 34, .5);
}

.locations-page .loc-item__tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	margin: 0 0 10px;
}

.locations-page .loc-item__name {
	font-family: var(--loc-serif);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.2;
	margin: 0 0 8px;
}

.locations-page .loc-item__addr {
	font-size: 13.5px;
	color: var(--loc-muted);
	line-height: 1.45;
	margin: 0;
	flex: 1;
}

.locations-page .loc-item__link {
	margin-top: 14px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .02em;
}

@media (max-width: 640px) {
	.locations-page .loc-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 14px;
	}
}
