/* Tavnit Event Page 826 — single-hue print-poster event section, RTL-first.
   All sizing flows from CSS variables so Style-tab controls can drive it.
   Mobile-first: base rules are the 390px layout; breakpoints add columns. */

.tev-826 {
	--tev-ground: #70020F;
	--tev-ghost: #8A0A18;
	--tev-ink: #FEDEE1;
	--tev-ink-62: rgba(254, 222, 225, .62);
	--tev-ink-28: rgba(254, 222, 225, .28);
	--tev-hard: #0A0708;
	--tev-inv-rule: rgba(112, 2, 15, .22);
	--tev-wrap: 80rem;
	--tev-pad: 16px;
	--tev-block: 56px;
	--tev-hero: clamp(3.5rem, 17vw, 11rem);
	--tev-ghost-size: clamp(10rem, 34vw, 30rem);
	--tev-display: 'Heebo', system-ui, sans-serif;
	--tev-mono: 'IBM Plex Mono', ui-monospace, monospace;

	background: var(--tev-ground);
	color: var(--tev-ink);
	font-family: var(--tev-display);
	font-weight: 400;
	line-height: 1.55;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}

.tev-826 *,
.tev-826 *::before,
.tev-826 *::after { box-sizing: border-box; }

.tev-826 h1,
.tev-826 h2,
.tev-826 h3,
.tev-826 p,
.tev-826 ul { margin: 0; padding: 0; }

.tev-826 ul { list-style: none; }
.tev-826 a { color: inherit; text-decoration: none; }
.tev-826 a:focus-visible,
.tev-826 [tabindex]:focus-visible { outline: 2px solid var(--tev-ink); outline-offset: 3px; }

/* ---------- type roles ---------- */
.tev-826-d { font-family: var(--tev-display); font-weight: 900; letter-spacing: -.02em; line-height: 1.02; }
.tev-826-m { font-family: var(--tev-mono); font-weight: 400; font-size: 12px; letter-spacing: .08em; direction: ltr; unicode-bidi: isolate; }
.tev-826-lbl { font-family: var(--tev-display); font-weight: 500; font-size: 11px; letter-spacing: .14em; color: var(--tev-ink-62); }
.tev-826-num { font-family: var(--tev-mono); direction: ltr; unicode-bidi: isolate; white-space: nowrap; }

/* ---------- shell ---------- */
.tev-826-wrap { max-width: var(--tev-wrap); margin-inline: auto; padding-inline: var(--tev-pad); }
.tev-826-sec { border-bottom: 1px solid var(--tev-ink-28); padding-block: var(--tev-block); }
.tev-826-sec:last-child { border-bottom: 0; }

/* ---------- top bar ---------- */
.tev-826-bar { border-bottom: 1px solid var(--tev-ink-28); }
.tev-826-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.tev-826-mark { font-size: 20px; }
.tev-826-bar .tev-826-m { color: var(--tev-ink-62); display: none; }

.tev-826-btn {
	display: inline-block;
	background: var(--tev-hard);
	color: var(--tev-ink);
	font-family: var(--tev-display);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .12em;
	padding: 12px 24px;
	border: 1px solid var(--tev-hard);
	border-radius: 0;
	transition: background-color .16s ease, color .16s ease;
}
.tev-826-btn:hover,
.tev-826-btn:focus-visible { background: var(--tev-ink); color: var(--tev-hard); }

.tev-826-btn--outline { background: transparent; border-color: var(--tev-ink-28); color: var(--tev-ink); }
.tev-826-btn--outline:hover { background: var(--tev-ink); color: var(--tev-ground); }

/* ---------- hero ---------- */
.tev-826-hero { position: relative; overflow: hidden; padding-block: 72px 48px; border-bottom: 1px solid var(--tev-ink-28); }
.tev-826-ghost {
	position: absolute;
	top: 50%;
	inset-inline-start: 0;
	transform: translate(-14%, -50%);
	font-family: var(--tev-display);
	font-weight: 900;
	font-size: var(--tev-ghost-size);
	line-height: 1;
	color: var(--tev-ghost);
	white-space: nowrap;
	user-select: none;
	pointer-events: none;
}
[dir="ltr"] .tev-826-ghost { transform: translate(14%, -50%); }
.tev-826-live { position: relative; z-index: 1; }
.tev-826-hero h1 { font-size: var(--tev-hero); }
.tev-826-hero h1 span { display: block; }

.tev-826-meta { display: flex; flex-wrap: wrap; gap: 24px 40px; margin-top: 40px; }
.tev-826-meta > div { min-width: 98px; }
.tev-826-meta-v { font-size: 14px; font-weight: 500; margin-top: 4px; }

/* ---------- black event card ---------- */
.tev-826-card { background: var(--tev-hard); padding: 28px 20px; }
.tev-826-card-line { font-size: 20px; max-width: 44ch; font-weight: 900; letter-spacing: -.02em; line-height: 1.2; }
.tev-826-day { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 20px; border-top: 1px solid var(--tev-ink-28); }
.tev-826-day:first-of-type { margin-top: 28px; }
.tev-826-day-l { font-size: 22px; }
.tev-826-day-dim { color: var(--tev-ink-62); font-weight: 500; font-size: 14px; margin-inline-start: 10px; }
.tev-826-day-when { font-size: 14px; }

/* ---------- speakers: one shared hairline grid ---------- */
.tev-826-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--tev-ink-28); border-inline-start: 1px solid var(--tev-ink-28); margin-top: 24px; }
.tev-826-cell {
	position: relative;
	overflow: hidden;
	min-height: 200px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	border-inline-end: 1px solid var(--tev-ink-28);
	border-bottom: 1px solid var(--tev-ink-28);
}
.tev-826-init {
	position: absolute;
	top: -18px;
	inset-inline-start: -8px;
	font-family: var(--tev-display);
	font-weight: 900;
	font-size: 6.5rem;
	line-height: 1;
	color: var(--tev-ghost);
	opacity: .55;
	user-select: none;
	pointer-events: none;
}
.tev-826-nm { position: relative; font-size: 24px; }
.tev-826-rl,
.tev-826-st { position: relative; color: var(--tev-ink-62); font-size: 12px; font-weight: 500; }
.tev-826-rl { margin-top: 8px; }

/* ---------- inverted agenda spread ---------- */
.tev-826-inv { background: var(--tev-ink); color: var(--tev-ground); border-bottom-color: var(--tev-inv-rule); }
.tev-826-inv .tev-826-lbl { color: rgba(112, 2, 15, .62); }
.tev-826-dayhead { font-size: 28px; margin-block: 32px 4px; }
.tev-826-dayhead span { font-weight: 500; font-size: 15px; opacity: .5; margin-inline-start: 10px; }
.tev-826-slot { display: flex; flex-direction: column; gap: 6px; padding-block: 20px; border-bottom: 1px solid var(--tev-inv-rule); }
.tev-826-slot-t { font-family: var(--tev-mono); direction: ltr; unicode-bidi: isolate; font-size: 13px; font-weight: 500; }
.tev-826-slot-ttl { font-size: 20px; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.tev-826-slot-sp { font-size: 12px; font-weight: 500; opacity: .7; }
.tev-826-slot-stg { font-size: 11px; font-weight: 500; letter-spacing: .14em; opacity: .6; }

/* ---------- tickets ---------- */
.tev-826-tiers { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
.tev-826-tier { display: flex; flex-direction: column; border: 1px solid var(--tev-ink-28); padding: 24px; }
.tev-826-tier h3 { font-size: 24px; font-weight: 900; letter-spacing: -.02em; }
.tev-826-price { font-size: 3rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; margin-top: 12px; }
.tev-826-feats { margin-block: 20px 24px; }
.tev-826-feats li { border-top: 1px solid var(--tev-ink-28); padding-block: 12px; font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.tev-826-tier .tev-826-btn,
.tev-826-out { margin-top: auto; text-align: center; }
.tev-826-out { border: 1px solid var(--tev-ink-28); padding: 12px 24px; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.tev-826-tier--black { background: var(--tev-hard); border-color: var(--tev-hard); }
.tev-826-tier--black .tev-826-btn { background: var(--tev-ink); color: var(--tev-hard); border-color: var(--tev-ink); }
.tev-826-tier--black .tev-826-btn:hover { background: transparent; color: var(--tev-ink); }
.tev-826-tier--gone { opacity: .5; }
.tev-826-tier--gone h3,
.tev-826-tier--gone .tev-826-price { text-decoration: line-through; }

/* ---------- venue ---------- */
.tev-826-cols { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
.tev-826-cols h3 { font-size: 26px; font-weight: 900; letter-spacing: -.02em; margin-block: 6px 10px; }
.tev-826-cols p { font-size: 15px; line-height: 1.65; color: var(--tev-ink-62); overflow-wrap: anywhere; }

/* ---------- sponsor tiers ---------- */
.tev-826-sp { display: flex; flex-direction: column; gap: 10px; padding-block: 22px; border-top: 1px solid var(--tev-ink-28); }
.tev-826-names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.tev-826-names span { font-weight: 900; letter-spacing: -.02em; }
.tev-826-sp--t1 .tev-826-names span { font-size: 34px; }
.tev-826-sp--t2 .tev-826-names span { font-size: 24px; }
.tev-826-sp--t3 .tev-826-names span { font-size: 18px; color: var(--tev-ink-62); }

/* ---------- closing ---------- */
.tev-826-close { position: relative; overflow: hidden; }
.tev-826-close-ghost {
	position: absolute;
	bottom: 0;
	inset-inline-start: 0;
	transform: translateY(8%);
	font-family: var(--tev-display);
	font-weight: 900;
	font-size: clamp(9rem, 28vw, 25rem);
	line-height: 1;
	color: var(--tev-ghost);
	opacity: .17;
	white-space: nowrap;
	user-select: none;
	pointer-events: none;
}
.tev-826-close h2 { font-size: clamp(2.25rem, 9vw, 4rem); }
.tev-826-scarce { color: var(--tev-ink-62); font-size: 12px; font-weight: 500; letter-spacing: .1em; margin-top: 16px; }
.tev-826-close .tev-826-btn { margin-top: 28px; }
.tev-826-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--tev-ink-28); margin-top: 56px; padding-block: 20px; }
.tev-826-foot nav { display: flex; gap: 20px; }
.tev-826-foot .tev-826-m { color: var(--tev-ink-62); }

/* ---------- breakpoints ---------- */
@media (min-width: 768px) {
	.tev-826 { --tev-pad: 32px; --tev-block: 88px; }
	.tev-826-bar .tev-826-m { display: block; }
	.tev-826-hero { padding-block: 120px 72px; }
	.tev-826-card { padding: 44px; }
	.tev-826-card-line { font-size: 24px; }
	.tev-826-grid { grid-template-columns: repeat(2, 1fr); }
	.tev-826-cell { min-height: 240px; padding: 24px; }
	.tev-826-init { font-size: 8rem; }
	.tev-826-slot { flex-direction: row; align-items: baseline; gap: 24px; padding-block: 28px; }
	.tev-826-slot-t { width: 6rem; flex: none; }
	.tev-826-slot-mid { flex: 1; }
	.tev-826-slot-stg { width: 8rem; flex: none; text-align: end; }
	.tev-826-tiers { grid-template-columns: repeat(3, 1fr); gap: 32px; }
	.tev-826-tier { padding: 32px; }
	.tev-826-cols { grid-template-columns: repeat(3, 1fr); }
	.tev-826-sp { flex-direction: row; align-items: baseline; gap: 32px; }
	.tev-826-sp .tev-826-lbl { width: 10rem; flex: none; }
	.tev-826-sp--t1 .tev-826-names span { font-size: 48px; }
	.tev-826-sp--t2 .tev-826-names span { font-size: 30px; }
	.tev-826-sp--t3 .tev-826-names span { font-size: 20px; }
	.tev-826-close-live { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
	.tev-826-close .tev-826-btn { margin-top: 0; }
}

@media (min-width: 1100px) {
	.tev-826-grid { grid-template-columns: repeat(4, 1fr); }
	.tev-826-cell { min-height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
	.tev-826 *,
	.tev-826 *::before,
	.tev-826 *::after { transition: none !important; animation: none !important; }
}
