/* ONEVOICE27 WNUC Content Creator Training. Everything is scoped to .wnuc-ct
   (and the panel, which is moved to <body> when open) so no other page changes. */
.wnuc-ct {
	--ct-navy: #031530;
	--ct-stage: #030833; /* the flyer's own backdrop */
	--ct-blue: #086AFE;
	--ct-blue-dark: #0557CE;
	--ct-blue-pale: #E8F1FE;
	--ct-ink: #334155;
	--ct-muted: #64748B;
	--ct-line: #E2E8F0;
	--ct-red: #C81E1E;
	--ct-head: "Outfit", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--ct-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-family: var(--ct-body);
	color: var(--ct-ink);
}

.wnuc-ct *, .wnuc-ct *::before, .wnuc-ct *::after,
.wnuc-ct-panel *, .wnuc-ct-panel *::before, .wnuc-ct-panel *::after { box-sizing: border-box; }

.wnuc-ct [hidden], .wnuc-ct-panel [hidden], .wnuc-ct-scrim[hidden] { display: none !important; }

.wnuc-ct-sr {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Hero. The background colour is the flyer's own backdrop, so the artwork's
   faded edges melt into it and the whole band reads as one scene. */
.wnuc-ct-hero {
	position: relative;
	overflow: hidden;
	background: var(--ct-stage);
}
.wnuc-ct-hero-glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(118% 86% at 76% 54%, rgba(20, 62, 150, .34), rgba(3, 8, 51, 0) 64%),
		radial-gradient(90% 70% at 8% 28%, rgba(60, 24, 130, .3), rgba(3, 8, 51, 0) 62%);
	pointer-events: none;
}
.wnuc-ct-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(28px, 3.6vw, 56px) 20px clamp(96px, 9vw, 132px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
	align-items: center;
	gap: clamp(16px, 2.6vw, 44px);
}

.wnuc-ct-wordmark {
	display: block;
	width: clamp(196px, 25vw, 320px);
	height: auto;
	margin: 0 0 clamp(8px, 1.2vw, 16px);
}

.wnuc-ct-title {
	margin: 0 0 clamp(12px, 1.6vw, 20px);
	font-family: "Anton", var(--ct-head);
	font-weight: 400;
	font-size: clamp(29px, 4.3vw, 54px);
	line-height: .92;
	letter-spacing: .004em;
	text-transform: uppercase;
	color: #fff;
}
.wnuc-ct-title span { display: block; }
.wnuc-ct-title-b { font-size: 1.5em; }

.wnuc-ct-tagline {
	margin: 0 0 clamp(18px, 2.4vw, 28px);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(16px, 1.75vw, 23px);
	line-height: 1.3;
	color: #E8EFFB;
}

.wnuc-ct-hero-cta { margin: 0; }

.wnuc-ct-hero-art { margin: 0; min-width: 0; }
.wnuc-ct-hero-art img {
	display: block;
	width: 100%;
	height: auto;
}
/* On a wide screen the artwork runs past the content container and finishes at
   the window edge, the way it sits on the flyer. The copy stays on the site's
   container line, because the left padding grows by exactly the same amount. */
@media (min-width: 721px) {
	.wnuc-ct-hero-inner {
		max-width: min(1600px, 100%);
		padding-right: 0;
		padding-left: max(20px, calc((100% - 1180px) / 2 + 20px));
	}
}

/* Buttons */
.wnuc-ct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 14px 28px;
	font-family: var(--ct-head);
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: var(--ct-blue);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s ease, transform .1s ease;
}
.wnuc-ct-btn:hover { background: var(--ct-blue-dark); color: #fff; }
.wnuc-ct-btn:active { transform: translateY(1px); }
.wnuc-ct-btn:focus-visible { outline: 3px solid #6FB0FF; outline-offset: 3px; }
.wnuc-ct-btn[disabled] { opacity: .72; cursor: wait; }
.wnuc-ct-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Summary card overlapping the hero */
.wnuc-ct-shell {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px 72px;
}

.wnuc-ct-summary {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-top: clamp(-80px, -7vw, -56px);
	padding: 26px 18px;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 60px -28px rgba(3, 21, 48, .35), 0 2px 10px rgba(3, 21, 48, .06);
	position: relative;
	z-index: 2;
}
.wnuc-ct-summary-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 4px 18px;
	border-left: 1px solid var(--ct-line);
}
.wnuc-ct-summary-item:first-child { border-left: 0; }

.wnuc-ct-ico {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ct-blue-pale);
}
.wnuc-ct-ico svg {
	width: 23px;
	height: 23px;
	fill: none;
	stroke: var(--ct-blue);
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.wnuc-ct-summary-text {
	font-family: var(--ct-head);
	font-size: 15.5px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ct-navy);
}
.wnuc-ct-summary-sub {
	display: block;
	margin-top: 3px;
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.35;
	color: var(--ct-muted);
}

.wnuc-ct-meta {
	margin: 18px 2px 0;
	font-size: 15px;
	color: var(--ct-muted);
}
.wnuc-ct-dot { padding: 0 8px; color: #CBD5E1; }

/* Article */
.wnuc-ct-body {
	max-width: 68ch;
	margin: clamp(38px, 5vw, 60px) 0 0;
	font-size: 17px;
	line-height: 1.7;
}
.wnuc-ct-body h2 {
	margin: 0 0 18px;
	font-family: var(--ct-head);
	font-size: clamp(28px, 3.4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: var(--ct-navy);
}
.wnuc-ct-body h3 {
	margin: 36px 0 14px;
	font-family: var(--ct-head);
	font-size: clamp(19px, 2.2vw, 22px);
	font-weight: 700;
	letter-spacing: .01em;
	color: var(--ct-navy);
}
.wnuc-ct-body p { margin: 0 0 18px; }
.wnuc-ct-body ul { margin: 0 0 18px; padding-left: 22px; }
.wnuc-ct-body li { margin-bottom: 8px; }

.wnuc-ct-lead {
	font-family: var(--ct-head);
	font-size: clamp(18px, 2.2vw, 21px);
	font-weight: 600;
	line-height: 1.45;
	color: var(--ct-navy);
}
.wnuc-ct-callout {
	font-family: var(--ct-head);
	font-weight: 700;
	color: var(--ct-blue);
	letter-spacing: .01em;
}
.wnuc-ct-cta-row { margin-top: 28px; }

/* Slide-over panel */
.wnuc-ct-scrim {
	position: fixed;
	inset: 0;
	background: rgba(3, 21, 48, .45);
	z-index: 100000;
	opacity: 0;
	transition: opacity .25s ease;
}
.wnuc-ct-scrim.is-open { opacity: 1; }

.wnuc-ct-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(560px, 100%);
	background: #fff;
	z-index: 100001;
	box-shadow: -24px 0 60px -30px rgba(3, 21, 48, .5);
	transform: translateX(100%);
	transition: transform .28s ease;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	font-family: var(--ct-body);
	color: var(--ct-ink);
}
.wnuc-ct-panel.is-open { transform: translateX(0); }

.wnuc-ct-panel-inner { padding: 28px clamp(20px, 4vw, 44px) calc(56px + env(safe-area-inset-bottom, 0px)); }

.wnuc-ct-close {
	position: sticky;
	top: 14px;
	float: right;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: calc(14px + env(safe-area-inset-top, 0px)) calc(14px + env(safe-area-inset-right, 0px)) 0 0;
	background: #fff;
	border: 1px solid var(--ct-line);
	border-radius: 50%;
	cursor: pointer;
	z-index: 2;
}
.wnuc-ct-close svg { width: 18px; height: 18px; fill: none; stroke: var(--ct-navy); stroke-width: 2.2; stroke-linecap: round; }
.wnuc-ct-close:hover { background: #F8FAFC; }
.wnuc-ct-close:focus-visible { outline: 3px solid var(--ct-blue); outline-offset: 2px; }

.wnuc-ct-panel-eyebrow {
	margin: 0 0 10px;
	font-family: var(--ct-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--ct-blue);
}
.wnuc-ct-panel-title {
	margin: 0 0 6px;
	font-family: var(--ct-head);
	font-size: clamp(30px, 4.4vw, 40px);
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ct-navy);
}
.wnuc-ct-panel-sub { margin: 0 0 26px; font-size: 16px; color: var(--ct-muted); }

/* Form */
.wnuc-ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wnuc-ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 620px) { .wnuc-ct-row { grid-template-columns: 1fr; } }

.wnuc-ct-field { margin-bottom: 20px; }
.wnuc-ct-field > label {
	display: block;
	margin-bottom: 8px;
	font-family: var(--ct-head);
	font-size: 15.5px;
	font-weight: 600;
	color: var(--ct-navy);
}

.wnuc-ct-panel input[type="text"],
.wnuc-ct-panel input[type="email"],
.wnuc-ct-panel input[type="tel"],
.wnuc-ct-panel select {
	width: 100%;
	height: 52px;
	padding: 0 16px;
	font-family: var(--ct-body);
	font-size: 16px;
	color: var(--ct-navy);
	background: #fff;
	border: 1px solid #CBD5E1;
	border-radius: 10px;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
}
.wnuc-ct-panel input::placeholder { color: #94A3B8; }
.wnuc-ct-panel input:focus,
.wnuc-ct-panel select:focus {
	border-color: var(--ct-blue);
	box-shadow: 0 0 0 3px rgba(8, 106, 254, .18);
}
.wnuc-ct-field.is-invalid input,
.wnuc-ct-field.is-invalid select { border-color: var(--ct-red); }

.wnuc-ct-select { position: relative; }
.wnuc-ct-select::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 9px;
	height: 9px;
	margin-top: -6px;
	border-right: 2px solid var(--ct-navy);
	border-bottom: 2px solid var(--ct-navy);
	transform: rotate(45deg);
	pointer-events: none;
}
.wnuc-ct-select select { padding-right: 44px; cursor: pointer; }

.wnuc-ct-help { margin: 7px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--ct-muted); }
.wnuc-ct-err { margin: 7px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ct-red); }
.wnuc-ct-err:empty { display: none; }

.wnuc-ct-alert {
	margin-bottom: 22px;
	padding: 14px 16px;
	border-radius: 10px;
	background: #FEE2E2;
	color: #7F1D1D;
	font-size: 15px;
	font-weight: 600;
}

.wnuc-ct-submit { width: 100%; margin-top: 8px; min-height: 56px; font-size: 17px; }

/* Confirmation */
.wnuc-ct-done { padding: 30px 0 10px; outline: none; }
.wnuc-ct-done-ico { width: 64px; height: 64px; margin-bottom: 18px; }
.wnuc-ct-done h2 {
	margin: 0 0 14px;
	font-family: var(--ct-head);
	font-size: clamp(26px, 3.8vw, 34px);
	font-weight: 700;
	letter-spacing: -.01em;
	color: var(--ct-navy);
}
.wnuc-ct-done p { margin: 0 0 14px; font-size: 17px; line-height: 1.65; }
.wnuc-ct-done-address { color: var(--ct-muted); font-size: 15px; }

/* Joining details, shown once someone has registered. */
.wnuc-ct-join {
	margin: 22px 0 6px;
	padding: 20px;
	background: var(--ct-blue-pale);
	border-radius: 14px;
}
.wnuc-ct-join-head {
	margin: 0 0 14px !important;
	font-family: var(--ct-head);
	font-size: 13px !important;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ct-blue);
}
/* The theme underlines links inside content; this button is not one. */
.wnuc-ct-panel a.wnuc-ct-join-btn,
.wnuc-ct-panel a.wnuc-ct-join-btn:hover,
.wnuc-ct-panel a.wnuc-ct-join-btn:focus {
	width: 100%;
	color: #fff;
	text-decoration: none !important;
	box-shadow: none;
}
.wnuc-ct-join-list {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 16px;
	margin: 16px 0 0;
	font-size: 15.5px;
}
.wnuc-ct-join-list dt {
	font-family: var(--ct-head);
	font-weight: 600;
	color: var(--ct-muted);
}
.wnuc-ct-join-list dd {
	margin: 0;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--ct-navy);
	font-variant-numeric: tabular-nums;
	user-select: all;
}
.wnuc-ct-panel a.wnuc-ct-cal,
.wnuc-ct-panel a.wnuc-ct-cal:hover,
.wnuc-ct-panel a.wnuc-ct-cal:focus,
.wnuc-ct-cal {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 14px;
	min-height: 48px;
	padding: 13px 20px;
	font-family: var(--ct-head);
	font-size: 15.5px;
	font-weight: 600;
	color: var(--ct-blue);
	background: #fff;
	border: 1px solid #BFD9FE;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none !important;
	box-shadow: none;
}
.wnuc-ct-cal:hover { background: #F5F9FF; }
.wnuc-ct-cal:focus-visible { outline: 3px solid var(--ct-blue); outline-offset: 2px; }

.wnuc-ct-panel a.wnuc-ct-cal-alt,
.wnuc-ct-panel a.wnuc-ct-cal-alt:hover,
.wnuc-ct-panel a.wnuc-ct-cal-alt:focus {
	display: block;
	margin-top: 12px;
	padding: 6px 0;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ct-muted);
	text-align: center;
	text-decoration: underline !important;
	text-underline-offset: 3px;
}
.wnuc-ct-panel a.wnuc-ct-cal-alt:hover { color: var(--ct-blue); }

.wnuc-ct-join-note {
	margin: 14px 0 0 !important;
	font-size: 13.5px !important;
	line-height: 1.45;
	color: var(--ct-muted);
}
.wnuc-ct-done-close { margin-top: 12px; }
.wnuc-ct-done-sign {
	margin: 22px 0 4px !important;
	font-family: var(--ct-head);
	font-size: 17px !important;
	font-weight: 600;
	line-height: 1.45;
	color: var(--ct-navy);
}

/* Phones and small tablets: the copy stacks above the artwork, which runs edge
   to edge. Wider tablets keep the two-column hero, so it stays a screenful. */
@media (max-width: 720px) {
	.wnuc-ct-hero-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: clamp(14px, 3vw, 26px);
		padding: clamp(26px, 5vw, 40px) 20px clamp(86px, 15vw, 110px);
	}
	.wnuc-ct-hero-art { margin: 0 -20px; }
	.wnuc-ct-title { font-size: clamp(25px, 8.15vw, 46px); }
	.wnuc-ct-wordmark { width: clamp(196px, 46vw, 290px); }
	.wnuc-ct-tagline { font-size: clamp(16px, 3.4vw, 21px); }
}

/* The details card goes to two columns earlier than the hero does. */
@media (max-width: 860px) {
	.wnuc-ct-summary { grid-template-columns: 1fr 1fr; gap: 0; padding: 14px 8px; border-radius: 16px; }
	.wnuc-ct-summary-item { padding: 14px 12px; border-left: 0; }
	.wnuc-ct-summary-item:nth-child(2) { border-left: 1px solid var(--ct-line); }
	/* Venue and admission read better across the full width. */
	.wnuc-ct-summary-item:nth-child(3),
	.wnuc-ct-summary-item:nth-child(4) { grid-column: 1 / -1; border-top: 1px solid var(--ct-line); }
	.wnuc-ct-summary-text { font-size: 14.5px; }
	.wnuc-ct-ico { width: 40px; height: 40px; }
	.wnuc-ct-ico svg { width: 20px; height: 20px; }
}

/* Narrow phones: the icon sits above its line so the text keeps the cell's width. */
@media (max-width: 560px) {
	.wnuc-ct-summary-item:nth-child(1),
	.wnuc-ct-summary-item:nth-child(2) {
		flex-direction: column;
		align-items: flex-start;
		gap: 9px;
	}
}

@media (max-width: 700px) {
	.wnuc-ct-btn { width: 100%; }
	/* Full-screen form on a phone. */
	.wnuc-ct-panel { width: 100%; border-radius: 0; }
	.wnuc-ct-panel-inner { padding: 24px max(18px, env(safe-area-inset-left, 0px)) calc(48px + env(safe-area-inset-bottom, 0px)); }
	.wnuc-ct-body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.wnuc-ct-panel, .wnuc-ct-scrim { transition: none; }
}

/* Landscape phones: keep the hero from filling the whole screen. */
@media (max-height: 520px) and (orientation: landscape) {
	.wnuc-ct-hero-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		align-items: center;
		padding-top: 24px;
		padding-bottom: 70px;
	}
	.wnuc-ct-hero-art { margin: 0; }
	.wnuc-ct-hero-art img { width: auto; max-width: 100%; max-height: 44vh; margin-left: auto; }
	.wnuc-ct-wordmark { width: clamp(150px, 22vw, 220px); }
	.wnuc-ct-title { font-size: clamp(22px, 3.4vw, 34px); }
	.wnuc-ct-tagline { font-size: clamp(14px, 1.9vw, 18px); margin-bottom: 14px; }
	.wnuc-ct-btn { width: auto; }
	.wnuc-ct-summary { margin-top: -46px; }
}

/* Opening the panel locks the page behind it; this keeps that from shifting the layout. */
body.wnuc-ct-locked { overflow: hidden; }
