/**
 * Location hub — scoped styles for the /location/<term>/ archive body.
 * Enqueued by includes/location-hubs.php on location taxonomy views only.
 * Uses the 2027 theme's custom properties with fallbacks; event rows reuse
 * the theme's own .event-item styles and are not restyled here.
 */

.location-hub {
	display: grid;
	gap: 2.75rem;
}

.location-hub__lead p {
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--md, 1.15rem);
	line-height: 1.65;
	color: var(--c-ink-2, #333);
}

.location-hub__distance {
	font-family: var(--f-ui, system-ui, sans-serif);
	font-size: var(--wp--preset--font-size--xs, 0.8rem);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--c-copper-text, var(--c-copper, #b06c3b));
}

.location-hub__section > h2 {
	margin: 0 0 0.9rem;
	font-size: var(--wp--preset--font-size--lg, 1.5rem);
}

.location-hub__section > p {
	max-width: 62ch;
	line-height: 1.65;
	color: var(--c-ink-2, #333);
}

/* Work cards */
.location-hub__cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	gap: 1.25rem;
}

.location-hub__card {
	padding: 1.2rem 1.3rem;
	background: var(--c-surface, #f7f6f3);
	border: 1px solid var(--c-border, #ddd);
}

.location-hub__card-meta {
	margin: 0 0 0.4rem;
	font-family: var(--f-ui, system-ui, sans-serif);
	font-size: var(--wp--preset--font-size--xs, 0.8rem);
	color: var(--c-muted, #6b6b6b);
}

.location-hub__card-title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	line-height: 1.35;
}

.location-hub__card-title a {
	color: var(--c-ink-display, #111);
	text-decoration: none;
}

.location-hub__card-title a:hover {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.location-hub__card-excerpt {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--c-ink-2, #333);
}

/* Services pitch */
.location-hub__services {
	margin: 0 0 1.4rem;
	padding-left: 1.2rem;
	line-height: 1.9;
}

/* Events hint */
.location-hub__events-hint {
	color: var(--c-muted, #6b6b6b);
	font-size: 0.95rem;
}

/* FAQ */
.location-hub__faq {
	margin: 0;
	display: grid;
	gap: 1.1rem;
	max-width: 68ch;
}

.location-hub__faq-item dt {
	font-weight: 600;
	margin-bottom: 0.3rem;
	color: var(--c-ink-display, #111);
}

.location-hub__faq-item dd {
	margin: 0;
	line-height: 1.6;
	color: var(--c-ink-2, #333);
}

/* Nearby */
.location-hub__nearby {
	list-style: none;
	margin: 0 0 0.9rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.4rem;
}

.location-hub__nearby a {
	color: var(--c-ink-2, #333);
	text-decoration: underline;
	text-underline-offset: 2px;
}
