/*
 * Workshop landing pages (markup: scripts/build-divi5-workshop.py, behavior: assets/js/workshop.js).
 * Measured against "Milburn Off-Season Workshop Asset Kit - Landing page (template).html" at 1280px and 390px.
 * Loaded after sections.css on pages whose sections carry wk-page. Stacks at 820px (design system breakpoint).
 */

/* ---- Layout: rows, stacks, section backgrounds ---- */
#page-container .et_pb_section.wk-page {
	padding-top: var(--rpt-section-pad);
	padding-bottom: var(--rpt-section-pad);
}

#page-container .et_pb_section.wk-hero {
	padding-top: clamp(40px, 6vw, 80px);
	padding-bottom: clamp(40px, 6vw, 80px);
}

/* !important: the section presets set their background color with !important (no green section preset exists). */
#page-container .et_builder_inner_content .et_pb_section.wk-agenda-sec {
	background-color: var(--rpt-green-700) !important;
}

#page-container .et_builder_inner_content .et_pb_section.wk-pro-sec {
	background-color: var(--rpt-green-100) !important;
}

/* Code modules get no preset font; everything inside them is body type unless it is a heading. */
.wk-page .et_pb_code,
.wk-header .et_pb_code,
.wk,
.wk button,
.wk input,
.wk select {
	font-family: var(--font-body);
}

.wk-page .wk-flex.et_pb_row {
	display: flex;
	flex-wrap: wrap;
}

.wk-page .wk-flex.et_pb_row::before,
.wk-page .wk-flex.et_pb_row::after {
	display: none;
}

.wk-page .et_pb_column.wk-stack {
	display: flex;
	flex-direction: column;
	gap: var(--rpt-space-5);
}

.wk-page .et_pb_column.wk-stack--lg {
	gap: 40px;
}

.wk-page .et_pb_column.wk-stack--sm {
	gap: var(--rpt-space-3);
}

.wk-page .et_pb_heading .et_pb_heading_container h1 {
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.1;
}

.wk-page .et_pb_heading .et_pb_heading_container h2 {
	font-size: clamp(28px, 3.6vw, 40px);
	line-height: 1.15;
}

.wk-page.rpt-on-dark .et_pb_heading .et_pb_heading_container h2 {
	color: var(--rpt-cream);
}

.wk-page h3 {
	margin: 0;
	padding: 0;
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--rpt-slate);
}

.wk-page p,
.wk p {
	margin: 0;
	padding: 0;
}

/* ---- Hero ---- */
.wk-page .wk-hero-row.et_pb_row {
	align-items: flex-start;
	gap: 40px 56px;
}

.wk-page .wk-hero-row .et_pb_column.wk-hero-main {
	flex: 1 1 480px;
	min-width: 0;
}

.wk-page .wk-hero-row .et_pb_column.wk-hero-media {
	flex: 1 1 320px;
	min-width: min(100%, 320px);
	max-width: 520px;
}

.wk-hero-media .et_pb_image,
.wk-hero-media .et_pb_image_wrap {
	display: block;
	width: 100%;
}

#page-container .wk-hero-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--rpt-radius-lg);
}

.wk-page p.wk-badge {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 16px;
	border-radius: 9999px;
	background: var(--rpt-green-700);
	color: var(--rpt-cream);
	font: 700 15px/1.3 var(--font-body);
}

.wk-page p.wk-lead {
	max-width: var(--rpt-measure);
	font-size: 18px;
	line-height: 1.6;
	color: var(--rpt-slate-body);
}

/* When / Where / Cost cards */
.wk-facts,
.wk-card {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rpt-space-4);
}

.wk-fact {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--rpt-space-2);
	padding: 16px 20px;
	background: var(--rpt-white);
	border: 2px solid var(--rpt-line-strong);
	border-radius: var(--rpt-radius-lg);
	font-family: var(--font-body);
}

.wk-fact.wk-fact--when {
	flex: 2 1 320px;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: var(--rpt-space-4);
	padding: 16px;
}

.wk-fact__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--rpt-space-2);
	min-width: 0;
}

.wk-tile {
	flex: none;
	width: 72px;
	overflow: hidden;
	background: var(--rpt-white);
	border: 2px solid var(--rpt-slate);
	border-radius: 12px;
	text-align: center;
}

.wk-tile b {
	display: block;
	padding: 4px 0;
	background: var(--rpt-slate);
	color: var(--rpt-cream);
	font: 700 14px/1.3 var(--font-body);
	letter-spacing: 0.08em;
}

.wk-tile span {
	display: block;
	padding: 4px 0 6px;
	font: 500 36px/1.2 var(--font-heading);
	color: var(--rpt-slate);
}

.wk p.wk-k,
.wk-page p.wk-k {
	font-size: 15px;
	font-weight: 600;
	color: #5f7175;
}

.wk p.wk-v,
.wk-page p.wk-v {
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--rpt-slate);
}

.wk p.wk-pill,
.wk-page p.wk-pill {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 2px 14px;
	border-radius: 9999px;
	background: var(--rpt-slate-100);
	color: var(--rpt-slate);
	font-size: 18px;
	font-weight: 700;
}

.wk-page p.wk-note {
	font-size: 16px;
	line-height: 1.4;
	color: var(--rpt-slate-muted);
}

.wk-where {
	display: flex;
	align-items: center;
	gap: var(--rpt-space-3);
}

#page-container .wk-where img {
	flex: none;
	display: block;
	width: 44px;
	height: 44px;
	object-fit: contain;
}

/* ---- Sign-up: CTA, form, confirmation ---- */
.wk {
	scroll-margin-top: calc(var(--rpt-header-h) + 16px);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.5;
	color: var(--rpt-slate-body);
}

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

/* !important: Divi and the buttons' own display must not beat the hidden attribute. */
.wk [hidden],
.wk-sticky[hidden] {
	display: none !important;
}

.wk-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--rpt-space-3);
}

.wk-btns,
.wk-cal {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rpt-space-3);
}

.wk-cal {
	gap: var(--rpt-space-2);
}

.wk-panel {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 28px;
	background: var(--rpt-white);
	border: 2px solid var(--rpt-line-strong);
	border-radius: var(--rpt-radius-lg);
}

.wk-head {
	display: flex;
	flex-direction: column;
	gap: var(--rpt-space-2);
}

.wk h2 {
	margin: 0;
	padding: 0;
	font: 500 28px/1.2 var(--font-heading);
	color: var(--rpt-slate);
}

.wk-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rpt-space-4);
}

.wk-col {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
	gap: var(--rpt-space-2);
}

/* Full-width fields sit in the panel's column flex, where a 200px basis would become their height. */
.wk-panel > .wk-col {
	flex: none;
}

.wk label.wk-label {
	font-size: 16px;
	font-weight: 600;
	color: var(--rpt-slate);
}

.wk .wk-field {
	width: 100%;
	min-height: var(--rpt-tap-min);
	margin: 0;
	padding: 10px 14px;
	font: 400 18px/1.3 var(--font-body);
	color: var(--rpt-slate);
	background: var(--rpt-white);
	border: 2px solid var(--rpt-field-border);
	border-radius: var(--rpt-radius-sm);
}

.wk .wk-field[aria-invalid="true"] {
	border: 3px solid var(--rpt-error);
}

.wk p.wk-err {
	display: flex;
	gap: var(--rpt-space-2);
	align-items: center;
	font-size: 16px;
	color: #8a2f21;
}

.wk p.wk-err svg {
	flex: none;
	color: var(--rpt-error);
}

.wk-banner {
	padding: 10px 12px;
	background: var(--rpt-error-tint);
	border: 2px solid var(--rpt-error);
	border-radius: var(--rpt-radius-sm);
	color: var(--rpt-slate);
	font-size: 16px;
}

.wk-check {
	display: flex;
	gap: var(--rpt-space-3);
	align-items: center;
	min-height: var(--rpt-tap-min);
	color: var(--rpt-slate);
	cursor: pointer;
}

.wk-check input {
	flex: none;
	width: 24px;
	height: 24px;
	margin: 0;
	accent-color: var(--rpt-slate);
}

.wk-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--rpt-space-2);
	align-items: center;
}

.wk-actions .wk-submit {
	flex: 1 1 220px;
}

.wk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: var(--rpt-tap-min);
	margin: 0;
	padding: 12px 24px;
	font: 700 17px/1.2 var(--font-body);
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--rpt-radius-sm);
	cursor: pointer;
	transition: background-color var(--rpt-dur-fast), color var(--rpt-dur-fast), border-color var(--rpt-dur-fast);
}

.wk-cta .wk-btn-primary {
	min-width: 220px;
}

.wk-cta .wk-btn-secondary {
	min-width: 180px;
}

.wk-btn-primary,
.wk-btn-primary:visited {
	background: var(--rpt-copper);
	color: var(--rpt-white);
}

.wk-btn-primary:hover {
	background: var(--rpt-copper-hover);
	color: var(--rpt-white);
}

.wk-btn-primary:disabled {
	opacity: 0.6;
	cursor: progress;
}

/* Primary B (DS rpt-btn--soft): a page's own action beside the screening CTA.
   On the hub (global header) every wk-btn-primary renders soft: the copper fill is the screening CTA's. */
.wk-btn-soft,
.wk-btn-soft:visited,
.wk-hub .wk-btn-primary,
.wk-hub .wk-btn-primary:visited {
	background: var(--rpt-copper-100);
	color: var(--rpt-copper-deep);
	border-color: var(--rpt-copper-400);
}

.wk-btn-soft:hover,
.wk-hub .wk-btn-primary:hover {
	background: var(--rpt-copper-200);
	color: var(--rpt-copper-hover);
}

/* On sand (host) and green-100 (notify), copper-400 is under 3:1: step the border up to copper (4.2:1+). */
.wkh-host .wk-btn-soft,
.wkh-host .wk-btn-primary,
.wkh-notify .wk-btn-soft,
.wkh-notify .wk-btn-primary {
	border-color: var(--rpt-copper);
}

.wk-btn-secondary,
.wk-btn-secondary:visited {
	background: transparent;
	color: var(--rpt-slate);
	border-color: var(--rpt-slate);
}

.wk-btn-secondary:hover {
	background: var(--rpt-slate-100);
	color: var(--rpt-slate-deep);
}

.wk-link {
	min-height: var(--rpt-tap-min);
	padding: 0 8px;
	background: none;
	border: 0;
	color: var(--rpt-slate);
	font: 600 16px/1.2 var(--font-body);
	text-decoration: underline;
	cursor: pointer;
}

.wk p.wk-small {
	font-size: 15px;
	line-height: 1.5;
	color: var(--rpt-slate-muted);
}

.wk a {
	color: var(--rpt-slate);
}

.wk .wk-btn:focus-visible,
.wk .wk-field:focus-visible,
.wk .wk-link:focus-visible,
.wk a:focus-visible,
.wk input[type="checkbox"]:focus-visible,
.wk-hlinks a:focus-visible,
.wk-page .wk-more:focus-visible {
	outline: 3px solid var(--rpt-slate);
	outline-offset: 2px;
}

.wk #wk-done:focus {
	outline: none;
}

.wk-done-head {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.wk-done-icon {
	flex: none;
	margin-top: 4px;
	color: var(--rpt-green-700);
	line-height: 0;
}

.wk-card {
	gap: var(--rpt-space-3);
	padding: 16px;
	background: var(--rpt-cream);
	border: 2px solid var(--rpt-line-strong);
	border-radius: var(--rpt-radius-lg);
}

.wk-card .wk-fact {
	padding: 0;
	background: none;
	border: 0;
}

.wk-card .wk-fact.wk-fact--when {
	flex: 1 1 280px;
}

.wk-calwrap {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--rpt-space-3);
}

#wk-caltoggle {
	min-width: 220px;
}

#wk-caltoggle svg {
	transition: transform var(--rpt-dur-fast);
}

#wk-caltoggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.wk-after {
	display: flex;
	flex-direction: column;
	gap: var(--rpt-space-3);
	padding-top: 20px;
	border-top: 2px solid var(--rpt-line-strong);
	font-size: 16px;
}

/* ---- What we'll cover ---- */
ul.wk-agenda {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wk-page .wk-agenda > li {
	display: flex;
	flex-direction: column;
	gap: var(--rpt-space-2);
	margin: 0;
	padding: 24px 0;
	border-bottom: 2px solid var(--rpt-green-500);
	list-style: none;
}

.wk-page .wk-agenda > li:first-child {
	border-top: 2px solid var(--rpt-green-500);
}

.wk-page .wk-agenda h3 {
	color: var(--rpt-cream);
}

.wk-page .wk-agenda p {
	max-width: 70%;
	font-size: 18px;
	line-height: 1.6;
	color: var(--rpt-green-100);
}

/* Numbered agenda (per-workshop copy; the hour runs in this order) */
.wk-page ol.wk-agenda {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wk-page ol.wk-agenda--num > li {
	flex-direction: row;
	align-items: flex-start;
	gap: var(--rpt-space-4);
}

.wk-page ol.wk-agenda--num li > div {
	display: flex;
	flex-direction: column;
	gap: var(--rpt-space-2);
	min-width: 0;
}

.wk-page ol.wk-agenda--num p {
	max-width: 62ch;
}

.wk-n {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: var(--rpt-radius-sm);
	font: 700 17px/1 var(--font-body);
}

.wk-agenda .wk-n {
	margin-top: 2px;
	background: var(--rpt-green-100);
	color: var(--rpt-green-800);
}

.wk-page p.wk-agenda-after {
	margin-top: var(--rpt-space-5);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--rpt-cream);
}

.wk-page p.wk-aside {
	max-width: var(--rpt-measure);
	font-size: 15px;
	font-style: italic;
	line-height: 1.5;
	color: var(--rpt-green-200);
}

/* ---- Presenters ---- */
.wk-people {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

.wk-person {
	flex: 1 1 360px;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: flex-start;
	padding-top: 24px;
	border-top: 2px solid var(--rpt-line-strong);
}

#page-container .wk-person img {
	flex: none;
	display: block;
	width: 160px;
	height: 128px;
	object-fit: cover;
	border-radius: var(--rpt-radius-lg);
}

.wk-person > div {
	flex: 1 1 180px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wk-person p {
	font-size: 18px;
	line-height: 1.5;
	color: var(--rpt-slate-body);
}

.wk-person p.wk-creds {
	font-size: 16px;
	font-weight: 600;
	color: var(--rpt-slate-muted);
}

/* ---- Head pro, After the workshop: heading left, body right ---- */
.wk-page .wk-split.et_pb_row {
	align-items: flex-start;
	gap: 32px 56px;
}

.wk-page .wk-split .et_pb_column:first-child {
	flex: 1 1 320px;
}

.wk-page .wk-split .et_pb_column:last-child {
	flex: 2 1 420px;
	min-width: 0;
}

.wk-quote {
	display: flex;
	flex-direction: column;
	gap: var(--rpt-space-5);
	margin: 0;
}

.wk-page .wk-quote blockquote {
	max-width: 36ch;
	margin: 0;
	padding: 0;
	border: 0;
	font: 500 clamp(22px, 2.6vw, 26px)/1.35 var(--font-heading);
	color: var(--rpt-green-800);
}

.wk-quote figcaption {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 16px;
	color: var(--rpt-slate-body);
}

#page-container .wk-quote figcaption img {
	flex: none;
	width: 48px;
	height: 48px;
	object-fit: contain;
}

.wk-page .wk-quote blockquote p {
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
}

.wk-page .wk-quote blockquote p + p {
	margin-top: 0.6em;
}

#page-container .wk-quote figcaption img.wk-avatar { /* Quote portrait: 72px, radius-sm, right of the club logo */
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: var(--rpt-radius-sm, 10px);
}

.wk-quote figcaption > span {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wk-quote figcaption b {
	font-size: 18px;
	color: var(--rpt-slate);
}

.wk-prose {
	display: flex;
	flex-direction: column;
	gap: var(--rpt-space-4);
}

.wk-prose p {
	max-width: var(--rpt-measure);
	font-size: 18px;
	line-height: 1.6;
	color: var(--rpt-slate-body);
}

.wk-page a.wk-more {
	display: inline-flex;
	align-items: center;
	min-height: var(--rpt-tap-min);
	font-size: 18px;
	font-weight: 600;
	color: var(--rpt-slate);
}

/* ---- Closing band ---- */
.wk-page .wk-band-row.et_pb_row {
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}

.wk-page .wk-band-row .et_pb_column:first-child {
	flex: 1 1 360px;
}

.wk-page .wk-band-row .et_pb_column.wk-band-cta {
	flex: 0 0 auto;
}

body #page-container .wk-band-cta a.et_pb_button {
	min-width: 220px;
	text-align: center;
}

.wk-page p.wk-band-line {
	font-size: 18px;
	line-height: 1.5;
	color: var(--rpt-text-dark);
}

/* ---- Trimmed header: logo, link to the full site, "I'm interested" ---- */
#page-container .wk-header .et_pb_row .et_pb_column.et_pb_column:last-child {
	flex: 0 1 auto;
	min-width: 0; /* sections.css sizes both columns to content; the link must be able to wrap on phones */
}

.wk-hlinks {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px 24px;
}

.wk-hlinks a.wk-hsite {
	display: inline-flex;
	align-items: center;
	min-height: var(--rpt-tap-min);
	font: 600 16px/1.3 var(--font-body);
	color: var(--rpt-slate);
	text-align: right;
	text-decoration: underline;
}

.wk-hlinks a.wk-hcta {
	flex: none;
	min-width: 160px;
}

/* ---- Footer: tagline and NAP ---- */
.wk-footer p.wk-ftag {
	margin-top: var(--rpt-space-4);
	font-size: 18px;
	color: var(--rpt-text-dark);
}

.wk-footer p.wk-nap {
	font-size: 16px;
	line-height: 1.6;
	color: var(--rpt-text-dark);
}

.wk-footer p.wk-nap a {
	color: var(--rpt-text-dark);
}

@supports (corner-shape: squircle) {
	.wk-btn,
	.wk .wk-field {
		corner-shape: squircle;
		border-radius: var(--rpt-radius-sm-smooth);
	}

	.wk-panel,
	.wk-fact,
	.wk-card,
	#page-container .wk-hero-media img,
	#page-container .wk-person img {
		corner-shape: squircle;
		border-radius: var(--rpt-radius-lg-smooth);
	}

	.wk-card .wk-fact {
		border-radius: 0;
	}
}

@media (max-width: 820px) {
	.wk-hlinks a.wk-hcta {
		display: none;
	}

	.wk-hlinks a.wk-hsite {
		font-size: 15px;
	}

	.wk-page .wk-agenda p {
		max-width: 100%;
	}

	.wk-panel {
		padding: 24px 20px;
	}

	/* The sticky "I'm interested" bar (rpt-sticky-cta, style.css) needs room under the footer; sections.css zeroes
	   body padding on minimal-footer pages. */
	body:has(.wk-sticky:not([hidden])) {
		padding-bottom: calc(var(--rpt-tap-min) + 28px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.wk-btn,
	#wk-caltoggle svg {
		transition: none;
	}
}

/* =====================================================================
 * Workshops & Events page (scripts/build-divi5-workshops.py). Global header and footer.
 * ===================================================================== */
#page-container .et_pb_section.wkh-hero {
	padding-top: clamp(40px, 6vw, 80px);
	padding-bottom: clamp(32px, 4vw, 56px);
}

#page-container .et_pb_section.wkh-upcoming {
	padding-top: 0;
}

/* html already reserves the sticky header (scroll-padding-top, style.css); this adds breathing room above the heading. */
.wk-anchor {
	display: block;
	scroll-margin-top: var(--rpt-space-5);
}

.wk-hub .et_pb_code:has(> .et_pb_code_inner > .wk-anchor:only-child) {
	margin: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.wkh-hero .et_pb_heading h1 {
	max-width: 18ch;
}

.wkh-crumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	font: 600 16px/1.3 var(--font-body);
	color: var(--rpt-slate-muted);
}

.wkh-crumbs a {
	display: inline-flex;
	align-items: center;
	min-height: var(--rpt-tap-min);
	color: var(--rpt-slate);
}

.wkh-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
}

.wkh-ctas .wk-btn {
	min-width: 220px;
}

a.wkh-textlink,
.wkh-hero a.wkh-textlink {
	display: inline-flex;
	align-items: center;
	min-height: var(--rpt-tap-min);
	padding: 0 8px;
	font: 600 17px/1.3 var(--font-body);
	color: var(--rpt-slate);
}

/* Upcoming: header row (no key, no filter: the group headings explain each status) */
.wk-hub .wkh-head.et_pb_row {
	padding-top: 40px;
	border-top: 2px solid var(--rpt-line-strong);
}

/* Status tag: a label, not a control. Design system: tags use rpt-radius-sm, never pills; no border so it
   cannot read as an outline button; 15px is the type floor. */
.wkh-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 28px;
	padding: 2px 10px;
	border-radius: var(--rpt-radius-sm);
	font: 600 15px/1.3 var(--font-body);
}

.wkh-pill--sched {
	background: var(--rpt-slate);
	color: var(--rpt-cream);
}

.wkh-pill--plan {
	background: var(--rpt-green-100);
	color: var(--rpt-green-700);
}

.wkh-crumbs a:focus-visible,
a.wkh-textlink:focus-visible,
.wkh-ev a:focus-visible {
	outline: 3px solid var(--rpt-slate);
	outline-offset: 2px;
}

/* Upcoming: event list */
.wkh-upcoming .et_pb_row + .et_pb_row { /* H2 to the first group heading: 32px */
	margin-top: 32px;
}

.wkh-groups {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.wk-hub h3.wkh-group__h {
	margin: 0 0 16px;
	padding: 0;
	font: 700 18px/1.3 var(--font-body);
	color: var(--rpt-slate);
}

ul.wkh-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wk-hub ul.wkh-list > li {
	margin: 0;
	padding: 24px 0;
	list-style: none;
	border-top: 2px solid var(--rpt-line-strong);
	font-family: var(--font-body);
}

.wk-hub .wkh-group--planned ul.wkh-list > li:first-child { /* the group heading already separates it */
	border-top: 0;
	padding-top: 8px;
}

.wk-hub ul.wkh-list > li[hidden] {
	display: none;
}

.wk-hub ul.wkh-list > li.wkh-ev--scheduled {
	padding: 24px;
	background: var(--rpt-white);
	border: 2px solid var(--rpt-slate);
	border-radius: var(--rpt-radius-lg);
}

.wkh-ev__in {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 28px;
	align-items: center;
}

.wkh-tile {
	flex: none;
	width: 96px;
	overflow: hidden;
	text-align: center;
	background: var(--rpt-white);
	border: 2px dashed var(--rpt-green-500);
	border-radius: 12px;
}

.wk-hub .wkh-tile p:first-child {
	padding: 4px 0;
	background: var(--rpt-green-100);
	color: var(--rpt-green-700);
	font: 700 15px/1.3 var(--font-body);
}

.wk-hub .wkh-tile p:last-child {
	padding: 6px 0 8px;
	font: 500 34px/1.2 var(--font-heading);
	color: var(--rpt-slate);
}

.wkh-ev--scheduled .wkh-tile {
	border: 2px solid var(--rpt-slate);
}

.wk-hub .wkh-ev--scheduled .wkh-tile p:first-child {
	background: var(--rpt-slate);
	color: var(--rpt-cream);
}

.wkh-ev__body {
	flex: 1 1 320px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}

.wk-hub .wkh-ev__body h4 { /* card titles sit under the group H3 */
	margin: 0;
	padding: 0;
	font-family: var(--font-heading);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--rpt-slate);
}

.wk-hub p.wkh-when {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--rpt-slate);
}

.wk-hub p.wkh-where {
	font-size: 17px;
	line-height: 1.4;
	color: var(--rpt-slate-muted);
}

.wk-hub p.wkh-blurb {
	max-width: var(--rpt-measure);
	font-size: 18px;
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

.wkh-action {
	flex: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 200px;
}

.wk-hub .wkh-action p {
	font-size: 15px;
	line-height: 1.4;
	color: var(--rpt-slate-muted);
	text-align: center;
}

/* Notify and host forms */
.wk-hub p.wkh-intro {
	max-width: var(--rpt-measure);
	font-size: 18px;
	line-height: 1.6;
	color: var(--rpt-slate-body);
}

.wkh-notify p.wkh-intro {
	max-width: 46ch;
}

.wk-hub p.wkh-foot {
	max-width: var(--rpt-measure);
	font-size: 15px;
	line-height: 1.5;
	color: var(--rpt-slate-body);
}

.wkh-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.wkh-form > .wk-col {
	flex: none;
}

.wkh-form .wk-grow2 {
	flex: 2 1 260px;
	display: flex;
}

.wkh-form .wk-grow1 {
	flex: 1 1 140px;
	display: flex;
}

.wk textarea.wk-field {
	min-height: 112px;
	line-height: 1.5;
	resize: vertical;
}

.wkh-form .wk-actions .wkh-submit {
	flex: 0 1 260px;
}

.wk p.wk-note2 {
	flex: 1 1 240px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--rpt-slate-body);
}

.wk .wk-hp {
	position: absolute;
	left: -9999px;
}

.wkh-done {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.wkh-done:focus {
	outline: none;
}

.wkh-done h3 {
	font-size: 28px;
}

.wkh-done .wk-link {
	align-self: flex-start;
	padding-left: 0;
}

.wkh-hostintro {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wkh-trio {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 40px;
}

.wkh-trio > div {
	flex: 1 1 260px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-top: 24px;
	border-top: 2px solid var(--rpt-line-strong);
}

.wk-hub .wkh-trio p {
	font-size: 18px;
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

.wk-hub .wkh-req.et_pb_row {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 2px solid var(--rpt-line-strong);
}

.wkh-reqhead {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-family: var(--font-body);
}

.wk-hub .wkh-reqhead h3 {
	font-size: 28px;
}

.wk-hub .wkh-reqhead p {
	max-width: 40ch;
	font-size: 18px;
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

.wk-hub .wkh-reqhead p.wkh-foot {
	font-size: 16px;
	color: var(--rpt-slate-muted);
}

@supports (corner-shape: squircle) {
	.wk-hub ul.wkh-list > li.wkh-ev--scheduled {
		corner-shape: squircle;
		border-radius: var(--rpt-radius-lg-smooth);
	}
}

@media (max-width: 820px) {
	.wkh-action,
	.wkh-action .wk-btn {
		width: 100%;
	}

	.wk-hub ul.wkh-list > li.wkh-ev--scheduled {
		padding: 20px;
	}
}

/* ---- Phones: every button and CTA is full width (design system, Button: "full-width on phones"). Same 820px
   breakpoint as the other redesigned pages (sections.css, style.css .rpt-cta-band). Text links stack under the
   button, centered, with a full-width tap target. ---- */
@media (max-width: 820px) {
	.wk-cta,
	.wk-btns,
	.wk-actions,
	.wk-cal,
	.wkh-ctas,
	.wk-calwrap {
		flex-direction: column;
		align-items: stretch;
	}

	.wk-btn,
	.wk-cta .wk-btn-primary,
	.wk-cta .wk-btn-secondary,
	.wkh-ctas .wk-btn,
	.wk-actions .wk-submit,
	.wkh-form .wk-actions .wkh-submit,
	#wk-caltoggle {
		flex: none;
		width: 100%;
		min-width: 0;
	}

	.wk-link,
	a.wkh-textlink,
	.wkh-hero a.wkh-textlink {
		justify-content: center;
		width: 100%;
		text-align: center;
	}

	.wk .wkh-done .wk-link {
		justify-content: flex-start;
		width: auto;
	}

	.wk p.wk-note2 {
		flex: none;
	}

	.wk-page .wk-band-row .et_pb_column.wk-band-cta {
		flex: 1 1 100%;
	}

	body #page-container .wk-band-cta .et_pb_button_module_wrapper,
	body #page-container .wk-band-cta a.et_pb_button {
		width: 100%;
		min-width: 0;
		max-width: none; /* Divi caps buttons at max-content */
	}
}

/* ---- Partner line (hero) ---- */
.wk-page p.wk-partner {
	display: flex;
	align-items: center;
	gap: var(--rpt-space-3);
	font: 600 16px/1.4 var(--font-body);
	color: var(--rpt-slate);
}

#page-container .wk-partner img {
	flex: none;
	display: block;
	width: 40px;
	height: 40px;
	object-fit: contain;
}

/* ---- After: three-step path and what you get ---- */
/* One white box, steps stacked with the number on the left (same layout as the numbered agenda). */
ol.wk-steps {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0 var(--rpt-space-4);
	background: var(--rpt-white);
	border: 1px solid var(--rpt-line);
	border-radius: var(--rpt-radius-lg);
	list-style: none;
	counter-reset: none;
}

.wk-page ol.wk-steps li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	column-gap: var(--rpt-space-4);
	row-gap: 2px;
	align-items: start;
	margin: 0;
	padding: var(--rpt-space-4) 0;
	list-style: none;
	font: 400 16px/1.4 var(--font-body);
	color: var(--rpt-slate-muted);
}

.wk-page ol.wk-steps li + li {
	border-top: 1px solid var(--rpt-line);
}

.wk-steps .wk-n {
	grid-row: span 2;
	background: var(--rpt-slate);
	color: var(--rpt-cream);
}

.wk-steps b {
	font: 700 18px/1.3 var(--font-body);
	color: var(--rpt-slate);
}

ul.wk-gets {
	display: flex;
	flex-direction: column;
	gap: var(--rpt-space-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.wk-page ul.wk-gets li {
	display: flex;
	gap: var(--rpt-space-3);
	align-items: flex-start;
	margin: 0;
	list-style: none;
	font-size: 18px;
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

.wk-gets svg {
	flex: none;
	margin-top: 4px;
	color: var(--rpt-green-600);
}

.wk-gets b {
	color: var(--rpt-slate);
}

/* Share: an inline text button inside the small print */
.wk .wk-share,
.wk-page .wk-share {
	min-height: 0;
	padding: 0;
	font: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 820px) {
	.wk .wk-share,
	.wk-page .wk-share {
		display: inline-flex;
		align-items: center;
		min-height: var(--rpt-tap-min);
	}
}
