/* ==========================================================================
   House of Arts — Artist Platform
   Design system.

   Every colour, font and radius is a token below. Settings → Branding
   writes over the brand tokens, so the whole plugin follows the gallery's
   identity without editing this file.

   Scoped to hoa- elements throughout: nothing here reaches the theme's own
   header, footer or pages.
   ========================================================================== */

:root {
	/* Brand — overridden by Settings → Branding */
	--hoa-primary: #5c0f0a;
	--hoa-primary-hover: #151515;
	--hoa-primary-active: #660000;
	--hoa-primary-soft: #f8efed;
	--hoa-primary-line: #e3c8c4;
	--hoa-focus: rgba(92, 15, 10, 0.28);
	--hoa-font-body: inherit;
	--hoa-font-heading: inherit;

	/* Neutrals — warm, to sit with a gallery's cream and maroon */
	--hoa-ink: #151515;
	--hoa-muted: #6b6560;
	--hoa-faint: #9a928b;
	--hoa-line: #e6e0d8;
	--hoa-line-strong: #d3ccc3;
	--hoa-bg-soft: #f7f3ec;
	--hoa-surface: #ffffff;

	/* Status */
	--hoa-ok: #2e7d4f;
	--hoa-ok-bg: #eff7f2;
	--hoa-warn: #8a5a00;
	--hoa-warn-bg: #fdf6e8;
	--hoa-error: #b32d2e;
	--hoa-error-bg: #fcf1f1;
	--hoa-info: var(--hoa-primary);
	--hoa-info-bg: var(--hoa-primary-soft);

	/* Shape and type scale */
	--hoa-radius: 10px;
	--hoa-radius-sm: 6px;
	--hoa-fs-base: 1rem;
	--hoa-fs-xs: calc( var(--hoa-fs-base) * 0.75 );
	--hoa-fs-sm: calc( var(--hoa-fs-base) * 0.875 );
	--hoa-fs-md: calc( var(--hoa-fs-base) * 0.9375 );
	--hoa-fs-lg: calc( var(--hoa-fs-base) * 1.125 );
	--hoa-fs-xl: calc( var(--hoa-fs-base) * 1.375 );
	--hoa-fs-2xl: calc( var(--hoa-fs-base) * 1.75 );
	--hoa-fs-3xl: calc( var(--hoa-fs-base) * 2.5 );
}

/* ---------- Base ---------- */

/* A class that sets display beats the browser's own [hidden] rule, which
   left hidden fields and buttons on screen. Hidden means hidden. */
[class*="hoa-"]:not(body)[hidden],
[class*="hoa-"]:not(body) [hidden] { display: none !important; }

:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) {
	font-family: var(--hoa-font-body);
	color: var(--hoa-ink);
}

:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) a {
	color: var(--hoa-primary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}
:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) a:hover { color: var(--hoa-primary-hover); text-decoration-thickness: 2px; }
:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) a:active { color: var(--hoa-primary-active); }

:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) :is(h1, h2) {
	color: var(--hoa-primary);
	font-weight: 600;
	letter-spacing: -0.01em;
}
:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) h3 { color: var(--hoa-ink); }

:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) :focus-visible {
	outline: 3px solid var(--hoa-focus);
	outline-offset: 2px;
}

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

.hoa-notice {
	padding: 1rem 1.25rem;
	border-left: 4px solid;
	border-radius: 6px;
	margin: 0 0 1.5rem;
	line-height: 1.55;
}
.hoa-notice p { margin: 0 0 0.5rem; }
.hoa-notice p:last-child { margin-bottom: 0; }
.hoa-notice--ok { background: var(--hoa-ok-bg); border-color: var(--hoa-ok); }
.hoa-notice--warn,
.hoa-notice--pending { background: var(--hoa-warn-bg); border-color: var(--hoa-warn); }
.hoa-notice--error { background: var(--hoa-error-bg); border-color: var(--hoa-error); }
.hoa-notice--info { background: var(--hoa-info-bg); border-color: var(--hoa-info); }

.hoa-lede { color: var(--hoa-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.hoa-empty { color: var(--hoa-muted); font-style: italic; }
.hoa-muted { color: var(--hoa-muted); }

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

.hoa-fieldset {
	border: 1px solid var(--hoa-line);
	border-radius: var(--hoa-radius);
	padding: 1.25rem 1.5rem 0.5rem;
	margin: 0 0 1.5rem;
}
.hoa-fieldset legend {
	font-weight: 600;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0 0.5rem;
	color: var(--hoa-muted);
}
.hoa-field { display: block; margin: 0 0 1.25rem; }
.hoa-field label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.92rem; }
.hoa-field input[type="text"],
.hoa-field input[type="number"],
.hoa-field input[type="email"],
.hoa-field input[type="url"],
.hoa-field input[type="tel"],
.hoa-field input[type="date"],
.hoa-field select,
.hoa-field textarea {
	width: 100%;
	padding: 0.6rem 0.7rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	font: inherit;
	font-size: 1rem;
	background: #fff;
	box-sizing: border-box;
}
.hoa-field textarea { resize: vertical; }
.hoa-field input:focus,
.hoa-field select:focus,
.hoa-field textarea:focus { outline: 2px solid var(--hoa-ink); outline-offset: 1px; }
.hoa-field--check label { font-weight: 400; display: flex; gap: 0.6rem; align-items: flex-start; }
.hoa-field--check input { margin-top: 0.25rem; flex: 0 0 auto; }
.hoa-field--check strong { font-weight: 600; }

.hoa-hint { display: block; margin-top: 0.3rem; font-size: 0.82rem; color: var(--hoa-muted); line-height: 1.45; font-weight: 400; }
.hoa-hint--block { margin-bottom: 1rem; }
.hoa-req { color: var(--hoa-error); }
.hoa-indent { padding-left: 1.6rem; border-left: 2px solid var(--hoa-line); }
.hoa-hp { position: absolute; left: -9999px; }

.hoa-grid { display: grid; gap: 0 1.25rem; }
.hoa-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hoa-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hoa-grid--4 { grid-template-columns: repeat(4, 1fr); }

.hoa-submit button {
	padding: 0.85rem 2rem;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	background: var(--hoa-ink);
	color: #fff;
	border: 0;
	border-radius: 5px;
}
.hoa-submit button:hover { background: #000; }

.hoa-current-photo { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.6rem; }
.hoa-current-photo img { border-radius: 8px; }
.hoa-current-photo label { font-weight: 400; font-size: 0.85rem; }

.hoa-profile-url {
	background: var(--hoa-bg-soft);
	padding: 0.9rem 1.1rem;
	border-radius: 8px;
	margin-bottom: 1.5rem;
	font-size: 0.9rem;
}
.hoa-profile-url span { display: block; color: var(--hoa-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.hoa-profile-url em { color: var(--hoa-warn); font-style: normal; }

/* ---------- Tables & chips ---------- */

.hoa-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; font-size: 0.93rem; }
.hoa-table th {
	text-align: left;
	padding: 0.6rem;
	border-bottom: 2px solid var(--hoa-line);
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hoa-muted);
}
.hoa-table td { padding: 0.8rem 0.6rem; border-bottom: 1px solid var(--hoa-line); vertical-align: top; }
.hoa-table-thumb { width: 60px; }
.hoa-table-thumb img { border-radius: 5px; display: block; }
.hoa-table-note { margin-top: 0.3rem; font-size: 0.84rem; color: var(--hoa-warn); }

.hoa-chip {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
	white-space: nowrap;
}
.hoa-chip--ok { background: var(--hoa-ok-bg); color: var(--hoa-ok); }
.hoa-chip--pending { background: var(--hoa-warn-bg); color: var(--hoa-warn); }
.hoa-chip--warn { background: var(--hoa-warn-bg); color: var(--hoa-warn); }
.hoa-chip--error { background: var(--hoa-error-bg); color: var(--hoa-error); }
.hoa-chip--info { background: var(--hoa-info-bg); color: var(--hoa-info); }

/* ---------- Selling terms ---------- */

.hoa-terms {
	background: var(--hoa-bg-soft);
	border-radius: var(--hoa-radius);
	padding: 1.5rem 1.75rem;
	margin: 0 0 2rem;
}
.hoa-terms h4 { margin: 0 0 1rem; font-size: 1rem; }
.hoa-terms-list { margin: 0; padding-left: 1.2rem; }
.hoa-terms-list li { margin-bottom: 1rem; line-height: 1.55; }
.hoa-terms-list strong { display: block; margin-bottom: 0.15rem; }
.hoa-terms-list span { color: var(--hoa-muted); font-size: 0.92rem; }

/* ---------- Orders to ship ---------- */

.hoa-order-card {
	border: 1px solid var(--hoa-line);
	border-radius: var(--hoa-radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
}
.hoa-order-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.hoa-order-head h3 { margin: 0; }
.hoa-order-date { color: var(--hoa-muted); font-size: 0.88rem; }
.hoa-order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; margin-bottom: 1.25rem; }
.hoa-order-grid h4 { margin: 0 0 0.5rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--hoa-muted); }
.hoa-order-items ul { list-style: none; margin: 0; padding: 0; }
.hoa-order-items li { padding: 0.5rem 0; border-bottom: 1px solid var(--hoa-line); }
.hoa-order-net { display: block; font-size: 0.85rem; color: var(--hoa-muted); margin-top: 0.2rem; }
.hoa-order-address address { font-style: normal; line-height: 1.55; }
.hoa-order-phone { margin: 0.4rem 0 0; font-size: 0.9rem; }

.hoa-shipment-done {
	background: var(--hoa-ok-bg);
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin-bottom: 1.25rem;
	font-size: 0.9rem;
}
.hoa-shipment-done dl { display: grid; grid-template-columns: 110px 1fr; gap: 0.25rem 0.5rem; margin: 0.6rem 0; }
.hoa-shipment-done dt { color: var(--hoa-muted); }
.hoa-shipment-done dd { margin: 0; }

.hoa-form--inline .hoa-field { margin-bottom: 1rem; }

/* ---------- Earnings ---------- */

.hoa-earning-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-bottom: 2rem;
}
.hoa-earning-card {
	padding: 1.4rem 1.5rem;
	border-radius: var(--hoa-radius);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}
.hoa-earning-card--pending { background: #c69172; }
.hoa-earning-card--ready { background: #5f8a72; }
.hoa-earning-card--paid { background: #b8b0a4; }
.hoa-earning-figure { font-size: 1.7rem; font-weight: 300; line-height: 1.1; }
.hoa-earning-figure .woocommerce-Price-amount { color: #fff; }
.hoa-earning-label { font-weight: 600; font-size: 0.95rem; }
.hoa-earning-note { font-size: 0.8rem; opacity: 0.88; line-height: 1.4; }

/* ==========================================================================
   PUBLIC PORTFOLIO PAGE
   ========================================================================== */

.hoa-profile { max-width: 1240px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.hoa-profile-preview { margin-bottom: 2rem; }

.hoa-profile-header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
	margin-bottom: 4rem;
}
.hoa-profile-hi { font-weight: 700; margin: 0 0 1rem; font-size: 1.05rem; }
.hoa-profile-headline {
	font-size: clamp( 2rem, 4.5vw, 3.4rem );
	line-height: 1.08;
	margin: 0 0 0.6rem;
	letter-spacing: -0.02em;
}
.hoa-profile-location { color: var(--hoa-muted); margin: 0 0 1.5rem; }
.hoa-profile-bio { line-height: 1.7; margin-bottom: 1.5rem; }

.hoa-profile-socials { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 1.75rem; padding: 0; }
.hoa-social {
	display: inline-block;
	padding: 0.4rem 0.95rem;
	border: 1px solid var(--hoa-line);
	border-radius: 999px;
	font-size: 0.86rem;
	text-decoration: none;
	color: var(--hoa-ink);
}
.hoa-social:hover { border-color: var(--hoa-ink); }

.hoa-profile-contact { border-top: 1px solid var(--hoa-line); padding-top: 1.5rem; }
.hoa-contact-label { font-weight: 600; margin: 0 0 0.75rem; }
.hoa-contact-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.hoa-btn {
	display: inline-block;
	padding: 0.7rem 1.5rem;
	border-radius: 5px;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.92rem;
}
.hoa-btn--whatsapp { background: #25d366; color: #fff; }
.hoa-btn--email { background: var(--hoa-ink); color: #fff; }
.hoa-btn:hover { opacity: 0.9; color: #fff; }
.hoa-contact-note { font-size: 0.82rem; color: var(--hoa-muted); margin: 0; line-height: 1.5; }

.hoa-profile-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hoa-profile-photo { grid-column: 1 / -1; border-radius: 18px; overflow: hidden; }
.hoa-profile-photo img { display: block; width: 100%; height: auto; }
.hoa-profile-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.hoa-stat {
	border-radius: 18px;
	padding: 1.5rem 1.25rem;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 130px;
}
.hoa-stat--a { background: #c69172; }
.hoa-stat--b { background: #5f8a72; }
.hoa-stat--c { background: #b8b0a4; }
.hoa-stat-figure { font-size: 2rem; font-weight: 300; line-height: 1; }
.hoa-stat-label { font-size: 0.85rem; opacity: 0.92; margin-top: 0.3rem; }

/* ---------- Works grid ---------- */

.hoa-profile-works { margin-bottom: 4rem; }
.hoa-profile-works h2 { margin: 0 0 1.5rem; }
.hoa-works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem 1.5rem; }
.hoa-work { text-decoration: none; color: inherit; display: block; }
.hoa-work-image { position: relative; border-radius: 10px; overflow: hidden; background: var(--hoa-bg-soft); margin-bottom: 0.75rem; }
.hoa-work-image img { display: block; width: 100%; height: auto; transition: transform 0.4s ease; }
.hoa-work:hover .hoa-work-image img { transform: scale(1.03); }
.hoa-work-badge {
	position: absolute; top: 0.6rem; right: 0.6rem;
	background: rgba(0,0,0,0.78); color: #fff;
	padding: 0.2rem 0.6rem; border-radius: 4px;
	font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.hoa-work-title { font-size: 1rem; margin: 0 0 0.2rem; line-height: 1.35; }
.hoa-work-medium { font-size: 0.82rem; color: var(--hoa-muted); margin: 0 0 0.3rem; }
.hoa-work-price { margin: 0; font-weight: 600; }

.hoa-byline { font-size: 0.92rem; margin-bottom: 0.75rem; }

/* ---------- Buyer policy ---------- */

.hoa-policy { background: var(--hoa-bg-soft); border-radius: var(--hoa-radius); padding: 2.5rem; }
.hoa-policy h2 { margin: 0 0 0.75rem; }
.hoa-policy-lede { color: var(--hoa-muted); max-width: 60ch; line-height: 1.6; margin-bottom: 2rem; }
.hoa-policy-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.25rem; }
.hoa-policy-steps li { display: flex; gap: 1rem; align-items: flex-start; }
.hoa-policy-step {
	flex: 0 0 32px; height: 32px;
	border-radius: 50%;
	background: var(--hoa-ink); color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-size: 0.88rem; font-weight: 600;
}
.hoa-policy-steps strong { display: block; margin-bottom: 0.2rem; }
.hoa-policy-steps p { margin: 0; color: var(--hoa-muted); line-height: 1.6; max-width: 70ch; }
.hoa-policy-foot {
	border-top: 1px solid var(--hoa-line);
	padding-top: 1.25rem;
	margin: 0;
	font-weight: 600;
}

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

@media (max-width: 900px) {
	.hoa-profile-header { grid-template-columns: 1fr; gap: 2rem; }
	.hoa-order-grid { grid-template-columns: 1fr; }
	.hoa-earning-cards { grid-template-columns: 1fr; }
	.hoa-policy { padding: 1.75rem 1.25rem; }
}

@media (max-width: 680px) {
	.hoa-grid--2, .hoa-grid--3, .hoa-grid--4 { grid-template-columns: 1fr; }
	.hoa-profile-stats { grid-template-columns: 1fr; }
	.hoa-works-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
	.hoa-table { font-size: 0.85rem; }
	.hoa-table thead { display: none; }
	.hoa-table tr { display: block; border-bottom: 2px solid var(--hoa-line); padding: 0.75rem 0; }
	.hoa-table td { display: block; border: 0; padding: 0.25rem 0; }
}

/* ==========================================================================
   INLINE AUTH PANEL
   Rendered on the page rather than in an overlay, so it cannot collide with
   a login-popup plugin or a theme's own dialog.
   ========================================================================== */

.hoa-auth { max-width: 460px; }
.hoa-auth-intro { margin-bottom: 1.75rem; line-height: 1.6; max-width: 62ch; }

.hoa-auth-pane {
	border: 1px solid var(--hoa-line);
	border-radius: var(--hoa-radius);
	padding: 1.75rem;
	background: #fff;
}
.hoa-auth-pane[hidden] { display: none; }
.hoa-auth-pane h3 { margin: 0 0 0.6rem; font-size: 1.35rem; }

.hoa-auth-note { font-size: 0.88rem; color: var(--hoa-muted); line-height: 1.55; margin: 0 0 1.5rem; }
.hoa-auth-form .hoa-field { margin-bottom: 1.1rem; }
.hoa-auth-form .hoa-submit { margin: 1.5rem 0 0; }
.hoa-auth-form .hoa-submit button { width: 100%; }

.hoa-auth-switch {
	margin: 1.25rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid var(--hoa-line);
	font-size: 0.88rem;
	color: var(--hoa-muted);
	text-align: center;
}
.hoa-auth-switch a {
	font-weight: 600;
	color: var(--hoa-ink);
	text-decoration: underline;
	cursor: pointer;
}
.hoa-auth-sep { margin: 0 0.5rem; opacity: 0.5; }

.hoa-auth-notices .woocommerce-error,
.hoa-auth-notices .woocommerce-message,
.hoa-auth-notices .woocommerce-info {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: 6px;
	border-left: 4px solid;
	font-size: 0.88rem;
}
.hoa-auth-notices .woocommerce-error { background: var(--hoa-error-bg); border-color: var(--hoa-error); }
.hoa-auth-notices .woocommerce-message { background: var(--hoa-ok-bg); border-color: var(--hoa-ok); }
.hoa-auth-notices .woocommerce-info { background: var(--hoa-info-bg); border-color: var(--hoa-info); }

@media (max-width: 480px) {
	.hoa-auth { max-width: none; }
	.hoa-auth-pane { padding: 1.25rem; }
}

/* The shortcode wrapper inherits page width from the theme; just give it room. */
.hoa-shortcode { margin: 1rem 0 2rem; }


/* ==========================================================================
   SETTLEMENT BREAKDOWN (front end)
   ========================================================================== */

.hoa-breakdown { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--hoa-bg-soft); border-radius: 8px; margin: 0.5rem 0 1rem; }
.hoa-breakdown caption { text-align: left; font-weight: 600; padding: 0 0 0.5rem; color: var(--hoa-muted); }
.hoa-breakdown th { text-align: left; font-weight: 400; padding: 0.5rem 0.9rem; }
.hoa-breakdown td { text-align: right; padding: 0.5rem 0.9rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hoa-breakdown .hoa-hint { display: block; font-size: 0.74rem; margin-top: 0.15rem; }
.hoa-breakdown-sub th, .hoa-breakdown-sub td { border-top: 1px solid var(--hoa-line); font-weight: 600; }
.hoa-breakdown-minus td { color: var(--hoa-error); }
.hoa-breakdown-total th, .hoa-breakdown-total td {
	border-top: 2px solid var(--hoa-ink); font-weight: 700; font-size: 1.05rem; padding-top: 0.7rem;
}

.hoa-breakdown-row td { padding: 0 0.6rem 0.75rem; border-bottom: 1px solid var(--hoa-line); }
.hoa-breakdown-row summary { cursor: pointer; font-size: 0.84rem; color: var(--hoa-muted); padding: 0.3rem 0; }
.hoa-breakdown-row summary:hover { color: var(--hoa-ink); }

.hoa-buyer-note {
	background: var(--hoa-bg-soft);
	border-left: 3px solid var(--hoa-ink);
	padding: 0.9rem 1.1rem;
	border-radius: 0 6px 6px 0;
	font-size: 0.88rem;
	line-height: 1.55;
	margin: 1rem 0;
}

.hoa-order-transparency { margin-top: 2.5rem; }
.hoa-order-transparency h2 { font-size: 1.2rem; }


/* ==========================================================================
   DIRECTORY, BADGES, AGE GATE, FAQS
   ========================================================================== */

/* The portfolio prints the artist's name itself; hide the host page's title. */
.hoa-portfolio-page .entry-title,
.hoa-portfolio-page .et_post_meta_wrapper > h1,
.hoa-portfolio-page .page-title,
.hoa-portfolio-page h1.entry-title { display: none !important; }

.hoa-profile-name { color: var(--hoa-muted); margin: 0 0 0.4rem; font-size: 1rem; }
.hoa-profile-badges { margin: 0 0 1rem; }
.hoa-profile-stats--two { grid-template-columns: repeat(2, 1fr); }

.hoa-profile-details { display: flex; flex-wrap: wrap; gap: 0.4rem 2rem; margin: 0 0 1.5rem; font-size: 0.88rem; }
.hoa-profile-details dt { color: var(--hoa-muted); margin-right: 0.4rem; }
.hoa-profile-details dt::after { content: ''; }
.hoa-profile-details dd { margin: 0 1.5rem 0 0; font-weight: 600; }

/* ---------- Badges ---------- */

.hoa-badge {
	display: inline-block; vertical-align: middle;
	padding: 0.18rem 0.6rem; border-radius: 999px;
	font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
	text-transform: uppercase; white-space: nowrap;
	background: var(--hoa-bg-soft); color: var(--hoa-muted);
}
.hoa-badge--verified-seller { background: #eef4f8; color: #37607d; }
.hoa-badge--rising { background: #fdf1e7; color: #9a5a22; }
.hoa-badge--established { background: #e9f6ed; color: #1d6b3d; }
.hoa-badge--top { background: #1a1a1a; color: #fff; }
.hoa-badge--gallery-choice { background: #f3ebff; color: #5a3a8a; }

/* ---------- Directory ---------- */

.hoa-directory { max-width: 1240px; margin: 0 auto; }

.hoa-directory-filters {
	display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto;
	gap: 0 1rem; align-items: end;
	background: var(--hoa-bg-soft); padding: 1.25rem 1.5rem;
	border-radius: var(--hoa-radius); margin-bottom: 1.5rem;
}
.hoa-directory-filters .hoa-field { margin-bottom: 0; }
.hoa-directory-filters input[type="search"] {
	width: 100%; padding: 0.6rem 0.7rem; border: 1px solid #ccc;
	border-radius: 5px; font: inherit; font-size: 1rem; box-sizing: border-box;
}
.hoa-directory-actions { margin: 0; display: flex; gap: 0.75rem; align-items: center; }
.hoa-directory-clear { font-size: 0.86rem; color: var(--hoa-muted); }

.hoa-directory-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.hoa-directory-count { margin: 0; color: var(--hoa-muted); font-size: 0.9rem; }
.hoa-directory-views { margin: 0; display: flex; gap: 0.25rem; }
.hoa-directory-views a {
	padding: 0.35rem 0.85rem; border: 1px solid var(--hoa-line);
	border-radius: 5px; font-size: 0.84rem; text-decoration: none; color: var(--hoa-muted);
}
.hoa-directory-views a.is-active { background: var(--hoa-ink); color: #fff; border-color: var(--hoa-ink); }

.hoa-artists--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2rem 1.5rem; }
.hoa-artists--list { display: flex; flex-direction: column; gap: 1rem; }

.hoa-artist-card { position: relative; }
.hoa-artist-card.is-featured .hoa-artist-photo { box-shadow: 0 0 0 2px var(--hoa-ink); }

.hoa-artist-photo {
	position: relative; border-radius: 12px; overflow: hidden;
	background: var(--hoa-bg-soft); aspect-ratio: 1; margin-bottom: 0.9rem;
	display: flex; align-items: center; justify-content: center;
}
.hoa-artist-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-artist-initial { font-size: 3rem; font-weight: 300; color: var(--hoa-muted); }
.hoa-featured-flag {
	position: absolute; top: 0.6rem; left: 0.6rem;
	background: var(--hoa-ink); color: #fff;
	padding: 0.2rem 0.6rem; border-radius: 4px;
	font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
}

.hoa-artist-name { font-size: 1.05rem; margin: 0 0 0.25rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.hoa-artist-headline { font-size: 0.88rem; color: var(--hoa-muted); margin: 0 0 0.3rem; line-height: 1.45; }
.hoa-artist-location { font-size: 0.84rem; color: var(--hoa-muted); margin: 0 0 0.3rem; }
.hoa-artist-works { font-size: 0.88rem; margin: 0 0 0.9rem; }
.hoa-artist-link { display: inline-block; padding: 0.5rem 1.1rem; font-size: 0.86rem; text-decoration: none; }

.hoa-artists--list .hoa-artist-card {
	display: grid; grid-template-columns: 120px 1fr;
	gap: 1.5rem; align-items: center;
	border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); padding: 1rem 1.25rem;
}
.hoa-artists--list .hoa-artist-photo { margin-bottom: 0; border-radius: 10px; }

/* ---------- Age gate ---------- */

.hoa-age-gate { display: flex; align-items: center; justify-content: center; padding: 5rem 1.5rem; min-height: 55vh; }
.hoa-age-gate-inner {
	max-width: 460px; text-align: center;
	border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); padding: 2.5rem 2rem;
}
.hoa-age-gate-inner h2 { margin: 0 0 0.75rem; }
.hoa-age-gate-inner p { color: var(--hoa-muted); line-height: 1.6; }
.hoa-age-gate-actions { display: flex; gap: 0.75rem; justify-content: center; margin: 1.75rem 0 1.25rem; flex-wrap: wrap; }
.hoa-age-gate-note { font-size: 0.8rem; margin: 0; }

.hoa-mature-cover {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem;
	aspect-ratio: 1; background: #1a1a1a; color: #fff; border-radius: 8px; text-align: center;
}
.hoa-mature-cover span { font-size: 1.6rem; font-weight: 700; letter-spacing: 0.05em; }
.hoa-mature-cover small { font-size: 0.72rem; opacity: 0.8; padding: 0 1rem; }

.hoa-mature-flag { background: #fdf3f3; border-left: 3px solid #b32d2e; padding: 0.7rem 1rem; border-radius: 0 5px 5px 0; }
.hoa-hint--blocked { color: var(--hoa-warn); font-weight: 600; }

/* ---------- FAQs ---------- */

.hoa-faqs { margin-top: 3rem; }
.hoa-faqs h2 { margin: 0 0 1.5rem; }
.hoa-faq-group { margin-bottom: 2rem; }
.hoa-faq-group h3 {
	font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em;
	color: var(--hoa-muted); margin: 0 0 0.75rem;
}
.hoa-faq { border-bottom: 1px solid var(--hoa-line); }
.hoa-faq summary {
	cursor: pointer; padding: 0.9rem 0; font-weight: 600;
	list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.hoa-faq summary::-webkit-details-marker { display: none; }
.hoa-faq summary::after { content: '+'; color: var(--hoa-muted); font-weight: 400; }
.hoa-faq[open] summary::after { content: '−'; }
.hoa-faq p { margin: 0 0 1rem; color: var(--hoa-muted); line-height: 1.65; max-width: 72ch; }

@media (max-width: 900px) {
	.hoa-directory-filters { grid-template-columns: 1fr 1fr; gap: 1rem; }
	.hoa-directory-actions { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
	.hoa-directory-filters { grid-template-columns: 1fr; }
	.hoa-artists--grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
	.hoa-artists--list .hoa-artist-card { grid-template-columns: 80px 1fr; gap: 1rem; }
	.hoa-profile-stats--two { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   FLIPBOOK CATALOGUE
   ========================================================================== */

.hoa-flip { max-width: 1100px; margin: 0 auto; padding: 1.5rem; }

.hoa-flip-stage {
	position: relative;
	aspect-ratio: 16 / 10;
	min-height: 520px;
	background: #fff;
	border-radius: var(--hoa-radius);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
	overflow: hidden;
}

.hoa-flip-page {
	position: absolute; inset: 0;
	padding: 3rem;
	opacity: 0;
	visibility: hidden;
	transform: translateX(6%);
	transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}
.hoa-flip-page.is-active { opacity: 1; visibility: visible; transform: none; }
.hoa-flip-page.is-before { transform: translateX(-6%); }

/* A soft edge on the left, so a page reads as paper rather than a slide. */
.hoa-flip-page::before {
	content: ''; position: absolute; inset: 0 auto 0 0; width: 26px;
	background: linear-gradient( to right, rgba(0,0,0,0.07), rgba(0,0,0,0) );
	pointer-events: none;
}

/* ---------- Cover ---------- */

.hoa-flip-cover { background: var(--hoa-bg-soft); justify-content: space-between; text-align: center; }
.hoa-cover-top { display: flex; justify-content: space-between; align-items: center; }
.hoa-cover-season { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hoa-muted); }
.hoa-cover-logo { height: 42px; width: auto; }
.hoa-cover-middle { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; }
.hoa-cover-portrait {
	width: 150px; height: 150px; border-radius: 50%; overflow: hidden;
	margin-bottom: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}
.hoa-cover-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-cover-name { font-size: clamp( 2rem, 4.5vw, 3.2rem ); margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
.hoa-cover-headline { color: var(--hoa-muted); margin: 0.4rem 0 0; font-size: 1.05rem; max-width: 46ch; }
.hoa-cover-location { color: var(--hoa-muted); margin: 0.2rem 0 0; font-size: 0.9rem; }
.hoa-cover-foot {
	display: flex; justify-content: space-between;
	font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hoa-muted);
	border-top: 1px solid var(--hoa-line); padding-top: 1rem;
}

/* ---------- Contents ---------- */

.hoa-flip-contents h2 { margin: 0 0 0.3rem; font-size: 1.8rem; }
.hoa-flip-instruction { color: var(--hoa-muted); font-size: 0.86rem; margin: 0 0 2rem; }
.hoa-contents-group { margin-bottom: 1.75rem; break-inside: avoid; }
.hoa-contents-group h3 {
	font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em;
	color: var(--hoa-muted); margin: 0 0 0.5rem;
	border-bottom: 1px solid var(--hoa-line); padding-bottom: 0.35rem;
}
.hoa-contents-group ul { list-style: none; margin: 0; padding: 0; }
.hoa-contents-group button {
	display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
	width: 100%; background: none; border: 0; cursor: pointer;
	padding: 0.4rem 0; font: inherit; text-align: left; color: var(--hoa-ink);
}
.hoa-contents-group button:hover .hoa-contents-title { text-decoration: underline; }
.hoa-contents-page { color: var(--hoa-muted); font-size: 0.82rem; font-variant-numeric: tabular-nums; }

/* ---------- A work ---------- */

.hoa-flip-work { flex-direction: row; gap: 3rem; align-items: center; }
.hoa-work-plate { flex: 1 1 55%; display: flex; align-items: center; justify-content: center; max-height: 100%; }
.hoa-work-plate img { max-width: 100%; max-height: 420px; width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.hoa-work-caption { flex: 1 1 45%; }
.hoa-work-artist { display: flex; align-items: center; gap: 0.5rem; font-size: 0.84rem; color: var(--hoa-muted); margin-bottom: 0.75rem; }
.hoa-work-artist img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.hoa-work-caption h2 { margin: 0 0 0.6rem; font-size: 1.6rem; line-height: 1.2; }
.hoa-work-blurb { color: var(--hoa-muted); line-height: 1.6; font-size: 0.92rem; margin: 0 0 1.25rem; }
.hoa-work-spec { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; font-size: 0.86rem; margin: 0 0 1.25rem; }
.hoa-work-spec dt { color: var(--hoa-muted); }
.hoa-work-spec dd { margin: 0; }
.hoa-work-price { font-size: 1.2rem; font-weight: 600; margin: 0 0 1.25rem; }

/* ---------- Back ---------- */

.hoa-flip-back { align-items: center; justify-content: center; text-align: center; background: var(--hoa-bg-soft); gap: 0.5rem; }
.hoa-flip-back h2 { margin: 1rem 0 0.3rem; font-size: 2rem; }
.hoa-back-name { color: var(--hoa-muted); margin: 0 0 1rem; }
.hoa-back-note { max-width: 44ch; color: var(--hoa-muted); line-height: 1.6; font-size: 0.92rem; }
.hoa-back-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Navigation ---------- */

.hoa-flip-nav { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 1.25rem; }
.hoa-flip-nav button {
	background: none; border: 0; cursor: pointer;
	font: inherit; font-size: 0.86rem; font-weight: 600;
	letter-spacing: 0.06em; text-transform: uppercase; color: var(--hoa-ink);
	padding: 0.5rem 0.25rem;
}
.hoa-flip-nav button:disabled { opacity: 0.25; cursor: default; }
.hoa-flip-counter { font-size: 0.86rem; color: var(--hoa-muted); font-variant-numeric: tabular-nums; }
.hoa-flip-counter strong { color: var(--hoa-ink); }

.hoa-catalogue-link { margin: 1rem 0 0; }

@media (max-width: 860px) {
	.hoa-flip { padding: 0.5rem; }
	.hoa-flip-stage { aspect-ratio: auto; min-height: 76vh; }
	.hoa-flip-page { padding: 1.75rem 1.25rem; }
	.hoa-flip-work { flex-direction: column; gap: 1.5rem; align-items: stretch; }
	.hoa-work-plate img { max-height: 40vh; }
	.hoa-cover-portrait { width: 110px; height: 110px; margin-bottom: 1rem; }
}

/* ==========================================================================
   v1.4 — upload feedback, check-your-email, embedded catalogue
   ========================================================================== */

.hoa-upload-status { display: block; margin-top: 0.45rem; font-size: 0.84rem; color: var(--hoa-muted); min-height: 1.2em; }
.hoa-upload-status.is-ok { color: var(--hoa-ok); font-weight: 600; }
.hoa-upload-status.is-error { color: var(--hoa-error); font-weight: 600; }

.hoa-submit button:disabled { opacity: 0.55; cursor: progress; }

.hoa-auth-sent { border-color: var(--hoa-ok); background: var(--hoa-ok-bg); }
.hoa-auth-sent h3 { color: var(--hoa-ok); }
.hoa-auth-sent p { line-height: 1.6; }

.hoa-profile-catalogue { margin: 0 0 4rem; scroll-margin-top: 90px; }
.hoa-profile-catalogue > h2 { margin: 0 0 1.25rem; }
.hoa-profile-catalogue .hoa-flip { padding: 0; }

/* ==========================================================================
   v1.5 — listing choice, edit mode, collection, work popup
   ========================================================================== */

.hoa-label { display: block; font-weight: 600; margin-bottom: 0.45rem; font-size: 0.92rem; }
.hoa-radio-row { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hoa-radio-row label { display: flex; gap: 0.45rem; align-items: center; font-weight: 400; }

.hoa-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.hoa-choice { display: flex; gap: 0.75rem; align-items: flex-start; border: 1px solid var(--hoa-line); border-radius: 8px; padding: 1rem 1.1rem; cursor: pointer; }
.hoa-choice:has( input:checked ) { border-color: var(--hoa-ink); box-shadow: 0 0 0 1px var(--hoa-ink); }
.hoa-choice input { margin-top: 0.25rem; }
.hoa-choice-body strong { display: block; margin-bottom: 0.25rem; }
.hoa-choice-body span { font-size: 0.85rem; color: var(--hoa-muted); line-height: 1.5; }

.hoa-edit-banner { background: var(--hoa-warn-bg); border-left: 4px solid var(--hoa-warn); border-radius: 6px; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.hoa-edit-banner a { margin-left: 1rem; font-size: 0.88rem; }
.hoa-edit-banner p { margin: 0.5rem 0 0; font-size: 0.88rem; line-height: 1.55; }

.hoa-existing-photos { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.hoa-existing-photo { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; font-weight: 400; }
.hoa-existing-photo img { width: 96px; height: 96px; object-fit: cover; border-radius: 6px; display: block; }
.hoa-existing-main { position: absolute; top: 4px; left: 4px; background: var(--hoa-ink); color: #fff; font-size: 0.66rem; padding: 0.1rem 0.4rem; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.05em; }
.hoa-existing-remove { font-size: 0.8rem; display: flex; gap: 0.3rem; align-items: center; }

.hoa-chip--neutral { background: #f1f1f1; color: #555; }

/* ---------- My Collection ---------- */

.hoa-collection { display: flex; flex-direction: column; gap: 1rem; }
.hoa-collection-item {
	display: grid; grid-template-columns: 96px 1fr auto; gap: 1.25rem; align-items: center;
	border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); padding: 1rem 1.25rem;
}
.hoa-collection-thumb img { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; display: block; }
.hoa-collection-body h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.hoa-collection-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 0.45rem; }
.hoa-collection-meta { margin: 0; font-size: 0.85rem; color: var(--hoa-muted); }
.hoa-collection-actions { display: flex; flex-direction: column; gap: 0.5rem; align-items: stretch; }
.hoa-collection-actions .hoa-btn { text-align: center; padding: 0.5rem 1rem; font-size: 0.84rem; }
.hoa-collection-actions form { margin: 0; }
.hoa-collection-actions button { width: 100%; }

/* ---------- Portfolio cards ---------- */

.hoa-work-badge--quiet { background: rgba(255,255,255,0.92); color: var(--hoa-ink); }
.hoa-work-more { display: inline-block; margin-top: 0.4rem; font-size: 0.82rem; font-weight: 600; text-decoration: underline; color: var(--hoa-ink); }

/* ---------- Work popup ---------- */

.hoa-work-popup { position: fixed; inset: 0; z-index: 99998; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.hoa-work-popup[hidden] { display: none; }
.hoa-work-popup-backdrop { position: absolute; inset: 0; background: rgba(15,15,15,0.62); }
.hoa-work-popup-box {
	position: relative; background: #fff; border-radius: 14px;
	width: 100%; max-width: 1040px; max-height: 90vh; overflow: hidden;
	display: grid; grid-template-columns: 1.2fr 1fr;
	box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.hoa-work-popup-x {
	position: absolute; top: 0.6rem; right: 0.8rem; z-index: 2;
	background: rgba(255,255,255,0.9); border: 0; border-radius: 50%;
	width: 36px; height: 36px; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--hoa-ink);
}
.hoa-work-popup-media { background: var(--hoa-bg-soft); display: flex; flex-direction: column; padding: 1.5rem; gap: 0.75rem; min-height: 0; }
.hoa-work-popup-main { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.hoa-work-popup-main img { max-width: 100%; max-height: 62vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 30px rgba(0,0,0,0.16); }
.hoa-work-popup-thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.hoa-work-popup-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; background: none; cursor: pointer; overflow: hidden; }
.hoa-work-popup-thumbs button.is-active { border-color: var(--hoa-ink); }
.hoa-work-popup-thumbs img { width: 56px; height: 56px; object-fit: cover; display: block; }

.hoa-work-popup-info { padding: 2rem 2rem 1.75rem; overflow-y: auto; }
.hoa-work-popup-chips { display: flex; gap: 0.4rem; margin: 0 0 0.9rem; flex-wrap: wrap; }
.hoa-work-popup-info h2 { margin: 0 0 0.2rem; font-size: 1.6rem; line-height: 1.2; padding-right: 2rem; }
.hoa-work-popup-artist { color: var(--hoa-muted); margin: 0 0 1.25rem; }
.hoa-work-popup-blurb { color: var(--hoa-muted); line-height: 1.65; font-size: 0.93rem; margin-bottom: 1.25rem; }
.hoa-work-popup-spec { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.25rem; font-size: 0.88rem; margin: 0 0 1.5rem; }
.hoa-work-popup-spec dt { color: var(--hoa-muted); }
.hoa-work-popup-spec dd { margin: 0; font-weight: 600; }
.hoa-work-popup-actions { border-top: 1px solid var(--hoa-line); padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.hoa-work-popup-price { width: 100%; margin: 0 0 0.25rem; font-size: 1.35rem; font-weight: 600; }
.hoa-work-popup-note, .hoa-work-popup-ask { width: 100%; margin: 0.4rem 0 0; font-size: 0.82rem; color: var(--hoa-muted); line-height: 1.5; }

@media (max-width: 820px) {
	.hoa-choice-grid { grid-template-columns: 1fr; }
	.hoa-collection-item { grid-template-columns: 72px 1fr; }
	.hoa-collection-thumb img { width: 72px; height: 72px; }
	.hoa-collection-actions { grid-column: 1 / -1; flex-direction: row; }
	.hoa-collection-actions > * { flex: 1; }
	.hoa-work-popup { padding: 0; align-items: flex-end; }
	.hoa-work-popup-box { grid-template-columns: 1fr; max-height: 94vh; overflow-y: auto; border-radius: 14px 14px 0 0; }
	.hoa-work-popup-main img { max-height: 42vh; }
	.hoa-work-popup-info { padding: 1.5rem 1.25rem; overflow: visible; }
}

/* ==========================================================================
   v1.6 — account deletion
   ========================================================================== */

.hoa-delete-account {
	margin-top: 3rem; padding: 1.5rem 1.75rem;
	border: 1px solid #f0c7c7; border-radius: var(--hoa-radius); background: #fffafa;
}
.hoa-delete-account h3 { margin: 0 0 0.75rem; color: var(--hoa-error); }
.hoa-delete-account ul { margin: 0 0 1.25rem 1.2rem; line-height: 1.6; }
.hoa-delete-account .hoa-form { max-width: 420px; }
.hoa-submit button.hoa-btn--danger { background: var(--hoa-error); }
.hoa-submit button.hoa-btn--danger:hover { background: #8f2425; }


/* ==========================================================================
   v1.7 — enquiries and notifications
   ========================================================================== */

.hoa-menu-count {
	display: inline-block; min-width: 1.35em; padding: 0 0.4em; margin-left: 0.3em;
	border-radius: 999px; background: #b32d2e; color: #fff;
	font-size: 0.7em; font-weight: 700; line-height: 1.5; text-align: center; vertical-align: middle;
}

/* ---------- Tickets ---------- */

.hoa-tickets-bar { margin: 0 0 1.5rem; }
.hoa-tickets-heading { margin: 2rem 0 0.75rem; font-size: 1rem; }
.hoa-ticket-form input[readonly] { background: var(--hoa-bg-soft); color: var(--hoa-muted); }

.hoa-ticket-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); overflow: hidden; }
.hoa-ticket-row + .hoa-ticket-row { border-top: 1px solid var(--hoa-line); }
.hoa-ticket-row a {
	display: grid; grid-template-columns: 90px 1fr 150px 170px 90px; gap: 1rem; align-items: center;
	padding: 0.9rem 1.1rem; text-decoration: none; color: inherit;
}
.hoa-ticket-row a:hover { background: var(--hoa-bg-soft); }
.hoa-ticket-row.needs-you { background: var(--hoa-warn-bg); }
.hoa-ticket-number { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.03em; color: var(--hoa-muted); font-variant-numeric: tabular-nums; }
.hoa-ticket-subject { font-weight: 600; }
.hoa-ticket-cat { font-size: 0.84rem; color: var(--hoa-muted); }
.hoa-ticket-row time { font-size: 0.82rem; color: var(--hoa-muted); text-align: right; }

.hoa-ticket-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin: 0.5rem 0 1.5rem; }
.hoa-ticket-head h2 { margin: 0.2rem 0 0.3rem; font-size: 1.4rem; }
.hoa-ticket-meta { margin: 0; font-size: 0.86rem; color: var(--hoa-muted); }

.hoa-thread { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.hoa-thread-msg { max-width: 82%; border-radius: 12px; padding: 0.9rem 1.1rem; }
.hoa-thread-msg--artist { align-self: flex-end; background: var(--hoa-bg-soft); border-bottom-right-radius: 3px; }
.hoa-thread-msg--gallery { align-self: flex-start; background: #eef4f8; border-bottom-left-radius: 3px; }
.hoa-thread-who { display: flex; gap: 0.75rem; align-items: baseline; margin-bottom: 0.35rem; font-size: 0.84rem; }
.hoa-thread-who time { color: var(--hoa-muted); font-size: 0.78rem; }
.hoa-thread-text { line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.hoa-thread-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

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

.hoa-notif-day { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--hoa-muted); margin: 1.75rem 0 0.5rem; }
.hoa-notif-day:first-child { margin-top: 0; }
.hoa-notif-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); overflow: hidden; }
.hoa-notif { display: grid; grid-template-columns: 14px 1fr auto; gap: 0.9rem; align-items: start; padding: 0.85rem 1.1rem; }
.hoa-notif + .hoa-notif { border-top: 1px solid var(--hoa-line); }
.hoa-notif.is-new { background: #fbf8f2; }
.hoa-notif-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 0.45rem; background: #c9c9c9; }
.hoa-notif.is-new .hoa-notif-dot { background: #b32d2e; }
.hoa-notif--artwork .hoa-notif-dot { background: #c69172; }
.hoa-notif--order .hoa-notif-dot,
.hoa-notif--shipment .hoa-notif-dot { background: #37607d; }
.hoa-notif--payout .hoa-notif-dot { background: #5f8a72; }
.hoa-notif--ticket .hoa-notif-dot { background: #7b5ea7; }
.hoa-notif.is-new .hoa-notif-dot { box-shadow: 0 0 0 3px rgba(179, 45, 46, 0.18); }
.hoa-notif-title { font-weight: 600; color: var(--hoa-ink); text-decoration: none; }
a.hoa-notif-title:hover { text-decoration: underline; }
.hoa-notif-message { margin: 0.3rem 0 0; font-size: 0.85rem; color: var(--hoa-muted); line-height: 1.5; }
.hoa-notif time { font-size: 0.78rem; color: var(--hoa-muted); white-space: nowrap; }
.hoa-notif-pager { display: flex; justify-content: space-between; margin-top: 1.25rem; }

@media (max-width: 760px) {
	.hoa-ticket-row a { grid-template-columns: 1fr auto; gap: 0.35rem 0.75rem; }
	.hoa-ticket-number { grid-column: 1; }
	.hoa-ticket-row .hoa-chip { grid-column: 2; grid-row: 1; justify-self: end; }
	.hoa-ticket-subject { grid-column: 1 / -1; }
	.hoa-ticket-cat, .hoa-ticket-row time { grid-column: auto; text-align: left; }
	.hoa-thread-msg { max-width: 94%; }
	.hoa-ticket-head { flex-direction: column; }
}


/* ==========================================================================
   v1.8 — events
   ========================================================================== */

/* The theme's own title, meta and featured image repeat what the event page shows. */
.hoa-event-page .et_post_meta_wrapper,
.hoa-event-page .entry-title,
.hoa-event-page .post-meta,
.hoa-event-page .et_pb_post .entry-featured-image-url { display: none !important; }

.hoa-event { max-width: 1180px; margin: 0 auto; }

.hoa-event-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: end; margin-bottom: 2.5rem; }
.hoa-event-cover { border-radius: 16px; overflow: hidden; background: var(--hoa-bg-soft); aspect-ratio: 4 / 3; }
.hoa-event-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-event-hero:not(:has(.hoa-event-cover)) { grid-template-columns: 1fr; }
.hoa-event-title { font-size: clamp( 1.9rem, 4vw, 3rem ); line-height: 1.1; margin: 0.4rem 0 0.5rem; letter-spacing: -0.02em; }
.hoa-event-by { color: var(--hoa-muted); margin: 0 0 0.75rem; }
.hoa-event-countdown { font-weight: 700; color: var(--hoa-ink); margin: 0; font-size: 1.05rem; }

.hoa-event-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.hoa-event-description { line-height: 1.75; font-size: 1.02rem; margin-bottom: 2rem; }
.hoa-event-gallery { display: grid; grid-template-columns: repeat( auto-fill, minmax( 160px, 1fr ) ); gap: 0.75rem; margin-bottom: 2rem; }
.hoa-event-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; }

.hoa-event-organiser { display: flex; gap: 1rem; align-items: center; border-top: 1px solid var(--hoa-line); padding-top: 1.5rem; }
.hoa-event-organiser img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.hoa-event-organiser strong { display: block; font-size: 1.05rem; }
.hoa-event-organiser p { margin: 0.2rem 0; color: var(--hoa-muted); font-size: 0.9rem; }

.hoa-event-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1rem; }
.hoa-event-card { border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); padding: 1.35rem; background: #fff; }
.hoa-event-fact { padding: 0.8rem 0; border-bottom: 1px solid var(--hoa-line); display: flex; flex-direction: column; gap: 0.2rem; }
.hoa-event-fact:first-child { padding-top: 0; }
.hoa-event-fact:last-of-type { border-bottom: 0; }
.hoa-event-fact a { font-size: 0.86rem; }
.hoa-event-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--hoa-muted); }
.hoa-event-cal { font-size: 0.84rem; }
.hoa-event-cta { display: block; text-align: center; margin-top: 0.75rem; }
.hoa-event-small { font-size: 0.8rem; color: var(--hoa-muted); margin: 0.6rem 0 0; line-height: 1.5; }
.hoa-event-offline { border-top: 1px dashed var(--hoa-line); padding-top: 0.6rem; }

.hoa-interest {
	width: 100%; margin-top: 1rem; cursor: pointer; font: inherit; font-weight: 600;
	padding: 0.8rem 1rem; border-radius: 6px; border: 1px solid var(--hoa-ink); background: #fff; color: var(--hoa-ink);
}
.hoa-interest .hoa-interest-on { display: none; }
.hoa-interest.is-on { background: var(--hoa-ink); color: #fff; }
.hoa-interest.is-on .hoa-interest-on { display: inline; }
.hoa-interest.is-on .hoa-interest-off { display: none; }
.hoa-interest:disabled { opacity: 0.6; cursor: progress; }

.hoa-share-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.hoa-share {
	display: inline-block; padding: 0.4rem 0.8rem; border: 1px solid var(--hoa-line); border-radius: 999px;
	font: inherit; font-size: 0.82rem; background: #fff; color: var(--hoa-ink); text-decoration: none; cursor: pointer;
}
.hoa-share:hover { border-color: var(--hoa-ink); color: var(--hoa-ink); }
.hoa-share--native { background: var(--hoa-ink); color: #fff; border-color: var(--hoa-ink); }

/* ---------- Cards and listing ---------- */

.hoa-event-cards--grid { display: grid; grid-template-columns: repeat( auto-fill, minmax( 260px, 1fr ) ); gap: 1.75rem 1.5rem; }
.hoa-event-cards--list { display: flex; flex-direction: column; gap: 1rem; }
.hoa-event-card-item { display: block; text-decoration: none; color: inherit; border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); overflow: hidden; background: #fff; transition: box-shadow 0.2s ease; }
.hoa-event-card-item:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.08); }
.hoa-event-card-image { position: relative; aspect-ratio: 16 / 10; background: var(--hoa-bg-soft); }
.hoa-event-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-event-date-badge {
	position: absolute; top: 0.75rem; left: 0.75rem; background: #fff; border-radius: 8px;
	padding: 0.35rem 0.6rem; text-align: center; line-height: 1.1; box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.hoa-event-date-badge strong { display: block; font-size: 1.3rem; }
.hoa-event-date-badge span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hoa-muted); }
.hoa-event-card-body { padding: 1rem 1.15rem 1.15rem; }
.hoa-event-card-body h3 { margin: 0.2rem 0 0.4rem; font-size: 1.08rem; line-height: 1.3; }
.hoa-event-card-meta { margin: 0 0 0.2rem; font-size: 0.85rem; color: var(--hoa-muted); }
.hoa-event-card-foot { display: flex; justify-content: space-between; margin: 0.75rem 0 0; padding-top: 0.6rem; border-top: 1px solid var(--hoa-line); font-size: 0.82rem; font-weight: 600; }
.hoa-event-card-foot span { color: var(--hoa-muted); font-weight: 400; }
.hoa-event-cards--list .hoa-event-card-item { display: grid; grid-template-columns: 220px 1fr; }
.hoa-event-cards--list .hoa-event-card-image { aspect-ratio: auto; min-height: 150px; }
.hoa-event-filters { grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; }

.hoa-profile-events { margin: 0 0 4rem; }
.hoa-profile-events > h2 { margin: 0 0 1.25rem; }

/* ---------- My Events ---------- */

.hoa-my-events { display: flex; flex-direction: column; gap: 1rem; }
.hoa-my-event { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.25rem; align-items: start; border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); padding: 1rem 1.25rem; }
.hoa-my-event-thumb { width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--hoa-bg-soft); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.hoa-my-event-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-my-event-body h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }

.hoa-event-share-tools, .hoa-event-manage { margin-top: 0.75rem; }
.hoa-event-share-tools > summary { cursor: pointer; font-weight: 600; font-size: 0.88rem; }
.hoa-event-share-panel { margin-top: 0.75rem; padding: 1rem; background: var(--hoa-bg-soft); border-radius: 8px; }
.hoa-event-share-panel textarea[readonly], .hoa-event-share-panel input[readonly] { background: #fff; }
.hoa-copy-row { display: flex; gap: 0.5rem; margin-top: 0.4rem; align-items: center; flex-wrap: wrap; }
.hoa-copy-row input { flex: 1; min-width: 180px; }

.hoa-event-manage { position: relative; }
.hoa-event-manage > summary { list-style: none; text-align: center; cursor: pointer; }
.hoa-event-manage > summary::-webkit-details-marker { display: none; }
.hoa-event-manage-panel {
	position: absolute; right: 0; top: calc( 100% + 6px ); z-index: 20; width: 280px;
	background: #fff; border: 1px solid var(--hoa-line); border-radius: 8px; padding: 1rem;
	box-shadow: 0 12px 30px rgba(0,0,0,0.12); display: flex; flex-direction: column; gap: 0.9rem;
}
.hoa-event-manage-panel form { margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.hoa-event-manage-panel label { font-size: 0.82rem; font-weight: 600; }
.hoa-event-manage-panel textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 0.88rem; padding: 0.4rem; border: 1px solid #ccc; border-radius: 4px; margin-top: 0.3rem; }
.hoa-event-delete { border-top: 1px solid var(--hoa-line); padding-top: 0.9rem; }
.hoa-event-delete button { color: var(--hoa-error); }

@media (max-width: 960px) {
	.hoa-event-hero, .hoa-event-layout { grid-template-columns: 1fr; gap: 1.5rem; }
	.hoa-event-side { position: static; }
	.hoa-event-filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	.hoa-event-cards--list .hoa-event-card-item { grid-template-columns: 1fr; }
	.hoa-event-filters { grid-template-columns: 1fr; }
	.hoa-my-event { grid-template-columns: 64px 1fr; }
	.hoa-my-event-thumb { width: 64px; height: 64px; }
	.hoa-my-event .hoa-collection-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
	.hoa-event-manage-panel { position: static; width: auto; box-shadow: none; margin-top: 0.5rem; }
}


/* ==========================================================================
   v1.9 — BRAND LAYER
   Components, in the gallery's identity. Declared last so it wins over
   the earlier structural rules at equal specificity.
   ========================================================================== */

/* ---------- Text ---------- */

:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) p { line-height: 1.65; }
.hoa-lede { font-size: var(--hoa-fs-md); color: var(--hoa-muted); line-height: 1.65; }
.hoa-hint { font-size: var(--hoa-fs-xs); color: var(--hoa-muted); line-height: 1.5; }
.hoa-muted, .hoa-empty { color: var(--hoa-muted); }
.hoa-optional { font-weight: 400; color: var(--hoa-faint); font-size: var(--hoa-fs-xs); }
.hoa-req { color: var(--hoa-primary); }

/* ---------- Form structure ---------- */

.hoa-fieldset {
	border: 1px solid var(--hoa-line);
	border-radius: var(--hoa-radius);
	padding: 1.4rem 1.6rem 0.6rem;
	margin: 0 0 1.5rem;
	background: var(--hoa-surface);
}
.hoa-fieldset legend {
	font-size: var(--hoa-fs-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hoa-primary);
	padding: 0 0.6rem;
}
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) label,
.hoa-label {
	display: block;
	font-size: var(--hoa-fs-sm);
	font-weight: 600;
	color: var(--hoa-ink);
	margin-bottom: 0.4rem;
}

/* ---------- Text inputs, selects, textareas ---------- */

:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="date"], input[type="datetime-local"], select, textarea) {
	width: 100%;
	box-sizing: border-box;
	min-height: 46px;
	padding: 0.65rem 0.85rem;
	font-family: var(--hoa-font-body);
	font-size: var(--hoa-fs-base);
	line-height: 1.4;
	color: var(--hoa-ink);
	background: var(--hoa-surface);
	border: 1px solid var(--hoa-line-strong);
	border-radius: var(--hoa-radius-sm);
	box-shadow: none;
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) textarea { min-height: 110px; resize: vertical; }
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="date"], input[type="datetime-local"], select, textarea):hover { border-color: var(--hoa-faint); }
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="date"], input[type="datetime-local"], select, textarea):focus {
	border-color: var(--hoa-primary);
	box-shadow: 0 0 0 3px var(--hoa-focus);
	outline: none;
}
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="date"], input[type="datetime-local"], select, textarea)::placeholder { color: var(--hoa-faint); opacity: 1; }
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="date"], input[type="datetime-local"], select, textarea)[readonly] { background: var(--hoa-bg-soft); color: var(--hoa-muted); cursor: default; }
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="date"], input[type="datetime-local"], select, textarea):disabled { background: var(--hoa-bg-soft); color: var(--hoa-faint); cursor: not-allowed; }
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) :is(input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="date"], input[type="datetime-local"], select, textarea):user-invalid { border-color: var(--hoa-error); }
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 2.4rem;
	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='%236b6560' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
}
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) input[type="file"] {
	font-family: var(--hoa-font-body);
	font-size: var(--hoa-fs-sm);
	color: var(--hoa-muted);
	padding: 0.6rem;
	border: 1px dashed var(--hoa-line-strong);
	border-radius: var(--hoa-radius-sm);
	background: var(--hoa-bg-soft);
	width: 100%;
	box-sizing: border-box;
}
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) input[type="file"]::file-selector-button {
	font: inherit;
	font-weight: 600;
	margin-right: 0.75rem;
	padding: 0.5rem 1rem;
	border: 1px solid var(--hoa-primary);
	border-radius: var(--hoa-radius-sm);
	background: var(--hoa-surface);
	color: var(--hoa-primary);
	cursor: pointer;
}
:is(.hoa-field, .hoa-style-guide, .hoa-directory-filters, .hoa-copy-row, .hoa-event-manage-panel) input[type="file"]::file-selector-button:hover { background: var(--hoa-primary-soft); }

/* ---------- Radios and checkboxes ---------- */

:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) :is(input[type="radio"], input[type="checkbox"]) {
	accent-color: var(--hoa-primary);
	width: 1.15rem;
	height: 1.15rem;
	margin: 0;
	flex: 0 0 auto;
	cursor: pointer;
	vertical-align: middle;
}
:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) :is(input[type="radio"], input[type="checkbox"]):focus-visible { outline: 3px solid var(--hoa-focus); outline-offset: 2px; }
:is(.hoa-shortcode, .hoa-profile, .hoa-event, .hoa-events, .hoa-auth, .hoa-form, .hoa-work-popup, .hoa-delete-account, .hoa-style-guide, .hoa-order-card, .hoa-earning-cards, .hoa-collection, .hoa-my-events, .hoa-tickets, .hoa-ticket, .hoa-notifications, .hoa-directory, .hoa-flip, .hoa-table, .hoa-notice, .hoa-terms, .hoa-profile-url) :is(input[type="radio"], input[type="checkbox"]):disabled { cursor: not-allowed; opacity: 0.5; }

.hoa-field--check label { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 400; font-size: var(--hoa-fs-sm); }
.hoa-field--check input { margin-top: 0.15rem; }
.hoa-radio-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.hoa-radio-row label { display: inline-flex; gap: 0.5rem; align-items: center; font-weight: 400; font-size: var(--hoa-fs-md); margin: 0; cursor: pointer; }

.hoa-choice {
	border: 1px solid var(--hoa-line-strong);
	border-radius: var(--hoa-radius);
	background: var(--hoa-surface);
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.hoa-choice:hover { border-color: var(--hoa-primary-line); }
.hoa-choice:has( input:checked ) {
	border-color: var(--hoa-primary);
	background: var(--hoa-primary-soft);
	box-shadow: 0 0 0 1px var(--hoa-primary);
}
.hoa-choice:has( input:focus-visible ) { box-shadow: 0 0 0 3px var(--hoa-focus); }
.hoa-choice-body strong { color: var(--hoa-ink); font-size: var(--hoa-fs-md); }
.hoa-choice-body span { font-size: var(--hoa-fs-sm); }

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

.hoa-btn,
.hoa-submit button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.7rem 1.4rem;
	font-family: var(--hoa-font-body);
	font-size: var(--hoa-fs-sm);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	border: 1px solid transparent;
	border-radius: var(--hoa-radius-sm);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}
a.hoa-btn, a.hoa-btn:hover { text-decoration: none; }
.hoa-btn:active, .hoa-submit button:active { transform: translateY(1px); }
.hoa-btn:focus-visible, .hoa-submit button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--hoa-focus); }
.hoa-btn:disabled, .hoa-btn[aria-disabled="true"], .hoa-submit button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Primary — the one main action on a screen */
.hoa-submit button:not(.hoa-btn),
.hoa-btn.hoa-btn--primary {
	background: var(--hoa-primary);
	border-color: var(--hoa-primary);
	color: #fff;
}
.hoa-submit button:not(.hoa-btn):hover,
.hoa-btn.hoa-btn--primary:hover { background: var(--hoa-primary-hover); border-color: var(--hoa-primary-hover); color: #fff; }
.hoa-submit button:not(.hoa-btn):active,
.hoa-btn.hoa-btn--primary:active { background: var(--hoa-primary-active); border-color: var(--hoa-primary-active); }

/* Secondary — supporting actions, outlined */
.hoa-btn.hoa-btn--secondary {
	background: var(--hoa-surface);
	border-color: var(--hoa-primary);
	color: var(--hoa-primary);
}
.hoa-btn.hoa-btn--secondary:hover { background: var(--hoa-primary-soft); color: var(--hoa-primary-hover); border-color: var(--hoa-primary-hover); }
.hoa-btn.hoa-btn--secondary:active { background: var(--hoa-primary-line); }

/* Ghost — quiet, text-weight actions */
.hoa-btn.hoa-btn--ghost {
	background: transparent;
	border-color: transparent;
	color: var(--hoa-primary);
	padding-left: 0.9rem;
	padding-right: 0.9rem;
}
.hoa-btn.hoa-btn--ghost:hover { background: var(--hoa-primary-soft); color: var(--hoa-primary-hover); }
.hoa-btn.hoa-btn--ghost:active { background: var(--hoa-primary-line); }

/* Destructive */
.hoa-btn.hoa-btn--danger,
.hoa-submit .hoa-btn.hoa-btn--danger { background: var(--hoa-error); border-color: var(--hoa-error); color: #fff; }
.hoa-btn.hoa-btn--danger:hover { background: #8f2425; border-color: #8f2425; color: #fff; }

/* Channel buttons */
.hoa-btn.hoa-btn--whatsapp { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.hoa-btn.hoa-btn--whatsapp:hover { background: #188046; border-color: #188046; color: #fff; }
.hoa-btn.hoa-btn--email { background: var(--hoa-surface); border-color: var(--hoa-primary); color: var(--hoa-primary); }
.hoa-btn.hoa-btn--email:hover { background: var(--hoa-primary-soft); color: var(--hoa-primary-hover); }

.hoa-submit { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hoa-auth-form .hoa-submit button, .hoa-auth-form .hoa-submit { width: 100%; }

/* ---------- Anchors that are components, not links ---------- */

a.hoa-work, a.hoa-event-card-item, .hoa-ticket-row a { color: inherit; text-decoration: none; }
a.hoa-notif-title { color: var(--hoa-ink); text-decoration: none; }
a.hoa-notif-title:hover { color: var(--hoa-primary); text-decoration: underline; }
a.hoa-work:hover .hoa-work-title, a.hoa-event-card-item:hover h3 { color: var(--hoa-primary); }
.hoa-work-more { color: var(--hoa-primary); }

a.hoa-social {
	color: var(--hoa-ink);
	text-decoration: none;
	border-color: var(--hoa-line-strong);
	font-size: var(--hoa-fs-sm);
}
a.hoa-social:hover { border-color: var(--hoa-primary); color: var(--hoa-primary); background: var(--hoa-primary-soft); }

.hoa-directory-views a { text-decoration: none; color: var(--hoa-muted); border-color: var(--hoa-line-strong); font-size: var(--hoa-fs-sm); }
.hoa-directory-views a:hover { color: var(--hoa-primary); border-color: var(--hoa-primary); }
.hoa-directory-views a.is-active { background: var(--hoa-primary); border-color: var(--hoa-primary); color: #fff; }
.hoa-directory-filters { background: var(--hoa-bg-soft); }

/* ---------- Tables ---------- */

.hoa-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: var(--hoa-fs-sm);
	border: 1px solid var(--hoa-line);
	border-radius: var(--hoa-radius);
	overflow: hidden;
	background: var(--hoa-surface);
}
.hoa-table th {
	text-align: left;
	padding: 0.75rem 0.9rem;
	font-size: var(--hoa-fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hoa-primary);
	background: var(--hoa-bg-soft);
	border-bottom: 1px solid var(--hoa-line);
}
.hoa-table td { padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--hoa-line); vertical-align: top; color: var(--hoa-ink); }
.hoa-table tbody tr:last-child td { border-bottom: 0; }
.hoa-table tbody tr:hover td { background: #fcfaf7; }

/* ---------- Chips, notices ---------- */

.hoa-chip { font-size: var(--hoa-fs-xs); font-weight: 600; padding: 0.22rem 0.65rem; border-radius: 999px; letter-spacing: 0.01em; }
.hoa-chip--info { background: var(--hoa-primary-soft); color: var(--hoa-primary); }
.hoa-chip--neutral { background: #f1ede7; color: var(--hoa-muted); }

.hoa-notice { font-size: var(--hoa-fs-sm); border-radius: var(--hoa-radius-sm); }
.hoa-notice--info { background: var(--hoa-primary-soft); border-color: var(--hoa-primary); }

/* ---------- Brand accents on earlier components ---------- */

.hoa-policy-step, .hoa-featured-flag, .hoa-existing-main { background: var(--hoa-primary); }
.hoa-badge--top { background: var(--hoa-primary); color: #fff; }
.hoa-menu-count { background: var(--hoa-primary); }
.hoa-faq summary:hover { color: var(--hoa-primary); }
.hoa-faq summary::after { color: var(--hoa-primary); }
.hoa-thread-msg--gallery { background: var(--hoa-primary-soft); }
.hoa-notif.is-new .hoa-notif-dot { background: var(--hoa-primary); box-shadow: 0 0 0 3px var(--hoa-focus); }
.hoa-flip-nav button { color: var(--hoa-primary); font-family: var(--hoa-font-body); }
.hoa-flip-counter strong { color: var(--hoa-primary); }
.hoa-upload-status.is-ok { color: var(--hoa-ok); }

/* ==========================================================================
   STYLE GUIDE
   ========================================================================== */

.hoa-style-guide { max-width: 1000px; margin: 0 auto; }
.hoa-sg-section { margin: 0 0 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--hoa-line); }
.hoa-sg-section > h2 { font-size: var(--hoa-fs-2xl); margin: 0 0 0.3rem; }
.hoa-sg-section > p { color: var(--hoa-muted); margin: 0 0 1.5rem; }
.hoa-sg-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 0 0 1rem; }
.hoa-sg-label { width: 100%; font-size: var(--hoa-fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hoa-muted); margin: 0.5rem 0 0; }
.hoa-sg-swatches { display: grid; grid-template-columns: repeat( auto-fill, minmax( 140px, 1fr ) ); gap: 0.75rem; }
.hoa-sg-swatch { border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius-sm); overflow: hidden; font-size: var(--hoa-fs-xs); }
.hoa-sg-swatch span { display: block; height: 64px; }
.hoa-sg-swatch code { display: block; padding: 0.5rem 0.6rem; background: var(--hoa-surface); color: var(--hoa-muted); }
.hoa-sg-type > * { margin: 0 0 0.6rem; }
.hoa-sg-demo-state { outline: none; box-shadow: 0 0 0 3px var(--hoa-focus) !important; }

/* ==========================================================================
   v1.9.1 — fading messages, share feedback
   ========================================================================== */

.hoa-flash { position: relative; padding-right: 2.75rem; overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.4s ease, padding 0.4s ease; }
.hoa-flash-leaving { opacity: 0; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; border-width: 0 !important; }
.hoa-flash-close {
	position: absolute; top: 0.5rem; right: 0.5rem;
	width: 30px; height: 30px; padding: 0;
	background: transparent; border: 0; border-radius: 50%;
	font-size: 1.35rem; line-height: 1; color: inherit; opacity: 0.6; cursor: pointer;
}
.hoa-flash-close:hover { opacity: 1; background: rgba(0, 0, 0, 0.06); }
.hoa-flash-close:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--hoa-focus); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hoa-flash { transition: none; } }

.hoa-share-status { min-height: 1.4em; margin: 0.6rem 0 0; font-size: var(--hoa-fs-sm); color: var(--hoa-ok); font-weight: 600; }
.hoa-share-status:empty { min-height: 0; margin: 0; }

/* ==========================================================================
   v1.10 — artist navigation
   ========================================================================== */

.hoa-nav { font-family: var(--hoa-font-body); }

.hoa-nav-card {
	position: sticky;
	top: 100px;
	background: var(--hoa-surface);
	border: 1px solid var(--hoa-line);
	border-radius: var(--hoa-radius);
	padding: 0.6rem;
}

.hoa-nav-head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 0.6rem 0.9rem;
	margin-bottom: 0.4rem;
	border-bottom: 1px solid var(--hoa-line);
}
.hoa-nav-head img,
.hoa-nav-initial {
	width: 44px; height: 44px; flex: 0 0 auto;
	border-radius: 50%; object-fit: cover;
}
.hoa-nav-initial {
	display: flex; align-items: center; justify-content: center;
	background: var(--hoa-primary-soft); color: var(--hoa-primary);
	font-weight: 700; font-size: var(--hoa-fs-lg);
}
.hoa-nav-who { display: flex; flex-direction: column; min-width: 0; }
.hoa-nav-who strong { font-size: var(--hoa-fs-md); color: var(--hoa-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hoa-nav-who span { font-size: var(--hoa-fs-xs); color: var(--hoa-muted); }

.hoa-nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hoa-nav-list li { margin: 0; padding: 0; }

a.hoa-nav-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 44px;
	padding: 0.6rem 0.8rem;
	border-radius: var(--hoa-radius-sm);
	font-size: var(--hoa-fs-md);
	font-weight: 500;
	line-height: 1.25;
	color: var(--hoa-ink);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
a.hoa-nav-link:hover { background: var(--hoa-bg-soft); color: var(--hoa-primary); text-decoration: none; }
a.hoa-nav-link:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--hoa-focus); }
a.hoa-nav-link:active { background: var(--hoa-primary-line); }

/* The page you are on. */
a.hoa-nav-link[aria-current="page"] {
	background: var(--hoa-primary-soft);
	color: var(--hoa-primary);
	font-weight: 700;
}
a.hoa-nav-link[aria-current="page"]::before {
	content: '';
	position: absolute;
	left: 0; top: 8px; bottom: 8px;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: var(--hoa-primary);
}

.hoa-nav-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.hoa-nav-label { flex: 1 1 auto; }

.hoa-nav-badge {
	flex: 0 0 auto;
	min-width: 1.4rem;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: var(--hoa-primary);
	color: #fff;
	font-size: var(--hoa-fs-xs);
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.hoa-nav-toggle { display: none; }

/* ---------- Layout wrapper: menu left, page right ---------- */

.hoa-artist-layout {
	display: grid;
	grid-template-columns: 270px minmax( 0, 1fr );
	gap: 2.25rem;
	align-items: start;
}
.hoa-artist-layout-main { min-width: 0; }

/* ---------- Phones and small tablets ---------- */

@media (max-width: 900px) {
	.hoa-artist-layout { grid-template-columns: 1fr; gap: 1.25rem; }

	.hoa-nav-card { position: relative; top: auto; padding: 0.4rem; }
	.hoa-nav-head { display: none; }

	/* Collapsed into one button showing where you are — only once the
	   script is running, so the menu is never stuck closed. */
	.hoa-nav--js .hoa-nav-toggle {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		width: 100%;
		min-height: 48px;
		padding: 0.6rem 0.8rem;
		background: transparent;
		border: 0;
		border-radius: var(--hoa-radius-sm);
		font-family: var(--hoa-font-body);
		font-size: var(--hoa-fs-md);
		font-weight: 700;
		color: var(--hoa-primary);
		text-align: left;
		cursor: pointer;
	}
	.hoa-nav--js .hoa-nav-toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--hoa-focus); }
	.hoa-nav-toggle-label { flex: 1 1 auto; }
	.hoa-nav-chevron { display: flex; transition: transform 0.2s ease; }
	.hoa-nav--js.is-open .hoa-nav-chevron { transform: rotate( 180deg ); }

	.hoa-nav--js .hoa-nav-list {
		display: none;
		padding-top: 0.35rem;
		margin-top: 0.35rem;
		border-top: 1px solid var(--hoa-line);
	}
	.hoa-nav--js.is-open .hoa-nav-list { display: flex; }

	a.hoa-nav-link { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	.hoa-nav-chevron { transition: none; }
}

/* ==========================================================================
   v1.11 — My Account navigation, shared by every role
   ========================================================================== */

.hoa-account-nav { font-family: var(--hoa-font-body); }
.hoa-account-nav__body { display: flex; flex-direction: column; gap: 2px; }

.hoa-account-nav__heading {
	margin: 1.25rem 0 0.35rem;
	padding: 0 0.8rem;
	font-size: var(--hoa-fs-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hoa-faint);
}
.hoa-account-nav__body > .hoa-account-nav__heading:first-child { margin-top: 0; }

.hoa-account-nav__list { list-style: none; margin: 0 0 0.25rem; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hoa-account-nav__list li { margin: 0; padding: 0; border: 0; }
.hoa-account-nav__list li::before, .hoa-account-nav__list li::marker { content: none; }

.hoa-account-nav__link,
a.hoa-account-nav__link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-height: 42px;
	padding: 0.55rem 0.8rem;
	border-radius: var(--hoa-radius-sm);
	font-size: var(--hoa-fs-md);
	font-weight: 500;
	line-height: 1.25;
	color: var(--hoa-ink);
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
a.hoa-account-nav__link:hover { background: var(--hoa-bg-soft); color: var(--hoa-primary); text-decoration: none; }
a.hoa-account-nav__link:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--hoa-focus); }
a.hoa-account-nav__link[aria-current="page"] {
	background: var(--hoa-primary-soft);
	color: var(--hoa-primary);
	font-weight: 700;
}
a.hoa-account-nav__link[aria-current="page"]::before {
	content: '';
	position: absolute;
	left: 0; top: 8px; bottom: 8px;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: var(--hoa-primary);
}

/* Not unlocked yet: visible, so people can see what the account offers. */
.hoa-account-nav__link.is-locked {
	color: var(--hoa-faint);
	cursor: default;
}
.hoa-account-nav__link.is-locked .hoa-account-icon { opacity: 0.55; }
.hoa-account-nav__label { flex: 1 1 auto; }
.hoa-account-nav__label small {
	display: block;
	margin-top: 1px;
	font-size: var(--hoa-fs-xs);
	font-weight: 400;
	line-height: 1.4;
	color: var(--hoa-faint);
}

.hoa-account-icon { width: 19px; height: 19px; flex: 0 0 auto; }

.hoa-account-nav__badge {
	flex: 0 0 auto;
	min-width: 1.4rem;
	padding: 0.1rem 0.45rem;
	border-radius: 999px;
	background: var(--hoa-primary);
	color: #fff;
	font-size: var(--hoa-fs-xs);
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

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

/* Curator panels inside the account area inherit the same rhythm. */
.hoa-cur-account-panel { margin: 0; }
.hoa-cur-account-panel__title { margin-top: 0; }
.hoa-cur-account-panel__hint { color: var(--hoa-muted); font-size: var(--hoa-fs-sm); line-height: 1.6; }
.hoa-cur-account-panel__back { margin-bottom: 1rem; }

@media (max-width: 900px) {
	.hoa-account-nav { border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); padding: 0.35rem; }

	.hoa-account-nav.is-js .hoa-account-nav__toggle {
		display: flex;
		align-items: center;
		gap: 0.7rem;
		width: 100%;
		min-height: 48px;
		padding: 0.6rem 0.8rem;
		background: transparent;
		border: 0;
		border-radius: var(--hoa-radius-sm);
		font-family: var(--hoa-font-body);
		font-size: var(--hoa-fs-md);
		font-weight: 700;
		color: var(--hoa-primary);
		text-align: left;
		cursor: pointer;
	}
	.hoa-account-nav.is-js .hoa-account-nav__toggle:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--hoa-focus); }
	.hoa-account-nav__toggle-label { flex: 1 1 auto; }
	.hoa-account-nav__chevron { display: flex; transition: transform 0.2s ease; }
	.hoa-account-nav.is-js.is-open .hoa-account-nav__chevron { transform: rotate(180deg); }

	.hoa-account-nav.is-js .hoa-account-nav__body {
		display: none;
		padding-top: 0.35rem;
		margin-top: 0.35rem;
		border-top: 1px solid var(--hoa-line);
	}
	.hoa-account-nav.is-js.is-open .hoa-account-nav__body { display: flex; }
	.hoa-account-nav__link { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { .hoa-account-nav__chevron { transition: none; } }

/* ==========================================================================
   v1.12 — the account page
   ========================================================================== */

.hoa-account { max-width: 1240px; margin: 0 auto; }

/* ---------- Header ---------- */

.hoa-account-head {
	display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
	gap: 1.25rem;
	padding-bottom: 1.25rem; margin-bottom: 2rem;
	border-bottom: 1px solid var(--hoa-line);
}
.hoa-account-greeting h1 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.15; }
.hoa-account-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0; font-size: var(--hoa-fs-sm); }
.hoa-account-since { color: var(--hoa-muted); }
.hoa-account-head-actions { display: flex; align-items: center; gap: 0.6rem; }

/* ---------- Account switcher ---------- */

.hoa-account-switch { position: relative; }
.hoa-account-switch__button { gap: 0.5rem; }
.hoa-account-switch__menu {
	position: absolute; right: 0; top: calc(100% + 6px); z-index: 40;
	width: 280px; padding: 0.5rem;
	background: var(--hoa-surface); border: 1px solid var(--hoa-line);
	border-radius: var(--hoa-radius); box-shadow: 0 14px 34px rgba(0,0,0,.13);
}
.hoa-account-switch__heading {
	margin: 0.4rem 0 0.3rem; padding: 0 0.6rem;
	font-size: var(--hoa-fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
	color: var(--hoa-faint);
}
a.hoa-account-switch__item {
	display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
	padding: 0.55rem 0.6rem; border-radius: var(--hoa-radius-sm);
	color: var(--hoa-ink); text-decoration: none;
}
a.hoa-account-switch__item:hover { background: var(--hoa-bg-soft); color: var(--hoa-primary); text-decoration: none; }
a.hoa-account-switch__item.is-current { background: var(--hoa-primary-soft); color: var(--hoa-primary); }
.hoa-account-switch__label strong { display: block; font-size: var(--hoa-fs-md); }
.hoa-account-switch__label small { display: block; font-size: var(--hoa-fs-xs); color: var(--hoa-muted); margin-top: 1px; }
a.hoa-account-switch__item--join { border-top: 0; color: var(--hoa-primary); }
.hoa-account-switch__tick { color: var(--hoa-primary); font-weight: 700; }

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

.hoa-account-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 2.25rem; align-items: start; }
.hoa-account-main { min-width: 0; }
.hoa-account-title { margin: 0 0 0.6rem; font-size: clamp(1.25rem, 2.6vw, 1.65rem); }
.hoa-account-lede { color: var(--hoa-muted); font-size: var(--hoa-fs-sm); line-height: 1.65; margin: 0 0 1.5rem; max-width: 62ch; }
.hoa-account-subtitle { font-size: var(--hoa-fs-lg); margin: 2rem 0 0.9rem; }

/* ---------- Section menu ---------- */

.hoa-account-nav2 { position: sticky; top: 100px; }
.hoa-account-nav2__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hoa-account-nav2__list li { margin: 0; padding: 0; }
.hoa-account-nav2__list li::marker { content: none; }

a.hoa-account-nav2__link {
	position: relative; display: flex; align-items: center; gap: 0.7rem;
	min-height: 42px; padding: 0.55rem 0.8rem;
	border-radius: var(--hoa-radius-sm);
	font-size: var(--hoa-fs-md); font-weight: 500; color: var(--hoa-ink); text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}
a.hoa-account-nav2__link:hover { background: var(--hoa-bg-soft); color: var(--hoa-primary); text-decoration: none; }
a.hoa-account-nav2__link:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--hoa-focus); }
a.hoa-account-nav2__link[aria-current="page"] { background: var(--hoa-primary-soft); color: var(--hoa-primary); font-weight: 700; }
a.hoa-account-nav2__link[aria-current="page"]::before {
	content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
	width: 3px; border-radius: 0 3px 3px 0; background: var(--hoa-primary);
}
.hoa-account-nav2__label { flex: 1 1 auto; }
.hoa-account-nav2__badge {
	flex: 0 0 auto; min-width: 1.4rem; padding: 0.1rem 0.45rem;
	border-radius: 999px; background: var(--hoa-primary); color: #fff;
	font-size: var(--hoa-fs-xs); font-weight: 700; line-height: 1.4; text-align: center;
}
.hoa-account-nav2__toggle { display: none; }

/* ---------- Highlight figures ---------- */

.hoa-account-stats {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0.85rem; margin: 0 0 1.5rem;
}
.hoa-account-stat {
	display: flex; flex-direction: column; gap: 0.25rem;
	padding: 1.1rem 1.2rem;
	border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius);
	background: var(--hoa-surface); color: var(--hoa-ink); text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
a.hoa-account-stat:hover { border-color: var(--hoa-primary); box-shadow: 0 6px 18px rgba(0,0,0,.06); text-decoration: none; }
.hoa-account-stat__value { font-size: 1.6rem; font-weight: 700; line-height: 1.1; color: var(--hoa-ink); }
.hoa-account-stat__label { font-size: var(--hoa-fs-xs); letter-spacing: .06em; text-transform: uppercase; color: var(--hoa-muted); }
.hoa-account-stat.is-urgent { border-color: var(--hoa-primary); background: var(--hoa-primary-soft); }
.hoa-account-stat.is-urgent .hoa-account-stat__value { color: var(--hoa-primary); }

.hoa-account-quick { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 2rem; }
.hoa-account-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.hoa-account-more { margin: 0.75rem 0 0; font-size: var(--hoa-fs-sm); }
.hoa-account-count { font-size: var(--hoa-fs-md); }

.hoa-account-firm { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.hoa-account-firm__logo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.hoa-account-firm__link { font-size: var(--hoa-fs-sm); }

.hoa-account-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.hoa-account-list li { display: flex; flex-direction: column; gap: 0.15rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--hoa-line); }
.hoa-account-list li:last-child { border-bottom: 0; }
.hoa-account-list span { font-size: var(--hoa-fs-sm); color: var(--hoa-muted); }

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

.hoa-account-empty {
	padding: clamp(1.75rem, 4vw, 2.75rem);
	border: 1px dashed var(--hoa-line-strong); border-radius: var(--hoa-radius);
	background: var(--hoa-bg-soft); text-align: center;
}
.hoa-account-empty h3 { margin: 0 0 0.5rem; font-size: var(--hoa-fs-lg); color: var(--hoa-ink); }
.hoa-account-empty p { margin: 0 auto; max-width: 52ch; color: var(--hoa-muted); font-size: var(--hoa-fs-sm); line-height: 1.7; }
.hoa-account-empty__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1.25rem !important; }

@media (max-width: 900px) {
	.hoa-account-body { grid-template-columns: 1fr; gap: 1.25rem; }
	.hoa-account-nav2 { position: static; border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); padding: 0.35rem; }

	.hoa-account-nav2.is-js .hoa-account-nav2__toggle {
		display: flex; align-items: center; gap: 0.7rem;
		width: 100%; min-height: 48px; padding: 0.6rem 0.8rem;
		background: transparent; border: 0; border-radius: var(--hoa-radius-sm);
		font-family: var(--hoa-font-body); font-size: var(--hoa-fs-md); font-weight: 700;
		color: var(--hoa-primary); text-align: left; cursor: pointer;
	}
	.hoa-account-nav2__toggle-label { flex: 1 1 auto; }
	.hoa-account-nav2__chevron { display: flex; transition: transform .2s ease; }
	.hoa-account-nav2.is-js.is-open .hoa-account-nav2__chevron { transform: rotate(180deg); }
	.hoa-account-nav2.is-js .hoa-account-nav2__list { display: none; padding-top: 0.35rem; margin-top: 0.35rem; border-top: 1px solid var(--hoa-line); }
	.hoa-account-nav2.is-js.is-open .hoa-account-nav2__list { display: flex; }

	.hoa-account-head { flex-direction: column; }
	.hoa-account-head-actions { width: 100%; }
	.hoa-account-switch { flex: 1 1 auto; }
	.hoa-account-switch__button { width: 100%; }
	.hoa-account-switch__menu { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hoa-account-nav2__chevron { transition: none; } }

/* ==========================================================================
   v1.12.2 — WooCommerce forms inside the account page
   WooCommerce renders its own markup (.woocommerce-Input, form-row), which
   the brand styles above never reached, so those fields kept the theme's
   thin default boxes. Same treatment, matched to WooCommerce's classes.
   ========================================================================== */

.hoa-account .woocommerce-form-row,
.hoa-account .form-row,
.hoa-account p.form-row { display: flex; flex-direction: column; margin: 0 0 1.1rem; padding: 0; }

.hoa-account .form-row label,
.hoa-account .woocommerce-form-row label,
.hoa-account fieldset legend {
	display: block;
	margin-bottom: 0.4rem;
	font-size: var(--hoa-fs-sm);
	font-weight: 600;
	color: var(--hoa-ink);
}
.hoa-account .required { color: var(--hoa-primary); border: 0; text-decoration: none; }
.hoa-account .optional { color: var(--hoa-faint); font-weight: 400; }

.hoa-account :is(.woocommerce-Input, .input-text, .select2-selection, input[type="text"], input[type="email"],
	input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="search"],
	input[type="date"], select, textarea) {
	width: 100%;
	box-sizing: border-box;
	min-height: 46px;
	padding: 0.65rem 0.85rem;
	font-family: var(--hoa-font-body);
	font-size: var(--hoa-fs-base);
	line-height: 1.4;
	color: var(--hoa-ink);
	background: var(--hoa-surface);
	border: 1px solid var(--hoa-line-strong);
	border-radius: var(--hoa-radius-sm);
	box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.hoa-account textarea { min-height: 110px; resize: vertical; }
.hoa-account :is(.woocommerce-Input, .input-text, input, select, textarea):hover { border-color: var(--hoa-faint); }
.hoa-account :is(.woocommerce-Input, .input-text, input, select, textarea):focus {
	outline: none;
	border-color: var(--hoa-primary);
	box-shadow: 0 0 0 3px var(--hoa-focus);
}
.hoa-account :is(input, select, textarea)::placeholder { color: var(--hoa-faint); opacity: 1; }
.hoa-account :is(input, select, textarea):disabled,
.hoa-account :is(input, select, textarea)[readonly] { background: var(--hoa-bg-soft); color: var(--hoa-muted); }

.hoa-account :is(input[type="checkbox"], input[type="radio"]) {
	width: 1.15rem; height: 1.15rem; min-height: 0;
	accent-color: var(--hoa-primary);
	margin: 0 0.5rem 0 0; padding: 0; flex: 0 0 auto;
	box-shadow: none; border-radius: 3px;
}
.hoa-account :is(input[type="checkbox"], input[type="radio"]) + span,
.hoa-account label.checkbox { font-weight: 400; }

.hoa-account select {
	appearance: none; -webkit-appearance: none;
	padding-right: 2.4rem;
	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='%236b6560' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
}

/* Field hints WooCommerce renders as <span class="description"> or <em>. */
.hoa-account .form-row span.description,
.hoa-account fieldset + p em,
.hoa-account .woocommerce-form-row em {
	display: block;
	margin-top: 0.35rem;
	font-size: var(--hoa-fs-xs);
	font-style: normal;
	color: var(--hoa-muted);
	line-height: 1.5;
}

/* Password change and other grouped fieldsets. */
.hoa-account fieldset {
	margin: 1.5rem 0;
	padding: 1.25rem 1.4rem 0.4rem;
	border: 1px solid var(--hoa-line);
	border-radius: var(--hoa-radius);
	background: var(--hoa-surface);
}
.hoa-account fieldset legend {
	padding: 0 0.5rem;
	font-size: var(--hoa-fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hoa-primary);
}

/* Two-column rows, as WooCommerce marks them. */
@media (min-width: 720px) {
	.hoa-account .form-row-first,
	.hoa-account .form-row-last {
		display: inline-flex;
		width: calc(50% - 0.6rem);
		vertical-align: top;
	}
	.hoa-account .form-row-first { margin-right: 1.2rem; }
}

/* WooCommerce buttons inside the account page follow the brand. */
.hoa-account :is(button[type="submit"], .woocommerce-Button, a.button, button.button, input.button) {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: 44px; padding: 0.7rem 1.4rem;
	font-family: var(--hoa-font-body); font-size: var(--hoa-fs-sm); font-weight: 600; line-height: 1.2;
	color: #fff; background: var(--hoa-primary); border: 1px solid var(--hoa-primary);
	border-radius: var(--hoa-radius-sm); text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
.hoa-account :is(button[type="submit"], .woocommerce-Button, a.button, button.button, input.button):hover {
	background: var(--hoa-primary-hover); border-color: var(--hoa-primary-hover); color: #fff;
}
.hoa-account :is(button[type="submit"], .woocommerce-Button, a.button):focus-visible {
	outline: none; box-shadow: 0 0 0 3px var(--hoa-focus);
}

/* WooCommerce's own tables and notices, kept in the same visual language. */
.hoa-account :is(.woocommerce-orders-table, .woocommerce-table, .shop_table) {
	width: 100%; border-collapse: separate; border-spacing: 0;
	border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius); overflow: hidden;
	font-size: var(--hoa-fs-sm); background: var(--hoa-surface);
}
.hoa-account :is(.woocommerce-orders-table, .shop_table) th {
	padding: 0.75rem 0.9rem; text-align: left;
	font-size: var(--hoa-fs-xs); font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
	color: var(--hoa-primary); background: var(--hoa-bg-soft); border-bottom: 1px solid var(--hoa-line);
}
.hoa-account :is(.woocommerce-orders-table, .shop_table) td {
	padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--hoa-line); vertical-align: middle;
}
.hoa-account :is(.woocommerce-orders-table, .shop_table) tr:last-child td { border-bottom: 0; }
.hoa-account .woocommerce-Address { margin-bottom: 1.5rem; }
.hoa-account .woocommerce-Address-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.hoa-account .woocommerce-Address-title h2, .hoa-account .woocommerce-Address-title h3 { margin: 0 0 0.5rem; font-size: var(--hoa-fs-lg); }
.hoa-account .woocommerce-Address-title a { font-size: var(--hoa-fs-sm); }
.hoa-account .woocommerce-message, .hoa-account .woocommerce-info, .hoa-account .woocommerce-error {
	border-radius: var(--hoa-radius-sm); font-size: var(--hoa-fs-sm);
}
.hoa-account .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.hoa-account-back { margin: 0 0 1rem; font-size: var(--hoa-fs-sm); }

/* Curator notification list shown on its own account section. */
.hoa-account .hoa-cur-notes { list-style: none; margin: 0; padding: 0; }
.hoa-account .hoa-cur-notes li {
	display: flex; gap: 0.75rem; align-items: flex-start;
	padding: 0.9rem 0; border-bottom: 1px solid var(--hoa-line);
}
.hoa-account .hoa-cur-notes li:last-child { border-bottom: 0; }
.hoa-account .hoa-cur-notes__dot {
	flex: 0 0 auto; width: 8px; height: 8px; margin-top: 0.5rem;
	border-radius: 50%; background: transparent;
}
.hoa-account .hoa-cur-notes li.is-unread .hoa-cur-notes__dot { background: var(--hoa-primary); }
.hoa-account .hoa-cur-notes li.is-unread { font-weight: 500; }
.hoa-account .hoa-cur-notes time,
.hoa-account .hoa-cur-notes small { display: block; margin-top: 0.2rem; font-size: var(--hoa-fs-xs); color: var(--hoa-muted); }
.hoa-account .hoa-cur-empty { color: var(--hoa-muted); font-size: var(--hoa-fs-sm); }

/* ==========================================================================
   v1.13 — spam protection
   ========================================================================== */

/* The trap field: off-screen rather than display:none, since some scripts
   skip hidden inputs but fill anything still in the layout. Never reachable
   by keyboard, and hidden from screen readers by aria-hidden on the wrapper. */
.hoa-spam-trap {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.hoa-spam-sum { max-width: 24rem; }
.hoa-spam-sum input { max-width: 8rem; }
.hoa-spam-sum strong { color: var(--hoa-primary); }

/* Google's badge is fixed to the corner of every page by default and covers
   things. Hidden here, with the required attribution shown on the forms. */
.grecaptcha-badge { visibility: hidden; }
.hoa-spam-credit {
	margin: 0.6rem 0 0;
	font-size: var(--hoa-fs-xs);
	color: var(--hoa-muted);
	line-height: 1.5;
}

/* ==========================================================================
   v1.14 — plan badge in the account header
   ========================================================================== */

.hoa-account-plan { display: inline-flex; align-items: center; gap: 0.5rem; }

a.hoa-account-plan__chip {
	display: inline-flex; align-items: center; gap: 0.4rem;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--hoa-line);
	border-radius: 999px;
	font-size: var(--hoa-fs-sm);
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
a.hoa-account-plan__chip::before {
	content: '';
	width: 7px; height: 7px; flex: 0 0 auto;
	border-radius: 50%;
	background: currentColor;
}
a.hoa-account-plan__chip:hover { text-decoration: none; border-color: currentColor; }

.hoa-account-plan__chip--ok { background: var(--hoa-ok-bg); color: var(--hoa-ok); border-color: transparent; }
.hoa-account-plan__chip--warn { background: var(--hoa-warn-bg); color: var(--hoa-warn); border-color: transparent; }
.hoa-account-plan__chip--pending { background: var(--hoa-bg-soft); color: var(--hoa-muted); border-color: transparent; }
.hoa-account-plan__chip--error { background: var(--hoa-error-bg); color: var(--hoa-error); border-color: transparent; }

.hoa-account-plan__cta { white-space: nowrap; }

@media (max-width: 900px) {
	/* The plan sits on its own line above the switcher, so a long plan name
	   does not squeeze everything else off the row. */
	.hoa-account-head-actions { flex-wrap: wrap; }
	.hoa-account-plan { order: -1; width: 100%; }
	.hoa-account-plan__chip { flex: 1; justify-content: center; }
}

/* ==========================================================================
   v1.15 — artist directory cards
   Portrait, name, a short table of facts, then a footer — the same shape
   the events and program listings use, so the site reads consistently.
   ========================================================================== */

.hoa-artists--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.hoa-artists--list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.25rem; }

.hoa-person {
	position: relative;
	display: flex; flex-direction: column;
	background: var(--hoa-surface);
	border: 1px solid var(--hoa-line);
	border-radius: var(--hoa-radius);
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.hoa-person:hover { border-color: var(--hoa-primary-line); box-shadow: 0 14px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.hoa-person.is-featured { border-color: var(--hoa-primary); }

.hoa-person__link { position: absolute; inset: 0; z-index: 2; }
.hoa-person__link:focus-visible { outline: 3px solid var(--hoa-primary); outline-offset: -3px; border-radius: var(--hoa-radius); }

.hoa-person__portrait {
	position: relative; aspect-ratio: 1; background: var(--hoa-bg-soft);
	display: flex; align-items: center; justify-content: center;
}
.hoa-person__portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-person__initial { font-size: 3rem; font-weight: 700; color: var(--hoa-primary-line); }
.hoa-person__flag {
	position: absolute; top: .75rem; left: .75rem;
	padding: .2rem .6rem; border-radius: 999px;
	background: var(--hoa-primary); color: #fff;
	font-size: var(--hoa-fs-xs); font-weight: 700; letter-spacing: .04em;
}

.hoa-person__name {
	display: flex; align-items: center; gap: .6rem;
	padding: .9rem 1.1rem;
	border-bottom: 1px solid var(--hoa-line);
}
.hoa-person__avatar {
	flex: none; width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
	background: var(--hoa-primary-soft); color: var(--hoa-primary);
	display: flex; align-items: center; justify-content: center;
	font-size: .75rem; font-weight: 700;
}
.hoa-person__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hoa-person__name h3 {
	margin: 0; font-size: var(--hoa-fs-lg); line-height: 1.2; color: var(--hoa-ink);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
	text-decoration-color: var(--hoa-line-strong);
	overflow-wrap: anywhere;
}
.hoa-person:hover .hoa-person__name h3 { color: var(--hoa-primary); text-decoration-color: currentColor; }

.hoa-person__rows { margin: 0; padding: 0; }
.hoa-person__rows > div {
	display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
	padding: .65rem 1.1rem;
	border-bottom: 1px solid var(--hoa-line);
	font-size: var(--hoa-fs-sm);
}
.hoa-person__rows dt { margin: 0; font-weight: 700; color: var(--hoa-ink); }
.hoa-person__rows dd {
	margin: 0; text-align: right; color: var(--hoa-muted);
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 62%;
}

.hoa-person__foot {
	display: flex; align-items: center; justify-content: space-between;
	padding: .85rem 1.1rem; margin-top: auto;
	font-size: var(--hoa-fs-sm); font-weight: 600; color: var(--hoa-muted);
}
.hoa-person:hover .hoa-person__foot { color: var(--hoa-primary); }
.hoa-person__go { font-size: 1.15rem; transition: transform .18s ease; }
.hoa-person:hover .hoa-person__go { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
	.hoa-person, .hoa-person__go { transition: none; }
}

/* ==========================================================================
   v1.16 — detail pages
   Content left, imagery right, divided by a hairline. The picture stays in
   view while the text scrolls, which is how people actually read these:
   glance at the work, read a line, glance back.
   ========================================================================== */

/* No theme sidebar on these pages. */
.hoa-event-page .et_post_meta_wrapper,
.hoa-event-page .entry-title,
.hoa-event-page .post-meta,
.hoa-event-page #sidebar,
.hoa-event-page .widget-area,
.hoa-event-page aside.sidebar { display: none !important; }
.hoa-event-page #left-area,
.hoa-event-page .content-area {
	width: 100% !important; max-width: 100% !important;
	padding-right: 0 !important; float: none !important;
}
.hoa-event-page #main-content .container::before { display: none !important; }

.hoa-detail { max-width: 1320px; margin-inline: auto; }
.hoa-detail__back { margin: 0 0 1.5rem; font-size: var(--hoa-fs-sm); }
.hoa-detail__back a { color: var(--hoa-muted); text-decoration: none; }
.hoa-detail__back a:hover { color: var(--hoa-primary); }

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

.hoa-detail__main { min-width: 0; padding-bottom: 2rem; }

.hoa-detail__kicker {
	margin: 0 0 0.6rem;
	font-size: var(--hoa-fs-sm);
	color: var(--hoa-muted);
}
.hoa-detail__title {
	margin: 0 0 0.9rem;
	font-size: clamp(1.9rem, 4.2vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: var(--hoa-ink);
}
.hoa-detail__by { margin: 0; font-size: var(--hoa-fs-md); color: var(--hoa-muted); }
.hoa-detail__by strong { color: var(--hoa-ink); font-weight: 600; }

.hoa-detail__rule { height: 1px; background: var(--hoa-line); margin: clamp(1.5rem, 3vw, 2.25rem) 0; }

.hoa-detail__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.hoa-detail__cta .hoa-interest { width: auto; }
.hoa-detail__cal { font-size: var(--hoa-fs-sm); color: var(--hoa-muted); }
.hoa-detail__cal a { margin-left: 0.45rem; }
.hoa-detail__small { margin: 0.75rem 0 0; font-size: var(--hoa-fs-xs); color: var(--hoa-muted); line-height: 1.6; }

/* Facts as labelled rows, matching the listing cards. */
.hoa-detail__facts { margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--hoa-line); }
.hoa-detail__facts > div {
	display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem;
	padding: 0.85rem 0; border-bottom: 1px solid var(--hoa-line);
}
.hoa-detail__facts dt { margin: 0; font-weight: 700; font-size: var(--hoa-fs-sm); color: var(--hoa-ink); }
.hoa-detail__facts dd { margin: 0; font-size: var(--hoa-fs-md); line-height: 1.5; color: var(--hoa-ink); }
.hoa-detail__facts dd span,
.hoa-detail__facts dd a { display: block; margin-top: 0.2rem; font-size: var(--hoa-fs-sm); color: var(--hoa-muted); }
.hoa-detail__facts dd a { color: var(--hoa-primary); }
.hoa-detail__countdown { color: var(--hoa-primary) !important; font-weight: 600; }
.hoa-detail__countdown:empty { display: none; }

.hoa-detail__body { margin: 0 0 2rem; }
.hoa-detail__body h2 { font-size: var(--hoa-fs-lg); margin: 0 0 0.8rem; }
.hoa-detail__body p { font-size: var(--hoa-fs-base); line-height: 1.75; max-width: 62ch; }

.hoa-detail__label {
	display: block; margin-bottom: 0.3rem;
	font-size: var(--hoa-fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--hoa-primary);
}

.hoa-detail__person {
	display: flex; gap: 1rem; align-items: center;
	padding: 1.2rem 1.35rem; margin: 0 0 2rem;
	border: 1px solid var(--hoa-line); border-radius: var(--hoa-radius);
	background: var(--hoa-bg-soft);
}
.hoa-detail__person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.hoa-detail__person strong { display: block; font-size: var(--hoa-fs-lg); }
.hoa-detail__person p { margin: 0.15rem 0 0.35rem; font-size: var(--hoa-fs-sm); color: var(--hoa-muted); }

.hoa-detail__share { border-top: 1px solid var(--hoa-line); padding-top: 1.5rem; }

/* ---------- Media column ---------- */

.hoa-detail__media { position: sticky; top: 100px; }
.hoa-detail__cover {
	margin: 0; border-radius: 16px; overflow: hidden;
	background: var(--hoa-bg-soft); aspect-ratio: 4 / 3;
}
.hoa-detail__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-detail__noimg {
	border-radius: 16px; aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, var(--hoa-bg-soft), var(--hoa-primary-soft));
}

.hoa-detail__thumbs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.85rem; }
.hoa-detail__thumb {
	width: 76px; height: 58px; padding: 3px;
	border: 1px solid var(--hoa-line); border-radius: 8px;
	background: var(--hoa-surface); cursor: pointer; overflow: hidden;
	transition: border-color 0.15s ease;
}
.hoa-detail__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; display: block; }
.hoa-detail__thumb:hover { border-color: var(--hoa-faint); }
.hoa-detail__thumb.is-on { border-color: var(--hoa-primary); }
.hoa-detail__thumb:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--hoa-focus); }

@media (max-width: 1000px) {
	.hoa-detail__split { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
	.hoa-detail__split::before { display: none; }
	/* Picture first on a phone: it is what tells you what this is. */
	.hoa-detail__media { position: static; order: -1; }
	.hoa-detail__facts > div { grid-template-columns: 6rem minmax(0, 1fr); }
}
@media (max-width: 520px) {
	.hoa-detail__facts > div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
	.hoa-detail__cta { flex-direction: column; align-items: stretch; }
	.hoa-detail__cta > * { width: 100%; }
	.hoa-detail__cal { text-align: center; }
}

/* ==========================================================================
   v1.17 — consistent filter bars, bold titles, responsive corrections
   ========================================================================== */

/* ---------- One filter bar across every listing ----------
   The artists, events, programs and curators pages each had their own
   version. These bring the artist directory in line with the rest. */

.hoa-directory-filters,
.hoa-events .hoa-directory-filters {
	display: grid;
	grid-template-columns: minmax(200px, 1.6fr) repeat(auto-fit, minmax(120px, 1fr)) auto;
	gap: 12px;
	align-items: end;
	padding: 18px;
	margin: 0 0 18px;
	background: var(--hoa-bg-soft);
	border-radius: calc(var(--hoa-radius) + 4px);
}
.hoa-directory-filters .hoa-field { margin: 0; }
.hoa-directory-filters .hoa-field label {
	display: block;
	margin-bottom: 5px;
	font-size: var(--hoa-fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hoa-muted);
}
.hoa-directory-filters :is(input, select) { min-height: 42px; }
.hoa-directory-actions { margin: 0; display: flex; align-items: center; gap: 12px; }
.hoa-directory-clear { font-size: var(--hoa-fs-sm); color: var(--hoa-muted); }
.hoa-directory-clear:hover { color: var(--hoa-primary); }

.hoa-directory-bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 12px; margin: 0 0 18px;
}
.hoa-directory-count { margin: 0; font-size: var(--hoa-fs-sm); color: var(--hoa-muted); }
.hoa-directory-count strong { color: var(--hoa-ink); }

@media (max-width: 900px) {
	.hoa-directory-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hoa-directory-filters .hoa-field--search,
	.hoa-directory-actions { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.hoa-directory-filters { grid-template-columns: 1fr; }
	.hoa-directory-actions { flex-direction: column; align-items: stretch; }
	.hoa-directory-actions .hoa-btn { width: 100%; }
}

/* ---------- Detail page titles ---------- */

.hoa-detail__title,
.hoa-event-page h1 { font-weight: 700; }

/* ---------- Tablet: the split needs more room than a phone but less than
   a desktop, and 1000px was leaving the two columns too narrow. ---------- */

@media (max-width: 1100px) and (min-width: 1001px) {
	.hoa-detail__split { gap: 2rem; }
	.hoa-detail__facts > div { grid-template-columns: 6rem minmax(0, 1fr); }
}

/* Stop long unbroken strings — a pasted URL in a description, a long venue
   name — pushing a column wider than the screen. */
.hoa-detail__body, .hoa-detail__facts dd, .hoa-listing__title, .hoa-person__rows dd { overflow-wrap: anywhere; }

/* The account page's own tables on small screens. */
@media (max-width: 680px) {
	.hoa-account .hoa-table { font-size: var(--hoa-fs-xs); }
	.hoa-account .hoa-table :is(th, td) { padding: 0.6rem 0.5rem; }
}

/* ==========================================================================
   v1.18 — artists page corrections
   ========================================================================== */

/* One layout, so the grid/list switch is gone. */
.hoa-artists, .hoa-artists--grid, .hoa-artists--list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
	gap: 1.5rem;
}

/* Square portraits. Artists upload all shapes; cropping to 1:1 is what
   keeps a row of cards level. */
.hoa-person__portrait { aspect-ratio: 1 / 1; }
.hoa-person__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* The badge sits under the name, quieter than it. */
.hoa-person__badge {
	margin: 0;
	padding: 0 1.1rem 0.85rem;
	border-bottom: 1px solid var(--hoa-line);
}
.hoa-person__badge .hoa-badge,
.hoa-person__badge > span {
	font-size: var(--hoa-fs-xs);
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	letter-spacing: 0.02em;
}
.hoa-person__name { padding-bottom: 0.6rem; border-bottom: 0; }
.hoa-person__name + .hoa-person__rows { border-top: 1px solid var(--hoa-line); }

@media (max-width: 560px) {
	.hoa-artists, .hoa-artists--grid, .hoa-artists--list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v1.19 — follow button on the public artist profile
   ========================================================================== */

.hoa-profile-connect { margin: 0.9rem 0 1.1rem; }

/* ==========================================================================
   v1.20 — categories and plan on the public artist profile
   ========================================================================== */

.hoa-profile-plan { display: inline-block; margin-left: 0.4rem; }
.hoa-profile-plan a,
.hoa-profile-plan {
	font-size: var(--hoa-fs-xs);
	font-weight: 600;
	color: var(--hoa-primary);
	text-decoration: none;
}
.hoa-profile-plan a { padding: 0.18rem 0.6rem; border: 1px solid var(--hoa-primary-line); border-radius: 999px; }
.hoa-profile-plan a:hover { background: var(--hoa-primary-soft); }

.hoa-profile-cats { margin: 0.9rem 0 1.1rem; }
.hoa-profile-cats__label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: var(--hoa-fs-xs);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hoa-muted);
}
.hoa-profile-cats ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0; padding: 0; }
.hoa-profile-cats li { margin: 0; }

.hoa-profile-cat {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.8rem;
	border: 1px solid var(--hoa-line);
	border-radius: 999px;
	background: var(--hoa-surface);
	font-size: var(--hoa-fs-sm);
	font-weight: 600;
	color: var(--hoa-ink);
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
a.hoa-profile-cat:hover { border-color: var(--hoa-primary); background: var(--hoa-primary-soft); color: var(--hoa-primary); }
/* Sub-categories read as the narrower thing they are. */
.hoa-profile-cat.is-sub { background: var(--hoa-bg-soft); font-weight: 500; }
.hoa-profile-cat > span {
	font-size: var(--hoa-fs-xs);
	font-weight: 700;
	color: var(--hoa-muted);
	padding-left: 0.4rem;
	border-left: 1px solid var(--hoa-line);
}
a.hoa-profile-cat:hover > span { color: var(--hoa-primary); border-left-color: var(--hoa-primary-line); }

/* ==========================================================================
   v1.21 — categories, videos and the gallery feed
   Built only from the tokens declared at the top of this file, so it picks up
   any brand change rather than carrying its own copy of the palette.
   ========================================================================== */

/* ---- The two category selects ---- */
.hoa-field--pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem 1rem; }
.hoa-field--pair > div { display: flex; flex-direction: column; gap: 0.3rem; }
.hoa-field--pair .hoa-hint { grid-column: 1 / -1; }
.hoa-field--pair select {
	width: 100%;
	min-height: 48px;
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--hoa-line);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	color: var(--hoa-ink);
}
.hoa-field--pair select:focus { outline: none; border-color: var(--hoa-primary); box-shadow: 0 0 0 3px var(--hoa-primary-soft); }
.hoa-field--pair select:disabled { background: var(--hoa-bg-soft); color: var(--hoa-muted); cursor: not-allowed; }

/* ---- Managing videos on the profile form ---- */
.hoa-videos-edit__list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.75rem;
	margin: 0.75rem 0;
	padding: 0;
}
.hoa-videos-edit__list li { position: relative; margin: 0; }
.hoa-videos-edit__list video {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 10px;
	background: var(--hoa-bg-soft);
}
.hoa-videos-edit__x {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(27, 27, 27, 0.78);
	color: #fff;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}
.hoa-videos-edit__x:hover { background: var(--hoa-primary); }
.hoa-videos-edit input[type="file"] { display: block; margin-top: 0.5rem; font: inherit; }

/* ---- Videos on the public profile ---- */
.hoa-profile-videos { margin: 2rem 0; }
.hoa-profile-videos__title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--hoa-ink);
}
.hoa-videos-grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
}
.hoa-videos-grid li { margin: 0; }
.hoa-videos-grid video {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 12px;
	background: var(--hoa-bg-soft);
	border: 1px solid var(--hoa-line);
}

/* ---- The feed ---- */
.hoa-feed { max-width: 620px; margin-inline: auto; }
.hoa-feed--empty { text-align: center; color: var(--hoa-muted); padding: 2rem 0; }
.hoa-feed__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--hoa-ink);
}
.hoa-feed__list { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; margin: 0; padding: 0; }
.hoa-feed__item { margin: 0; }

.hoa-feed__card {
	border: 1px solid var(--hoa-line);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
}
.hoa-feed__who { display: flex; align-items: center; gap: 0.7rem; padding: 0.85rem 1rem; }
.hoa-feed__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.hoa-feed__avatar--none {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--hoa-primary-soft);
	color: var(--hoa-primary);
	font-weight: 700;
	font-size: 1.1rem;
}
.hoa-feed__name { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.hoa-feed__name a { font-weight: 700; font-size: 0.97rem; color: var(--hoa-ink); text-decoration: none; }
.hoa-feed__name a:hover { color: var(--hoa-primary); }
.hoa-feed__headline {
	font-size: 0.82rem;
	color: var(--hoa-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hoa-feed__video { background: #000; }
.hoa-feed__video video { display: block; width: 100%; max-height: 72vh; aspect-ratio: 4 / 5; object-fit: contain; }

.hoa-feed__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
	border-top: 1px solid var(--hoa-line);
	font-size: 0.84rem;
	color: var(--hoa-muted);
}
.hoa-feed__link { color: var(--hoa-primary); font-weight: 600; text-decoration: none; }
.hoa-feed__link:hover { text-decoration: underline; }

.hoa-feed__more { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 1.5rem; }
.hoa-feed__btn {
	min-height: 48px;
	padding: 0.75rem 1.9rem;
	border: 1px solid var(--hoa-primary);
	border-radius: 8px;
	background: var(--hoa-primary);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.hoa-feed__btn:hover:not(:disabled) { background: var(--hoa-primary-hover); border-color: var(--hoa-primary-hover); }
.hoa-feed__btn:disabled { opacity: 0.65; cursor: progress; }
.hoa-feed__btn:focus-visible { outline: 3px solid var(--hoa-primary); outline-offset: 3px; }
.hoa-feed__count { margin: 0; font-size: 0.82rem; color: var(--hoa-muted); }

@media (max-width: 560px) {
	.hoa-field--pair { grid-template-columns: minmax(0, 1fr); }
	.hoa-feed__video video { aspect-ratio: 1 / 1; }
}


/* ==========================================================================
   v1.22 — Works in chips, catalogue button
   The global :is(.hoa-profile …) a rule underlines every link, which made
   each chip look like a bare link inside a pill. Chips are their own thing.
   ========================================================================== */

.hoa-profile-cats a.hoa-profile-cat,
.hoa-profile a.hoa-profile-cat {
	text-decoration: none;
	color: var(--hoa-ink);
}
.hoa-profile-cats a.hoa-profile-cat:hover,
.hoa-profile a.hoa-profile-cat:hover {
	text-decoration: none;
	color: var(--hoa-primary-hover);
	border-color: var(--hoa-primary-hover);
	background: var(--hoa-primary-soft);
}
.hoa-profile-cats a.hoa-profile-cat:active,
.hoa-profile a.hoa-profile-cat:active { color: var(--hoa-primary-active); border-color: var(--hoa-primary-active); }
.hoa-profile-cats a.hoa-profile-cat:hover > span { color: var(--hoa-primary-hover); }

.hoa-btn--catalogue { white-space: nowrap; }

/* ==========================================================================
   v1.22 — reactions and sharing
   ========================================================================== */

.hoa-react {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	padding: 0.75rem 1rem;
	border-top: 1px solid var(--hoa-line);
}

.hoa-react__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 40px;
	padding: 0.4rem 0.9rem;
	border: 1px solid var(--hoa-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 0.92rem;
	color: var(--hoa-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}
.hoa-react__btn:hover { border-color: var(--hoa-primary-hover); background: var(--hoa-bg-soft); }
.hoa-react__btn:active { transform: scale(0.96); }
.hoa-react__btn:focus-visible { outline: 3px solid var(--hoa-primary); outline-offset: 2px; }
.hoa-react__btn[disabled] { opacity: 0.6; cursor: progress; }
/* Your own reaction reads as chosen without shouting. */
.hoa-react__btn.is-mine { border-color: var(--hoa-primary); background: var(--hoa-primary-soft); }
.hoa-react__btn.is-mine .hoa-react__n { color: var(--hoa-primary); font-weight: 700; }

.hoa-react__emoji { font-size: 1.05rem; line-height: 1; }
.hoa-react__n { font-size: 0.88rem; color: var(--hoa-muted); font-variant-numeric: tabular-nums; }

.hoa-react__share { position: relative; margin-left: auto; }
.hoa-react__sharebtn {
	min-height: 40px;
	padding: 0.4rem 1.1rem;
	border: 1px solid var(--hoa-line);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 0.92rem;
	color: var(--hoa-ink);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.hoa-react__sharebtn:hover { border-color: var(--hoa-primary-hover); color: var(--hoa-primary-hover); }
.hoa-react__sharebtn:focus-visible { outline: 3px solid var(--hoa-primary); outline-offset: 2px; }

.hoa-react__menu {
	position: absolute;
	right: 0;
	bottom: calc(100% + 8px);
	z-index: 20;
	display: flex;
	flex-direction: column;
	min-width: 170px;
	padding: 0.35rem;
	border: 1px solid var(--hoa-line);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}
.hoa-react__menu[hidden] { display: none; }
.hoa-react__menu a,
.hoa-react__menu button {
	display: block;
	width: 100%;
	padding: 0.55rem 0.7rem;
	border: 0;
	border-radius: 6px;
	background: none;
	font: inherit;
	font-size: 0.9rem;
	color: var(--hoa-ink);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}
.hoa-react__menu a:hover,
.hoa-react__menu button:hover { background: var(--hoa-bg-soft); color: var(--hoa-primary-hover); }

/* A video playing on its own needs no play chrome until it is touched. */
.hoa-feed__video video[data-hoa-autoplay],
.hoa-videos-grid video[data-hoa-autoplay] { cursor: pointer; }

@media (max-width: 480px) {
	.hoa-react { gap: 0.35rem; padding: 0.65rem 0.75rem; }
	.hoa-react__btn { padding: 0.35rem 0.7rem; }
	.hoa-react__share { margin-left: auto; }
}

/* ==========================================================================
   v1.23 — profile text colour, Education row, YouTube, sharing
   ========================================================================== */

/* The profile body was inheriting the theme's maroon. Everything that is
   prose rather than a link is #151515. */
.hoa-profile,
.hoa-profile p,
.hoa-profile li,
.hoa-profile dd,
.hoa-profile h1,
.hoa-profile h2,
.hoa-profile h3,
.hoa-profile h4,
.hoa-profile-bio,
.hoa-profile-bio p,
.hoa-profile-headline { color: var(--hoa-ink); }
.hoa-profile-bio h2,
.hoa-profile-bio h3,
.hoa-profile-bio strong { color: var(--hoa-ink); }

/* Education on its own line, under the short pairs. */
.hoa-profile-details dt.is-wide { flex-basis: 100%; margin-right: 0; }
.hoa-profile-details dd.is-wide { flex-basis: 100%; margin-left: 0; }

/* ---- YouTube facade ---- */
.hoa-ytframe {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #000;
	border: 1px solid var(--hoa-line);
	cursor: pointer;
}
.hoa-ytframe img,
.hoa-ytframe iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.hoa-ytframe__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.18);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.15s ease;
}
.hoa-ytframe__play:hover { background: rgba(0, 0, 0, 0.3); }
.hoa-ytframe__play span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--hoa-primary-active);
	font-size: 1.5rem;
	padding-left: 5px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.hoa-ytframe__play:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }

.hoa-videos-edit__list img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.hoa-videos-edit__tag {
	position: absolute;
	left: 6px;
	bottom: 6px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(21, 21, 21, 0.8);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
}
.hoa-videos-edit__add { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 0.75rem 0; }
.hoa-videos-edit__add input[type="url"] {
	width: 100%;
	min-height: 48px;
	padding: 0.6rem 0.8rem;
	border: 1px solid var(--hoa-line);
	border-radius: 8px;
	font: inherit;
}
.hoa-videos-edit__add input[type="url"]:focus { outline: none; border-color: var(--hoa-primary); box-shadow: 0 0 0 3px var(--hoa-primary-soft); }

/* ---- Share row ---- */
.hoa-share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.hoa-share-row__label { font-size: 0.85rem; color: var(--hoa-muted); margin-right: 0.25rem; }
.hoa-share-row__btn {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.4rem 1rem;
	border: 1px solid var(--hoa-line);
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--hoa-ink);
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}
.hoa-profile .hoa-share-row__btn { text-decoration: none; }
.hoa-share-row__btn:hover { border-color: var(--hoa-primary-hover); color: var(--hoa-primary-hover); background: var(--hoa-bg-soft); }
.hoa-share-row__btn:focus-visible { outline: 3px solid var(--hoa-primary); outline-offset: 2px; }

@media (max-width: 560px) {
	.hoa-videos-edit__add { grid-template-columns: minmax(0, 1fr); }
}

/* The follow button appears on artist profiles too, where the curator
   stylesheet may not be loaded. Same colours, stated here as well. */
.hoa-profile .hoa-follow__btn,
.hoa-profile a.hoa-follow__btn,
.hoa-profile button.hoa-follow__btn {
	background: #660000;
	border: 1px solid #660000;
	color: #fff;
	text-decoration: none;
}
.hoa-profile .hoa-follow__btn:hover,
.hoa-profile a.hoa-follow__btn:hover { background: #151515; border-color: #151515; color: #fff; }
.hoa-profile .hoa-follow__btn.is-on { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4); }
.hoa-profile .hoa-follow__btn.is-self { background: var(--hoa-bg-soft); border-color: var(--hoa-line); color: var(--hoa-muted); box-shadow: none; }

/* ==========================================================================
   v1.24 — [hoa_shop]
   ========================================================================== */

.hoa-shop { margin: 0 0 2rem; }
.hoa-shop__title { margin: 0 0 1.25rem; font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; color: var(--hoa-ink); }

/* The wrapper holds the bar's height while the bar itself is fixed, so the
   grid does not jump up by a bar's worth the moment it detaches. */
.hoa-shop__barwrap { position: relative; z-index: 30; margin-bottom: 1rem; }
.hoa-shop__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem;
	border: 1px solid var(--hoa-line);
	border-radius: 12px;
	background: #fff;
}
.hoa-shop__barwrap.is-stuck .hoa-shop__bar {
	position: fixed;
	left: 0;
	right: 0;
	margin-inline: auto;
	width: min(1200px, calc(100% - 32px));
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.hoa-shop__search { position: relative; flex: 1 1 220px; min-width: 180px; }
.hoa-shop__search input {
	width: 100%;
	min-height: 44px;
	padding: 0.5rem 2.6rem 0.5rem 0.9rem;
	border: 1px solid var(--hoa-line);
	border-radius: 8px;
	font: inherit;
	color: var(--hoa-ink);
}
.hoa-shop__search input:focus { outline: none; border-color: var(--hoa-primary); box-shadow: 0 0 0 3px var(--hoa-primary-soft); }
.hoa-shop__searchgo {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: var(--hoa-muted);
	cursor: pointer;
}
.hoa-shop__searchgo:hover { color: var(--hoa-primary); background: var(--hoa-bg-soft); }

.hoa-shop__select {
	min-height: 44px;
	padding: 0.5rem 0.7rem;
	border: 1px solid var(--hoa-line);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 0.9rem;
	color: var(--hoa-ink);
	max-width: 190px;
}
.hoa-shop__select:focus { outline: none; border-color: var(--hoa-primary); box-shadow: 0 0 0 3px var(--hoa-primary-soft); }

.hoa-shop__price { display: flex; align-items: center; gap: 0.35rem; }
.hoa-shop__price input {
	width: 86px;
	min-height: 44px;
	padding: 0.5rem 0.6rem;
	border: 1px solid var(--hoa-line);
	border-radius: 8px;
	font: inherit;
	font-size: 0.9rem;
}
.hoa-shop__price span { color: var(--hoa-muted); }

.hoa-shop__clear {
	min-height: 44px;
	padding: 0.5rem 1rem;
	border: 1px solid var(--hoa-line);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 0.9rem;
	color: var(--hoa-muted);
	cursor: pointer;
}
.hoa-shop__clear:hover { color: var(--hoa-primary-hover); border-color: var(--hoa-primary-hover); }

.hoa-shop__cols { display: flex; gap: 2px; margin-left: auto; padding: 2px; border: 1px solid var(--hoa-line); border-radius: 8px; }
.hoa-shop__col {
	width: 34px;
	height: 36px;
	border: 0;
	border-radius: 6px;
	background: none;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hoa-muted);
	cursor: pointer;
}
.hoa-shop__col:hover { background: var(--hoa-bg-soft); }
.hoa-shop__col.is-on { background: var(--hoa-primary); color: #fff; }

.hoa-shop__count { margin: 0 0 0.9rem; font-size: 0.86rem; color: var(--hoa-muted); }

.hoa-shop__grid { display: grid; gap: 1.25rem; }
.hoa-shop__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hoa-shop__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hoa-shop__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hoa-shop__grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hoa-shop__item { min-width: 0; }

.hoa-shop__empty { padding: 2.5rem 1rem; text-align: center; color: var(--hoa-muted); }
.hoa-shop__empty[hidden] { display: none; }
.hoa-shop__more { display: flex; justify-content: center; margin-top: 1.75rem; }
.hoa-shop__more[hidden] { display: none; }
.hoa-shop__spinner { margin-top: 1rem; text-align: center; font-size: 0.86rem; color: var(--hoa-muted); }
.hoa-shop__spinner[hidden] { display: none; }

/* Columns step down rather than squeezing: five 200px cards on a tablet is
   worse than three readable ones. */
@media (max-width: 1100px) {
	.hoa-shop__grid--5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.hoa-shop__grid--4,
	.hoa-shop__grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hoa-shop__cols { display: none; }
}
@media (max-width: 680px) {
	.hoa-shop__grid--3,
	.hoa-shop__grid--4,
	.hoa-shop__grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hoa-shop__bar { gap: 0.5rem; padding: 0.6rem; }
	.hoa-shop__select { max-width: none; flex: 1 1 130px; }
	.hoa-shop__barwrap.is-stuck .hoa-shop__bar { width: calc(100% - 16px); }
}
@media (max-width: 420px) {
	.hoa-shop__grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ==========================================================================
   v1.25 — one filter bar everywhere, and the mobile collapse
   Applies to the shop, the artist directory, events, programmes and the
   curator directory alike: they all carry .hoa-filterbar now.
   ========================================================================== */

.hoa-filterbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	padding: 0.75rem;
	margin: 0 0 1rem;
	border: 1px solid var(--hoa-line);
	border-radius: 12px;
	background: #fff;
}

/* These bars wrapped each control in a <p>, which carried the theme's
   paragraph margin and made the row twice as tall as it needed to be. */
.hoa-filterbar > p,
.hoa-filterbar .hoa-field { margin: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.hoa-filterbar .hoa-field--search,
.hoa-filterbar .hoa-shop__search { flex: 1 1 220px; min-width: 170px; }

.hoa-filterbar label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hoa-muted);
}

.hoa-filterbar select,
.hoa-filterbar input[type="search"],
.hoa-filterbar input[type="text"],
.hoa-filterbar input[type="number"] {
	min-height: 44px;
	padding: 0.5rem 0.7rem;
	border: 1px solid var(--hoa-line);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 0.9rem;
	color: var(--hoa-ink);
}
.hoa-filterbar select { max-width: 200px; }
.hoa-filterbar select:focus,
.hoa-filterbar input:focus { outline: none; border-color: var(--hoa-primary); box-shadow: 0 0 0 3px var(--hoa-primary-soft); }

.hoa-filterbar .hoa-directory-actions,
.hoa-filterbar .hoa-listing-actions { display: flex; align-items: flex-end; gap: 0.5rem; margin: 0; }

/* ---- The mobile toggle ---- */
.hoa-filterbar__toggle {
	display: none;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.5rem 1.1rem;
	border: 1px solid var(--hoa-line);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--hoa-ink);
	cursor: pointer;
}
.hoa-filterbar.is-folded .hoa-filterbar__toggle { display: inline-flex; }
.hoa-filterbar.is-open .hoa-filterbar__toggle { border-color: var(--hoa-primary); color: var(--hoa-primary); }
.hoa-filterbar__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 10px;
	background: var(--hoa-primary);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
}
.hoa-filterbar__badge[hidden] { display: none; }

.hoa-filterbar__panel {
	flex: 1 1 100%;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem;
	margin-top: 0.6rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--hoa-line);
}
.hoa-filterbar__panel[hidden] { display: none; }
.hoa-filterbar__panel > p,
.hoa-filterbar__panel .hoa-field { display: flex; flex-direction: column; gap: 0.25rem; margin: 0; }
.hoa-filterbar__panel select,
.hoa-filterbar__panel input { width: 100%; max-width: none; }
.hoa-filterbar__panel .hoa-directory-actions,
.hoa-filterbar__panel .hoa-shop__cols,
.hoa-filterbar__panel .hoa-shop__price { grid-column: 1 / -1; }
.hoa-filterbar__panel .hoa-shop__cols { margin-left: 0; justify-content: center; }

@media (max-width: 782px) {
	.hoa-filterbar { gap: 0.5rem; padding: 0.6rem; }
	/* The search field and the Filter button share one row. */
	.hoa-filterbar.is-folded > .hoa-field--search,
	.hoa-filterbar.is-folded > .hoa-shop__search { flex: 1 1 auto; min-width: 0; }
	.hoa-filterbar select { max-width: none; }
}
@media (max-width: 420px) {
	.hoa-filterbar__panel { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Card type ---- */
.hoa-work,
.hoa-work-title,
.hoa-work-medium,
.hoa-work-price,
.hoa-work-more,
.hoa-shop__item,
.hoa-person,
.hoa-person__name,
.hoa-cur-card,
.hoa-listing-card { font-size: 14px; }
.hoa-work-title { font-weight: 600; line-height: 1.35; }
.hoa-work-medium,
.hoa-work-more { font-size: 13px; }

/* ==========================================================================
   v1.26 — the filter bar settles rather than snapping
   ========================================================================== */

/* Pinning and releasing with no transition reads as a glitch; a short slide
   makes it legible as one thing moving. */
.hoa-shop__barwrap.is-stuck .hoa-shop__bar {
	animation: hoa-shop-drop 0.18s ease both;
}
@keyframes hoa-shop-drop {
	from { transform: translateY(-10px); opacity: 0.6; }
	to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.hoa-shop__barwrap.is-stuck .hoa-shop__bar { animation: none; }
}

/* ==========================================================================
   v1.28 — [hoa_featured_products]
   The cards come from the shop, so nothing here styles a card. This is only
   the rail they sit in.
   ========================================================================== */

.hoa-carousel { margin: 0 0 2.5rem; }

.hoa-carousel__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1.1rem;
}
.hoa-carousel__title { margin: 0; font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; color: var(--hoa-ink); }
.hoa-carousel__sub { margin: 0.35rem 0 0; font-size: 14px; color: var(--hoa-muted); max-width: 60ch; }

.hoa-carousel__controls { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.hoa-carousel__more { font-size: 14px; font-weight: 600; color: var(--hoa-primary); text-decoration: none; white-space: nowrap; }
.hoa-carousel__more:hover { color: var(--hoa-primary-hover); text-decoration: underline; }

.hoa-carousel__arrows { display: flex; gap: 6px; }
.hoa-carousel__arrows[hidden] { display: none; }
.hoa-carousel__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--hoa-line);
	border-radius: 50%;
	background: #fff;
	font-size: 1.4rem;
	line-height: 1;
	color: var(--hoa-ink);
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.hoa-carousel__arrow:hover:not(:disabled) { background: var(--hoa-primary); border-color: var(--hoa-primary); color: #fff; }
.hoa-carousel__arrow:disabled { opacity: 0.35; cursor: default; }
.hoa-carousel__arrow:focus-visible { outline: 3px solid var(--hoa-primary); outline-offset: 3px; }

/* The rail. Scroll-snap does the work; the arrows only nudge it, so this
   is a usable swipeable row with no JavaScript at all. */
.hoa-carousel__track {
	list-style: none;
	/* Flex, not grid.
	   grid-auto-flow: column sizes its tracks against the container, so the
	   row could never become wider than the box it was in — which is exactly
	   the condition that makes a scroller never scroll. Flex items with a
	   fixed basis and flex-shrink: 0 overflow properly. */
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 1.25rem;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0 0 0.5rem;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	-webkit-overflow-scrolling: touch;
}
/* Themes commonly style lists; make sure none of it reaches these. */
.hoa-carousel__track > li { margin: 0; padding: 0; list-style: none; }
.hoa-carousel__track::before,
.hoa-carousel__track::after { content: none; }
.hoa-carousel__track:focus-visible { outline: 3px solid var(--hoa-primary); outline-offset: 4px; border-radius: 8px; }

.hoa-carousel__item {
	scroll-snap-align: start;
	/* 0 0 auto plus an explicit width: without flex-shrink: 0 the items
	   compress to fit and the row never overflows. */
	flex: 0 0 auto;
	min-width: 0;
}

/* How many fit across. The last card is deliberately part-visible at the
   widest sizes, because a row that ends flush looks like the end of the
   list and nobody scrolls it. */
.hoa-carousel__track--2 > .hoa-carousel__item { width: calc((100% - 1.25rem) / 2); }
.hoa-carousel__track--3 > .hoa-carousel__item { width: calc((100% - 2.5rem) / 3); }
.hoa-carousel__track--4 > .hoa-carousel__item { width: calc((100% - 3.75rem) / 4); }
.hoa-carousel__track--5 > .hoa-carousel__item { width: calc((100% - 5rem) / 5); }
.hoa-carousel__track--6 > .hoa-carousel__item { width: calc((100% - 6.25rem) / 6); }

.hoa-carousel__track::-webkit-scrollbar { height: 6px; }
.hoa-carousel__track::-webkit-scrollbar-track { background: var(--hoa-bg-soft); border-radius: 3px; }
.hoa-carousel__track::-webkit-scrollbar-thumb { background: var(--hoa-line); border-radius: 3px; }
.hoa-carousel__track::-webkit-scrollbar-thumb:hover { background: var(--hoa-muted); }

@media (max-width: 1100px) {
	.hoa-carousel__track--5 > .hoa-carousel__item,
	.hoa-carousel__track--6 > .hoa-carousel__item { width: calc((100% - 3.75rem) / 4); }
}
@media (max-width: 900px) {
	.hoa-carousel__track--4 > .hoa-carousel__item,
	.hoa-carousel__track--5 > .hoa-carousel__item,
	.hoa-carousel__track--6 > .hoa-carousel__item { width: calc((100% - 2.5rem) / 3); }
}
@media (max-width: 680px) {
	.hoa-carousel__track { gap: 1rem; }
	.hoa-carousel__track--3 > .hoa-carousel__item,
	.hoa-carousel__track--4 > .hoa-carousel__item,
	.hoa-carousel__track--5 > .hoa-carousel__item,
	.hoa-carousel__track--6 > .hoa-carousel__item { width: calc((100% - 1rem) / 2); }
	.hoa-carousel__controls { margin-left: 0; }
	.hoa-carousel__arrow { width: 36px; height: 36px; font-size: 1.2rem; }
}
@media (max-width: 440px) {
	/* One and a bit, so the next card is visibly there to swipe to. */
	.hoa-carousel__track--2 > .hoa-carousel__item,
	.hoa-carousel__track--3 > .hoa-carousel__item,
	.hoa-carousel__track--4 > .hoa-carousel__item,
	.hoa-carousel__track--5 > .hoa-carousel__item,
	.hoa-carousel__track--6 > .hoa-carousel__item { width: 78%; }
}
@media (prefers-reduced-motion: reduce) {
	.hoa-carousel__track { scroll-behavior: auto; scroll-snap-type: none; }
}

/* ==========================================================================
   v1.28.2 — stop the carousel widening the page
   The track scrolls itself, but a flex or grid item will not shrink below
   its content by default, so the row was pushing its own ancestors wider
   and the whole document gained a horizontal scrollbar. min-width: 0 is the
   fix; the rest is belt and braces for builder markup we do not control.
   ========================================================================== */

.hoa-carousel {
	min-width: 0;
	max-width: 100%;
	/* Clips nothing visible — the track's own overflow does the scrolling —
	   but stops a stray child reporting a width the page has to honour. */
	contain: layout;
}
.hoa-carousel * { min-width: 0; }
.hoa-carousel__head { min-width: 0; max-width: 100%; }
.hoa-carousel__track { min-width: 0; max-width: 100%; }
/* The card inside must not report its intrinsic width upward either. */
.hoa-carousel__item > * { max-width: 100%; }
.hoa-carousel__item img { max-width: 100%; height: auto; }

/* ==========================================================================
   v1.30 — photographic prints: size table and photo reordering
   ========================================================================== */

.hoa-sizes { border: 1px solid var(--hoa-line); border-radius: 12px; overflow: hidden; background: #fff; }

.hoa-sizes__head,
.hoa-sizes__row {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.9fr) minmax(0, 0.7fr);
	gap: 0.75rem;
	align-items: center;
	padding: 0.7rem 0.9rem;
}
.hoa-sizes__head {
	background: var(--hoa-bg-soft);
	border-bottom: 1px solid var(--hoa-line);
	font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
	color: var(--hoa-muted);
}
.hoa-sizes__row + .hoa-sizes__row { border-top: 1px solid var(--hoa-line); }
.hoa-sizes__row { opacity: 0.55; transition: opacity 0.15s, background-color 0.15s; }
.hoa-sizes__row.is-on { opacity: 1; background: #fff; }

.hoa-sizes__tick { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin: 0; cursor: pointer; }
.hoa-sizes__name { font-weight: 700; font-size: 14px; color: var(--hoa-ink); }
.hoa-sizes__mm { font-size: 12px; color: var(--hoa-muted); width: 100%; padding-left: 1.6rem; }

.hoa-sizes__orient { display: flex; gap: 0.75rem; flex-wrap: wrap; font-size: 13px; }
.hoa-sizes__orient label { display: flex; align-items: center; gap: 0.3rem; margin: 0; cursor: pointer; }

.hoa-sizes__price input,
.hoa-sizes__sale input,
.hoa-sizes__qty input { width: 100%; min-height: 42px; padding: 0.4rem 0.6rem; border: 1px solid var(--hoa-line); border-radius: 7px; font: inherit; font-size: 14px; }
.hoa-sizes__price input:disabled,
.hoa-sizes__sale input:disabled,
.hoa-sizes__qty input:disabled { background: var(--hoa-bg-soft); cursor: not-allowed; }
.hoa-sizes__none { color: #b32d2e; }

@media (max-width: 760px) {
	.hoa-sizes__head { display: none; }
	.hoa-sizes__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.6rem 0.75rem; padding: 0.9rem; }
	.hoa-sizes__tick { grid-column: 1 / -1; }
	.hoa-sizes__orient { grid-column: 1 / -1; }
	.hoa-sizes__price::before { content: 'Price'; display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--hoa-muted); margin-bottom: 3px; }
	.hoa-sizes__sale::before { content: 'Sale'; display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--hoa-muted); margin-bottom: 3px; }
	.hoa-sizes__qty::before { content: 'Qty'; display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--hoa-muted); margin-bottom: 3px; }
}

/* ---- Reordering the photos ---- */
.hoa-existing-photo { position: relative; cursor: grab; }
.hoa-existing-photo:active { cursor: grabbing; }
.hoa-existing-photo.is-dragging { opacity: 0.4; outline: 2px dashed var(--hoa-primary); outline-offset: 2px; }
.hoa-existing-grip {
	position: absolute; top: 4px; left: 4px; z-index: 2;
	padding: 1px 6px; border-radius: 5px;
	background: rgba(21, 21, 21, 0.7); color: #fff;
	font-size: 13px; line-height: 1.4; letter-spacing: -1px;
}
.hoa-existing-photo:focus-visible { outline: 3px solid var(--hoa-primary); outline-offset: 3px; }
.hoa-existing-main[hidden] { display: none; }

/* ==========================================================================
   v1.31 — several YouTube links at once
   ========================================================================== */

.hoa-youtube-rows { display: flex; flex-direction: column; gap: 0.5rem; }
.hoa-youtube-row { display: flex; gap: 0.4rem; align-items: center; }
.hoa-youtube-row input { flex: 1; min-width: 0; }
.hoa-youtube-row__drop {
	flex: none; width: 38px; height: 38px; padding: 0;
	border: 1px solid var(--hoa-line); border-radius: 8px; background: #fff;
	font: inherit; font-size: 17px; line-height: 1; color: var(--hoa-muted); cursor: pointer;
}
.hoa-youtube-row__drop:hover { border-color: #b32d2e; color: #b32d2e; }

.hoa-youtube-more {
	align-self: flex-start;
	margin-top: 0.5rem;
	padding: 0.45rem 0.9rem;
	border: 1px dashed var(--hoa-line);
	border-radius: 8px;
	background: #fff;
	font: inherit; font-size: 13px; font-weight: 600;
	color: var(--hoa-primary);
	cursor: pointer;
}
.hoa-youtube-more:hover { border-color: var(--hoa-primary); border-style: solid; }
.hoa-youtube-more[hidden] { display: none; }
.hoa-youtube-more:focus-visible { outline: 3px solid var(--hoa-primary); outline-offset: 3px; }

/* ==========================================================================
   v1.32 — edit profile: text colour and weight
   The form inherited its colour from the theme, which rendered the values a
   buyer-facing maroon. On a form that is being read and corrected rather
   than browsed, near-black at 500 is easier to work through.
   ========================================================================== */

/* Both the edit-profile form and the post-artwork form are .hoa-form. */
.hoa-form .hoa-field input,
.hoa-form .hoa-field select,
.hoa-form .hoa-field textarea,
.hoa-form input[type="text"],
.hoa-form input[type="number"],
.hoa-form input[type="email"],
.hoa-form input[type="url"],
.hoa-form input[type="tel"],
.hoa-form input[type="date"],
.hoa-form select,
.hoa-form textarea {
	color: #151515;
	font-weight: 500;
}

.hoa-form .hoa-field label,
.hoa-form .hoa-label,
.hoa-form legend {
	color: #151515;
	font-weight: 500;
}

/* The asterisk keeps the accent — it is the one thing on a label that has
   to stand out from the words around it. */
.hoa-form .hoa-req { color: var(--hoa-primary); font-weight: 600; }

/* Placeholders stay lighter than real values, or a filled field and an
   empty one read the same at a glance. */
.hoa-form ::placeholder { color: #9b958e; font-weight: 400; opacity: 1; }

/* ---- Removing a video ---- */
.hoa-videos-edit__list li.is-going { opacity: 0.4; pointer-events: none; }
.hoa-videos-edit__x { cursor: pointer; }

.hoa-videos-edit__undo {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 120px;
	padding: 0.75rem;
	border: 1px dashed var(--hoa-line);
	border-radius: 10px;
	background: var(--hoa-bg-soft);
	font-size: 13px;
	color: var(--hoa-muted);
	list-style: none;
}
.hoa-videos-edit__undo button {
	padding: 0.35rem 0.9rem;
	border: 1px solid var(--hoa-primary);
	border-radius: 7px;
	background: #fff;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	color: var(--hoa-primary);
	cursor: pointer;
}
.hoa-videos-edit__undo button:hover { background: var(--hoa-primary); color: #fff; }
.hoa-videos-edit__undo button[disabled] { opacity: 0.6; cursor: progress; }

/* ==========================================================================
   v1.33 — Enquire on WhatsApp
   ========================================================================== */

.hoa-wa { margin: 0.9rem 0 0; clear: both; }

.hoa-wa__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	max-width: 340px;
	min-height: 50px;
	padding: 0.7rem 1.5rem;
	border: 1px solid #25d366;
	border-radius: 8px;
	background: #25d366;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.hoa-wa__btn:hover,
.hoa-wa__btn:focus { background: #1da851; border-color: #1da851; color: #fff; text-decoration: none; }
.hoa-wa__btn:focus-visible { outline: 3px solid #151515; outline-offset: 3px; }
.hoa-wa__icon { width: 21px; height: 21px; flex: none; }

.hoa-wa__note { margin: 0.5rem 0 0; max-width: 46ch; font-size: 13px; line-height: 1.55; color: var(--hoa-muted); }

@media (max-width: 480px) {
	.hoa-wa__btn { max-width: 100%; }
}

/* ==========================================================================
   v1.34 — wishlist, and a calmer orders table
   ========================================================================== */

/* ---- The save button ---- */
.hoa-wish {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
	min-height: 46px; margin-top: 0.6rem; padding: 0.55rem 1.3rem;
	border: 1px solid var(--hoa-line); border-radius: 8px; background: #fff;
	font: inherit; font-size: 14px; font-weight: 600; color: var(--hoa-ink);
	text-decoration: none; cursor: pointer;
	transition: border-color .15s, color .15s;
}
.hoa-wish:hover { border-color: var(--hoa-primary); color: var(--hoa-primary); }
.hoa-wish.is-on { border-color: var(--hoa-primary); color: var(--hoa-primary); }
.hoa-wish[disabled] { opacity: .6; cursor: progress; }
.hoa-wish:focus-visible { outline: 3px solid var(--hoa-primary); outline-offset: 3px; }
.hoa-wish__heart { font-size: 15px; line-height: 1; color: var(--hoa-primary); }

/* ---- The list ---- */
.hoa-wishlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.hoa-wishlist__item {
	display: flex; align-items: center; gap: 1rem; margin: 0; padding: 0.75rem;
	border: 1px solid var(--hoa-line); border-radius: 12px; background: #fff;
}
.hoa-wishlist__media { flex: none; width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--hoa-bg-soft); }
.hoa-wishlist__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-wishlist__body { flex: 1; min-width: 0; }
.hoa-wishlist__name { margin: 0 0 3px; font-size: 15px; font-weight: 700; line-height: 1.3; }
.hoa-wishlist__name a { color: var(--hoa-ink); text-decoration: none; }
.hoa-wishlist__name a:hover { color: var(--hoa-primary); }
.hoa-wishlist__price { margin: 0 0 2px; font-size: 14px; color: var(--hoa-primary); font-weight: 600; }
.hoa-wishlist__price del { color: var(--hoa-muted); font-weight: 400; }
.hoa-wishlist__stock { margin: 0; font-size: 12.5px; color: var(--hoa-muted); }
.hoa-wishlist__actions { flex: none; display: flex; flex-direction: column; gap: 0.4rem; }

.hoa-wish-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 40px; padding: 0.45rem 1.1rem;
	border: 1px solid var(--hoa-line); border-radius: 8px; background: #fff;
	font: inherit; font-size: 13px; font-weight: 600; color: var(--hoa-ink);
	text-decoration: none; cursor: pointer; white-space: nowrap;
}
.hoa-wish-btn:hover { border-color: var(--hoa-primary); color: var(--hoa-primary); }
.hoa-wish-btn--buy { background: var(--hoa-primary); border-color: var(--hoa-primary); color: #fff; }
.hoa-wish-btn--buy:hover { background: var(--hoa-primary-hover); border-color: var(--hoa-primary-hover); color: #fff; }

.hoa-wishlist__drop {
	min-height: 36px; padding: 0.35rem 1rem;
	border: 1px solid transparent; border-radius: 8px; background: none;
	font: inherit; font-size: 12.5px; color: var(--hoa-muted); cursor: pointer;
}
.hoa-wishlist__drop:hover { color: #b32d2e; }

.hoa-wishlist__empty { padding: 2rem; border: 1px dashed var(--hoa-line); border-radius: 12px; background: var(--hoa-bg-soft); text-align: center; }
.hoa-wishlist__empty p { margin: 0 0 0.5rem; font-size: 14px; color: var(--hoa-muted); }
.hoa-wishlist__empty p:last-child { margin: 1rem 0 0; }

/* ---- Orders table: fewer, calmer buttons ---- */
.hoa-account .woocommerce-orders-table__cell-order-actions { white-space: normal; }
.hoa-account .woocommerce-orders-table__cell-order-actions .button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 38px; margin: 2px 4px 2px 0; padding: 0.35rem 0.95rem;
	border-radius: 8px; font-size: 13px; font-weight: 600;
}
/* Only the first action is solid. A row of identical dark blocks gives no
   clue which one matters. */
.hoa-account .woocommerce-orders-table__cell-order-actions .button ~ .button {
	background: #fff;
	border: 1px solid var(--hoa-line);
	color: var(--hoa-ink);
}
.hoa-account .woocommerce-orders-table__cell-order-actions .button ~ .button:hover {
	border-color: var(--hoa-primary);
	color: var(--hoa-primary);
	background: #fff;
}

@media (max-width: 560px) {
	.hoa-wishlist__item { flex-wrap: wrap; }
	.hoa-wishlist__media { width: 60px; height: 60px; }
	.hoa-wishlist__actions { flex-direction: row; width: 100%; }
	.hoa-wish-btn { flex: 1; }
}

/* ==========================================================================
   v1.37 — public web address, and Artist Shorts
   ========================================================================== */

.hoa-slug { margin: 18px 0; }
.hoa-slug__row { display: flex; align-items: stretch; flex-wrap: wrap; border: 1px solid #e6e0d8; border-radius: 8px; overflow: hidden; background: #fff; }
.hoa-slug__base { display: flex; align-items: center; padding: .6rem .7rem; background: #faf7f2; color: #6b6560; font-size: 13px; white-space: nowrap; }
.hoa-slug__input { flex: 1; min-width: 140px; border: 0; padding: .6rem .7rem; font: inherit; font-size: 15px; color: #151515; }
.hoa-slug__input:focus { outline: none; background: #f8efed; }
.hoa-slug__history { margin-top: 10px; font-size: 13px; }
.hoa-slug__history summary { cursor: pointer; color: #660000; font-weight: 600; }
.hoa-slug__history ul { margin: 8px 0 0; padding-left: 0; list-style: none; }
.hoa-slug__history li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid #f1ece4; color: #6b6560; }
.hoa-slug__history code { font-size: 12px; color: #151515; word-break: break-all; }

.hoa-shorts__title { margin: 26px 0 12px; font-size: 1.05rem; font-weight: 700; color: #151515; }
.hoa-shorts__post { padding: 20px; border: 1px solid #e6e0d8; border-radius: 12px; background: #faf7f2; }
.hoa-shorts__form textarea { width: 100%; padding: .6rem .7rem; border: 1px solid #e6e0d8; border-radius: 8px; font: inherit; font-size: 15px; }
.hoa-shorts__count { float: right; font-size: 12px; font-weight: 400; color: #6b6560; }
.hoa-shorts__count.is-full { color: #b32d2e; font-weight: 700; }
.hoa-shorts__notice { padding: 11px 14px; margin: 0 0 18px; border-radius: 8px; font-size: 14px; }
.hoa-shorts__notice.is-error { background: #fdecec; color: #8a1f21; }
.hoa-shorts__notice.is-ok { background: #f1f7f2; color: #1f5133; }
.hoa-shorts__notice.is-warn { background: #fff8e5; color: #8a5a00; }
.hoa-shorts__empty, .hoa-shorts__full { color: #6b6560; font-size: 14px; }

.hoa-shorts__list { margin: 0; padding: 0; list-style: none; }
.hoa-short { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid #f1ece4; }
.hoa-short__thumb { width: 72px; height: 96px; object-fit: cover; border-radius: 8px; background: #151515; flex: 0 0 auto; }
.hoa-short__body { flex: 1; min-width: 0; }
.hoa-short__caption { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: #151515; word-break: break-word; }
.hoa-short__meta { margin: 0; font-size: 12px; color: #6b6560; }
.hoa-short__edit textarea { width: 100%; padding: .5rem .6rem; border: 1px solid #e6e0d8; border-radius: 8px; font: inherit; font-size: 14px; }
.hoa-short__editbtns { display: inline-flex; gap: 8px; margin-top: 8px; }

.hoa-short__menu { position: relative; flex: 0 0 auto; }
.hoa-short__dots { width: 34px; height: 34px; border: 1px solid transparent; border-radius: 50%; background: none; font-size: 20px; line-height: 1; color: #6b6560; cursor: pointer; }
.hoa-short__dots:hover { background: #faf7f2; color: #151515; }
.hoa-short__dots:focus-visible { outline: 3px solid #660000; outline-offset: 2px; }
.hoa-short__drop { position: absolute; right: 0; top: 38px; z-index: 20; min-width: 170px; padding: 6px; border: 1px solid #e6e0d8; border-radius: 10px; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.hoa-short__drop[hidden] { display: none; }
.hoa-short__drop button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 6px; background: none; text-align: left; font: inherit; font-size: 14px; color: #151515; cursor: pointer; }
.hoa-short__drop button:hover { background: #faf7f2; }
.hoa-short__drop button.is-danger { color: #b32d2e; }
.hoa-short__drop button.is-danger:hover { background: #fdecec; }
.hoa-short__drop form { margin: 0; }

@media (max-width: 520px) {
	.hoa-short__thumb { width: 56px; height: 76px; }
	.hoa-slug__base { font-size: 12px; }
}
.hoa-shorts__moved { padding: 12px 14px; border: 1px dashed #e6e0d8; border-radius: 10px; background: #faf7f2; }

/* ---- Hashtags, in the feed and on the shorts screen ---- */
.hoa-feed__say { padding: 10px 14px 0; }
.hoa-feed__caption { margin: 0 0 6px; font-size: 14px; line-height: 1.55; color: #151515; word-break: break-word; }
.hoa-feed__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.hoa-feed__tag, .hoa-short__tags a, .hoa-tagcard__tags a {
	display: inline-block; padding: 2px 9px;
	border: 1px solid #e6e0d8; border-radius: 999px;
	background: #faf7f2; color: #660000;
	font-size: 12px; font-weight: 600; text-decoration: none;
}
.hoa-feed__tag:hover, .hoa-short__tags a:hover, .hoa-tagcard__tags a:hover { background: #660000; border-color: #660000; color: #fff; }

.hoa-short__tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 5px; }
.hoa-shorts__or { display: flex; align-items: center; gap: 10px; margin: 16px 0; color: #6b6560; font-size: 13px; }
.hoa-shorts__or::before, .hoa-shorts__or::after { content: ""; flex: 1; height: 1px; background: #e6e0d8; }
.hoa-shorts__form input[type=url], .hoa-shorts__form input[type=text],
.hoa-short__edit input[type=text] {
	width: 100%; padding: .6rem .7rem; margin-top: 4px;
	border: 1px solid #e6e0d8; border-radius: 8px; font: inherit; font-size: 15px;
}
.hoa-shorts__count.is-over { color: #b32d2e; font-weight: 700; }

/* ---- The tag page ---- */
.hoa-tagpage { max-width: 1080px; margin: 0 auto; padding: 36px 20px 72px; }
.hoa-tagpage__head { margin-bottom: 26px; }
.hoa-tagpage__title { margin: 0 0 4px; font-size: 2rem; font-weight: 700; color: #660000; }
.hoa-tagpage__count { margin: 0; color: #6b6560; font-size: 14px; }
.hoa-tagpage__empty { color: #6b6560; }
.hoa-tagpage__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.hoa-tagcard { border: 1px solid #e6e0d8; border-radius: 12px; overflow: hidden; background: #fff; }
.hoa-tagcard__media { display: block; aspect-ratio: 3 / 4; background: #151515; }
.hoa-tagcard__media img, .hoa-tagcard__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hoa-tagcard__body { padding: 12px 14px 14px; }
.hoa-tagcard__caption { margin: 0 0 6px; font-size: 14px; line-height: 1.5; color: #151515; }
.hoa-tagcard__by { margin: 0 0 8px; font-size: 13px; }
.hoa-tagcard__by a { color: #660000; font-weight: 600; }
.hoa-tagcard__tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }

/* ---- A profile video: paused, click to open ---- */
.hoa-pvideo {
	position: relative; display: block; width: 100%; padding: 0;
	border: 0; border-radius: 10px; overflow: hidden;
	background: #151515; cursor: pointer; line-height: 0;
}
.hoa-pvideo video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.hoa-pvideo__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	display: flex; align-items: center; justify-content: center;
	width: 54px; height: 54px; border-radius: 50%;
	background: rgba(21,21,21,.6); color: #fff; font-size: 19px; line-height: 1;
	padding-left: 4px; transition: background-color .15s ease, transform .15s ease;
}
.hoa-pvideo:hover .hoa-pvideo__play { background: #660000; transform: translate(-50%, -50%) scale(1.06); }
.hoa-pvideo:focus-visible { outline: 3px solid #660000; outline-offset: 3px; }

/* ---- The video dialog ---- */
.hoa-vmodal { position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center; padding: clamp(.5rem, 3vh, 2rem); }
.hoa-vmodal[hidden] { display: none !important; }
.hoa-vmodal__backdrop { position: absolute; inset: 0; background: rgba(12,10,9,.82); }
.hoa-vmodal__panel {
	position: relative; z-index: 1;
	display: flex; flex-direction: column;
	width: min(420px, 100%); max-height: 94vh;
	border-radius: 14px; overflow: hidden; background: #fff;
	box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.hoa-vmodal__x {
	position: absolute; top: 8px; right: 8px; z-index: 2;
	width: 36px; height: 36px; padding: 0;
	border: 0; border-radius: 50%;
	background: rgba(21,21,21,.6); color: #fff;
	font-size: 22px; line-height: 1; cursor: pointer;
}
.hoa-vmodal__x:hover { background: #660000; }
.hoa-vmodal__x:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.hoa-vmodal__stage { background: #0e0d0c; }
.hoa-vmodal__stage video { display: block; width: 100%; max-height: 72vh; object-fit: contain; background: #0e0d0c; }
.hoa-vmodal__say { padding: 14px 16px 18px; }
.hoa-vmodal__artist { margin: 0 0 5px; font-size: 14px; font-weight: 700; color: #151515; }
.hoa-vmodal__caption { margin: 0 0 8px; font-size: 14px; line-height: 1.55; color: #3b3b3b; word-break: break-word; }
.hoa-vmodal__caption[hidden] { display: none; }
.hoa-vmodal__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }

/* ---- The share menu ---- */
.hoa-react__menu {
	position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 30;
	min-width: 212px; padding: 7px;
	border: 1px solid #e6e0d8; border-radius: 12px; background: #fff;
	box-shadow: 0 14px 34px rgba(0,0,0,.16);
}
.hoa-react__menu[hidden] { display: none; }
.hoa-share__item {
	display: flex; align-items: center; gap: 12px;
	width: 100%; padding: 9px 11px;
	border: 0; border-radius: 8px; background: none;
	font: inherit; font-size: 15px; color: #151515; text-align: left;
	text-decoration: none; cursor: pointer;
}
.hoa-share__item:hover, .hoa-share__item:focus-visible { background: #faf7f2; color: #151515; }
.hoa-share__item.is-done { color: #2e7d4f; font-weight: 600; }
.hoa-share__item--plain { color: #6b6560; }
.hoa-share__icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: 0 0 auto; color: #6b6560; }
.hoa-share__icon--wa  { color: #25D366; }
.hoa-share__icon--fb  { color: #1877F2; }
.hoa-share__icon--ig  { color: #E1306C; }
.hoa-share__icon--li  { color: #0A66C2; }
.hoa-share__icon--pin { color: #E60023; }
.hoa-react__share { position: relative; }

/* The tag page is a real page now, so it sits inside the theme's own width. */
.hoa-tagcard__media { position: relative; width: 100%; padding: 0; border: 0; cursor: pointer; }

/* ---- The reel viewer ---- */
.hoa-vmodal__stage { position: relative; }
.hoa-vmodal__nav {
	position: absolute; right: 10px; z-index: 3;
	width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 50%;
	background: rgba(21,21,21,.55); color: #fff;
	font-size: 20px; line-height: 1; cursor: pointer;
}
.hoa-vmodal__nav:hover { background: #660000; }
.hoa-vmodal__nav[hidden] { display: none; }
.hoa-vmodal__nav--up { top: 50%; transform: translateY(-130%); }
.hoa-vmodal__nav--down { top: 50%; transform: translateY(30%); }
.hoa-vmodal__nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.hoa-vmodal__sound {
	position: absolute; left: 10px; bottom: 10px; z-index: 3;
	width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 50%;
	background: rgba(21,21,21,.55); color: #fff;
	font-size: 17px; line-height: 1; cursor: pointer;
}
.hoa-vmodal__sound:hover { background: #660000; }
.hoa-vmodal__pos {
	position: absolute; right: 12px; top: 12px; z-index: 3;
	padding: 3px 9px; border-radius: 999px;
	background: rgba(21,21,21,.55); color: #fff; font-size: 12px; font-weight: 600;
}
.hoa-vmodal__pos[hidden] { display: none; }

.hoa-vmodal__share { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.hoa-vmodal__sharebtn {
	display: inline-flex; align-items: center;
	padding: 7px 13px;
	border: 1px solid #e6e0d8; border-radius: 999px;
	background: #fff; color: #151515;
	font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.hoa-vmodal__sharebtn:hover { background: #151515; border-color: #151515; color: #fff; }
.hoa-vmodal__sharebtn.is-wa:hover { background: #25D366; border-color: #25D366; }
.hoa-vmodal__sharebtn.is-fb:hover { background: #1877F2; border-color: #1877F2; }
.hoa-vmodal__sharebtn.is-li:hover { background: #0A66C2; border-color: #0A66C2; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* ---- Forgot password, and setting a new one ---- */
.hoa-reset { max-width: 480px; margin: 0 auto; padding: 40px 20px 72px; }
.hoa-reset__box { border: 1px solid #e6e0d8; border-radius: 14px; padding: 28px; background: #fff; }
.hoa-reset__title { margin: 0 0 8px; font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: #151515; }
.hoa-reset__lede { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: #6b6560; }
.hoa-reset__field { display: flex; flex-direction: column; gap: 5px; margin: 0 0 18px; }
.hoa-reset__field label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b6560; }
.hoa-reset__field input {
	width: 100%; min-height: 48px; padding: .6rem .8rem;
	border: 1px solid #e6e0d8; border-radius: 8px;
	font: inherit; font-size: 15px; color: #151515; background: #fff;
}
.hoa-reset__field input:focus { outline: none; border-color: #660000; box-shadow: 0 0 0 3px #f8efed; }
.hoa-reset__hint { font-size: 12px; color: #6b6560; }
.hoa-reset__hint[hidden] { display: none; }
.hoa-reset__btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 100%; min-height: 50px; padding: .7rem 1.5rem;
	border: 1px solid #660000; border-radius: 8px;
	background: #660000; color: #fff;
	font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.hoa-reset__btn:hover, .hoa-reset__btn:focus { background: #151515; border-color: #151515; color: #fff; }
.hoa-reset__alt { margin: 14px 0 0; text-align: center; font-size: 14px; }
.hoa-reset__alt a { color: #660000; font-weight: 600; }
.hoa-reset__alt a:hover { color: #151515; }
.hoa-reset__notice { padding: 11px 14px; margin: 0 0 18px; border-radius: 8px; font-size: 14px; line-height: 1.55; }
.hoa-reset__notice.is-error { background: #fdecec; color: #8a1f21; }
.hoa-reset__notice.is-ok { background: #f1f7f2; color: #1f5133; }
.hoa-reset__notice.is-warn { background: #fff8e5; color: #8a5a00; }

/* ---- Forgotten password ---- */
.hoa-pw { max-width: 460px; margin: 0 auto; padding: 40px 20px 72px; }
.hoa-pw__box { border: 1px solid #e6e0d8; border-radius: 14px; padding: 28px; background: #fff; }
.hoa-pw__title { margin: 0 0 8px; font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: #151515; }
.hoa-pw__lede { margin: 0 0 18px; font-size: 14px; line-height: 1.65; color: #6b6560; }
.hoa-pw__form label { display: block; margin: 0 0 5px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b6560; }
.hoa-pw__form input {
	width: 100%; min-height: 48px; padding: .6rem .8rem; margin-bottom: 16px;
	border: 1px solid #e6e0d8; border-radius: 8px;
	font: inherit; font-size: 15px; color: #151515; background: #fff;
}
.hoa-pw__form input:focus { outline: none; border-color: #660000; box-shadow: 0 0 0 3px #f8efed; }
.hoa-pw__hint { display: block; margin: -12px 0 16px; font-size: 12px; color: #6b6560; }
.hoa-pw__btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 100%; min-height: 50px; padding: .7rem 1.5rem;
	border: 1px solid #660000; border-radius: 8px;
	background: #660000; color: #fff;
	font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.hoa-pw__btn:hover, .hoa-pw__btn:focus { background: #151515; border-color: #151515; color: #fff; }
.hoa-pw__alt { margin: 14px 0 0; text-align: center; font-size: 14px; }
.hoa-pw__alt a { color: #660000; font-weight: 600; }
.hoa-pw__note { padding: 11px 14px; margin: 0 0 18px; border-radius: 8px; font-size: 14px; line-height: 1.5; }
.hoa-pw__note.is-error { background: #fdecec; color: #8a1f21; }
.hoa-pw__note.is-ok { background: #f1f7f2; color: #1f5133; }
