/*
 * Easy Events Calendar — front-end calendar and details panel.
 *
 * The calendar has no box, font or background of its own. It inherits the theme's
 * font and text color, takes lines and tints from that text color, and gets its
 * accent from the button color setting (--lcx-a, set by the script).
 * Everything is scoped under .lcx with two-class selectors so theme button and
 * input styles don't leak in.
 */

.lcx, .lcx-panel {
	--lcx-a: #2f6bb0;
	--lcx-on-a: #fff;
	--lcx-bg: #fff;
	--lcx-line: color-mix(in srgb, currentColor 15%, transparent);
	--lcx-grid: color-mix(in srgb, currentColor 9%, transparent);
	--lcx-soft: color-mix(in srgb, currentColor 5%, transparent);
	--lcx-muted: color-mix(in srgb, currentColor 64%, transparent);
	--lcx-faint: color-mix(in srgb, currentColor 48%, transparent);
	--lcx-today: color-mix(in srgb, #f2b300 13%, transparent);
	--lcx-chip-s: 70%; --lcx-chip-l: 93%; --lcx-chip-fg-s: 55%; --lcx-chip-fg-l: 30%; --lcx-dot-l: 50%;
	--lcx-r: 4px;
	--lcx-r-sm: 3px;
	--lcx-field: #fff;
	--lcx-feat: #fdf3d4;
	--lcx-gap: 22px;
	--lcx-head: inherit;
}
.lcx.lcx-dark, .lcx-panel.lcx-dark {
	--lcx-field: color-mix(in srgb, currentColor 7%, transparent);
	--lcx-feat: rgb(245 184 46 / .14);
	--lcx-chip-s: 30%; --lcx-chip-l: 22%; --lcx-chip-fg-s: 75%; --lcx-chip-fg-l: 80%; --lcx-dot-l: 64%;
	--lcx-today: color-mix(in srgb, #f2b300 12%, transparent);
}

.lcx { container: lcx / inline-size; position: relative; font-family: inherit; color: inherit; line-height: 1.5; margin: 0 0 1.5em; }
.lcx *, .lcx-panel * { box-sizing: border-box; }
.lcx [hidden], .lcx-panel [hidden] { display: none !important; }
.lcx .lcx-tab { font-variant-numeric: tabular-nums; }

/* Reset theme button and input styles on everything the calendar draws. */
.lcx button, .lcx-panel button {
	appearance: none; -webkit-appearance: none; margin: 0; font: inherit; color: inherit; letter-spacing: normal; text-transform: none;
	text-shadow: none; box-shadow: none; min-height: 0; min-width: 0; width: auto; line-height: inherit; cursor: pointer; text-decoration: none;
}
.lcx button:focus-visible, .lcx-panel button:focus-visible, .lcx a:focus-visible, .lcx-panel a:focus-visible, .lcx input:focus-visible {
	outline: 2px solid var(--lcx-a); outline-offset: 2px;
}
.lcx h2, .lcx h3, .lcx-panel h2 { font-family: var(--lcx-head); margin: 0; padding: 0; text-transform: none; letter-spacing: normal; color: inherit; line-height: 1.2; text-wrap: balance; border: 0; background: none; }
.lcx h2::before, .lcx h2::after, .lcx h3::before, .lcx h3::after, .lcx-panel h2::before, .lcx-panel h2::after { content: none; display: none; }

/* ---------- toolbar ---------- */
.lcx .lcx-head { display: grid; gap: 12px; padding: 0 0 8px; border: 0; }
.lcx .lcx-row1 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.lcx .lcx-nav { display: flex; align-items: center; gap: 4px; }
.lcx .lcx-icon-btn, .lcx-panel .lcx-icon-btn {
	width: 32px; height: 32px; padding: 0; display: inline-grid; place-items: center; border: 1px solid var(--lcx-line);
	background: transparent; border-radius: var(--lcx-r); color: inherit;
}
.lcx .lcx-icon-btn:hover, .lcx-panel .lcx-icon-btn:hover { background: var(--lcx-soft); }
.lcx .lcx-text-btn { height: 32px; padding: 0 12px; border: 1px solid var(--lcx-line); background: transparent; border-radius: var(--lcx-r); font-size: 13px; font-weight: 600; margin-left: 4px; color: inherit; }
.lcx .lcx-text-btn:hover { background: var(--lcx-soft); }
.lcx.lcx-feed .lcx-nav { display: none; }
.lcx .lcx-period { font-size: 22px; font-weight: 700; margin-right: auto; white-space: nowrap; }
.lcx .lcx-search { position: relative; flex: 1 1 200px; max-width: 260px; }
.lcx .lcx-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); opacity: .55; pointer-events: none; }
.lcx .lcx-search .lcx-search-input {
	width: 100%; height: 32px; margin: 0; border: 1px solid var(--lcx-line); border-radius: var(--lcx-r); background: var(--lcx-field); color: inherit;
	padding: 0 30px 0 32px; font: inherit; font-size: 14px; box-shadow: none; line-height: 30px;
}
.lcx .lcx-search .lcx-search-input::-webkit-search-cancel-button { display: none; }
.lcx .lcx-search .lcx-search-input:focus { outline: 2px solid var(--lcx-a); outline-offset: -1px; }
.lcx .lcx-search .lcx-clear { position: absolute; right: 3px; top: 3px; width: 26px; height: 26px; padding: 0; border: 0; background: none; opacity: .6; border-radius: var(--lcx-r-sm); font-size: 12px; }
.lcx .lcx-views { display: inline-flex; border: 1px solid var(--lcx-line); border-radius: var(--lcx-r); overflow: hidden; }
.lcx .lcx-views .lcx-view { border: 0; border-left: 1px solid var(--lcx-line); border-radius: 0; background: transparent; padding: 0 12px; height: 30px; font-size: 13px; font-weight: 600; color: inherit; }
.lcx .lcx-views .lcx-view:first-child { border-left: 0; }
.lcx .lcx-views .lcx-view:hover { background: var(--lcx-soft); }
.lcx .lcx-views .lcx-view[aria-pressed="true"] { background: var(--lcx-a); color: var(--lcx-on-a); }
.lcx .lcx-row2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.lcx .lcx-row2::-webkit-scrollbar { display: none; }
.lcx .lcx-row2:empty { display: none; }
.lcx .lcx-chip {
	--h: 210; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 9px; border-radius: var(--lcx-r);
	border: 1px solid var(--lcx-line); background: transparent; font-size: 13px; font-weight: 500; color: inherit; white-space: nowrap;
}
.lcx .lcx-chip:hover { background: var(--lcx-soft); }
.lcx .lcx-chip .lcx-dot { width: 8px; height: 8px; border-radius: 2px; background: hsl(var(--h) 65% var(--lcx-dot-l)); }
.lcx .lcx-chip .lcx-n { opacity: .6; font-size: 12px; font-variant-numeric: tabular-nums; }
.lcx .lcx-chip[aria-pressed="true"] { background: hsl(var(--h) var(--lcx-chip-s) var(--lcx-chip-l)); border-color: transparent; color: hsl(var(--h) var(--lcx-chip-fg-s) var(--lcx-chip-fg-l)); }
.lcx .lcx-chip.lcx-all[aria-pressed="true"] { background: currentColor; border-color: transparent; }
.lcx .lcx-chip.lcx-all[aria-pressed="true"] span { color: var(--lcx-bg); }
.lcx .lcx-status { font-size: 13px; opacity: .6; margin-left: auto; flex: none; padding-left: 8px; font-variant-numeric: tabular-nums; }

.lcx .lcx-body { position: relative; min-height: 120px; transition: opacity .15s; }
.lcx .lcx-body.lcx-busy { opacity: .5; }
.lcx .lcx-loading { padding: 48px 0; text-align: center; opacity: .6; margin: 0; }

/* ---------- shared bits ---------- */
.lcx .lcx-tag, .lcx-panel .lcx-tag {
	--h: 210; display: inline-flex; align-items: center; height: 22px; padding: 0 7px; border-radius: var(--lcx-r-sm); font-size: 11.5px; font-weight: 600;
	letter-spacing: .02em; background: hsl(var(--h) var(--lcx-chip-s) var(--lcx-chip-l)); color: hsl(var(--h) var(--lcx-chip-fg-s) var(--lcx-chip-fg-l)); white-space: nowrap; justify-self: start;
}
.lcx .lcx-btn, .lcx-panel .lcx-btn {
	height: 38px; padding: 0 16px; border-radius: var(--lcx-r); border: 1px solid var(--lcx-line); background: transparent; font-size: 14px; font-weight: 600;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: inherit; text-decoration: none; white-space: nowrap;
}
.lcx .lcx-btn:hover, .lcx-panel .lcx-btn:hover { background: var(--lcx-soft); color: inherit; }
.lcx .lcx-btn.lcx-primary, .lcx-panel .lcx-btn.lcx-primary { background: var(--lcx-a); border-color: var(--lcx-a); color: var(--lcx-on-a); }
.lcx .lcx-btn.lcx-primary:hover, .lcx-panel .lcx-btn.lcx-primary:hover { filter: brightness(1.07); color: var(--lcx-on-a); }
.lcx .lcx-art, .lcx-panel .lcx-art {
	--h: 210; position: relative; display: block; border-radius: var(--lcx-r-sm); overflow: hidden; background-color: hsl(var(--h) 45% 40%);
	background-image: radial-gradient(circle at 78% 22%, hsl(var(--h) 70% 72% / .9), transparent 55%), linear-gradient(135deg, hsl(var(--h) 52% 42%), hsl(calc(var(--h) + 40) 48% 28%));
}
/* No photo: a dark tone with a diagonal split in the category color and one icon. */
.lcx .lcx-art.lcx-art-ico, .lcs .lcx-art.lcx-art-ico {
	background-color: hsl(var(--h) 38% 24%);
	background-image: linear-gradient(112deg, hsl(var(--h) 38% 24%) 0 58%, hsl(var(--h) 52% 56%) 58% 100%);
}
.lcx .lcx-ico { position: absolute; right: 21%; top: 50%; width: 34%; max-width: 132px; aspect-ratio: 1; transform: translate(50%, -50%); color: #f4efe3; }
.lcx .lcx-ico svg { display: block; width: 100%; height: 100%; }
.lcx .lcx-art img, .lcx-panel .lcx-art img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0; border: 0; border-radius: 0; box-shadow: none; }

/* ---------- events are links to their pages ---------- */
.lcx a.lcx-card, .lcx a.lcx-lrow, .lcx a.lcx-wcard, .lcx a.lcx-pill, .lcx .lcx-mini a, .lcx-panel .lcx-mini a { text-decoration: none; box-shadow: none; border-bottom-style: solid; }
.lcx a.lcx-card, .lcx a.lcx-card:hover, .lcx a.lcx-card:visited, .lcx a.lcx-lrow, .lcx a.lcx-lrow:hover, .lcx a.lcx-lrow:visited,
.lcx .lcx-mini a, .lcx .lcx-mini a:hover, .lcx-panel .lcx-mini a, .lcx-panel .lcx-mini a:hover { color: inherit; }
.lcx a.lcx-pill, .lcx a.lcx-pill:hover, .lcx a.lcx-pill:visited, .lcx a.lcx-wcard, .lcx a.lcx-wcard:hover, .lcx a.lcx-wcard:visited { color: hsl(var(--h) var(--lcx-chip-fg-s) var(--lcx-chip-fg-l)); }

/* ---------- cards: photo with rounded corners, then date, title, venue and price; no box or button ---------- */
.lcx .lcx-cards { --cols: 3; --art-h: 180px; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 32px 28px; padding-top: 20px; }
.lcx .lcx-card, .lcx a.lcx-card {
	--h: 210; grid-column: span var(--span, 1); display: flex; flex-direction: column; min-width: 0; padding: 0; text-align: left; color: inherit;
	background: none; border: 0; border-radius: 0; box-shadow: none;
}
.lcx .lcx-card:hover, .lcx a.lcx-card:hover { background: none; }
/* Featured: a soft yellow panel behind the card. The negative margin keeps the photo and text lined up with the cards beside it. */
.lcx .lcx-card.lcx-feat, .lcx a.lcx-card.lcx-feat, .lcx a.lcx-card.lcx-feat:hover { margin: -8px; padding: 8px 8px 12px; border-radius: 12px; background: var(--lcx-feat); }
.lcx .lcx-card .lcx-art { height: var(--art-h); flex: none; border-radius: 8px; transition: filter .2s; }
.lcx .lcx-card:hover .lcx-art { filter: brightness(1.06); }
.lcx .lcx-flag {
	position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 11px;
	background: rgb(0 0 0 / .62); color: #fff; font-size: 13px; font-weight: 600; line-height: 1.3; border-radius: 999px;
}
.lcx .lcx-flag::after { content: "\2605"; color: #f5b82e; font-size: 13px; }
.lcx .lcx-cbody { display: flex; flex-direction: column; gap: 4px; padding: 12px 4px 0; min-width: 0; }
.lcx .lcx-cbody > * { min-width: 0; overflow-wrap: anywhere; }
.lcx .lcx-cdate { font-size: 14px; color: var(--lcx-muted); }
.lcx .lcx-card .lcx-h3 {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	font-family: var(--lcx-head); font-size: 18px; font-weight: 600; line-height: 1.35;
}
.lcx .lcx-card:hover .lcx-h3 { color: var(--lcx-a); }
.lcx .lcx-loc { font-size: 14px; color: var(--lcx-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lcx .lcx-cost { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; }
.lcx .lcx-cost svg { flex: none; opacity: .7; }
.lcx .lcx-tile { grid-column: span var(--span, 1); }
.lcx .lcx-tile .lcx-tile-box {
	height: var(--art-h); min-height: 160px; border: 1px dashed var(--lcx-faint); border-radius: 8px; display: grid; place-content: center; justify-items: center;
	gap: 6px; padding: 16px; text-align: center; background: var(--lcx-soft);
}
.lcx .lcx-tile strong { font-family: var(--lcx-head); font-size: 18px; }
.lcx .lcx-tile span { font-size: 13.5px; color: var(--lcx-muted); }
.lcx .lcx-tile .lcx-btn { margin-top: 6px; }
.lcx .lcx-more { display: grid; justify-items: center; gap: 8px; padding: 32px 0 8px; }
.lcx .lcx-more p, .lcx .lcx-end { font-size: 13.5px; color: var(--lcx-faint); margin: 0; }
.lcx .lcx-end { text-align: center; padding: 22px 0 8px; margin-top: 24px; border: 0; }
.lcx .lcx-end a { color: var(--lcx-a); font-weight: 600; }

/* ---------- list ---------- */
.lcx .lcx-lhead { position: sticky; top: 0; z-index: 2; background: var(--lcx-bg); padding: 22px 0 6px; display: flex; align-items: baseline; gap: 10px; border: 0; }
.lcx .lcx-lhead h3 { font-size: 18px; font-weight: 700; }
.lcx .lcx-lhead span { font-size: 13px; color: var(--lcx-faint); }
.lcx .lcx-lrow { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 11px 12px; margin: 0 -12px; border: 0; border-radius: 6px; background: none; text-align: left; width: calc(100% + 24px); color: inherit; }
.lcx .lcx-lrow:hover { background: var(--lcx-soft); }
.lcx .lcx-lrow:hover strong { color: var(--lcx-a); }
.lcx .lcx-lrow .lcx-time { font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: var(--lcx-muted); }
.lcx .lcx-lrow .lcx-main { display: grid; gap: 2px; min-width: 0; }
.lcx .lcx-lrow strong { font-size: 15.5px; font-weight: 600; }
.lcx .lcx-lrow .lcx-main span { font-size: 13px; color: var(--lcx-muted); }
.lcx .lcx-lrow .lcx-side { display: flex; align-items: center; gap: 10px; }
.lcx .lcx-price { font-size: 13px; color: var(--lcx-muted); font-variant-numeric: tabular-nums; }

/* ---------- week ---------- */
.lcx .lcx-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; min-height: 360px; padding-top: 10px; }
.lcx .lcx-wcol { border: 0; border-radius: 6px; padding: 10px 6px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lcx .lcx-wlist { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lcx .lcx-wcol.lcx-is-today { background: var(--lcx-today); }
.lcx .lcx-whead { display: flex; align-items: baseline; gap: 6px; padding: 0 4px 6px; }
.lcx .lcx-whead .lcx-w { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--lcx-faint); }
.lcx .lcx-whead .lcx-d { font-family: var(--lcx-head); font-size: 20px; font-weight: 700; }
.lcx .lcx-is-today .lcx-whead .lcx-d { color: var(--lcx-a); }
.lcx .lcx-wcard { --h: 210; border: 0; text-align: left; border-radius: var(--lcx-r-sm); padding: 7px 8px; background: hsl(var(--h) var(--lcx-chip-s) var(--lcx-chip-l)); color: hsl(var(--h) var(--lcx-chip-fg-s) var(--lcx-chip-fg-l)); display: grid; gap: 2px; font-size: 13px; line-height: 1.3; min-width: 0; width: 100%; }
.lcx .lcx-wcard strong { font-weight: 600; overflow-wrap: anywhere; }
.lcx .lcx-wcard .lcx-v { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .85; }
.lcx .lcx-wempty { font-size: 12px; color: var(--lcx-faint); padding: 0 4px; }

/* ---------- month ---------- */
.lcx .lcx-dow, .lcx .lcx-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.lcx .lcx-grid { border-top: 1px solid var(--lcx-grid); }
.lcx .lcx-dow div { padding: 10px 6px 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--lcx-faint); border: 0; }
.lcx .lcx-cell { min-height: 108px; border-right: 1px solid var(--lcx-grid); border-bottom: 1px solid var(--lcx-grid); padding: 5px 5px 8px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lcx .lcx-cell:nth-child(7n) { border-right: 0; }
.lcx .lcx-cell.lcx-out { background: var(--lcx-soft); }
.lcx .lcx-cell.lcx-out .lcx-dnum { opacity: .5; }
.lcx .lcx-cell.lcx-past .lcx-pill { opacity: .55; }
.lcx .lcx-cell.lcx-is-today { background: var(--lcx-today); }
.lcx .lcx-dnum { font-size: 13px; font-weight: 600; min-width: 24px; height: 22px; padding: 0 4px; display: inline-grid; place-items: center; border-radius: var(--lcx-r-sm); align-self: flex-start; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.lcx .lcx-is-today .lcx-dnum { background: var(--lcx-a); color: var(--lcx-on-a); opacity: 1; }
.lcx .lcx-pill { --h: 210; display: flex; align-items: baseline; gap: 5px; width: 100%; min-width: 0; border: 0; text-align: left; padding: 3px 5px; border-radius: var(--lcx-r-sm); font-size: 12.5px; line-height: 1.3; background: hsl(var(--h) var(--lcx-chip-s) var(--lcx-chip-l)); color: hsl(var(--h) var(--lcx-chip-fg-s) var(--lcx-chip-fg-l)); }
.lcx .lcx-pill:hover { filter: brightness(.97); }
.lcx .lcx-pill .lcx-t { font-variant-numeric: tabular-nums; font-weight: 600; flex: none; }
.lcx .lcx-pill .lcx-ttl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.lcx .lcx-pill.lcx-feat .lcx-ttl::before { content: "★ "; }
.lcx .lcx-morelink { border: 0; background: none; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--lcx-muted); padding: 2px 5px; border-radius: var(--lcx-r-sm); }
.lcx .lcx-morelink:hover { background: var(--lcx-soft); }
.lcx .lcx-dots { display: none; gap: 3px; flex-wrap: wrap; justify-content: center; }
.lcx .lcx-dots i { --h: 210; width: 6px; height: 6px; border-radius: 50%; background: hsl(var(--h) 65% var(--lcx-dot-l)); }
.lcx .lcx-day-agenda { display: none; }

/* ---------- mini rows (day lists in month view and in the panel) ---------- */
.lcx .lcx-mini, .lcx-panel .lcx-mini { display: grid; }
.lcx .lcx-mini a, .lcx-panel .lcx-mini a { --h: 210; display: grid; grid-template-columns: 70px 1fr; gap: 10px; text-align: left; border: 0; border-bottom: 1px solid var(--lcx-line); border-radius: 0; background: none; padding: 11px 0; font-size: 14px; width: 100%; color: inherit; }
.lcx .lcx-mini a:hover strong, .lcx-panel .lcx-mini a:hover strong { color: var(--lcx-a); }
.lcx .lcx-mini .lcx-t, .lcx-panel .lcx-mini .lcx-t { font-variant-numeric: tabular-nums; font-weight: 600; color: hsl(var(--h) var(--lcx-chip-fg-s) var(--lcx-chip-fg-l)); }
.lcx .lcx-mini .lcx-v, .lcx-panel .lcx-mini .lcx-v { display: block; color: var(--lcx-muted); font-size: 13px; }

/* ---------- empty ---------- */
.lcx .lcx-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 64px 16px; }
.lcx .lcx-empty h3 { font-size: 20px; }
.lcx .lcx-empty p { margin: 0; color: var(--lcx-muted); }
.lcx .lcx-empty .lcx-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ---------- details panel (attached to <body>) ---------- */
.lcx-scrim { position: fixed; inset: 0; background: rgb(15 20 25 / .4); opacity: 0; pointer-events: none; transition: opacity .18s; z-index: 99998; }
.lcx-panel {
	position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); background: var(--lcx-bg); border-left: 1px solid var(--lcx-line);
	box-shadow: -10px 0 30px rgb(0 0 0 / .15); transform: translateX(100%); transition: transform .22s ease; z-index: 99999;
	display: flex; flex-direction: column; visibility: hidden; line-height: 1.5; font-size: 15px; text-align: left;
}
.lcx-panel.lcx-open { transform: none; visibility: visible; }
.lcx-scrim.lcx-open { opacity: 1; pointer-events: auto; }
.lcx-panel .lcx-ptop { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 0 20px; position: relative; }
.lcx-panel .lcx-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lcx-faint); }
.lcx-panel .lcx-pbody { padding: 10px 20px 24px; overflow-y: auto; overflow-x: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start; overscroll-behavior: contain; }
.lcx-panel .lcx-pbody > * { min-width: 0; }
.lcx-panel h2, .lcx-panel .lcx-desc, .lcx-panel .lcx-fact span { overflow-wrap: anywhere; }
.lcx-panel h2 { font-size: 24px; font-weight: 700; }
.lcx-panel .lcx-art { aspect-ratio: 16 / 9; }
.lcx-panel .lcx-facts { display: grid; gap: 10px; margin: 0; }
.lcx-panel .lcx-fact { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 14.5px; }
.lcx-panel .lcx-fact svg { opacity: .55; margin-top: 2px; }
.lcx-panel .lcx-fact small { display: block; color: var(--lcx-faint); font-size: 13px; }
.lcx-panel .lcx-fact a { color: var(--lcx-a); }
.lcx-panel .lcx-desc { color: var(--lcx-muted); font-size: 14.5px; margin: 0; }
.lcx-panel .lcx-acts { display: grid; gap: 8px; }
.lcx-panel .lcx-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.lcx-panel .lcx-menu { display: grid; border: 1px solid var(--lcx-line); border-radius: var(--lcx-r); overflow: hidden; }
.lcx-panel .lcx-menu a, .lcx-panel .lcx-menu button { display: block; border: 0; border-bottom: 1px solid var(--lcx-line); border-radius: 0; background: none; text-align: left; padding: 10px 12px; font-size: 14px; color: inherit; text-decoration: none; width: 100%; }
.lcx-panel .lcx-menu > :last-child { border-bottom: 0; }
.lcx-panel .lcx-menu a:hover, .lcx-panel .lcx-menu button:hover { background: var(--lcx-soft); }
.lcx-panel .lcx-note { font-size: 13px; color: var(--lcx-muted); min-height: 1.5em; margin: 0; }
html.lcx-lock { overflow: hidden; }

/* ---------- calendar narrower than 640px: phones and sidebars ---------- */
@container lcx (max-width: 640px) {
	.lcx .lcx-period { font-size: 20px; order: -1; flex-basis: 100%; }
	.lcx .lcx-row1 { gap: 8px; }
	.lcx .lcx-search { max-width: none; order: 3; flex-basis: 100%; }
	.lcx .lcx-views { margin-left: auto; }
	.lcx .lcx-views .lcx-view { padding: 0 9px; }
	.lcx .lcx-status { display: none; }
	/* Phones: chips scroll sideways, with a fade showing there are more. */
	.lcx .lcx-row2 { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; }
	.lcx .lcx-dow div { padding: 6px 0; text-align: center; font-size: 11px; letter-spacing: .02em; }
	.lcx .lcx-cell { min-height: 52px; align-items: center; padding: 4px 2px; cursor: pointer; }
	.lcx .lcx-dnum { align-self: center; }
	.lcx .lcx-cell .lcx-pill, .lcx .lcx-cell .lcx-morelink { display: none; }
	.lcx .lcx-cell .lcx-dots { display: flex; }
	.lcx .lcx-cell.lcx-sel .lcx-dnum { box-shadow: 0 0 0 2px var(--lcx-a); }
	.lcx .lcx-day-agenda { display: grid; gap: 4px; padding: 16px 0 8px; }
	.lcx .lcx-day-agenda h3 { font-size: 18px; }
	.lcx .lcx-week { grid-template-columns: 1fr; min-height: 0; }
	.lcx .lcx-week { gap: 4px; }
	.lcx .lcx-wcol { border: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 0; padding: 10px 8px; }
	.lcx .lcx-whead { flex-direction: column; gap: 0; padding: 2px 0 0; }
	.lcx .lcx-lrow { grid-template-columns: 62px minmax(0, 1fr); }
	.lcx .lcx-lrow .lcx-side { grid-column: 2; }
	.lcx .lcx-cards { gap: 28px; }
}
@media (max-width: 640px) {
	.lcx-panel { top: auto; width: 100vw; max-height: 88vh; border-left: 0; border-top: 1px solid var(--lcx-line); border-radius: 8px 8px 0 0; transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom, 0px); }
	.lcx-panel .lcx-ptop::before { content: ""; position: absolute; left: 50%; top: 4px; width: 36px; height: 4px; border-radius: 2px; background: var(--lcx-line); transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.lcx-panel, .lcx-scrim, .lcx .lcx-body { transition: none; }
}

/* ---------- static cards: organizer, venue, category and tag pages (templates/taxonomy-events.php) ---------- */
.lcx.lcx-static { margin: 0; }
.lcx.lcx-static .lcx-cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); padding-top: 0; }
.lcx.lcx-static .lcx-card .lcx-art { height: auto; aspect-ratio: 2 / 1; }
.lcx .lcx-pages { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 40px; font-size: 14px; color: var(--lcx-muted); }
