.hbw {
	--hbw-bg: #151923;
	--hbw-card: #1C2130;
	--hbw-card-2: #232939;
	--hbw-line: #2E3446;
	--hbw-text: #ECEDF1;
	--hbw-muted: #8E94A3;
	--hbw-gold: #D6A84E;
	--hbw-gold-2: #F4D688;
	--hbw-heart: #F0605D;
	--hbw-radius: 16px;
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	color: var(--hbw-text);
	font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.5;
	text-align: left;
}

.hbw *,
.hbw *::before,
.hbw *::after { box-sizing: border-box; }

.hbw p { margin: 0; }
.hbw a { color: var(--hbw-gold-2); text-decoration: none; }
.hbw a:hover { text-decoration: underline; }
.hbw [hidden] { display: none !important; }

/* header */
.hbw-head { text-align: center; margin-bottom: 32px; }
.hbw-kicker {
	font-family: Poppins, sans-serif;
	font-size: 12px;
	letter-spacing: 4px;
	padding-left: 4px; /* balance the trailing letter-space so it centers optically */
	text-transform: uppercase;
	color: var(--hbw-muted);
}
.hbw-title {
	margin: 10px 0 12px;
	padding-bottom: .14em; /* room for descenders: the gradient only paints the padding box */
	font-size: clamp(32px, 6vw, 48px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -1px;
	background: linear-gradient(180deg, var(--hbw-gold-2), var(--hbw-gold) 60%, #C08A3A);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hbw .hbw-lede { color: var(--hbw-muted); max-width: 460px; margin: 0 auto; }

/* panels & cards */
.hbw-panel,
.hbw-card {
	background: var(--hbw-card);
	border: 1px solid var(--hbw-line);
	border-radius: var(--hbw-radius);
	padding: 20px;
}
.hbw-panel { margin-bottom: 24px; }
.hbw-card + .hbw-card { margin-top: 20px; }

.hbw-avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; display: block; }
.hbw-avatar--sm { width: 28px; height: 28px; }
.hbw-name { font-weight: 700; color: var(--hbw-text); }
.hbw-small { font-size: 13px; color: var(--hbw-muted); }
.hbw-small a { color: var(--hbw-muted); }
.hbw-muted { color: var(--hbw-muted); }

/* buttons */
.hbw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--hbw-gold-2), var(--hbw-gold));
	color: #1A1408;
	font: 700 15px/1 "Plus Jakarta Sans", sans-serif;
	cursor: pointer;
	transition: filter .15s, opacity .15s;
}
.hbw-btn:hover { filter: brightness(1.06); text-decoration: none; }
.hbw-btn:disabled { opacity: .6; cursor: progress; }
.hbw-btn--ghost {
	background: transparent;
	color: var(--hbw-text);
	border: 1px solid var(--hbw-line);
}
.hbw-btn--ghost:hover { border-color: var(--hbw-gold); }
.hbw-btn--sm { min-height: 36px; padding: 6px 16px; font-size: 14px; }
.hbw-link {
	background: none;
	border: 0;
	padding: 0 0 8px;
	color: var(--hbw-muted);
	font: inherit;
	font-size: 13px;
	cursor: pointer;
}
.hbw-link:hover { color: var(--hbw-text); }

/* forms */
.hbw-form { display: grid; gap: 14px; margin-top: 16px; }
.hbw-field { display: grid; gap: 6px; font-size: 13px; color: var(--hbw-muted); }
.hbw-field input,
.hbw-field textarea,
.hbw-comment-form input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--hbw-line);
	border-radius: 12px;
	background: var(--hbw-bg);
	color: var(--hbw-text);
	font: 16px/1.4 "Plus Jakarta Sans", sans-serif;
}
.hbw-field input:focus,
.hbw-field textarea:focus,
.hbw-comment-form input:focus { outline: 2px solid var(--hbw-gold); outline-offset: 1px; border-color: transparent; }
.hbw-field--bare textarea { resize: vertical; min-height: 64px; }
.hbw-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--hbw-muted); cursor: pointer; }
.hbw-check input { margin-top: 3px; accent-color: var(--hbw-gold); width: 16px; height: 16px; flex: none; }
.hbw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hbw-msg { font-size: 14px; min-height: 0; }
.hbw-msg.is-ok { color: #9BD7A6; }
.hbw-msg.is-err { color: #FF9C8F; }
.hbw .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* auth */
.hbw-auth-intro { text-align: center; }
.hbw-auth-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.hbw-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	margin-top: 18px;
	padding: 4px;
	border-radius: 999px;
	background: var(--hbw-bg);
	border: 1px solid var(--hbw-line);
}
.hbw-tab {
	min-height: 40px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--hbw-muted);
	font: 600 14px "Plus Jakarta Sans", sans-serif;
	cursor: pointer;
}
.hbw-tab.is-active { background: var(--hbw-card-2); color: var(--hbw-text); }

/* composer */
.hbw-composer { display: grid; gap: 14px; }
.hbw-composer-head,
.hbw-card-head { display: flex; align-items: center; gap: 12px; }
.hbw-composer-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.hbw-file { position: relative; overflow: hidden; }
.hbw-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hbw-previews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hbw-previews:empty { display: none; }
.hbw-preview { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--hbw-bg); }
.hbw-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hbw-preview-rm {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .65);
	color: #fff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

/* card */
.hbw-caption { margin-top: 14px; white-space: normal; overflow-wrap: anywhere; }
.hbw-media {
	display: grid;
	gap: 4px;
	margin: 14px -20px 0;
	background: var(--hbw-bg);
}
.hbw-media a { display: block; overflow: hidden; }
.hbw-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hbw-media--1 img { height: auto; max-height: 680px; object-fit: contain; }
.hbw-media--2 { grid-template-columns: 1fr 1fr; }
.hbw-media--2 a { aspect-ratio: 4 / 5; }
.hbw-media--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 4 / 3; }
.hbw-media--3 a:first-child { grid-row: span 2; }
.hbw-media--4 { grid-template-columns: 1fr 1fr; }
.hbw-media--4 a { aspect-ratio: 1; }

.hbw-stats {
	display: flex;
	justify-content: space-between;
	padding: 12px 0 10px;
	font-size: 13px;
	color: var(--hbw-muted);
	border-bottom: 1px solid var(--hbw-line);
}
.hbw-actions { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 6px 0; border-bottom: 1px solid var(--hbw-line); }
.hbw-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--hbw-muted);
	font: 600 14px "Plus Jakarta Sans", sans-serif;
	cursor: pointer;
}
.hbw-action:hover { background: var(--hbw-card-2); color: var(--hbw-text); }
.hbw-action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.hbw-action.is-on { color: var(--hbw-heart); }
.hbw-action.is-on svg { fill: var(--hbw-heart); stroke: var(--hbw-heart); }

.hbw-share-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 5;
	display: grid;
	min-width: 200px;
	padding: 6px;
	background: var(--hbw-card-2);
	border: 1px solid var(--hbw-line);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
}
.hbw-share-menu a,
.hbw-share-menu button {
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	background: none;
	color: var(--hbw-text);
	font: 500 14px "Plus Jakarta Sans", sans-serif;
	text-align: left;
	cursor: pointer;
}
.hbw-share-menu a:hover,
.hbw-share-menu button:hover { background: var(--hbw-card); text-decoration: none; }

.hbw-comments { padding-top: 12px; }
.hbw-comment-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hbw-comment-list:empty { display: none; }
.hbw-comment { display: flex; gap: 8px; align-items: flex-start; }
.hbw-bubble {
	padding: 8px 12px;
	border-radius: 14px;
	background: var(--hbw-card-2);
	font-size: 14px;
	overflow-wrap: anywhere;
}
.hbw-bubble .hbw-name { font-size: 13px; margin-right: 4px; }
.hbw-comment-form { display: flex; gap: 8px; margin-top: 12px; }
.hbw-comment-form input { border-radius: 999px; padding: 9px 16px; font-size: 15px; }
.hbw-comments > .hbw-small { margin-top: 10px; }

.hbw-empty { padding: 32px 0; text-align: center; color: var(--hbw-muted); }
.hbw-more-wrap { display: flex; justify-content: center; margin-top: 24px; }
.hbw-back { margin-top: 24px; text-align: center; }

/* single photo page on the block theme */
.hbw--single { margin: 40px auto; }
body.single-hbcoc_photo { background: #151923; color: #ECEDF1; }
body.single-hbcoc_photo .wp-block-group:has(> .wp-block-post-author-name),
body.single-hbcoc_photo .wp-block-post-author-name,
body.single-hbcoc_photo .wp-block-post-terms { display: none; }

@media (max-width: 600px) {
	.hbw { font-size: 15px; }
	.hbw-panel,
	.hbw-card { padding: 16px; border-radius: 14px; }
	.hbw-media { margin-left: -16px; margin-right: -16px; }
	.hbw-composer-actions .hbw-btn { flex: 1 1 100%; }
	.hbw-action span { font-size: 13px; }
}
