/* WOW theme: directory listings and archives only. */

/* Listing head */
.wow-venue__head { padding-top: 20px; }

.wow-venue__hero { position: relative; margin: 0 0 18px; overflow: hidden; border-radius: var(--wow-radius-box); }
.wow-venue__img { width: 100%; max-height: 520px; aspect-ratio: 16 / 9; object-fit: cover; }
.wow-venue__glass { position: absolute; top: 14px; right: 14px; display: flex; gap: 8px; }

.wow-venue__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }

.wow-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	padding: 0 12px;
	border: 1px solid var(--wow-line);
	border-radius: var(--wow-radius-pill);
	background: #fff;
	color: var(--wow-black);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}
a.wow-chip:hover { border-color: var(--wow-black); color: var(--wow-black); }
.wow-chip--quiet { background: var(--wow-bg); }
.wow-chip--closed { border-color: var(--wow-black); background: var(--wow-black); color: #fff; letter-spacing: .06em; text-transform: uppercase; }

.wow-venue__hours { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; color: #333; }
.wow-venue__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }

.wow-venue__tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; padding-block: 12px; border-block: 1px solid var(--wow-line); margin-bottom: 24px; }
.wow-venue__tabs a { padding-block: 8px; color: var(--wow-black); font-size: 14px; font-weight: 600; text-decoration: none; }
.wow-venue__tabs a:hover { box-shadow: inset 0 -2px 0 var(--wow-red); }

/* Listing body */
.wow-venue__section { scroll-margin-top: 20px; margin-bottom: 36px; }
.wow-venue__section h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); }
.wow-venue__features { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.wow-venue__tip { margin: 20px 0 0; padding: 16px 18px; border-left: 4px solid var(--wow-tip); border-radius: 0 10px 10px 0; background: #fff8e0; }
.wow-venue__empty { padding: 20px; border: 1px dashed #d4d4d4; border-radius: var(--wow-radius-box); background: #fff; }
.wow-venue__empty p { margin: 0 0 8px; }

/* Facts card */
.wow-venue__facts dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; margin: 14px 0 0; }
.wow-venue__facts dt { margin-top: 10px; color: var(--wow-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.wow-venue__facts dd { margin: 0; overflow-wrap: anywhere; }
.wow-venue__facts a { color: var(--wow-red-ink); }

/* Tap-to-load map */
.wow-map { overflow: hidden; border-radius: var(--wow-radius-box); background: #e9ece8; aspect-ratio: 4 / 3; }
.wow-map__load { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: var(--wow-black); font: 600 14px/1.2 var(--wow-font); cursor: pointer; }
.wow-map__load:hover { background: rgba(0, 0, 0, .04); }
.wow-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.wow-dir-map { margin-bottom: 24px; }
.wow-dir-map .wow-map { aspect-ratio: 16 / 7; }

@media (max-width: 639px) { .wow-dir-map .wow-map { aspect-ratio: 4 / 3; } }

/* Archive filter: a segmented row of links that wraps. */
.wow-dir-filter { margin-top: 14px; }
.wow-dir-filter .wow-switch__opt { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.wow-switch__count { color: var(--wow-muted); font-size: 12px; font-weight: 500; }
.wow-switch__opt[aria-current] .wow-switch__count { color: var(--wow-muted); }

/* Wide screens: name, chips, hours and actions beside the photo, so the venue is visible without
   scrolling. Phones keep the photo first. */
@media (min-width: 900px) {
	.wow-venue__head:has(> .wow-venue__hero) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-auto-flow: row dense; align-items: center; column-gap: 40px; }
	.wow-venue__head:has(> .wow-venue__hero) > * { grid-column: 1 / -1; }
	.wow-venue__head:has(> .wow-venue__hero) > .wow-venue__hero { grid-column: 2; margin-bottom: 18px; }
	.wow-venue__head:has(> .wow-venue__hero) > .wow-venue__intro { grid-column: 1; }
	.wow-venue__head:has(> .wow-venue__hero) .wow-venue__img { max-height: 400px; aspect-ratio: 4 / 3; }
}
