/*
 * Venue pages — Ticketether Venue Taxonomy.
 *
 * Scoped entirely to .ttv-venue-* class names, so it cannot restyle the theme. The block theme's
 * own header/footer parts are rendered read-only by the plugin's templates; this file only gives
 * the venue content a readable column. No theme file is modified.
 */

.ttv-venue-main {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2rem 1.25rem 4rem;
}

.ttv-venue-title {
	margin: 0 0 0.35em;
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
	line-height: 1.15;
}

.ttv-venue-breadcrumb,
.ttv-venue-back {
	font-size: 0.9rem;
	opacity: 0.8;
}

.ttv-venue-intro,
.ttv-venue-count {
	max-width: 60ch;
	opacity: 0.85;
}

.ttv-venue-address {
	margin: 0 0 1rem;
	font-style: italic;
	opacity: 0.8;
}

.ttv-venue-index-list {
	display: grid;
	gap: 0.35rem;
	margin: 1.5rem 0 2rem;
	padding: 0;
	list-style: none;
}

.ttv-venue-index-item {
	display: grid;
	grid-template-columns: minmax(14rem, 22rem) 6rem 1fr;
	gap: 0.75rem;
	align-items: baseline;
	padding: 0.6rem 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.09);
	border-radius: 6px;
}

@media (max-width: 640px) {
	.ttv-venue-index-item {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}
}

.ttv-venue-index-count {
	font-variant-numeric: tabular-nums;
	font-size: 0.9rem;
	opacity: 0.75;
}

.ttv-venue-index-address {
	font-size: 0.85rem;
	opacity: 0.7;
}

.ttv-venue-event-list {
	display: grid;
	gap: 0.25rem;
	margin: 1.5rem 0 2rem;
	padding: 0;
	list-style: none;
}

.ttv-venue-event-item {
	display: flex;
	gap: 0.75rem;
	align-items: baseline;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.ttv-venue-event-date {
	font-size: 0.85rem;
	opacity: 0.7;
	white-space: nowrap;
}

.ttv-venue-retired-notice {
	padding: 0.6rem 0.9rem;
	border-left: 3px solid currentColor;
	background: rgba(0, 0, 0, 0.04);
}

.ttv-venue-provenance {
	margin-top: 2.5rem;
	font-size: 0.8rem;
	opacity: 0.65;
}

/* Single-event venue display, re-pointed onto the venue term (meta fallback uses the same classes). */
.tether-store-event-venue {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: baseline;
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
}

.tether-store-event-venue-address {
	opacity: 0.75;
	font-style: italic;
}

.tether-store-event-venue-link {
	font-weight: 600;
	text-decoration: none;
}

.tether-store-event-venue-link:hover,
.tether-store-event-venue-link:focus {
	text-decoration: underline;
}
