/* com_acxevents: what the events pages need beyond the site's custom.css.
   Uses the site's custom properties (--acx-ink, --acx-sky, --acx-blue, --acx-red, --acx-display,
   --acx-text, --acx-mono) with fallbacks, so the pages still read correctly if custom.css is absent.
   Rules: no rounded tiles, no shadows, no motion. Light blue is a background or a rule, never text.
   Nothing under 14px; condensed display type never under 28px except labels and tags. */

.acx-evpage, .acx-evdetail, .acx-order, .acx-ticketpage, .acx-door, .acx-submit { max-width: 46rem; }
.acx-evpage { max-width: none; }
.acx-evpage__head h1, .acx-order .acx-loud h1, .acx-door .acx-loud h1, .acx-submit .acx-loud h1 { margin: 0 0 1rem; }
.acx-evpage__foot { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0 0.5rem; }
.acx-note, .acx-hint { font-size: 0.9375rem; color: var(--acx-ink-soft, #4a4f55); }
.acx-hint { display: block; font-family: var(--acx-text, Georgia, serif); font-weight: 400; letter-spacing: 0; text-transform: none; }
.acx-empty { border-top: 1px solid var(--acx-ink, #141414); border-bottom: 1px solid var(--acx-ink, #141414); padding: 1.5rem 0; font-size: 1.25rem; margin: 0; }

/* Rows: the bill line sits between the title and the venue, one step down in size. */
.acx-event__date { display: block; }
.acx-event__bill { font-weight: 600; font-size: 1.1875rem; line-height: 1.25; margin: 0 0 0.2rem; }
.acx-event .acx-btn, .acx-evpage__foot .acx-btn, .acx-share .acx-btn { display: inline-flex; align-items: center; text-decoration: none; }
.acx-event .acx-btn--wa:hover, .acx-evpage__foot .acx-btn--wa:hover, .acx-share .acx-btn--wa:hover,
.acx-ticket .acx-btn--wa:hover, .acx-submit .acx-btn--wa:hover { background: var(--acx-ink, #141414); border-color: var(--acx-ink, #141414); color: var(--acx-white, #fff); }

/* Event page: bill order, largest first. */
.acx-evdetail__crumbs { margin: 0 0 0.75rem; display: flex; gap: 0.5rem; }
.acx-evdetail .acx-loud h1 { margin: 0.4rem 0 1rem; font-size: clamp(2.25rem, 9vw, 4.5rem); }
.acx-evdetail .acx-loud p { margin: 0; }
.acx-evdetail__facts { border-top: 4px solid var(--acx-ink, #141414); border-bottom: 1px solid var(--acx-ink, #141414); padding: 0.9rem 0 1rem; }
.acx-evdetail__when { font-family: var(--acx-display, "Arial Narrow", sans-serif); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; line-height: 1.05; letter-spacing: 0.02em; color: var(--acx-blue, #0b4f8a); margin: 0 0 0.6rem; }
.acx-bill { list-style: none; margin: 0 0 0.75rem; padding: 0; font-family: var(--acx-display, "Arial Narrow", sans-serif); font-weight: 800; text-transform: uppercase; line-height: 1; }
.acx-bill li { font-size: 1.75rem; margin: 0 0 0.3rem; }
.acx-bill li:first-child { font-size: clamp(2rem, 8vw, 3rem); }
.acx-bill li:nth-child(2) { font-size: clamp(1.75rem, 6vw, 2.25rem); }
.acx-evdetail__where { font-size: 1.25rem; font-weight: 600; margin: 0 0 0.3rem; }
.acx-evdetail__meta { font-size: 1.0625rem; margin: 0 0 0.3rem; }
.acx-evdetail__org { margin: 0.5rem 0 0; }
.acx-share { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.1rem 0; }
.acx-evdetail__image img { display: block; width: 100%; max-width: 34rem; border: 1px solid var(--acx-ink, #141414); }
.acx-evdetail__summary { font-size: 1.25rem; line-height: 1.45; }
.acx-evdetail__desc { max-width: var(--acx-measure, 38rem); }

/* Booking panel: a ruled block, not a card. */
.acx-book { border-top: 4px solid var(--acx-ink, #141414); margin-top: 2rem; padding-top: 0.75rem; scroll-margin-top: 5rem; }
.acx-book__h, .acx-sechead h2 { font-family: var(--acx-display, "Arial Narrow", sans-serif); font-weight: 800; text-transform: uppercase; font-size: 1.75rem; letter-spacing: 0.02em; margin: 0 0 0.75rem; }
.acx-book__price { font-size: 1.5rem; font-weight: 600; margin: 0 0 0.5rem; }
.acx-notice { border-left: 6px solid var(--acx-blue, #0b4f8a); background: var(--acx-sky-pale, #eaf6fd); color: var(--acx-ink, #141414); padding: 0.75rem 1rem; margin: 0 0 1rem; }
.acx-notice--warn, .acx-notice--bad { border-left-color: var(--acx-red, #c8102e); background: var(--acx-white, #fff); outline: 2px solid var(--acx-red, #c8102e); outline-offset: -2px; }

/* Forms */
.acx-form { max-width: 34rem; }
.acx-form__row { display: grid; gap: 0 1rem; }
@media (min-width: 576px) { .acx-form__row { grid-template-columns: 1fr 1fr; } }
.acx-field { margin: 0 0 1rem; }
.acx-field label { display: block; font-family: var(--acx-display, "Arial Narrow", sans-serif); font-weight: 700; font-size: 1.0625rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.3rem; }
.acx-field input, .acx-field select, .acx-field textarea { display: block; width: 100%; padding: 0.5rem 0.7rem; border: 2px solid var(--acx-ink, #141414); border-radius: 0; min-height: 48px; font-family: var(--acx-text, Georgia, serif); font-size: 1.0625rem; background: var(--acx-white, #fff); color: var(--acx-ink, #141414); box-shadow: none; }
.acx-field textarea { min-height: 9rem; }
.acx-field input[type="file"] { padding: 0.6rem 0.7rem; }
.acx-field--short { max-width: 12rem; }
.acx-field input:focus-visible, .acx-field select:focus-visible, .acx-field textarea:focus-visible { outline: 3px solid var(--acx-red, #c8102e); outline-offset: 2px; }
/* The honeypot: out of sight and out of the tab order, but still a real field to a script. */
.acx-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Order page and tickets */
.acx-order__lead { font-size: 1.25rem; }
.acx-order__event { border-top: 1px solid var(--acx-ink, #141414); border-bottom: 1px solid var(--acx-ink, #141414); padding: 0.75rem 0; margin: 1rem 0; }
.acx-order__event .acx-label, .acx-ticket .acx-label { margin: 0 0 0.2rem; }
.acx-order__event .acx-event__title { margin-top: 0; }
.acx-order__event .acx-event__meta { margin-bottom: 0; }
.acx-tickets { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .acx-tickets { grid-template-columns: 1fr 1fr; } }
.acx-ticket { border: 2px solid var(--acx-ink, #141414); border-top-width: 8px; background: var(--acx-white, #fff); padding: 1rem; }
.acx-ticket--single { max-width: 24rem; }
.acx-ticket--spent { border-color: var(--acx-red, #c8102e); }
.acx-ticket--spent .acx-qr { opacity: 0.25; }
.acx-qr { display: block; width: 100%; max-width: 15rem; height: auto; aspect-ratio: 1; margin: 0.75rem 0; image-rendering: pixelated; background: var(--acx-white, #fff); }
.acx-ticket__code { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; overflow-wrap: anywhere; margin: 0 0 0.5rem; }
.acx-ticket__holder { margin: 0.5rem 0 0; }
.acx-ticket__state { font-family: var(--acx-display, "Arial Narrow", sans-serif); font-weight: 800; font-size: 1.75rem; line-height: 1.05; text-transform: uppercase; margin: 0 0 0.75rem; }
.acx-ticket__state--ok { color: var(--acx-blue, #0b4f8a); }
.acx-ticket__state--bad { color: var(--acx-red, #c8102e); }
.acx-ticket__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin: 0; }

/* Door page: the verdict must be readable at arm's length in a dark doorway. */
.acx-door__result { border: 6px solid var(--acx-ink, #141414); padding: 1.25rem 1rem; margin: 0 0 1.5rem; }
.acx-door__verdict { font-family: var(--acx-display, "Arial Narrow", sans-serif); font-weight: 900; text-transform: uppercase; font-size: clamp(3.5rem, 18vw, 7rem); line-height: 0.9; margin: 0 0 0.5rem; }
.acx-door__detail { font-size: 1.25rem; margin: 0.2rem 0 0; }
.acx-door__result--admit { background: var(--acx-sky, #bfe3f7); color: var(--acx-ink, #141414); }
.acx-door__result--used, .acx-door__result--notfound, .acx-door__result--wrongevent, .acx-door__result--cancelled { background: var(--acx-red, #c8102e); border-color: var(--acx-red, #c8102e); color: var(--acx-white, #fff); }
.acx-door__go { min-height: 64px; font-size: 1.5rem; width: 100%; }
