/* =========================================================
   Conjurly TEC Community Events
   Scope: TEC Community Events add/edit routes
   ========================================================= */




/* Route-scoped Conjurly reset: keep TEC Community styling off the global site. */
body.cnjrly-tec-community-route :where(.site-header, .site-header *, .bb-mobile-header, .bb-mobile-header *, .cj-custom-header, .cj-custom-header *) {
	text-transform: revert;
	letter-spacing: revert;
}

/* Normalize TEC's all-caps form language without touching editor toolbars. */
body.cnjrly-tec-community-route .tribe-community-events :where(.tribe-section-header h3, .tribe-section-header label, .events-community-post-title label, .events-community-post-content label) {
	text-transform: none !important;
	letter-spacing: normal !important;
}

body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .button-secondary, .tribe-button, .tribe-button-primary, .tribe-button-secondary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):not(.wp-switch-editor):not(.ed_button):not(.mce-btn button) {
	text-transform: none !important;
	letter-spacing: normal !important;
}

/* =========================================================
   TEC Community Reset + Conjurly Foundation
   Purpose: neutralize TEC Community defaults that conflict
   with Conjurly without touching the site header or editor
   toolbar internals.
   ========================================================= */

body.cnjrly-tec-community-route .tribe-community-events,
body.cnjrly-tec-community-route .tribe-community-events {
	--cj-tec-control-height: 44px;
	--cj-tec-control-border: var(--cj-border-light, #e6e7eb);
	--cj-tec-control-focus: var(--cj-link, #4c187e);
	--cj-tec-control-focus-ring: 0 0 0 3px rgba(76, 24, 126, 0.14);
}

body.cnjrly-tec-community-route .tribe-community-events :where(h1, h2, h3, h4, h5, h6, label),
body.cnjrly-tec-community-route .tribe-community-events :where(h1, h2, h3, h4, h5, h6, label) {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	text-transform: none;
	letter-spacing: normal;
}

body.cnjrly-tec-community-route .tribe-community-events :where(input:not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea),
body.cnjrly-tec-community-route .tribe-community-events :where(input:not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea) {
	border: 1px solid var(--cj-tec-control-border);
	border-radius: var(--cj-radius-input, 10px);
	background-color: #fff;
	box-shadow: none;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	color: var(--bb-body-text-color, #262626);
}

body.cnjrly-tec-community-route .tribe-community-events :where(input:not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea):focus,
body.cnjrly-tec-community-route .tribe-community-events :where(input:not([type="button"]):not([type="submit"]):not([type="reset"]), select, textarea):focus {
	border-color: var(--cj-tec-control-focus);
	box-shadow: var(--cj-tec-control-focus-ring);
	outline: none;
}

body.cnjrly-tec-community-route .tribe-community-events input:-webkit-autofill,
body.cnjrly-tec-community-route .tribe-community-events input:-webkit-autofill:hover,
body.cnjrly-tec-community-route .tribe-community-events input:-webkit-autofill:focus,
body.cnjrly-tec-community-route .tribe-community-events input:-webkit-autofill,
body.cnjrly-tec-community-route .tribe-community-events input:-webkit-autofill:hover,
body.cnjrly-tec-community-route .tribe-community-events input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #fff inset;
	-webkit-text-fill-color: var(--bb-body-text-color, #262626);
	caret-color: var(--bb-body-text-color, #262626);
	transition: background-color 9999s ease-in-out 0s;
}

body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .button-secondary, .tribe-button, .tribe-button-primary, .tribe-button-secondary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button),
body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .button-secondary, .tribe-button, .tribe-button-primary, .tribe-button-secondary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.64rem 1.1rem;
	border: 1px solid var(--cj-indigo, #4c187e);
	border-radius: var(--cj-radius-btn, 10px);
	background: var(--cj-indigo, #4c187e);
	box-shadow: none;
	color: var(--cj-text-on-accent, #fff);
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .button-secondary, .tribe-button, .tribe-button-primary, .tribe-button-secondary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):hover,
body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .button-secondary, .tribe-button, .tribe-button-primary, .tribe-button-secondary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):focus,
body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .button-secondary, .tribe-button, .tribe-button-primary, .tribe-button-secondary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):hover,
body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .button-secondary, .tribe-button, .tribe-button-primary, .tribe-button-secondary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):focus {
	border-color: var(--cj-indigo-hover, #6f4697);
	background: var(--cj-indigo-hover, #6f4697);
	box-shadow: none;
	color: var(--cj-text-on-accent, #fff);
	outline: none;
	text-decoration: none;
}

body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .button-secondary, .tribe-button, .tribe-button-primary, .tribe-button-secondary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):focus-visible,
body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .button-secondary, .tribe-button, .tribe-button-primary, .tribe-button-secondary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):focus-visible {
	box-shadow: var(--cj-tec-control-focus-ring);
}

/* Keep WordPress/TinyMCE/QuickTags editor controls functional and compact. */
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap :where(button, .button, input[type="button"], input[type="submit"]),
body.cnjrly-tec-community-route .tribe-community-events .quicktags-toolbar :where(button, .button, input[type="button"], input[type="submit"]),
body.cnjrly-tec-community-route .tribe-community-events .mce-toolbar :where(button, .button, input[type="button"], input[type="submit"]),
body.cnjrly-tec-community-route .tribe-community-events .mce-toolbar-grp :where(button, .button, input[type="button"], input[type="submit"]) {
	display: inline-block;
	min-height: initial;
	padding: initial;
	border-radius: initial;
	background: initial;
	color: initial;
	font-size: initial;
	font-weight: initial;
	letter-spacing: initial;
	text-transform: initial;
	box-shadow: initial;
	transition: initial;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap :where(button, .button, input[type="button"]):hover,
body.cnjrly-tec-community-route .tribe-community-events .quicktags-toolbar :where(button, .button, input[type="button"]):hover,
body.cnjrly-tec-community-route .tribe-community-events .mce-toolbar :where(button, .button, input[type="button"]):hover,
body.cnjrly-tec-community-route .tribe-community-events .mce-toolbar-grp :where(button, .button, input[type="button"]):hover {
	background: initial;
	color: initial;
	border-color: initial;
	box-shadow: initial;
}

body.cnjrly-tec-community-route #content.site-content {
	background: var(--bb-body-background-color, #f2f2f2);
}

body.cnjrly-tec-community-route #content .container {
	max-width: 980px;
}

body.cnjrly-tec-community-route #tribe-events-pg-template {
	max-width: none;
	padding: 1.875rem 0 2.1875rem;
}

body.cnjrly-tec-community-route .tribe-community-events-content,
body.cnjrly-tec-community-route .tribe-community-events {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	color: var(--bb-body-text-color, #262626);
}

body.cnjrly-tec-community-route .tribe-community-events {
	background: var(--cj-surface-primary, #fff);
	border: 1px solid var(--cj-border-card, rgba(0, 0, 0, 0.08));
	border-radius: var(--cj-radius-card, 14px);
	box-shadow: var(--cj-shadow-card, 0 1px 4px rgba(0, 0, 0, 0.04));
	overflow: hidden;
	padding: 0 !important;
}

body.cnjrly-tec-community-route .tribe-community-events::before {
	content: "Submit an Event";
	display: block;
	margin: 0;
	padding: 1.15rem 1.5rem;
	background: var(--cj-indigo, #4c187e);
	color: var(--cj-text-on-accent, #fff);
	font-family: var(--cj-heading-font-family, "IBM Plex Sans Condensed", sans-serif);
	font-size: var(--cj-page-header-title-size, 1.65rem);
	font-weight: var(--cj-page-header-title-weight, 500);
	line-height: var(--cj-heading-line-height-tight, 1.1);
	letter-spacing: var(--cj-heading-letter-spacing-tight, -0.01em);
	box-shadow: var(--cj-page-header-shadow, 0 2px 12px rgba(0, 0, 0, 0.08));
	border-radius: 0;
}

body.cnjrly-tec-community-route .tribe-community-events > p,
body.cnjrly-tec-community-route .tribe-community-events > form,
body.cnjrly-tec-community-route .tribe-community-events > .tribe-ce-register,
body.cnjrly-tec-community-route .tribe-community-events > .tribe-ce-lostpassword {
	margin-left: var(--cj-space-card, 24px);
	margin-right: var(--cj-space-card, 24px);
}

body.cnjrly-tec-community-route .tribe-community-events > p:first-of-type {
	margin-top: var(--cj-space-card, 24px);
	margin-bottom: 1rem;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--bb-body-text-color, #262626);
}

body.cnjrly-tec-community-route #tribe_events_community_login {
	margin-top: 0;
	margin-bottom: 1.1rem;
	padding: 1.1rem;
	background: var(--cj-surface-subtle, #f7f7f8);
	border: 1px solid var(--cj-border-light, #e6e7eb);
	border-radius: var(--cj-radius-card, 14px);
}

body.cnjrly-tec-community-route #tribe_events_community_login p {
	margin: 0 0 1rem;
}

body.cnjrly-tec-community-route #tribe_events_community_login p:last-child {
	margin-bottom: 0;
}

body.cnjrly-tec-community-route #tribe_events_community_login label {
	display: block;
	margin: 0 0 0.35rem;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--bb-body-text-color, #262626);
}

body.cnjrly-tec-community-route #tribe_events_community_login input[type="text"],
body.cnjrly-tec-community-route #tribe_events_community_login input[type="password"] {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 0.65rem 0.75rem;
	background: #fff;
	border: 1px solid var(--cj-border-light, #e6e7eb);
	border-radius: var(--cj-radius-input, 10px);
	box-shadow: none;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 1rem;
	line-height: 1.35;
	color: var(--bb-body-text-color, #262626);
}

body.cnjrly-tec-community-route #tribe_events_community_login input[type="text"]:focus,
body.cnjrly-tec-community-route #tribe_events_community_login input[type="password"]:focus {
	border-color: var(--cj-focus-outline-color, var(--cj-link, #4c187e));
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22));
	outline: none;
}

body.cnjrly-tec-community-route #tribe_events_community_login .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-weight: 400;
}

body.cnjrly-tec-community-route #tribe_events_community_login input[type="checkbox"] {
	width: 1rem;
	height: 1rem;
	margin: 0;
	accent-color: var(--cj-indigo, #4c187e);
}

body.cnjrly-tec-community-route #tribe_events_community_login .login-submit {
	padding-top: 0.25rem;
}

body.cnjrly-tec-community-route #tribe_events_community_login input[type="submit"],
body.cnjrly-tec-community-route #tribe_events_community_login .button,
body.cnjrly-tec-community-route .tribe-community-events .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0.65rem 1.1rem;
	background: var(--cj-indigo, #4c187e) !important;
	border: 1px solid var(--cj-indigo, #4c187e) !important;
	border-radius: var(--cj-radius-btn, 10px);
	box-shadow: none;
	color: var(--cj-text-on-accent, #fff) !important;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
}

body.cnjrly-tec-community-route #tribe_events_community_login input[type="submit"]:hover,
body.cnjrly-tec-community-route #tribe_events_community_login input[type="submit"]:focus,
body.cnjrly-tec-community-route .tribe-community-events .button:hover,
body.cnjrly-tec-community-route .tribe-community-events .button:focus {
	background: var(--cj-indigo-hover, #6f4697) !important;
	border-color: var(--cj-indigo-hover, #6f4697) !important;
	color: var(--cj-text-on-accent, #fff) !important;
}

body.cnjrly-tec-community-route .tribe-ce-register {
	margin-top: 0;
	margin-bottom: 0.65rem;
	font-size: 0.95rem;
	line-height: 1.4;
}

body.cnjrly-tec-community-route .tribe-ce-register .tribe-ce-register {
	margin: 0;
}

body.cnjrly-tec-community-route .tribe-ce-lostpassword {
	display: inline-block;
	margin-bottom: var(--cj-space-card, 24px);
}

body.cnjrly-tec-community-route .tribe-community-events a {
	color: var(--cj-link, #4c187e);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-color: rgba(76, 24, 126, 0.7);
	text-underline-offset: 4px;
}

body.cnjrly-tec-community-route .tribe-community-events a:hover,
body.cnjrly-tec-community-route .tribe-community-events a:focus {
	color: var(--cj-link-hover, #6f4697);
	text-decoration-color: currentColor;
}

@media (max-width: 767px) {
	body.cnjrly-tec-community-route #tribe-events-pg-template {
		padding: 1rem 0 1.25rem;
	}

	body.cnjrly-tec-community-route #content .container {
		padding-left: 12px;
		padding-right: 12px;
	}

	body.cnjrly-tec-community-route .tribe-community-events::before {
		font-size: var(--cj-page-header-title-size, 1.65rem);
		padding: 1rem 1rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events > p,
	body.cnjrly-tec-community-route .tribe-community-events > form,
	body.cnjrly-tec-community-route .tribe-community-events > .tribe-ce-register,
	body.cnjrly-tec-community-route .tribe-community-events > .tribe-ce-lostpassword {
		margin-left: 1rem;
		margin-right: 1rem;
	}

	body.cnjrly-tec-community-route #tribe_events_community_login {
		padding: 1rem;
	}

	body.cnjrly-tec-community-route #tribe_events_community_login input[type="submit"] {
		width: 100%;
	}
}


/* =========================================================
   0.3.137 - Safe Community Events form polish
   Verified against TEC Community Events DOM:
   - .my-events-header / h2.my-events / a.tribe-button-secondary
   - .events-community-post-title / .events-community-post-content
   - .tribe-section / .tribe-section-header / .tribe-section-content
   - .tribe-section-content-label / .tribe-field-inline-text / .helper-text
   No TinyMCE structural selectors are changed in this pass.
   ========================================================= */

body.cnjrly-tec-community-route .tribe-community-events .my-events-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: 1.4rem var(--cj-space-card, 24px);
	border-bottom: 1px solid var(--cj-divider, rgba(0, 0, 0, 0.05));
	background: var(--cj-surface-primary, #fff);
}

body.cnjrly-tec-community-route .tribe-community-events .my-events-header h2.my-events {
	margin: 0;
	padding: 0;
	font-family: var(--cj-heading-font-family, "IBM Plex Sans Condensed", sans-serif);
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: var(--cj-heading-font-weight, 500);
	line-height: var(--cj-heading-line-height-tight, 1.1);
	letter-spacing: var(--cj-heading-letter-spacing-tight, -0.01em);
	color: var(--cj-indigo, #4c187e);
}

body.cnjrly-tec-community-route .tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary {
	flex: 0 0 auto;
	width: auto;
	max-width: 100%;
	min-height: 40px;
	padding: 0.58rem 1.1rem;
	border: 1px solid var(--cj-indigo, #4c187e) !important;
	border-radius: var(--cj-radius-btn, 10px);
	background: transparent !important;
	box-shadow: none;
	color: var(--cj-indigo, #4c187e) !important;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	white-space: nowrap;
}

body.cnjrly-tec-community-route .tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary:hover,
body.cnjrly-tec-community-route .tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary:focus {
	border-color: var(--cj-indigo-hover, #6f4697) !important;
	background: var(--cj-indigo-hover, #6f4697) !important;
	color: var(--cj-text-on-accent, #fff) !important;
	box-shadow: none;
	outline: none;
}

body.cnjrly-tec-community-route .tribe-community-events form {
	margin-top: 0;
	margin-bottom: var(--cj-space-card, 24px);
}

body.cnjrly-tec-community-route .tribe-community-events .events-community-post-title,
body.cnjrly-tec-community-route .tribe-community-events .events-community-post-content {
	margin: 0;
	padding: 1.35rem var(--cj-space-card, 24px) 0;
}

body.cnjrly-tec-community-route .tribe-community-events .events-community-post-content {
	padding-top: 1.6rem;
}

body.cnjrly-tec-community-route .tribe-community-events .events-community-post-title > label,
body.cnjrly-tec-community-route .tribe-community-events .events-community-post-content > label {
	display: block;
	margin: 0 0 0.55rem;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--bb-body-text-color, #262626);
}

body.cnjrly-tec-community-route .tribe-community-events .req {
	font-size: 0.92em;
	font-weight: 400;
	font-style: italic;
	color: var(--bb-alternate-text-color, #58606a);
}

body.cnjrly-tec-community-route .tribe-community-events #post_title,
body.cnjrly-tec-community-route .tribe-community-events .events-community-post-title input.required {
	width: 100%;
	min-height: var(--cj-tec-control-height, 44px);
	padding: 0.65rem 0.8rem;
	font-size: 1rem;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section {
	margin: 1.35rem var(--cj-space-card, 24px) 0;
	border: 1px solid var(--cj-border-light, #e6e7eb);
	border-radius: var(--cj-radius-card, 14px);
	background: var(--cj-surface-primary, #fff);
	overflow: hidden;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-header {
	margin: 0;
	padding: 0.9rem 1.05rem;
	border-bottom: 1px solid var(--cj-border-light, #e6e7eb);
	background: var(--cj-surface-subtle, #f7f7f8);
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-header h3 {
	margin: 0;
	padding: 0;
	font-family: var(--cj-heading-font-family, "IBM Plex Sans Condensed", sans-serif);
	font-size: 1.12rem;
	font-weight: var(--cj-heading-font-weight, 500);
	line-height: 1.2;
	letter-spacing: var(--cj-heading-letter-spacing-tight, -0.01em);
	text-transform: none !important;
	color: var(--cj-indigo, #4c187e);
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content {
	margin: 0;
	padding: 1.25rem 1.25rem;
}

body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content td {
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
	vertical-align: middle;
}

body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tr:first-child td {
	padding-top: 0;
}

body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tr:last-child td {
	padding-bottom: 0;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label {
	width: 10.5rem;
	padding-right: 1rem;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--cj-indigo, #4c187e);
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-field label {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.35;
	text-transform: none !important;
	letter-spacing: normal !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-field {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.95rem;
	line-height: 1.45;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-field-inline-text,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-exclusions-header,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-rules-header {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.92rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--bb-body-text-color, #262626);
	text-transform: none !important;
	letter-spacing: normal !important;
}

body.cnjrly-tec-community-route .tribe-community-events .helper-text,
body.cnjrly-tec-community-route .tribe-community-events .event-dynamic-helper-text,
body.cnjrly-tec-community-route .tribe-community-events .tribe-event-recurrence-description,
body.cnjrly-tec-community-route .tribe-community-events .tec-events-pro-recurrence-not-supported__text,
body.cnjrly-tec-community-route .tribe-community-events .tribe-image-upload-area .note,
body.cnjrly-tec-community-route .tribe-community-events .tribe-image-upload-area .note p,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-cost .tribe-section-content-field p,
body.cnjrly-tec-community-route .tribe-community-events td.organizer-email p {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--bb-alternate-text-color, #58606a);
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-image-upload-area .note p,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-cost .tribe-section-content-field p,
body.cnjrly-tec-community-route .tribe-community-events td.organizer-email p {
	margin: 0.45rem 0 0;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-events-community-footer {
	margin: 1.6rem var(--cj-space-card, 24px) var(--cj-space-card, 24px);
	padding-top: 1.35rem;
	border-top: 1px solid var(--cj-divider, rgba(0, 0, 0, 0.05));
	text-align: center;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-events-community-footer input.events-community-submit {
	min-width: min(100%, 15rem);
}

@media (max-width: 767px) {
	body.cnjrly-tec-community-route .tribe-community-events .my-events-header {
		flex-direction: column;
		align-items: stretch;
		padding: 1.15rem 1rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary {
		width: 100%;
	}

	body.cnjrly-tec-community-route .tribe-community-events .events-community-post-title,
	body.cnjrly-tec-community-route .tribe-community-events .events-community-post-content {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section {
		margin-left: 1rem;
		margin-right: 1rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content {
		padding: 1rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content,
	body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tbody,
	body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tr,
	body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content td {
		display: block;
		width: 100%;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label {
		padding: 0 0 0.35rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-events-community-footer {
		margin-left: 1rem;
		margin-right: 1rem;
	}
}


/* =========================================================
   0.3.138 - TEC Community header/button bleed guard
   Verified markup:
   - Desktop header buttons: .site-header .bb-header-buttons a.button.small.outline.signin-button.link
     and .site-header .bb-header-buttons a.button.small.signup
   - Community submitted-events CTA: #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary

   TEC Community ships a broad .tribe_community_edit/.tribe_community_list .button rule.
   These overrides keep that rule from changing Conjurly header buttons and
   keep the Community submitted-events CTA readable.
   ========================================================= */

body.cnjrly-tec-community-route.tribe_community_edit .site-header .bb-header-buttons a.button.small.signin-button,
body.cnjrly-tec-community-route.tribe_community_edit .site-header .bb-header-buttons a.button.small.signup,
body.cnjrly-tec-community-route.tribe_community_list .site-header .bb-header-buttons a.button.small.signin-button,
body.cnjrly-tec-community-route.tribe_community_list .site-header .bb-header-buttons a.button.small.signup {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	letter-spacing: normal !important;
	line-height: inherit !important;
	text-transform: none !important;
	text-decoration: none !important;
}

body.cnjrly-tec-community-route.tribe_community_edit .site-header .bb-header-buttons a.button.small.signup,
body.cnjrly-tec-community-route.tribe_community_list .site-header .bb-header-buttons a.button.small.signup {
	background: transparent !important;
	border: 1px solid var(--cj-indigo, #4c187e) !important;
	border-radius: var(--cj-radius-btn, 10px) !important;
	color: var(--cj-indigo, #4c187e) !important;
}

body.cnjrly-tec-community-route.tribe_community_edit .site-header .bb-header-buttons a.button.small.signup:hover,
body.cnjrly-tec-community-route.tribe_community_edit .site-header .bb-header-buttons a.button.small.signup:focus,
body.cnjrly-tec-community-route.tribe_community_list .site-header .bb-header-buttons a.button.small.signup:hover,
body.cnjrly-tec-community-route.tribe_community_list .site-header .bb-header-buttons a.button.small.signup:focus {
	background: transparent !important;
	border-color: var(--cj-indigo-hover, #6f4697) !important;
	color: var(--cj-indigo-hover, #6f4697) !important;
}

body.cnjrly-tec-community-route.tribe_community_edit .site-header .bb-header-buttons a.button.small.signin-button,
body.cnjrly-tec-community-route.tribe_community_list .site-header .bb-header-buttons a.button.small.signin-button {
	background: var(--cj-indigo, #4c187e) !important;
	border: 1px solid var(--cj-indigo, #4c187e) !important;
	border-radius: var(--cj-radius-btn, 10px) !important;
	color: var(--cj-text-on-accent, #fff) !important;
}

body.cnjrly-tec-community-route.tribe_community_edit .site-header .bb-header-buttons a.button.small.signin-button:hover,
body.cnjrly-tec-community-route.tribe_community_edit .site-header .bb-header-buttons a.button.small.signin-button:focus,
body.cnjrly-tec-community-route.tribe_community_list .site-header .bb-header-buttons a.button.small.signin-button:hover,
body.cnjrly-tec-community-route.tribe_community_list .site-header .bb-header-buttons a.button.small.signin-button:focus {
	background: var(--cj-indigo-hover, #6f4697) !important;
	border-color: var(--cj-indigo-hover, #6f4697) !important;
	color: var(--cj-text-on-accent, #fff) !important;
}

body.cnjrly-tec-community-route.tribe_community_edit #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary,
body.cnjrly-tec-community-route.tribe_community_list #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0.58rem 1.1rem !important;
	background: transparent !important;
	border: 1px solid var(--cj-indigo, #4c187e) !important;
	border-radius: var(--cj-radius-btn, 10px) !important;
	box-shadow: none !important;
	color: var(--cj-indigo, #4c187e) !important;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	letter-spacing: normal !important;
	line-height: 1.2 !important;
	text-transform: none !important;
	text-decoration: none !important;
	white-space: nowrap;
}

body.cnjrly-tec-community-route.tribe_community_edit #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary:hover,
body.cnjrly-tec-community-route.tribe_community_edit #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary:focus,
body.cnjrly-tec-community-route.tribe_community_list #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary:hover,
body.cnjrly-tec-community-route.tribe_community_list #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary:focus {
	background: var(--cj-indigo-hover, #6f4697) !important;
	border-color: var(--cj-indigo-hover, #6f4697) !important;
	color: var(--cj-text-on-accent, #fff) !important;
	outline: none;
}


/* =========================================================
   0.3.139 - TEC Community button conformity
   Purpose: map TEC Community action buttons to Conjurly UI Core
   button tokens while leaving TinyMCE/QuickTags editor controls alone.
   Verified scope: body.cnjrly-tec-community-route + .tribe-community-events.
   ========================================================= */

body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .tribe-button, .tribe-button-primary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):not(.wp-switch-editor):not(.ed_button):not(.mce-btn button),
body.cnjrly-tec-community-route #tribe_events_community_login input[type="submit"],
body.cnjrly-tec-community-route #tribe_events_community_login .button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: auto !important;
	padding: var(--cj-btn-padding-y, 0.72rem) var(--cj-btn-padding-x, 1.25rem) !important;
	background: var(--cj-btn-primary-bg, var(--cj-indigo, #4c187e)) !important;
	border: var(--cj-btn-border-width, 1px) solid var(--cj-btn-primary-border, var(--cj-indigo, #4c187e)) !important;
	border-radius: var(--cj-btn-radius, var(--cj-radius-btn, 10px)) !important;
	box-shadow: none !important;
	color: var(--cj-btn-primary-color, var(--cj-text-on-accent, #fff)) !important;
	font-family: var(--cj-btn-font-family, var(--cj-font-sans, "IBM Plex Sans", sans-serif)) !important;
	font-size: var(--cj-btn-font-size, 0.95rem) !important;
	font-weight: var(--cj-btn-font-weight, 500) !important;
	line-height: var(--cj-btn-line-height, 1.15) !important;
	letter-spacing: var(--cj-btn-letter-spacing, 0.01em) !important;
	text-transform: none !important;
	text-decoration: none !important;
	cursor: pointer;
}

body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .tribe-button, .tribe-button-primary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):not(.wp-switch-editor):not(.ed_button):not(.mce-btn button):hover,
body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .tribe-button, .tribe-button-primary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):not(.wp-switch-editor):not(.ed_button):not(.mce-btn button):focus,
body.cnjrly-tec-community-route #tribe_events_community_login input[type="submit"]:hover,
body.cnjrly-tec-community-route #tribe_events_community_login input[type="submit"]:focus,
body.cnjrly-tec-community-route #tribe_events_community_login .button:hover,
body.cnjrly-tec-community-route #tribe_events_community_login .button:focus {
	background: var(--cj-btn-primary-hover-bg, var(--cj-indigo-hover, #6f4697)) !important;
	border-color: var(--cj-btn-primary-hover-border, var(--cj-indigo-hover, #6f4697)) !important;
	color: var(--cj-btn-primary-hover-color, var(--cj-text-on-accent, #fff)) !important;
	box-shadow: none !important;
	outline: none;
}

body.cnjrly-tec-community-route .tribe-community-events :where(button, .button, .button-primary, .tribe-button, .tribe-button-primary, input[type="button"], input[type="submit"], input[type="reset"], a.tribe-button):not(.wp-switch-editor):not(.ed_button):not(.mce-btn button):focus-visible,
body.cnjrly-tec-community-route #tribe_events_community_login input[type="submit"]:focus-visible,
body.cnjrly-tec-community-route #tribe_events_community_login .button:focus-visible {
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
	outline: none;
}

body.cnjrly-tec-community-route.tribe_community_edit #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary,
body.cnjrly-tec-community-route.tribe_community_list #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: auto !important;
	padding: var(--cj-btn-padding-y, 0.72rem) var(--cj-btn-padding-x, 1.25rem) !important;
	background: var(--cj-btn-secondary-bg, var(--cj-surface-primary, #fff)) !important;
	border: var(--cj-btn-border-width, 1px) solid var(--cj-btn-secondary-border, var(--cj-indigo, #4c187e)) !important;
	border-radius: var(--cj-btn-radius, var(--cj-radius-btn, 10px)) !important;
	box-shadow: none !important;
	color: var(--cj-btn-secondary-color, var(--cj-indigo, #4c187e)) !important;
	font-family: var(--cj-btn-font-family, var(--cj-font-sans, "IBM Plex Sans", sans-serif)) !important;
	font-size: var(--cj-btn-font-size, 0.95rem) !important;
	font-weight: var(--cj-btn-font-weight, 500) !important;
	line-height: var(--cj-btn-line-height, 1.15) !important;
	letter-spacing: var(--cj-btn-letter-spacing, 0.01em) !important;
	text-transform: none !important;
	text-decoration: none !important;
	white-space: nowrap;
}

body.cnjrly-tec-community-route.tribe_community_edit #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary:hover,
body.cnjrly-tec-community-route.tribe_community_edit #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary:focus,
body.cnjrly-tec-community-route.tribe_community_list #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary:hover,
body.cnjrly-tec-community-route.tribe_community_list #tribe-community-events .my-events-header > a.tribe-button.tribe-button-secondary:focus {
	background: var(--cj-btn-secondary-hover-bg, rgba(76, 24, 126, 0.045)) !important;
	border-color: var(--cj-btn-secondary-hover-border, var(--cj-indigo-hover, #6f4697)) !important;
	color: var(--cj-btn-secondary-hover-color, var(--cj-indigo-hover, #6f4697)) !important;
	box-shadow: none !important;
	outline: none;
}


/* =========================================================
   0.3.140 - Logged-out Community Events button compliance
   Scope: TEC Community logged-out add route and duplicated BuddyBoss header
   Purpose: defeat TEC Community's broad .button rule with exact selectors,
   using Conjurly UI Core button tokens. No TinyMCE or form structure changes.
   ========================================================= */

body.cnjrly-tec-community-route.tribe_community_edit #cnjrly-site-header .bb-header-buttons a.button.small.signup,
body.cnjrly-tec-community-route.tribe_community_edit #masthead .bb-header-buttons a.button.small.signup,
body.cnjrly-tec-community-route.tribe_community_list #cnjrly-site-header .bb-header-buttons a.button.small.signup,
body.cnjrly-tec-community-route.tribe_community_list #masthead .bb-header-buttons a.button.small.signup {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: var(--cj-btn-padding-y-sm, 0.55rem) var(--cj-btn-padding-x-sm, 0.95rem) !important;
	background: var(--cj-btn-secondary-bg, #fff) !important;
	border: var(--cj-btn-border-width, 1px) solid var(--cj-btn-secondary-border, var(--cj-indigo, #4c187e)) !important;
	border-radius: var(--cj-btn-radius, var(--cj-radius-btn, 10px)) !important;
	box-shadow: none !important;
	color: var(--cj-btn-secondary-color, var(--cj-indigo, #4c187e)) !important;
	font-family: var(--cj-btn-font-family, var(--cj-font-sans, "IBM Plex Sans", sans-serif)) !important;
	font-size: var(--cj-btn-font-size, 0.95rem) !important;
	font-weight: var(--cj-btn-font-weight, 500) !important;
	line-height: var(--cj-btn-line-height, 1.15) !important;
	letter-spacing: var(--cj-btn-letter-spacing, 0.01em) !important;
	text-transform: none !important;
	text-decoration: none !important;
}

body.cnjrly-tec-community-route.tribe_community_edit #cnjrly-site-header .bb-header-buttons a.button.small.signup:hover,
body.cnjrly-tec-community-route.tribe_community_edit #cnjrly-site-header .bb-header-buttons a.button.small.signup:focus,
body.cnjrly-tec-community-route.tribe_community_edit #masthead .bb-header-buttons a.button.small.signup:hover,
body.cnjrly-tec-community-route.tribe_community_edit #masthead .bb-header-buttons a.button.small.signup:focus,
body.cnjrly-tec-community-route.tribe_community_list #cnjrly-site-header .bb-header-buttons a.button.small.signup:hover,
body.cnjrly-tec-community-route.tribe_community_list #cnjrly-site-header .bb-header-buttons a.button.small.signup:focus,
body.cnjrly-tec-community-route.tribe_community_list #masthead .bb-header-buttons a.button.small.signup:hover,
body.cnjrly-tec-community-route.tribe_community_list #masthead .bb-header-buttons a.button.small.signup:focus {
	background: var(--cj-btn-secondary-hover-bg, rgba(76, 24, 126, 0.045)) !important;
	border-color: var(--cj-btn-secondary-hover-border, var(--cj-indigo-hover, #6f4697)) !important;
	color: var(--cj-btn-secondary-hover-color, var(--cj-indigo-hover, #6f4697)) !important;
	box-shadow: none !important;
	outline: none !important;
}

body.cnjrly-tec-community-route.tribe_community_edit #cnjrly-site-header .bb-header-buttons a.button.small.signin-button,
body.cnjrly-tec-community-route.tribe_community_edit #masthead .bb-header-buttons a.button.small.signin-button,
body.cnjrly-tec-community-route.tribe_community_list #cnjrly-site-header .bb-header-buttons a.button.small.signin-button,
body.cnjrly-tec-community-route.tribe_community_list #masthead .bb-header-buttons a.button.small.signin-button,
body.cnjrly-tec-community-route #tribe_events_community_login #wp-submit.button.button-primary {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: var(--cj-btn-padding-y-sm, 0.55rem) var(--cj-btn-padding-x-sm, 0.95rem) !important;
	background: var(--cj-btn-primary-bg, var(--cj-indigo, #4c187e)) !important;
	border: var(--cj-btn-border-width, 1px) solid var(--cj-btn-primary-border, var(--cj-indigo, #4c187e)) !important;
	border-radius: var(--cj-btn-radius, var(--cj-radius-btn, 10px)) !important;
	box-shadow: none !important;
	color: var(--cj-btn-primary-color, #fff) !important;
	font-family: var(--cj-btn-font-family, var(--cj-font-sans, "IBM Plex Sans", sans-serif)) !important;
	font-size: var(--cj-btn-font-size, 0.95rem) !important;
	font-weight: var(--cj-btn-font-weight, 500) !important;
	line-height: var(--cj-btn-line-height, 1.15) !important;
	letter-spacing: var(--cj-btn-letter-spacing, 0.01em) !important;
	text-transform: none !important;
	text-decoration: none !important;
}

body.cnjrly-tec-community-route.tribe_community_edit #cnjrly-site-header .bb-header-buttons a.button.small.signin-button:hover,
body.cnjrly-tec-community-route.tribe_community_edit #cnjrly-site-header .bb-header-buttons a.button.small.signin-button:focus,
body.cnjrly-tec-community-route.tribe_community_edit #masthead .bb-header-buttons a.button.small.signin-button:hover,
body.cnjrly-tec-community-route.tribe_community_edit #masthead .bb-header-buttons a.button.small.signin-button:focus,
body.cnjrly-tec-community-route.tribe_community_list #cnjrly-site-header .bb-header-buttons a.button.small.signin-button:hover,
body.cnjrly-tec-community-route.tribe_community_list #cnjrly-site-header .bb-header-buttons a.button.small.signin-button:focus,
body.cnjrly-tec-community-route.tribe_community_list #masthead .bb-header-buttons a.button.small.signin-button:hover,
body.cnjrly-tec-community-route.tribe_community_list #masthead .bb-header-buttons a.button.small.signin-button:focus,
body.cnjrly-tec-community-route #tribe_events_community_login #wp-submit.button.button-primary:hover,
body.cnjrly-tec-community-route #tribe_events_community_login #wp-submit.button.button-primary:focus {
	background: var(--cj-btn-primary-hover-bg, var(--cj-indigo-hover, #6f4697)) !important;
	border-color: var(--cj-btn-primary-hover-border, var(--cj-indigo-hover, #6f4697)) !important;
	color: var(--cj-btn-primary-hover-color, #fff) !important;
	box-shadow: none !important;
	outline: none !important;
}

body.cnjrly-tec-community-route.tribe_community_edit #cnjrly-site-header .bb-header-buttons a.button.small.signup:focus-visible,
body.cnjrly-tec-community-route.tribe_community_edit #cnjrly-site-header .bb-header-buttons a.button.small.signin-button:focus-visible,
body.cnjrly-tec-community-route.tribe_community_edit #masthead .bb-header-buttons a.button.small.signup:focus-visible,
body.cnjrly-tec-community-route.tribe_community_edit #masthead .bb-header-buttons a.button.small.signin-button:focus-visible,
body.cnjrly-tec-community-route #tribe_events_community_login #wp-submit.button.button-primary:focus-visible {
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
	outline: none !important;
}


/* =========================================================
   0.3.143 - Event Details / Time & Date required structure
   Scope: TEC Community add/edit form top required fields only.
   Purpose: make Title + Description read as one required card while
   keeping Event Time & Date as its own existing required card.
   No TinyMCE structure, date/time internals, recurrence, or DOM-moving JS.
   ========================================================= */

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title {
	position: relative;
	margin: 1.35rem var(--cj-space-card, 24px) 0;
	padding: 0 1.25rem 0;
	background: var(--cj-surface-primary, #fff);
	border: 1px solid var(--cj-border-light, #e6e7eb);
	border-bottom: 0;
	border-radius: var(--cj-radius-card, 14px) var(--cj-radius-card, 14px) 0 0;
	overflow: hidden;
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::before {
	content: "Event Details";
	display: block;
	margin: 0 -1.25rem 1.25rem;
	padding: 0.9rem 1.05rem;
	background: var(--cj-surface-subtle, #f7f7f8);
	border-bottom: 1px solid var(--cj-border-light, #e6e7eb);
	color: var(--cj-indigo, #4c187e);
	font-family: var(--cj-heading-font-family, "IBM Plex Sans Condensed", sans-serif);
	font-size: 1.12rem;
	font-weight: var(--cj-heading-font-weight, 500);
	line-height: 1.2;
	letter-spacing: var(--cj-heading-letter-spacing-tight, -0.01em);
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::after {
	content: "required";
	position: absolute;
	top: 0.9rem;
	right: 1.05rem;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.82rem;
	font-weight: 500;
	font-style: italic;
	line-height: 1.2;
	color: var(--bb-alternate-text-color, #58606a);
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title > label,
body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content > label {
	margin-bottom: 0.55rem;
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title #post_title,
body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title input.required {
	margin-bottom: 0;
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content {
	margin: 0 var(--cj-space-card, 24px);
	padding: 1.55rem 1.25rem 1.25rem;
	background: var(--cj-surface-primary, #fff);
	border: 1px solid var(--cj-border-light, #e6e7eb);
	border-top: 0;
	border-radius: 0 0 var(--cj-radius-card, 14px) var(--cj-radius-card, 14px);
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content + .tribe-section {
	margin-top: 1.35rem;
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content + .tribe-section .tribe-section-header h3::after {
	content: " (required)";
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.82rem;
	font-weight: 400;
	font-style: italic;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--bb-alternate-text-color, #58606a);
}

@media (max-width: 767px) {
	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title,
	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content {
		margin-left: 1rem;
		margin-right: 1rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::before {
		margin-left: -1rem;
		margin-right: -1rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::after {
		right: 1rem;
	}
}


/* =========================================================
   0.3.144 - Community Events field-label normalization
   Scope: TEC Community add/edit form labels and required markers only.
   Purpose: make field labels consistent across cards and remove duplicate
   required markers inside the Event Details card.
   No TinyMCE structure, date/time internals, recurrence, or DOM-moving JS.
   ========================================================= */

/* Event Details required marker: match the Time & Date inline heading pattern. */
body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::after {
	content: "(required)";
	position: absolute;
	top: 0.92rem;
	left: 8.95rem;
	right: auto;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.82rem;
	font-weight: 400;
	font-style: italic;
	line-height: 1.2;
	letter-spacing: 0;
	color: var(--bb-alternate-text-color, #58606a);
}

/* The card heading carries required status; field-level repeats become noise. */
body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title .req,
body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content .req {
	display: none !important;
}

/* One standard field-label style across freeform and carded TEC fields. */
body.cnjrly-tec-community-route .tribe-community-events .events-community-post-title > label,
body.cnjrly-tec-community-route .tribe-community-events .events-community-post-content > label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-field > label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-field .field-label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-field .tribe-field-label {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: var(--bb-body-text-color, #262626) !important;
}

/* Inline connective labels should read as supporting text, not purple headings. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-field-inline-text,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-rules-header,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-exclusions-header,
body.cnjrly-tec-community-route .tribe-community-events .eventForm .tribe-datetime-separator,
body.cnjrly-tec-community-route .tribe-community-events .tribe-datetime-separator {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: var(--bb-body-text-color, #262626) !important;
}

/* Helper and note copy stays secondary and quiet. */
body.cnjrly-tec-community-route .tribe-community-events .helper-text,
body.cnjrly-tec-community-route .tribe-community-events .event-dynamic-helper-text,
body.cnjrly-tec-community-route .tribe-community-events .tribe-event-recurrence-description,
body.cnjrly-tec-community-route .tribe-community-events .tec-events-pro-recurrence-not-supported__text,
body.cnjrly-tec-community-route .tribe-community-events .tribe-image-upload-area .note,
body.cnjrly-tec-community-route .tribe-community-events .tribe-image-upload-area .note p,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-cost .tribe-section-content-field p,
body.cnjrly-tec-community-route .tribe-community-events td.organizer-email p {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif);
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.45;
	color: var(--bb-alternate-text-color, #58606a) !important;
}

@media (max-width: 767px) {
	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::after {
		left: 8.9rem;
		right: auto;
	}
}


/* =========================================================
   0.3.145 - Community Events compact label rhythm
   Scope: TEC Community add/edit form layout only.
   Purpose: reduce wasted vertical/side space and normalize field labels
   to a single left-aligned, above-field pattern across carded sections.
   No TinyMCE structure, date/time internals, recurrence JS, or DOM-moving JS.
   ========================================================= */

/* Tighten global form rhythm without changing the page shell. */
body.cnjrly-tec-community-route .tribe-community-events .my-events-header {
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section {
	margin-top: 1.1rem;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-header {
	padding: 0.78rem 1rem;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content {
	padding: 1rem;
}

/* Use one label-above-field pattern throughout TEC card sections. */
body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content,
body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tbody {
	display: block;
	width: 100%;
}

body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tr {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.42rem;
	width: 100%;
	padding: 0.35rem 0;
}

body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tr:first-child {
	padding-top: 0;
}

body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tr:last-child {
	padding-bottom: 0;
}

body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content td {
	display: block;
	width: 100% !important;
	padding: 0 !important;
	vertical-align: top;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label {
	width: auto !important;
	padding: 0 !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label label,
body.cnjrly-tec-community-route .tribe-community-events .events-community-post-title > label,
body.cnjrly-tec-community-route .tribe-community-events .events-community-post-content > label {
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.3;
	color: var(--bb-body-text-color, #262626) !important;
}

/* Keep supporting connective words quiet and secondary. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-field,
body.cnjrly-tec-community-route .tribe-community-events .tribe-field-inline-text,
body.cnjrly-tec-community-route .tribe-community-events .eventForm .tribe-datetime-separator,
body.cnjrly-tec-community-route .tribe-community-events .tribe-datetime-separator {
	font-size: 0.94rem;
	font-weight: 400 !important;
}

/* Reduce first card interior air to match the tightened card system. */
body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title {
	padding-top: 1rem;
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content {
	padding-top: 1.2rem;
	padding-bottom: 1rem;
}

body.cnjrly-tec-community-route .tribe-community-events .events-community-post-title > label,
body.cnjrly-tec-community-route .tribe-community-events .events-community-post-content > label {
	margin-bottom: 0.48rem;
}

body.cnjrly-tec-community-route .tribe-community-events .events-community-post-content {
	padding-top: 1.2rem;
}

/* Mobile: reclaim space aggressively while preserving touch targets. */
@media (max-width: 767px) {
	body.cnjrly-tec-community-route #tribe-events-pg-template {
		padding-top: 1rem;
		padding-bottom: 1.25rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events::before {
		padding: 0.95rem 1rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events .my-events-header {
		padding: 1rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section {
		margin: 0.85rem 0.7rem 0;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-header {
		padding: 0.72rem 0.85rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content {
		padding: 0.85rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title,
	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content {
		margin-left: 0.7rem;
		margin-right: 0.7rem;
		padding-left: 0.85rem;
		padding-right: 0.85rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::before {
		margin-left: -0.85rem;
		margin-right: -0.85rem;
		padding-left: 0.85rem;
		padding-right: 0.85rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::after {
		left: 8.75rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tr {
		gap: 0.35rem;
		padding: 0.3rem 0;
	}
}


/* =========================================================
   0.3.146 - Recurrence label + collapsed exception cleanup
   Scope: Event Time & Date recurrence/exclusion rows only.
   Purpose: keep recurrence row labels on the same Conjurly field-label
   standard and keep the exception controls collapsed until recurrence is active.
   No TinyMCE, datepicker/timepicker, field movement, or template changes.
   ========================================================= */

body.cnjrly-tec-community-route .tribe-community-events .recurrence-rules-header,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-rules-header label,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-exclusions-header,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-description-header {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	color: var(--bb-body-text-color, #262626) !important;
}

/* TEC prints the exclusion row in the recurrence table. Keep it hidden until
   recurrence is actually active so the default Date & Time card stays compact. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime:not(.cnjrly-recurrence-expanded) .tribe-recurrence-exclusion-row,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime:not(.cnjrly-recurrence-expanded) .tribe-recurrence-description {
	display: none !important;
}

/* =========================================================
   0.3.147 - Community Events top-card alignment + compact rhythm
   Scope: TEC Community add/edit form presentation only.
   Purpose: fix Event Details header alignment and reduce excessive
   desktop/mobile padding while preserving field markup and TinyMCE.
   ========================================================= */

/* Event Details card: remove the padding that pushed the generated
   header text out of alignment with its required marker. */
body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title {
	margin-top: 1rem !important;
	padding: 0 1rem 0 !important;
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::before {
	margin: 0 -1rem 1rem !important;
	padding: 0.8rem 1rem !important;
	line-height: 1.2 !important;
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::after {
	top: 0.82rem !important;
	left: 9.9rem !important;
	right: auto !important;
}

body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content {
	padding: 1.05rem 1rem 0.95rem !important;
}

/* Reduce repeated card air without changing the TEC form structure. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section {
	margin-top: 0.95rem !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-header {
	padding: 0.72rem 1rem !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content {
	padding: 0.9rem 1rem !important;
}

body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tr {
	gap: 0.32rem !important;
	padding: 0.25rem 0 !important;
}

/* Keep field labels on the same visual standard after compacting rows. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label label,
body.cnjrly-tec-community-route .tribe-community-events .events-community-post-title > label,
body.cnjrly-tec-community-route .tribe-community-events .events-community-post-content > label,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-rules-header,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-rules-header label,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-exclusions-header,
body.cnjrly-tec-community-route .tribe-community-events .recurrence-description-header {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	color: var(--bb-body-text-color, #262626) !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

/* Mobile density pass: reclaim space while preserving touch targets. */
@media (max-width: 767px) {
	body.cnjrly-tec-community-route #tribe-events-pg-template {
		padding-top: 0.8rem !important;
		padding-bottom: 1rem !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events::before {
		padding: 0.9rem 1rem !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events .my-events-header {
		padding: 0.85rem !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title,
	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content {
		margin-left: 0.55rem !important;
		margin-right: 0.55rem !important;
		padding-left: 0.75rem !important;
		padding-right: 0.75rem !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title {
		margin-top: 0.75rem !important;
		padding-top: 0 !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::before {
		margin-left: -0.75rem !important;
		margin-right: -0.75rem !important;
		margin-bottom: 0.85rem !important;
		padding: 0.7rem 0.75rem !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-title::after {
		top: 0.72rem !important;
		left: 8.95rem !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events form > .events-community-post-content {
		padding-top: 0.9rem !important;
		padding-bottom: 0.8rem !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section {
		margin: 0.75rem 0.55rem 0 !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-header {
		padding: 0.65rem 0.75rem !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content {
		padding: 0.75rem !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events table.tribe-section-content tr {
		gap: 0.28rem !important;
		padding: 0.22rem 0 !important;
	}

	body.cnjrly-tec-community-route .tribe-community-events .events-community-post-title > label,
	body.cnjrly-tec-community-route .tribe-community-events .events-community-post-content > label,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-content-label label {
		margin-bottom: 0.38rem !important;
	}
}

/* =========================================================
   0.3.148 - Recurrence controls corrective pass
   Scope: TEC Community Event Time & Date recurrence/exclusion UI only.
   Purpose: restore icon-only destructive controls, reduce recurrence
   whitespace, and keep recurrence/exclusion controls visually grouped.
   No TinyMCE, datepicker/timepicker, template, or DOM-moving changes.
   ========================================================= */

/* TEC includes a hidden confirm-delete button beside the trash icon. Earlier
   broad button normalization made it visible. Keep the original trash-icon
   interaction and suppress the confirm button unless TEC itself opens a dialog. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-confirm-delete-this,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime button.tribe-confirm-delete-this,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .button-red.tribe-confirm-delete-this {
	display: none !important;
}

/* Recurrence rows are part of the Date & Time card. They should read as compact
   field groups, not as floating controls spread across the full card width. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-row {
	position: relative;
	margin: 0.25rem 0 0.85rem !important;
	padding: 0 !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-rules-header,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-exclusions-header {
	display: block;
	margin: 0 0 0.42rem !important;
	padding: 0 !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-container {
	width: 100%;
	max-width: 46rem;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-recurrence,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-exclusion {
	position: relative;
	width: 100%;
	max-width: 46rem;
	margin: 0.25rem 0 0.7rem;
	padding: 0.1rem 2.5rem 0.65rem 0;
	border-bottom: 1px solid var(--cj-divider, rgba(0, 0, 0, 0.05));
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-recurrence:last-of-type,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-exclusion:last-of-type {
	margin-bottom: 0.55rem;
}

/* Icon-only delete affordance: compact, aligned with its recurrence block, and
   no large primary/destructive button competing with Add more/Add Exception. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime a.tribe-delete-this.dashicons-trash,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime a.dashicons.tribe-delete-this {
	position: absolute;
	top: 0.05rem;
	right: 0;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--cj-indigo, #4c187e) !important;
	text-decoration: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime a.tribe-delete-this.dashicons-trash:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime a.tribe-delete-this.dashicons-trash:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime a.dashicons.tribe-delete-this:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime a.dashicons.tribe-delete-this:focus {
	background: rgba(76, 24, 126, 0.06) !important;
	color: var(--cj-indigo-hover, #6f4697) !important;
	box-shadow: none !important;
	outline: none;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime a.tribe-delete-this.dashicons-trash:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime a.dashicons.tribe-delete-this:focus-visible {
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
}

/* Keep generated recurrence micro-controls on one compact, wrapping rhythm. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-buttonset,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tec-events-pro-rule-type,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-custom-container,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-recurrence-type,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-time,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-end-range,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .custom-recurrence-months,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-month-select,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-dame-day-select {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.42rem 0.5rem;
	margin: 0.15rem 0 0.55rem;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-recurrence-details {
	margin-top: 0.55rem;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-recurrence-details .recurrence-row {
	margin-bottom: 0.55rem !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-field-inline-text,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tec-events-pro-rule-type__pretext {
	margin: 0;
	white-space: nowrap;
}

/* Reclaim the large blank area created by TEC's table/row defaults once the
   recurrence builder is open. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime table.tribe-section-content tr.recurrence-row {
	gap: 0.25rem !important;
	padding-top: 0.35rem !important;
	padding-bottom: 0.35rem !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime #tribe-add-recurrence,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime #tribe-add-exclusion {
	margin-top: 0.35rem !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-handle {
	display: inline-flex;
	margin-top: 0.25rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--cj-link, #4c187e);
	cursor: pointer;
}

@media (max-width: 767px) {
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-container,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-recurrence,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-exclusion {
		max-width: 100%;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-recurrence,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-exclusion {
		padding-right: 2.25rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-buttonset,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tec-events-pro-rule-type,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-custom-container,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-recurrence-type,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-time,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .recurrence-end-range,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .custom-recurrence-months,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-month-select,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-dame-day-select {
		gap: 0.38rem 0.42rem;
		margin-bottom: 0.48rem;
	}

	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime #tribe-add-recurrence,
	body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime #tribe-add-exclusion {
		width: 100%;
	}
}


/* =========================================================
   0.3.149 - Recurrence controls reassertion using actual TEC markup
   Scope: TEC Community Event Time & Date recurrence/exclusion rows only.
   Purpose: the previous pass was too narrowly scoped on some installs. This
   pass uses the verified TEC Community recurrence DOM directly and keeps the
   changes presentational only.
   ========================================================= */

/* The visible text Delete button is TEC's confirm-delete control. The intended
   default affordance is the adjacent trash icon. Hide the confirm button across
   the community recurrence/exclusion block, without touching Add more events or
   Add Exception. */
.tribe_community_edit .tribe-section-datetime button.tribe-confirm-delete-this,
.tribe_community_edit .tribe-section-datetime .button-red.tribe-confirm-delete-this,
.tribe_community_edit .tribe-section-datetime .tribe-event-recurrence button.tribe-delete-this,
.tribe_community_edit .tribe-section-datetime .tribe-event-exclusion button.tribe-delete-this,
.tribe_community_list .tribe-section-datetime button.tribe-confirm-delete-this,
.tribe_community_list .tribe-section-datetime .button-red.tribe-confirm-delete-this,
.tribe_community_list .tribe-section-datetime .tribe-event-recurrence button.tribe-delete-this,
.tribe_community_list .tribe-section-datetime .tribe-event-exclusion button.tribe-delete-this,
body.cnjrly-tec-community-route .tribe-section-datetime button.tribe-confirm-delete-this,
body.cnjrly-tec-community-route .tribe-section-datetime .button-red.tribe-confirm-delete-this,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-recurrence button.tribe-delete-this,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-exclusion button.tribe-delete-this {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
}

/* Convert only recurrence/exclusion table rows into stacked field groups. This
   avoids fighting TEC's Start/End row while making the expanded recurrence area
   read like the rest of the Conjurly form. */
.tribe_community_edit .tribe-section-datetime tr.recurrence-row,
.tribe_community_list .tribe-section-datetime tr.recurrence-row,
body.cnjrly-tec-community-route .tribe-section-datetime tr.recurrence-row {
	display: block !important;
	padding: 0.65rem 0 0.5rem !important;
	margin: 0 !important;
	border: 0 !important;
}

.tribe_community_edit .tribe-section-datetime tr.recurrence-row > td,
.tribe_community_list .tribe-section-datetime tr.recurrence-row > td,
body.cnjrly-tec-community-route .tribe-section-datetime tr.recurrence-row > td {
	display: block !important;
	width: 100% !important;
	padding: 0 !important;
	vertical-align: top !important;
}

.tribe_community_edit .tribe-section-datetime .recurrence-rules-header,
.tribe_community_edit .tribe-section-datetime .recurrence-rules-header label,
.tribe_community_edit .tribe-section-datetime .recurrence-exclusions-header,
.tribe_community_list .tribe-section-datetime .recurrence-rules-header,
.tribe_community_list .tribe-section-datetime .recurrence-rules-header label,
.tribe_community_list .tribe-section-datetime .recurrence-exclusions-header,
body.cnjrly-tec-community-route .tribe-section-datetime .recurrence-rules-header,
body.cnjrly-tec-community-route .tribe-section-datetime .recurrence-rules-header label,
body.cnjrly-tec-community-route .tribe-section-datetime .recurrence-exclusions-header {
	display: block !important;
	margin: 0 0 0.45rem !important;
	padding: 0 !important;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.3 !important;
	color: var(--bb-body-text-color, #262626) !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

/* Keep recurrence blocks compact and left-aligned instead of spanning the full
   card with detached controls. */
.tribe_community_edit .tribe-section-datetime .recurrence-container,
.tribe_community_list .tribe-section-datetime .recurrence-container,
body.cnjrly-tec-community-route .tribe-section-datetime .recurrence-container {
	width: 100% !important;
	max-width: 44rem !important;
	margin: 0 !important;
}

.tribe_community_edit .tribe-section-datetime .tribe-event-recurrence,
.tribe_community_edit .tribe-section-datetime .tribe-event-exclusion,
.tribe_community_list .tribe-section-datetime .tribe-event-recurrence,
.tribe_community_list .tribe-section-datetime .tribe-event-exclusion,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-recurrence,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-exclusion {
	position: relative !important;
	max-width: 44rem !important;
	margin: 0 0 0.7rem !important;
	padding: 0.05rem 2.35rem 0.75rem 0 !important;
	border-bottom: 1px solid var(--cj-divider, rgba(0,0,0,0.05)) !important;
}

.tribe_community_edit .tribe-section-datetime a.tribe-delete-this.dashicons,
.tribe_community_list .tribe-section-datetime a.tribe-delete-this.dashicons,
body.cnjrly-tec-community-route .tribe-section-datetime a.tribe-delete-this.dashicons {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2rem !important;
	height: 2rem !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--cj-indigo, #4c187e) !important;
	text-decoration: none !important;
	line-height: 1 !important;
}

.tribe_community_edit .tribe-section-datetime a.tribe-delete-this.dashicons:hover,
.tribe_community_edit .tribe-section-datetime a.tribe-delete-this.dashicons:focus,
.tribe_community_list .tribe-section-datetime a.tribe-delete-this.dashicons:hover,
.tribe_community_list .tribe-section-datetime a.tribe-delete-this.dashicons:focus,
body.cnjrly-tec-community-route .tribe-section-datetime a.tribe-delete-this.dashicons:hover,
body.cnjrly-tec-community-route .tribe-section-datetime a.tribe-delete-this.dashicons:focus {
	background: rgba(76,24,126,0.06) !important;
	color: var(--cj-indigo-hover, #6f4697) !important;
	outline: none !important;
}

/* Compact rows inside the recurrence/exclusion editors. */
.tribe_community_edit .tribe-section-datetime .tribe-buttonset,
.tribe_community_edit .tribe-section-datetime .tec-events-pro-rule-type,
.tribe_community_edit .tribe-section-datetime .recurrence-custom-container,
.tribe_community_edit .tribe-section-datetime .recurrence-time,
.tribe_community_edit .tribe-section-datetime .tribe-recurrence-type,
.tribe_community_edit .tribe-section-datetime .recurrence-end-range,
.tribe_community_list .tribe-section-datetime .tribe-buttonset,
.tribe_community_list .tribe-section-datetime .tec-events-pro-rule-type,
.tribe_community_list .tribe-section-datetime .recurrence-custom-container,
.tribe_community_list .tribe-section-datetime .recurrence-time,
.tribe_community_list .tribe-section-datetime .tribe-recurrence-type,
.tribe_community_list .tribe-section-datetime .recurrence-end-range,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-buttonset,
body.cnjrly-tec-community-route .tribe-section-datetime .tec-events-pro-rule-type,
body.cnjrly-tec-community-route .tribe-section-datetime .recurrence-custom-container,
body.cnjrly-tec-community-route .tribe-section-datetime .recurrence-time,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-recurrence-type,
body.cnjrly-tec-community-route .tribe-section-datetime .recurrence-end-range {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 0.4rem 0.5rem !important;
	margin: 0.1rem 0 0.55rem !important;
}

.tribe_community_edit .tribe-section-datetime #tribe-add-recurrence,
.tribe_community_edit .tribe-section-datetime #tribe-add-exclusion,
.tribe_community_list .tribe-section-datetime #tribe-add-recurrence,
.tribe_community_list .tribe-section-datetime #tribe-add-exclusion,
body.cnjrly-tec-community-route .tribe-section-datetime #tribe-add-recurrence,
body.cnjrly-tec-community-route .tribe-section-datetime #tribe-add-exclusion {
	margin-top: 0.2rem !important;
}

@media (max-width: 767px) {
	.tribe_community_edit .tribe-section-datetime .recurrence-container,
	.tribe_community_edit .tribe-section-datetime .tribe-event-recurrence,
	.tribe_community_edit .tribe-section-datetime .tribe-event-exclusion,
	.tribe_community_list .tribe-section-datetime .recurrence-container,
	.tribe_community_list .tribe-section-datetime .tribe-event-recurrence,
	.tribe_community_list .tribe-section-datetime .tribe-event-exclusion,
	body.cnjrly-tec-community-route .tribe-section-datetime .recurrence-container,
	body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-recurrence,
	body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-exclusion {
		max-width: 100% !important;
	}

	.tribe_community_edit .tribe-section-datetime #tribe-add-recurrence,
	.tribe_community_edit .tribe-section-datetime #tribe-add-exclusion,
	.tribe_community_list .tribe-section-datetime #tribe-add-recurrence,
	.tribe_community_list .tribe-section-datetime #tribe-add-exclusion,
	body.cnjrly-tec-community-route .tribe-section-datetime #tribe-add-recurrence,
	body.cnjrly-tec-community-route .tribe-section-datetime #tribe-add-exclusion {
		width: auto !important;
		max-width: 100% !important;
	}
}


/* =========================================================
   0.3.150 - TEC hardcoded blue color leak cleanup
   Scope: TEC Community recurrence/exclusion controls and Select2 dropdowns.
   Purpose: replace TEC's hardcoded blue active/highlight states with Conjurly
   tokens while avoiding structural TinyMCE or recurrence behavior changes.
   ========================================================= */

/* Recurrence weekday button active states: TEC hardcodes blue values here. */
.tribe_community_edit .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active,
.tribe_community_edit .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active,
.tribe_community_list .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active,
.tribe_community_list .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active {
	background-color: var(--cj-indigo, #4c187e) !important;
	border-color: var(--cj-indigo, #4c187e) !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

.tribe_community_edit .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active:hover,
.tribe_community_edit .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active:hover,
.tribe_community_edit .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active:focus,
.tribe_community_edit .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active:focus,
.tribe_community_list .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active:hover,
.tribe_community_list .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active:hover,
.tribe_community_list .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active:focus,
.tribe_community_list .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active:focus,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active:hover,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active:hover,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active:focus,
body.cnjrly-tec-community-route .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-exclusion .custom-recurrence-weeks .tribe-button-field.tribe-active:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-datetime .tribe-event-recurrence .custom-recurrence-weeks .tribe-button-field.tribe-active:focus {
	background-color: var(--cj-indigo-hover, #6f4697) !important;
	border-color: var(--cj-indigo-hover, #6f4697) !important;
	color: #ffffff !important;
}

/* Select2 dropdowns are appended near body, so scope through the route body
   class rather than the form wrapper. This replaces Select2's hardcoded
   #5897fb highlight with Conjurly tokens. */
body.cnjrly-tec-community-route .select2-container--default .select2-results__option--highlighted[aria-selected],
body.cnjrly-tec-community-route .select2-container--default .select2-results__option--highlighted[data-selected],
body.cnjrly-tec-community-route .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
	background-color: var(--cj-indigo, #4c187e) !important;
	color: #ffffff !important;
}

body.cnjrly-tec-community-route .select2-container--default .select2-results__option[aria-selected="true"],
body.cnjrly-tec-community-route .select2-container--default .select2-results__option[data-selected="true"] {
	background-color: rgba(76, 24, 126, 0.08) !important;
	color: var(--cj-indigo, #4c187e) !important;
}

body.cnjrly-tec-community-route .select2-container--default .select2-results__option[aria-selected="true"].select2-results__option--highlighted,
body.cnjrly-tec-community-route .select2-container--default .select2-results__option[data-selected="true"].select2-results__option--highlighted {
	background-color: var(--cj-indigo-hover, #6f4697) !important;
	color: #ffffff !important;
}

body.cnjrly-tec-community-route .select2-container--default .select2-search--dropdown .select2-search__field:focus {
	border-color: var(--cj-indigo, #4c187e) !important;
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
	outline: none !important;
}

/* =========================================================
   0.3.151 - TEC Community remaining blue state cleanup
   Scope: Community Events route only.
   Purpose: replace TEC/Select2/jQuery UI hardcoded blue active, selected,
   highlighted, and focused states with Conjurly token-based colors.
   No structural, TinyMCE, recurrence logic, or layout changes.
   ========================================================= */

/* Recurrence weekday controls: cover direct button, label, and active descendants. */
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field.tribe-active,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field.tribe-active *,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-active .tribe-button-field,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-active .tribe-button-field *,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks input:checked + .tribe-button-field,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks input:checked + label,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks label.tribe-active {
	background: var(--cj-indigo, #4c187e) !important;
	background-color: var(--cj-indigo, #4c187e) !important;
	border-color: var(--cj-indigo, #4c187e) !important;
	color: #ffffff !important;
	box-shadow: none !important;
}

body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field:hover,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field:focus,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks label:hover,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks label:focus {
	border-color: var(--cj-indigo-hover, #6f4697) !important;
	color: var(--cj-indigo-hover, #6f4697) !important;
}

body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field.tribe-active:hover,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field.tribe-active:focus,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks label.tribe-active:hover,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks label.tribe-active:focus {
	background: var(--cj-indigo-hover, #6f4697) !important;
	background-color: var(--cj-indigo-hover, #6f4697) !important;
	border-color: var(--cj-indigo-hover, #6f4697) !important;
	color: #ffffff !important;
}

/* Select2 result highlighting: dropdown markup is appended outside the form. */
body.cnjrly-tec-community-route .select2-container--default .select2-results__option--highlighted,
body.cnjrly-tec-community-route .select2-container--default .select2-results__option--highlighted[aria-selected],
body.cnjrly-tec-community-route .select2-container--default .select2-results__option--highlighted[data-selected],
body.cnjrly-tec-community-route .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable,
body.cnjrly-tec-community-route .select2-results__option--highlighted,
body.cnjrly-tec-community-route .select2-results__option--highlighted[aria-selected] {
	background: var(--cj-indigo, #4c187e) !important;
	background-color: var(--cj-indigo, #4c187e) !important;
	color: #ffffff !important;
}

body.cnjrly-tec-community-route .select2-container--default .select2-selection--single:focus,
body.cnjrly-tec-community-route .select2-container--default.select2-container--focus .select2-selection--single,
body.cnjrly-tec-community-route .select2-container--default.select2-container--open .select2-selection--single,
body.cnjrly-tec-community-route .select2-container--default.select2-container--focus .select2-selection--multiple,
body.cnjrly-tec-community-route .select2-container--default.select2-container--open .select2-selection--multiple {
	border-color: var(--cj-indigo, #4c187e) !important;
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
	outline: none !important;
}

/* Datepicker/calendar selected/current/hover states. Covers the TEC/jQuery UI
   picker and the Bootstrap-style datepicker variants TEC can load. */
body.cnjrly-tec-community-route .ui-datepicker .ui-state-active,
body.cnjrly-tec-community-route .ui-datepicker .ui-widget-content .ui-state-active,
body.cnjrly-tec-community-route .ui-datepicker .ui-widget-header .ui-state-active,
body.cnjrly-tec-community-route .ui-datepicker td a.ui-state-active,
body.cnjrly-tec-community-route .ui-datepicker td span.ui-state-active,
body.cnjrly-tec-community-route .datepicker table tr td.active,
body.cnjrly-tec-community-route .datepicker table tr td.active:hover,
body.cnjrly-tec-community-route .datepicker table tr td.active.active,
body.cnjrly-tec-community-route .datepicker table tr td.selected,
body.cnjrly-tec-community-route .datepicker table tr td.selected:hover,
body.cnjrly-tec-community-route .datepicker table tr td span.active,
body.cnjrly-tec-community-route .datepicker table tr td span.active:hover,
body.cnjrly-tec-community-route .datepicker table tr td span.active.active {
	background: var(--cj-indigo, #4c187e) !important;
	background-color: var(--cj-indigo, #4c187e) !important;
	background-image: none !important;
	border-color: var(--cj-indigo, #4c187e) !important;
	color: #ffffff !important;
	text-shadow: none !important;
}

body.cnjrly-tec-community-route .ui-datepicker .ui-state-hover,
body.cnjrly-tec-community-route .ui-datepicker .ui-widget-content .ui-state-hover,
body.cnjrly-tec-community-route .ui-datepicker .ui-widget-header .ui-state-hover,
body.cnjrly-tec-community-route .datepicker table tr td.day:hover,
body.cnjrly-tec-community-route .datepicker table tr td span:hover,
body.cnjrly-tec-community-route .datepicker .datepicker-switch:hover,
body.cnjrly-tec-community-route .datepicker .prev:hover,
body.cnjrly-tec-community-route .datepicker .next:hover {
	background: rgba(76, 24, 126, 0.08) !important;
	background-color: rgba(76, 24, 126, 0.08) !important;
	border-color: rgba(76, 24, 126, 0.22) !important;
	color: var(--cj-indigo, #4c187e) !important;
}

body.cnjrly-tec-community-route .ui-datepicker .ui-state-highlight,
body.cnjrly-tec-community-route .datepicker table tr td.today,
body.cnjrly-tec-community-route .datepicker table tr td.today:hover {
	background: rgba(217, 125, 55, 0.12) !important;
	background-color: rgba(217, 125, 55, 0.12) !important;
	background-image: none !important;
	border-color: var(--cj-ember, #d97d37) !important;
	color: var(--cj-indigo, #4c187e) !important;
}

/* =========================================================
   0.3.152 - TEC Community lingering blue focus/control cleanup
   Scope: Community Events route only.
   Purpose: replace remaining browser/TEC/add-on blue states in datepickers,
   recurrence widgets, Select2 controls, and Virtual Events controls with
   Conjurly token-based states. No layout, TinyMCE, or recurrence logic changes.
   ========================================================= */

/* Native checkbox/radio blue states, including Virtual Events add-on controls. */
body.cnjrly-tec-community-route .tribe-community-events input[type="checkbox"],
body.cnjrly-tec-community-route .tribe-community-events input[type="radio"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events input[type="checkbox"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events input[type="radio"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-dependent input[type="checkbox"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-dependent input[type="radio"] {
	accent-color: var(--cj-indigo, #4c187e) !important;
}

body.cnjrly-tec-community-route .tribe-community-events input[type="checkbox"]:focus,
body.cnjrly-tec-community-route .tribe-community-events input[type="radio"]:focus,
body.cnjrly-tec-community-route .tribe-community-events input[type="checkbox"]:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events input[type="radio"]:focus-visible {
	outline: none !important;
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
}

/* Virtual Events module buttons/toggles that leak add-on blue defaults. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events button:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events .button:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events .tribe-button:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events button:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events .button:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events .tribe-button:focus-visible {
	border-color: var(--cj-indigo, #4c187e) !important;
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
	outline: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events .tribe-active,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events .active,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events [aria-pressed="true"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events [aria-selected="true"] {
	border-color: var(--cj-indigo, #4c187e) !important;
	color: var(--cj-indigo, #4c187e) !important;
}

/* Select2: catch alternate containers and inline/open focus states that can keep a blue border. */
body.cnjrly-tec-community-route .select2-container--default .select2-selection--single:focus,
body.cnjrly-tec-community-route .select2-container--default .select2-selection--multiple:focus,
body.cnjrly-tec-community-route .select2-container--default.select2-container--focus .select2-selection,
body.cnjrly-tec-community-route .select2-container--default.select2-container--open .select2-selection,
body.cnjrly-tec-community-route .select2-container.select2-container--focus .select2-selection,
body.cnjrly-tec-community-route .select2-container.select2-container--open .select2-selection,
body.cnjrly-tec-community-route .select2-container .select2-selection:focus,
body.cnjrly-tec-community-route .select2-container .select2-selection:focus-visible {
	border-color: var(--cj-indigo, #4c187e) !important;
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
	outline: none !important;
}

body.cnjrly-tec-community-route .select2-container--default .select2-results__option--highlighted,
body.cnjrly-tec-community-route .select2-container--default .select2-results__option--highlighted[aria-selected="true"],
body.cnjrly-tec-community-route .select2-container--default .select2-results__option--highlighted[aria-selected="false"],
body.cnjrly-tec-community-route .select2-results__option--highlighted,
body.cnjrly-tec-community-route .select2-results__option--highlighted[aria-selected="true"],
body.cnjrly-tec-community-route .select2-results__option--highlighted[aria-selected="false"] {
	background: var(--cj-indigo, #4c187e) !important;
	background-color: var(--cj-indigo, #4c187e) !important;
	color: #ffffff !important;
}

/* Datepickers: selected cells can retain a blue outline/box-shadow even after background is corrected. */
body.cnjrly-tec-community-route .ui-datepicker .ui-state-active,
body.cnjrly-tec-community-route .ui-datepicker .ui-state-focus,
body.cnjrly-tec-community-route .ui-datepicker td a:focus,
body.cnjrly-tec-community-route .ui-datepicker td a:focus-visible,
body.cnjrly-tec-community-route .datepicker table tr td.active,
body.cnjrly-tec-community-route .datepicker table tr td.active:hover,
body.cnjrly-tec-community-route .datepicker table tr td.active:focus,
body.cnjrly-tec-community-route .datepicker table tr td.selected,
body.cnjrly-tec-community-route .datepicker table tr td.selected:hover,
body.cnjrly-tec-community-route .datepicker table tr td.selected:focus,
body.cnjrly-tec-community-route .datepicker table tr td.focused,
body.cnjrly-tec-community-route .datepicker table tr td.day:focus,
body.cnjrly-tec-community-route .datepicker table tr td.day:focus-visible,
body.cnjrly-tec-community-route .datepicker table tr td span.active,
body.cnjrly-tec-community-route .datepicker table tr td span.active:hover,
body.cnjrly-tec-community-route .datepicker table tr td span.focused {
	background: var(--cj-indigo, #4c187e) !important;
	background-color: var(--cj-indigo, #4c187e) !important;
	background-image: none !important;
	border-color: var(--cj-indigo, #4c187e) !important;
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
	color: #ffffff !important;
	outline-color: var(--cj-indigo, #4c187e) !important;
	text-shadow: none !important;
}

/* Flatpickr-style classes sometimes appear in TEC date inputs/add-ons. */
body.cnjrly-tec-community-route .flatpickr-day.selected,
body.cnjrly-tec-community-route .flatpickr-day.selected:hover,
body.cnjrly-tec-community-route .flatpickr-day.startRange,
body.cnjrly-tec-community-route .flatpickr-day.endRange,
body.cnjrly-tec-community-route .flatpickr-day.startRange:hover,
body.cnjrly-tec-community-route .flatpickr-day.endRange:hover {
	background: var(--cj-indigo, #4c187e) !important;
	border-color: var(--cj-indigo, #4c187e) !important;
	box-shadow: none !important;
	color: #ffffff !important;
}

body.cnjrly-tec-community-route .flatpickr-day.today,
body.cnjrly-tec-community-route .flatpickr-day.today:hover,
body.cnjrly-tec-community-route .flatpickr-day:hover,
body.cnjrly-tec-community-route .flatpickr-day:focus {
	border-color: rgba(76, 24, 126, 0.35) !important;
	color: var(--cj-indigo, #4c187e) !important;
}

/* Recurrence weekday labels: override inline/add-on active blues and remove blue focus outlines. */
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks input:checked ~ label,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks input:checked + span,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks input:checked ~ span,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field.is-active,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field.selected,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field[aria-pressed="true"],
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field[aria-selected="true"] {
	background: var(--cj-indigo, #4c187e) !important;
	background-color: var(--cj-indigo, #4c187e) !important;
	border-color: var(--cj-indigo, #4c187e) !important;
	color: #ffffff !important;
}

body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks input:focus + label,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks input:focus-visible + label,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field:focus,
body.cnjrly-tec-community-route .tribe-section-datetime .custom-recurrence-weeks .tribe-button-field:focus-visible {
	border-color: var(--cj-indigo, #4c187e) !important;
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
	outline: none !important;
}


/* =========================================================
   0.3.153 - Virtual Events toggle/trash cleanup
   Scope: TEC Community Virtual Events module only.
   Purpose: restore Virtual Events icon controls after global button
   normalization, hide the redundant Configure button when the virtual
   settings panel is already open, and keep Virtual Events active/focus
   states on Conjurly tokens. No template, JavaScript, TinyMCE, or
   submission-logic changes.
   ========================================================= */

/* The actual Community Events wrapper is .tribe-section-virtual. Earlier
   cleanup also targeted a guessed .tribe-section-virtual-events class; keep
   both scopes so installs remain protected, but make the verified selector win. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual input[type="checkbox"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual input[type="radio"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events input[type="checkbox"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual-events input[type="radio"] {
	accent-color: var(--cj-indigo, #4c187e) !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual input[type="checkbox"]:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual input[type="radio"]:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual input[type="checkbox"]:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual input[type="radio"]:focus-visible {
	outline: none !important;
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
}

/* When the Virtual Event checkbox is checked, the detailed panel is open.
   The Configure button is only useful in the closed state; once open it becomes
   a duplicate/non-obvious toggle and visually conflicts with the form. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual:has(#tribe-events-virtual-setup:checked) .tribe-configure-virtual-button__container,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual:has(input[name="tribe-events-virtual[virtual]"]:checked) .tribe-configure-virtual-button__container {
	display: none !important;
}

/* Keep the closed-state Configure button as a normal primary action. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-configure-virtual-button.button {
	width: auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: auto !important;
	min-height: var(--cj-btn-height-md, 42px) !important;
	padding: var(--cj-btn-pad-y-md, 0.64rem) var(--cj-btn-pad-x-md, 1.1rem) !important;
	border: 1px solid var(--cj-indigo, #4c187e) !important;
	border-radius: var(--cj-radius-btn, 10px) !important;
	background: var(--cj-indigo, #4c187e) !important;
	color: #ffffff !important;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
	font-size: var(--cj-btn-font-size-md, 0.95rem) !important;
	font-weight: var(--cj-btn-font-weight, 500) !important;
	line-height: 1.2 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-align: center !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-configure-virtual-button.button:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-configure-virtual-button.button:focus {
	border-color: var(--cj-indigo-hover, #6f4697) !important;
	background: var(--cj-indigo-hover, #6f4697) !important;
	color: #ffffff !important;
	box-shadow: none !important;
	outline: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-configure-virtual-button.button:focus-visible {
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
}

/* The remove-virtual control is intentionally an icon-only dashicon button.
   Do not let the global Community button standard turn it into a purple pill. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual button.tribe-remove-virtual-event,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-remove-virtual-event.dashicons,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .dashicons.tribe-remove-virtual-event {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2rem !important;
	height: 2rem !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: var(--cj-indigo, #4c187e) !important;
	font-family: dashicons !important;
	font-size: 1.35rem !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: normal !important;
	text-indent: 0 !important;
	text-transform: none !important;
	vertical-align: middle !important;
	overflow: visible !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual button.tribe-remove-virtual-event::before,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-remove-virtual-event.dashicons::before,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .dashicons.tribe-remove-virtual-event::before {
	content: "\f182" !important;
	font-family: dashicons !important;
	font-size: 1.35rem !important;
	line-height: 1 !important;
	color: currentColor !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual button.tribe-remove-virtual-event:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual button.tribe-remove-virtual-event:focus {
	background: rgba(76, 24, 126, 0.06) !important;
	background-color: rgba(76, 24, 126, 0.06) !important;
	color: var(--cj-indigo-hover, #6f4697) !important;
	box-shadow: none !important;
	outline: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual button.tribe-remove-virtual-event:focus-visible {
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
}

/* Virtual Events add-on active labels and selected rows should never leak the
   WordPress/TEC blue state. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-active,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .active,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual [aria-pressed="true"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual [aria-selected="true"] {
	border-color: var(--cj-indigo, #4c187e) !important;
	color: var(--cj-indigo, #4c187e) !important;
}

/* =========================================================
   0.3.154 - TEC Form Label + Select2 Patch
   Venue / Organizer labels + Select2 clear spacing
   Scope: TEC Community Events routes only.
   ========================================================= */

/* Select2 clear icon spacing */
body.cnjrly-tec-community-route .select2-container--default .select2-selection--single .select2-selection__clear {
	margin-left: 4px;
}

/* Normalize Venue / Organizer labels */
body.cnjrly-tec-community-route .tribe-section.tribe-section-venue label,
body.cnjrly-tec-community-route .tribe-section.tribe-section-organizer label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-dependent-fields label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-events-community-details label {
	font-family: var(--cj-font-sans);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	color: #1f1f1f;
	letter-spacing: -0.01em;
}

/* =========================================================
   0.3.155 - Taxonomy Select2 + Virtual Events Strategy Pass
   Scope: TEC Community Events form only.
   Purpose: make Event Categories/Event Subjects look like normal input
   controls, restore Virtual Event remove control to icon-only behavior,
   and separate row labels from option labels in the Virtual Event panel.
   No template, JavaScript, recurrence, TinyMCE, or submission-logic changes.
   ========================================================= */

/* Event Categories / Event Subjects use Select2 multiple fields. The prior
   broad field styling made the empty Select2 area read like a large blank box.
   Normalize those controls back to the same input height/rhythm as the rest of
   the form while keeping multi-select wrapping available after choices exist. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-taxonomy .select2-container,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-categories .select2-container,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-tags .select2-container {
	width: 100% !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-taxonomy .select2-container--default .select2-selection--multiple,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-categories .select2-container--default .select2-selection--multiple,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-tags .select2-container--default .select2-selection--multiple {
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	min-height: var(--cj-tec-control-height, 44px) !important;
	padding: 0.35rem 0.55rem !important;
	border: 1px solid var(--cj-tec-control-border, var(--cj-border-light, #e6e7eb)) !important;
	border-radius: var(--cj-radius-input, 10px) !important;
	background: #fff !important;
	box-shadow: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-taxonomy .select2-container--default.select2-container--focus .select2-selection--multiple,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-taxonomy .select2-container--default.select2-container--open .select2-selection--multiple,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-categories .select2-container--default.select2-container--focus .select2-selection--multiple,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-categories .select2-container--default.select2-container--open .select2-selection--multiple,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-tags .select2-container--default.select2-container--focus .select2-selection--multiple,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-tags .select2-container--default.select2-container--open .select2-selection--multiple {
	border-color: var(--cj-tec-control-focus, var(--cj-link, #4c187e)) !important;
	box-shadow: var(--cj-tec-control-focus-ring, 0 0 0 3px rgba(76, 24, 126, 0.14)) !important;
	outline: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-taxonomy .select2-container--default .select2-selection--multiple .select2-selection__rendered,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-categories .select2-container--default .select2-selection--multiple .select2-selection__rendered,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-tags .select2-container--default .select2-selection--multiple .select2-selection__rendered {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 0.3rem !important;
	width: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-taxonomy .select2-container--default .select2-search--inline,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-categories .select2-container--default .select2-search--inline,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-tags .select2-container--default .select2-search--inline {
	flex: 1 1 14rem !important;
	margin: 0 !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-taxonomy .select2-container--default .select2-search--inline .select2-search__field,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-categories .select2-container--default .select2-search--inline .select2-search__field,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-tags .select2-container--default .select2-search--inline .select2-search__field {
	width: 100% !important;
	height: auto !important;
	min-height: 1.65rem !important;
	margin: 0 !important;
	padding: 0.1rem 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
	font-size: 0.95rem !important;
	line-height: 1.35 !important;
	color: var(--bb-body-text-color, #262626) !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-taxonomy .select2-container--default .select2-selection__choice,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-categories .select2-container--default .select2-selection__choice,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-tags .select2-container--default .select2-selection__choice {
	margin: 0 !important;
	padding: 0.18rem 0.45rem !important;
	border: 1px solid rgba(76, 24, 126, 0.18) !important;
	border-radius: 999px !important;
	background: rgba(76, 24, 126, 0.06) !important;
	color: var(--cj-indigo, #4c187e) !important;
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
	font-size: 0.84rem !important;
	line-height: 1.25 !important;
}

/* Virtual Event delete/remove must match the compact icon-only recurrence trash,
   not the primary purple pill button. Catch button and link variants emitted by
   the Virtual Events add-on. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).tribe-remove-virtual-event,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).tribe-delete-this,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).dashicons-trash {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2rem !important;
	height: 2rem !important;
	min-width: 0 !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: var(--cj-indigo, #4c187e) !important;
	font-family: dashicons !important;
	font-size: 1.35rem !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	letter-spacing: normal !important;
	text-indent: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	overflow: visible !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).tribe-remove-virtual-event::before,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).tribe-delete-this::before,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).dashicons-trash::before {
	content: "\f182" !important;
	font-family: dashicons !important;
	font-size: 1.35rem !important;
	line-height: 1 !important;
	color: currentColor !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).tribe-remove-virtual-event:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).tribe-remove-virtual-event:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).tribe-delete-this:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).tribe-delete-this:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).dashicons-trash:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).dashicons-trash:focus {
	background: rgba(76, 24, 126, 0.06) !important;
	background-color: rgba(76, 24, 126, 0.06) !important;
	color: var(--cj-indigo-hover, #6f4697) !important;
	box-shadow: none !important;
	outline: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).tribe-remove-virtual-event:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).tribe-delete-this:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a, span).dashicons-trash:focus-visible {
	box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
}

/* Virtual Events contains two label levels: row labels on the left and option /
   field labels in the right column. Make the row labels neutral/secondary and
   keep the actual selectable option labels readable as body text. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-section-content-label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-section-content-label label {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
	font-size: 0.92rem !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	color: var(--bb-body-text-color, #262626) !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-section-content-field label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-section-content-field .tribe-events-virtual-link-control__label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-meetings-api__label {
	font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	color: var(--bb-body-text-color, #262626) !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-section-content-field :is(input[type="checkbox"], input[type="radio"]) + label,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual label:has(:is(input[type="checkbox"], input[type="radio"])) {
	font-size: 0.95rem !important;
	font-weight: 400 !important;
	color: var(--bb-body-text-color, #262626) !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-section-content-field :is(input[type="checkbox"], input[type="radio"]) {
	margin-right: 0.35rem !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-link-control,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-meetings-api {
	border-color: var(--cj-border-light, #e6e7eb) !important;
	border-radius: var(--cj-radius-input, 10px) !important;
}


/* =========================================================
   0.3.156 - Virtual Event Action Controls Normalization
   Scope: TEC Community Virtual Event module only.
   Purpose: make the Virtual Event delete/trash control match the
   recurrence utility trash and make the Find action use the standard
   Conjurly button rhythm instead of the oversized add-on default.
   No template, JavaScript, recurrence, TinyMCE, or submission-logic changes.
   ========================================================= */

/* Virtual Event trash/delete is a utility icon, not a primary CTA. The add-on
   can render this as a button with different class combinations depending on
   state/version, so catch the known class variants and the verified icon-child
   pattern from the current UI. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="remove"][class*="virtual"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="delete"][class*="virtual"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="trash"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a):has(.dashicons-trash),
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a):has(.dashicons-trash)::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2rem !important;
    height: 2rem !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 2rem !important;
    max-height: 2rem !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: var(--cj-indigo, #4c187e) !important;
    font-size: 1.35rem !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    letter-spacing: normal !important;
    text-indent: 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    overflow: visible !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="remove"][class*="virtual"] .dashicons,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="delete"][class*="virtual"] .dashicons,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="trash"] .dashicons,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a):has(.dashicons-trash) .dashicons {
    display: inline-block !important;
    width: 1.35rem !important;
    height: 1.35rem !important;
    color: currentColor !important;
    font-family: dashicons !important;
    font-size: 1.35rem !important;
    line-height: 1 !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="remove"][class*="virtual"]:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="remove"][class*="virtual"]:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="delete"][class*="virtual"]:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="delete"][class*="virtual"]:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="trash"]:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="trash"]:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a):has(.dashicons-trash):hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a):has(.dashicons-trash):focus {
    background: rgba(76, 24, 126, 0.06) !important;
    background-color: rgba(76, 24, 126, 0.06) !important;
    color: var(--cj-indigo-hover, #6f4697) !important;
    box-shadow: none !important;
    outline: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="remove"][class*="virtual"]:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="delete"][class*="virtual"]:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a)[class*="trash"]:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, a):has(.dashicons-trash):focus-visible {
    box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
}

/* Standardize the Virtual Events URL lookup action. This is the primary action
   inside the small URL panel, but it should still follow Conjurly's normal form
   button height, radius, weight, and hover system. */
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, input[type="button"], input[type="submit"], a.button)[class*="find"],
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-link-control :is(button, input[type="button"], input[type="submit"], a.button),
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-meetings-api :is(button, input[type="button"], input[type="submit"], a.button) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: var(--cj-btn-height-md, 42px) !important;
    padding: var(--cj-btn-pad-y-md, 0.64rem) var(--cj-btn-pad-x-md, 1.1rem) !important;
    border: 1px solid var(--cj-indigo, #4c187e) !important;
    border-radius: var(--cj-radius-btn, 10px) !important;
    background: var(--cj-indigo, #4c187e) !important;
    box-shadow: none !important;
    color: var(--cj-text-on-accent, #ffffff) !important;
    font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
    font-size: var(--cj-btn-font-size-md, 0.95rem) !important;
    font-weight: var(--cj-btn-font-weight, 500) !important;
    line-height: 1.2 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, input[type="button"], input[type="submit"], a.button)[class*="find"]:hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, input[type="button"], input[type="submit"], a.button)[class*="find"]:focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-link-control :is(button, input[type="button"], input[type="submit"], a.button):hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-link-control :is(button, input[type="button"], input[type="submit"], a.button):focus,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-meetings-api :is(button, input[type="button"], input[type="submit"], a.button):hover,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-meetings-api :is(button, input[type="button"], input[type="submit"], a.button):focus {
    border-color: var(--cj-indigo-hover, #6f4697) !important;
    background: var(--cj-indigo-hover, #6f4697) !important;
    color: var(--cj-text-on-accent, #ffffff) !important;
    box-shadow: none !important;
    outline: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual :is(button, input[type="button"], input[type="submit"], a.button)[class*="find"]:focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-link-control :is(button, input[type="button"], input[type="submit"], a.button):focus-visible,
body.cnjrly-tec-community-route .tribe-community-events .tribe-section-virtual .tribe-events-virtual-meetings-api :is(button, input[type="button"], input[type="submit"], a.button):focus-visible {
    box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
}

/* =========================================================
   0.3.157/0.3.158 - TEC Community editor QuickTags normalization
   Purpose: keep the front-end event description editor compact.
   This deliberately treats QuickTags/Code controls as utility toolbar
   controls, not Conjurly primary CTA buttons. CSS only.
   ========================================================= */

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .quicktags-toolbar {
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 6px !important;
    background: var(--cj-surface-subtle, #f7f7f8) !important;
    border: 1px solid var(--cj-border-light, #e6e7eb) !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* QuickTags belong to Code mode only. Do not stack them above TinyMCE in Visual mode. */
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap.tmce-active .quicktags-toolbar {
    display: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap.html-active .quicktags-toolbar {
    display: flex !important;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .quicktags-toolbar input.ed_button,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .quicktags-toolbar input[type="button"].ed_button {
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 8px !important;
    border: 1px solid var(--cj-border-light, #e6e7eb) !important;
    border-radius: 7px !important;
    background: var(--cj-surface-primary, #fff) !important;
    box-shadow: none !important;
    color: var(--cj-indigo, #4c187e) !important;
    font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .quicktags-toolbar input.ed_button:hover,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .quicktags-toolbar input.ed_button:focus {
    border-color: var(--cj-indigo, #4c187e) !important;
    background: var(--cj-surface-subtle, #f7f7f8) !important;
    color: var(--cj-indigo-hover, #6f4697) !important;
    box-shadow: none !important;
    outline: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .quicktags-toolbar input.ed_button:focus-visible {
    box-shadow: var(--cj-focus-ring-shadow, 0 0 0 0.2rem rgba(76, 24, 126, 0.22)) !important;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .wp-switch-editor {
    min-height: 30px !important;
    height: auto !important;
    padding: 0 10px !important;
    border-color: var(--cj-border-light, #e6e7eb) !important;
    border-radius: 8px 8px 0 0 !important;
    background: var(--cj-surface-primary, #fff) !important;
    color: var(--cj-indigo, #4c187e) !important;
    font-family: var(--cj-font-sans, "IBM Plex Sans", sans-serif) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    text-transform: none !important;
    box-shadow: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap.tmce-active .wp-switch-editor.switch-tmce,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap.html-active .wp-switch-editor.switch-html {
    background: var(--cj-surface-subtle, #f7f7f8) !important;
    border-color: var(--cj-border-light, #e6e7eb) !important;
    border-bottom-color: var(--cj-surface-subtle, #f7f7f8) !important;
    color: var(--cj-indigo, #4c187e) !important;
    font-weight: 600 !important;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap.tmce-active .wp-switch-editor.switch-html,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap.html-active .wp-switch-editor.switch-tmce {
    background: var(--cj-surface-primary, #fff) !important;
    color: var(--bb-body-text-color, #444) !important;
    opacity: 0.78 !important;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .wp-switch-editor:hover,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .wp-switch-editor:focus {
    border-color: var(--cj-indigo, #4c187e) !important;
    color: var(--cj-indigo-hover, #6f4697) !important;
    box-shadow: none !important;
    outline: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap textarea.wp-editor-area {
    border-color: var(--cj-border-light, #e6e7eb) !important;
    border-radius: 0 0 var(--cj-radius-input, 10px) var(--cj-radius-input, 10px) !important;
}

@media (max-width: 767px) {
    body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .quicktags-toolbar {
        gap: 4px !important;
        padding: 5px !important;
    }

    body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .quicktags-toolbar input.ed_button,
    body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .quicktags-toolbar input[type="button"].ed_button {
        min-height: 28px !important;
        max-height: 28px !important;
        padding: 0 6px !important;
        font-size: 0.8rem !important;
        line-height: 1.05 !important;
        border-radius: 7px !important;
    }

    body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .wp-switch-editor {
        min-height: 28px !important;
        padding: 0 8px !important;
        font-size: 0.84rem !important;
        line-height: 1.05 !important;
    }
}


/* =========================================================
   0.3.159 - TEC Community editor TinyMCE visual toolbar refinement
   Purpose: keep Visual-mode controls compact, remove always-on
   outline noise, and replace default TinyMCE blue menu states with
   Conjurly indigo treatment. CSS only.
   ========================================================= */

/* Keep the format dropdown from crowding the visual toolbar. */
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-menubtn.mce-fixed-width span {
    width: 92px !important;
}

/* Remove non-hover/non-active purple outlines from TinyMCE visual buttons. */
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn {
    border-color: transparent !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Preserve useful state only when a control is interactive/active/open. */
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn:hover,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn:focus,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn.mce-active,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn.mce-open,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn:hover,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn:focus,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn.mce-active,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn.mce-open {
    border-color: var(--cj-indigo, #4c187e) !important;
    background: var(--cj-surface-primary, #fff) !important;
    box-shadow: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn:hover button,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn:focus button,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn.mce-active button,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn.mce-open button,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn:hover button,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn:focus button,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn.mce-active button,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn.mce-open button,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn:hover .mce-ico,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn:focus .mce-ico,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn.mce-active .mce-ico,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar .mce-btn.mce-open .mce-ico,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn:hover .mce-ico,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn:focus .mce-ico,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn.mce-active .mce-ico,
body.cnjrly-tec-community-route .tribe-community-events .wp-editor-wrap .mce-toolbar-grp .mce-btn.mce-open .mce-ico {
    color: var(--cj-indigo, #4c187e) !important;
}

/* Replace TinyMCE's default blue dropdown selection/hover with Conjurly indigo. */
body.cnjrly-tec-community-route .mce-menu .mce-menu-item:hover,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item.mce-selected,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item:focus,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item-normal.mce-active,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item-preview.mce-active {
    background: var(--cj-indigo, #4c187e) !important;
    color: var(--cj-text-on-accent, #fff) !important;
}

body.cnjrly-tec-community-route .mce-menu .mce-menu-item:hover .mce-text,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item:hover .mce-ico,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item:hover .mce-menu-shortcut,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item.mce-selected .mce-text,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item.mce-selected .mce-ico,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item.mce-selected .mce-menu-shortcut,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item.mce-active .mce-text,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item.mce-active .mce-ico,
body.cnjrly-tec-community-route .mce-menu .mce-menu-item.mce-active .mce-menu-shortcut {
    color: var(--cj-text-on-accent, #fff) !important;
}

/* =========================================================
   0.3.160 - TEC Community editor Insert/Edit Link modal buttons
   Purpose: replace WordPress blue/dark modal action buttons with
   Conjurly button treatment inside the front-end TEC editor.
   ========================================================= */

body.cnjrly-tec-community-route #wp-link-wrap .submitbox #wp-link-submit,
body.cnjrly-tec-community-route #wp-link-wrap .submitbox .button-primary {
    min-height: 40px !important;
    padding: 0 22px !important;
    border: 1px solid var(--cj-indigo, #4c187e) !important;
    border-radius: var(--cj-radius-btn, 10px) !important;
    background: var(--cj-indigo, #4c187e) !important;
    color: var(--cj-text-on-accent, #fff) !important;
    font-family: var(--cj-font-sans, inherit) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    text-transform: none !important;
}

body.cnjrly-tec-community-route #wp-link-wrap .submitbox #wp-link-submit:hover,
body.cnjrly-tec-community-route #wp-link-wrap .submitbox #wp-link-submit:focus,
body.cnjrly-tec-community-route #wp-link-wrap .submitbox .button-primary:hover,
body.cnjrly-tec-community-route #wp-link-wrap .submitbox .button-primary:focus {
    border-color: var(--cj-indigo-hover, #6f4697) !important;
    background: var(--cj-indigo-hover, #6f4697) !important;
    color: var(--cj-text-on-accent, #fff) !important;
    box-shadow: 0 0 0 2px rgba(76, 24, 126, 0.18) !important;
}

body.cnjrly-tec-community-route #wp-link-wrap .submitbox #wp-link-cancel,
body.cnjrly-tec-community-route #wp-link-wrap .submitbox .button:not(.button-primary) {
    min-height: 40px !important;
    padding: 0 22px !important;
    border: 1px solid var(--cj-indigo, #4c187e) !important;
    border-radius: var(--cj-radius-btn, 10px) !important;
    background: var(--cj-surface-primary, #fff) !important;
    color: var(--cj-indigo, #4c187e) !important;
    font-family: var(--cj-font-sans, inherit) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    text-transform: none !important;
}

body.cnjrly-tec-community-route #wp-link-wrap .submitbox #wp-link-cancel:hover,
body.cnjrly-tec-community-route #wp-link-wrap .submitbox #wp-link-cancel:focus,
body.cnjrly-tec-community-route #wp-link-wrap .submitbox .button:not(.button-primary):hover,
body.cnjrly-tec-community-route #wp-link-wrap .submitbox .button:not(.button-primary):focus {
    border-color: var(--cj-indigo-hover, #6f4697) !important;
    background: var(--cj-surface-subtle, #f7f7f8) !important;
    color: var(--cj-indigo-hover, #6f4697) !important;
    box-shadow: 0 0 0 2px rgba(76, 24, 126, 0.12) !important;
}

/* =========================================================
   0.3.162 - TEC Community submitted-events list
   Purpose: bring /events/community/list/ closer to the
   Conjurly card/table system without altering TEC behavior.
   ========================================================= */

body.cnjrly-tec-community-route .tribe-community-events-content:has(.tribe-community-events-list-title) {
    max-width: 1260px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 3rem;
}

body.cnjrly-tec-community-route .tribe-community-events-list-title {
    display: inline-flex;
    align-items: center;
    margin: 0 1rem 0 0;
    color: var(--cj-indigo, #4c187e);
    font-family: var(--cj-font-sans, inherit);
    font-size: clamp(1.55rem, 2.1vw, 2rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

body.cnjrly-tec-community-route .tribe-community-events-content > .add-new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin: 0;
    padding: 0 1.1rem;
    border: 1px solid var(--cj-indigo, #4c187e) !important;
    border-radius: var(--cj-radius-btn, 10px) !important;
    background: var(--cj-indigo, #4c187e) !important;
    color: var(--cj-text-on-accent, #fff) !important;
    font-family: var(--cj-font-sans, inherit);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    box-shadow: none !important;
}

body.cnjrly-tec-community-route .tribe-community-events-content > .add-new:hover,
body.cnjrly-tec-community-route .tribe-community-events-content > .add-new:focus {
    border-color: var(--cj-indigo-hover, #6f4697) !important;
    background: var(--cj-indigo-hover, #6f4697) !important;
    color: var(--cj-text-on-accent, #fff) !important;
}

body.cnjrly-tec-community-route .tribe-event-list-search {
    float: right;
    width: min(100%, 340px);
    margin: 0 0 1.5rem;
}

body.cnjrly-tec-community-route .tribe-event-list-search form,
body.cnjrly-tec-community-route .tribe-event-list-search form > div {
    position: relative;
    margin: 0;
}

body.cnjrly-tec-community-route .tribe-event-list-search input[type="search"] {
    width: 100%;
    min-height: 44px;
    padding: 0 1rem 0 2.8rem;
    border: 1px solid var(--cj-border-light, #e6e7eb);
    border-radius: var(--cj-radius-input, 10px);
    background: var(--cj-surface-primary, #fff);
    color: var(--bb-body-text-color, #444);
    font-family: var(--cj-font-sans, inherit);
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1.2;
    box-shadow: none;
}

body.cnjrly-tec-community-route .tribe-event-list-search form > div::before {
    content: "\1F50D";
    position: absolute;
    left: 1rem;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    font-size: 1rem;
    line-height: 1;
    opacity: 0.65;
    pointer-events: none;
}

body.cnjrly-tec-community-route .tribe-event-list-search input[type="submit"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body.cnjrly-tec-community-route .tribe-nav-top {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 1.7rem 0 1rem;
    padding: 0;
}

body.cnjrly-tec-community-route .my-events-display-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

body.cnjrly-tec-community-route .my-events-display-options .tribe-button,
body.cnjrly-tec-community-route .table-menu-wrapper .table-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1.25rem;
    border-radius: var(--cj-radius-btn, 10px) !important;
    font-family: var(--cj-font-sans, inherit);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: none !important;
}

body.cnjrly-tec-community-route .my-events-display-options .tribe-button-secondary,
body.cnjrly-tec-community-route .my-events-display-options .tribe-button-tertiary,
body.cnjrly-tec-community-route .table-menu-wrapper .table-menu-btn {
    border: 1px solid var(--cj-border-light, #e6e7eb) !important;
    background: var(--cj-surface-primary, #fff) !important;
    color: var(--cj-indigo, #4c187e) !important;
}

body.cnjrly-tec-community-route .my-events-display-options .tribe-button-secondary,
body.cnjrly-tec-community-route .my-events-display-options .tribe-button-primary {
    border-color: var(--cj-indigo, #4c187e) !important;
    background: var(--cj-indigo, #4c187e) !important;
    color: var(--cj-text-on-accent, #fff) !important;
}

body.cnjrly-tec-community-route .my-events-display-options .tribe-button:hover,
body.cnjrly-tec-community-route .my-events-display-options .tribe-button:focus,
body.cnjrly-tec-community-route .table-menu-wrapper .table-menu-btn:hover,
body.cnjrly-tec-community-route .table-menu-wrapper .table-menu-btn:focus {
    border-color: var(--cj-indigo-hover, #6f4697) !important;
    color: var(--cj-indigo-hover, #6f4697) !important;
    background: var(--cj-surface-subtle, #f7f7f8) !important;
}

body.cnjrly-tec-community-route .my-events-display-options .tribe-button-secondary:hover,
body.cnjrly-tec-community-route .my-events-display-options .tribe-button-secondary:focus,
body.cnjrly-tec-community-route .my-events-display-options .tribe-button-primary:hover,
body.cnjrly-tec-community-route .my-events-display-options .tribe-button-primary:focus {
    border-color: var(--cj-indigo-hover, #6f4697) !important;
    background: var(--cj-indigo-hover, #6f4697) !important;
    color: var(--cj-text-on-accent, #fff) !important;
}

body.cnjrly-tec-community-route .table-menu-wrapper {
    position: relative;
}

body.cnjrly-tec-community-route .table-menu-wrapper .table-menu {
    min-width: 180px;
    margin-top: 0.35rem;
    padding: 0.6rem 0;
    border: 1px solid var(--cj-border-light, #e6e7eb);
    border-radius: var(--cj-radius-input, 10px);
    background: var(--cj-surface-primary, #fff);
    box-shadow: var(--cj-shadow-modal, 0 10px 30px rgba(0,0,0,0.12));
}

body.cnjrly-tec-community-route .table-menu-wrapper .table-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.cnjrly-tec-community-route .table-menu-wrapper .table-menu li {
    margin: 0;
}

body.cnjrly-tec-community-route .table-menu-wrapper .table-menu label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.35rem 0.85rem;
    color: var(--cj-indigo, #4c187e);
    font-family: var(--cj-font-sans, inherit);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.35;
    cursor: pointer;
}

body.cnjrly-tec-community-route .table-menu-wrapper .table-menu label:hover {
    background: var(--cj-surface-subtle, #f7f7f8);
}

body.cnjrly-tec-community-route .tribe-responsive-table-container {
    clear: both;
    overflow-x: auto;
    margin-top: 1rem;
    border: 1px solid var(--cj-border-light, #e6e7eb);
    border-radius: var(--cj-radius-card, 14px);
    background: var(--cj-surface-primary, #fff);
    box-shadow: var(--cj-shadow-card, 0 1px 4px rgba(0,0,0,0.04));
}

body.cnjrly-tec-community-route table.tribe-community-events-list {
    width: 100%;
    min-width: 980px;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    color: var(--bb-body-text-color, #444);
    font-family: var(--cj-font-sans, inherit);
}

body.cnjrly-tec-community-route table.tribe-community-events-list thead th {
    padding: 1rem 1.1rem;
    border: 0;
    border-bottom: 1px solid var(--cj-border-light, #e6e7eb);
    background: var(--cj-surface-subtle, #f7f7f8);
    color: var(--cj-indigo, #4c187e);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}

body.cnjrly-tec-community-route table.tribe-community-events-list tbody td {
    padding: 1.05rem 1.1rem;
    border: 0;
    border-bottom: 1px solid var(--cj-divider, rgba(0,0,0,0.05));
    background: var(--cj-surface-primary, #fff);
    color: var(--bb-body-text-color, #444);
    font-size: 0.98rem;
    line-height: 1.35;
    vertical-align: middle;
}

body.cnjrly-tec-community-route table.tribe-community-events-list tbody tr:last-child td {
    border-bottom: 0;
}

body.cnjrly-tec-community-route table.tribe-community-events-list tbody tr:hover td {
    background: var(--cj-surface-subtle, #f7f7f8);
}

body.cnjrly-tec-community-route .tribe-list-column-title .title a {
    color: var(--bb-headings-color, #111);
    font-weight: 500;
    text-decoration: none;
}

body.cnjrly-tec-community-route .tribe-list-column-title .title a:hover,
body.cnjrly-tec-community-route .tribe-list-column-title .title a:focus {
    color: var(--cj-indigo-hover, #6f4697);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

body.cnjrly-tec-community-route .tribe-list-column-title .row-actions {
    margin-top: 0.3rem;
    color: var(--bb-body-text-color, #555);
    font-size: 0.9rem;
    line-height: 1.3;
}

body.cnjrly-tec-community-route .tribe-list-column-title .row-actions a {
    color: var(--bb-body-text-color, #555);
    text-decoration: none;
}

body.cnjrly-tec-community-route .tribe-list-column-title .row-actions a:hover,
body.cnjrly-tec-community-route .tribe-list-column-title .row-actions a:focus {
    color: var(--cj-indigo-hover, #6f4697);
    text-decoration: underline;
}

body.cnjrly-tec-community-route .tribe-list-column-status .event-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
}

body.cnjrly-tec-community-route .tribe-list-column-status .event-status .hover {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

body.cnjrly-tec-community-route .tribe-list-column-status .event-status img.icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 782px) {
    body.cnjrly-tec-community-route .tribe-community-events-content:has(.tribe-community-events-list-title) {
        padding: 1.5rem 1rem 2.5rem;
    }

    body.cnjrly-tec-community-route .tribe-community-events-list-title,
    body.cnjrly-tec-community-route .tribe-community-events-content > .add-new,
    body.cnjrly-tec-community-route .tribe-event-list-search {
        float: none;
        width: 100%;
    }

    body.cnjrly-tec-community-route .tribe-community-events-content > .add-new {
        margin-top: 0.85rem;
    }

    body.cnjrly-tec-community-route .tribe-event-list-search {
        margin-top: 1rem;
    }

    body.cnjrly-tec-community-route .tribe-nav-top {
        align-items: stretch;
    }

    body.cnjrly-tec-community-route .my-events-display-options,
    body.cnjrly-tec-community-route .table-menu-wrapper,
    body.cnjrly-tec-community-route .my-events-display-options .tribe-button,
    body.cnjrly-tec-community-route .table-menu-wrapper .table-menu-btn {
        width: 100%;
    }
}

/* =========================================================
   0.3.163 - TEC Community submitted-events polish
   Purpose: headline-case buttons, Conjurly checkbox accents,
   and non-emoji search icon color control.
   ========================================================= */

body.cnjrly-tec-community-route .tribe-community-events-content > .add-new,
body.cnjrly-tec-community-route .my-events-display-options .tribe-button,
body.cnjrly-tec-community-route .table-menu-wrapper .table-menu-btn {
    letter-spacing: 0;
    text-transform: none;
}

body.cnjrly-tec-community-route .tribe-event-list-search form > div::before {
    content: "";
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid var(--cj-indigo, #4c187e);
    border-radius: 999px;
    opacity: 0.9;
}

body.cnjrly-tec-community-route .tribe-event-list-search form > div::after {
    content: "";
    position: absolute;
    left: 1.77rem;
    top: calc(50% + 0.35rem);
    z-index: 1;
    width: 0.48rem;
    height: 2px;
    background: var(--cj-indigo, #4c187e);
    border-radius: 999px;
    transform: translateY(-50%) rotate(45deg);
    opacity: 0.9;
    pointer-events: none;
}

body.cnjrly-tec-community-route .table-menu-wrapper .table-menu input[type="checkbox"],
body.cnjrly-tec-community-route .tribe-community-events-content input[type="checkbox"] {
    accent-color: var(--cj-indigo, #4c187e);
}

body.cnjrly-tec-community-route .table-menu-wrapper .table-menu label {
    color: var(--bb-body-text-color, #444);
}

body.cnjrly-tec-community-route .table-menu-wrapper .table-menu label:hover {
    color: var(--cj-indigo, #4c187e);
}


/* =========================================================
   0.3.164 - TEC Community submitted-events controls polish
   Purpose: standard row-action links, safer nav button spacing,
   title-case event filters, and display arrow breathing room.
   ========================================================= */

body.cnjrly-tec-community-route .my-events-display-options {
    gap: 0.85rem;
}

body.cnjrly-tec-community-route .my-events-display-options .tribe-button,
body.cnjrly-tec-community-route .table-menu-wrapper .table-menu-btn {
    margin: 0 !important;
    text-transform: none;
    letter-spacing: 0;
}

body.cnjrly-tec-community-route .my-events-display-options .tribe-button {
    text-transform: capitalize;
}

body.cnjrly-tec-community-route .table-menu-wrapper {
    margin-left: 0.85rem;
}

body.cnjrly-tec-community-route .table-menu-wrapper .table-menu-btn {
    gap: 0.35rem;
    padding-right: 1.35rem;
    white-space: nowrap;
}

body.cnjrly-tec-community-route .tribe-list-column-title .row-actions {
    color: var(--bb-body-text-color, #555);
}

body.cnjrly-tec-community-route .tribe-list-column-title .row-actions a {
    color: var(--cj-link, var(--cj-indigo, #4c187e));
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

body.cnjrly-tec-community-route .tribe-list-column-title .row-actions a:hover,
body.cnjrly-tec-community-route .tribe-list-column-title .row-actions a:focus {
    color: var(--cj-link-hover, var(--cj-indigo-hover, #6f4697));
    text-decoration-thickness: 1.5px;
}

@media (max-width: 782px) {
    body.cnjrly-tec-community-route .table-menu-wrapper {
        margin-left: 0;
    }
}

/* =========================================================
   0.3.165 - TEC Community submitted-events control spacing
   Purpose: prevent display-row button collision and give the
   Display Option arrow its own breathing room.
   ========================================================= */

body.cnjrly-tec-community-route .my-events-display-options {
    column-gap: 0.9rem !important;
    row-gap: 0.75rem;
}

body.cnjrly-tec-community-route .my-events-display-options .tribe-button + .tribe-button {
    margin-left: 0.9rem !important;
}

body.cnjrly-tec-community-route .tribe-button-activate,
.tribe_community_edit .tribe-button-activate,
.tribe_community_list .tribe-button-activate {
    padding-right: 1.6rem !important;
}

body.cnjrly-tec-community-route .tribe-button-activate::after,
.tribe_community_edit .tribe-button-activate:after,
.tribe_community_list .tribe-button-activate:after {
    margin-left: 0.45rem !important;
}

@media (max-width: 782px) {
    body.cnjrly-tec-community-route .my-events-display-options .tribe-button + .tribe-button {
        margin-left: 0 !important;
        margin-top: 0.65rem !important;
    }
}
