/*!
 * HOA Curators — front-end styles
 * Everything is scoped to .hoa-cur so the theme and other plugins are untouched.
 * Brand values come from CSS variables printed by the plugin settings.
 */

.hoa-cur {
	--c-primary: var(--hoa-cur-primary, #660000);
	--c-primary-hover: #151515;
	--c-primary-active: #660000;
	--c-ink: var(--hoa-cur-ink, #151515);
	--c-ghost: var(--hoa-cur-ghost, #888888);
	--c-line: color-mix(in srgb, var(--c-ink) 12%, transparent);
	--c-soft: color-mix(in srgb, var(--c-ink) 4%, #fff);
	--c-tint: color-mix(in srgb, var(--c-primary) 7%, #fff);
	--c-ok: #1f6b3a;
	--c-warn: #8a5a00;
	--c-err: #a11a1a;
	--r: var(--hoa-cur-radius, 6px);
	--f-head: var(--hoa-cur-font-heading, inherit);
	--f-body: var(--hoa-cur-font-body, inherit);
	--gap: clamp(16px, 2.4vw, 28px);
	color: var(--c-ink);
	font-family: var(--f-body);
	line-height: 1.55;
	box-sizing: border-box;
}
/* Browsers without color-mix fall back to fixed neutrals. */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.hoa-cur { --c-line: #e3e3e3; --c-soft: #f7f7f7; --c-tint: #f7eded; }
}
.hoa-cur *, .hoa-cur *::before, .hoa-cur *::after { box-sizing: inherit; }
.hoa-cur img { max-width: 100%; height: auto; display: block; }
.hoa-cur [hidden] { display: none !important; }
.hoa-cur a { color: var(--c-primary); }
.hoa-cur :focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.hoa-cur-icon { flex: none; vertical-align: -3px; }

.hoa-cur-h2, .hoa-cur-h3, .hoa-cur-event__title, .hoa-cur-dialog__title,
.hoa-cur-profile__name, .hoa-cur-dash__name, .hoa-cur-card__title {
	font-family: var(--f-head);
	color: var(--c-ink);
	letter-spacing: -0.01em;
	line-height: 1.2;
	margin: 0;
}
.hoa-cur-h2 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 0 0 14px; }
.hoa-cur-h3 { font-size: 1.1rem; margin: 22px 0 10px; }
.hoa-cur-section { margin: 0 0 32px; }
.hoa-cur-prose > :first-child { margin-top: 0; }
.hoa-cur-prose p { margin: 0 0 1em; }
.hoa-cur-intro { font-size: 1.05rem; color: var(--c-ink); max-width: 62ch; margin: 0 0 24px; }
.hoa-cur-fineprint, .hoa-cur-help { font-size: .82rem; color: var(--c-ghost); margin: 6px 0 0; }
.hoa-cur-req { color: var(--c-primary); }

/* ---------- Buttons & links ---------- */
.hoa-cur-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	border: 1px solid var(--c-ink); border-radius: var(--r);
	background: #fff; color: var(--c-ink);
	font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
}
.hoa-cur-btn:hover { background: var(--c-ink); color: #fff; }
.hoa-cur-btn--primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.hoa-cur-btn--primary:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.hoa-cur-btn--ghost { border-color: var(--c-line); background: transparent; }
.hoa-cur-btn--ghost:hover { border-color: var(--c-ink); background: transparent; color: var(--c-ink); }
.hoa-cur-btn--sm { min-height: 36px; padding: 6px 14px; font-size: .88rem; }
.hoa-cur-btn--block { display: flex; width: 100%; }
.hoa-cur-btn[disabled], .hoa-cur-btn[aria-busy="true"] { opacity: .6; cursor: progress; }
.hoa-cur-link { font-weight: 600; text-decoration: none; }
.hoa-cur-link:hover { text-decoration: underline; }
.hoa-cur-linkbtn {
	background: none; border: 0; padding: 0; font: inherit; font-size: .88rem;
	color: var(--c-primary); cursor: pointer; text-decoration: underline; text-underline-offset: 2px;
}
.hoa-cur-danger { color: var(--c-err) !important; font-size: .88rem; }

/* ---------- Alerts, pills, statuses ---------- */
.hoa-cur-alert {
	padding: 12px 16px; margin: 0 0 20px; border-radius: var(--r);
	border-left: 3px solid var(--c-ghost); background: var(--c-soft); font-size: .95rem;
}
.hoa-cur-alert p { margin: 0; }
.hoa-cur-alert ul { margin: 6px 0 0 18px; padding: 0; }
.hoa-cur-alert--ok { border-color: var(--c-ok); background: #eef6f0; }
.hoa-cur-alert--error { border-color: var(--c-err); background: #fbeeee; }
.hoa-cur-alert--info { border-color: var(--c-primary); background: var(--c-tint); }

.hoa-cur-pill, .hoa-cur-badge, .hoa-cur-status {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 3px 10px; border-radius: 999px;
	font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
	background: var(--c-tint); color: var(--c-primary); white-space: nowrap;
}
.hoa-cur-pill--muted { background: var(--c-soft); color: var(--c-ghost); }
.hoa-cur-badge { background: var(--c-primary); color: #fff; min-width: 20px; justify-content: center; padding: 2px 7px; }
.hoa-cur-status--draft { background: var(--c-soft); color: var(--c-ghost); }
.hoa-cur-status--pending { background: #fdf3e0; color: var(--c-warn); }
.hoa-cur-status--approved, .hoa-cur-status--publish { background: #e8f3ec; color: var(--c-ok); }
.hoa-cur-status--rejected { background: #fbeeee; color: var(--c-err); }

/* ---------- Forms ---------- */
.hoa-cur-form { max-width: 820px; }
.hoa-cur-fieldset { border: 1px solid var(--c-line); border-radius: var(--r); padding: var(--gap); margin: 0 0 24px; min-width: 0; }
.hoa-cur-fieldset legend { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; padding: 0 8px; margin-left: -8px; }
.hoa-cur-grid { display: grid; gap: 0 20px; }
.hoa-cur-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hoa-cur-field { margin: 0 0 18px; min-width: 0; }
.hoa-cur-field > label, .hoa-cur-field__label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 6px; }
.hoa-cur-form input[type="text"], .hoa-cur-form input[type="email"], .hoa-cur-form input[type="tel"],
.hoa-cur-form input[type="url"], .hoa-cur-form input[type="number"], .hoa-cur-form input[type="date"],
.hoa-cur-form input[type="time"], .hoa-cur-form input[type="datetime-local"], .hoa-cur-form input[type="password"],
.hoa-cur-form select, .hoa-cur-form textarea, .hoa-cur-status-select {
	width: 100%; min-height: 44px; padding: 10px 12px;
	border: 1px solid color-mix(in srgb, var(--c-ink) 22%, transparent); border-radius: var(--r);
	background: #fff; color: var(--c-ink); font: inherit; font-size: 1rem; line-height: 1.4;
	box-shadow: none; margin: 0;
}
.hoa-cur-form textarea { min-height: 110px; resize: vertical; }
.hoa-cur-form input:focus, .hoa-cur-form select:focus, .hoa-cur-form textarea:focus, .hoa-cur-status-select:focus {
	outline: none; border-color: var(--c-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 18%, transparent);
}
.hoa-cur-form [aria-invalid="true"] { border-color: var(--c-err); }
.hoa-cur-form input[type="file"] { width: 100%; font-size: .9rem; padding: 8px; border: 1px dashed var(--c-line); border-radius: var(--r); background: var(--c-soft); }
.hoa-cur-file__current { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: .88rem; }
.hoa-cur-file__current img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r); border: 1px solid var(--c-line); }
.hoa-cur-file img[data-hoa-cur-thumb] { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r); margin-top: 8px; border: 1px solid var(--c-line); }
.hoa-cur-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hoa-cur-captcha input { max-width: 160px; }
.hoa-cur-check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.hoa-cur-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--c-primary); flex: none; }
.hoa-cur-consent { margin: 0 0 18px; }
.hoa-cur-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.hoa-cur-form__result:empty { display: none; }
.hoa-cur-form__result { margin: 0 0 14px; }

/* Toggle switch */
.hoa-cur-toggles { display: grid; gap: 10px; margin: 0 0 18px; }
.hoa-cur-toggle { position: relative; }
.hoa-cur-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hoa-cur-toggle label {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--r); cursor: pointer; background: #fff;
}
.hoa-cur-toggle label::after {
	content: ""; flex: none; width: 42px; height: 24px; border-radius: 999px;
	background: #cfcfcf radial-gradient(circle 9px at 12px 50%, #fff 98%, transparent) no-repeat;
	transition: background-color .18s, background-position .18s;
}
.hoa-cur-toggle input:checked + label { border-color: var(--c-primary); background: var(--c-tint); }
.hoa-cur-toggle input:checked + label::after { background-color: var(--c-primary); background-position: 18px 0; }
.hoa-cur-toggle input:focus-visible + label { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.hoa-cur-toggle__text strong { display: block; font-size: .95rem; }
.hoa-cur-toggle__text small { display: block; color: var(--c-ghost); font-size: .82rem; }

/* Segmented Free / Paid */
.hoa-cur-segment { display: inline-flex; border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; margin: 0 0 16px; }
.hoa-cur-segment label { position: relative; padding: 10px 22px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.hoa-cur-segment label + label { border-left: 1px solid var(--c-line); }
.hoa-cur-segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hoa-cur-segment label:has(input:checked) { background: var(--c-primary); color: #fff; }
.hoa-cur-segment label:has(input:focus-visible) { outline: 2px solid var(--c-ink); outline-offset: -3px; }

/* Public / Private choice cards */
.hoa-cur-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hoa-cur-choice__opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--c-line); border-radius: var(--r); cursor: pointer; }
.hoa-cur-choice__opt input { margin-top: 4px; accent-color: var(--c-primary); flex: none; }
.hoa-cur-choice__opt strong { display: block; }
.hoa-cur-choice__opt small { display: block; color: var(--c-ghost); font-size: .84rem; line-height: 1.4; }
.hoa-cur-choice__opt:has(input:checked) { border-color: var(--c-primary); background: var(--c-tint); }

/* Repeaters */
.hoa-cur-repeater { display: grid; gap: 10px; margin: 0 0 12px; }
.hoa-cur-row { display: grid; gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-soft); }
.hoa-cur-row--agenda { grid-template-columns: 120px minmax(0, 1fr) 36px; }
.hoa-cur-row--agenda .hoa-cur-row__f--wide { grid-column: 1 / 3; }
.hoa-cur-row--fee { grid-template-columns: minmax(0, 1fr) 160px 36px; }
.hoa-cur-row__f { margin: 0; min-width: 0; }
.hoa-cur-row__f { display: block; }
.hoa-cur-row__f > span { display: block; font-size: .78rem; color: var(--c-ghost); margin: 0 0 4px; font-weight: 600; }
.hoa-cur-row__remove {
	grid-column: -2; grid-row: 1; align-self: end;
	width: 36px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; background: transparent; color: var(--c-ghost); border-radius: var(--r); cursor: pointer;
}
.hoa-cur-row__remove:hover { color: var(--c-err); background: #fbeeee; }
.hoa-cur-row.is-new { animation: hoa-cur-in .2s ease-out; }
@keyframes hoa-cur-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Single event ---------- */
.hoa-cur-event { margin: 0 0 40px; }
.hoa-cur-ownerbar {
	display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center;
	padding: 12px 16px; margin: 0 0 20px; border-radius: var(--r);
	background: var(--c-ink); color: #fff; font-size: .9rem;
}
.hoa-cur-ownerbar a { color: #fff; }
.hoa-cur-ownerbar__note { flex: 1 1 240px; opacity: .85; }
.hoa-cur-ownerbar .hoa-cur-btn { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.hoa-cur-ownerbar .hoa-cur-btn:hover { background: #fff; color: var(--c-ink); }
.hoa-cur-event__cover { margin: 0 0 28px; border-radius: var(--r); overflow: hidden; background: var(--c-soft); }
.hoa-cur-event__cover img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.hoa-cur-event__layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: calc(var(--gap) * 1.5); align-items: start; }
.hoa-cur-event__kind { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.hoa-cur-event__title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0 0 22px; }
.hoa-cur-event__panel { position: sticky; top: 24px; border: 1px solid var(--c-line); border-radius: var(--r); padding: 22px; background: #fff; }
.hoa-cur-event__requests { grid-column: 1 / -1; margin-top: 16px; padding-top: 28px; border-top: 2px solid var(--c-primary); }

/* Signature element: the maroon date block */
.hoa-cur-dateblock {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	min-width: 84px; padding: 10px 14px 12px; margin: -40px 0 16px;
	background: var(--c-primary); color: #fff; border-radius: var(--r);
	box-shadow: 0 6px 18px color-mix(in srgb, var(--c-primary) 30%, transparent);
	font-family: var(--f-head); line-height: 1;
}
.hoa-cur-dateblock__day { font-size: 2.4rem; font-weight: 700; }
.hoa-cur-dateblock__month { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin-top: 6px; opacity: .9; }

.hoa-cur-facts { margin: 0 0 18px; }
.hoa-cur-facts > div { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.hoa-cur-facts > div:first-child { padding-top: 0; }
.hoa-cur-facts dt { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ghost); margin: 0 0 4px; }
.hoa-cur-facts dd { margin: 0; font-size: .95rem; }
.hoa-cur-fees { list-style: none; margin: 4px 0 0; padding: 0; }
.hoa-cur-fees li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.hoa-cur-fees li + li { border-top: 1px dashed var(--c-line); }
.hoa-cur-fees strong { color: var(--c-primary); white-space: nowrap; }
.hoa-cur-interest { margin: 18px 0 8px; }

.hoa-cur-agenda { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.hoa-cur-agenda li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.hoa-cur-agenda li:first-child { border-top: 1px solid var(--c-line); }
.hoa-cur-agenda__time { font-weight: 700; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.hoa-cur-agenda__body strong { display: block; }
.hoa-cur-agenda__body span { display: block; color: var(--c-ghost); font-size: .92rem; margin-top: 2px; }
.hoa-cur-doc {
	display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px;
	border: 1px solid var(--c-line); border-radius: var(--r); text-decoration: none; color: var(--c-ink) !important;
}
.hoa-cur-doc:hover { border-color: var(--c-primary); }
.hoa-cur-doc .hoa-cur-icon { color: var(--c-primary); }
.hoa-cur-doc small { display: block; color: var(--c-ghost); font-size: .8rem; }
.hoa-cur-terms { border: 1px solid var(--c-line); border-radius: var(--r); padding: 0 16px; }
.hoa-cur-terms summary { cursor: pointer; padding: 14px 0; font-weight: 600; }
.hoa-cur-terms[open] summary { border-bottom: 1px solid var(--c-line); margin-bottom: 12px; }

/* Host card */
.hoa-cur-hostcard { display: flex; gap: 12px; align-items: center; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--c-line); text-decoration: none; color: inherit; }
.hoa-cur-hostcard__logo { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: var(--c-soft); border: 1px solid var(--c-line); flex: none; }
.hoa-cur-hostcard small { display: block; color: var(--c-ghost); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }

/* Share */
.hoa-cur-share { margin-top: 18px; }
.hoa-cur-share__label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ghost); margin: 0 0 8px; }
.hoa-cur-share__row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hoa-cur-share__btn {
	width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--c-line); border-radius: 50%; background: #fff; color: var(--c-ink) !important;
	cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.hoa-cur-share__btn:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff !important; }
.hoa-cur-share__done { font-size: .82rem; color: var(--c-ok); }

/* Dialog */
.hoa-cur-dialog {
	width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0;
	border: 0; border-radius: calc(var(--r) + 2px); background: #fff; color: var(--c-ink);
	box-shadow: 0 24px 64px rgba(0,0,0,.28); overflow: auto;
}
.hoa-cur-dialog::backdrop { background: rgba(21,21,21,.6); }
.hoa-cur-dialog[open] { animation: hoa-cur-pop .2s ease-out; }
@keyframes hoa-cur-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.hoa-cur-dialog__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 22px 24px 16px; border-top: 4px solid var(--c-primary); border-bottom: 1px solid var(--c-line); }
.hoa-cur-dialog__title { font-size: 1.3rem; }
.hoa-cur-dialog__sub { margin: 4px 0 0; color: var(--c-ghost); font-size: .9rem; }
.hoa-cur-dialog__close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--c-soft); color: var(--c-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.hoa-cur-dialog__close:hover { background: var(--c-ink); color: #fff; }
.hoa-cur-dialog .hoa-cur-form { padding: 20px 24px 24px; max-width: none; }
.hoa-cur-dialog .hoa-cur-form.is-done > :not(.hoa-cur-form__result) { display: none; }
html.hoa-cur-lock { overflow: hidden; }

/* ---------- Tables (requests) ---------- */
.hoa-cur-tablebar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.hoa-cur-tablewrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r); }
.hoa-cur-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 0; }
.hoa-cur-table th, .hoa-cur-table td { padding: 12px 14px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid var(--c-line); }
.hoa-cur-table th { background: var(--c-soft); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ghost); white-space: nowrap; }
.hoa-cur-table tr:last-child td { border-bottom: 0; }
.hoa-cur-table__msg { max-width: 300px; white-space: pre-line; color: var(--c-ink); }
.hoa-cur-table__actions { white-space: nowrap; }
.hoa-cur-table__actions > * + * { margin-left: 12px; }
.hoa-cur-status-select { min-height: 36px; padding: 6px 10px; font-size: .88rem; width: auto; }
.hoa-cur-status-select.is-saved { border-color: var(--c-ok); }
.hoa-cur-status-select.is-error { border-color: var(--c-err); }

/* ---------- Cards & listings ---------- */
.hoa-cur-filter { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 0 0 24px; }
.hoa-cur-filter nav, .hoa-cur-filter__when { display: flex; flex-wrap: wrap; gap: 6px; }
.hoa-cur-filter a { padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; color: var(--c-ink); font-size: .88rem; }
.hoa-cur-filter a:hover { border-color: var(--c-ink); }
.hoa-cur-filter a[aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.hoa-cur-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: var(--gap); }
.hoa-cur-cards--single { grid-template-columns: minmax(0, 420px); }
.hoa-cur-card { display: flex; flex-direction: column; border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.hoa-cur-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.hoa-cur-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--c-soft); }
.hoa-cur-card__media img { width: 100%; height: 100%; object-fit: cover; }
.hoa-cur-card__date {
	position: absolute; left: 14px; bottom: -18px; min-width: 56px; padding: 6px 10px 8px; text-align: center;
	background: var(--c-primary); color: #fff; border-radius: var(--r);
	font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; line-height: 1;
}
.hoa-cur-card__date b { display: block; font-family: var(--f-head); font-size: 1.5rem; letter-spacing: 0; margin-bottom: 4px; }
.hoa-cur-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 30px 18px 18px; }
.hoa-cur-card__kind { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c-primary); }
.hoa-cur-card__title { font-size: 1.15rem; }
.hoa-cur-card__title a { color: var(--c-ink); text-decoration: none; }
.hoa-cur-card__title a:hover { color: var(--c-primary); }
.hoa-cur-card__meta { font-size: .88rem; color: var(--c-ghost); margin: 0; }
.hoa-cur-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--c-line); display: flex; justify-content: space-between; gap: 10px; align-items: center; font-size: .85rem; }
.hoa-cur-card__fee { font-weight: 700; color: var(--c-ink); }
.hoa-cur-card__host { color: var(--c-ghost); text-align: right; }
.hoa-cur-card.is-past { opacity: .72; }
.hoa-cur-card.is-past .hoa-cur-card__date { background: var(--c-ghost); }
.hoa-cur-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 32px 0 0; }
.hoa-cur-pager a, .hoa-cur-pager span { min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-line); border-radius: var(--r); text-decoration: none; color: var(--c-ink); }
.hoa-cur-pager [aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.hoa-cur-empty, .hoa-cur-empty-state { padding: 40px 20px; text-align: center; color: var(--c-ghost); border: 1px dashed var(--c-line); border-radius: var(--r); }
.hoa-cur-empty-state .hoa-cur-btn { margin-top: 14px; }

/* ---------- Curator profile ---------- */
.hoa-cur-profile__head { display: flex; gap: 22px; align-items: center; padding: 0 0 26px; margin: 0 0 28px; border-bottom: 1px solid var(--c-line); }
.hoa-cur-profile__logo { width: 112px; height: 112px; flex: none; border-radius: var(--r); object-fit: contain; background: #fff; border: 1px solid var(--c-line); padding: 8px; }
.hoa-cur-profile__name { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 6px; }
.hoa-cur-profile__addr { color: var(--c-ghost); margin: 0 0 12px; font-size: .95rem; }
.hoa-cur-contacts { display: flex; flex-wrap: wrap; gap: 8px; }
.hoa-cur-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 999px; color: var(--c-ink) !important; text-decoration: none; font-size: .88rem; }
.hoa-cur-chip:hover { border-color: var(--c-primary); color: var(--c-primary) !important; }
.hoa-cur-chip--icon { width: 38px; height: 38px; padding: 0; justify-content: center; }
.hoa-cur-founder { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; align-items: start; }
.hoa-cur-founder__photo { width: 140px; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.hoa-cur-founder__name { font-weight: 700; margin: 0 0 8px; }
.hoa-cur-curgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: var(--gap); }
.hoa-cur-curcard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 18px; border: 1px solid var(--c-line); border-radius: var(--r); text-decoration: none; color: inherit; background: #fff; transition: border-color .15s; }
.hoa-cur-curcard:hover { border-color: var(--c-primary); }
.hoa-cur-curcard__logo { width: 88px; height: 88px; object-fit: contain; border-radius: 50%; background: var(--c-soft); border: 1px solid var(--c-line); padding: 6px; }
.hoa-cur-curcard__name { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; color: var(--c-ink); }
.hoa-cur-curcard__meta { font-size: .85rem; color: var(--c-ghost); }

/* ---------- Dashboard ---------- */
.hoa-cur-dash__head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 0 0 20px; }
.hoa-cur-dash__logo { width: 60px; height: 60px; border-radius: 50%; object-fit: contain; border: 1px solid var(--c-line); background: #fff; }
.hoa-cur-dash__name { font-size: 1.4rem; }
.hoa-cur-dash__sub { color: var(--c-ghost); font-size: .9rem; margin: 2px 0 0; }
.hoa-cur-dash__cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.hoa-cur-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--c-line); margin: 0 0 24px; scrollbar-width: thin; }
.hoa-cur-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; white-space: nowrap; text-decoration: none; color: var(--c-ghost); font-weight: 600; font-size: .92rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.hoa-cur-tabs a:hover { color: var(--c-ink); }
.hoa-cur-tabs a[aria-current] { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.hoa-cur-dash__panel { min-width: 0; }
.hoa-cur-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 24px; }
.hoa-cur-stats > div { padding: 16px 18px; border: 1px solid var(--c-line); border-radius: var(--r); border-top: 3px solid var(--c-primary); }
.hoa-cur-stats dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ghost); }
.hoa-cur-stats dd { margin: 6px 0 0; font-family: var(--f-head); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.hoa-cur-stats dd a { color: inherit; text-decoration: none; }
.hoa-cur-log, .hoa-cur-notes { list-style: none; margin: 0; padding: 0; }
.hoa-cur-log li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: .92rem; }
.hoa-cur-log time { color: var(--c-ghost); font-size: .84rem; font-variant-numeric: tabular-nums; }
.hoa-cur-log small { color: var(--c-ghost); }
.hoa-cur-notes li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: .92rem; }
.hoa-cur-notes li a { color: var(--c-ink); text-decoration: none; }
.hoa-cur-notes li a:hover { color: var(--c-primary); }
.hoa-cur-notes small { display: block; color: var(--c-ghost); font-size: .8rem; margin-top: 2px; }
.hoa-cur-notes__dot { flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: transparent; }
.hoa-cur-notes li.is-unread { font-weight: 600; }
.hoa-cur-notes li.is-unread .hoa-cur-notes__dot { background: var(--c-primary); }

/* Notification bell */
.hoa-cur-bell { position: relative; display: inline-block; }
.hoa-cur-bell__btn { position: relative; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--c-line); border-radius: 50%; background: #fff; color: var(--c-ink); cursor: pointer; }
.hoa-cur-bell__btn:hover { border-color: var(--c-ink); }
.hoa-cur-bell__count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--c-primary); color: #fff; font-size: .68rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.hoa-cur-bell__panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 1000; width: min(340px, 90vw); max-height: 420px; overflow: auto; padding: 0 16px 8px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); box-shadow: 0 14px 40px rgba(0,0,0,.14); text-align: left; }
.hoa-cur-bell__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; background: #fff; border-bottom: 1px solid var(--c-line); }
.hoa-cur-bell__all { display: block; padding: 10px 0 4px; font-size: .88rem; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.hoa-cur-event__layout { grid-template-columns: minmax(0, 1fr); }
	.hoa-cur-event__panel { position: static; order: -1; }
	.hoa-cur-dateblock { margin-top: -48px; }
}
@media (max-width: 640px) {
	.hoa-cur-grid--2, .hoa-cur-choice { grid-template-columns: minmax(0, 1fr); }
	.hoa-cur-row--agenda { grid-template-columns: minmax(0, 1fr) 36px; }
	.hoa-cur-row--agenda .hoa-cur-row__f--wide, .hoa-cur-row--agenda .hoa-cur-row__f:not(.hoa-cur-row__f--time) { grid-column: 1 / 2; }
	.hoa-cur-row--fee { grid-template-columns: minmax(0, 1fr) 36px; }
	.hoa-cur-row--fee .hoa-cur-row__f--amount { grid-column: 1 / 2; }
	.hoa-cur-agenda li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.hoa-cur-profile__head { flex-direction: column; align-items: flex-start; }
	.hoa-cur-founder { grid-template-columns: minmax(0, 1fr); }
	.hoa-cur-log li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
	.hoa-cur-dash__cta { margin-left: 0; width: 100%; }
	.hoa-cur-fieldset { padding: 16px; }
	.hoa-cur-actions .hoa-cur-btn { flex: 1 1 auto; }
	/* Stack table rows as cards */
	.hoa-cur-tablewrap { border: 0; overflow: visible; }
	.hoa-cur-table thead { position: absolute; left: -9999px; }
	.hoa-cur-table, .hoa-cur-table tbody, .hoa-cur-table tr, .hoa-cur-table td { display: block; width: 100%; }
	.hoa-cur-table tr { border: 1px solid var(--c-line); border-radius: var(--r); margin: 0 0 12px; padding: 6px 0; }
	.hoa-cur-table td { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; padding: 8px 14px; border: 0; }
	.hoa-cur-table td::before { content: attr(data-label); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ghost); padding-top: 2px; }
	.hoa-cur-table__msg { max-width: none; }
	.hoa-cur-dialog { max-height: calc(100vh - 16px); }
	.hoa-cur-dialog__head, .hoa-cur-dialog .hoa-cur-form { padding-left: 18px; padding-right: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.hoa-cur *, .hoa-cur *::before, .hoa-cur *::after, .hoa-cur-dialog[open] { animation: none !important; transition: none !important; }
	.hoa-cur-card:hover { transform: none; }
}
@media print {
	.hoa-cur-share, .hoa-cur-interest, .hoa-cur-ownerbar, .hoa-cur-bell { display: none !important; }
}
.hoa-cur-notes time { display: block; color: var(--c-ghost); font-size: .78rem; font-weight: 400; margin-top: 2px; }

/* =====================================================================
 * 1.1 — Sign-up landing page (mirrors "Sell Artwork on HOA")
 * ================================================================== */
.hoa-cur-landing { max-width: 1080px; margin: 0 auto; }
.hoa-cur-hero { text-align: center; max-width: 760px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.hoa-cur-hero__eyebrow { margin: 0 0 12px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-primary); }
.hoa-cur-hero__title { font-family: var(--f-head); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; color: var(--c-ink); }
.hoa-cur-hero__lead { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--c-ink); opacity: .85; margin: 0 auto 26px; max-width: 62ch; }
.hoa-cur-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0; }
.hoa-cur-kpis { list-style: none; margin: 0 0 clamp(32px, 5vw, 56px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hoa-cur-kpis li { padding: 22px 20px; border: 1px solid var(--c-line); border-top: 3px solid var(--c-primary); border-radius: var(--r); background: #fff; text-align: center; }
.hoa-cur-kpis strong { display: block; font-family: var(--f-head); font-size: 1.45rem; line-height: 1.15; color: var(--c-ink); }
.hoa-cur-kpis span { display: block; margin-top: 6px; font-size: .88rem; color: var(--c-ghost); }
.hoa-cur-how { max-width: 820px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.hoa-cur-how > p { max-width: 64ch; margin: 0 auto 26px; }
.hoa-cur-steps { list-style: none; counter-reset: hoa-step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; text-align: left; }
.hoa-cur-steps li { counter-increment: hoa-step; position: relative; padding: 46px 16px 18px; border-radius: var(--r); background: var(--c-soft); }
.hoa-cur-steps li::before { content: counter(hoa-step, decimal-leading-zero); position: absolute; top: 14px; left: 16px; font-family: var(--f-head); font-weight: 700; font-size: .9rem; color: var(--c-primary); letter-spacing: .06em; }
.hoa-cur-steps strong { display: block; margin-bottom: 4px; }
.hoa-cur-steps span { display: block; font-size: .88rem; color: var(--c-ghost); line-height: 1.45; }
.hoa-cur-join { max-width: 520px; margin: 0 auto clamp(32px, 5vw, 56px); scroll-margin-top: 100px; }
.hoa-cur-join--status { max-width: 640px; text-align: center; padding: 36px 24px; border: 1px solid var(--c-line); border-radius: var(--r); }
.hoa-cur-join--status .hoa-cur-actions { justify-content: center; }
.hoa-cur-join__intro { text-align: center; color: var(--c-ghost); margin: 0 0 16px; }
.hoa-cur-joinbox { padding: clamp(20px, 4vw, 32px); border: 1px solid var(--c-line); border-top: 4px solid var(--c-primary); border-radius: var(--r); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.05); max-width: none; }
.hoa-cur-joinbox__title { font-family: var(--f-head); font-size: 1.35rem; margin: 0 0 6px; }
.hoa-cur-joinbox__sub { color: var(--c-ghost); font-size: .92rem; margin: 0 0 20px; }
.hoa-cur-joinbox__switch { text-align: center; font-size: .92rem; margin: 14px 0 0; }
.hoa-cur-joinbox--done { text-align: center; }
.hoa-cur-joinbox--done .hoa-cur-actions { justify-content: center; }
.hoa-cur-joinbox__icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 50%; background: var(--c-tint); color: var(--c-primary); margin-bottom: 12px; }
.hoa-cur-joinbox__icon .hoa-cur-icon { width: 26px; height: 26px; }
.hoa-cur-joinbox .woocommerce-error, .hoa-cur-join .woocommerce-error, .hoa-cur-join .woocommerce-message, .hoa-cur-join .woocommerce-info { margin: 0 0 16px; }
.hoa-cur-apphead { max-width: 820px; margin: 0 0 24px; scroll-margin-top: 100px; }
.hoa-cur-quote { border-left: 3px solid var(--c-primary); margin: 0 auto 16px; padding: 8px 14px; max-width: 520px; text-align: left; background: var(--c-soft); }

/* =====================================================================
 * 1.1 — Programs
 * ================================================================== */
.hoa-cur-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hoa-cur-row--sponsor { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px; }
.hoa-cur-row--sponsor .hoa-cur-row__f--wide { grid-column: 1 / 3; }
.hoa-cur-row__lbl { display: block; font-size: .78rem; color: var(--c-ghost); margin: 0 0 4px; font-weight: 600; }
.hoa-cur-evlist { display: grid; gap: 8px; max-height: 340px; overflow: auto; padding: 4px; margin: 0 0 12px; }
.hoa-cur-evpick { padding: 10px 12px; border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; }
.hoa-cur-evpick:has(input:checked) { border-color: var(--c-primary); background: var(--c-tint); }
.hoa-cur-evpick strong, .hoa-cur-evpick small { display: block; }
.hoa-cur-evpick small { color: var(--c-ghost); font-size: .82rem; }
.hoa-cur-presenter { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.hoa-cur-fieldset .hoa-cur-presenter { margin: 0 0 8px; padding: 0; border: 0; }
.hoa-cur-presenter__head { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.hoa-cur-presenter__about { font-size: .9rem; color: var(--c-ink); opacity: .85; margin: 0 0 8px; }
.hoa-cur-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 10px; }
.hoa-cur-people li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--r); }
.hoa-cur-people__icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--c-tint); color: var(--c-primary); }
.hoa-cur-people small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ghost); }
.hoa-cur-people strong { display: block; }
.hoa-cur-sponsors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.hoa-cur-sponsors a, .hoa-cur-sponsors li > div { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 12px; border: 1px solid var(--c-line); border-radius: var(--r); text-decoration: none; color: var(--c-ink) !important; text-align: center; height: 100%; }
.hoa-cur-sponsors a:hover { border-color: var(--c-primary); }
.hoa-cur-sponsors__logo { display: flex; align-items: center; justify-content: center; height: 64px; width: 100%; font-weight: 700; }
.hoa-cur-sponsors__logo img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.hoa-cur-sponsors__name { font-size: .85rem; color: var(--c-ghost); }
.hoa-cur-filter__cats { display: flex; flex-wrap: wrap; gap: 6px; }

/* Slider */
.hoa-cur-slider { position: relative; margin: 0 0 28px; border-radius: var(--r); overflow: hidden; background: var(--c-soft); }
.hoa-cur-slider__track { display: flex; transition: transform .5s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.hoa-cur-slider__slide { flex: 0 0 100%; margin: 0; }
.hoa-cur-slider__slide img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; }
.hoa-cur-slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--c-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.hoa-cur-slider__nav:hover { background: var(--c-primary); color: #fff; }
.hoa-cur-slider__nav--prev { left: 14px; }
.hoa-cur-slider__nav--next { right: 14px; }
.hoa-cur-slider__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.hoa-cur-slider__dots button { width: 10px; height: 10px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; }
.hoa-cur-slider__dots button[aria-current] { background: var(--c-primary); border-color: var(--c-primary); width: 26px; border-radius: 6px; }
.hoa-cur-program .hoa-cur-dateblock { margin-top: -40px; }

/* Dashboard header now holds two buttons */
.hoa-cur-dash__cta { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 900px) {
	.hoa-cur-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.hoa-cur-kpis, .hoa-cur-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.hoa-cur-steps { grid-template-columns: minmax(0, 1fr); }
	.hoa-cur-row--sponsor { grid-template-columns: minmax(0, 1fr) 36px; }
	.hoa-cur-row--sponsor .hoa-cur-row__f, .hoa-cur-row--sponsor .hoa-cur-row__f--wide { grid-column: 1 / 2; }
	.hoa-cur-slider__nav { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
	.hoa-cur-slider__track { transition: none; }
}

/* Theme guard: Divi and most themes add bullets and padding to content lists. */
.hoa-cur ul[class], .hoa-cur ol[class] { list-style: none; padding: 0; }
.hoa-cur ul[class] > li, .hoa-cur ol[class] > li { list-style: none; }
.hoa-cur ul[class] > li::marker { content: none; }

/* =====================================================================
 * 1.2 — Step-by-step forms
 * ================================================================== */
.hoa-cur-form.is-stepped > fieldset[hidden] { display: none !important; }
.hoa-cur-stepper { list-style: none; margin: 0 0 8px; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; counter-reset: none; }
.hoa-cur-stepper li { flex: 1 1 0; min-width: 118px; }
.hoa-cur-stepper button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 10px 12px; border: 0; border-bottom: 3px solid var(--c-line); background: transparent; color: var(--c-ghost); font: inherit; font-size: .84rem; text-align: left; cursor: pointer; }
.hoa-cur-stepper button:disabled { cursor: not-allowed; opacity: .6; }
.hoa-cur-stepper__n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--c-soft); font-weight: 700; font-size: .8rem; }
.hoa-cur-stepper__t { line-height: 1.25; }
.hoa-cur-stepper .is-done button { color: var(--c-ink); border-bottom-color: color-mix(in srgb, var(--c-primary) 45%, transparent); }
.hoa-cur-stepper .is-done .hoa-cur-stepper__n { background: var(--c-tint); color: var(--c-primary); }
.hoa-cur-stepper .is-current button { color: var(--c-ink); font-weight: 600; border-bottom-color: var(--c-primary); }
.hoa-cur-stepper .is-current .hoa-cur-stepper__n { background: var(--c-primary); color: #fff; }
.hoa-cur-stepcount { margin: 0 0 16px; font-size: .8rem; color: var(--c-ghost); letter-spacing: .04em; text-transform: uppercase; }
.hoa-cur-stepbar { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.hoa-cur-stepbar [hidden] + .hoa-cur-btn, .hoa-cur-stepbar .hoa-cur-btn--primary:only-child { margin-left: auto; }
.hoa-cur-form.is-stepped > .hoa-cur-actions:empty { display: none; }

/* Upload progress */
.hoa-cur-form { position: relative; }
.hoa-cur-upload { display: none; position: fixed; inset: 0; z-index: 100000; background: rgba(21,21,21,.55); align-items: center; justify-content: center; padding: 16px; }
.hoa-cur-upload.is-open { display: flex; }
.hoa-cur-upload__box { width: min(440px, 100%); background: #fff; border-radius: calc(var(--r) + 2px); border-top: 4px solid var(--c-primary); padding: 22px 24px 18px; box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.hoa-cur-upload__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; margin: 0 0 12px; }
.hoa-cur-upload__pct { font-family: var(--f-head); font-size: 1.6rem; font-weight: 700; color: var(--c-primary); font-variant-numeric: tabular-nums; }
.hoa-cur-upload__bar { height: 10px; border-radius: 999px; background: var(--c-soft); overflow: hidden; }
.hoa-cur-upload__bar i { display: block; height: 100%; width: 0; background: var(--c-primary); border-radius: inherit; transition: width .2s linear; }
.hoa-cur-upload.is-done .hoa-cur-upload__bar i { background: repeating-linear-gradient(45deg, var(--c-primary) 0 12px, color-mix(in srgb, var(--c-primary) 70%, #fff) 12px 24px); background-size: 34px 34px; animation: hoa-cur-stripes .8s linear infinite; }
@keyframes hoa-cur-stripes { to { background-position: 34px 0; } }
.hoa-cur-upload__size { margin: 10px 0 6px; font-size: .88rem; color: var(--c-ghost); font-variant-numeric: tabular-nums; }
.hoa-cur-upload.is-error .hoa-cur-upload__box { border-top-color: var(--c-err); }
.hoa-cur-upload.is-error .hoa-cur-upload__title { color: var(--c-err); }
.hoa-cur-upload.is-error .hoa-cur-upload__pct, .hoa-cur-upload.is-error .hoa-cur-upload__bar { display: none; }
.hoa-cur-file__meta { margin: 6px 0 0; font-size: .84rem; color: var(--c-ink); word-break: break-all; }
.hoa-cur-file__meta.is-error { color: var(--c-err); font-weight: 600; }

/* Confirmation after saving */
.hoa-cur-alert--ok { position: relative; padding-left: 44px; }
.hoa-cur-alert--ok::before { content: ""; position: absolute; left: 16px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--c-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.hoa-cur-alert:focus { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* Event: part of a program */
a.hoa-cur-partof { display: flex; align-items: center; gap: 14px; margin: -6px 0 24px; padding: 12px 14px; border: 1px solid var(--c-line); border-left: 4px solid var(--c-primary); border-radius: var(--r); background: var(--c-tint); color: var(--c-ink) !important; text-decoration: none; }
a.hoa-cur-partof:hover { border-color: var(--c-primary); }
.hoa-cur-partof__img { flex: none; width: 56px; height: 56px; border-radius: var(--r); object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--c-primary); }
.hoa-cur-partof small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary); }
.hoa-cur-partof strong { display: block; font-family: var(--f-head); font-size: 1.05rem; }
.hoa-cur-partof em { display: block; font-style: normal; font-size: .84rem; color: var(--c-ghost); }
.hoa-cur-partof__go { margin-left: auto; color: var(--c-primary); }

/* Account: danger zone */
.hoa-cur-btn--danger { background: #fff; border-color: var(--c-err); color: var(--c-err); }
.hoa-cur-btn--danger:hover { background: var(--c-err); border-color: var(--c-err); color: #fff; }
.hoa-cur-danger-zone { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--c-line); }
.hoa-cur-danger-zone .hoa-cur-form { padding: 18px 20px; margin: 0 0 16px; border: 1px solid color-mix(in srgb, var(--c-err) 30%, transparent); border-radius: var(--r); background: #fffafa; }
.hoa-cur-danger-zone .hoa-cur-form p { margin: 0 0 14px; font-size: .92rem; }

/* Support tickets */
.hoa-cur-status--topen { background: #fdf3e0; color: var(--c-warn); }
.hoa-cur-status--tanswered { background: #e8f3ec; color: var(--c-ok); }
.hoa-cur-status--tclosed { background: var(--c-soft); color: var(--c-ghost); }
.hoa-cur-thread__head { margin: 0 0 16px; }
.hoa-cur-thread__head .hoa-cur-h3 { margin-top: 0; }
.hoa-cur-msgs { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.hoa-cur-msg { padding: 14px 16px; border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; margin-right: 12%; }
.hoa-cur-msg--staff { margin: 0 0 0 12%; background: var(--c-tint); border-color: color-mix(in srgb, var(--c-primary) 25%, transparent); }
.hoa-cur-msg__meta { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: .84rem; }
.hoa-cur-msg__meta time { color: var(--c-ghost); }
.hoa-cur-msg .hoa-cur-prose p:last-child { margin-bottom: 0; }
.hoa-cur-msg .hoa-cur-doc { margin-top: 10px; }
.hoa-cur-thread__close { margin-top: 10px; }
.hoa-cur-pill { margin-right: 4px; }
@media (max-width: 640px) {
	.hoa-cur-stepper li { min-width: 44px; flex: 0 0 auto; }
	.hoa-cur-stepper .hoa-cur-stepper__t { display: none; }
	.hoa-cur-stepper .is-current .hoa-cur-stepper__t { display: inline; }
	.hoa-cur-msg, .hoa-cur-msg--staff { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.hoa-cur-upload.is-done .hoa-cur-upload__bar i { animation: none; }
}

/* ==========================================================================
   1.3 — Top bar, sidebar, and a quieter look for public pages
   Appended last so it wins at equal specificity.
   ========================================================================== */

/* ---------- Top bar ---------- */

.hoa-cur-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gap);
	flex-wrap: wrap;
	padding: 0 0 14px;
	margin: 0 0 22px;
	border-bottom: 1px solid var(--c-line);
}
.hoa-cur-topbar__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hoa-cur-topbar__avatar {
	width: 40px; height: 40px; flex: none;
	border-radius: 50%; object-fit: cover;
}
.hoa-cur-topbar__initial {
	display: flex; align-items: center; justify-content: center;
	background: var(--c-tint); color: var(--c-primary);
	font-weight: 600; font-size: 17px;
}
.hoa-cur-topbar__name { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.hoa-cur-topbar__name strong { font-family: var(--f-head); font-size: 16px; }
.hoa-cur-topbar__name > span { font-size: 12.5px; color: var(--c-ghost); }

.hoa-cur-topbar__actions { display: flex; align-items: center; gap: 8px; }
.hoa-cur-topbar__link {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 13px; text-decoration: none; color: var(--c-ghost);
}
.hoa-cur-topbar__link:hover { color: var(--c-primary); }
.hoa-cur-topbar__link .hoa-cur-icon { width: 16px; height: 16px; }

.hoa-cur-topbar__bell {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px;
	border-radius: 50%; color: var(--c-ink);
}
.hoa-cur-topbar__bell:hover { background: var(--c-soft); color: var(--c-primary); }
.hoa-cur-topbar__dot {
	position: absolute; top: 2px; right: 0;
	min-width: 17px; padding: 0 4px;
	border-radius: 9px; background: var(--c-primary); color: #fff;
	font-size: 10.5px; font-weight: 700; line-height: 17px; text-align: center;
}

/* ---------- Shell: sidebar left, panel right ---------- */

.hoa-cur-shell {
	display: grid;
	grid-template-columns: 236px minmax(0, 1fr);
	gap: calc(var(--gap) + 8px);
	align-items: start;
}
.hoa-cur-shell__main { min-width: 0; }
.hoa-cur-dash__heading {
	font-family: var(--f-head);
	font-size: clamp(20px, 2.4vw, 26px);
	margin: 0 0 18px;
	color: var(--c-ink);
}

/* ---------- Sidebar ---------- */

.hoa-cur-nav { position: sticky; top: 90px; }
.hoa-cur-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.hoa-cur-nav__list li { margin: 0; }

.hoa-cur-nav__link {
	position: relative;
	display: flex; align-items: center; gap: 11px;
	min-height: 42px; padding: 9px 12px;
	border-radius: var(--r);
	font-size: 14.5px; line-height: 1.25;
	color: var(--c-ink); text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
.hoa-cur-nav__link:hover { background: var(--c-soft); color: var(--c-primary); }
.hoa-cur-nav__link[aria-current="page"] { background: var(--c-tint); color: var(--c-primary); font-weight: 600; }
.hoa-cur-nav__link[aria-current="page"]::before {
	content: ''; position: absolute; left: 0; top: 9px; bottom: 9px;
	width: 3px; border-radius: 0 3px 3px 0; background: var(--c-primary);
}
.hoa-cur-nav__link .hoa-cur-icon { width: 19px; height: 19px; opacity: .85; }
.hoa-cur-nav__label { flex: 1 1 auto; }

.hoa-cur-nav__badge {
	flex: none; min-width: 20px; padding: 1px 6px;
	border-radius: 10px; background: var(--c-primary); color: #fff;
	font-size: 11.5px; font-weight: 700; line-height: 1.5; text-align: center;
}

.hoa-cur-nav__out { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--c-line); }
.hoa-cur-nav__out .hoa-cur-nav__link { color: var(--c-ghost); }
.hoa-cur-nav__out .hoa-cur-nav__link:hover { color: var(--c-primary); }

.hoa-cur-nav__toggle { display: none; }

@media (max-width: 880px) {
	.hoa-cur-shell { grid-template-columns: 1fr; gap: 16px; }
	.hoa-cur-nav { position: static; border: 1px solid var(--c-line); border-radius: var(--r); padding: 4px; }

	.hoa-cur-nav.is-js .hoa-cur-nav__toggle {
		display: flex; align-items: center; gap: 11px;
		width: 100%; min-height: 46px; padding: 9px 12px;
		background: none; border: 0; border-radius: var(--r);
		font: inherit; font-size: 15px; font-weight: 600;
		color: var(--c-primary); text-align: left; cursor: pointer;
	}
	.hoa-cur-nav__toggle-label { flex: 1 1 auto; }
	.hoa-cur-nav__chevron { display: flex; transition: transform .2s ease; }
	.hoa-cur-nav.is-js.is-open .hoa-cur-nav__chevron { transform: rotate(180deg); }
	.hoa-cur-nav.is-js .hoa-cur-nav__list { display: none; padding-top: 4px; margin-top: 4px; border-top: 1px solid var(--c-line); }
	.hoa-cur-nav.is-js.is-open .hoa-cur-nav__list { display: flex; }
	.hoa-cur-nav__link { min-height: 46px; }

	.hoa-cur-topbar { padding-bottom: 12px; margin-bottom: 16px; }
	.hoa-cur-topbar__link span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hoa-cur-nav__chevron { transition: none; } }

/* ==========================================================================
   Public pages — cards, listings, detail, profile
   Quieter surfaces, one clear accent, and generous space. The artwork and
   the photographs carry the page; the interface gets out of the way.
   ========================================================================== */

/* ---------- Cards ---------- */

.hoa-cur-cards { gap: calc(var(--gap) + 4px) var(--gap); }

.hoa-cur-card {
	background: #fff;
	border: 1px solid var(--c-line);
	border-radius: calc(var(--r) + 4px);
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.hoa-cur-card:hover {
	border-color: color-mix(in srgb, var(--c-primary) 30%, transparent);
	box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
	transform: translateY(-2px);
}
/* display:block matters: this element is an <a>, and an inline box cannot
   anchor an absolutely-positioned child — the date badge stretched into a
   full-height column without it. */
.hoa-cur-card__media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--c-soft); overflow: hidden; }
.hoa-cur-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hoa-cur-card:hover .hoa-cur-card__media img { transform: scale(1.035); }

.hoa-cur-card__body { padding: 16px 18px 18px; }
.hoa-cur-card__kind {
	font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
	color: var(--c-primary);
}
.hoa-cur-card__title {
	font-family: var(--f-head);
	font-size: 17.5px; line-height: 1.3; margin: 5px 0 8px;
	letter-spacing: -.01em;
}
.hoa-cur-card__meta { font-size: 13.5px; color: var(--c-ghost); display: flex; flex-direction: column; gap: 3px; }
.hoa-cur-card__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--c-line);
	font-size: 13px;
}
.hoa-cur-card__fee { font-weight: 600; color: var(--c-ink); }
.hoa-cur-card__host { color: var(--c-ghost); }

/* The date badge keeps the original maroon treatment, defined once above.
   Only the standalone .hoa-cur-dateblock, used outside cards, is styled here. */
.hoa-cur-dateblock {
	position: absolute; top: 12px; left: 12px;
	background: rgba(255, 255, 255, .95);
	border-radius: var(--r); padding: 6px 9px;
	text-align: center; line-height: 1.05;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
}
.hoa-cur-dateblock__day { display: block; font-size: 19px; font-weight: 700; color: var(--c-ink); }
.hoa-cur-dateblock__month { display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ghost); }

/* ---------- Curator cards ---------- */

.hoa-cur-curcard { border: 1px solid var(--c-line); border-radius: calc(var(--r) + 4px); background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.hoa-cur-curcard:hover { border-color: color-mix(in srgb, var(--c-primary) 30%, transparent); box-shadow: 0 8px 22px rgba(0, 0, 0, .06); }
.hoa-cur-curcard__logo { border-radius: 50%; object-fit: cover; }
.hoa-cur-curcard__name { font-family: var(--f-head); font-size: 17px; letter-spacing: -.01em; }
.hoa-cur-curcard__meta { font-size: 13.5px; color: var(--c-ghost); }

/* ---------- Detail pages ---------- */

.hoa-cur-event, .hoa-cur-program, .hoa-cur-profile { max-width: 940px; margin-inline: auto; }

.hoa-cur-event__title, .hoa-cur-program__title, .hoa-cur-profile__name {
	font-family: var(--f-head);
	font-size: clamp(26px, 4.4vw, 42px);
	line-height: 1.08;
	letter-spacing: -.02em;
	margin: 6px 0 10px;
}
.hoa-cur-event__hero, .hoa-cur-program__hero {
	border-radius: calc(var(--r) + 8px);
	overflow: hidden;
	margin-bottom: clamp(20px, 3vw, 32px);
	background: var(--c-soft);
}

/* Facts in one quiet row rather than a boxed sidebar. */
.hoa-cur-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0;
	border: 1px solid var(--c-line);
	border-radius: calc(var(--r) + 2px);
	margin: 0 0 clamp(20px, 3vw, 30px);
	background: #fff;
}
.hoa-cur-facts > div { padding: 15px 18px; border-right: 1px solid var(--c-line); }
.hoa-cur-facts > div:last-child { border-right: 0; }
.hoa-cur-facts dt, .hoa-cur-facts .hoa-cur-facts__label {
	font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	color: var(--c-primary); margin: 0 0 5px;
}
.hoa-cur-facts dd, .hoa-cur-facts .hoa-cur-facts__value { margin: 0; font-size: 15px; line-height: 1.35; }
.hoa-cur-facts small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--c-ghost); }

@media (max-width: 700px) {
	.hoa-cur-facts { grid-template-columns: 1fr 1fr; }
	.hoa-cur-facts > div { border-bottom: 1px solid var(--c-line); }
	.hoa-cur-facts > div:nth-child(2n) { border-right: 0; }
}

/* ---------- Curator profile ---------- */

.hoa-cur-profile__head {
	display: flex; align-items: center; gap: clamp(16px, 3vw, 28px);
	padding-bottom: clamp(18px, 3vw, 28px);
	margin-bottom: clamp(20px, 3vw, 30px);
	border-bottom: 1px solid var(--c-line);
}
.hoa-cur-profile__logo {
	width: clamp(84px, 12vw, 116px); height: clamp(84px, 12vw, 116px);
	flex: none; border-radius: 50%; object-fit: cover;
}
.hoa-cur-profile__tag { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-primary); }
.hoa-cur-profile__bio { font-size: 16.5px; line-height: 1.75; max-width: 68ch; }

.hoa-cur-section-title {
	font-family: var(--f-head);
	font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--c-ghost);
	padding-bottom: 8px; margin: clamp(28px, 4vw, 44px) 0 16px;
	border-bottom: 1px solid var(--c-line);
}

/* ---------- Chips, agenda, sharing ---------- */

.hoa-cur-chip {
	border-radius: 999px;
	font-size: 12.5px;
	border: 1px solid var(--c-line);
	background: #fff;
}
.hoa-cur-cat { border-radius: 999px; font-size: 12.5px; }


/* ---------- Empty states ---------- */

.hoa-cur-empty-state {
	text-align: center;
	padding: clamp(32px, 6vw, 60px) 24px;
	border: 1px dashed var(--c-line);
	border-radius: calc(var(--r) + 4px);
	color: var(--c-ghost);
	background: var(--c-soft);
}
.hoa-cur-empty-state p:first-child { font-size: 16px; color: var(--c-ink); margin-top: 0; }

/* ==========================================================================
   Brand layer — buttons, forms, messages
   Declared last, so it settles the look of every control in one place.
   ========================================================================== */

/* ---------- Buttons: primary, secondary, ghost ---------- */

.hoa-cur-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: var(--r);
	font-family: var(--f-body);
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .05s ease;
}
.hoa-cur-btn:active { transform: translateY(1px); }
.hoa-cur-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 28%, transparent); }

/* Primary — the one main action on a screen. */
.hoa-cur-btn--primary {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: #fff;
}
.hoa-cur-btn--primary:hover {
	background: color-mix(in srgb, var(--c-primary) 84%, #000);
	border-color: color-mix(in srgb, var(--c-primary) 84%, #000);
	color: #fff;
}
.hoa-cur-btn--primary:active { background: color-mix(in srgb, var(--c-primary) 70%, #000); }

/* Secondary — supporting actions, outlined in the brand colour. */
.hoa-cur-btn--secondary {
	background: #fff;
	border-color: var(--c-primary);
	color: var(--c-primary);
}
.hoa-cur-btn--secondary:hover {
	background: var(--c-tint);
	border-color: color-mix(in srgb, var(--c-primary) 84%, #000);
	color: color-mix(in srgb, var(--c-primary) 84%, #000);
}
.hoa-cur-btn--secondary:active { background: color-mix(in srgb, var(--c-primary) 14%, #fff); }

/* Ghost — quiet, text-weight actions. */
.hoa-cur-btn--ghost {
	background: transparent;
	border-color: transparent;
	color: var(--c-primary);
	padding-inline: 14px;
}
.hoa-cur-btn--ghost:hover { background: var(--c-tint); border-color: transparent; color: var(--c-primary); }
.hoa-cur-btn--ghost:active { background: color-mix(in srgb, var(--c-primary) 14%, #fff); }

.hoa-cur-btn--danger { background: var(--c-err); border-color: var(--c-err); color: #fff; }
.hoa-cur-btn--danger:hover { background: color-mix(in srgb, var(--c-err) 84%, #000); border-color: color-mix(in srgb, var(--c-err) 84%, #000); color: #fff; }

.hoa-cur-btn[disabled], .hoa-cur-btn[aria-busy="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.hoa-cur-btn--sm { min-height: 36px; padding: 7px 14px; font-size: 13px; }
.hoa-cur-btn .hoa-cur-icon { width: 17px; height: 17px; }

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.hoa-cur-btn--primary:hover { background: #4d0000; border-color: #4d0000; }
	.hoa-cur-btn--secondary:hover { background: #f7eded; }
	.hoa-cur-btn:focus-visible { box-shadow: 0 0 0 3px rgba(102, 0, 0, .28); }
}

/* ---------- Forms ---------- */

.hoa-cur-field { margin-bottom: 18px; }
.hoa-cur-field > label,
.hoa-cur-label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--c-ink);
}
.hoa-cur-req { color: var(--c-primary); }
.hoa-cur-optional { font-weight: 400; font-size: 12.5px; color: var(--c-ghost); }

.hoa-cur input[type="text"], .hoa-cur input[type="email"], .hoa-cur input[type="url"],
.hoa-cur input[type="tel"], .hoa-cur input[type="number"], .hoa-cur input[type="search"],
.hoa-cur input[type="password"], .hoa-cur input[type="date"], .hoa-cur input[type="time"],
.hoa-cur input[type="datetime-local"], .hoa-cur select, .hoa-cur textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid var(--c-line);
	border-radius: var(--r);
	background: #fff;
	color: var(--c-ink);
	font-family: var(--f-body);
	font-size: 15px;
	line-height: 1.4;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.hoa-cur textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.hoa-cur input:hover, .hoa-cur select:hover, .hoa-cur textarea:hover { border-color: var(--c-ghost); }
.hoa-cur input:focus, .hoa-cur select:focus, .hoa-cur textarea:focus {
	outline: none;
	border-color: var(--c-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 22%, transparent);
}
.hoa-cur input::placeholder, .hoa-cur textarea::placeholder { color: var(--c-ghost); opacity: 1; }
.hoa-cur input[readonly], .hoa-cur textarea[readonly] { background: var(--c-soft); color: var(--c-ghost); }
.hoa-cur input:disabled, .hoa-cur select:disabled, .hoa-cur textarea:disabled { background: var(--c-soft); color: var(--c-ghost); cursor: not-allowed; }
.hoa-cur input[aria-invalid="true"], .hoa-cur select[aria-invalid="true"], .hoa-cur textarea[aria-invalid="true"] { border-color: var(--c-err); }

.hoa-cur select {
	appearance: none; -webkit-appearance: none;
	padding-right: 38px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23888' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

.hoa-cur input[type="checkbox"], .hoa-cur input[type="radio"] {
	width: 18px; height: 18px; min-height: 0;
	accent-color: var(--c-primary);
	margin: 0; flex: none; cursor: pointer;
}
.hoa-cur-check, .hoa-cur-radio {
	display: flex; align-items: flex-start; gap: 10px;
	font-size: 14.5px; font-weight: 400; line-height: 1.5;
	cursor: pointer;
}
.hoa-cur-check input, .hoa-cur-radio input { margin-top: 2px; }

.hoa-cur-help { display: block; margin-top: 5px; font-size: 12.5px; color: var(--c-ghost); line-height: 1.5; }
.hoa-cur-field--error .hoa-cur-help { color: var(--c-err); }

.hoa-cur input[type="file"] {
	width: 100%;
	padding: 12px;
	border: 1px dashed var(--c-line);
	border-radius: var(--r);
	background: var(--c-soft);
	font-size: 13.5px;
	color: var(--c-ghost);
}
.hoa-cur input[type="file"]::file-selector-button {
	margin-right: 12px; padding: 8px 14px;
	border: 1px solid var(--c-primary); border-radius: var(--r);
	background: #fff; color: var(--c-primary);
	font: inherit; font-weight: 600; cursor: pointer;
}
.hoa-cur input[type="file"]::file-selector-button:hover { background: var(--c-tint); }

.hoa-cur-fieldset {
	border: 1px solid var(--c-line);
	border-radius: calc(var(--r) + 2px);
	padding: 20px 22px 4px;
	margin: 0 0 22px;
	background: #fff;
}
.hoa-cur-fieldset > legend {
	padding: 0 8px;
	font-family: var(--f-head);
	font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	color: var(--c-primary);
}

.hoa-cur-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }

/* ---------- System messages ---------- */

.hoa-cur-alert {
	position: relative;
	padding: 14px 18px 14px 46px;
	border: 1px solid var(--c-line);
	border-left-width: 3px;
	border-radius: var(--r);
	font-size: 14.5px;
	line-height: 1.6;
	margin: 0 0 18px;
	background: #fff;
}
.hoa-cur-alert::before {
	content: "";
	position: absolute; left: 17px; top: 17px;
	width: 18px; height: 18px;
	border-radius: 50%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
}
.hoa-cur-alert strong { font-weight: 700; }
.hoa-cur-alert a { text-decoration: underline; }

.hoa-cur-alert--ok { border-color: var(--c-ok); background: #f1f8f3; padding-left: 46px; }
.hoa-cur-alert--ok::before { margin-top: 0; background-color: var(--c-ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 7 11l5-6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.hoa-cur-alert--error { border-color: var(--c-err); background: #fdf2f2; }
.hoa-cur-alert--error::before { background-color: var(--c-err); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v5M8 11.6v.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

.hoa-cur-alert--warn { border-color: var(--c-warn); background: #fdf7ec; }
.hoa-cur-alert--warn::before { background-color: var(--c-warn); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.4v4.4M8 11.6v.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

.hoa-cur-alert--info { border-color: var(--c-primary); background: var(--c-tint); }
.hoa-cur-alert--info::before { background-color: var(--c-primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 7.2v4.4M8 4.4v.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

.hoa-cur-alert ul { margin: 8px 0 0 18px; padding: 0; }
.hoa-cur-alert li { margin: 3px 0; }

/* Review status pills. */
.hoa-cur-status, .hoa-cur-pill {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .02em;
}
.hoa-cur-status--pending { background: #fdf3e4; color: var(--c-warn); }
.hoa-cur-status--approved { background: #eef7f1; color: var(--c-ok); }
.hoa-cur-status--rejected { background: #fdeeee; color: var(--c-err); }
.hoa-cur-status--draft { background: var(--c-soft); color: var(--c-ghost); }
.hoa-cur-pill { background: var(--c-tint); color: var(--c-primary); }

/* ---------- The curator guide ---------- */

.hoa-cur-guide { max-width: 760px; margin-inline: auto; }
.hoa-cur-guide__lede { font-size: 16.5px; color: var(--c-ghost); line-height: 1.7; margin-bottom: 30px; }
.hoa-cur-guide__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.hoa-cur-guide__steps li { display: flex; gap: 16px; align-items: flex-start; }
.hoa-cur-guide__num {
	flex: none;
	width: 30px; height: 30px;
	border-radius: 50%;
	background: var(--c-tint); color: var(--c-primary);
	font-size: 14px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.hoa-cur-guide__steps h3 { margin: 3px 0 5px; font-size: 16.5px; }
.hoa-cur-guide__steps p { margin: 0; color: var(--c-ghost); line-height: 1.65; }
.hoa-cur-guide__examples {
	margin-top: 36px; padding: 24px;
	border: 1px solid var(--c-line); border-radius: calc(var(--r) + 4px);
	background: var(--c-soft);
}
.hoa-cur-guide__examples h3 { margin-top: 0; }

@media (max-width: 620px) {
	.hoa-cur-actions { flex-direction: column; align-items: stretch; }
	.hoa-cur-actions .hoa-cur-btn { width: 100%; }
}

/* ==========================================================================
   1.5 — Curator, event and program pages: full width, one column
   ========================================================================== */

/* The theme's own title and meta repeat what these pages already show. */
.hoa-cur-page .et_post_meta_wrapper,
.hoa-cur-page .entry-title,
.hoa-cur-page .post-meta,
.hoa-cur-page #sidebar,
.hoa-cur-page .widget-area,
.hoa-cur-page aside.sidebar { display: none !important; }

.hoa-cur-page #left-area,
.hoa-cur-page .content-area,
.hoa-cur-page #content-area {
	width: 100% !important;
	max-width: 100% !important;
	padding-right: 0 !important;
	float: none !important;
}
.hoa-cur-page #main-content .container::before { display: none !important; }

/* ---------- Curator profile ---------- */

.hoa-cur-profile { max-width: 1080px; margin-inline: auto; }

.hoa-cur-ownerbar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
	padding: 12px 18px; margin-bottom: 28px;
	background: var(--c-tint);
	border: 1px solid color-mix(in srgb, var(--c-primary) 22%, transparent);
	border-radius: var(--r);
	font-size: 14px;
}

.hoa-cur-profile__head {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(20px, 4vw, 40px);
	align-items: center;
	padding-bottom: clamp(22px, 4vw, 36px);
	margin-bottom: clamp(24px, 4vw, 40px);
	border-bottom: 1px solid var(--c-line);
}
.hoa-cur-profile__logo {
	width: clamp(96px, 14vw, 150px);
	height: clamp(96px, 14vw, 150px);
	border-radius: 50%;
	overflow: hidden;
	background: var(--c-soft);
}
.hoa-cur-profile__logo img { width: 100%; height: 100%; object-fit: cover; }

.hoa-cur-event__kind, .hoa-cur-profile__kind {
	font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--c-primary); margin: 0 0 6px;
}
.hoa-cur-profile__name {
	font-family: var(--f-head);
	font-size: clamp(28px, 5vw, 46px);
	line-height: 1.05;
	letter-spacing: -.02em;
	margin: 0 0 10px;
}
.hoa-cur-profile__addr {
	display: flex; align-items: center; gap: 7px;
	margin: 0 0 14px; color: var(--c-ghost); font-size: 15px;
}

.hoa-cur-contacts { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Sections ---------- */

.hoa-cur-section { margin: 0 0 clamp(32px, 5vw, 56px); }
.hoa-cur-section > .hoa-cur-h2 {
	font-family: var(--f-head);
	font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--c-ghost);
	padding-bottom: 9px; margin: 0 0 18px;
	border-bottom: 1px solid var(--c-line);
}
.hoa-cur-prose { font-size: 16.5px; line-height: 1.75; max-width: 68ch; color: var(--c-ink); }
.hoa-cur-prose p { margin: 0 0 1em; }
.hoa-cur-prose p:last-child { margin-bottom: 0; }

.hoa-cur-founder { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(20px, 3vw, 34px); align-items: start; }
.hoa-cur-founder__photo { margin: 0; border-radius: calc(var(--r) + 4px); overflow: hidden; background: var(--c-soft); }
.hoa-cur-founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hoa-cur-founder__name { font-family: var(--f-head); font-size: 18px; margin: 0 0 8px; color: var(--c-ink); }
.hoa-cur-founder .hoa-cur-h2 { margin-top: 0; }

@media (max-width: 760px) {
	.hoa-cur-profile__head { grid-template-columns: 1fr; text-align: left; }
	.hoa-cur-founder { grid-template-columns: 1fr; }
	.hoa-cur-founder__photo { max-width: 200px; }
}

/* ==========================================================================
   1.5.1 — Notifications, and tables that fit their column
   ========================================================================== */

/* ---------- Notifications ---------- */

.hoa-cur-notifications { max-width: 820px; }

.hoa-cur-notif-day {
	font-family: var(--f-head);
	font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
	color: var(--c-primary);
	margin: 26px 0 10px;
}
.hoa-cur-notifications > .hoa-cur-notif-day:first-child { margin-top: 0; }

.hoa-cur-notif-list {
	list-style: none; margin: 0 0 6px; padding: 0;
	border: 1px solid var(--c-line);
	border-radius: calc(var(--r) + 2px);
	overflow: hidden;
	background: #fff;
}
.hoa-cur-notif {
	display: grid;
	grid-template-columns: 10px minmax(0, 1fr) auto;
	gap: 12px;
	align-items: start;
	padding: 14px 18px;
	border-bottom: 1px solid var(--c-line);
}
.hoa-cur-notif:last-child { border-bottom: 0; }

.hoa-cur-notif__dot {
	width: 8px; height: 8px; margin-top: 7px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid var(--c-line);
}
.hoa-cur-notif.is-new .hoa-cur-notif__dot {
	background: var(--c-primary);
	border-color: var(--c-primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-primary) 16%, transparent);
}

.hoa-cur-notif__body { min-width: 0; }
.hoa-cur-notif__title {
	display: block;
	font-size: 15.5px; line-height: 1.45;
	color: var(--c-ink); text-decoration: none;
}
.hoa-cur-notif.is-new .hoa-cur-notif__title { font-weight: 600; color: var(--c-primary); }
a.hoa-cur-notif__title:hover { color: var(--c-primary); text-decoration: underline; }
.hoa-cur-notif time { font-size: 13px; color: var(--c-ghost); white-space: nowrap; padding-top: 2px; }

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.hoa-cur-notif.is-new .hoa-cur-notif__dot { box-shadow: 0 0 0 3px rgba(102, 0, 0, .16); }
}

@media (max-width: 520px) {
	.hoa-cur-notif { grid-template-columns: 10px minmax(0, 1fr); }
	.hoa-cur-notif time { grid-column: 2; padding-top: 4px; }
}

/* ---------- Tables that fit the column they are in ---------- */

/*
 * The stacking rule below used to depend on screen width. Inside the account
 * page a table sits in a column far narrower than the screen, so a wide table
 * was cut off on a wide monitor — the screen was roomy, the column was not.
 * A container query measures the actual column instead.
 */
.hoa-cur-tablewrap {
	container-type: inline-size;
	container-name: hoatable;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.hoa-cur-table { min-width: 0; }
.hoa-cur-table td { overflow-wrap: anywhere; }
.hoa-cur-table__msg { max-width: 260px; }

/* Under 720px of actual column width, rows become cards. */
@container hoatable (max-width: 720px) {
	.hoa-cur-tablewrap { border: 0; overflow: visible; }
	.hoa-cur-table thead { position: absolute; left: -9999px; }
	.hoa-cur-table, .hoa-cur-table tbody, .hoa-cur-table tr, .hoa-cur-table td { display: block; width: 100%; }
	.hoa-cur-table tr {
		border: 1px solid var(--c-line);
		border-radius: calc(var(--r) + 2px);
		margin: 0 0 12px;
		padding: 6px 0;
		background: #fff;
	}
	.hoa-cur-table tr:last-child { margin-bottom: 0; }
	.hoa-cur-table td {
		display: grid;
		grid-template-columns: 118px minmax(0, 1fr);
		gap: 10px;
		padding: 9px 16px;
		border: 0;
	}
	.hoa-cur-table td::before {
		content: attr(data-label);
		font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
		color: var(--c-ghost);
		padding-top: 3px;
	}
	/* A cell with no label spans the row — usually the actions. */
	.hoa-cur-table td:not([data-label]) { grid-template-columns: minmax(0, 1fr); }
	.hoa-cur-table__msg { max-width: none; }
	.hoa-cur-table__actions { white-space: normal; }
	.hoa-cur-table__actions > * + * { margin-left: 0; }
	.hoa-cur-table__actions { display: flex; flex-wrap: wrap; gap: 8px; }
}

@container hoatable (max-width: 380px) {
	.hoa-cur-table td { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Browsers without container queries keep the old screen-width behaviour. */
@supports not (container-type: inline-size) {
	@media (max-width: 860px) {
		.hoa-cur-tablewrap { border: 0; overflow: visible; }
		.hoa-cur-table thead { position: absolute; left: -9999px; }
		.hoa-cur-table, .hoa-cur-table tbody, .hoa-cur-table tr, .hoa-cur-table td { display: block; width: 100%; }
		.hoa-cur-table tr { border: 1px solid var(--c-line); border-radius: var(--r); margin: 0 0 12px; padding: 6px 0; }
		.hoa-cur-table td { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 10px; padding: 9px 16px; border: 0; }
		.hoa-cur-table td::before { content: attr(data-label); font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--c-ghost); }
		.hoa-cur-table__msg { max-width: none; }
	}
}

/* ==========================================================================
   1.6 — Curator directory
   Dark cards with a preview strip, the name large, and the counts that tell
   a visitor whether this curator is worth clicking. House of Arts maroon in
   place of the reference's black.
   ========================================================================== */

.hoa-cur-directory { max-width: 1280px; margin-inline: auto; }
.hoa-cur-directory__title { font-family: var(--f-head); font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.02em; margin: 0 0 1.5rem; }

/* ---------- Search ---------- */

.hoa-cur-search {
	display: grid;
	grid-template-columns: minmax(200px, 1.6fr) repeat(4, minmax(120px, 1fr)) auto;
	gap: 12px;
	align-items: end;
	padding: 18px;
	margin: 0 0 18px;
	background: var(--c-soft);
	border-radius: calc(var(--r) + 4px);
}
.hoa-cur-search__field { margin: 0; }
.hoa-cur-search__field label {
	display: block; margin-bottom: 5px;
	font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--c-ghost);
}
.hoa-cur-search__actions { margin: 0; display: flex; align-items: center; gap: 12px; }
.hoa-cur-search__clear { font-size: 13px; color: var(--c-ghost); }
.hoa-cur-search__clear:hover { color: var(--c-primary); }

.hoa-cur-directory__count { margin: 0 0 18px; font-size: 14px; color: var(--c-ghost); }
.hoa-cur-directory__count strong { color: var(--c-ink); }

/* ---------- Cards ---------- */

.hoa-cur-firms {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
}

.hoa-cur-firm {
	position: relative;
	display: flex; flex-direction: column;
	min-height: 400px;
	padding: 22px;
	border: 1px solid var(--c-line);
	border-radius: 16px;
	background: #fff;
	color: var(--c-ink);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hoa-cur-firm:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--c-primary) 30%, transparent);
	box-shadow: 0 16px 36px rgba(0, 0, 0, .09);
}

/* One link covering the card, so the whole thing is clickable without
   nesting links inside links. */
.hoa-cur-firm__link { position: absolute; inset: 0; z-index: 2; }
.hoa-cur-firm__link:focus-visible { outline: 3px solid var(--c-primary); outline-offset: -4px; border-radius: 16px; }

.hoa-cur-firm__top { position: relative; display: flex; gap: 14px; align-items: flex-start; min-height: 190px; }

.hoa-cur-firm__logo {
	flex: none; width: 54px; height: 54px;
	border-radius: 50%; overflow: hidden;
	background: var(--c-tint);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--f-head); font-size: 20px; font-weight: 600; color: var(--c-primary);
}
.hoa-cur-firm__logo img { width: 100%; height: 100%; object-fit: cover; }

.hoa-cur-firm__shots { position: relative; flex: 1; min-width: 0; height: 170px; }
.hoa-cur-firm__shot {
	position: absolute; inset: 0;
	border-radius: 10px; overflow: hidden;
	background: var(--c-soft);
	opacity: 0; transform: scale(.96);
	transition: opacity .3s ease, transform .3s ease;
}
.hoa-cur-firm__shot.is-front { opacity: 1; transform: none; }
.hoa-cur-firm__shot img { width: 100%; height: 100%; object-fit: cover; }
.hoa-cur-firm__shot--none {
	display: flex; align-items: center; justify-content: center;
	font-size: 13px; color: var(--c-ghost);
	border: 1px dashed var(--c-line);
	background: var(--c-soft);
}

/* The second and third covers peek out behind the first. */
.hoa-cur-firm__shot:nth-child(2) { opacity: .55; transform: translate(6px, 6px) scale(.97); }
.hoa-cur-firm__shot:nth-child(3) { opacity: .3; transform: translate(12px, 12px) scale(.94); }
.hoa-cur-firm:hover .hoa-cur-firm__shot:nth-child(2) { opacity: .7; }

.hoa-cur-firm__dots { position: absolute; right: 4px; bottom: -14px; display: flex; gap: 6px; }
.hoa-cur-firm__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--c-line-strong, #d3ccc3); }
.hoa-cur-firm__dots span.is-on { background: var(--c-primary); }

.hoa-cur-firm__body { margin-top: auto; padding-top: 32px; }
.hoa-cur-firm__where {
	margin: 0 0 10px;
	font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
	color: var(--c-primary);
}

.hoa-cur-firm__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.hoa-cur-firm__name {
	font-family: var(--f-head);
	font-size: clamp(1.45rem, 2.5vw, 1.9rem);
	line-height: 1.08;
	letter-spacing: -.02em;
	margin: 0;
	color: var(--c-ink);
	overflow-wrap: anywhere;
}
.hoa-cur-firm:hover .hoa-cur-firm__name { color: var(--c-primary); }

.hoa-cur-firm__stat {
	flex: none; text-align: center;
	padding: 8px 14px;
	border: 1px solid var(--c-line); border-radius: 8px;
	background: var(--c-soft);
	line-height: 1.15;
}
.hoa-cur-firm__stat span { display: block; font-size: 11px; color: var(--c-ghost); }
.hoa-cur-firm__stat strong { display: block; font-size: 22px; font-weight: 700; color: var(--c-ink); }

.hoa-cur-firm__foot {
	display: flex; justify-content: space-between; gap: 12px;
	margin-top: 22px; padding-top: 16px;
	border-top: 1px solid var(--c-line);
	font-size: 13.5px; color: var(--c-ghost);
}

.hoa-cur-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 28px 0 0; font-size: 14px; }

@supports not (color: color-mix(in srgb, red 50%, blue)) {
	.hoa-cur-firm:hover { border-color: #c9a9a5; }
}

@media (max-width: 900px) {
	.hoa-cur-search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hoa-cur-search__field--q { grid-column: 1 / -1; }
	.hoa-cur-search__actions { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.hoa-cur-firms { grid-template-columns: 1fr; }
	.hoa-cur-firm { min-height: 0; }
	.hoa-cur-search { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.hoa-cur-firm, .hoa-cur-firm__shot { transition: none; }
}

/* ==========================================================================
   1.7 — Event and program listings
   Cover, title with a small flag, a row for who and what it costs, then a
   footer — light cards in House of Arts' palette.
   ========================================================================== */

.hoa-listing-page { max-width: 1280px; margin-inline: auto; }
.hoa-listing-page__title { font-family: var(--f-head); font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.02em; margin: 0 0 1.5rem; }
.hoa-listing-page__count { margin: 0 0 18px; font-size: 14px; color: var(--c-ghost); }
.hoa-listing-page__count strong { color: var(--c-ink); }

.hoa-listing-filters {
	display: grid;
	grid-template-columns: minmax(200px, 1.6fr) repeat(4, minmax(115px, 1fr)) auto;
	gap: 12px; align-items: end;
	padding: 18px; margin: 0 0 18px;
	background: var(--c-soft); border-radius: calc(var(--r) + 4px);
}
.hoa-listing-filters__field { margin: 0; }
.hoa-listing-filters__field label {
	display: block; margin-bottom: 5px;
	font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ghost);
}
.hoa-listing-filters__actions { margin: 0; display: flex; align-items: center; gap: 12px; }
.hoa-listing-filters__clear { font-size: 13px; color: var(--c-ghost); }
.hoa-listing-filters__clear:hover { color: var(--c-primary); }

.hoa-listings { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.hoa-listing {
	position: relative;
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--c-line);
	border-radius: calc(var(--r) + 4px); overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.hoa-listing:hover { border-color: color-mix(in srgb, var(--c-primary) 30%, transparent); box-shadow: 0 14px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.hoa-listing__link { position: absolute; inset: 0; z-index: 2; }
.hoa-listing__link:focus-visible { outline: 3px solid var(--c-primary); outline-offset: -3px; border-radius: calc(var(--r) + 4px); }

.hoa-listing__media { position: relative; aspect-ratio: 16 / 10; background: var(--c-soft); }
.hoa-listing__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-listing__noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--c-soft), var(--c-tint)); }
.hoa-listing__offer {
	position: absolute; top: 12px; right: 12px;
	padding: .25rem .6rem; border-radius: 6px;
	background: #e8a33d; color: #2b1a04;
	font-size: 11.5px; font-weight: 700;
}

.hoa-listing__head {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
	padding: 18px 18px 20px;
}
.hoa-listing__title {
	margin: 0; font-family: var(--f-head);
	font-size: 1.15rem; line-height: 1.28; letter-spacing: -.01em; color: var(--c-ink);
	overflow-wrap: anywhere;
}
.hoa-listing:hover .hoa-listing__title { color: var(--c-primary); }
.hoa-listing__flag {
	flex: none; padding: .25rem .6rem;
	border: 1px solid var(--c-line); border-radius: 6px;
	font-size: 11.5px; font-weight: 600; color: var(--c-ghost); white-space: nowrap;
}

.hoa-listing__row {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 18px; margin-top: auto;
	border-top: 1px solid var(--c-line);
	font-size: 13.5px; color: var(--c-ghost);
}
.hoa-listing__by strong { color: var(--c-ink); font-weight: 600; }
.hoa-listing__price { font-size: 1.05rem; font-weight: 700; color: var(--c-ink); white-space: nowrap; }
.hoa-listing__price.is-free { font-size: 13.5px; font-weight: 600; color: var(--c-ok); }

.hoa-listing__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 18px; border-top: 1px solid var(--c-line);
	font-size: 13px; color: var(--c-ghost);
}
.hoa-listing__when span { display: block; font-size: 12.5px; opacity: .85; }
.hoa-listing__go { font-size: 1.2rem; color: var(--c-ink); transition: transform .18s ease; }
.hoa-listing:hover .hoa-listing__go { transform: translateX(4px); color: var(--c-primary); }

@media (max-width: 900px) {
	.hoa-listing-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hoa-listing-filters__field--q, .hoa-listing-filters__actions { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.hoa-listings { grid-template-columns: 1fr; }
	.hoa-listing-filters { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.hoa-listing, .hoa-listing__go { transition: none; }
}

/* ==========================================================================
   1.8 — Detail pages: content left, imagery right
   ========================================================================== */

.hoa-cur-back { margin: 0 0 20px; font-size: 14px; }
.hoa-cur-back a { color: var(--c-ghost); text-decoration: none; }
.hoa-cur-back a:hover { color: var(--c-primary); }

.hoa-cur-split {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
	max-width: 1320px;
	margin-inline: auto;
}
/* The hairline between the columns. */
.hoa-cur-split::before {
	content: '';
	position: absolute;
	left: calc(50% - clamp(1rem, 2.5vw, 2.25rem));
	top: 0; bottom: 0; width: 1px;
	background: var(--c-line);
}

/* The media column is second in the markup but shown on the right; the
   main content and side panel share the left column. */
.hoa-cur-split__media { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 90px; }
.hoa-cur-split > .hoa-cur-event__main { grid-column: 1; }
.hoa-cur-split > .hoa-cur-event__panel { grid-column: 1; }

.hoa-cur-split__media .hoa-cur-event__cover,
.hoa-cur-split__media .hoa-cur-slider {
	margin: 0; border-radius: 16px; overflow: hidden; background: var(--c-soft);
}
.hoa-cur-split__media img { width: 100%; height: auto; display: block; }
.hoa-cur-split__noimg {
	border-radius: 16px; aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, var(--c-soft), var(--c-tint));
}

/* Inside the split the panel is no longer a sidebar — it reads as part of
   the left-hand column. */
.hoa-cur-split > .hoa-cur-event__panel {
	border: 0; padding: 0; background: none; position: static; width: auto;
}

@media (max-width: 1000px) {
	.hoa-cur-split { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
	.hoa-cur-split::before { display: none; }
	.hoa-cur-split__media { grid-column: 1; grid-row: 1; position: static; }
	.hoa-cur-split > .hoa-cur-event__main,
	.hoa-cur-split > .hoa-cur-event__panel { grid-column: 1; }
}

/* ==========================================================================
   1.9 — Bold titles, consistent filters, responsive corrections
   ========================================================================== */

/* Detail page titles are the page's heading and should read as one. */
.hoa-cur-event__title,
.hoa-cur-program__title,
.hoa-cur-profile__name { font-weight: 700; }

/* The curator search bar and the listing filter bar share one shape. */
.hoa-cur-search,
.hoa-listing-filters {
	grid-template-columns: minmax(200px, 1.6fr) repeat(auto-fit, minmax(120px, 1fr)) auto;
}
.hoa-cur-search :is(input, select),
.hoa-listing-filters :is(input, select) { min-height: 42px; }

/* Tablet: two filters per row reads better than four squeezed ones. */
@media (max-width: 1024px) and (min-width: 901px) {
	.hoa-cur-search, .hoa-listing-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hoa-cur-search__field--q, .hoa-listing-filters__field--q { grid-column: 1 / -1; }
	.hoa-cur-search__actions, .hoa-listing-filters__actions { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
	.hoa-cur-search__actions, .hoa-listing-filters__actions { flex-direction: column; align-items: stretch; }
	.hoa-cur-search__actions .hoa-cur-btn, .hoa-listing-filters__actions .hoa-cur-btn { width: 100%; }
	.hoa-cur-search__clear, .hoa-listing-filters__clear { text-align: center; }
}

/* Long titles and pasted links must not widen a card past the screen. */
.hoa-cur-listing__title, .hoa-cur-firm__name, .hoa-cur-prose, .hoa-cur-facts dd { overflow-wrap: anywhere; }

/* iPad portrait: the detail split is too tight at two columns. */
@media (max-width: 1024px) and (min-width: 1001px) {
	.hoa-cur-split { gap: 2rem; }
}

/* The program's event list and agenda inside the narrower left column. */
@media (max-width: 1000px) {
	.hoa-cur-split__media .hoa-cur-event__cover img { max-height: 420px; object-fit: cover; }
}

/* ==========================================================================
   1.9.1 — Date card, agenda, and detail corrections
   ========================================================================== */

/*
 * The date card was absolutely positioned against whatever ancestor happened
 * to be positioned. Once the detail pages became a split grid that turned
 * out to be the whole page, so it floated over the title and the back link.
 * It now sits in the flow, as a proper card.
 */
.hoa-cur-dateblock,
.hoa-cur-split .hoa-cur-dateblock {
	position: static;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 88px;
	padding: 14px 18px;
	margin: 0 0 20px;
	border: 1px solid var(--c-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	line-height: 1.05;
	text-align: center;
}
.hoa-cur-dateblock__day {
	display: block;
	font-family: var(--f-head);
	font-size: 34px;
	font-weight: 700;
	color: var(--c-primary);
}
.hoa-cur-dateblock__month {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--c-ghost);
}

/* The same card on an event card's image keeps its overlay position. */
.hoa-cur-card__media .hoa-cur-dateblock,
.hoa-listing__media .hoa-cur-dateblock {
	position: absolute; top: 12px; left: 12px;
	margin: 0; min-width: 0; padding: 6px 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.hoa-cur-card__media .hoa-cur-dateblock__day,
.hoa-listing__media .hoa-cur-dateblock__day { font-size: 19px; color: var(--c-ink); }

/* ---------- Fewer borders on the detail pages ---------- */

.hoa-cur-split .hoa-cur-facts {
	border: 0;
	background: none;
	border-radius: 0;
}
.hoa-cur-split .hoa-cur-facts > div {
	border-right: 0;
	border-bottom: 1px solid var(--c-line);
	padding: 14px 0;
}
.hoa-cur-split .hoa-cur-facts > div:last-child { border-bottom: 0; }

.hoa-cur-split .hoa-cur-event__title,
.hoa-cur-split .hoa-cur-program__title {
	font-size: clamp(1.9rem, 4.2vw, 3rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.025em;
	margin: 0 0 14px;
}
.hoa-cur-split .hoa-cur-event__kind {
	font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
	color: var(--c-primary); margin: 0 0 8px;
}

/* ==========================================================================
   1.8.3 — Agenda timeline, rebuilt on grid
   The previous version positioned the time absolutely and drew the line with
   a pseudo-element at a fixed offset. Inside the narrower detail column the
   two drifted apart and the line ran through the text. A two-column grid
   keeps the time, the line and the content locked together at any width.
   ========================================================================== */

.hoa-cur-agenda {
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
	display: grid;
	gap: 0;
}

.hoa-cur-agenda li {
	display: grid;
	grid-template-columns: 76px 22px minmax(0, 1fr);
	align-items: start;
	gap: 0 14px;
	margin: 0;
	padding: 0 0 26px;
	border: 0;
	position: relative;
}
.hoa-cur-agenda li::marker { content: none; }
.hoa-cur-agenda li:last-child { padding-bottom: 0; }

/* Column one: the time. */
.hoa-cur-agenda__time {
	grid-column: 1;
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--c-primary);
	white-space: nowrap;
	padding-top: 1px;
}

/* Column two: the line and its dot, drawn inside their own column so they
   can never overlap the text. */
.hoa-cur-agenda li::before {
	content: '';
	grid-column: 2;
	grid-row: 1 / -1;
	justify-self: center;
	width: 2px;
	height: 100%;
	background: var(--c-line);
}
.hoa-cur-agenda li:last-child::before { height: 10px; }

.hoa-cur-agenda li::after {
	content: '';
	position: absolute;
	left: 86px;
	top: 4px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid var(--c-primary);
	box-sizing: border-box;
}

/* Column three: the content. */
.hoa-cur-agenda__body {
	grid-column: 3;
	display: block;
	min-width: 0;
}
.hoa-cur-agenda__body strong {
	display: block;
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--c-ink);
	margin-bottom: 4px;
}
.hoa-cur-agenda__body span,
.hoa-cur-agenda__body p {
	display: block;
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--c-ghost);
	max-width: 62ch;
}

@media (max-width: 620px) {
	.hoa-cur-agenda li { grid-template-columns: 18px minmax(0, 1fr); gap: 0 12px; }
	.hoa-cur-agenda__time { grid-column: 2; text-align: left; margin-bottom: 4px; }
	.hoa-cur-agenda__body { grid-column: 2; }
	.hoa-cur-agenda li::before { grid-column: 1; grid-row: 1 / -1; }
	.hoa-cur-agenda li::after { left: 4px; }
}

/* ==========================================================================
   1.9 — Featured sections
   ========================================================================== */

.hoa-featured { margin: clamp(2.5rem, 6vw, 4.5rem) 0; }

.hoa-featured__head {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
	gap: 12px; margin: 0 0 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--c-line);
}
.hoa-featured__title {
	margin: 0;
	font-family: var(--f-head);
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--c-ink);
}
.hoa-featured__more { font-size: 14px; font-weight: 600; color: var(--c-primary); text-decoration: none; white-space: nowrap; }
.hoa-featured__more:hover { text-decoration: underline; }


/* ---------- Featured artist ---------- */

.hoa-featured-person {
	position: relative;
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--c-line);
	border-radius: calc(var(--r) + 4px); overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.hoa-featured-person:hover { border-color: color-mix(in srgb, var(--c-primary) 30%, transparent); box-shadow: 0 14px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.hoa-featured-person__link { position: absolute; inset: 0; z-index: 2; }
.hoa-featured-person__link:focus-visible { outline: 3px solid var(--c-primary); outline-offset: -3px; border-radius: calc(var(--r) + 4px); }

.hoa-featured-person__photo {
	aspect-ratio: 1 / 1; background: var(--c-soft);
	display: flex; align-items: center; justify-content: center;
}
.hoa-featured-person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hoa-featured-person__photo span { font-family: var(--f-head); font-size: 3rem; color: var(--c-tint); }

.hoa-featured-person__body { padding: 16px 18px 18px; }
.hoa-featured-person__body h3 { margin: 0 0 4px; font-family: var(--f-head); font-size: 1.1rem; color: var(--c-ink); }
.hoa-featured-person:hover .hoa-featured-person__body h3 { color: var(--c-primary); }
.hoa-featured-person__body p { margin: 0 0 6px; font-size: 13.5px; color: var(--c-ghost); line-height: 1.5; }
.hoa-featured-person__body span { font-size: 12.5px; color: var(--c-ghost); }

@media (max-width: 900px) {
	.hoa-featured__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.hoa-featured__grid { grid-template-columns: 1fr; }
}

/* The date badge on a listing card's image. */
.hoa-listing__media .hoa-cur-dateblock {
	position: absolute; top: 12px; left: 12px;
	display: inline-flex; flex-direction: column; align-items: center;
	min-width: 0; margin: 0; padding: 7px 11px;
	border: 0; border-radius: 10px;
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
	line-height: 1.05;
}
.hoa-listing__media .hoa-cur-dateblock__day { font-size: 21px; color: var(--c-ink); }
.hoa-listing__media .hoa-cur-dateblock__month { font-size: 10.5px; }

/* With a date badge top-left, the Free entry flag stays top-right. */
.hoa-listing__offer { z-index: 1; }

/* ==========================================================================
   1.10 — Featured slider
   The track always scrolls; the browser works out whether there is anything
   to scroll to and the script shows the arrows accordingly. Deciding that
   server-side from the item count was wrong, because three cards overflow a
   phone and fit a desktop.
   ========================================================================== */

.hoa-featured__slider { position: relative; }

.hoa-featured__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc( (100% - (var(--perview, 3) - 1) * 20px) / var(--perview, 3) );
	gap: 20px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	/* Room for the cards' hover lift and shadow, which a clipped scroll
	   container would otherwise cut off. */
	padding: 4px 2px 12px;
	margin: -4px -2px -12px;
	scrollbar-width: none;
}
.hoa-featured__track::-webkit-scrollbar { display: none; }

@media (pointer: fine) {
	.hoa-featured__slider.can-scroll .hoa-featured__track {
		scrollbar-width: thin;
		scrollbar-color: var(--c-line-strong, #d3ccc3) transparent;
		padding-bottom: 16px;
		margin-bottom: -16px;
	}
	.hoa-featured__slider.can-scroll .hoa-featured__track::-webkit-scrollbar { display: block; height: 8px; }
	.hoa-featured__slider.can-scroll .hoa-featured__track::-webkit-scrollbar-track { background: var(--c-soft); border-radius: 4px; }
	.hoa-featured__slider.can-scroll .hoa-featured__track::-webkit-scrollbar-thumb { background: var(--c-line-strong, #d3ccc3); border-radius: 4px; }
	.hoa-featured__slider.can-scroll .hoa-featured__track::-webkit-scrollbar-thumb:hover { background: var(--c-primary); }

	/* Dragging the row is the other thing a mouse user will try. */
	.hoa-featured__slider.can-scroll .hoa-featured__track { cursor: grab; }
	.hoa-featured__slider.can-scroll .hoa-featured__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
	.hoa-featured__slider.can-scroll .hoa-featured__track.is-dragging * { pointer-events: none; }
}

.hoa-featured__track:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 4px; border-radius: 4px; }

.hoa-featured__slide { scroll-snap-align: start; min-width: 0; display: flex; }
.hoa-featured__slide > * { width: 100%; }

/* A short row should sit left, not stretch across the page. */
.hoa-featured__slider:not(.can-scroll) .hoa-featured__track { justify-content: start; }

.hoa-featured__arrow {
	position: absolute;
	top: 38%;
	z-index: 3;
	width: 42px; height: 42px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	background: #fff;
	color: var(--c-ink);
	font-size: 17px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.hoa-featured__arrow:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.hoa-featured__arrow:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.hoa-featured__arrow[hidden] { display: none; }
.hoa-featured__arrow--prev { left: 8px; }
.hoa-featured__arrow--next { right: 8px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.hoa-featured__track { grid-auto-columns: calc( (100% - 2 * 18px) / 3 ); gap: 18px; }
	.hoa-featured__slider { --perview: 3; }
}
@media (max-width: 900px) {
	.hoa-featured__track { grid-auto-columns: calc( (100% - 16px) / 2 ); gap: 16px; }
}

/* ---------- Phone ----------
   The arrows stay. Swiping is natural, but an arrow is the only affordance
   that tells someone there is more to the right at all. */
@media (max-width: 620px) {
	.hoa-featured__track { grid-auto-columns: 80%; gap: 14px; }
	.hoa-featured__arrow {
		width: 36px; height: 36px; font-size: 15px;
		top: auto; bottom: 38%;
	}
	.hoa-featured__arrow--prev { left: 4px; }
	.hoa-featured__arrow--next { right: 4px; }
}
@media (max-width: 420px) {
	.hoa-featured__track { grid-auto-columns: 86%; }
}

@media (prefers-reduced-motion: reduce) {
	.hoa-featured__track { scroll-behavior: auto; }
}

/* The date badge on a listing card's image. */
.hoa-listing__media .hoa-cur-dateblock {
	position: absolute; top: 12px; left: 12px;
	display: inline-flex; flex-direction: column; align-items: center;
	min-width: 0; margin: 0; padding: 7px 11px;
	border: 0; border-radius: 10px;
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
	line-height: 1.05;
}
.hoa-listing__media .hoa-cur-dateblock__day { font-size: 21px; color: var(--c-ink); }
.hoa-listing__media .hoa-cur-dateblock__month { font-size: 10.5px; }

/* With a date badge top-left, the Free entry flag stays top-right. */
.hoa-listing__offer { z-index: 1; }

/* ==========================================================================
   1.10 — Featured slider
   The track is a native scroll container with snap points, so it works with
   a trackpad, a touchscreen, the keyboard and with JavaScript off. The
   arrows are an addition, not the mechanism.
   ========================================================================== */

.hoa-featured__slider { position: relative; }

.hoa-featured__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc( (100% - (var(--perview, 3) - 1) * 20px) / var(--perview, 3) );
	gap: 20px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-left: 2px;
	/* Room for the cards' hover lift and shadow, which a clipped scroll
	   container would otherwise cut off. */
	padding: 4px 2px 12px;
	margin: -4px -2px -12px;
	scrollbar-width: thin;
	scrollbar-color: var(--c-line-strong, #d3ccc3) transparent;
}
.hoa-featured__track::-webkit-scrollbar { height: 6px; }
.hoa-featured__track::-webkit-scrollbar-track { background: transparent; }
.hoa-featured__track::-webkit-scrollbar-thumb { background: var(--c-line-strong, #d3ccc3); border-radius: 3px; }
.hoa-featured__track:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 4px; border-radius: 4px; }

.hoa-featured__slide { scroll-snap-align: start; min-width: 0; display: flex; }
.hoa-featured__slide > * { width: 100%; }


.hoa-featured__arrow {
	position: absolute;
	top: 38%;
	z-index: 3;
	width: 42px; height: 42px;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--c-line);
	border-radius: 50%;
	background: #fff;
	color: var(--c-ink);
	font-size: 17px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.hoa-featured__arrow:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.hoa-featured__arrow:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }
.hoa-featured__arrow[hidden] { display: none; }
.hoa-featured__arrow--prev { left: -19px; }
.hoa-featured__arrow--next { right: -19px; }

@media (max-width: 1400px) {
	/* Once the page fills the viewport there is no room outside it, so the
	   arrows sit just inside instead. */
	.hoa-featured__arrow--prev { left: 6px; }
	.hoa-featured__arrow--next { right: 6px; }
}

@media (max-width: 900px) {
	.hoa-featured__track { grid-auto-columns: calc( (100% - 16px) / 2 ); gap: 16px; }
}
@media (max-width: 620px) {
	.hoa-featured__track { grid-auto-columns: 82%; gap: 14px; }
	/* Touch scrolling is the natural gesture here; the arrows only crowd it. */
	.hoa-featured__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.hoa-featured__track { scroll-behavior: auto; }
}

/* ==========================================================================
   1.10.1 — Event and program card corrections
   ========================================================================== */

/*
 * The date badge used to hang 18px below the image on purpose. Adding
 * overflow:hidden to the media for the hover zoom clipped exactly that
 * overhang, leaving the month sliced in half. Rather than restore the
 * overhang and lose the zoom, the badge now sits inside the image, top-left,
 * matching the date badge on the newer listing cards so every card on the
 * site carries the same one.
 */
.hoa-cur-card__date {
	top: 12px;
	left: 12px;
	bottom: auto;
	z-index: 2;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 7px 11px;
	background: rgba(255, 255, 255, .95);
	color: var(--c-ink);
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .14);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1.05;
	text-transform: uppercase;
}
.hoa-cur-card__date b {
	font-family: var(--f-head);
	font-size: 21px;
	font-weight: 700;
	letter-spacing: 0;
	margin-bottom: 2px;
	color: var(--c-primary);
}
.hoa-cur-card.is-past .hoa-cur-card__date { background: rgba(255, 255, 255, .92); }
.hoa-cur-card.is-past .hoa-cur-card__date b { color: var(--c-ghost); }

/*
 * Card alignment. Without this the body is only as tall as its own content,
 * so in a row of cards the footers sit at different heights wherever a title
 * runs to two lines or a venue is missing. Making the body a column and
 * pushing the footer down with auto margin lines them all up.
 */
.hoa-cur-card { height: 100%; }
.hoa-cur-card__body { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.hoa-cur-card__foot { margin-top: auto; }

/* The pieces between title and footer keep an even rhythm whether or not
   each card happens to have a venue, a time or a tagline. */
.hoa-cur-card__body > * { margin-top: 0; }
.hoa-cur-card__body > * + * { margin-top: 10px; }
.hoa-cur-card__foot { margin-top: auto; padding-top: 14px; }

.hoa-cur-card__title { overflow-wrap: anywhere; }
.hoa-cur-card__where { display: flex; align-items: flex-start; gap: 7px; }
.hoa-cur-card__where svg { flex: none; margin-top: 2px; }

/* Equal-height cards need the grid to stretch them, not centre them. */
.hoa-cur-cards, .hoa-cur-grid { align-items: stretch; }

/* ==========================================================================
   1.12 — Curator landing page
   ========================================================================== */

.hoa-land{max-width:1200px;margin-inline:auto;}
.hoa-land :is(h1,h2,h3){font-family:var(--f-head);color:var(--c-ink);}
.hoa-land p{line-height:1.7;}

/* ---- Hero ---- */
.hoa-land__hero{
	display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
	gap:clamp(1.75rem,5vw,4rem);align-items:center;
	padding:clamp(2rem,5vw,4rem) 0 clamp(1.5rem,3vw,2.5rem);
}
.hoa-land__eyebrow{margin:0 0 .8rem;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--c-primary);}
.hoa-land__h1{
	margin:0 0 1.1rem;font-size:clamp(2rem,5vw,3.4rem);
	line-height:1.06;letter-spacing:-.03em;font-weight:700;max-width:16ch;
}
.hoa-land__lede{margin:0 0 1rem;font-size:clamp(1rem,1.7vw,1.16rem);color:var(--c-ghost);max-width:50ch;}
.hoa-land__lede strong{color:var(--c-ink);}
.hoa-land__body{margin:0 0 1.75rem;font-size:1rem;color:var(--c-ink);max-width:52ch;}

.hoa-land__cta{display:flex;flex-wrap:wrap;gap:.75rem;}
.hoa-land__cta--center{justify-content:center;}
.hoa-land__btn{
	display:inline-flex;align-items:center;justify-content:center;
	min-height:52px;padding:.9rem 1.9rem;border-radius:8px;border:1px solid transparent;
	font:inherit;font-size:1rem;font-weight:600;text-decoration:none;transition:all .16s;
}
.hoa-land__btn--primary{background:var(--c-primary);border-color:var(--c-primary);color:#fff;}
.hoa-land__btn--primary:hover{background:var(--c-primary-hover,#151515);border-color:var(--c-primary-hover,#151515);color:#fff;}
.hoa-land__btn--ghost{background:#fff;border-color:var(--c-ink);color:var(--c-ink);}
.hoa-land__btn--ghost:hover{background:var(--c-ink);color:#fff;}
.hoa-land__btn:focus-visible{outline:3px solid var(--c-primary);outline-offset:3px;}
.hoa-land__reassure{margin:1rem 0 0;font-size:14px;color:var(--c-ghost);}
.hoa-land__reassure a{color:var(--c-primary);}

.hoa-land__hero-art svg{display:block;width:100%;height:auto;}

/* ---- Facts ---- */
.hoa-land__facts{
	list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
	gap:clamp(1rem,2.5vw,2rem);margin:0 0 clamp(2rem,5vw,3rem);
	padding:clamp(1.5rem,3vw,2rem);background:var(--c-soft);border-radius:18px;
}
.hoa-land__facts li{display:grid;gap:.3rem;}
.hoa-land__facts strong{font-size:clamp(1.3rem,2.4vw,1.75rem);line-height:1.1;font-weight:700;color:var(--c-primary);}
.hoa-land__facts span{font-size:14px;color:var(--c-ghost);line-height:1.5;}

/* ---- Sections ---- */
.hoa-land__section{padding:clamp(2.25rem,5vw,4rem) 0;}
.hoa-land__section--tint{
	background:var(--c-soft);border-radius:20px;
	padding-inline:clamp(1.25rem,4vw,3rem);margin-block:clamp(1rem,3vw,2rem);
}
.hoa-land__head{max-width:62ch;margin:0 0 clamp(1.5rem,3.5vw,2.5rem);}
.hoa-land__head h2,.hoa-land__h2{margin:0 0 .6rem;font-size:clamp(1.5rem,3.4vw,2.3rem);line-height:1.14;letter-spacing:-.02em;font-weight:700;}
.hoa-land__head p{margin:0;color:var(--c-ghost);font-size:1.02rem;}

/* ---- Steps ---- */
.hoa-land__steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1.75rem;}
.hoa-land__steps li{margin:0;}
.hoa-land__step-n{
	display:flex;align-items:center;justify-content:center;
	width:40px;height:40px;margin-bottom:1rem;border-radius:50%;
	background:var(--c-primary);color:#fff;font-weight:700;
}
.hoa-land__steps h3{margin:0 0 .5rem;font-size:1.1rem;line-height:1.3;}
.hoa-land__steps p{margin:0;font-size:.94rem;color:var(--c-ghost);}
.hoa-land__inline-cta{margin:clamp(2rem,4vw,3rem) 0 0;}

/* ---- Split ---- */
.hoa-land__split{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(1.5rem,3vw,2.5rem);align-items:start;}
.hoa-land__split--even{grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;}
.hoa-land__you h3{margin:0 0 .7rem;font-size:clamp(1.25rem,2.4vw,1.7rem);}
.hoa-land__you p{margin:0 0 1rem;color:var(--c-ghost);}
.hoa-land__you p:last-child{margin:0;}
.hoa-land__you strong{color:var(--c-ink);}

.hoa-land__note{
	padding:clamp(1.25rem,2.5vw,1.75rem);border-radius:16px;background:#fff;border:1px solid var(--c-line);
}
.hoa-land__note h3{margin:0 0 .9rem;font-size:1.05rem;}
.hoa-land__note ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.6rem;}
.hoa-land__note li{position:relative;padding-left:1.5rem;font-size:.93rem;color:var(--c-ghost);line-height:1.55;}
.hoa-land__note li::before{
	content:'';position:absolute;left:0;top:.5em;
	width:8px;height:8px;border-radius:50%;border:2px solid var(--c-primary);box-sizing:border-box;
}
.hoa-land__note-foot{margin:1.1rem 0 0;font-size:13.5px;color:var(--c-ghost);border-top:1px solid var(--c-line);padding-top:.9rem;}

/* ---- Grid ---- */
.hoa-land__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.5rem;}
.hoa-land__grid article{padding:1.5rem;border:1px solid var(--c-line);border-radius:14px;background:#fff;}
.hoa-land__grid h3{margin:0 0 .8rem;font-size:1.05rem;}
.hoa-land__grid p{margin:.9rem 0 0;font-size:.92rem;color:var(--c-ghost);}
.hoa-land__grid ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.5rem;}
.hoa-land__grid li{position:relative;padding-left:1.6rem;font-size:.93rem;line-height:1.5;}
.hoa-land__yes li::before{content:'✓';position:absolute;left:0;color:var(--c-ok,#2e7d4f);font-weight:700;}
.hoa-land__no li{color:var(--c-ghost);}
.hoa-land__no li::before{content:'✕';position:absolute;left:0;color:var(--c-line-strong,#d3ccc3);font-weight:700;}

.hoa-land__art svg{display:block;width:100%;height:auto;}

/* ---- Questions ---- */
.hoa-land__qa{max-width:860px;border-top:1px solid var(--c-line);}
.hoa-land__qa details{border-bottom:1px solid var(--c-line);}
.hoa-land__qa summary{
	display:flex;justify-content:space-between;align-items:center;gap:1.5rem;
	padding:1.1rem 0;cursor:pointer;list-style:none;font-size:1.02rem;font-weight:600;
}
.hoa-land__qa summary::-webkit-details-marker{display:none;}
.hoa-land__qa summary::after{content:'+';font-size:1.4rem;font-weight:400;line-height:1;color:var(--c-primary);}
.hoa-land__qa details[open] summary::after{content:'−';}
.hoa-land__qa summary:hover{color:var(--c-primary);}
.hoa-land__qa summary:focus-visible{outline:3px solid var(--c-primary);outline-offset:2px;border-radius:4px;}
.hoa-land__qa p{margin:0;padding:0 0 1.2rem;color:var(--c-ghost);font-size:.96rem;max-width:68ch;}

/* ---- Close ---- */
.hoa-land__close{
	text-align:center;padding:clamp(2.5rem,6vw,4.5rem) clamp(1.25rem,4vw,3rem);
	margin:clamp(1rem,3vw,2rem) 0 clamp(2rem,4vw,3rem);
	background:var(--c-primary);border-radius:20px;color:#fff;
}
.hoa-land__close h2{margin:0 0 .8rem;color:#fff;font-size:clamp(1.6rem,3.8vw,2.5rem);letter-spacing:-.02em;font-weight:700;}
.hoa-land__close > p{margin:0 auto 1.8rem;max-width:56ch;color:rgba(255,255,255,.88);}
.hoa-land__close .hoa-land__btn--primary{background:#fff;border-color:#fff;color:var(--c-primary);}
.hoa-land__close .hoa-land__btn--primary:hover{background:rgba(255,255,255,.9);color:var(--c-primary);}
.hoa-land__close .hoa-land__btn--ghost{background:transparent;border-color:rgba(255,255,255,.55);color:#fff;}
.hoa-land__close .hoa-land__btn--ghost:hover{background:rgba(255,255,255,.14);color:#fff;}
.hoa-land__close .hoa-land__reassure{color:rgba(255,255,255,.8);margin-top:1.4rem;}
.hoa-land__close .hoa-land__reassure a{color:#fff;text-decoration:underline;}

/* ---- Drawings ---- */
.hl-float{animation:hl-float 4s ease-in-out infinite;}
@keyframes hl-float{0%,100%{transform:translateY(0);}50%{transform:translateY(-9px);}}
.hl-pop{animation:hl-pop 3.6s ease-in-out infinite;transform-origin:center;}
@keyframes hl-pop{0%,100%{transform:scale(1);}50%{transform:scale(1.04);}}
.hl-crowd{animation:hl-crowd 6s ease-in-out infinite;}
@keyframes hl-crowd{0%,100%{transform:translateX(-10px);}50%{transform:translateX(10px);}}

@media (max-width:900px){
	.hoa-land__hero{grid-template-columns:minmax(0,1fr);}
	.hoa-land__hero-art{order:-1;}
	.hoa-land__h1{max-width:none;}
	.hoa-land__facts{grid-template-columns:repeat(2,minmax(0,1fr));}
	.hoa-land__split,.hoa-land__split--even{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:560px){
	.hoa-land__facts{grid-template-columns:minmax(0,1fr);}
	.hoa-land__cta{flex-direction:column;}
	.hoa-land__btn{width:100%;}
}
@media (prefers-reduced-motion:reduce){
	.hl-float,.hl-pop,.hl-crowd{animation:none!important;}
	.hoa-land__btn{transition:none;}
}

.hoa-land__note-art{
	margin:-.4rem 0 1.1rem;padding:.6rem;border-radius:12px;background:var(--c-soft);
}
.hoa-land__note-art svg{display:block;width:100%;height:auto;max-height:130px;}
.hl-flow{animation:hl-flow 1.6s linear infinite;}
@keyframes hl-flow{to{stroke-dashoffset:-40;}}
@media (prefers-reduced-motion:reduce){ .hl-flow{animation:none!important;} }

/* ==========================================================================
   1.13 — Following and messages
   ========================================================================== */

.hoa-cur-profile__connect{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;}

/* ---- Follow ---- */
.hoa-follow{display:inline-flex;align-items:center;gap:12px;}
.hoa-follow__btn{
	display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
	min-height:44px;padding:.6rem 1.5rem;
	border:1px solid var(--c-primary);border-radius:30px;
	background:var(--c-primary);color:#fff;
	font:inherit;font-size:14.5px;font-weight:600;text-decoration:none;cursor:pointer;
	transition:background-color .16s,color .16s,border-color .16s;
}
.hoa-follow__btn:hover{background:var(--c-primary-hover,#151515);color:#fff;}
/* Following shows as the quieter state — you are already in, so the button
   should stop asking for attention. */
.hoa-follow__btn.is-on{background:#fff;color:var(--c-primary);}
.hoa-follow__btn.is-on:hover{background:var(--c-tint);}
.hoa-follow__btn.is-self{background:var(--c-soft);border-color:var(--c-line);color:var(--c-ghost);cursor:default;}
.hoa-follow__btn[disabled]{opacity:.65;cursor:progress;}
.hoa-follow__btn:focus-visible{outline:3px solid var(--c-primary);outline-offset:3px;}
.hoa-follow--sm .hoa-follow__btn{min-height:36px;padding:.4rem 1.1rem;font-size:13px;}

.hoa-follow__count{display:inline-flex;align-items:baseline;gap:5px;font-size:14px;color:var(--c-ghost);}
.hoa-follow__count strong{font-size:17px;color:var(--c-ink);font-weight:700;}

/* ---- Inbox ---- */
.hoa-msg-list{list-style:none;margin:0;padding:0;border-top:1px solid var(--c-line);}
.hoa-msg-list__item{border-bottom:1px solid var(--c-line);}
.hoa-msg-list__item a{
	display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;
	padding:16px 4px;text-decoration:none;color:inherit;
}
.hoa-msg-list__item a:hover{background:var(--c-soft);}
.hoa-msg-list__who{grid-column:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;}
.hoa-msg-list__who strong{font-size:15.5px;}
.hoa-msg-list__sub{font-size:13px;color:var(--c-ghost);}
.hoa-msg-list__last{grid-column:1;font-size:14px;color:var(--c-ghost);line-height:1.5;}
.hoa-msg-list__meta{grid-column:2;grid-row:1 / span 2;display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--c-ghost);}
.hoa-msg-list__badge{
	display:inline-flex;align-items:center;justify-content:center;
	min-width:22px;height:22px;padding:0 6px;border-radius:11px;
	background:var(--c-primary);color:#fff;font-size:12px;font-weight:700;
}
.hoa-msg-list__item.is-unread .hoa-msg-list__who strong{color:var(--c-primary);}
.hoa-msg-list__item.is-unread .hoa-msg-list__last{color:var(--c-ink);}

/* ---- Thread ---- */
.hoa-msg-head{
	display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;
	padding-bottom:16px;margin-bottom:20px;border-bottom:1px solid var(--c-line);
}
.hoa-msg-head h3{margin:0;font-family:var(--f-head);font-size:1.25rem;}
.hoa-msg-head h3 a{color:inherit;text-decoration:none;}
.hoa-msg-head h3 a:hover{color:var(--c-primary);}
.hoa-msg-head__sub{margin:4px 0 0;font-size:13.5px;color:var(--c-ghost);}

.hoa-msg-thread{display:flex;flex-direction:column;gap:14px;margin-bottom:24px;}
.hoa-msg-bubble{
	max-width:min(76%,560px);padding:14px 16px;border-radius:16px;
	background:var(--c-soft);border:1px solid var(--c-line);
}
.hoa-msg-bubble.is-mine{align-self:flex-end;background:var(--c-tint);border-color:transparent;}
.hoa-msg-bubble__body p{margin:0 0 .6rem;font-size:14.5px;line-height:1.65;}
.hoa-msg-bubble__body p:last-child{margin:0;}
.hoa-msg-bubble time{display:block;margin-top:8px;font-size:11.5px;color:var(--c-ghost);}

.hoa-msg-form textarea{
	width:100%;min-height:92px;padding:12px 14px;
	border:1px solid var(--c-line-strong,#d3ccc3);border-radius:12px;
	font:inherit;font-size:14.5px;resize:vertical;
}
.hoa-msg-form textarea:focus{outline:none;border-color:var(--c-primary);box-shadow:0 0 0 3px var(--c-focus,rgba(92,15,10,.2));}
.hoa-msg-form__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;}
.hoa-msg-form__hint{margin:0;font-size:12.5px;color:var(--c-ghost);max-width:46ch;}

@media (max-width:560px){
	.hoa-msg-bubble{max-width:88%;}
	.hoa-msg-list__item a{grid-template-columns:minmax(0,1fr);}
	.hoa-msg-list__meta{grid-column:1;grid-row:auto;}
	.hoa-msg-form__foot{flex-direction:column;align-items:stretch;}
	.hoa-msg-form__foot .hoa-cur-btn{width:100%;}
}

/* ---- Messaging: own-inbox switch, contacts and held state ---- */

.hoa-msg-optout{
	display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;
	padding:14px 18px;margin-bottom:22px;
	border:1px solid var(--c-line);border-left:3px solid var(--c-ok,#2e7d4f);border-radius:var(--r);
	background:#fff;
}
.hoa-msg-optout.is-off{border-left-color:var(--c-ghost);}
.hoa-msg-optout strong{display:block;font-size:14.5px;}
.hoa-msg-optout p{margin:3px 0 0;font-size:13px;color:var(--c-ghost);max-width:58ch;line-height:1.55;}

.hoa-msg-cols{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px;align-items:start;}
.hoa-msg-h3{
	margin:0 0 12px;font-family:var(--f-head);font-size:13px;font-weight:700;
	letter-spacing:.1em;text-transform:uppercase;color:var(--c-ghost);
	display:flex;align-items:baseline;gap:8px;
}
.hoa-msg-h3 span{font-size:12px;color:var(--c-primary);}

.hoa-msg-people{list-style:none;margin:0;padding:0;border-top:1px solid var(--c-line);}
.hoa-msg-person{
	display:flex;align-items:center;justify-content:space-between;gap:12px;
	padding:12px 2px;border-bottom:1px solid var(--c-line);
}
.hoa-msg-person__who a{color:var(--c-ink);text-decoration:none;font-weight:600;font-size:14.5px;}
.hoa-msg-person__who a:hover{color:var(--c-primary);}
.hoa-msg-person__rel{display:block;font-size:12px;color:var(--c-ghost);margin-top:2px;}
.hoa-msg-person__off{font-size:12px;color:var(--c-ghost);font-style:italic;}
.hoa-msg-person form{margin:0;}

.hoa-msg-bubble.is-held{opacity:.62;border-style:dashed;}
.hoa-msg-bubble footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;}
.hoa-msg-bubble footer time{margin:0;}
.hoa-msg-report{margin:0;}
.hoa-msg-report button{
	border:0;background:none;padding:0;cursor:pointer;
	font:inherit;font-size:11.5px;color:var(--c-ghost);text-decoration:underline;
}
.hoa-msg-report button:hover{color:var(--c-error,#b32d2e);}
.hoa-msg-reported{font-size:11.5px;color:var(--c-error,#b32d2e);}

@media (max-width:900px){
	.hoa-msg-cols{grid-template-columns:minmax(0,1fr);}
}
@media (max-width:560px){
	.hoa-msg-optout{flex-direction:column;align-items:stretch;}
	.hoa-msg-optout .hoa-cur-btn{width:100%;}
}

/* ==========================================================================
   1.14.2 — Follow button contrast fix
   .hoa-cur a sets every link maroon, and being equally specific but earlier
   it was losing to nothing — the anchor variant of this button ended up
   maroon text on a maroon fill, i.e. invisible. Scoped overrides below.
   ========================================================================== */

.hoa-cur a.hoa-follow__btn,
.hoa-follow a.hoa-follow__btn{
	color:#fff;
	text-decoration:none;
}
.hoa-cur a.hoa-follow__btn:hover,
.hoa-follow a.hoa-follow__btn:hover{
	color:#fff;
	text-decoration:none;
}

/* The "already following" and unavailable states are outlined, not filled,
   so their text must go back to maroon or grey. */
.hoa-cur a.hoa-follow__btn.is-on,
.hoa-follow a.hoa-follow__btn.is-on{color:var(--c-primary);}
.hoa-cur a.hoa-follow__btn.is-self,
.hoa-follow a.hoa-follow__btn.is-self{color:var(--c-ghost);}

/* Whatever it is rendered as — button or anchor — it must never collapse to
   an empty pill. */
.hoa-follow__btn{min-width:110px;white-space:nowrap;}
.hoa-follow--sm .hoa-follow__btn{min-width:92px;}

/* ==========================================================================
   1.16 — Follow button in the primary colour
   The "Following" state was outlined, which read as disabled next to the
   filled buttons beside it. Both states are now filled; the difference is
   carried by the label and a subtle inset instead.
   ========================================================================== */

.hoa-follow__btn,
.hoa-cur a.hoa-follow__btn,
.hoa-follow a.hoa-follow__btn{
	background:var(--c-primary);
	border-color:var(--c-primary);
	color:#fff;
}
.hoa-follow__btn:hover,
.hoa-cur a.hoa-follow__btn:hover,
.hoa-follow a.hoa-follow__btn:hover{
	background:var(--c-primary-hover,#151515);
	border-color:var(--c-primary-hover,#151515);
	color:#fff;
}
.hoa-follow__btn:active,
.hoa-cur a.hoa-follow__btn:active{
	background:var(--c-primary-active,#660000);
	border-color:var(--c-primary-active,#660000);
}
.hoa-follow__btn.is-on,
.hoa-cur a.hoa-follow__btn.is-on,
.hoa-follow a.hoa-follow__btn.is-on{
	background:var(--c-primary);
	border-color:var(--c-primary);
	color:#fff;
	box-shadow:inset 0 0 0 2px rgba(255,255,255,.35);
}
.hoa-follow__btn.is-on:hover,
.hoa-cur a.hoa-follow__btn.is-on:hover{
	background:var(--c-primary-hover,#151515);
	border-color:var(--c-primary-hover,#151515);
}
/* Only the genuinely inert states stay grey. */
.hoa-follow__btn.is-self,
.hoa-cur a.hoa-follow__btn.is-self,
.hoa-follow a.hoa-follow__btn.is-self{
	background:var(--c-soft);
	border-color:var(--c-line);
	color:var(--c-ghost);
	box-shadow:none;
}

/* ==========================================================================
   1.17 — Follow button: #660000 on white text, in every live state
   The earlier rules inherited --c-primary, which a theme override could
   change. These are explicit, because this button was rendering invisible
   before and it is not worth risking twice.
   ========================================================================== */

.hoa-follow__btn,
.hoa-cur .hoa-follow__btn,
.hoa-cur a.hoa-follow__btn,
.hoa-follow a.hoa-follow__btn,
.hoa-follow button.hoa-follow__btn{
	background:#660000;
	border:1px solid #660000;
	color:#fff;
	text-decoration:none;
}
.hoa-follow__btn:hover,
.hoa-cur .hoa-follow__btn:hover,
.hoa-cur a.hoa-follow__btn:hover,
.hoa-follow a.hoa-follow__btn:hover,
.hoa-follow button.hoa-follow__btn:hover{
	background:#151515;
	border-color:#151515;
	color:#fff;
}
.hoa-follow__btn:active,
.hoa-cur .hoa-follow__btn:active{
	background:#660000;
	border-color:#660000;
	color:#fff;
}
/* Following: same fill, with an inset ring so the two states are still
   distinguishable without going outlined. */
.hoa-follow__btn.is-on,
.hoa-cur .hoa-follow__btn.is-on,
.hoa-cur a.hoa-follow__btn.is-on,
.hoa-follow a.hoa-follow__btn.is-on{
	background:#660000;
	border-color:#660000;
	color:#fff;
	box-shadow:inset 0 0 0 2px rgba(255,255,255,.4);
}
.hoa-follow__btn.is-on:hover,
.hoa-cur .hoa-follow__btn.is-on:hover{ background:#151515;border-color:#151515;color:#fff; }

/* Only the inert states stay grey. */
.hoa-follow__btn.is-self,
.hoa-cur .hoa-follow__btn.is-self,
.hoa-cur a.hoa-follow__btn.is-self,
.hoa-follow a.hoa-follow__btn.is-self{
	background:var(--c-soft);
	border-color:var(--c-line);
	color:var(--c-ghost);
	box-shadow:none;
}
.hoa-follow__btn .hoa-follow__label{ color:inherit; }

/* ==========================================================================
   1.18 — card type and the shared filter bar
   ========================================================================== */

.hoa-cur-card,
.hoa-cur-card__title,
.hoa-cur-card__meta,
.hoa-cur-card__excerpt,
.hoa-listing-card,
.hoa-listing-card__title,
.hoa-listing-card__meta{ font-size:14px; }
.hoa-cur-card__title,
.hoa-listing-card__title{ font-weight:600;line-height:1.35; }

/* The bar's own layout comes from the artist platform's stylesheet; these
   only cover the controls the curator plugin styles itself. */
.hoa-filterbar > p,
.hoa-filterbar .hoa-cur-field{ margin:0;display:flex;flex-direction:column;gap:.25rem; }
.hoa-filterbar select,
.hoa-filterbar input[type="search"],
.hoa-filterbar input[type="text"]{
	min-height:44px;padding:.5rem .7rem;
	border:1px solid var(--c-line);border-radius:8px;background:#fff;
	font:inherit;font-size:.9rem;color:var(--c-ink);
}
.hoa-filterbar select:focus,
.hoa-filterbar input:focus{ outline:none;border-color:var(--c-primary);box-shadow:0 0 0 3px var(--c-focus,rgba(102,0,0,.18)); }

/* ==========================================================================
   1.20 — featured slider: make it actually scroll, and stop it widening
   the page
   grid-auto-flow: column sizes its tracks against the container, so the row
   could never grow wider than the box holding it — which is exactly the
   condition that makes a scroller never scroll. Flex items with a fixed
   width and flex-shrink: 0 overflow properly. Declared after the original
   rules so it wins without editing them.
   ========================================================================== */

.hoa-featured__track{
	display:flex !important;
	flex-wrap:nowrap;
	align-items:stretch;
	grid-auto-flow:unset;
	grid-auto-columns:unset;
	width:100%;
	max-width:100%;
	min-width:0;
	overflow-y:hidden;
	scroll-behavior:smooth;
}
.hoa-featured__track > .hoa-featured__slide{
	/* Without flex-shrink: 0 the cards squeeze to fit and the row never
	   overflows, so there is nothing to scroll. */
	flex:0 0 auto;
	width:calc( (100% - (var(--perview, 3) - 1) * 20px) / var(--perview, 3) );
	min-width:0;
}
.hoa-featured__track > .hoa-featured__slide > *{ max-width:100%; }
.hoa-featured__track img{ max-width:100%;height:auto; }

/* The slider must not push its ancestors wider than the viewport. */
.hoa-featured,
.hoa-featured__slider{ min-width:0;max-width:100%; }
.hoa-featured *{ min-width:0; }

@media (max-width:1024px){
	.hoa-featured__track > .hoa-featured__slide{ width:calc( (100% - 2 * 18px) / 3 ); }
}
@media (max-width:760px){
	.hoa-featured__track > .hoa-featured__slide{ width:calc( (100% - 16px) / 2 ); }
}
@media (max-width:460px){
	.hoa-featured__track > .hoa-featured__slide{ width:82%; }
}

/* ==========================================================================
   1.21 — "I'm interested"
   ========================================================================== */

.hoa-interest {
	display: inline-flex; align-items: center; gap: 0.45rem;
	min-height: 46px; padding: 0.55rem 1.3rem;
	border: 1px solid var(--c-primary, #660000); border-radius: 8px;
	background: #fff; font: inherit; font-size: 14px; font-weight: 600;
	color: var(--c-primary, #660000); text-decoration: none; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.hoa-interest:hover { background: var(--c-primary, #660000); color: #fff; }
.hoa-interest.is-on { background: var(--c-primary, #660000); border-color: var(--c-primary, #660000); color: #fff; }
.hoa-interest.is-on:hover { background: #151515; border-color: #151515; }
.hoa-interest[disabled] { opacity: .6; cursor: progress; }
.hoa-interest:focus-visible { outline: 3px solid var(--c-primary, #660000); outline-offset: 3px; }
.hoa-interest__tick { font-size: 15px; line-height: 1; }

.hoa-interest__count { display: inline-block; margin-left: 0.6rem; font-size: 13px; color: #6b6560; vertical-align: middle; }
.hoa-interest__count[hidden] { display: none; }

/* ---- The member's saved list ---- */
.hoa-interests { max-width: 860px; }
.hoa-interests__title { margin: 0 0 1rem; font-size: clamp(1.25rem, 3vw, 1.8rem); font-weight: 700; }
.hoa-interests__sub { margin: 2rem 0 0.75rem; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b6560; }

.hoa-interests__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.hoa-interests__item {
	display: flex; align-items: center; gap: 1rem; margin: 0; padding: 0.75rem;
	border: 1px solid #e6e0d8; border-radius: 12px; background: #fff;
}
.hoa-interests__item.is-past { opacity: .62; }
.hoa-interests__media { flex: none; width: 76px; height: 76px; border-radius: 8px; overflow: hidden; background: #f4efe6; display: block; }
.hoa-interests__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-interests__body { flex: 1; min-width: 0; }
.hoa-interests__kind { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary, #660000); }
.hoa-interests__name { margin: 2px 0 3px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.hoa-interests__name a { color: #151515; text-decoration: none; }
.hoa-interests__name a:hover { color: var(--c-primary, #660000); }
.hoa-interests__when { margin: 0; font-size: 13px; color: #6b6560; }
.hoa-interests__drop {
	flex: none; min-height: 38px; padding: 0.4rem 0.9rem;
	border: 1px solid #e6e0d8; border-radius: 8px; background: #fff;
	font: inherit; font-size: 13px; color: #6b6560; cursor: pointer;
}
.hoa-interests__drop:hover { border-color: #b32d2e; color: #b32d2e; }

.hoa-interests__empty { padding: 1.5rem; border: 1px dashed #e6e0d8; border-radius: 12px; background: #faf7f2; text-align: center; }
.hoa-interests__empty p { margin: 0 0 0.4rem; font-size: 14px; color: #6b6560; }
.hoa-interests__empty p:last-child { margin: 0; }

@media (max-width: 560px) {
	.hoa-interests__item { flex-wrap: wrap; }
	.hoa-interests__media { width: 56px; height: 56px; }
	.hoa-interests__drop { width: 100%; }
}
