:root {
	--kol-events-blue: #4caf50;
	--kol-events-blue-dark: #2e7d32;
	--kol-events-text: #15171a;
	--kol-events-muted: #647083;
	--kol-events-border: #d8dde5;
	--kol-events-surface: #ffffff;
	--kol-events-surface-2: #f3f5f8;
	--kol-events-page: #edf0f4;
	--kol-events-danger: #b42318;
}

.kol-events-page,
.kol-event-single-page {
	background: var(--kol-events-page);
	box-sizing: border-box;
	color: var(--kol-events-text);
	font-family: inherit;
	margin: 0;
	max-width: none !important;
	min-height: 72vh;
	padding: 18px;
	width: 100%;
}

.kol-events-page {
	--kol-events-sidebar-width: 342px;
	--kol-events-content-gap: 26px;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0 18px 18px calc(var(--kol-events-sidebar-width) + var(--kol-events-content-gap));
	width: 100vw;
}

.kol-events-page *,
.kol-event-single-page *,
.kol-event-modal * {
	box-sizing: border-box;
}

.kol-events-shell {
	display: block;
	margin: 0;
	max-width: none;
	min-height: 100vh;
	width: 100%;
}

.kol-events-sidebar,
.kol-events-discovery {
	background: var(--kol-events-surface);
	border: 1px solid var(--kol-events-border);
	border-radius: 14px;
}

.kol-events-sidebar {
	align-self: start;
	background: var(--kol-events-page);
	border-bottom: 0;
	border-left: 0;
	border-radius: 0;
	border-top: 0;
	bottom: auto;
	height: calc(100vh - var(--bmm-left-sidebar-top, calc(var(--wp-admin--admin-bar--height, 0px) + 56px)) - var(--bmm-left-sidebar-bottom, 50px));
	left: 0;
	max-height: calc(100vh - var(--bmm-left-sidebar-top, calc(var(--wp-admin--admin-bar--height, 0px) + 56px)) - var(--bmm-left-sidebar-bottom, 50px));
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 18px 12px 24px;
	position: fixed !important;
	scrollbar-color: var(--kol-events-muted) var(--kol-events-page);
	scrollbar-gutter: stable;
	top: var(--bmm-left-sidebar-top, calc(var(--wp-admin--admin-bar--height, 0px) + 56px));
	width: var(--kol-events-sidebar-width);
	z-index: 40;
}

.kol-events-sidebar-sticky {
	position: static;
}

.kol-events-sidebar::-webkit-scrollbar-track,
.kol-events-sidebar::-webkit-scrollbar-corner {
	background: var(--kol-events-page);
}

.kol-events-sidebar::-webkit-scrollbar-thumb {
	background: var(--kol-events-muted);
	border: 2px solid var(--kol-events-page);
	border-radius: 999px;
}

.kol-events-sidebar h1 {
	font-size: 1.65rem;
	line-height: 1.1;
	margin: 0 8px 16px;
}

.kol-events-sidebar-search {
	align-items: center;
	background: var(--kol-events-surface-2);
	border: 1px solid transparent;
	border-radius: 999px;
	display: flex;
	gap: 9px;
	margin: 0 4px 16px;
	padding: 0 13px;
}

.kol-events-sidebar-search:focus-within {
	border-color: var(--kol-events-blue);
	box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.18);
}

.kol-events-sidebar-search i {
	color: var(--kol-events-muted);
}

.kol-events-sidebar-search input {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--kol-events-text) !important;
	font-size: 0.95rem;
	height: 42px;
	min-width: 0;
	outline: 0;
	padding: 0 !important;
	width: 100%;
}

.kol-events-side-nav {
	display: grid;
	gap: 4px;
}

.kol-events-side-nav a,
.kol-events-category-list a {
	align-items: center;
	border-radius: 9px;
	color: var(--kol-events-text);
	display: flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 12px;
	min-height: 46px;
	padding: 7px 10px;
	text-decoration: none;
}

.kol-events-side-nav a:hover,
.kol-events-side-nav a.is-active,
.kol-events-category-list a:hover,
.kol-events-category-list a.is-active {
	background: var(--kol-events-surface-2);
	color: var(--kol-events-text);
}

.kol-events-side-nav i,
.kol-event-category-icon {
	align-items: center;
	background: var(--kol-events-surface-2);
	border-radius: 50%;
	color: var(--kol-events-muted);
	display: inline-flex;
	flex: 0 0 36px;
	height: 36px;
	justify-content: center;
	width: 36px;
}

.kol-events-side-nav a.is-active i {
	background: var(--kol-events-blue);
	color: #ffffff;
}

.kol-events-create-button,
.kol-events-mobile-create,
.kol-events-apply-filter,
.kol-event-submit,
.kol-events-empty-state button {
	align-items: center;
	background: linear-gradient(#58bd5c, #43a047);
	border: 1px solid #2e7d32;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(46, 125, 50, 0.24);
	color: #ffffff !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.94rem;
	font-weight: 800;
	gap: 8px;
	justify-content: center;
	min-height: 42px;
	padding: 0 15px;
	text-decoration: none;
}

.kol-events-create-button {
	margin: 16px 4px 18px;
	width: calc(100% - 8px);
}

.kol-events-create-button:hover,
.kol-events-mobile-create:hover,
.kol-events-apply-filter:hover,
.kol-event-submit:hover,
.kol-events-empty-state button:hover {
	background: linear-gradient(#4caf50, #2e7d32);
	color: #ffffff;
	transform: translateY(-1px);
}

.kol-events-category-list {
	border-top: 1px solid var(--kol-events-border);
	padding-top: 14px;
}

.kol-events-category-list h2 {
	font-size: 1.05rem;
	margin: 0 10px 8px;
}

.kol-events-category-list a {
	font-size: 0.9rem;
	font-weight: 650;
	min-height: 42px;
}

.kol-event-category-icon {
	flex-basis: 32px;
	height: 32px;
	width: 32px;
}

.kol-events-discovery {
	min-width: 0;
	padding: 24px;
}

.kol-events-discovery-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}

.kol-events-eyebrow {
	color: var(--kol-events-blue);
	font-size: 0.72rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	margin: 0 0 3px;
	text-transform: uppercase;
}

.kol-events-discovery-head h2 {
	font-size: clamp(1.65rem, 3vw, 2.15rem);
	line-height: 1.1;
	margin: 0;
}

.kol-events-mobile-create {
	display: none;
}

.kol-events-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 14px;
}

.kol-events-filter-location,
.kol-events-filter-when {
	align-items: center;
	background: #e7eaf0;
	border: 1px solid #d7dce4;
	border-radius: 9px;
	display: inline-flex;
	gap: 8px;
	min-height: 44px;
	padding: 0 12px;
}

.kol-events-filter-location {
	min-width: 210px;
}

.kol-events-filter-location input,
.kol-events-filter-when select {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: var(--kol-events-text) !important;
	font-size: 0.93rem;
	font-weight: 700;
	height: 40px;
	outline: 0;
	padding: 0 !important;
}

.kol-events-filter-location input {
	min-width: 0;
	width: 100%;
}

.kol-events-my-location {
	background: transparent;
	border: 0;
	color: var(--kol-events-blue);
	cursor: pointer;
	font-size: 0.84rem;
	font-weight: 750;
	padding: 8px 4px;
}

.kol-events-apply-filter {
	box-shadow: none;
	min-height: 42px;
}

.kol-events-scope-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 8px 0 20px;
}

.kol-events-scope-tabs a {
	background: #e7eaf0;
	border: 1px solid transparent;
	border-radius: 999px;
	color: var(--kol-events-text);
	font-size: 0.88rem;
	font-weight: 750;
	padding: 8px 14px;
	text-decoration: none;
}

.kol-events-scope-tabs a:hover,
.kol-events-scope-tabs a.is-active {
	background: #e8f5e9;
	border-color: #a5d6a7;
	color: var(--kol-events-blue-dark);
}

.kol-events-active-filters {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: -4px 0 18px;
}

.kol-events-active-filters span {
	background: var(--kol-events-surface-2);
	border: 1px solid var(--kol-events-border);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 6px 10px;
}

.kol-events-active-filters a {
	color: var(--kol-events-blue);
	font-size: 0.8rem;
	font-weight: 750;
}

.kol-events-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.kol-event-card {
	background: var(--kol-events-surface);
	border: 1px solid var(--kol-events-border);
	border-radius: 14px;
	box-shadow: 0 2px 6px rgba(20, 30, 45, 0.06);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	transition: box-shadow 160ms ease, transform 160ms ease;
}

.kol-event-card:hover {
	box-shadow: 0 12px 24px rgba(20, 30, 45, 0.12);
	transform: translateY(-2px);
}

.kol-event-card-media {
	background-color: #dcefdc;
	background-position: center;
	background-size: cover;
	display: block;
	height: 190px;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.kol-event-card-media-fallback {
	align-items: center;
	background: linear-gradient(135deg, #e8f5e9 0%, #a5d6a7 45%, #66bb6a 100%);
	display: flex;
	justify-content: center;
}

.kol-event-card-media-fallback > span:first-child {
	color: rgba(27, 94, 32, 0.38);
	font-size: 1.6rem;
	font-weight: 900;
	text-transform: uppercase;
	transform: rotate(-7deg);
}

.kol-event-card-category {
	background: rgba(12, 22, 35, 0.82);
	border-radius: 999px;
	bottom: 10px;
	color: #ffffff !important;
	font-size: 0.72rem !important;
	font-weight: 800;
	left: 10px;
	padding: 5px 9px;
	position: absolute;
	transform: none !important;
}

.kol-event-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 14px 16px 12px;
}

.kol-event-card-date {
	color: #d0442d;
	font-size: 0.78rem;
	font-weight: 850;
	margin-bottom: 3px;
	text-transform: uppercase;
}

.kol-event-card h2 {
	font-size: 1.16rem;
	line-height: 1.25;
	margin: 0 0 6px;
}

.kol-event-card h2 a {
	color: var(--kol-events-text);
	text-decoration: none;
}

.kol-event-card-location,
.kol-event-card-organizer,
.kol-event-card-counts {
	color: var(--kol-events-muted);
	font-size: 0.84rem;
	line-height: 1.35;
	margin-top: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kol-event-card-organizer a {
	color: inherit;
	font-weight: 750;
}

.kol-event-card-counts {
	font-size: 0.78rem;
	margin-top: 8px;
}

.kol-event-card-actions {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr auto;
	padding: 0 16px 14px;
}

.kol-event-rsvp,
.kol-event-copy-link,
.kol-event-cancel {
	align-items: center;
	background: linear-gradient(#e8ebef, #dfe3e8);
	border: 1px solid;
	border-color: #f4f5f6 #bdc3cb #bdc3cb #f4f5f6;
	border-radius: 8px;
	box-shadow: 0 3px 7px rgba(0, 0, 0, 0.12);
	color: #22272e;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.87rem;
	font-weight: 800;
	gap: 7px;
	justify-content: center;
	min-height: 40px;
	padding: 0 13px;
}

.kol-event-rsvp-going {
	min-width: 76px;
}

.kol-event-rsvp.is-active {
	background: linear-gradient(#e8f5e9, #c8e6c9);
	border-color: #81c784;
	color: #1b5e20;
}

.kol-events-empty-state {
	align-items: center;
	background: var(--kol-events-surface-2);
	border: 1px dashed var(--kol-events-border);
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 320px;
	padding: 32px;
	text-align: center;
}

.kol-events-empty-state > i {
	color: var(--kol-events-muted);
	font-size: 2.6rem;
}

.kol-events-empty-state h3 {
	font-size: 1.3rem;
	margin: 14px 0 5px;
}

.kol-events-empty-state p {
	color: var(--kol-events-muted);
	margin: 0 0 18px;
}

html.kol-event-modal-open {
	overflow: hidden;
}

.kol-event-modal[hidden] {
	display: none !important;
}

.kol-event-modal {
	inset: 0;
	position: fixed;
	z-index: 100000;
}

.kol-event-modal-backdrop {
	background: rgba(12, 18, 29, 0.72);
	inset: 0;
	position: absolute;
}

.kol-event-modal-dialog {
	background: var(--kol-events-surface);
	border: 1px solid var(--kol-events-border);
	border-radius: 16px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
	left: 50%;
	max-height: calc(100vh - 32px);
	max-width: 760px;
	overflow: auto;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 32px);
}

.kol-event-modal-dialog > header {
	align-items: flex-start;
	border-bottom: 1px solid var(--kol-events-border);
	display: flex;
	justify-content: space-between;
	padding: 20px 22px 16px;
}

.kol-event-modal-dialog > header p {
	color: var(--kol-events-blue);
	font-size: 0.73rem;
	font-weight: 850;
	letter-spacing: 0.06em;
	margin: 0 0 3px;
	text-transform: uppercase;
}

.kol-event-modal-dialog > header h2 {
	font-size: 1.65rem;
	margin: 0;
}

.kol-event-modal-dialog > header button {
	background: var(--kol-events-surface-2);
	border: 0;
	border-radius: 50%;
	color: var(--kol-events-text);
	cursor: pointer;
	font-size: 1.6rem;
	height: 36px;
	line-height: 1;
	width: 36px;
}

.kol-event-create-form {
	padding: 20px 22px 22px;
}

.kol-event-form-error {
	background: #fff0ed;
	border: 1px solid #f3b8ae;
	border-radius: 8px;
	color: var(--kol-events-danger);
	font-size: 0.88rem;
	font-weight: 750;
	margin-bottom: 14px;
	padding: 10px 12px;
}

.kol-event-form-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kol-event-field {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.kol-event-field-wide {
	grid-column: 1 / -1;
}

.kol-event-field > span {
	color: var(--kol-events-text);
	font-size: 0.78rem;
	font-weight: 850;
	text-transform: uppercase;
}

.kol-event-field input,
.kol-event-field select,
.kol-event-field textarea,
.kol-event-selected-people > input {
	background: var(--kol-events-surface) !important;
	border: 1px solid var(--kol-events-border) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
	color: var(--kol-events-text) !important;
	font: inherit;
	font-size: 0.93rem;
	min-height: 42px;
	padding: 9px 11px !important;
	width: 100%;
}

.kol-event-field textarea {
	min-height: 110px;
	resize: vertical;
}

.kol-event-field input:focus,
.kol-event-field select:focus,
.kol-event-field textarea:focus {
	border-color: var(--kol-events-blue) !important;
	box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.18) !important;
	outline: 0;
}

.kol-event-field small {
	color: var(--kol-events-muted);
	font-size: 0.75rem;
}

.kol-event-selected-people[hidden] {
	display: none;
}

.kol-event-selected-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.kol-event-selected-chip {
	align-items: center;
	background: #e8f5e9;
	border: 1px solid #a5d6a7;
	border-radius: 999px;
	color: var(--kol-events-blue-dark);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 750;
	gap: 6px;
	padding: 4px 8px 4px 4px;
}

.kol-event-selected-chip img,
.kol-event-member-result img {
	border-radius: 50%;
	height: 28px;
	object-fit: cover;
	width: 28px;
}

.kol-event-selected-chip button {
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	font-size: 1rem;
	padding: 0 2px;
}

.kol-event-member-results {
	background: var(--kol-events-surface);
	border: 1px solid var(--kol-events-border);
	border-radius: 9px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	display: grid;
	max-height: 220px;
	overflow: auto;
	padding: 7px;
}

.kol-event-member-results[hidden] {
	display: none;
}

.kol-event-member-result {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 7px;
	color: var(--kol-events-text);
	cursor: pointer;
	display: flex;
	font-size: 0.88rem;
	font-weight: 700;
	gap: 9px;
	padding: 7px;
	text-align: left;
}

.kol-event-member-result:hover {
	background: var(--kol-events-surface-2);
}

.kol-event-create-form footer {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 18px;
}

.kol-event-submit.is-loading {
	cursor: wait;
	opacity: 0.7;
}

.kol-event-single-shell {
	margin: 0 auto;
	max-width: 1120px;
}

.kol-event-back {
	align-items: center;
	color: var(--kol-events-blue);
	display: inline-flex;
	font-weight: 750;
	gap: 7px;
	margin: 0 0 14px;
	text-decoration: none;
}

.kol-event-single-card {
	background: var(--kol-events-surface);
	border: 1px solid var(--kol-events-border);
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(20, 30, 45, 0.1);
	overflow: hidden;
}

.kol-event-single-hero {
	background-position: center;
	background-size: cover;
	height: min(440px, 48vw);
	min-height: 240px;
	position: relative;
}

.kol-event-single-hero.is-fallback {
	align-items: center;
	background: linear-gradient(135deg, #e8f5e9, #66bb6a);
	display: flex;
	justify-content: center;
}

.kol-event-single-hero.is-fallback > i {
	color: rgba(27, 94, 32, 0.28);
	font-size: 8rem;
}

.kol-event-single-hero > span {
	background: rgba(12, 22, 35, 0.84);
	border-radius: 999px;
	bottom: 18px;
	color: #ffffff;
	font-size: 0.78rem;
	font-weight: 850;
	left: 20px;
	padding: 7px 11px;
	position: absolute;
}

.kol-event-single-layout {
	display: grid;
	gap: 30px;
	grid-template-columns: minmax(0, 1fr) 300px;
	padding: 28px;
}

.kol-event-single-date {
	color: #d0442d;
	font-size: 0.82rem;
	font-weight: 850;
	text-transform: uppercase;
}

.kol-event-single-main h1 {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.08;
	margin: 5px 0 8px;
}

.kol-event-single-byline {
	color: var(--kol-events-muted);
	margin: 0 0 22px;
}

.kol-event-single-byline a {
	color: var(--kol-events-text);
	font-weight: 800;
}

.kol-event-single-facts {
	border-bottom: 1px solid var(--kol-events-border);
	border-top: 1px solid var(--kol-events-border);
	display: grid;
	gap: 14px;
	padding: 20px 0;
}

.kol-event-single-facts > div {
	align-items: flex-start;
	display: flex;
	gap: 13px;
}

.kol-event-single-facts i {
	align-items: center;
	background: #e8f5e9;
	border-radius: 50%;
	color: var(--kol-events-blue);
	display: inline-flex;
	flex: 0 0 38px;
	height: 38px;
	justify-content: center;
}

.kol-event-single-facts span {
	color: var(--kol-events-muted);
	display: grid;
	font-size: 0.9rem;
}

.kol-event-single-facts strong {
	color: var(--kol-events-text);
	font-size: 0.8rem;
	text-transform: uppercase;
}

.kol-event-single-facts small {
	font-size: 0.78rem;
}

.kol-event-single-description {
	line-height: 1.65;
	padding-top: 22px;
}

.kol-event-single-description h2 {
	font-size: 1.35rem;
	margin: 0 0 10px;
}

.kol-event-single-rsvp {
	align-self: start;
	background: var(--kol-events-surface-2);
	border: 1px solid var(--kol-events-border);
	border-radius: 12px;
	padding: 18px;
	position: sticky;
	top: 20px;
}

.kol-event-single-rsvp h2 {
	font-size: 1.2rem;
	margin: 0 0 4px;
}

.kol-event-single-rsvp > p {
	color: var(--kol-events-muted);
	font-size: 0.83rem;
	margin: 0 0 14px;
}

.kol-event-single-rsvp-actions {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
}

.kol-event-copy-link {
	margin-top: 10px;
	width: 100%;
}

.kol-location-events-widget {
	margin-bottom: 18px;
}

.kol-location-events-head {
	align-items: center;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.kol-location-events-head a {
	color: var(--kol-location-accent, #008f7a);
	font-size: 0.78rem;
	font-weight: 850;
}

.kol-location-events-empty {
	color: var(--kol-location-muted, #64748b);
	font-size: 0.92rem;
	line-height: 1.45;
	margin: 14px 0 0;
}

.kol-location-events-list {
	display: grid;
	gap: 10px;
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.kol-location-events-list a {
	background: var(--kol-location-surface-2, #f3f4f6);
	border: 1px solid var(--kol-location-border, #d4d7dc);
	border-radius: 8px;
	color: var(--kol-location-text, #1f2937);
	display: grid;
	gap: 4px;
	padding: 10px;
	text-decoration: none;
}

.kol-location-events-list a:hover,
.kol-location-events-list a:focus {
	border-color: var(--kol-location-accent, #008f7a);
	outline: 0;
}

.kol-location-events-list strong {
	font-size: 0.92rem;
	line-height: 1.25;
}

.kol-location-events-list span {
	color: var(--kol-location-muted, #64748b);
	font-size: 0.78rem;
	font-weight: 750;
}

.kol-location-event-tool-row {
	display: inline-flex;
}

.kol-location-event-toggle {
	align-items: center;
	background: linear-gradient(#e2e2e2, #d4d4d4);
	border: 1px solid;
	border-color: #f0f0f0 #b0b0b0 #b0b0b0 #f0f0f0;
	border-radius: 999px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	color: #2d2d2d;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.84rem;
	font-weight: 850;
	gap: 8px;
	min-height: 34px;
	padding: 0 14px;
}

.kol-location-event-composer {
	border-top: 1px solid rgba(148, 163, 184, 0.32);
	display: none;
	gap: 9px;
	margin-top: 8px;
	padding-top: 10px;
}

.kol-location-event-composer.is-open {
	display: grid;
}

.kol-location-event-fields {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr 1fr;
}

.kol-location-event-field {
	display: grid;
	gap: 4px;
}

.kol-location-event-field-wide {
	grid-column: 1 / -1;
}

.kol-location-event-field label {
	color: inherit;
	font-size: 0.76rem;
	font-weight: 800;
	text-transform: uppercase;
}

.kol-location-event-field input,
.kol-location-event-field select {
	background: #ffffff;
	border: 1px solid #d4d7dc;
	border-radius: 8px;
	color: #111827;
	font-size: 0.92rem;
	min-height: 38px;
	padding: 8px 10px;
	width: 100%;
}

.kol-location-event-hint {
	color: #64748b;
	font-size: 0.75rem;
}

.kol-location-event-error {
	color: #b91c1c;
	display: none;
	font-size: 0.82rem;
	font-weight: 700;
}

.kol-location-event-composer.has-error .kol-location-event-error {
	display: block;
}

.ui-autocomplete {
	z-index: 100100 !important;
}

.ui-autocomplete .ui-menu-item-wrapper {
	font-size: 0.88rem;
	padding: 8px 10px;
}

html.dark-mode,
body.dark-mode,
[data-theme="dark"] {
	--kol-events-blue: #66bb6a;
	--kol-events-blue-dark: #81c784;
	--kol-events-text: #eef2f7;
	--kol-events-muted: #a8b0bd;
	--kol-events-border: #343b46;
	--kol-events-surface: #1b1e23;
	--kol-events-surface-2: #252930;
	--kol-events-page: #111318;
}

.kol-events-page h1,
.kol-events-page h2,
.kol-events-page h3,
.kol-events-page h4,
.kol-event-single-page h1,
.kol-event-single-page h2,
.kol-event-single-page h3,
.kol-event-single-page h4,
.kol-event-modal h1,
.kol-event-modal h2,
.kol-event-modal h3,
.kol-event-modal h4,
.kol-events-page .kol-events-side-nav a,
.kol-events-page .kol-events-category-list a,
.kol-event-single-page .kol-event-single-byline a {
	color: var(--kol-events-text) !important;
}

.kol-events-page input::placeholder,
.kol-event-single-page input::placeholder,
.kol-event-modal input::placeholder,
.kol-event-modal textarea::placeholder {
	color: var(--kol-events-muted) !important;
	opacity: 1;
}

html.dark-mode .kol-events-filter-location,
html.dark-mode .kol-events-filter-when,
body.dark-mode .kol-events-filter-location,
body.dark-mode .kol-events-filter-when,
[data-theme="dark"] .kol-events-filter-location,
[data-theme="dark"] .kol-events-filter-when {
	background: #282d34;
	border-color: #3a414c;
}

html.dark-mode .kol-events-scope-tabs a,
body.dark-mode .kol-events-scope-tabs a,
[data-theme="dark"] .kol-events-scope-tabs a {
	background: #282d34;
	color: #e5e7eb;
}

html.dark-mode .kol-events-scope-tabs a.is-active,
body.dark-mode .kol-events-scope-tabs a.is-active,
[data-theme="dark"] .kol-events-scope-tabs a.is-active {
	background: #1f4628;
	border-color: #3f7d48;
	color: #d7f4da;
}

html.dark-mode .kol-event-selected-chip,
html.dark-mode .kol-event-single-facts i,
body.dark-mode .kol-event-selected-chip,
body.dark-mode .kol-event-single-facts i,
[data-theme="dark"] .kol-event-selected-chip,
[data-theme="dark"] .kol-event-single-facts i {
	background: #1f4628;
	border-color: #3f7d48;
	color: #b9e8bd;
}

html.dark-mode .kol-event-rsvp,
html.dark-mode .kol-event-copy-link,
html.dark-mode .kol-event-cancel,
body.dark-mode .kol-event-rsvp,
body.dark-mode .kol-event-copy-link,
body.dark-mode .kol-event-cancel,
[data-theme="dark"] .kol-event-rsvp,
[data-theme="dark"] .kol-event-copy-link,
[data-theme="dark"] .kol-event-cancel {
	background: linear-gradient(#383838, #343434);
	border-color: #555555 #282828 #282828 #555555;
	color: #ffffff;
}

html.dark-mode .kol-event-rsvp.is-active,
body.dark-mode .kol-event-rsvp.is-active,
[data-theme="dark"] .kol-event-rsvp.is-active {
	background: linear-gradient(#285c32, #1f4628);
	border-color: #3f7d48;
	color: #e3f6e5;
}

html.dark-mode .kol-location-event-toggle,
body.dark-mode .kol-location-event-toggle,
[data-theme="dark"] .kol-location-event-toggle {
	background: linear-gradient(#383838, #343434);
	border-color: #555555 #282828 #282828 #555555;
	color: #ffffff;
}

html.dark-mode .kol-location-event-field input,
html.dark-mode .kol-location-event-field select,
body.dark-mode .kol-location-event-field input,
body.dark-mode .kol-location-event-field select,
[data-theme="dark"] .kol-location-event-field input,
[data-theme="dark"] .kol-location-event-field select {
	background: #1b1e23;
	border-color: #3a414c;
	color: #eef2f7;
}

@media (max-width: 1180px) {
	.kol-events-page {
		--kol-events-sidebar-width: 300px;
		--kol-events-content-gap: 18px;
	}

	.kol-events-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.kol-events-page,
	.kol-event-single-page {
		padding: 10px;
	}

	.kol-events-page {
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		width: 100vw;
	}

	.kol-events-shell {
		display: block;
	}

	.kol-events-sidebar {
		display: none;
	}

	.kol-events-mobile-create {
		display: inline-flex;
	}

	.kol-event-single-layout {
		grid-template-columns: 1fr;
	}

	.kol-event-single-rsvp {
		position: static;
	}
}

@media (max-width: 620px) {
	.kol-events-discovery {
		padding: 16px;
	}

	.kol-events-grid {
		grid-template-columns: 1fr;
	}

	.kol-event-card-media {
		height: 210px;
	}

	.kol-events-filters,
	.kol-events-filter-location,
	.kol-events-filter-when,
	.kol-events-apply-filter {
		width: 100%;
	}

	.kol-events-filter-when select {
		width: 100%;
	}

	.kol-event-form-grid,
	.kol-location-event-fields {
		grid-template-columns: 1fr;
	}

	.kol-event-field,
	.kol-event-field-wide,
	.kol-location-event-field,
	.kol-location-event-field-wide {
		grid-column: 1;
	}

	.kol-event-modal-dialog {
		border-radius: 12px;
		max-height: calc(100vh - 16px);
		width: calc(100% - 16px);
	}

	.kol-event-create-form,
	.kol-event-modal-dialog > header {
		padding-left: 15px;
		padding-right: 15px;
	}

	.kol-event-single-layout {
		padding: 18px;
	}

	.kol-event-single-rsvp-actions {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kol-event-card,
	.kol-events-create-button,
	.kol-events-mobile-create,
	.kol-events-apply-filter,
	.kol-event-submit {
		transition: none;
	}
}
