/* Resty24 Events — website (shortcode [r24_events] / Elementor "Events").
   Colours follow Resty24 → Design: --r24-primary, --r24-primary-ink, --r24-ink, --r24-page-bg. */
.r24ev {
	--ev-p: var(--r24-button, var(--r24-primary, #096c2d));
	--ev-pi: var(--r24-button-ink, var(--r24-primary-ink, #fff));
	--ev-ink: var(--r24-ink, #1d2327);
	--ev-bg: var(--r24-page-bg, #fff);
	--ev-card: color-mix(in srgb, var(--ev-ink) 4%, var(--ev-bg));
	--ev-line: color-mix(in srgb, var(--ev-ink) 14%, transparent);
	--ev-mute: color-mix(in srgb, var(--ev-ink) 62%, transparent);
	--ev-r: 14px;
	color: var(--ev-ink);
	box-sizing: border-box;
}
.r24ev *, .r24ev *::before, .r24ev *::after { box-sizing: border-box; }
.r24ev-none { color: var(--ev-mute); font-size: 16px; }
.r24ev-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--ev-p); color: var(--ev-pi) !important; text-decoration: none !important;
	font: inherit; font-weight: 700; font-size: 14px; line-height: 1.2; letter-spacing: .02em;
	transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}
.r24ev-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.r24ev-btn:disabled { opacity: .45; cursor: default; transform: none; }
.r24ev-btn--lg { padding: 15px 28px; font-size: 15px; }
.r24ev-link { color: var(--ev-p); font-weight: 600; text-decoration: none; }
.r24ev-link:hover { text-decoration: underline; }

/* date badge */
.r24ev-badge { position: absolute; left: 14px; top: 14px; display: flex; flex-direction: column; align-items: center; min-width: 58px; padding: 7px 8px 6px; border-radius: 12px; background: var(--ev-bg); color: var(--ev-ink); box-shadow: 0 6px 18px rgba(0,0,0,.18); line-height: 1; }
.r24ev-badge__d, .r24ev-badge__m { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-mute); }
.r24ev-badge__n { font-size: 26px; font-weight: 800; margin: 3px 0 2px; color: var(--ev-p); }

/* list + grid */
.r24ev-list__title { margin: 0 0 18px; }
.r24ev-list { display: grid; gap: 18px; }
.r24ev-list--grid { grid-template-columns: repeat(var(--r24ev-cols, 3), minmax(0, 1fr)); gap: 22px; }
.r24ev-card { display: grid; grid-template-columns: 300px minmax(0, 1fr); background: var(--ev-card); border: 1px solid var(--ev-line); border-radius: var(--ev-r); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.r24ev-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -18px rgba(0,0,0,.45); }
.r24ev-list--grid .r24ev-card { grid-template-columns: 1fr; }
.r24ev-card__img { position: relative; display: block; min-height: 200px; overflow: hidden; background: color-mix(in srgb, var(--ev-p) 18%, var(--ev-bg)); }
.r24ev-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.r24ev-card:hover .r24ev-card__img img { transform: scale(1.05); }
.r24ev-list--grid .r24ev-card__img { aspect-ratio: 16 / 10; min-height: 0; }
.r24ev-card__ph { position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--ev-p) 45%, transparent), transparent 70%); }
.r24ev-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; }
.r24ev-card__when { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ev-p); text-transform: uppercase; }
.r24ev-card__title { margin: 0; font-size: 22px; line-height: 1.2; }
.r24ev-card__title a { color: inherit; text-decoration: none; }
.r24ev-card__text { margin: 0; color: var(--ev-mute); font-size: 15px; line-height: 1.55; }
.r24ev-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.r24ev-card__price { font-weight: 700; }
.r24ev-card.is-cancelled { opacity: .6; }

/* next event banner */
.r24ev-next { position: relative; border-radius: var(--ev-r); overflow: hidden; color: #fff; background: #111 var(--r24ev-bg) center / cover no-repeat; }
.r24ev-next::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.35)); }
.r24ev-next__in { position: relative; padding: clamp(28px, 5vw, 64px); max-width: 760px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.r24ev-next__k { font-size: 12px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; opacity: .85; }
.r24ev-next__t { margin: 0; font-size: clamp(30px, 4.5vw, 54px); line-height: 1.05; color: #fff; }
.r24ev-next__w { margin: 0; font-size: 17px; opacity: .9; }
.r24ev-count { display: flex; gap: 10px; margin: 8px 0 6px; }
.r24ev-count:empty { display: none; }
.r24ev-count span { min-width: 64px; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.12); text-align: center; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.r24ev-count b { display: block; font-size: 24px; letter-spacing: 0; }

/* list / calendar switch */
.r24ev-switch { display: flex; gap: 6px; justify-content: flex-end; margin: 0 0 14px; }
.r24ev-switch a { padding: 7px 16px; border: 1px solid var(--ev-line); border-radius: 999px; color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; }
.r24ev-switch a.is-on, .r24ev-switch a:hover { background: var(--ev-p); border-color: var(--ev-p); color: var(--ev-pi); }

/* month calendar */
.r24ev-cal { border: 1px solid var(--ev-line); border-radius: var(--ev-r); overflow: visible; background: var(--ev-card); }
.r24ev-cal__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--ev-line); }
.r24ev-cal__head h3 { margin: 0; font-size: 20px; }
.r24ev-cal__nav { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--ev-line); color: inherit; text-decoration: none; font-size: 22px; }
.r24ev-cal__nav:hover { background: var(--ev-p); color: var(--ev-pi); border-color: var(--ev-p); }
.r24ev-cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.r24ev-cal__dn { padding: 10px 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ev-mute); text-align: center; border-bottom: 1px solid var(--ev-line); }
.r24ev-cal__day { min-height: 104px; padding: 8px; border-right: 1px solid var(--ev-line); border-bottom: 1px solid var(--ev-line); display: flex; flex-direction: column; gap: 4px; }
.r24ev-cal__day:nth-child(7n) { border-right: 0; }
.r24ev-cal__day.is-out { background: color-mix(in srgb, var(--ev-ink) 3%, transparent); }
.r24ev-cal__n { font-size: 13px; font-weight: 700; color: var(--ev-mute); }
.r24ev-cal__day.is-today .r24ev-cal__n { color: var(--ev-p); }
.r24ev-cal__ev { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 6px; padding: 5px 7px; border-radius: 6px; background: var(--ev-p); color: var(--ev-pi); font-size: 12px; line-height: 1.3; }
.r24ev-cal__ev:hover, .r24ev-cal__ev:focus-within { box-shadow: 0 0 0 2px var(--ev-ink); z-index: 30; }
.r24ev-cal__ev.is-out { opacity: .7; }
.r24ev-cal__name { flex: 1 1 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit !important; text-decoration: none !important; }
.r24ev-cal__tot, .r24ev-cal__out { flex: 0 0 auto; margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r24ev-cal__tot small { font-size: 11px; font-weight: 400; opacity: .85; }
.r24ev-cal__left { display: inline-block; min-width: 22px; padding: 0 5px; border-radius: 10px; background: var(--ev-pi); color: var(--ev-p) !important; text-align: center; text-decoration: none !important; }
a.r24ev-cal__left:hover { text-decoration: underline !important; }
.r24ev-cal__left.is-off { opacity: .6; }
.r24ev-cal__tip { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; width: 270px; padding: 12px 14px; border: 1px solid var(--ev-line); border-radius: 10px; background: var(--ev-card); color: var(--ev-ink); box-shadow: 0 12px 30px rgba(0,0,0,.25); font-size: 13px; line-height: 1.45; white-space: normal; }
.r24ev-cal__ev:hover .r24ev-cal__tip, .r24ev-cal__ev:focus-within .r24ev-cal__tip { display: block; }
.r24ev-cal__day:nth-child(7n) .r24ev-cal__tip, .r24ev-cal__day:nth-child(7n+6) .r24ev-cal__tip { left: auto; right: 0; }
.r24ev-cal__tip strong { display: block; font-size: 15px; margin-bottom: 2px; }
.r24ev-cal__tip p, .r24ev-cal__tip li { margin: 0 0 6px; font-size: 13px !important; line-height: 1.45 !important; }
.r24ev-cal__tip li { margin: 0; }
.r24ev-cal__tip .r24ev-cal__tip-w { color: var(--ev-mute); font-size: 12px !important; }
.r24ev-cal__tip-x { color: var(--ev-p); font-weight: 700; }
.r24ev-cal__tip ul { list-style: none; margin: 6px 0 0; padding: 6px 0 0; border-top: 1px solid var(--ev-line); }
.r24ev-cal__tip li { display: flex; gap: 8px; padding: 2px 0; }
.r24ev-cal__tip li span { flex: 1 1 auto; }
.r24ev-cal__tip li em { min-width: 56px; text-align: right; font-style: normal; color: var(--ev-mute); }

/* single event */
.r24ev-single__hero { position: relative; border-radius: var(--ev-r); overflow: hidden; color: #fff; background: #111 var(--r24ev-bg) center / cover no-repeat; min-height: 360px; display: flex; align-items: flex-end; }
.r24ev-single__hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.85)); }
.r24ev-single__in { position: relative; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.r24ev-back { color: #fff !important; opacity: .85; text-decoration: none; font-size: 14px; font-weight: 600; }
.r24ev-flag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #d63638; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.r24ev-single__t { margin: 0; font-size: clamp(32px, 5vw, 60px); line-height: 1.05; color: #fff; }
.r24ev-single__w { margin: 0; font-size: 18px; font-weight: 600; }
.r24ev-single__p { margin: 0; opacity: .85; }
.r24ev-single__body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; margin-top: 32px; align-items: start; }
.r24ev-lead { font-size: 19px; line-height: 1.6; }
.r24ev-single__text { font-size: 16px; line-height: 1.75; }
.r24ev-add { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ev-line); }

/* ticket box */
.r24ev-buy { position: sticky; top: 100px; padding: 22px; border-radius: var(--ev-r); border: 1px solid var(--ev-line); background: var(--ev-card); box-shadow: 0 18px 40px -26px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 14px; }
.r24ev-buy__lbl { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-mute); }
.r24ev-buy__date { width: 100%; min-height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ev-line); background: var(--ev-bg); color: var(--ev-ink); font: inherit; }
.r24ev-buy__list { display: flex; flex-direction: column; }
.r24ev-tk { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--ev-line); }
.r24ev-tk__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.r24ev-tk__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.r24ev-tk:first-child { border-top: 1px solid var(--ev-line); }
.r24ev-tk__info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.r24ev-tk__name { font-weight: 700; font-size: 16px; }
.r24ev-tk__desc { font-size: 13px; color: var(--ev-mute); }
.r24ev-tk__price { font-weight: 700; color: var(--ev-p); }
.r24ev-tk__left { flex: 0 0 auto; font-size: 12px; font-weight: 600; color: var(--ev-mute); white-space: nowrap; }
.r24ev-tk__left.is-low, .r24ev-tk__left.is-out { font-weight: 700; color: #d63638; }
.r24ev-buy__seats { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--ev-line); font-size: 14px; }
.r24ev-buy__seats b { font-variant-numeric: tabular-nums; }
.r24ev-buy__seats.is-out b { color: #d63638; }
.r24ev-tk.is-out { opacity: .55; }
.r24ev-qty { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.r24ev-qty__b { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%; border: 1px solid var(--ev-line); background: var(--ev-bg); color: var(--ev-ink); font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; padding: 0; }
.r24ev-qty__b:hover { background: var(--ev-p); color: var(--ev-pi); border-color: var(--ev-p); }
.r24ev-qty__n { width: 46px; height: 38px; flex: 0 0 46px; text-align: center; border: 1px solid var(--ev-line); border-radius: 8px; background: var(--ev-bg); color: var(--ev-ink); font: inherit; font-weight: 700; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.r24ev-qty__n::-webkit-outer-spin-button, .r24ev-qty__n::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.r24ev-buy__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.r24ev-buy__sum { font-size: 24px; }
.r24ev-buy__go { width: 100%; }
.r24ev-buy__msg { margin: 0; font-size: 14px; font-weight: 600; }
.r24ev-buy__msg.is-bad { color: #d63638; }
.r24ev-buy__note { margin: 0; color: var(--ev-mute); }
.r24ev-buy__fine { margin: 0; font-size: 12px; color: var(--ev-mute); text-align: center; }

@media (max-width: 960px) {
	.r24ev-single__body { grid-template-columns: 1fr; }
	.r24ev-buy { position: static; }
	.r24ev-list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.r24ev-card { grid-template-columns: 1fr; }
	.r24ev-card__img { aspect-ratio: 16 / 9; min-height: 0; }
	.r24ev-list--grid { grid-template-columns: 1fr; }
	.r24ev-cal__day { min-height: 64px; padding: 4px; }
	.r24ev-cal__ev { height: 8px; padding: 0; border-radius: 4px; }
	.r24ev-cal__name { position: absolute; inset: 0; font-size: 0; }
	.r24ev-cal__tot, .r24ev-cal__out, .r24ev-cal__tip { display: none !important; }
	.r24ev-single__hero { min-height: 280px; }
}

/* ---------- 2026-11-20: order summary, ticket cards, thank-you, My Tickets, terms window ---------- */
.r24ev-sum { width: 100%; border-collapse: collapse; margin: 0 0 8px; }
.r24ev-sum th { padding: 8px; border-bottom: 2px solid var(--ev-ink); text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ev-mute); }
.r24ev-sum td { padding: 12px 8px; border-bottom: 1px solid var(--ev-line); vertical-align: top; }
.r24ev-sum .r24ev-num { text-align: right; white-space: nowrap; }
.r24ev-sum__name { font-size: 16px; }
.r24ev-sum__when { margin-top: 3px; font-size: 14px; color: var(--ev-mute); }
.r24ev-tot { margin: 6px 0 0 auto; border-collapse: collapse; }
.r24ev-tot td { padding: 4px 8px; text-align: right; }
.r24ev-tot .is-total td { padding-top: 8px; font-size: 18px; font-weight: 700; border-top: 1px solid var(--ev-line); }
.r24ev-muted { color: var(--ev-mute); }
.r24ev-btn--ghost { background: transparent; color: var(--ev-ink) !important; box-shadow: inset 0 0 0 1px var(--ev-line); }

.r24ev-tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin: 12px 0 20px; }
.r24ev-tcard { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border: 1px solid var(--ev-line); border-radius: 12px; background: var(--ev-card); break-inside: avoid; page-break-inside: avoid; }
.r24ev-tcard__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 14px; }
.r24ev-tcard__ev { font-size: 17px; }
.r24ev-tcard__code { margin-top: 4px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .12em; }
.r24ev-tcard__ids { margin-top: 4px; font-size: 12px; line-height: 1.6; color: var(--ev-mute); font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; word-break: break-word; }
.r24ev-tcard__ids b { font-family: inherit; letter-spacing: 0; }
.r24ev-tcard__used { align-self: flex-start; padding: 2px 8px; border-radius: 6px; background: var(--ev-line); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.r24ev-tcard.is-used .r24ev-tcard__qr { opacity: .35; }
.r24ev-tcard__qr { flex: 0 0 140px; width: 140px; height: 140px; padding: 6px; border-radius: 8px; background: #fff; }

.r24ev-ty { max-width: 900px; margin: 30px auto 50px; }
.r24ev-ty__head { text-align: center; margin: 0 0 22px; }
.r24ev-ty__k { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--ev-mute); }
.r24ev-ty__t { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.r24ev-ty__lead { margin: 0 auto; max-width: 600px; font-size: 16px; }
.r24ev-ty__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0 0 18px; padding: 12px 16px; border: 1px solid var(--ev-line); border-radius: 12px; font-size: 14px; }
.r24ev-ty__meta b { margin-right: 4px; color: var(--ev-mute); font-weight: 600; }
.r24ev-ty__h { margin: 28px 0 6px; font-size: 22px; }
.r24ev-ty__wait { margin: 20px 0; padding: 14px 16px; border-radius: 10px; background: var(--ev-card); }
.r24ev-ty__acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; }

.r24ev-mytk { max-width: 980px; }
.r24ev-mt { margin: 0 0 16px; padding: 16px; border: 1px solid var(--ev-line); border-radius: 14px; }
.r24ev-mt__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.r24ev-mt__head > div { display: flex; flex-direction: column; gap: 2px; }
.r24ev-mt__t { font-size: 18px; }
.r24ev-mt .r24ev-tcards { margin-bottom: 0; }

.r24ev-pop { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0,0,0,.6); }
.r24ev-pop[hidden] { display: none; }
.r24ev-pop__box { position: relative; width: 100%; max-width: 620px; max-height: 85vh; overflow: auto; padding: 26px 28px 20px; border-radius: 14px; background: var(--ev-bg); color: var(--ev-ink); box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.r24ev-pop__box h3 { margin: 0 0 12px; padding-right: 30px; font-size: 22px; line-height: 1.2; }
.r24ev-pop__text { font-size: 15px; line-height: 1.6; }
.r24ev-pop__x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.r24ev-pop__x:hover { background: var(--ev-line); }
body.r24ev-pop-on { overflow: hidden; }

@media print {
	.no-print, .r24ev-ty__acts { display: none !important; }
	.r24ev-ty, .r24ev-mytk { --ev-ink: #000; --ev-bg: #fff; --ev-card: #fff; --ev-line: #bbb; --ev-mute: #444; color: #000; margin: 0; max-width: none; }
	.r24ev-tcards { grid-template-columns: 1fr 1fr; }
}
