/* =========================================================
   Encore — theme styles (Rolling Slots DE)
   Tokens mirror theme.json palette (brand colours from inspecta-page-colors.json)
   Motif: concert stage — spotlight beams, equaliser H2 marker, ticket-shaped CTAs.
   ========================================================= */
:root {
	--zt4_bg: var(--wp--preset--color--bg, #232634);
	--zt4_surface: var(--wp--preset--color--surface, #2A2D3D);
	--zt4_raised: var(--wp--preset--color--surface-2, #373A4D);
	--zt4_line: var(--wp--preset--color--border, #484C61);
	--zt4_night: var(--wp--preset--color--navy, #0C114F);
	--zt4_plum: var(--wp--preset--color--purple-deep, #3E2270);
	--zt4_violet: var(--wp--preset--color--purple, #5E2DB7);
	--zt4_gold: var(--wp--preset--color--gold, #FFBC0D);
	--zt4_gold_soft: var(--wp--preset--color--gold-soft, #FFD975);
	--zt4_red: var(--wp--preset--color--red, #C23342);
	--zt4_text: var(--wp--preset--color--text, #F5F5F5);
	--zt4_muted: var(--wp--preset--color--muted, #B6B5C1);
	--zt4_ink: #1B1D29; /* text on gold */

	--zt4_display: var(--wp--preset--font-family--display, "Archivo", system-ui, sans-serif);
	--zt4_body: var(--wp--preset--font-family--body, "Figtree", system-ui, sans-serif);

	--zt4_wrap: 1080px;
	--zt4_gutter: clamp(16px, 4vw, 32px);
	--zt4_radius: 14px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--zt4_bg); color: var(--zt4_text); font: 400 16px/1.7 var(--zt4_body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--zt4_gold_soft); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--zt4_gold); }
p { margin: 0 0 1.1em; }
strong { font-weight: 700; color: #fff; }
ul, ol { margin: 0 0 1.2em; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--zt4_display); font-stretch: 112%; line-height: 1.08; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 3.7vw, 2.75rem); font-weight: 850; text-transform: uppercase; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.1rem; font-weight: 700; font-stretch: 100%; text-transform: none; letter-spacing: 0; }
.zt4_wrap { width: 100%; max-width: calc(var(--zt4_wrap) + 2 * var(--zt4_gutter)); margin-left: auto; margin-right: auto; padding-left: var(--zt4_gutter); padding-right: var(--zt4_gutter); }
.wp-site-blocks > * { margin-block: 0; }
.zt4_main .wp-block-post-content > * { margin-block: 0; }
.zt4_accent { color: var(--zt4_gold); }
.zt4_tag, .zt4_code { display: inline-block; padding: 1px 9px; border: 1.5px dashed var(--zt4_gold); border-radius: 6px; color: var(--zt4_gold); font-weight: 800; letter-spacing: .06em; line-height: 1.5; }
.zt4_check { color: var(--zt4_gold); font-weight: 800; }
.zt4_yes { color: var(--zt4_gold); font-weight: 700; }
.zt4_no { color: #ff9aa5; font-weight: 700; }

/* ---------- Buttons (zt4/button) — ticket shape, <button> only; redirect via .zt4_cta ---------- */
.zt4_btn {
	--notch: 7px; --stub: 46px;
	position: relative; isolation: isolate; appearance: none; border: 0; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	padding: 15px calc(var(--stub) + 20px) 15px 28px; min-height: 52px;
	color: var(--zt4_ink);
	background:
		linear-gradient(105deg, transparent 35%, rgba(255,255,255,.55) 48%, transparent 60%) -160% 0 / 250% 100% no-repeat,
		linear-gradient(180deg, #FFE597 0%, #FFC93A 38%, #FFBC0D 62%, #E59E00 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.75), inset 0 -2px 0 rgba(120,72,0,.28), inset 0 0 0 1px rgba(160,100,0,.25);
	font: 800 .92rem/1.1 var(--zt4_display); font-stretch: 118%; text-transform: uppercase; letter-spacing: .06em; text-align: center;
	text-shadow: 0 1px 0 rgba(255,236,170,.6);
	-webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
	        mask: radial-gradient(circle var(--notch) at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
	border-radius: 6px;
	transition: background-position .7s ease, transform .2s ease, filter .2s ease;
}
/* ticket stub: tinted end + perforation + arrow */
.zt4_btn::before {
	content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: var(--stub);
	background: linear-gradient(180deg, rgba(120,72,0,.06), rgba(120,72,0,.2));
	border-left: 2px dashed rgba(27,29,41,.38);
}
.zt4_btn::after {
	content: ""; position: absolute; top: 50%; right: calc(var(--stub) / 2 - 8px); width: 16px; height: 16px; margin-top: -8px;
	background: var(--zt4_ink);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7' fill='none' stroke='%23000' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
	transition: transform .25s ease;
}
.zt4_btn:hover { background-position: 160% 0, 0 0; transform: translateY(-2px); filter: brightness(1.05) saturate(1.05); color: var(--zt4_ink); }
.zt4_btn:hover::after { transform: translateX(3px); }
.zt4_btn:active { transform: translateY(0); }
.zt4_btn:focus-visible { outline: 3px solid var(--zt4_gold_soft); outline-offset: 3px; }
.zt4_btn--sm { --stub: 36px; min-height: 42px; padding: 10px calc(var(--stub) + 14px) 10px 18px; font-size: .82rem; }
.zt4_btn--sm::after { width: 14px; height: 14px; margin-top: -7px; right: calc(var(--stub) / 2 - 7px); -webkit-mask-size: 14px; mask-size: 14px; }
.zt4_btn_row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.zt4_btn_inline { display: inline-flex; }
.zt4_only_mob { display: none !important; }

/* ---------- Header (parts/header.html) ---------- */
.zt4_header { position: sticky; top: 0; z-index: 50; }
.zt4_header::before { /* blur on a pseudo element: a filtered header would trap the fixed dropdown */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(12,17,79,.84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255,217,117,.14);
}
.admin-bar .zt4_header { top: var(--wp-admin--admin-bar--height, 32px); }
.zt4_header__in { display: flex; align-items: center; gap: 24px; min-height: 76px; position: relative; }
.zt4_header .wp-block-site-logo { flex: none; line-height: 0; margin: 0; }
.zt4_logo img, .wp-block-site-logo.zt4_logo img { width: 100%; max-width: 100px; height: auto; }

/* navigation base (core navigation CSS is dequeued in inc/performance.php) */
.wp-block-navigation { position: relative; }
.wp-block-navigation ul { list-style: none; margin: 0; padding: 0; }
.wp-block-navigation__container { display: flex; flex-wrap: wrap; align-items: center; }
.wp-block-navigation .wp-block-navigation-item { display: flex; align-items: center; position: relative; }
.wp-block-navigation .wp-block-navigation-item__content { text-decoration: none; }

/* nav.zt4_nav: WordPress also copies the class onto the inner <ul> */
.zt4_header nav.zt4_nav { margin-left: auto; }
.zt4_header .zt4_nav .wp-block-navigation__container { gap: 6px; }
.zt4_header .zt4_nav .wp-block-navigation-item__content {
	display: block; padding: 7px 12px; border: 1px solid transparent; border-radius: 6px;
	color: var(--zt4_text); font: 600 .95rem/1.2 var(--zt4_body); transition: color .2s, border-color .2s;
}
.zt4_header .zt4_nav .wp-block-navigation-item__content:hover { color: var(--zt4_gold); }
.zt4_header .zt4_nav .wp-block-navigation-item__content[aria-current="page"] { color: var(--zt4_gold); border-color: rgba(255,188,13,.55); }
.zt4_header__cta { flex: none; }
.zt4_header .zt4_header__login { display: none; } /* Login: never on desktop, only next to the menu button */
.zt4_header .zt4_nav .zt4_nav_cta { display: none; } /* Sign up inside the dropdown only */

.zt4_burger {
	display: none; appearance: none; cursor: pointer; flex: none;
	width: 44px; height: 44px; align-items: center; justify-content: center;
	border: 1px solid var(--zt4_line); border-radius: 10px; background: var(--zt4_surface); color: var(--zt4_text);
}
.zt4_burger svg { width: 22px; height: 22px; }
.zt4_burger .zt4_burger__close { display: none; }
.zt4_burger[aria-expanded="true"] .zt4_burger__open { display: none; }
.zt4_burger[aria-expanded="true"] .zt4_burger__close { display: block; }

/* Menu-button breakpoint (one value for header, buttons and sticky CTA): Login + burger appear, Sign up moves into the dropdown */
@media (max-width: 1023px) {
	.zt4_header__in { gap: 10px; min-height: 68px; }
	.zt4_only_desk { display: none !important; }
	.zt4_only_mob { display: inline-flex !important; }
	.zt4_header .zt4_header__login { display: inline-flex; margin-left: auto; order: 5; }
	.zt4_burger { display: inline-flex; order: 10; }
	.zt4_header nav.zt4_nav {
		position: absolute; top: 100%; left: 0; right: 0; margin: 0; display: block;
		background: var(--zt4_night); border-bottom: 1px solid rgba(255,217,117,.18); box-shadow: 0 18px 30px rgba(0,0,0,.4);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
	}
	.zt4_header nav.zt4_nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
	.zt4_header .zt4_nav .wp-block-navigation__container { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--zt4_gutter) 0; }
	.zt4_header .zt4_nav .wp-block-navigation-item { width: 100%; }
	.zt4_header .zt4_nav .wp-block-navigation-item__content { flex: 1; padding: 13px 12px; font-size: 1.02rem; border-radius: 8px; }
	.zt4_header .zt4_nav .wp-block-navigation-item__content[aria-current="page"] { background: rgba(255,188,13,.08); }
	.zt4_header .zt4_nav .zt4_nav_cta { display: flex; width: 100%; padding: 12px var(--zt4_gutter) 20px; }
	.zt4_header .zt4_nav .zt4_nav_cta .zt4_btn { width: 100%; padding-left: calc(var(--stub) + 20px); }
}

/* ---------- Hero (zt4/hero) ---------- */
.zt4_hero {
	position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(40px, 5vw, 64px);
	background:
		radial-gradient(60% 70% at 85% 0%, rgba(94,45,183,.55), transparent 70%),
		radial-gradient(45% 60% at 10% 100%, rgba(62,34,112,.65), transparent 70%),
		var(--zt4_night);
}
/* stage beams */
.zt4_hero::before, .zt4_hero::after {
	content: ""; position: absolute; top: -20%; width: 38%; height: 140%; pointer-events: none;
	background: linear-gradient(180deg, rgba(255,217,117,.16), rgba(255,217,117,0) 70%); filter: blur(6px);
	clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%);
}
.zt4_hero::before { left: 8%; transform: rotate(18deg); }
.zt4_hero::after { right: 14%; transform: rotate(-14deg); opacity: .75; }
.zt4_hero .zt4_wrap { position: relative; z-index: 1; }
.zt4_hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.zt4_hero--simple .zt4_hero__grid { grid-template-columns: minmax(0, 1fr); }
.zt4_hero--simple .zt4_hero__text { max-width: 860px; }
.zt4_hero__text h1 { margin-bottom: 22px; }
.zt4_hero__intro { font-size: 1.05rem; color: #E9E8EF; }
.zt4_hero__intro p:last-child { margin-bottom: 0; }
.zt4_hero .zt4_btn_row { margin-top: 26px; }
.zt4_hero .zt4_figure { margin: 0; }
.zt4_hero .zt4_img { box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.zt4_hero__note { margin: clamp(32px, 4vw, 48px) 0 0; padding: 20px 24px; border: 1px solid rgba(255,217,117,.22); border-radius: var(--zt4_radius); background: rgba(35,38,52,.55); color: #E4E3EA; }
.zt4_hero__note p { margin: 0; }
.zt4_hero__note p + p { margin-top: 1em; }

/* ---------- Images (zt4/image) — .zt4_img_cta = redirect target ---------- */
.zt4_figure { margin: 32px 0 0; }
.zt4_img_cta { cursor: pointer; }
.zt4_img {
	position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
	border-radius: var(--zt4_radius); border: 1px solid rgba(255,217,117,.18);
	background:
		radial-gradient(70% 90% at 80% 10%, rgba(94,45,183,.65), transparent 65%),
		linear-gradient(160deg, #151a5e, #2a1f5c 60%, #232634);
	display: flex; align-items: center; justify-content: center; text-align: center;
	transition: border-color .25s ease, transform .25s ease;
}
img.zt4_img--photo { display: block; height: auto; object-fit: cover; background: var(--zt4_surface); }
.zt4_img_cta:hover .zt4_img { border-color: rgba(255,217,117,.45); }
.zt4_img__ph { display: block; max-width: 34ch; padding: 24px; font-size: .92rem; line-height: 1.4; color: var(--zt4_muted); }
.zt4_img__ph::before {
	content: ""; display: block; width: 46px; height: 46px; margin: 0 auto 14px; background: var(--zt4_gold); opacity: .85;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 16l-5-5-9 9'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='M21 16l-5-5-9 9'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Sections (zt4/section) ---------- */
.zt4_section { padding: clamp(48px, 6vw, 80px) 0; position: relative; }
.zt4_section + .zt4_section { border-top: 1px solid rgba(72,76,97,.6); }
.zt4_section--alt { background: var(--zt4_surface); border-top: 0 !important; }
.zt4_section--alt + .zt4_section { border-top: 0; }
.zt4_section--tight { padding: 40px 0; }
.zt4_section--flush_top { padding-top: 24px; }
.zt4_section .zt4_wrap > :last-child, .zt4_panel > :last-child { margin-bottom: 0; }
/* H2 with an equaliser marker */
.zt4_section h2.wp-block-heading { position: relative; padding-left: 44px; margin: 0 0 26px; word-wrap: break-word;}
.zt4_section h2.wp-block-heading:not(:first-child) { margin-top: 56px; }
.zt4_section h2.wp-block-heading::before {
	content: ""; position: absolute; left: 0; top: .08em; width: 30px; height: .9em; background: var(--zt4_gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 28'%3E%3Crect x='0' y='10' width='6' height='18' rx='1.5'/%3E%3Crect x='8' y='0' width='6' height='28' rx='1.5'/%3E%3Crect x='16' y='6' width='6' height='22' rx='1.5'/%3E%3Crect x='24' y='14' width='6' height='14' rx='1.5'/%3E%3C/svg%3E") left bottom / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 28'%3E%3Crect x='0' y='10' width='6' height='18' rx='1.5'/%3E%3Crect x='8' y='0' width='6' height='28' rx='1.5'/%3E%3Crect x='16' y='6' width='6' height='22' rx='1.5'/%3E%3Crect x='24' y='14' width='6' height='14' rx='1.5'/%3E%3C/svg%3E") left bottom / contain no-repeat;
}
.zt4_section h3.wp-block-heading { margin: 36px 0 14px; color: var(--zt4_gold_soft); }
.zt4_section p.zt4_label { margin: 28px 0 10px; font: 700 .82rem/1.3 var(--zt4_display); font-stretch: 118%; text-transform: uppercase; letter-spacing: .08em; color: var(--zt4_gold); }
.zt4_section p.zt4_label strong { color: inherit; }
.is-style-zt4_lead { font-size: 1.06rem; }

/* highlighted bonus panel (section background "bonus") */
.zt4_panel {
	position: relative; overflow: hidden; border-radius: calc(var(--zt4_radius) + 6px); padding: clamp(26px, 4vw, 48px);
	background: radial-gradient(70% 120% at 100% 0%, rgba(94,45,183,.9), transparent 60%), linear-gradient(135deg, var(--zt4_plum), var(--zt4_night));
	border: 1px solid rgba(255,217,117,.25);
}
.zt4_panel p { color: #ECEBF2; }
.zt4_panel .wp-block-table table { background: rgba(35,38,52,.6); }

/* prose pages (legal) */
.zt4_prose .zt4_wrap > :not(.wp-block-table):not(.wp-block-zt4-faq) { max-width: 860px; }

/* ---------- Spec sheet (zt4/spec) ---------- */
.zt4_spec { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--zt4_line); border: 1px solid var(--zt4_line); border-radius: var(--zt4_radius); overflow: hidden; }
.zt4_spec__head { display: none; }
.zt4_spec__item { background: var(--zt4_bg); padding: 18px 22px; color: #E4E3EA; line-height: 1.5; }
.zt4_section--alt .zt4_spec__item { background: var(--zt4_surface); }
.zt4_spec dt { display: block; margin-bottom: 4px; color: var(--zt4_gold); font: 700 .78rem/1.3 var(--zt4_display); font-stretch: 118%; text-transform: uppercase; letter-spacing: .08em; }
.zt4_spec dd { margin: 0; }
.zt4_spec .zt4_spec__age { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; background: var(--zt4_surface); }
.zt4_spec .zt4_spec__age dt { display: inline-flex; align-items: center; justify-content: center; margin: 0; min-width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--zt4_red); color: #fff; font-size: .95rem; letter-spacing: 0; }
@media (max-width: 899px) and (min-width: 641px) {
	.zt4_spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zt4_spec__item:nth-last-child(2):nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .zt4_spec { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Lists (core/list block styles) ---------- */
.wp-block-list { padding-left: 1.2em; }
.wp-block-list li + li { margin-top: .35em; }
/* cards: bold lead = title */
.wp-block-list.is-style-zt4_cards { list-style: none; margin: 6px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wp-block-list.is-style-zt4_cards:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wp-block-list.is-style-zt4_cards > li { margin: 0; position: relative; background: var(--zt4_surface); border: 1px solid var(--zt4_line); border-radius: var(--zt4_radius); padding: 22px 22px 20px; line-height: 1.55; color: #DEDDE5; }
.zt4_section--alt .wp-block-list.is-style-zt4_cards > li { background: var(--zt4_bg); }
.zt4_panel .wp-block-list.is-style-zt4_cards > li { background: rgba(35,38,52,.6); }
.wp-block-list.is-style-zt4_cards > li > strong:first-child { display: block; margin-bottom: 8px; font: 750 1.02rem/1.3 var(--zt4_display); font-stretch: 108%; color: #fff; }
.wp-block-list.is-style-zt4_cards > li::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--zt4_gold); margin-bottom: 16px; }
/* rows with diamond markers */
.wp-block-list.is-style-zt4_rows { list-style: none; margin: 6px 0 26px; padding: 0; border-top: 1px solid var(--zt4_line); }
.wp-block-list.is-style-zt4_rows > li { margin: 0; position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--zt4_line); color: #DEDDE5; }
.wp-block-list.is-style-zt4_rows > li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 12px; height: 12px; border: 2px solid var(--zt4_gold); border-radius: 3px; transform: rotate(45deg); }
/* ticks + warnings */
.wp-block-list.is-style-zt4_ticks, .wp-block-list.is-style-zt4_warn { list-style: none; margin: 6px 0 26px; padding: 0; display: grid; gap: 12px; }
.wp-block-list.is-style-zt4_ticks > li, .wp-block-list.is-style-zt4_warn > li { margin: 0; position: relative; padding: 14px 18px 14px 52px; background: var(--zt4_surface); border: 1px solid var(--zt4_line); border-radius: 10px; }
.zt4_section--alt .wp-block-list.is-style-zt4_ticks > li, .zt4_section--alt .wp-block-list.is-style-zt4_warn > li { background: var(--zt4_bg); }
.zt4_panel .wp-block-list.is-style-zt4_ticks > li { background: rgba(35,38,52,.6); }
.wp-block-list.is-style-zt4_ticks > li::before, .wp-block-list.is-style-zt4_warn > li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%; }
.wp-block-list.is-style-zt4_ticks > li::before { background: var(--zt4_gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23232634' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.wp-block-list.is-style-zt4_warn > li { border-left: 3px solid var(--zt4_red); }
.wp-block-list.is-style-zt4_warn > li::before { background: var(--zt4_red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v8M12 18h.01' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
/* numbered steps */
.wp-block-list.is-style-zt4_steps { list-style: none; counter-reset: zt4s; margin: 6px 0 26px; padding: 0; display: grid; gap: 12px; }
.wp-block-list.is-style-zt4_steps > li { margin: 0; counter-increment: zt4s; position: relative; padding: 16px 20px 16px 72px; min-height: 58px; background: var(--zt4_surface); border: 1px solid var(--zt4_line); border-radius: var(--zt4_radius); color: #DEDDE5; }
.zt4_section--alt .wp-block-list.is-style-zt4_steps > li { background: var(--zt4_bg); }
.wp-block-list.is-style-zt4_steps > li::before { content: counter(zt4s, decimal-leading-zero); position: absolute; left: 20px; top: 15px; font: 800 1.3rem/1.2 var(--zt4_display); font-stretch: 118%; color: var(--zt4_gold); }

/* ---------- Tables (core/table) — fluid, no horizontal scroll ---------- */
.wp-block-table { margin: 6px 0 26px; width: 100%; }
.wp-block-table table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--zt4_line); border-radius: var(--zt4_radius); overflow: hidden; font-size: clamp(.74rem, 2.6vw, .98rem); line-height: 1.45; table-layout: auto; }
.wp-block-table thead { border: 0; }
.wp-block-table th, .wp-block-table td { padding: clamp(9px, 1.6vw, 15px) clamp(8px, 1.8vw, 18px); text-align: left; vertical-align: top; overflow-wrap: anywhere; hyphens: auto; border: 0; }
.wp-block-table thead th { background: var(--zt4_plum); color: #fff; font: 700 clamp(.68rem, 2.2vw, .82rem)/1.3 var(--zt4_display); font-stretch: 112%; text-transform: uppercase; letter-spacing: .06em; }
.wp-block-table tbody td { border-top: 1px solid var(--zt4_line); color: #E1E0E8; }
.wp-block-table tbody tr:nth-child(even) td { background: rgba(42,45,61,.75); }
.zt4_section--alt .wp-block-table tbody tr:nth-child(even) td { background: rgba(35,38,52,.7); }
.wp-block-table td:first-child { color: #fff; font-weight: 600; }
.wp-block-table figcaption { margin-top: 8px; font-size: .85rem; color: var(--zt4_muted); }
/* numbers right-aligned */
.wp-block-table.is-style-zt4_num td:not(:first-child), .wp-block-table.is-style-zt4_num th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.wp-block-table.is-style-zt4_num td:not(:first-child) { white-space: nowrap; }
@media (max-width: 640px) { .wp-block-table th { letter-spacing: .02em; } .wp-block-table.is-style-zt4_num td:not(:first-child), .wp-block-table.is-style-zt4_prize td:last-child { white-space: normal; } }
/* gold last column (prize money) */
.wp-block-table.is-style-zt4_prize td:last-child { color: var(--zt4_gold); font-weight: 700; white-space: nowrap; }
/* gold first column (audience / labels) */
.wp-block-table.is-style-zt4_fit td:first-child { width: 28%; color: var(--zt4_gold); font: 750 clamp(.8rem, 2.4vw, 1.05rem)/1.3 var(--zt4_display); font-stretch: 110%; }
.wp-block-table.is-style-zt4_fit td:first-child strong { color: inherit; }
/* pros / conditions */
.wp-block-table.is-style-zt4_pc thead th:first-child { background: rgba(255,188,13,.16); color: var(--zt4_gold); }
.wp-block-table.is-style-zt4_pc thead th:last-child { background: rgba(194,51,66,.22); color: #ffb3bb; }
.wp-block-table.is-style-zt4_pc td { position: relative; padding-left: clamp(30px, 4.5vw, 46px); width: 50%; }
.wp-block-table.is-style-zt4_pc td:first-child { font-weight: 500; color: #E1E0E8; }
.wp-block-table.is-style-zt4_pc td + td { border-left: 1px solid var(--zt4_line); }
.wp-block-table.is-style-zt4_pc td::before { content: ""; position: absolute; left: clamp(9px, 1.6vw, 16px); top: clamp(11px, 1.8vw, 17px); width: clamp(14px, 2.2vw, 18px); height: clamp(14px, 2.2vw, 18px); border-radius: 50%; }
.wp-block-table.is-style-zt4_pc td:first-child::before { background: var(--zt4_gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%23232634' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 78% no-repeat; }
.wp-block-table.is-style-zt4_pc td:last-child::before { background: var(--zt4_red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12h12' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 78% no-repeat; }

/* ---------- Columns + groups ---------- */
.wp-block-columns { display: flex; gap: clamp(24px, 4vw, 48px); margin: 0 0 26px; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
.wp-block-columns.is-style-zt4_split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; }
.wp-block-columns.is-style-zt4_split.zt4_media { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; }
.wp-block-columns .zt4_figure { margin: 0; }
.wp-block-columns.zt4_media .zt4_img { aspect-ratio: 4 / 5; }
.wp-block-columns.zt4_media h2.wp-block-heading { margin-top: 0; }
.is-style-zt4_callout { position: relative; padding: 24px 24px 6px; border-radius: var(--zt4_radius); border: 1px solid rgba(255,217,117,.22); background: linear-gradient(160deg, rgba(62,34,112,.55), rgba(42,45,61,.9)); margin: 0 0 26px; }
.is-style-zt4_callout::before { content: ""; position: absolute; left: 24px; top: -1px; width: 56px; height: 3px; background: var(--zt4_gold); border-radius: 0 0 3px 3px; }
.is-style-zt4_callout > :last-child { margin-bottom: 18px; }
/* feature cards (runs of "**Lead.** text" paragraphs) */
.is-style-zt4_features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 6px 0 26px; }
.is-style-zt4_features:has(> p:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.is-style-zt4_features > p { margin: 0; padding: 22px; background: var(--zt4_surface); border: 1px solid var(--zt4_line); border-radius: var(--zt4_radius); color: #DEDDE5; line-height: 1.6; }
.zt4_section--alt .is-style-zt4_features > p { background: var(--zt4_bg); }
.is-style-zt4_features > p::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--zt4_gold); margin-bottom: 16px; }
.is-style-zt4_features > p > strong:first-child { display: block; margin-bottom: 8px; font: 750 1.02rem/1.3 var(--zt4_display); font-stretch: 108%; }
/* 18+ notice (only where the content puts the responsible-gambling sentence) */
.is-style-zt4_age { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: var(--zt4_radius); border: 1px solid rgba(194,51,66,.55); background: rgba(194,51,66,.08); }
.is-style-zt4_age::before { content: "18+"; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--zt4_red); font: 800 1rem/1 var(--zt4_display); color: #fff; }
.is-style-zt4_age > p { margin: 0; color: #E4E3EA; }
.is-style-zt4_age > p + p { margin-top: .8em; }
.is-style-zt4_age > div, .is-style-zt4_age > :not(p) { flex: 1; }

/* ---------- FAQ (zt4/faq) — numbered cards, animated open + close ---------- */
.zt4_faq { display: grid; gap: 12px; counter-reset: zt4q; }
.zt4_faq__item { counter-increment: zt4q; position: relative; background: var(--zt4_surface); border: 1px solid var(--zt4_line); border-radius: var(--zt4_radius); transition: border-color .35s ease, background-color .35s ease, box-shadow .35s ease; }
.zt4_section--alt .zt4_faq__item { background: var(--zt4_bg); }
.zt4_faq__item::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--zt4_gold); transform: scaleY(0); transition: transform .35s ease; }
.zt4_faq__item:hover { border-color: #5a5e76; }
.zt4_faq__item.is-open { background: linear-gradient(160deg, rgba(62,34,112,.45), var(--zt4_surface) 55%); border-color: rgba(255,188,13,.45); box-shadow: 0 18px 36px -24px rgba(0,0,0,.8); }
.zt4_faq__item.is-open::before { transform: scaleY(1); }
.zt4_faq__h { margin: 0; font: inherit; text-transform: none; letter-spacing: 0; }
.zt4_faq__q { appearance: none; width: 100%; display: flex; align-items: center; gap: 18px; background: none; border: 0; color: var(--zt4_text); text-align: left; cursor: pointer; padding: 20px 20px 20px 22px; font: 700 clamp(.98rem, 2.2vw, 1.08rem)/1.4 var(--zt4_body); }
.zt4_faq__q::before { content: counter(zt4q, decimal-leading-zero); flex: none; min-width: 2.1em; font: 800 .95rem/1 var(--zt4_display); font-stretch: 118%; color: var(--zt4_gold); opacity: .75; transition: opacity .35s; }
.zt4_faq__item.is-open .zt4_faq__q::before { opacity: 1; }
.zt4_faq__q:hover { color: var(--zt4_gold_soft); }
.zt4_faq__q:focus-visible { outline: 2px solid var(--zt4_gold); outline-offset: -2px; border-radius: var(--zt4_radius); }
.zt4_faq__icon { flex: none; margin-left: auto; position: relative; width: 34px; height: 34px; border-radius: 9px; background: var(--zt4_raised); border: 1px solid var(--zt4_line); transition: background-color .35s ease, border-color .35s ease; }
.zt4_faq__icon::before, .zt4_faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px 0 0 -6.5px; background: var(--zt4_gold); border-radius: 2px; transition: background-color .35s, transform .35s ease; }
.zt4_faq__icon::after { transform: rotate(90deg); }
.zt4_faq__q[aria-expanded="true"] .zt4_faq__icon { background: var(--zt4_gold); border-color: var(--zt4_gold); }
.zt4_faq__q[aria-expanded="true"] .zt4_faq__icon::before { transform: rotate(135deg); background: var(--zt4_ink); }
.zt4_faq__q[aria-expanded="true"] .zt4_faq__icon::after { transform: rotate(225deg); background: var(--zt4_ink); }
.zt4_faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.zt4_faq__a > div { overflow: hidden; min-height: 0; }
.zt4_faq__a p { margin: 0; padding: 0 70px 22px calc(22px + 2.1em + 18px); color: #DAD9E1; opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .35s ease; }
.zt4_faq__item.is-open .zt4_faq__a { grid-template-rows: 1fr; }
.zt4_faq__item.is-open .zt4_faq__a p { opacity: 1; transform: none; }

/* ---------- Contact (zt4/contact-form) ---------- */
.zt4_contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.zt4_contact__form { order: 1; background: var(--zt4_surface); border: 1px solid var(--zt4_line); border-radius: var(--zt4_radius); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 16px; }
.zt4_contact__info { order: 2; position: relative; padding: clamp(22px, 3.5vw, 32px); border-radius: var(--zt4_radius); border: 1px solid rgba(255,217,117,.25); background: radial-gradient(80% 120% at 100% 0%, rgba(94,45,183,.7), transparent 60%), linear-gradient(150deg, var(--zt4_plum), var(--zt4_night)); }
.zt4_contact__title { margin: 0 0 6px; font: 700 .8rem/1.3 var(--zt4_display); font-stretch: 118%; text-transform: uppercase; letter-spacing: .12em; color: var(--zt4_gold); padding: 0 !important; }
.zt4_contact__title::before { display: none !important; }
.zt4_contact__info dl { margin: 18px 0 0; display: grid; gap: 18px; }
.zt4_contact__info dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--zt4_muted); margin-bottom: 4px; }
.zt4_contact__info dd { margin: 0; font-weight: 600; color: #fff; overflow-wrap: anywhere; }
.zt4_contact__info dd a { color: var(--zt4_gold_soft); }
.zt4_field { display: grid; gap: 6px; }
.zt4_field span { font-size: .88rem; font-weight: 600; color: #E4E3EA; }
.zt4_field input, .zt4_field textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--zt4_line); background: var(--zt4_bg); color: var(--zt4_text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.zt4_field textarea { resize: vertical; min-height: 140px; }
.zt4_field input:focus, .zt4_field textarea:focus { outline: 0; border-color: var(--zt4_gold); box-shadow: 0 0 0 3px rgba(255,188,13,.18); }
.zt4_form_submit { width: 100%; margin-top: 4px; }
@media (min-width: 520px) { .zt4_form_submit { padding-left: calc(var(--stub) + 20px); } }
.zt4_contact__notice { margin: 0; padding: 12px 16px; border-radius: 10px; background: rgba(255,188,13,.12); border: 1px solid rgba(255,188,13,.4); color: var(--zt4_gold_soft); font-weight: 600; }
.zt4_hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer (parts/footer.html) ---------- */
.zt4_footer { position: relative; background: radial-gradient(50% 120% at 100% 0%, rgba(94,45,183,.35), transparent 70%), var(--zt4_night); padding: 56px 0 0; }
.zt4_footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,188,13,.7) 50%, transparent); }
.zt4_footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding-bottom: 44px; }
.zt4_footer .wp-block-site-logo { margin: 0; line-height: 0; }
.zt4_footer__text { margin: 20px 0 0; color: var(--zt4_muted); font-size: .9rem; line-height: 1.65; max-width: 46ch; }
.zt4_footer__title { margin: 4px 0 16px; font: 700 .76rem/1.2 var(--zt4_display); font-stretch: 118%; letter-spacing: .14em; color: var(--zt4_gold); text-transform: uppercase; }
.zt4_footer .zt4_footer_nav .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 10px; }
.zt4_footer .zt4_footer_nav .wp-block-navigation-item__content { display: inline-block; color: #D9D8E2; font-size: .94rem; transition: color .2s, transform .2s; }
.zt4_footer .zt4_footer_nav .wp-block-navigation-item__content:hover { color: var(--zt4_gold); transform: translateX(3px); }
.zt4_footer__bar { border-top: 1px solid rgba(72,76,97,.7); padding: 18px 0 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.zt4_footer__bar p { margin: 0; }
.zt4_footer__copy { color: #8E8D9B; font-size: .84rem; }
.zt4_footer__age { display: inline-flex; align-items: center; gap: 10px; color: var(--zt4_muted); font-size: .84rem; }
.zt4_footer__age strong { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--zt4_red); color: #fff; font: 800 .72rem/1 var(--zt4_display); }
@media (max-width: 899px) {
	.zt4_footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.zt4_footer__brand { grid-column: 1 / -1; }
}

/* ---------- Sticky mobile CTA + scroll to top ---------- */
.zt4_sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0 16px calc(14px + env(safe-area-inset-bottom)); pointer-events: none; opacity: 0; transform: translateY(120%); transition: opacity .3s ease, transform .35s ease; display: none; }
.zt4_sticky .zt4_btn { pointer-events: auto; width: 100%; padding-left: calc(var(--stub) + 20px); filter: drop-shadow(0 10px 18px rgba(0,0,0,.55)); }
.zt4_sticky.is-visible { opacity: 1; transform: none; }
.zt4_to_top { position: fixed; right: 18px; bottom: 22px; z-index: 55; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255,217,117,.4); background: var(--zt4_night); color: var(--zt4_gold); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s, bottom .3s; }
.zt4_to_top[hidden] { display: none; }
.zt4_to_top.is-visible { opacity: 1; visibility: visible; transition: opacity .25s, bottom .3s; }
.zt4_to_top svg { width: 20px; height: 20px; }
@media (max-width: 1023px) {
	.zt4_sticky { display: block; }
	.zt4_has_sticky .zt4_to_top { bottom: 86px; }
	.zt4_footer__bar { padding-bottom: 90px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
	/* Mobile hero order: image → button → heading → intro → rest */
	.zt4_hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
	.zt4_hero__text { display: contents; }
	.zt4_hero__media { order: 1; }
	.zt4_hero .zt4_hero__btn { order: 2; margin: 18px 0 48px; }
	.zt4_hero__text h1 { order: 3; }
	.zt4_hero__intro { order: 4; }
	.zt4_hero--simple .zt4_hero__intro { order: 4; }
	.zt4_hero--simple .zt4_hero__btn { order: 5; margin: 24px 0 0; }
	.zt4_btn_row .zt4_btn { width: 100%; padding-left: calc(var(--stub) + 20px); }
	.wp-block-columns, .wp-block-columns.is-style-zt4_split, .wp-block-columns.is-style-zt4_split.zt4_media { display: grid; grid-template-columns: minmax(0, 1fr); }
	.wp-block-list.is-style-zt4_cards:has(> li:nth-child(3):last-child), .is-style-zt4_features { grid-template-columns: minmax(0, 1fr); }
	.wp-block-columns.zt4_media .zt4_figure { max-width: 420px; }
	.zt4_contact { grid-template-columns: minmax(0, 1fr); }
	.zt4_contact__info { order: 0; }
}
@media (max-width: 640px) {
	.zt4_btn_row .zt4_btn, .zt4_sticky .zt4_btn, .zt4_header .zt4_nav .zt4_nav_cta .zt4_btn { padding-left: 18px; padding-right: calc(var(--stub) + 10px); letter-spacing: .03em; font-size: .84rem; font-stretch: 108%; }
	.wp-block-list.is-style-zt4_cards { grid-template-columns: minmax(0, 1fr); }
	.zt4_section h2.wp-block-heading { padding-left: 38px; }
	.zt4_section h2.wp-block-heading::before { width: 26px; }
	.is-style-zt4_age { flex-direction: column; }
	.zt4_faq__q { padding: 18px 14px 18px 16px; gap: 12px; }
	.zt4_faq__a p { padding: 0 16px 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
