/* ==========================================================================
   Refined single event page (single-event-refined.php)
   ========================================================================== */

.evx { --evx-line: #EAEAE7; color: var(--ink); font-family: var(--font-body); }
.evx a { color: inherit; text-decoration: none; }
.evx-wrap { max-width: 1140px; margin: 0 auto; padding: 28px 20px 0; display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 36px; justify-content: center; align-items: start; }
.evx-main { min-width: 0; }
.evx-box { border: 1px solid var(--evx-line); border-radius: 16px; overflow: hidden; background: #fff; }
.evx-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #FBBF00; padding: 10px 22px; font: 800 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
.evx-bar a:hover { text-decoration: underline; }
.evx-img { display: block; width: 100%; height: 320px; object-fit: cover; background: #EEECE6; }

.evx-head { display: flex; gap: 20px; align-items: flex-start; padding: 26px 30px 0; }
.evx-date { flex: none; width: 76px; border-radius: 14px; background: #000; color: #fff; text-align: center; padding: 10px 0 11px; }
.evx-date span { display: block; font: 800 10.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #FBBF00; }
.evx-date b { display: block; font: 800 32px/1.05 var(--font-display); margin: 4px 0 2px; }
.evx-date small { display: block; font: 700 10.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #BDBDB8; }
.evx-h1 { margin: 0; font: 800 34px/1.12 var(--font-display); letter-spacing: -.02em; color: var(--ink); }
.evx-dek { margin: 8px 0 0; font-size: 17px; line-height: 1.5; color: #585856; }

.evx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); margin: 22px 30px 0; border-top: 1px solid var(--evx-line); border-bottom: 1px solid var(--evx-line); }
.evx-fact { display: flex; gap: 12px; padding: 16px 16px 16px 0; min-width: 0; }
.evx-fact + .evx-fact { border-left: 1px solid var(--evx-line); padding-left: 18px; }
.evx-ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: #F6F6F3; display: flex; align-items: center; justify-content: center; }
.evx-k { display: block; margin-bottom: 5px; font: 800 10px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #8A8A87; }
.evx-fact b { display: block; font: 700 14.5px/1.3 var(--font-display); }
.evx-fact small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: #6E6E6B; }
.evx-fact small a { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.evx-sec { padding: 28px 30px 0; }
.evx-sec h2 { margin: 0 0 12px; font: 700 20px/1.2 var(--font-display); color: var(--ink); }
.evx .evx-body { max-width: none; margin: 0; padding: 0; font-size: 16.5px; line-height: 1.7; color: #232322; }
.evx .evx-body p { margin: 0 0 14px; font-size: inherit; line-height: inherit; }
.evx .evx-body a { color: var(--teal-ink); text-decoration: underline; }
.evx .evx-body > :last-child { margin-bottom: 0; }

/* Paw Check */
.evx-paw { border: 1px solid var(--evx-line); border-radius: 14px; overflow: hidden; }
.evx-paw-top { display: flex; align-items: center; gap: 18px; padding: 16px 18px; background: #FAFAF8; border-bottom: 1px solid var(--evx-line); }
.evx-paw-t { flex: none; font: 800 30px/1 var(--font-display); }
.evx-paw-t small { display: block; margin-bottom: 6px; font: 800 9.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #8A8A87; }
.evx-paw-txt { flex: 1; min-width: 0; }
.evx-paw-txt b { display: block; font: 700 15px/1.3 var(--font-display); }
.evx-paw-txt span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: #6E6E6B; }
.evx-pill { flex: none; background: #000; color: #FBBF00; border-radius: 999px; padding: 7px 11px; font: 800 10.5px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.evx-paw--caution .evx-pill { background: #FBBF00; color: #141414; }
.evx-paw--high .evx-pill, .evx-paw--burn .evx-pill, .evx-paw--danger .evx-pill { background: #C43D32; color: #fff; }
.evx-hrs { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 10px; padding: 16px 18px 6px; }
.evx-hr { text-align: center; font-size: 12px; color: #6E6E6B; white-space: nowrap; }
.evx-hr b { display: block; margin-bottom: 5px; font: 700 13px var(--font-body); color: var(--ink); }
.evx-hr i { position: relative; display: block; height: 6px; margin-bottom: 7px; border-radius: 3px; background: #E6E4DD; overflow: hidden; }
.evx-hr i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 3px; background: #141414; }
.evx-hr.is-caution i::after { background: #D9932A; }
.evx-hr.is-high i::after, .evx-hr.is-burn i::after, .evx-hr.is-danger i::after { background: #C43D32; }
.evx-paw-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 6px 18px 14px; font-size: 12px; color: #8A8A87; }
.evx-chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--evx-line); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--ink); }

/* map */
.evx-map { display: grid; grid-template-columns: minmax(0, 1fr) 250px; border: 1px solid var(--evx-line); border-radius: 14px; overflow: hidden; }
.evx-map iframe { display: block; width: 100%; height: 210px; border: 0; background: #EFEEE9; }
.evx-map-d { padding: 18px; }
.evx-map-d b { display: block; font: 700 16px/1.3 var(--font-display); }
.evx-map-d span { display: block; margin: 4px 0 14px; font-size: 13.5px; line-height: 1.45; color: #6E6E6B; }

.evx-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 30px 28px; }
.evx-tags a { border: 1.5px solid #DCDAD3; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; }
.evx-tags a:hover { border-color: var(--ink); }
.evx-endpad { height: 28px; }

/* buttons */
.evx-b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 11px; border: 1.5px solid #DCDAD3; background: #fff; color: var(--ink); font: 700 14px/1 var(--font-body); white-space: nowrap; cursor: pointer; list-style: none; }
.evx-b::-webkit-details-marker { display: none; }
.evx-b:hover { border-color: var(--ink); }
.evx-b--ink { background: #141414; border-color: #141414; color: #fff !important; }
.evx-b--gold { background: #FBBF00; border-color: #FBBF00; color: #141414 !important; }
.evx-b--gold:hover { background: #F2B500; border-color: #F2B500; }
.evx-b--gold.is-going { background: #fff; border-color: #fff; }
.evx-b--light { background: #fff; border-color: #fff; color: #141414 !important; }
.evx-b--dark { background: transparent; border-color: #3A3A3A; color: #fff !important; }
.evx-b--dark:hover { border-color: #fff; }
.evx-b .dflv-going-ic .ic-check { display: none; }
.evx-b.is-going .dflv-going-ic .ic-plus { display: none; }
.evx-b.is-going .dflv-going-ic .ic-check { display: inline; }
.evx-b svg { flex: none; }
.evx .evx-b.dflv-save.is-saved { background: #141414 !important; border-color: #141414 !important; color: #fff !important; }
.evx .evx-b--dark.dflv-save.is-saved { background: #fff !important; border-color: #fff !important; color: #141414 !important; }
.evx-sq.dflv-save.is-saved svg { color: #FBBF00; }

/* calendar menu */
.evx-calmenu { position: relative; }
.evx-calmenu > summary { width: 100%; }
.evx-calpop { position: absolute; z-index: 30; right: 0; top: calc(100% + 6px); min-width: 190px; padding: 6px; background: #fff; border: 1px solid var(--evx-line); border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .35); }
.evx-calmenu--up .evx-calpop { top: auto; bottom: calc(100% + 8px); }
.evx-calpop a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink) !important; }
.evx-calpop a:hover { background: #F6F6F3; }

/* more events */
.evx-more { margin-top: 34px; }
.evx-more-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.evx-more-h h2 { margin: 0; font: 800 22px/1.2 var(--font-display); }
.evx-more-h a { font-weight: 700; font-size: 14px; white-space: nowrap; }
.evx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.evx-card { display: block; border: 1px solid var(--evx-line); border-radius: 14px; overflow: hidden; }
.evx-card img, .evx-card .evx-ph { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #EEECE6; }
.evx-card div { padding: 12px 14px 14px; }
.evx-card small { display: block; font: 800 10.5px/1.3 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #8A8A87; }
.evx-card b { display: block; margin: 6px 0 3px; font: 700 15px/1.3 var(--font-display); }
.evx-card span { font-size: 12.5px; color: #6E6E6B; }
.evx-card:hover b { text-decoration: underline; }
.evx-more-all { display: none !important; }

/* rail */
.evx-rail { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; min-width: 0; }
body.header-stuck .evx-rail { top: 90px; }
.evx-tix { position: relative; background: #000; color: #fff; border-radius: 16px; padding: 20px; }
.evx-tix .artx-paw { position: absolute; right: 16px; top: 14px; width: 40px; height: 40px; fill: #FBBF00; opacity: .35; transform: rotate(18deg); }
.evx-tix-k { margin: 0; padding-right: 44px; font: 800 10.5px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #FBBF00; }
.evx-tix-d { margin: 8px 0 2px; font: 800 22px/1.2 var(--font-display); color: #fff; }
.evx-tix-s { margin: 0; font-size: 13.5px; line-height: 1.5; color: #D6D6D2; }
.evx-tix-g { display: flex; align-items: center; gap: 8px; margin: 14px 0 16px; padding-top: 14px; border-top: 1px solid #2A2A2A; font-size: 13px; color: #D6D6D2; }
.evx-tix-g svg { color: #FBBF00; }
.evx-tix-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.evx-tix-btns .evx-wide { grid-column: 1 / -1; }
.evx-tix-btns .evx-b:not(.evx-wide) { height: 42px; padding: 0 6px; font-size: 13px; gap: 5px; }
.evx-tix-btns .evx-b:not(.evx-wide) svg { display: none; }
.evx-tix-btns .evx-calmenu .evx-calpop { right: auto; left: 0; }
.evx-tix-also { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: #BDBDB8; }
.evx-tix-also a { color: #fff; font-weight: 600; text-decoration: underline; }
.evx-rail .dflv-as-rail-slot { display: block; position: static; margin: 0; text-align: center; }
.evx-wk { border: 1px solid var(--evx-line); border-radius: 16px; padding: 16px 18px; }
.evx-wk-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #EEECE6; }
.evx-wk-h p { margin: 0; font: 700 16px var(--font-display); }
.evx-wk-h a { font-size: 12.5px; font-weight: 600; color: #6E6E6B; }
.evx-day { margin: 0; padding-top: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A8A87; }
.evx-row { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.evx-row + .evx-row { border-top: 1px solid #EEECE6; }
.evx-tm { flex: none; width: 54px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.evx-ti { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.evx-ti i { display: block; margin-top: 2px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A8A87; }
.evx-row:hover .evx-ti { text-decoration: underline; }

.evx-wrap { padding-bottom: 56px; }
.evx-band-wrap { margin: -16px 0 56px; }
.evx-band-wrap .artx-band { margin-top: 0; }
.evx-band-wrap + .evx-mbar { margin-top: 0; }
.evx-only-m, .evx-mbar { display: none; }

/* screen-reader only labels inside square buttons */
.evx-sq .dflv-save-label, .evx-sq .dflv-going-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1100px) and (min-width: 900px) {
	.evx-wrap { gap: 24px; }
	.evx-map { grid-template-columns: 1fr; }
}

/* ---- phones and small tablets ---- */
@media (max-width: 899px) {
	.evx-wrap { display: block; padding: 0 0 36px; }
	.evx-rail { display: none; }
	.evx-box { border: 0; border-radius: 0; }
	.evx-bar { padding: 10px 16px; }
	.evx-img { height: 220px; }
	.evx-head { padding: 20px 16px 0; gap: 14px; }
	.evx-date { width: 62px; padding: 8px 0 9px; border-radius: 12px; }
	.evx-date b { font-size: 26px; }
	.evx-h1 { font-size: 26px; }
	.evx-dek { font-size: 15.5px; }
	.evx-facts { grid-template-columns: 1fr; margin: 18px 16px 0; border-bottom: 0; }
	.evx-fact, .evx-fact + .evx-fact { border-left: 0; padding: 13px 0; border-bottom: 1px solid var(--evx-line); }
	.evx-only-m { display: block; }
	.evx-cta { padding: 16px 16px 0; }
	.evx-cta .evx-b { width: 100%; }
	.evx-sec { padding: 26px 16px 0; }
	.evx-sec h2 { font-size: 19px; }
	.evx .evx-body { font-size: 16px; }
	.evx-paw-top { flex-wrap: wrap; gap: 10px 14px; padding: 14px; }
	.evx-paw-txt { order: 3; flex-basis: 100%; }
	.evx-pill { margin-left: auto; }
	.evx-hrs { gap: 8px; padding: 14px 14px 4px; }
	.evx-paw-note { padding: 4px 14px 12px; }
	.evx-map { grid-template-columns: 1fr; }
	.evx-map iframe { height: 180px; }
		.evx-tags { padding: 20px 16px 0; }
	.evx-endpad { display: none; }
	.evx-more { margin: 30px 16px 0; }
	.evx-more-h a { display: none; }
	.evx-cards { display: block; border-top: 1px solid var(--evx-line); }
	.evx-card { display: flex; gap: 12px; align-items: center; border: 0; border-bottom: 1px solid var(--evx-line); border-radius: 0; padding: 12px 0; }
	.evx-card img, .evx-card .evx-ph { flex: none; width: 96px; aspect-ratio: 4 / 3; border-radius: 10px; }
	.evx-card div { padding: 0; }
	.evx-more-all { display: flex !important; width: 100%; margin-top: 14px; }
	.evx-band-wrap { margin: -6px 0 0; }
	.evx-band-wrap .artx-band { width: auto; margin-left: 0; }
	body.dflv-evx { padding-bottom: 76px; }
	body.dflv-evx .site-footer { margin-bottom: 0; }

	.evx-mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--evx-line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .08); }
	.evx-mbar .evx-b { height: 46px; }
	.evx-mbar .evx-grow { flex: 1; }
	.evx-mbar .evx-sq { width: 46px; padding: 0; }
	.evx-mbar .evx-b--gold.is-going { background: #141414; border-color: #141414; color: #fff !important; }
	.evx-mbar .evx-calmenu .evx-calpop { right: 0; }
}
@media (max-width: 899px) and (min-width: 600px) {
	.evx-wrap, .evx-more { max-width: 720px; margin-left: auto; margin-right: auto; }
}
