/**
 * HCANZA Conference 2026 design-block styles — SHARED between front end and block editor.
 *
 * Loaded twice on purpose (see functions.php):
 *   - front end via the `conference-blocks` handle, after `conference-style`;
 *   - block editor via add_editor_style(), so the Gutenberg canvas previews the real
 *     design instead of naked core blocks.
 * Keep it free of `.brz-*`-ancestor selectors: those exist only on the front end and
 * would be dead weight (or misleading) in the editor. Front-end-only Brizy overrides
 * belong in style.css.
 *
 * Structure is built from core blocks (Cover / Columns / Group / Buttons); these classes
 * carry the visual design so the block markup stays clean and validation-safe. Requires
 * core block-library CSS, which on the front end is loaded for block pages under the
 * `conference-block-library` handle — Brizy strips the default wp-block-library handle.
 *
 * The `!important`s are for the FRONT END, where the dustin-neue parent theme and Brizy
 * both force colour and margin inside `.brz-wp-post-content`. They are harmless in the
 * editor, where nothing competes.
 *
 * Palette (from the 2c rebrand artwork, Web/export/2c-web/elements/bg-hero-full.svg):
 *   navy-deep #08234f · navy #0b3477 · navy-light #0d478f
 *   blue #4aa8e0 · sky #7fd8f7 · yellow #f5c31e · pink #f576ad · green #55b34a
 *
 * RE-MEASURED on the live site 2026-09-08. Brizy nests the post content
 *   .brz-container > .brz-row (5px side padding) > .brz-column__items (40px side padding)
 * so the usable content width is the Brizy container LESS 90px, not 80 as this note used to
 * say — its own worked example was already a 90px difference.
 * History: container 1170 (content 1080) -> widened to 1440 (content 1350) on 2026-08-21 ->
 * client set it back to 1170 (content 1080) on 2026-09-08. theme.json contentSize and
 * editor-style.css both follow the measurement. RE-MEASURE `.brz-wp-post-content` with
 * getBoundingClientRect() after any Brizy template change — do not assume the container width.
 *
 * TYPOGRAPHY MUST BE !important. The dustin-neue parent theme forces
 * `font-family: 'Open Sans'` and its own weights/sizes on everything inside
 * `.brz-wp-post-content`. Measured on the test page: an h1 that asked for Montserrat 800
 * rendered as Open Sans 300, and a 1.875rem strapline rendered at 16px. Every font-family,
 * font-size and font-weight below therefore carries !important — without it the design
 * silently degrades to the parent theme's body font and nothing looks broken enough to notice.
 */

:root {
	/* Archivo is the brand face for EVERYTHING per HCANZA 2026 Brand Guidelines v1.0
	   ("One family, three working weights"). Kept as a variable so a future brand
	   change is one edit. Weight roles, from the guidelines' typography page:
	     800 ExtraBold  titles, tracking -2%, never below 24px
	     600 SemiBold   badges/labels, caps, tracking +18%
	     400 Regular    body, 15-18px, 1.5 line-height
	     300 Light      taglines and meta/date lines, caps at +20% tracking
	   Rule: one weight jump at a time (300 -> 600 -> 800); tracked-out caps are for
	   badges and meta only, never body copy. */
	--hcc-display: Archivo, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Archivo has to be forced onto body copy too: the dustin-neue parent sets 'Open Sans'
   on everything inside .brz-wp-post-content. Same !important reasoning as the headings. */
.hcc-hero p,
.hcc-section p,
.hcc-section li,
.hcc-register p {
	font-family: var(--hcc-display) !important;
	font-weight: 400 !important;
	font-size: 1.0625rem !important;   /* 17px — middle of the guidelines' 15-18px body range */
	line-height: 1.5 !important;
}
.hcc-section p,
.hcc-section li { color: #232323 !important; }

/* -------------------------------------------------------------- typography */

/* Section headings. Same !important reasoning as the hero — the parent theme sets
   'Open Sans' on every heading inside the Brizy post-content wrapper. */
.hcc-section h2,
.hcc-register h2 {
	font-family: var(--hcc-display) !important;
	font-weight: 800 !important;
	font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
	line-height: 1.15 !important;
	letter-spacing: -0.02em !important;
	color: #0b3477 !important;
	margin: 0 0 1rem !important;
}
.hcc-register h2 { color: #fff !important; }

/* ---------------------------------------------------------------- sections */

/* !important because Brizy resets `.brz .brz-wp-post-content > div > * { margin: revert }`,
   which zeroes these section margins and lets sections touch each other. */
.hcc-section { margin-top: 4rem !important; }
.hcc-section--tight { margin-top: 2.5rem !important; }

/* Readable measure for prose. Left-aligned so it shares the left edge with the
   full-width rows below it; it just doesn't run the whole 1170px.

   COMMENTED OUT 2026-09-08. The 900px cap was set when the Brizy content column was 1080px
   wide; the template was widened to 1440 (content 1350) on 2026-08-21 and the cap was never
   revisited, so the prose ended a long way short of the card rows below it and the mismatch
   read as a fault. Prose now fills the same width as everything else, whatever the Brizy
   template is set to (1080px as at 2026-09-08).
   The class is still IN THE MARKUP and still carries typography (see .hcc-section
   .hcc-constrained h3 below), so do not delete it from build_page.py. To restore the
   readable measure, uncomment the line. */
/* .hcc-constrained { max-width: 900px; } */
.hcc-centred { max-width: 820px; margin-inline: auto; text-align: center; }

/* ------------------------------------------------------------------- hero */

/* The hero is a Group carrying the brand gradient, with the shapes cluster as a
   decorative layer and the puzzle-head artwork as a real <img> beside the copy.
   Title and date are LIVE TEXT, deliberately not baked into an image the way the 2024
   site did it — the 2026 date changed once already, and baked text would have meant a
   re-export every time. Assets are theme files (img/), not media-library uploads, so
   Brizy's container-driven crop logic never touches them and imsanity can't resize them.
   The 2c artwork sets the gradient at 135deg: #08234f → #0b3477 (55%) → #0d478f. */
.hcc-hero {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	padding: 56px 48px;
	margin-bottom: 0.5rem;
	background-color: #0b3477;
	background-image: linear-gradient(135deg, #08234f 0%, #0b3477 55%, #0d478f 100%);
}
/* Decorative shapes, right-anchored. aria-hidden by virtue of being a background. */
.hcc-hero::before {
	content: "";
	position: absolute;
	inset: 0 0 0 auto;
	width: 62%;
	background: url(img/shapes-cluster.svg) right center / contain no-repeat;
	pointer-events: none;
}
.hcc-hero > * { position: relative; z-index: 1; }
.hcc-hero .wp-block-cover__background { opacity: 1 !important; }
/* REMOVED 2026-09-08: .hcc-hero is a wp-block-group, not a cover block, so this never
   matched anything. It was the last rule in the theme still asserting the old 1350px. */

/* Copy column sits left, artwork right. */
.hcc-hero .wp-block-columns { align-items: center; gap: 32px; }
.hcc-hero-cols > .wp-block-column:first-child { flex: 1 1 auto; }
.hcc-hero-cols > .wp-block-column:last-child { flex: 0 0 420px; max-width: 420px; }
.hcc-hero-art img {
	display: block;
	width: 100%;
	max-width: 420px;
	height: auto;
	margin-inline: auto;
}
.hcc-hero h1,
.hcc-hero h2,
.hcc-hero p { color: #fff !important; }
.hcc-hero h1 {
	font-family: var(--hcc-display) !important;
	font-weight: 800 !important;
	/* Capped at 3.5rem: at 4rem the headline was wider than the hero copy column and broke
	   mid-word. overflow-wrap is pinned to normal so a long word never breaks again. */
	font-size: clamp(2.25rem, 4.2vw, 3.5rem) !important;
	overflow-wrap: normal;
	word-break: normal;
	line-height: 1.02 !important;
	letter-spacing: -0.02em !important;   /* guidelines: titles track -2% */
	margin: 0 0 0.4em;
}

/* SPECIFICITY NOTE — read before editing any rule below.
   `.hcc-hero p` is (0,1,1); a bare `.hcc-badge` is (0,1,0), so the broad hero rules WIN
   and !important does not save you — both sides have it. Measured 2026-08-21: the badge,
   subtitle, tagline and date line all computed to weight 400 / letter-spacing normal /
   white, silently losing their gold, Light 300 and tracking. Every component rule here is
   therefore scoped `.hcc-hero .hcc-x` (0,2,0) so it outranks the broad rules, and
   letter-spacing carries !important because the parent theme resets it too.

   Outlined pill above the headline — guidelines: SemiBold 600, caps, tracking +18%, gold. */
.hcc-hero .hcc-badge {
	display: inline-block;
	border: 1px solid #f5c31e;
	border-radius: 999px;
	padding: 0.55em 1.5em;
	color: #f5c31e !important;
	font-size: 0.8125rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	margin: 0 0 1.5rem !important;
}

/* The year's theme, kept as a secondary line beneath the event name (client decision
   2026-08-21: the artwork headlines the event, but "Elevating Health Coaching" stays). */
.hcc-hero .hcc-subtitle {
	color: #ffffff !important;
	font-size: clamp(1.25rem, 2.1vw, 1.625rem) !important;
	font-weight: 300 !important;
	line-height: 1.25 !important;
	letter-spacing: 0 !important;
	margin: 0 0 0.75rem !important;
	opacity: 0.92;
}

/* "Evidence · Innovation · Impact" — guidelines: Light 300, Ice, pink separators. */
.hcc-hero .hcc-strapline {
	color: #7fd8f7 !important;
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem) !important;
	font-weight: 300 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.01em !important;
	margin: 0 0 1.25rem !important;
}

/* Date / platform line — guidelines: Light 300 + Bold, caps, tracking +20%, Pale Blue. */
.hcc-hero .hcc-datestrip {
	color: #bfe6fa !important;
	font-size: 0.875rem !important;
	font-weight: 300 !important;
	letter-spacing: 0.2em !important;
	line-height: 1.5 !important;
	text-transform: uppercase !important;
	margin: 0 0 1.75rem !important;
}
.hcc-hero .hcc-datestrip strong { font-weight: 700 !important; color: #ffffff !important; }
/* Post-event the strip reads "Recordings now available // Held Saturday 26 September 2026", which no
   longer fits one line. Keeping the date whole makes it break after the // rather than mid-date. */
.hcc-hero .hcc-datestrip strong { white-space: nowrap; }
.hcc-rule { color: #f576ad !important; }

.hcc-hero .hcc-lead {
	font-size: 1.0625rem !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
	color: #ffffff !important;
	opacity: 0.9;
	max-width: 30em;
	margin: 0 0 1.75rem !important;
}

/* ------------------------------------------------------------------- intro */

/* Callout for a single important block of content on an otherwise plain page — currently the
   "Your Zoom link" box on /joining-details/. That box used .hcc-tier, which is the REGISTRATION
   PRICING CARD: translucent white on navy with justify-content: space-between. On a white page
   that rendered as a near-invisible outline with a 236px-tall gap where the price would sit. */
.hcc-callout {
	margin: 1.75rem 0 !important;
	padding: 24px 26px;
	border: 1px solid #e3e9f2;
	border-left: 4px solid #f5c31e;
	border-radius: 10px;
	background: #eef3f8;
}
.hcc-callout h3 {
	margin: 0 0 0.5rem !important;
	font-family: var(--hcc-display, Archivo), Helvetica, Arial, sans-serif !important;
	font-size: 1.1875rem !important;
	font-weight: 700 !important;
	color: #0b3477 !important;
}
.hcc-callout.hcc-callout.hcc-callout p {
	margin: 0 !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	line-height: 1.55 !important;
	color: #3f4a5a !important;
}

.hcc-note {
	font-size: 0.9375rem !important;
	color: #6b7280 !important;
	font-style: italic;
}

/* The "Build Your Knowledge…" sub-head and the what-you-gain list (client copy, 2026-08-25).

   The <h3> needs no defensive selector: Brizy's :not() chain excludes h1-h6. The <li> does need
   one — the chain matches list items and takes font-size, font-weight and letter-spacing. Two
   classes would tie on class count and then lose 1 element to 12, so the class is tripled to
   reach (0,3,1). <strong> is excluded by the chain, so it simply inherits from the li. */

.hcc-section .hcc-constrained h3 {
	margin: 0 0 0.6rem !important;
	font-family: var(--hcc-display, Archivo), Helvetica, Arial, sans-serif !important;
	font-size: 1.375rem !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em !important;
	line-height: 1.25 !important;
	color: #0b3477 !important;
}

.hcc-gains {
	list-style: none !important;
	margin: 1.1rem 0 1.4rem !important;
	padding: 0 !important;
}
.hcc-gains.hcc-gains.hcc-gains li {
	position: relative;
	margin: 0 0 0.7rem;
	padding-left: 1.75rem;
	font-size: 1rem !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	line-height: 1.55 !important;
	color: #3f4a5a !important;
}
.hcc-gains.hcc-gains.hcc-gains li:last-child { margin-bottom: 0; }
/* Gold marker rather than a disc, so the list reads as part of the brand and not as raw copy. */
.hcc-gains.hcc-gains.hcc-gains li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f5c31e;
}
/* Brizy colours <strong> with a rule of its OWN — `.brz .brz-css-xxxx strong` (0,2,1) — which is
   SEPARATE from the :not() chain and is why "strong is excluded by the chain" is not the whole
   story. A one-class rule here rendered the bold lead-ins grey #5a5a5a. Three classes take it. */
.hcc-gains.hcc-gains.hcc-gains li strong {
	color: #0b3477 !important;
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: 700 !important;
	letter-spacing: inherit !important;
}

/* Closing line: carries a little more weight than body copy without becoming another heading. */
.hcc-closing.hcc-closing.hcc-closing {
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	line-height: 1.55 !important;
	color: #0b3477 !important;
	margin: 0 0 1.25rem !important;
}

/* Session times across the three timezones. A definition-style row rather than a table:
   three short lines read better on a phone than a table that has to scroll. */
.hcc-times {
	list-style: none !important;
	margin: 1.25rem 0 0 !important;
	padding: 0 !important;
}
.hcc-times li {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.75rem;
	padding: 0.6rem 0;
	border-bottom: 1px solid #e3e9f2;
	/* 1rem + 10%, and 600 rather than the inherited 400, asked for 2026-09-08. */
	font-size: 1.1rem !important;
	font-weight: 600 !important;
}
.hcc-times li:last-child { border-bottom: 0; }
.hcc-times .hcc-tz {
	min-width: 5.5rem;
	font-weight: 700 !important;
	color: #0b3477 !important;
}

/* --------------------------------------------------------------- key facts */

/* Three-up strip: CPD points, format, timezones. */
.hcc-facts { gap: 20px; }
.hcc-facts .wp-block-column { display: flex; }
.hcc-fact {
	height: 100%;
	width: 100%;
	background: #eef3f8;
	border-radius: 12px;
	padding: 24px 22px;
	text-align: center;
}
.hcc-fact-num {
	display: block;
	font-family: var(--hcc-display) !important;
	font-size: 2.25rem !important;
	font-weight: 800 !important;
	line-height: 1.1;
	color: #0b3477 !important;
}
.hcc-fact-label {
	display: block;
	font-size: 0.9375rem;
	color: #232323 !important;
	margin-top: 0.35rem;
}

/* ----------------------------------------------------------------- program */

/* Session-topic cards. The core block-gap layout style doesn't emit inside the
   Brizy-rendered content, so columns collapse to a 0 gap unless set explicitly.
   Applies as both column and row (wrapped) spacing. */
.hcc-cards { gap: 20px; }
.hcc-cards .wp-block-column { display: flex; }
.hcc-card {
	height: 100%;
	width: 100%;
	background: #fff;
	border: 1px solid #e3e9f2;
	border-left: 4px solid #4aa8e0;
	border-radius: 10px;
	padding: 22px 20px;
}
.hcc-card h3 {
	margin: 0 0 0.4em !important;
	font-family: var(--hcc-display) !important;
	font-size: 1.125rem !important;
	font-weight: 600 !important;
	color: #0b3477 !important;
}
.hcc-card p { margin: 0 !important; font-size: 0.9375rem; }
.hcc-card .hcc-card__stream { margin: 0 0 0.85rem !important; }
.hcc-card .hcc-card__by { margin: 0 0 0.35rem !important; font-weight: 600; }
/* Rotate the accent through the brand colours so a grid of topics doesn't read flat. */
.hcc-cards .wp-block-column:nth-child(4n+2) .hcc-card { border-left-color: #f5c31e; }
.hcc-cards .wp-block-column:nth-child(4n+3) .hcc-card { border-left-color: #f576ad; }
.hcc-cards .wp-block-column:nth-child(4n+4) .hcc-card { border-left-color: #55b34a; }

/* "Watch the recording" on Stream Resources (4595), opened in an overlay by js/recordings.js.
   Solid navy rather than the gold CTA: there can be a dozen on the page, and gold stays for the
   one-off actions at the top (program, certificate). White on #0B3477 is 11.9:1.
   THREE classes, because Brizy's :not() chain matches <a> and takes size, weight, spacing and
   case at (0,2,12); see brizy-not-chain-beats-important. Hover has to beat the (0,3,0)
   .hcc-section catch-all that turns every section button gold. */
.hcc-card .wp-block-buttons.hcc-watch { margin: 0.85rem 0 0.75rem; }
.hcc-card .hcc-watch .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.8em 1.35em !important;
	border-radius: 999px !important;
	background-color: #0b3477 !important;
	color: #ffffff !important;
	font-family: var(--hcc-display) !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	line-height: 1 !important;
	text-transform: uppercase !important;
	text-decoration: none !important;
}
/* A drawn triangle, not the ▶ character, which iOS renders as a colour emoji. */
.hcc-card .hcc-watch .wp-block-button__link::before {
	content: "";
	width: 0.7em;
	height: 0.8em;
	background: currentColor;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.hcc-card .hcc-watch .wp-block-button__link:hover,
.hcc-card .hcc-watch .wp-block-button__link:focus-visible {
	background-color: #08234f !important;
	color: #ffffff !important;
}

/* The overlay itself. The <dialog> is appended to <body>, outside every Brizy container, so
   the :not() chain cannot reach it; the doubled classes guard against the parent theme's own
   p and button rules instead. Width is capped by the viewport height too, so a landscape
   phone still fits the whole 16:9 player on screen. */
.hcc-video-dialog {
	width: min(960px, calc(100vw - 32px), calc((100vh - 140px) * 16 / 9));
	width: min(960px, calc(100vw - 32px), calc((100dvh - 140px) * 16 / 9));
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
}
.hcc-video-dialog::backdrop { background: rgba(8, 35, 79, 0.9); }
html.hcc-video-open { overflow: hidden; }

.hcc-video-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
}
.hcc-video-dialog .hcc-video-title.hcc-video-title {
	margin: 0 !important;
	font-family: var(--hcc-display, Archivo), Helvetica, Arial, sans-serif !important;
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	letter-spacing: normal !important;
	line-height: 1.3 !important;
	text-transform: none !important;
	color: #ffffff !important;
}
.hcc-video-dialog .hcc-video-close.hcc-video-close {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0 0 3px;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 999px;
	background: transparent;
	color: #ffffff;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease;
}
.hcc-video-dialog .hcc-video-close.hcc-video-close:hover,
.hcc-video-dialog .hcc-video-close.hcc-video-close:focus-visible {
	background: #ffffff;
	color: #08234f;
}
.hcc-video-dialog .hcc-video-close.hcc-video-close:focus-visible {
	outline: 3px solid #f5c31e;
	outline-offset: 2px;
}
.hcc-video-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: #000;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.hcc-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --------------------------------------------------------------- stream FAQ */

/* Three Q&As about the two parallel streams (client copy, 2026-08-26), sitting between the
   program lead and the timetable. Deliberately full width rather than inside .hcc-constrained,
   so the row aligns with the timetable below it instead of the 900px lead above it.

   Same card geometry as .hcc-card so the page keeps ONE card idiom, but its own class:
   .hcc-card's accent rotation is keyed to four-column rows (4n+2/3/4) and this row is three
   across, so reusing it would have coloured all three the same blue. */
.hcc-faq { gap: 20px; }
.hcc-faq .wp-block-column { display: flex; }
.hcc-faq-item {
	height: 100%;
	width: 100%;
	background: #fff;
	border: 1px solid #e3e9f2;
	border-left: 4px solid #4aa8e0;
	border-radius: 10px;
	padding: 22px 20px;
}

/* Headings are excluded from Brizy's :not() chain, so two classes is enough here. */
.hcc-faq .hcc-faq-item h3 {
	margin: 0 0 0.5rem !important;
	font-family: var(--hcc-display) !important;
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	color: #0b3477 !important;
}

/* The answer is a <p>, which the chain DOES match at (0,2,12) — and .hcc-section p (0,1,1)
   competes for colour besides. Doubling .hcc-faq-item reaches (0,3,1); class count is compared
   before element count, so three classes beats two-plus-twelve outright. Every property the
   chain takes (font-size, font-weight, letter-spacing) is folded in here rather than left at a
   lower specificity. See the brizy-not-chain-beats-important note. */
.hcc-faq .hcc-faq-item.hcc-faq-item p {
	margin: 0 !important;
	font-family: var(--hcc-display) !important;
	font-size: 0.9375rem !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	line-height: 1.55 !important;
	color: #3f4a5a !important;
}

/* Rotate the accent through the brand colours, as the topic cards do. Shifted one place
   right when the reversed lead box was added in front: the three questions are now columns
   2 to 4, and column 1 sets its own accent below. */
.hcc-faq .wp-block-column:nth-child(3) .hcc-faq-item { border-left-color: #f5c31e; }
.hcc-faq .wp-block-column:nth-child(4) .hcc-faq-item { border-left-color: #f576ad; }

/* The reversed lead box. Every colour the light card sets has to be restated, because the
   rules above are keyed to .hcc-faq-item and would otherwise put navy text on navy. The
   doubled class is the same (0,3,1) trick the answer paragraph uses to clear Brizy's :not()
   chain; see the brizy-not-chain-beats-important note. */
.hcc-faq .hcc-faq-item--lead {
	background: linear-gradient(135deg, #08234f 0%, #0b3477 55%, #0d478f 100%);
	border-color: #0b3477;
	border-left-color: #f5c31e;
}
.hcc-faq .hcc-faq-item--lead h3 { color: #ffffff !important; }
.hcc-faq .hcc-faq-item--lead.hcc-faq-item--lead p { color: #bfe6fa !important; }
.hcc-faq .hcc-faq-item--lead .wp-block-buttons {
	margin-top: 1.1rem;
	margin-bottom: 0;
}
.hcc-faq .hcc-faq-item--lead .wp-block-button__link {
	padding: 0.7em 1.5em !important;
	font-size: 0.8125rem !important;
}

/* ----------------------------------------------------------------- program */

/* The timetable is a stack of rows: a fixed time gutter on the left, then either two
   stream cards or one full-width plenary band. Kept as flex rather than grid because
   the row content differs per slot and grid would need per-row placement. */
.hcc-program { margin-top: 1.75rem; }

.hcc-slot {
	display: flex;
	gap: 20px;
	align-items: stretch;
	padding: 18px 0;
	border-top: 1px solid #e3e9f2;
}
.hcc-program .hcc-slot:last-child { border-bottom: 1px solid #e3e9f2; }

.hcc-slot-when { flex: 0 0 118px; padding-top: 2px; }
.hcc-slot-time {
	margin: 0 !important;
	font-family: var(--hcc-display) !important;
	font-size: 0.9375rem !important;
	font-weight: 700 !important;
	color: #0b3477 !important;
	white-space: nowrap;
}
/* THREE classes. Brizy's :not() chain is (0,2,12) and beats any two-class rule — class
   count is compared before element count, so two classes tie and then lose on the twelve
   elements. See the BRIZY TEXT-TRANSFORM OVERRIDE note at the foot of this file. */
.hcc-slot .hcc-slot-note.hcc-slot-note,
.hcc-stream .hcc-stream-join.hcc-stream-join,
.hcc-card .hcc-stream-join.hcc-stream-join,
.hcc-stream .hcc-stream-label.hcc-stream-label { text-transform: uppercase !important; }

.hcc-slot-note {
	margin: 0.2rem 0 0 !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em !important;
	color: #8a94a6 !important;
}

.hcc-streams { flex: 1 1 auto; gap: 20px; }
.hcc-streams .wp-block-column { display: flex; }
.hcc-stream {
	width: 100%;
	background: #fff;
	border: 1px solid #e3e9f2;
	border-left: 4px solid #4aa8e0;
	border-radius: 10px;
	padding: 16px 18px;
}
.hcc-streams .wp-block-column:nth-child(2) .hcc-stream { border-left-color: #f5c31e; }

.hcc-stream-label {
	margin: 0 0 0.85rem !important;
	font-size: 0.6875rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em !important;
	color: #8a94a6 !important;
}
/* Post-event (2026-09-28) the "Join Stream" pills are gone and every stream, in the program and
   on the Stream Resources cards, is headed by this plain label. THREE classes, because the Brizy
   :not() chain matches <p> and takes size, weight and spacing at (0,2,12), and the single-class
   rule above is not guaranteed to survive it. */
.hcc-stream .hcc-stream-label.hcc-stream-label,
.hcc-card .hcc-stream-label.hcc-stream-label {
	margin: 0 0 0.85rem !important;
	font-size: 0.6875rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em !important;
	line-height: 1.3 !important;
	color: #8a94a6 !important;
	text-transform: uppercase !important;
}

/* The stream heading is also the day-of entry point — it links to the protected joining
   page where the Zoom links live. Styled as a quiet outline pill rather than a solid
   button: there are fourteen of them and the gold "Register now" CTA has to stay the
   loudest thing on the page.

   THREE classes because Brizy's :not() chain matches <a> too (it excludes only headings and
   a handful of inline tags), and would otherwise take font-size, weight and letter-spacing —
   the same way it took them from the speakers' initials disc. */
.hcc-stream .hcc-stream-join.hcc-stream-join,
.hcc-card .hcc-stream-join.hcc-stream-join {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.5em 1em;
	border: 1px solid #c7d5e8;
	border-radius: 999px;
	background: #fff;
	color: #0b3477 !important;
	font-family: var(--hcc-display) !important;
	font-size: 0.6875rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.hcc-stream .hcc-stream-join.hcc-stream-join::after,
.hcc-card .hcc-stream-join.hcc-stream-join::after {
	content: "\2192";
	font-size: 1.05em;
	line-height: 1;
	letter-spacing: 0;
}
.hcc-stream .hcc-stream-join.hcc-stream-join:hover,
.hcc-stream .hcc-stream-join.hcc-stream-join:focus-visible,
.hcc-card .hcc-stream-join.hcc-stream-join:hover,
.hcc-card .hcc-stream-join.hcc-stream-join:focus-visible {
	background: #0b3477;
	border-color: #0b3477;
	color: #ffffff !important;
}
.hcc-stream .hcc-stream-join.hcc-stream-join:focus-visible,
.hcc-card .hcc-stream-join.hcc-stream-join:focus-visible {
	outline: 3px solid #f5c31e;
	outline-offset: 2px;
}
/* Stream 2's card accent is gold, so its pill picks the accent up on hover to match. */
.hcc-streams .wp-block-column:nth-child(2) .hcc-stream-join.hcc-stream-join:hover,
.hcc-streams .wp-block-column:nth-child(2) .hcc-stream-join.hcc-stream-join:focus-visible,
.hcc-cards .wp-block-column:nth-child(2) .hcc-stream-join.hcc-stream-join:hover,
.hcc-cards .wp-block-column:nth-child(2) .hcc-stream-join.hcc-stream-join:focus-visible {
	background: #0d478f;
	border-color: #0d478f;
}

/* Two sessions can share one slot (the 11:00 pair, the Canva pair, the wrap-up pair) —
   the dashed rule keeps them readable as separate items inside one card. */
.hcc-session + .hcc-session {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px dashed #e3e9f2;
}
.hcc-session-title {
	margin: 0 !important;
	font-family: var(--hcc-display) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	line-height: 1.35 !important;
	color: #0b3477 !important;
}
.hcc-session-len {
	display: inline-block;
	margin-left: 0.5em;
	padding: 0.15em 0.65em;
	border-radius: 999px;
	background: #eef3f8;
	font-size: 0.75rem;
	font-weight: 600;
	color: #4a5568;
	white-space: nowrap;
	vertical-align: middle;
}
.hcc-session-speaker {
	margin: 0.3rem 0 0 !important;
	font-size: 0.875rem !important;
	line-height: 1.4 !important;
	color: #6b7280 !important;
}

/* Session blurbs, typed into Gutenberg by HCANZA 2026-08-26 and folded into the generator.
   They arrived as UNCLASSED paragraphs, which leaves font-size and font-weight to Brizy's
   :not() chain — three classes here takes them back. Darker than .hcc-session-speaker so the
   blurb reads as content and the presenter's name still reads as meta. */
.hcc-stream .hcc-session-desc.hcc-session-desc,
.hcc-slot-full .hcc-session-desc.hcc-session-desc {
	margin: 0.4rem 0 0 !important;
	font-family: var(--hcc-display) !important;
	font-size: 0.875rem !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	line-height: 1.5 !important;
	color: #4a5568 !important;
}

/* Welcome and wrap-up have no streams, so they run the full width. */
.hcc-slot-full {
	flex: 1 1 auto;
	background: #f7fafc;
	border: 1px solid #e3e9f2;
	border-radius: 10px;
	padding: 16px 18px;
}
/* Lunch still offers a choice, so it keeps two cards but drops the accent colours. */
.hcc-slot--break .hcc-stream { background: #f7fafc; }
/* `.hcc-slot--break` is an ANCESTOR of `.hcc-streams`, so it must lead the selector — and
   it has to out-specify the nth-child accent rule above, which is four class-level parts. */
.hcc-slot--break .hcc-stream,
.hcc-slot--break .hcc-streams .wp-block-column:nth-child(2) .hcc-stream { border-left-color: #bfe6fa; }
.hcc-slot--break .hcc-session-title { color: #33507d !important; }

/* ---------------------------------------------------------------- speakers */

/* Column gap widened 20px -> 40px (2026-08-26), then 40px -> 64px (2026-09-01) to put more
   air between the circles. The circles are column-width, so the gap is also what SIZES them:
   c = (W - 3g) / 4, i.e. 240px at the current 1080px content width with g at 64. Widen the
   gap to shrink the photos; there is no separate size to set, and a fixed max-width on the
   image would break the short-row padding below.
   The gap is a variable because that padding is derived from it; change it in one place or
   the two fall out of step. */
.hcc-speakers {
	--hcc-speaker-gap: 64px;
	gap: 32px var(--hcc-speaker-gap);
}

/* Space BETWEEN the rows. Each row is its own columns block, so the vertical rhythm comes
   from the block margin, not from the gap above — that 32px row-gap only takes effect on
   mobile, where the four columns stack inside one row. Second and third rows only, via the
   adjacent sibling, so the space under "Speakers include:" is left at the section's own
   2.5rem. Two classes (0,2,0) to beat .hcc-section--tight (0,1,0), which carries !important
   because Brizy zeroes these margins; matching it is not enough, the count has to win. */
.hcc-speakers + .hcc-speakers { margin-top: 4rem !important; }

/* A row that is not full would otherwise stretch its cards to fill the width.
   The circles are column-width, so the final 3-card row rendered ~1.35x the size of the
   4-card rows above it (measured 437px against 322px back when content was 1350px).

   Fix is to pad the short row so its columns compute to exactly the 4-column width.
   For n cards matching a 4-column track of width c, with gap g in a container of width W:

       c  = (W - 3g) / 4
       p  = (W - (n*c + (n-1)g)) / 2   which reduces to   p = (4 - n)(W + g) / 8

   Expressed as a percentage it tracks any container width, so this stays correct if the
   Brizy column ever changes — do NOT replace it with a fixed pixel cap on the image.
   The class is emitted by build_page.py from the actual row length, so adding or removing
   a speaker cannot silently reintroduce the mismatch. */
@media (min-width: 782px) {
	.hcc-speakers--of3 { padding-inline: calc(1 * (100% + var(--hcc-speaker-gap)) / 8); }
	.hcc-speakers--of2 { padding-inline: calc(2 * (100% + var(--hcc-speaker-gap)) / 8); }
	.hcc-speakers--of1 { padding-inline: calc(3 * (100% + var(--hcc-speaker-gap)) / 8); }
}
/* Speakers whose headshot HCANZA hasn't supplied yet get an initials disc rather than a
   broken/empty circle, so the grid stays even while we chase the missing files. */
.hcc-speaker-initials {
	width: 100%;
	max-width: none;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eef3f8;
}
/* THREE classes, and every typographic property repeated here rather than above. Measured
   2026-08-25: the disc was rendering grey 17px/400 because it loses on FOUR properties at
   one class — `.hcc-speaker p` (0,1,1) takes the colour and the margin, and Brizy's :not()
   chain (0,2,12) takes font-size, font-weight and letter-spacing. So the chain is NOT only
   a text-transform problem, which is what the note at the foot of this file used to imply.
   (0,3,0) beats both: class count is compared before element count. */
.hcc-speaker .hcc-speaker-initials.hcc-speaker-initials {
	margin: 0 auto 1rem !important;
	font-family: var(--hcc-display) !important;
	font-size: 2.5rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em !important;
	line-height: 1 !important;
	color: #0b3477 !important;
}
.hcc-speakers .wp-block-column { display: flex; }
.hcc-speaker { height: 100%; width: 100%; text-align: center; }
/* Square source images cropped to a circle. object-fit needs a fixed box, and the
   aspect-ratio keeps it square when the column width changes.

   NO max-width here on purpose. Core's `.wp-block-image img { max-width: 100% }` is also
   (0,1,1) and block-library loads AFTER this file, so an equal-specificity cap here loses
   on source order and silently does nothing — the circles have always been column-width.
   `.hcc-speaker-initials` therefore also carries `max-width: none`: when it was capped at
   190px it rendered visibly smaller than the photo circles and pushed its name out of line
   with the rest of the row. If a cap is ever wanted, it must go on BOTH and beat core by
   class count, e.g. `.hcc-speaker .wp-block-image img` (0,2,1) — never by !important. */
.hcc-speaker img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 1rem;
	display: block;
	background: #eef3f8;
}
.hcc-speaker h3 {
	margin: 0 0 0.15em !important;
	font-family: var(--hcc-display) !important;
	font-size: 1.0625rem !important;
	font-weight: 600 !important;
	color: #0b3477 !important;
}
.hcc-speaker p {
	margin: 0 !important;
	font-size: 0.875rem;
	color: #6b7280 !important;
	line-height: 1.4;
}

/* Headshot and name both link to the speaker's /speaker/<slug>/ profile.

   The doubled class is doing real work. Brizy's `:not()` chain (0,2,12) MATCHES an <a> — it
   excludes headings and a few inline tags, not links — so it takes font-size, font-weight and
   letter-spacing off both anchors. `.hcc-speaker .wp-block-image a` is only (0,2,1) and loses
   the element-count tiebreak; repeating an existing class gets to (0,3,1) and wins, without
   adding a class to the markup. A class on the image block's own <a> is NOT an option: the
   core image block validates its saved output, and an unexpected attribute there makes the
   editor offer to "recover" the block. See [[brizy-not-chain-beats-important]]. */

.hcc-speaker .wp-block-image.wp-block-image a {
	display: block;
	/* The anchor is inline by default; wrapping a block-level <img> in it leaves a stray line
	   box under the circle, and the chain's font-size is what sizes that box. */
	font-size: 0 !important;
	line-height: 0 !important;
	border-radius: 50%;
}
.hcc-speaker .wp-block-image.wp-block-image a img {
	transition: box-shadow 0.15s ease;
}
.hcc-speaker .wp-block-image.wp-block-image a:hover img,
.hcc-speaker .wp-block-image.wp-block-image a:focus-visible img {
	box-shadow: 0 0 0 4px #f5c31e;
}
.hcc-speaker .wp-block-image.wp-block-image a:focus-visible {
	outline: none;
}

/* The name inherits its h3 styling rather than restating it, so the two cannot drift apart. */
.hcc-speaker .wp-block-heading.wp-block-heading a {
	font-family: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	letter-spacing: inherit !important;
	text-transform: none !important;
	color: inherit !important;
	text-decoration: none;
}
.hcc-speaker .wp-block-heading.wp-block-heading a:hover,
.hcc-speaker .wp-block-heading.wp-block-heading a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ------------------------------------------------------------ registration */

/* Navy panel so the pricing block reads as the page's endpoint. */
.hcc-register {
	background: linear-gradient(135deg, #08234f 0%, #0b3477 55%, #0d478f 100%);
	border-radius: 16px;
	padding: 48px 40px;
	color: #fff;
}
.hcc-register h2,
.hcc-register h3,
.hcc-register p { color: #fff !important; }

.hcc-tiers { gap: 20px; }
.hcc-tiers .wp-block-column { display: flex; }
.hcc-tier {
	height: 100%;
	width: 100%;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(127, 216, 247, 0.35);
	border-radius: 12px;
	padding: 28px 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.25rem;
}
/* The buy button sits at the foot of each tier card, so the two tiers line up even
   though their notes wrap to different depths. */
.hcc-tier .wp-block-buttons { justify-content: center; margin: 0 !important; }
.hcc-tier-price {
	display: block;
	font-family: var(--hcc-display) !important;
	font-size: 2.75rem !important;
	font-weight: 800 !important;
	line-height: 1;
	color: #f5c31e !important;
}
.hcc-tier-note {
	display: block;
	/* 0.875rem + 25%, asked for 2026-09-08. */
	font-size: 1.09375rem;
	color: #7fd8f7 !important;
	margin-top: 0.5rem;
}

/* Links on the navy panel: the theme's default link colour is a dark blue that all but
   disappears against the gradient. */
.hcc-register a {
	color: #7fd8f7 !important;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}
.hcc-register a:hover { color: #f5c31e !important; }

/* Non-members get this instead of a buy button — registration is a member benefit. */
.hcc-join-prompt {
	border-top: 1px solid rgba(127, 216, 247, 0.3);
	margin-top: 2rem;
	padding-top: 1.5rem;
	font-size: 0.9375rem;
}

/* ----------------------------------------------------------------- buttons */

.hcc-btn-primary .wp-block-button__link,
.wp-block-button.hcc-btn-primary > .wp-block-button__link {
	background-color: #f5c31e !important;
	color: #08234f !important;
	font-weight: 700 !important;
	/* !important on BOTH: the parent theme overrides text-transform inside
	   .brz-wp-post-content, so without it the label renders sentence case. */
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	border-radius: 999px !important;
	padding: 0.9em 2.2em !important;
}
.hcc-btn-ghost .wp-block-button__link,
.wp-block-button.hcc-btn-ghost > .wp-block-button__link {
	background-color: transparent !important;
	color: #fff !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	border: 1px solid rgba(255, 255, 255, 0.55) !important;
	border-radius: 999px !important;
	padding: 0.9em 2.2em !important;
}

/* Every .wp-block-buttons computed to margin 0, measured on the live front page, so a CTA
   sat hard against the paragraph above and below it. Most visible on the joining page, where
   the two Zoom buttons had no separation from the surrounding copy at all.
   The hero CTA and the pricing-tier buttons are deliberately flush and are pinned back to
   zero below: the tier rule already carries !important, and the hero rule is (0,2,0) like the
   rule above it, so it must stay AFTER it to win the tie. */
.wp-block-buttons.hcc-btn-primary,
.wp-block-buttons.hcc-btn-ghost {
	margin-top: 2rem;
	margin-bottom: 2rem;
}
.hcc-hero .wp-block-buttons {
	margin-top: 0;
	margin-bottom: 0;
}

/* Hover states, defined explicitly for both variants. Contrast measured on the rendered
   page rather than eyeballed:
     primary rest   Deep Navy #08234F on Gold #F5C31E      — 9.6:1
     primary hover  Deep Navy #08234F on #E0B015           — 7.9:1
     ghost rest     white on the navy gradient             — 12.0:1
     ghost hover    Deep Navy #08234F on white             — 16.4:1
   All well past WCAG AA (4.5:1), and AAA (7:1), at every state. */
.hcc-btn-primary .wp-block-button__link:hover,
.wp-block-button.hcc-btn-primary > .wp-block-button__link:hover,
.hcc-section .wp-block-button__link:hover,
.hcc-hero .wp-block-button__link:hover {
	background-color: #e0b015 !important;
	color: #08234f !important;
}
.hcc-btn-ghost .wp-block-button__link:hover,
.wp-block-button.hcc-btn-ghost > .wp-block-button__link:hover {
	background-color: #ffffff !important;
	color: #08234f !important;
	border-color: #ffffff !important;
}
/* Keyboard users get the same affordance as mouse users. */
.hcc-section .wp-block-button__link:focus-visible,
.hcc-hero .wp-block-button__link:focus-visible {
	outline: 3px solid #7fd8f7 !important;
	outline-offset: 3px;
}
.hcc-section .wp-block-button__link,
.hcc-hero .wp-block-button__link { transition: background-color .15s ease, color .15s ease; }

/* Catch-all: any core button inside our sections takes the brand treatment, so a button
   added in the editor without a .hcc-btn-* class still comes out in caps. */
.hcc-section .wp-block-button__link,
.hcc-hero .wp-block-button__link {
	font-family: var(--hcc-display) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
}

/* ------------------------------------------------------------------ mobile */

@media (max-width: 781px) {
	.hcc-section { margin-top: 2.5rem !important; }
	.hcc-hero { padding: 36px 24px; }
	/* The shapes layer competes with the copy once the columns stack — drop it and let
	   the artwork image carry the visual weight. */
	.hcc-hero::before { display: none; }
	.hcc-hero-art img { max-width: 260px; }
	.hcc-register { padding: 32px 22px; }
	/* `.hcc-speaker .wp-block-image img` (0,2,1), not `.hcc-speaker img` (0,1,1) — the
	   latter ties with core's `.wp-block-image img` and loses on source order, so the
	   mobile cap silently missed the photos and only shrank the initials disc. */
	.hcc-speaker .wp-block-image img,
	.hcc-speaker-initials { max-width: 150px; }
	/* The time gutter costs too much width once the streams stack, so it becomes a
	   heading above the row instead of a column beside it. */
	.hcc-slot { display: block; padding: 16px 0; }
	.hcc-slot-when { margin-bottom: 0.7rem; }
	.hcc-slot-note { display: inline; margin-left: 0.6rem !important; }
	.hcc-streams { gap: 12px; }
	.hcc-stream, .hcc-slot-full { padding: 14px 16px; }
	.hcc-speaker .hcc-speaker-initials.hcc-speaker-initials { font-size: 1.75rem !important; }
}

/* ── BRIZY TEXT-TRANSFORM OVERRIDE ────────────────────────────────────────────
   Brizy injects, inline, on every non-heading descendant of the post content:

     .brz .brz-css-xxxxx :not(h1):not(h2)…:not(s)
       { text-transform: var(--brz-paragraphtexttransform, initial) !important }

   That is TWO classes plus TWELVE :not() element arguments = specificity (0,2,12).
   A normal `.hcc-hero .hcc-badge` is (0,2,0), so Brizy wins and the variable resolves
   to `initial` — the caps silently vanish. Adding !important does NOT help: both sides
   already have it, and !important only breaks ties between origins, not specificity.

   Fix: repeat the class to reach (0,3,0). Class count is compared before element count,
   so three classes beats two-plus-twelve outright. The doubled class looks odd — that is
   why this comment exists; do not "tidy" it away. Deliberately NOT solved with a `.brz`
   ancestor, because this file is also fed to the block editor where `.brz` never exists.
   Only text-transform needs this: weight, tracking and colour were measured applying fine.
   ──────────────────────────────────────────────────────────────────────────── */
.hcc-hero .hcc-badge.hcc-badge,
.hcc-hero .hcc-datestrip.hcc-datestrip { text-transform: uppercase !important; }

.hcc-hero .wp-block-button__link.wp-block-button__link,
.hcc-section .wp-block-button__link.wp-block-button__link,
.hcc-register .wp-block-button__link.wp-block-button__link {
	text-transform: uppercase !important;
	letter-spacing: 0.06em !important;
	font-weight: 700 !important;
}
