/**
 * The public Event Hub — shared layout for all four templates.
 *
 * ⚠ ALL FOUR TEMPLATES RENDER THE SAME MARKUP. This file is the layout they
 * share; what makes each one itself is a short inline block in
 * Wig_EventHub_Templates::inline_css(). "Plain" does not load this file at
 * all — its whole argument is that it costs one request and no font.
 *
 * ⚠ NO WEB FONT, NO FRAMEWORK, NO MOTION. Much of the audience for these
 * sites is on mobile data, and a landing page that does not open is a landing
 * page that does not exist.
 */

body.wig-hub-doc {
	margin: 0;
	background: #fdfdfc;
	color: #1a1a1a;
	font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}
body.wig-hub-doc a { color: inherit; }

.wig-hub { max-width: 72rem; margin: 0 auto; padding: 0 1rem 5rem; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.wig-hub-head { margin: 0 -1rem 1.5rem; }
.wig-hub-banner { height: 200px; overflow: hidden; background: #eceae6; }
.wig-hub-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wig-hub-banner.is-plain { background: var(--wig-hub-accent); }

.wig-hub-ident {
	display: flex; gap: 1rem; align-items: flex-end;
	max-width: 72rem; margin: -2.5rem auto 0; padding: 0 1rem;
}
.wig-hub-logo {
	width: 88px; height: 88px; object-fit: contain;
	background: #fff; border: 1px solid #e3e0da; border-radius: 12px; padding: 6px;
}
.wig-hub-names h1 { margin: 0 0 .15rem; font-size: 1.75rem; line-height: 1.15; }
.wig-hub-names p  { margin: 0; color: #5a564e; }
.wig-hub-contact  { font-size: .875rem; color: var(--wig-hub-accent); text-decoration: none; }

/* ── Tabs ───────────────────────────────────────────────────────────────── */
.wig-hub-tabs {
	display: flex; flex-wrap: wrap; gap: 1.5rem;
	border-bottom: 1px solid #e3e0da; margin: 1.75rem 0 2rem;
}
.wig-hub-tabs a {
	text-decoration: none; padding: 0 0 .75rem; font-weight: 600; color: #6b675f;
	border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.wig-hub-tabs a.is-on { color: #1a1a1a; border-bottom-color: var(--wig-hub-accent); }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.wig-hub-grid {
	display: grid; gap: 1.25rem;
	grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
}
.wig-hub-card {
	background: #fff; border: 1px solid #e3e0da; border-radius: 12px; overflow: hidden;
	display: flex; flex-direction: column;
}
.wig-hub-card.is-hero {
	display: grid; grid-template-columns: 1.4fr 1fr; margin-bottom: 1.75rem;
}
.wig-hub-shot { display: block; }
.wig-hub-shot img { width: 100%; height: 100%; min-height: 11rem; object-fit: cover; display: block; }
.wig-hub-card-body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; gap: .4rem; }

.wig-hub-when {
	font-size: .8125rem; font-weight: 600; letter-spacing: .02em;
	color: var(--wig-hub-accent); text-transform: uppercase;
	font-variant-numeric: tabular-nums;
}
.wig-hub-card h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }
.wig-hub-card.is-hero h3 { font-size: 1.6rem; }
.wig-hub-card h3 a { text-decoration: none; }
.wig-hub-card h3 a:hover { text-decoration: underline; }
.wig-hub-card p { margin: 0; color: #4a463f; font-size: .9375rem; }

.wig-hub-meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: .8125rem; color: #6b675f; }
.wig-hub-kind { font-weight: 600; }

.wig-hub-cta {
	align-self: flex-start; margin-top: .5rem; text-decoration: none;
	font-weight: 600; font-size: .9375rem; color: var(--wig-hub-accent);
}
.wig-hub-cta:hover { text-decoration: underline; }

.wig-hub-empty { color: #6b675f; padding: 2rem 0; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.wig-hub-foot {
	margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid #e3e0da;
	font-size: .875rem;
}
.wig-hub-foot a { color: var(--wig-hub-accent); text-decoration: none; font-weight: 600; }

@media (max-width: 640px) {
	.wig-hub-card.is-hero { grid-template-columns: 1fr; }
	.wig-hub-banner { height: 130px; }
	.wig-hub-ident { align-items: flex-start; flex-direction: column; gap: .6rem; }
	.wig-hub-logo { width: 64px; height: 64px; }
}

/* ── One booking ──────────────────────────────────────────────────────────
 * The page a shared link leads to. Same markup for all four templates.
 * ──────────────────────────────────────────────────────────────────────── */

.wig-hub-single { max-width: 46rem; padding-top: 1.5rem; }
.wig-hub-back { margin: 0 0 1rem; font-size: .9375rem; }
.wig-hub-back a { text-decoration: none; color: #6b675f; }
.wig-hub-back a:hover { color: #1a1a1a; }

.wig-hub-single-cover { border-radius: 12px; overflow: hidden; margin-bottom: 1.5rem; }
.wig-hub-single-cover img { width: 100%; display: block; }

.wig-hub-single-head h1 { margin: .3rem 0 .5rem; font-size: 2rem; line-height: 1.2; }

.wig-hub-act {
	display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
	padding: 1.1rem 0 1.4rem; border-bottom: 1px solid #e3e0da; margin-bottom: 1.5rem;
}
.wig-hub-cta.is-big {
	background: var(--wig-hub-accent); color: #fff;
	padding: .7rem 1.6rem; border-radius: 999px; font-size: 1rem;
}
.wig-hub-cta.is-big:hover { text-decoration: none; filter: brightness(.92); }
.wig-hub-left { font-size: .875rem; color: #6b675f; }
.wig-hub-ics { font-size: .875rem; color: var(--wig-hub-accent); text-decoration: none; font-weight: 600; }

.wig-hub-prose { line-height: 1.7; }
.wig-hub-prose p { margin: 0 0 1rem; }

.wig-hub-sec { margin-top: 2.25rem; }
.wig-hub-sec h2 { font-size: 1.25rem; margin: 0 0 .75rem; }

.wig-hub-prog { list-style: none; margin: 0; padding: 0; }
.wig-hub-prog-day {
	font-weight: 700; font-size: .8125rem; text-transform: uppercase;
	letter-spacing: .04em; color: var(--wig-hub-accent);
	margin: 1.25rem 0 .4rem; padding-top: .75rem; border-top: 1px solid #e3e0da;
}
.wig-hub-prog-day:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.wig-hub-prog-row {
	display: grid; grid-template-columns: 6rem 1fr; gap: .75rem;
	padding: .55rem 0; border-bottom: 1px solid #f0eee9;
}
.wig-hub-prog-t { color: #6b675f; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.wig-hub-prog-row > span:last-child { font-weight: 500; }

.wig-hub-people { list-style: none; margin: 0; padding: 0; }
.wig-hub-people li { padding: .5rem 0; border-bottom: 1px solid #f0eee9; }
.wig-hub-people span { display: block; color: #5a564e; font-size: .9375rem; }

.wig-hub-faq { margin: 0; }
.wig-hub-faq dt { font-weight: 600; margin-top: .9rem; }
.wig-hub-faq dd { margin: .2rem 0 0; color: #4a463f; }

@media (max-width: 560px) {
	.wig-hub-prog-row { grid-template-columns: 1fr; gap: .1rem; }
	.wig-hub-single-head h1 { font-size: 1.5rem; }
}

/* ── Go-Live, at /golive/ ─────────────────────────────────────────────────
 * The one live address. Deliberately calm: this page is opened by somebody
 * who is about to speak to a room of people, often a few minutes late and on
 * a phone. Nothing here should be exciting.
 * ──────────────────────────────────────────────────────────────────────── */

.wig-gl { max-width: 44rem; margin: 0 auto; padding: 3rem 1rem 5rem; }
.wig-gl h1 { margin: 0 0 .3rem; font-size: 2.25rem; line-height: 1.15; }
.wig-gl-sub { margin: 0 0 2rem; color: #5a564e; font-size: 1.05rem; }

.wig-gl-notice {
	border: 1px solid #e3e0da; border-radius: 12px;
	background: #faf8f4; padding: 1.5rem 1.75rem; margin: 0 0 2rem;
}
.wig-gl-notice p:last-child { margin-bottom: 0; }

/* State. The dot carries the meaning for a glance; the words carry it for
 * everyone else. ⚠ Never colour alone — "busy" and "free" must be
 * distinguishable without seeing colour at all, which is why each state also
 * has its own sentence. */
.wig-gl-state {
	display: flex; align-items: center; gap: .6rem;
	padding: .9rem 1.1rem; border-radius: 10px; margin-bottom: 1.25rem;
	font-size: .95rem; border: 1px solid #e3e0da; background: #fff;
}
.wig-gl-dot { width: .6rem; height: .6rem; border-radius: 50%; flex: none; background: #9a958c; }
.wig-gl-state.is-free    { border-color: #bcdcc4; background: #f3faf4; }
.wig-gl-state.is-free    .wig-gl-dot { background: #1d7a37; }
.wig-gl-state.is-busy    { border-color: #e8cfa8; background: #fdf8ef; }
.wig-gl-state.is-busy    .wig-gl-dot { background: #b5730d; }
.wig-gl-state.is-unknown { border-color: #dcd8d1; background: #f7f6f3; }

.wig-gl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-bottom: 2.5rem; }
.wig-gl-btn {
	display: inline-block; background: var(--wig-hub-accent); color: #fff;
	padding: .7rem 1.6rem; border: 0; border-radius: 999px;
	font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.wig-gl-btn:hover { filter: brightness(.92); }
.wig-gl-btn.is-off { background: #d8d4cd; color: #6b675f; cursor: not-allowed; }
.wig-gl-link { color: var(--wig-hub-accent); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.wig-gl-link:hover { text-decoration: underline; }

.wig-gl-locked {
	border: 1px solid #e3e0da; border-radius: 12px; background: #faf8f4;
	padding: 1.4rem 1.6rem; margin-bottom: 2rem;
}
.wig-gl-locked p { margin: 0 0 .4rem; font-weight: 600; }
.wig-gl-hint { color: #5a564e; font-size: .9375rem; font-weight: 400 !important; }

.wig-gl-sec { margin-top: 2.5rem; }
.wig-gl-sec h2 { font-size: 1.2rem; margin: 0 0 .75rem; }
.wig-gl-list { list-style: none; margin: 0; padding: 0; }
.wig-gl-list li {
	display: flex; flex-wrap: wrap; gap: .75rem; align-items: baseline;
	padding: .6rem 0; border-bottom: 1px solid #f0eee9;
}
.wig-gl-when { color: #6b675f; font-size: .875rem; font-variant-numeric: tabular-nums; min-width: 12rem; }

.wig-gl-join { border-top: 1px solid #e3e0da; padding-top: 1.75rem; }
.wig-gl-join p { color: #5a564e; margin: 0 0 .9rem; }
.wig-gl-join form { display: flex; flex-wrap: wrap; gap: .6rem; }
.wig-gl-in {
	flex: 1 1 14rem; padding: .7rem .95rem;
	border: 1px solid #cfcbc3; border-radius: 8px; font: inherit;
}

@media (max-width: 560px) {
	.wig-gl { padding-top: 2rem; }
	.wig-gl h1 { font-size: 1.75rem; }
	.wig-gl-when { min-width: 0; width: 100%; }
}

/* Follow — a link, and it must read as a state, not only a colour. */
.wig-hub-follow-wrap { margin-left: auto; align-self: center; }
.wig-hub-follow {
	display: inline-block; padding: .5rem 1.2rem; border-radius: 999px;
	border: 1.5px solid var(--wig-hub-accent); color: var(--wig-hub-accent);
	text-decoration: none; font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.wig-hub-follow.is-on { background: var(--wig-hub-accent); color: #fff; }
.wig-hub-follow.is-on::before { content: '✓ '; }
@media (max-width: 640px) { .wig-hub-follow-wrap { margin-left: 0; } }
