/* NHEXT Events – front end. Scoped to .nhext-ev so the theme is unaffected. */

.nhext-ev {
	--nhext-teal: #0c8381;
	--nhext-teal-dark: #266669;
	--nhext-teal-deep: #173f41;
	--nhext-teal-soft: #e8f3f3;
	--nhext-orange: #ee5c27;
	--nhext-ink: #222b2c;
	--nhext-text: #404040;
	--nhext-muted: #686664;
	--nhext-line: #e1e7e7;
	--nhext-bg-soft: #f5f8f8;
	--nhext-white: #fff;
	--nhext-success: #1e7d4f;
	--nhext-error: #b3261e;
	--nhext-radius: 10px;
	--nhext-shadow: 0 1px 2px rgba(23, 63, 65, .06), 0 8px 24px rgba(23, 63, 65, .08);

	color: var(--nhext-text);
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	background: var(--nhext-white);
}

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

.nhext-ev h1, .nhext-ev h2, .nhext-ev h3 {
	font-family: Roboto, Arial, Helvetica, sans-serif;
	color: var(--nhext-ink);
	text-transform: none;
	letter-spacing: 0;
	margin: 0 0 .5em;
}

.nhext-ev a { color: var(--nhext-teal); text-decoration: none; }
.nhext-ev a:hover { color: var(--nhext-teal-dark); text-decoration: underline; }
.nhext-ev [hidden] { display: none !important; }

.nhext-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}

.nhext-muted { color: var(--nhext-muted); font-size: .94em; }
.nhext-accent { color: var(--nhext-teal); }

/* ---------- Buttons and chips ---------- */

.nhext-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: .7em 1.4em;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 600 15px/1.2 Roboto, Arial, sans-serif;
	cursor: pointer;
	text-decoration: none !important;
	transition: background-color .15s, color .15s, border-color .15s;
}
/* !important keeps theme button styles from overriding these. */
.nhext-btn--primary { background: var(--nhext-teal) !important; border-color: var(--nhext-teal) !important; color: var(--nhext-white) !important; }
.nhext-btn--primary:hover { background: var(--nhext-teal-dark) !important; border-color: var(--nhext-teal-dark) !important; }
.nhext-btn--outline { background: transparent !important; border-color: var(--nhext-teal) !important; color: var(--nhext-teal) !important; }
.nhext-btn--outline:hover { background: var(--nhext-teal-soft) !important; }
.nhext-btn--ghost { background: var(--nhext-white) !important; border-color: #cdd8d8 !important; color: var(--nhext-ink) !important; }
.nhext-btn--ghost:hover { border-color: var(--nhext-teal) !important; color: var(--nhext-teal) !important; }
.nhext-btn--lg { padding: .85em 1.7em; font-size: 16px; }
.nhext-btn--block { display: flex; width: 100%; }
.nhext-btn:focus-visible,
.nhext-ev a:focus-visible,
.nhext-ev button:focus-visible { outline: 3px solid rgba(12, 131, 129, .4); outline-offset: 2px; }

.nhext-chip {
	display: inline-block;
	padding: .3em .85em;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: var(--nhext-teal-soft);
	color: var(--nhext-teal-dark);
}
.nhext-chip--open { background: #dff3ea; color: var(--nhext-success); }
.nhext-chip--full,
.nhext-chip--deadline,
.nhext-chip--closed { background: #eceeee; color: #555; }
.nhext-chip--block { display: block; text-align: center; padding: .7em; margin: 0; }

/* ---------- Hero ---------- */

.nhext-hero {
	position: relative;
	color: var(--nhext-white);
	background: linear-gradient(135deg, var(--nhext-teal-deep) 0%, var(--nhext-teal-dark) 60%, var(--nhext-teal) 100%);
	padding: 40px 0 56px;
}
.nhext-hero--image {
	background:
		linear-gradient(100deg, rgba(16, 44, 46, .94) 0%, rgba(23, 63, 65, .86) 50%, rgba(38, 102, 105, .7) 100%),
		var(--nhext-hero-image) center / cover no-repeat;
}
.nhext-hero--compact { padding: 32px 0 40px; }

.nhext-crumbs { font-size: 13px; margin-bottom: 28px; opacity: .85; display: flex; align-items: center; gap: .6em; flex-wrap: wrap; }
.nhext-crumbs a { color: var(--nhext-white) !important; }
.nhext-crumbs i { font-size: 10px; opacity: .7; }

.nhext-hero .nhext-chip { background: rgba(255, 255, 255, .14); color: var(--nhext-white); border: 1px solid rgba(255, 255, 255, .25); }
.nhext-hero .nhext-chip--open { background: rgba(255, 255, 255, .95); color: var(--nhext-teal-dark); }

.nhext-ev .nhext-hero__title {
	color: var(--nhext-white);
	font-size: clamp(28px, 4.2vw, 46px);
	font-weight: 700;
	line-height: 1.15;
	margin: 16px 0 14px;
	max-width: 900px;
}
.nhext-hero__lead { font-size: 18px; opacity: .9; margin: 0; max-width: 720px; }
.nhext-hero__theme { font-size: clamp(16px, 1.8vw, 19px); line-height: 1.5; max-width: 820px; margin: 0 0 28px; color: rgba(255, 255, 255, .92); }
.nhext-hero__theme span {
	display: block;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-weight: 700;
	color: #9fd8d6;
	margin-bottom: 4px;
}

.nhext-hero__facts {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
	max-width: 980px;
}
.nhext-hero__facts li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 14px 16px;
	border-radius: var(--nhext-radius);
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .14);
	font-size: 15px;
	line-height: 1.45;
	margin: 0;
}
.nhext-hero__facts i { font-size: 18px; color: #9fd8d6; margin-top: 3px; width: 20px; text-align: center; }
.nhext-hero__facts span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .75; margin-bottom: 2px; }

.nhext-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.nhext-hero__actions .nhext-btn--primary { background: var(--nhext-white) !important; border-color: var(--nhext-white) !important; color: var(--nhext-teal-dark) !important; }
.nhext-hero__actions .nhext-btn--primary:hover { background: var(--nhext-teal-soft) !important; }
.nhext-hero__from { font-size: 15px; opacity: .9; }

/* ---------- Sub navigation ---------- */

.nhext-subnav {
	position: sticky;
	/* --nhext-offset = height of the theme's fixed menu / admin bar, set by nhext-events.js. */
	top: var(--nhext-offset, 0px);
	z-index: 50;
	background: var(--nhext-white);
	border-bottom: 1px solid var(--nhext-line);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
	transition: top .15s;
}
.admin-bar .nhext-subnav { top: var(--nhext-offset, 32px); }
/* Phones: theme headers are tall here, so let the section menu scroll away (the bottom Register bar takes over). */
@media (max-width: 782px) { .nhext-subnav, .admin-bar .nhext-subnav { position: relative; top: 0; } }
.nhext-subnav .nhext-container { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nhext-subnav .nhext-container::-webkit-scrollbar { display: none; }
.nhext-subnav a {
	flex: 0 0 auto;
	padding: 15px 14px 13px;
	border-bottom: 3px solid transparent;
	color: var(--nhext-muted) !important;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	white-space: nowrap;
}
.nhext-subnav a:hover,
.nhext-subnav a.is-active { color: var(--nhext-teal) !important; border-bottom-color: var(--nhext-teal); }

/* ---------- Layout ---------- */

.nhext-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	padding-top: 40px;
	padding-bottom: 64px;
	align-items: start;
}
.nhext-main { min-width: 0; }
.nhext-aside { position: sticky; top: calc(var(--nhext-offset, 0px) + 76px); display: grid; gap: 20px; transition: top .15s; }
.admin-bar .nhext-aside { top: calc(var(--nhext-offset, 32px) + 76px); }

.nhext-section { padding: 8px 0 40px; scroll-margin-top: calc(var(--nhext-offset, 0px) + 80px); }
.nhext-section + .nhext-section { border-top: 1px solid var(--nhext-line); padding-top: 40px; }
.nhext-ev .nhext-h2 {
	font-size: 26px;
	font-weight: 700;
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 12px;
}
.nhext-ev .nhext-h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 48px;
	height: 3px;
	border-radius: 3px;
	background: var(--nhext-teal);
}
.nhext-lead { font-size: 17px; color: var(--nhext-text); }
.nhext-prose p { margin: 0 0 1em; }
.nhext-prose img { max-width: 100%; height: auto; border-radius: var(--nhext-radius); }

/* ---------- Focus areas ---------- */

.nhext-focus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.nhext-focus__item {
	display: flex;
	gap: 16px;
	padding: 22px;
	border: 1px solid var(--nhext-line);
	border-radius: var(--nhext-radius);
	background: var(--nhext-white);
	transition: border-color .15s, box-shadow .15s;
}
.nhext-focus__item:hover { border-color: #bfdcdb; box-shadow: var(--nhext-shadow); }
.nhext-focus__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
.nhext-focus__icon {
	flex: 0 0 48px;
	height: 48px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--nhext-teal-soft);
	color: var(--nhext-teal);
	font-size: 20px;
}
.nhext-focus__num { font-size: 12px; font-weight: 700; color: var(--nhext-teal); letter-spacing: .1em; }
.nhext-ev .nhext-focus h3 { font-size: 17px; margin: 2px 0 6px; line-height: 1.35; }
.nhext-focus p { margin: 0; font-size: 15px; color: var(--nhext-muted); }

/* ---------- Lists ---------- */

.nhext-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nhext-checklist--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.nhext-checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.nhext-checklist i { color: var(--nhext-teal); margin-top: 5px; flex: 0 0 16px; }

.nhext-callout {
	margin: 24px 0 0;
	padding: 18px 22px;
	border-left: 4px solid var(--nhext-teal);
	background: var(--nhext-bg-soft);
	border-radius: 0 var(--nhext-radius) var(--nhext-radius) 0;
	font-size: 17px;
	font-weight: 600;
	color: var(--nhext-teal-dark);
}

/* ---------- Fees and payment ---------- */

.nhext-fees { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 20px; }
.nhext-fee {
	padding: 22px;
	border: 1px solid var(--nhext-line);
	border-top: 4px solid var(--nhext-teal);
	border-radius: var(--nhext-radius);
	background: var(--nhext-white);
}
.nhext-fee__label { display: block; font-weight: 700; color: var(--nhext-ink); text-transform: uppercase; font-size: 13px; letter-spacing: .08em; }
.nhext-fee__amount { display: block; font-size: 32px; font-weight: 700; color: var(--nhext-teal-dark); line-height: 1.2; margin: 6px 0 0; }
.nhext-fee__per { font-size: 13px; color: var(--nhext-muted); }
.nhext-fee p { margin: 10px 0 0; font-size: 14px; color: var(--nhext-muted); }

.nhext-bank {
	margin: 24px 0;
	padding: 24px;
	border-radius: var(--nhext-radius);
	background: var(--nhext-bg-soft);
	border: 1px solid var(--nhext-line);
}
.nhext-ev .nhext-bank h3 { font-size: 18px; display: flex; gap: 10px; align-items: center; }
.nhext-bank h3 i { color: var(--nhext-teal); }
.nhext-bank__ref { margin: 14px 0 0; font-size: 14px; display: flex; gap: 8px; align-items: baseline; }
.nhext-bank__ref i { color: var(--nhext-teal); }

.nhext-dl { margin: 0; display: grid; gap: 0; }
.nhext-dl > div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--nhext-line); }
.nhext-dl > div:last-child { border-bottom: 0; }
.nhext-dl dt { color: var(--nhext-muted); font-size: 14px; margin: 0; }
.nhext-dl dd { margin: 0; font-weight: 600; color: var(--nhext-ink); }
.nhext-copyable { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nhext-copyable [data-nhext-copy-src] { font-size: 18px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.nhext-copy {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	padding: 4px 12px;
	border: 1px solid var(--nhext-line);
	border-radius: 999px;
	background: var(--nhext-white);
	color: var(--nhext-teal-dark);
	font-size: 13px;
	cursor: pointer;
}
.nhext-copy:hover { border-color: var(--nhext-teal); }

.nhext-steps-info { list-style: none; margin: 24px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.nhext-steps-info li { display: flex; gap: 12px; margin: 0; font-size: 14px; color: var(--nhext-muted); }
.nhext-steps-info strong { display: block; color: var(--nhext-ink); font-size: 15px; }
.nhext-steps-info span {
	flex: 0 0 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--nhext-teal);
	color: var(--nhext-white);
	font-weight: 700;
	font-size: 14px;
}

/* ---------- Aside ---------- */

.nhext-card {
	padding: 24px;
	border: 1px solid var(--nhext-line);
	border-radius: var(--nhext-radius);
	background: var(--nhext-white);
	box-shadow: var(--nhext-shadow);
}
.nhext-ev .nhext-card > h2 { font-size: 17px; margin-bottom: 14px; }

.nhext-meta { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.nhext-meta li { display: flex; gap: 12px; align-items: baseline; margin: 0; }
.nhext-meta i { color: var(--nhext-teal); width: 16px; text-align: center; flex: 0 0 16px; }

.nhext-summary__fees { list-style: none; margin: 0 0 18px; padding: 14px 0 0; border-top: 1px solid var(--nhext-line); display: grid; gap: 8px; }
.nhext-summary__fees li { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 15px; }
.nhext-summary__fees strong { color: var(--nhext-teal-dark); }

.nhext-seats { margin: 0 0 18px; }
.nhext-seats__bar { height: 8px; border-radius: 8px; background: #e6eded; overflow: hidden; }
.nhext-seats__bar span { display: block; height: 100%; background: var(--nhext-teal); border-radius: 8px; }
.nhext-seats p { margin: 8px 0 0; font-size: 14px; color: var(--nhext-muted); }
.nhext-seats strong { color: var(--nhext-ink); font-size: 16px; }
.nhext-seats--low .nhext-seats__bar span { background: var(--nhext-orange); }
.nhext-seats--low strong { color: var(--nhext-orange); }

.nhext-summary__deadline { margin: 12px 0 0; font-size: 13px; color: var(--nhext-muted); text-align: center; }
.nhext-summary__deadline i { color: var(--nhext-teal); margin-right: 4px; }

/* Contact card, in the main column below "About NHEXT". */
.nhext-contact { box-shadow: none; background: var(--nhext-bg-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.nhext-ev .nhext-contact > h2 { flex: 1 1 100%; margin-bottom: 0; }
.nhext-contact .nhext-meta { font-size: 15px; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.nhext-contact .nhext-meta a { word-break: break-word; }
.nhext-contact .nhext-social { margin-left: auto; }
.nhext-contact .nhext-social a { background: var(--nhext-white); }

/* Only pin the summary card when the screen is tall enough to show all of it. */
@media (max-height: 700px) {
	.nhext-aside { position: static; }
}
.nhext-social { display: flex; gap: 8px; }
.nhext-social a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 1px solid var(--nhext-line);
	color: var(--nhext-teal-dark) !important;
	text-decoration: none !important;
}
.nhext-social a:hover { background: var(--nhext-teal); color: var(--nhext-white) !important; border-color: var(--nhext-teal); }

.nhext-map { aspect-ratio: 16 / 9; border-radius: var(--nhext-radius); overflow: hidden; border: 1px solid var(--nhext-line); background: var(--nhext-bg-soft); }
.nhext-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Notices ---------- */

.nhext-notice { padding: 14px 18px; border-radius: 8px; border-left: 4px solid; margin: 0 0 16px; font-size: 15px; }
.nhext-notice--success { background: #e9f6ef; border-color: var(--nhext-success); color: #164f33; }
.nhext-notice--error { background: #fbeceb; border-color: var(--nhext-error); color: #7a1c16; }
.nhext-notice--info { background: var(--nhext-teal-soft); border-color: var(--nhext-teal); color: var(--nhext-teal-deep); }

.nhext-closed { display: flex; gap: 18px; padding: 24px; border-radius: var(--nhext-radius); background: var(--nhext-bg-soft); border: 1px solid var(--nhext-line); }
.nhext-closed > i { font-size: 24px; color: var(--nhext-teal); margin-top: 4px; }
.nhext-ev .nhext-closed h3 { font-size: 18px; }
.nhext-closed p { margin: 0; }

/* ---------- Upload panel ---------- */

.nhext-upload { margin-bottom: 40px; border-top: 4px solid var(--nhext-teal); scroll-margin-top: calc(var(--nhext-offset, 0px) + 80px); }
.nhext-upload__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.nhext-ev .nhext-upload__head h2 { font-size: 22px; margin: 0; }
.nhext-upload .nhext-dl { margin-bottom: 18px; }
.nhext-upload__form { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.nhext-file {
	flex: 1 1 280px;
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border: 2px dashed #b9d6d5;
	border-radius: var(--nhext-radius);
	background: var(--nhext-bg-soft);
	cursor: pointer;
	font-size: 14px;
	color: var(--nhext-muted);
	margin: 0;
}
.nhext-file:hover { border-color: var(--nhext-teal); }
.nhext-file i { font-size: 22px; color: var(--nhext-teal); }
.nhext-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }

.nhext-badge {
	display: inline-block;
	padding: .25em .8em;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	background: #eceeee;
	color: #555;
}
.nhext-badge--confirmed { background: #dff3ea; color: var(--nhext-success, #1e7d4f); }
.nhext-badge--submitted { background: #e3f0fb; color: #1d5a8c; }
.nhext-badge--awaiting { background: #fff3dc; color: #8a5a00; }
.nhext-badge--rejected { background: #fbeceb; color: #b3261e; }

/* ---------- Registration form (Contact Form 7) ---------- */

.nhext-form-wrap {
	border: 1px solid var(--nhext-line);
	border-radius: var(--nhext-radius);
	padding: 28px;
	background: var(--nhext-white);
	box-shadow: var(--nhext-shadow);
}

/* Some themes (Peace included) display CF7 forms as a grey table, which grows to fit its
   content and pushed the form under the summary card. Keep it a plain full-width block. */
.nhext-form-wrap form.wpcf7-form {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.nhext-progress { list-style: none; margin: 0 0 28px; padding: 0; display: flex; gap: 6px; counter-reset: nhext-step; }
.nhext-progress li {
	flex: 1 1 0;
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	color: var(--nhext-muted);
	text-align: left;
	counter-increment: nhext-step;
	min-width: 0;
}
.nhext-progress li::before {
	content: "";
	display: block;
	height: 4px;
	border-radius: 4px;
	background: #e6eded;
	margin-bottom: 8px;
}
.nhext-progress li.is-done::before,
.nhext-progress li.is-current::before { background: var(--nhext-teal); }
.nhext-progress li.is-current { color: var(--nhext-teal-dark); }
.nhext-progress li span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Some themes lay fieldsets out as grids or flex boxes; keep steps as plain full-width blocks. */
.nhext-form-wrap fieldset.nhext-step { display: block; width: 100%; max-width: 100%; border: 0; margin: 0; padding: 0; min-width: 0; }
.nhext-form-wrap .nhext-step legend {
	display: block;
	width: 100%;
	font-size: 20px;
	font-weight: 700;
	color: var(--nhext-ink);
	margin: 0 0 4px;
	padding: 0;
	border: 0;
}
.nhext-step__intro { margin: 0 0 20px; color: var(--nhext-muted); font-size: 15px; }
.nhext-js .nhext-step:not(.is-current) { display: none; }
.nhext-js .nhext-step + .nhext-step { margin-top: 0; }
.nhext-step + .nhext-step { margin-top: 36px; }

.nhext-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.nhext-grid .nhext-full { grid-column: 1 / -1; }

.nhext-field { margin: 0 0 18px; }
.nhext-form-wrap label,
.nhext-field > .nhext-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--nhext-ink);
	margin: 0 0 6px;
}
.nhext-req { color: var(--nhext-error); margin-left: 2px; }
.nhext-hint { display: block; font-size: 13px; font-weight: 400; color: var(--nhext-muted); margin-top: 4px; }

.nhext-form-wrap .wpcf7-form-control-wrap { display: block; }
.nhext-form-wrap input[type="text"],
.nhext-form-wrap input[type="email"],
.nhext-form-wrap input[type="tel"],
.nhext-form-wrap input[type="number"],
.nhext-form-wrap input[type="url"],
.nhext-form-wrap select,
.nhext-form-wrap textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #cdd8d8 !important;
	border-radius: 8px !important;
	background-color: var(--nhext-white) !important;
	color: var(--nhext-ink);
	font: 15px/1.4 Roboto, Arial, sans-serif;
	box-shadow: none;
	transition: border-color .15s, box-shadow .15s;
	margin: 0;
}
.nhext-form-wrap textarea { min-height: 96px; resize: vertical; }
.nhext-form-wrap select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23266669' stroke-width='1.8' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}
.nhext-ev .nhext-form-wrap input:focus,
.nhext-ev .nhext-form-wrap select:focus,
.nhext-ev .nhext-form-wrap textarea:focus {
	outline: none;
	border-color: var(--nhext-teal) !important;
	box-shadow: 0 0 0 3px rgba(12, 131, 129, .15);
}

/* Radio and checkbox groups as tappable options. */
.nhext-form-wrap .wpcf7-radio,
.nhext-form-wrap .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 8px; }
.nhext-form-wrap .wpcf7-radio .wpcf7-list-item,
.nhext-form-wrap .wpcf7-checkbox .wpcf7-list-item { margin: 0; }
.nhext-form-wrap .wpcf7-radio label,
.nhext-form-wrap .wpcf7-checkbox label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border: 1px solid #cdd8d8;
	border-radius: 8px;
	font-weight: 500;
	font-size: 14px;
	cursor: pointer;
	margin: 0;
	background: var(--nhext-white);
}
.nhext-form-wrap .wpcf7-radio label:hover,
.nhext-form-wrap .wpcf7-checkbox label:hover { border-color: var(--nhext-teal); }
.nhext-form-wrap .wpcf7-list-item.is-checked label,
.nhext-form-wrap .wpcf7-list-item label:has(input:checked) { border-color: var(--nhext-teal); background: var(--nhext-teal-soft); color: var(--nhext-teal-deep); }
.nhext-form-wrap input[type="radio"],
.nhext-form-wrap input[type="checkbox"] {
	-webkit-appearance: auto !important;
	appearance: auto !important;
	accent-color: var(--nhext-teal);
	width: 16px !important;
	height: 16px !important;
	min-width: 16px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	box-shadow: none !important;
	position: static !important;
	opacity: 1 !important;
}
.nhext-form-wrap input[type="radio"]::before,
.nhext-form-wrap input[type="radio"]::after,
.nhext-form-wrap input[type="checkbox"]::before,
.nhext-form-wrap input[type="checkbox"]::after { content: none !important; display: none !important; }

.nhext-form-wrap .wpcf7-acceptance .wpcf7-list-item { margin: 0; display: block; }
.nhext-form-wrap .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--nhext-text); }
.nhext-form-wrap .wpcf7-acceptance input { margin-top: 3px; flex: 0 0 16px; }
.nhext-consents { display: grid; gap: 12px; padding: 18px; background: var(--nhext-bg-soft); border-radius: var(--nhext-radius); margin-bottom: 20px; }

.nhext-form-wrap input[type="file"] {
	display: block;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	padding: 18px;
	border: 2px dashed #b9d6d5;
	border-radius: var(--nhext-radius);
	background: var(--nhext-bg-soft);
	font-size: 14px;
	cursor: pointer;
}
.nhext-form-wrap input[type="file"]:hover { border-color: var(--nhext-teal); }

.nhext-fee-calc {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: 16px 20px;
	margin: 0 0 20px;
	border-radius: var(--nhext-radius);
	background: var(--nhext-teal-deep);
	color: var(--nhext-white);
}
.nhext-fee-calc span { font-size: 14px; opacity: .85; }
.nhext-fee-calc strong { font-size: 24px; }

.nhext-paybox { padding: 18px 20px; margin: 0 0 20px; border-radius: var(--nhext-radius); background: var(--nhext-bg-soft); border: 1px solid var(--nhext-line); font-size: 14px; }
.nhext-paybox p { margin: 0 0 6px; }
.nhext-paybox p:last-child { margin: 0; }

.nhext-step__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--nhext-line); }
.nhext-step__nav .nhext-btn--next,
.nhext-step__nav .wpcf7-submit { margin-left: auto; }

.nhext-form-wrap .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	padding: .85em 1.8em;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--nhext-teal) !important;
	color: var(--nhext-white) !important;
	font: 600 16px/1.2 Roboto, Arial, sans-serif;
	cursor: pointer;
	height: auto;
	text-transform: none;
}
.nhext-form-wrap .wpcf7-submit:hover { background: var(--nhext-teal-dark) !important; }
.nhext-form-wrap .wpcf7-submit:disabled { opacity: .6; cursor: wait; }
.nhext-form-wrap .wpcf7-spinner { margin: 0 0 0 12px; align-self: center; }

.nhext-ev .nhext-form-wrap .wpcf7-form-control.wpcf7-not-valid { border-color: var(--nhext-error) !important; }
.nhext-form-wrap .wpcf7-not-valid-tip { color: var(--nhext-error); font-size: 13px; margin-top: 6px; display: block; }
.nhext-form-wrap .wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.nhext-form-wrap .wpcf7 form.sent .wpcf7-response-output { display: none; }

/* Success panel */
.nhext-success { text-align: center; padding: 16px 8px; outline: none; }
.nhext-success__icon { font-size: 48px; color: var(--nhext-success); line-height: 1; margin-bottom: 12px; }
.nhext-ev .nhext-success h3 { font-size: 24px; }
.nhext-success__ref { font-size: 17px; }
.nhext-success__ref strong { color: var(--nhext-teal-dark); letter-spacing: .05em; }
.nhext-success__next { max-width: 560px; margin: 0 auto 16px; }
.nhext-success__message { max-width: 620px; margin: 24px auto; padding-top: 20px; border-top: 1px solid var(--nhext-line); color: var(--nhext-muted); font-size: 15px; text-align: left; }

/* ---------- Event cards (listing and shortcode) ---------- */

.nhext-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.nhext-event-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--nhext-line);
	border-radius: var(--nhext-radius);
	overflow: hidden;
	background: var(--nhext-white);
	transition: box-shadow .15s, transform .15s;
}
.nhext-event-card:hover { box-shadow: var(--nhext-shadow); transform: translateY(-2px); }
.nhext-event-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--nhext-teal-deep), var(--nhext-teal)); }
.nhext-event-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nhext-datebox {
	position: absolute;
	left: 16px;
	bottom: -22px;
	min-width: 64px;
	padding: 8px 10px;
	border-radius: 8px;
	background: var(--nhext-white);
	box-shadow: var(--nhext-shadow);
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--nhext-muted);
	line-height: 1.2;
}
.nhext-datebox span { display: block; font-size: 24px; color: var(--nhext-teal-dark); }
.nhext-event-card__body { padding: 36px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nhext-event-card__body .nhext-chip { align-self: flex-start; }
.nhext-ev .nhext-event-card h3 { font-size: 18px; line-height: 1.35; margin: 4px 0; }
.nhext-event-card h3 a { color: var(--nhext-ink) !important; }
.nhext-event-card .nhext-meta { font-size: 14px; margin-bottom: 4px; gap: 6px; }
.nhext-event-card p { font-size: 14px; color: var(--nhext-muted); margin: 0; }
.nhext-link { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 14px; }
.nhext-empty { padding: 24px; background: var(--nhext-bg-soft); border-radius: var(--nhext-radius); }

/* ---------- Horizontal cards ([nhext_events layout="horizontal"]) ---------- */

/* Layout follows the width of the space the shortcode sits in, not the screen. */
/* width: 100% stops inline-size containment collapsing the block inside page-builder columns. */
.nhext-ev--embed { display: block; width: 100%; background: transparent; font-family: inherit; container-type: inline-size; --nhext-thumb: 228px; }

/* Classic layout uses the theme's own styles; only keep older images (without the theme crop) at 228 x 250. */
.nhext-classic .event-thumb img { width: 228px; height: 250px; object-fit: cover; }
/* The theme's badge is a fixed 65px, which cuts long months ("Decembe"); let it widen. */
.nhext-classic .event-thumb span { width: auto; min-width: 65px; padding-left: 8px; padding-right: 8px; white-space: nowrap; }

.nhext-hcards { display: grid; grid-template-columns: repeat(var(--nhext-cols, 2), minmax(0, 1fr)); gap: 30px; }
.nhext-hcards--cols-1 { --nhext-cols: 1; }
.nhext-hcards--cols-2 { --nhext-cols: 2; }
.nhext-hcards--cols-3 { --nhext-cols: 3; }

.nhext-hcard {
	position: relative;
	display: grid;
	grid-template-columns: var(--nhext-thumb, 228px) minmax(0, 1fr);
	min-height: 250px;
	background: var(--nhext-white);
	margin: 0;
}
.nhext-hcard__thumb { display: block; position: relative; background: #180e0e; overflow: hidden; }
.nhext-hcard__thumb img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	display: block;
	transition: transform .4s;
}
.nhext-hcard:hover .nhext-hcard__thumb img { transform: scale(1.04); }

/* Teal date badge overlapping the image's right edge. */
.nhext-hcard__date {
	position: absolute;
	top: 30px;
	left: var(--nhext-thumb, 228px);
	transform: translateX(calc(-100% + 10px));
	z-index: 2;
	min-width: 65px;
	padding: 12px 10px;
	background: var(--nhext-teal);
	color: var(--nhext-white);
	text-align: center;
	font-size: 15px;
	line-height: 1.3;
}
.nhext-hcard__date strong { display: block; font-size: 28px; line-height: 1.1; font-weight: 700; }

.nhext-hcard__body { padding: 40px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.nhext-ev .nhext-hcard__title { font-family: inherit; font-size: 20px; line-height: 1.2; font-weight: 700; margin: 10px 0 20px; color: #180e0e; }
.nhext-ev .nhext-hcard__title a { color: #180e0e !important; text-decoration: none !important; }
.nhext-ev .nhext-hcard__title a:hover { color: var(--nhext-teal) !important; }
.nhext-hcard__link { font-size: 15px; color: var(--nhext-teal) !important; }

@container (max-width: 1080px) {
	.nhext-hcards--cols-3 { --nhext-cols: 2; }
}
@container (max-width: 760px) {
	.nhext-hcards { --nhext-cols: 1 !important; gap: 20px; }
}
@container (max-width: 520px) {
	.nhext-hcards { --nhext-thumb: 38%; }
	.nhext-hcard__body { padding: 28px 20px; }
	.nhext-ev .nhext-hcard__title { font-size: 18px; }
}
@container (max-width: 380px) {
	.nhext-hcard { grid-template-columns: minmax(0, 1fr); }
	.nhext-hcard__thumb { aspect-ratio: 16 / 10; }
	.nhext-hcard__date { left: auto; right: 16px; transform: none; top: 16px; }
	.nhext-hcard__body { padding: 24px 20px; }
}

/* ---------- Mobile bar ---------- */

.nhext-mobilebar { display: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
	.nhext-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.nhext-aside { position: static; order: -1; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

@media (max-width: 782px) {
	.nhext-hero { padding: 24px 0 36px; }
	.nhext-crumbs { margin-bottom: 18px; }
	.nhext-hero__facts { grid-template-columns: 1fr; }
	.nhext-focus,
	.nhext-checklist--cols,
	.nhext-grid,
	.nhext-steps-info { grid-template-columns: minmax(0, 1fr); }
	.nhext-dl > div { grid-template-columns: 1fr; gap: 2px; }
	.nhext-form-wrap { padding: 20px 16px; }
	.nhext-progress li span { display: none; }
	.nhext-progress li.is-current span { display: block; position: absolute; left: 16px; right: 16px; }
	.nhext-progress { position: relative; padding-bottom: 18px; }
	.nhext-layout { padding-top: 24px; padding-bottom: 96px; }
	.nhext-aside .nhext-summary .nhext-btn { display: none; }

	.nhext-mobilebar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: var(--nhext-white);
		border-top: 1px solid var(--nhext-line);
		box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
		transition: transform .2s;
	}
	.nhext-mobilebar.is-hidden { transform: translateY(110%); }
	.nhext-mobilebar span { display: block; font-size: 12px; color: var(--nhext-muted); }
	.nhext-mobilebar strong { font-size: 18px; color: var(--nhext-teal-dark); }
}

@media (prefers-reduced-motion: reduce) {
	.nhext-ev * { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.nhext-subnav, .nhext-mobilebar, .nhext-aside .nhext-btn, .nhext-map { display: none !important; }
	.nhext-hero { background: none !important; color: #000; }
}
