/* vince-community:topic — Lumea VINCE: pagina de topic, popup-uri, lightbox (DESIGN-SPEC.md)
   Prefixe: .vlt- (topic page), .vlp- (popup formulare), .vlb- (lightbox). Font: Proza Libre (global). */

:root {
	--vlt-ink: #222021; --vlt-muted: #5a5a5a; --vlt-grey: #999; --vlt-light: #bbb;
	--vlt-line: #e5e5e5; --vlt-sep: #f0f0f0; --vlt-orange: #fa9111; --vlt-band: #e7f1f9;
	--vlt-yellow: #fdffed; --vlt-yellow-b: #b29008; --vlt-blue: #003d6d; --vlt-red: #fb2c36;
	--vlt-font: 'Proza Libre', sans-serif;
}

/* ─── utilitare ─────────────────────────────────────────────────────────── */
/* Fără padding propriu: secțiunea (`.brxe-section`) primește deja gutter-ul
   responsive al site-ului (`--vince-pad-x`), iar cele 24px în plus decalau
   sidebar-ul și tab-urile cu 24px față de pagina /lumea-vince/ și de header. */
.vlt-container { width: 100%; max-width: 1440px; margin: 0 auto; box-sizing: border-box; }

/* `.vlt-page` e un `.brxe-section` cu `align-items: center`, deci copiii s-ar
   strânge la lățimea conținutului (bara de tab-uri ieșea centrată, 366px). */
.vlt-page > * { width: 100%; align-self: stretch; }
.vlt-ico { display: inline-block; flex: 0 0 auto; width: 1em; height: 1em; vertical-align: middle; }
.vlt-avatar { --vlt-av: 40px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: var(--vlt-av); height: var(--vlt-av); border-radius: 50%; background: rgba(8,145,178,.13); color: #0891b2;
	font: 600 calc(var(--vlt-av) * .35) / 1 var(--vlt-font); letter-spacing: .02em; text-transform: uppercase; }
.vlt-avatar-orange { background: rgba(250,145,17,.13); color: var(--vlt-orange); }
.vlt-avatar-tu { background: rgba(34,32,33,.13); color: var(--vlt-ink); }
.vlt-gicon { width: 20px; height: 20px; display: block; }

/* ─── hero ───────────────────────────────────────────────────────────────
   Pagina de topic folosește ACELEAȘI clase `.lc-hero*` ca /lumea-vince/, deci
   hero-ul e guvernat integral de vince-community.css (încărcat pe ambele pagini).
   Aici nu mai e nimic de suprascris — vezi create-bricks-lumea-topic.php §1. */

/* ─── tab-uri ───────────────────────────────────────────────────────────── */
/* Bara de tab-uri e full-bleed ca pe pagina principală (linia de jos traversează
   toată lățimea): iese din padding-ul secțiunii și și-l pune înapoi pe ea. */
.vlt-tabs {
	background: #fff;
	padding-top: 16px;
	border-bottom: 1px solid var(--vlt-line);
	width: auto; /* marginile negative definesc cutia; `width:100%` ar lăsa-o scurtă în dreapta */
	margin-inline: calc(var(--vince-pad-x, 24px) * -1);
	padding-inline: var(--vince-pad-x, 24px);
	box-sizing: border-box;
}
.vlt-tabs-inner { display: flex; gap: 4px; }
.vlt-tab { display: inline-flex; align-items: center; gap: 10px; height: 67px; padding: 0 32px; box-sizing: border-box;
	font: 500 16px / 1.2 var(--vlt-font); color: var(--vlt-muted); text-decoration: none; border-bottom: 3px solid transparent; }
.vlt-tab .vlt-tab-ico { width: 24px; height: 24px; }
.vlt-tab .vlt-tab-ico path { fill: currentColor; }
.vlt-tab:hover { color: var(--vlt-ink); }
.vlt-tab.is-active { color: var(--vlt-blue); font-weight: 600; border-bottom-color: var(--vlt-blue); }

/* ─── layout topic ──────────────────────────────────────────────────────── */
.vlt-main { background: #fff; padding: 48px 0; }
.vlt-layout { display: flex; align-items: flex-start; gap: 32px; }
.vlt-content { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }

/* sidebar */
.vlt-sidebar { flex: 0 0 320px; width: 320px; display: flex; flex-direction: column; gap: 16px; }
.vlt-sidebar-title { margin: 0; font: 600 14px / 1.2 var(--vlt-font); color: var(--vlt-muted); letter-spacing: 1px; text-transform: uppercase; }
.vlt-groups { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vlt-group { display: flex; align-items: center; gap: 16px; height: 72px; padding-left: 16px; box-sizing: border-box; text-decoration: none; color: inherit; border-left: 3px solid transparent; }
.vlt-group:hover { background: #fafafa; }
.vlt-group.is-active { background: var(--vlt-yellow); border-left-color: var(--vlt-yellow-b); }
.vlt-group-ico { display: flex; width: 20px; height: 20px; flex: 0 0 auto; }
.vlt-group-col { display: flex; flex-direction: column; gap: 4px; }
.vlt-group-name { font: 600 14px / 1.2 var(--vlt-font); color: var(--vlt-ink); }
.vlt-group-meta { font: 500 12px / 1.2 var(--vlt-font); color: var(--vlt-muted); }

/* înapoi + card topic */
.vlt-back { display: inline-block; font: 500 14px / 21px var(--vlt-font); color: var(--vlt-muted); text-decoration: none; margin-bottom: 24px; }
.vlt-back:hover { color: var(--vlt-ink); }
.vlt-topic { background: #fff; border: 1px solid var(--vlt-line); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.vlt-topic-author { display: flex; align-items: center; gap: 16px; }
.vlt-topic-author-col { display: flex; flex-direction: column; gap: 2px; }
.vlt-topic-author-name { font: 600 16px / 1.3 var(--vlt-font); color: var(--vlt-ink); }
.vlt-topic-time { font: 400 12px / 1.4 var(--vlt-font); color: var(--vlt-grey); }
.vlt-topic-title { margin: 0; font: 600 24px / 36px var(--vlt-font); color: var(--vlt-ink); }
.vlt-topic-body { margin-top: -16px; font: 400 16px / 1.7 var(--vlt-font); color: var(--vlt-muted); overflow-wrap: anywhere; }
.vlt-topic-body p { margin: 0 0 8px; } .vlt-topic-body p:last-child { margin-bottom: 0; }
.vlt-topic-body a { color: var(--vlt-ink); text-decoration: underline; }
.vlt-topic-body img { max-width: 100%; height: auto; }
.vlt-product { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px; background: #fafafa; border: 1px solid var(--vlt-line); }
.vlt-product-label { font: 500 12px / 1 var(--vlt-font); color: var(--vlt-grey); text-transform: uppercase; letter-spacing: .5px; }
.vlt-product-name { font: 600 14px / 1.4 var(--vlt-font); color: var(--vlt-ink); text-decoration: none; }
.vlt-product-name:hover { text-decoration: underline; }
.vlt-verified { display: inline-flex; align-items: flex-start; gap: 8px; font: 400 12px / 1.5 var(--vlt-font); color: #15803d; }
.vlt-verified svg { flex: 0 0 auto; margin-top: 1px; }
.vlt-verified strong { font-weight: 600; }
.vlt-topic-actions { display: flex; align-items: center; gap: 16px; border-top: 1px solid var(--vlt-sep); padding: 9px 0 8px; }

/* butoane like / salvează / distribuie (comune topic + reply) */
.vlt-like, .vlt-fav, .vlt-share, .vlt-reply-actions .wpulike, .vlt-reply-actions .bbp-reply-to-link {
	display: inline-flex; align-items: center; gap: 6px; font: 500 14px / 1 var(--vlt-font); color: var(--vlt-grey);
	background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.vlt-topic-actions .vlt-ico { width: 18px; height: 18px; }
.wpulike.vince-like { display: inline-flex; }
.wpulike.vince-like .wp_ulike_general_class { display: inline-flex; align-items: center; gap: 6px; }
.wpulike.vince-like .wp_ulike_btn { display: inline-flex; align-items: center; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; color: inherit; line-height: 1; }
.wpulike.vince-like .wp_ulike_btn:hover, .vlt-fav a:hover, .vlt-share:hover, .vlt-like.is-static:hover { color: var(--vlt-ink); }
.wpulike.vince-like .wp_ulike_is_liked .wp_ulike_btn, .wpulike.vince-like .wp_ulike_btn_is_active { color: var(--vlt-orange); }
.wpulike.vince-like .wp_ulike_is_liked .wp_ulike_btn .vlt-ico path { fill: currentColor; }
.wpulike.vince-like .count-box { font: 500 14px / 1 var(--vlt-font); color: var(--vlt-grey); }
.wpulike.vince-like .count-box:empty::before { content: '0'; }
.vlt-like.is-static { color: var(--vlt-grey); }
.vlt-fav a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.vlt-fav.is-favorite a, .vlt-fav.is-favorite { color: var(--vlt-orange); }
.vlt-fav.is-favorite .vlt-ico path { fill: currentColor; }
.vlt-fav.is-static { color: var(--vlt-grey); }
#favorite-toggle { display: inline-flex; }

/* comentarii */
.vlt-replies-title { margin: 32px 0 16px; font: 600 16px / 24px var(--vlt-font); color: var(--vlt-ink); }
.vlt-replies { display: flex; flex-direction: column; gap: 8px; }
/* Structura walker-ului bbPress (`bbp_list_replies` cu style=div):
   .vlt-replies > div.bbp-replies-list > div (un răspuns de nivel 1) > div (copii).
   Indentarea începe deci de la AL DOILEA nivel — altfel și comentariile de nivel 1
   apăreau decalate cu 56px față de cardul topicului. */
.vlt-replies > div { display: flex; flex-direction: column; gap: 8px; }
.vlt-replies > div > div > div { padding-left: 56px; }
/* Wrapper-ul rămas gol de la topicul sărit în loop-single-reply.php (lead topic). */
.vlt-replies > div > div:empty { display: none; }
.vlt-reply { background: #fff; border: 1px solid var(--vlt-line); padding: 24px; box-sizing: border-box; }
.vlt-reply-main { display: flex; align-items: flex-start; gap: 16px; }
.vlt-reply-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.vlt-reply-head { display: flex; align-items: baseline; gap: 8px; }
.vlt-reply-name { font: 600 14px / 1.3 var(--vlt-font); color: var(--vlt-ink); }
.vlt-reply-time { font: 400 12px / 18px var(--vlt-font); color: var(--vlt-grey); }
.vlt-reply-text { font: 500 14px / 1.5 var(--vlt-font); color: var(--vlt-muted); overflow-wrap: anywhere; }
.vlt-reply-text p { margin: 0 0 6px; } .vlt-reply-text p:last-child { margin-bottom: 0; }
.vlt-reply-actions { display: flex; align-items: center; gap: 16px; }
.vlt-reply-actions .vlt-ico { width: 14px; height: 14px; }
.vlt-reply-actions .wpulike.vince-like .count-box, .vlt-reply-actions .wpulike.vince-like .wp_ulike_btn,
.vlt-reply-actions .bbp-reply-to-link, .vlt-reply-actions .vlt-like { font-size: 12px; color: var(--vlt-muted); }
.vlt-reply-actions .bbp-reply-to-link { gap: 4px; }
.vlt-reply-actions .bbp-reply-to-link:hover { color: var(--vlt-ink); }
.vlt-reply-admin { display: inline-flex; gap: 8px; font-size: 12px; }
.vlt-reply-admin a { color: var(--vlt-grey); text-decoration: none; }
.vlt-reply-admin a:hover { text-decoration: underline; }
.vlt-reply-chevron { flex: 0 0 auto; color: var(--vlt-muted); display: inline-flex; align-self: center; }
.vlt-reply-chevron .vlt-ico { width: 24px; height: 24px; }
.vlt-replies .vlt-reply-form { margin-top: 8px; }

/* formular comentariu */
.vlt-reply-form { background: #fff; border: 1px solid var(--vlt-line); padding: 32px; margin-top: 24px; box-sizing: border-box; }
.vlt-rf-row { display: flex; align-items: flex-start; gap: 12px; }
.vlt-rf-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.vlt-rf-textarea { width: 100%; min-height: 80px; box-sizing: border-box; border: 1px solid var(--vlt-line); border-radius: 0; padding: 12px;
	font: 400 16px / 1.5 var(--vlt-font); color: var(--vlt-ink); background: #fff; resize: vertical; }
.vlt-rf-textarea::placeholder { color: var(--vlt-muted); }
.vlt-rf-textarea:focus { outline: none; border-color: var(--vlt-ink); }
.vlt-rf-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.vlt-rf-actions #bbp-cancel-reply-to-link { font: 500 14px / 1 var(--vlt-font); color: var(--vlt-muted); text-decoration: underline; }
.vlt-btn-send { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 112px; height: 41px; padding: 0 16px;
	background: var(--vlt-ink); color: #fff; border: 0; border-radius: 0; cursor: pointer; font: 500 14px / 1 var(--vlt-font); }
.vlt-btn-send:hover { background: #000; }
.vlt-btn-send .vlt-ico { width: 14px; height: 14px; }
.vlt-reply-login { display: flex; align-items: center; gap: 12px; font: 400 16px / 1.5 var(--vlt-font); color: var(--vlt-muted); }
.vlt-reply-login p { margin: 0; }
.vlt-reply-login a { color: var(--vlt-ink); font-weight: 600; text-decoration: underline; }
.vlt-turnstile:empty { display: none; }
.vlt-turnstile .cf-turnstile-br, .vlp-turnstile .cf-turnstile-br { display: none; }

/* notice-uri bbPress (erori de validare) */
.vlt-reply-form .bbp-template-notice, .vlp .bbp-template-notice { border: 1px solid #fecaca; background: #fef2f2; color: #991b1b; padding: 12px 16px; margin: 0 0 16px; font: 400 14px / 1.5 var(--vlt-font); }
.vlt-reply-form .bbp-template-notice ul, .vlp .bbp-template-notice ul { margin: 0; padding-left: 18px; }
.vlt-reply-form .bbp-template-notice.info, .vlp .bbp-template-notice.info { border-color: #bfdbfe; background: #eff6ff; color: #1e3a8a; }

/* responsive topic */
@media (max-width: 1023px) {
	/* Identic cu `.lc-groups` de pe /lumea-vince/: sub 1024px sidebar-ul se pune sub
	   conținut, dar grupurile rămân o listă verticală pe toată lățimea (cerință
	   explicită a userului — nu chip-uri cu scroll orizontal). */
	.vlt-layout { flex-direction: column; }
	.vlt-sidebar { width: 100%; flex-basis: auto; min-width: 0; max-width: 100%; }
	.vlt-groups {
		flex-direction: column;
		flex-wrap: nowrap;
		min-width: 0;
		max-width: 100%;
		gap: 4px;
	}
	.vlt-groups li { flex: 0 0 auto; width: 100%; }
	.vlt-group {
		width: 100%;
		height: 64px;
		padding: 0 16px;
		box-sizing: border-box;
		border-left: 3px solid transparent;
		border-bottom: 1px solid var(--vlt-line);
	}
	.vlt-groups li:last-child .vlt-group { border-bottom: 0; }
}
@media (max-width: 639px) {
	.vlt-main { padding: 32px 0; }
	.vlt-topic, .vlt-reply-form { padding: 20px; }
	.vlt-reply { padding: 16px; }
	.vlt-replies > div > div > div { padding-left: 20px; }
	.vlt-tab { padding: 0 16px; height: 56px; }
	.vlt-topic-title { font-size: 20px; line-height: 1.4; }
}

/* ─── popup-uri formulare (modal 600) ───────────────────────────────────── */
.vlp { background: #fff; display: flex; flex-direction: column; font-family: var(--vlt-font); color: var(--vlt-ink); }
.vlp-form { display: flex; flex-direction: column; margin: 0; }
.vlp-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 32px 25px; border-bottom: 1px solid var(--vlt-line); }
.vlp-title { margin: 0; font: 500 24px / 1.3 var(--vlt-font); color: var(--vlt-ink); }
.vlp-close { display: inline-flex; width: 32px; height: 32px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--vlt-muted); }
.vlp-close .vlt-ico { width: 32px; height: 32px; }
.vlp-close:hover { color: var(--vlt-ink); }
.vlp-body { display: flex; flex-direction: column; gap: 24px; padding: 24px 32px; max-height: calc(100vh - 260px); overflow-y: auto; }
.vlp-field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.vlp-label { font: 500 14px / 1.3 var(--vlt-font); color: var(--vlt-muted); }
.vlp-req { color: var(--vlt-red); }
.vlp-input, .vlp-textarea, .vlp-select { width: 100%; box-sizing: border-box; border: 1px solid var(--vlt-line); border-radius: 0; background: #fff;
	padding: 12px 16px; font: 400 14px / 1.5 var(--vlt-font); color: var(--vlt-ink); }
.vlp-input, .vlp-select { height: 56px; }
.vlp-textarea { height: 152px; resize: vertical; }
.vlp-input::placeholder, .vlp-textarea::placeholder { color: var(--vlt-muted); }
.vlp-input:focus, .vlp-textarea:focus, .vlp-select:focus { outline: none; border-color: var(--vlt-ink); }
.vlp-hint { font: 400 12px / 1.4 var(--vlt-font); color: var(--vlt-muted); }
.vlp-hint.is-over { color: var(--vlt-red); }
.vlp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vlp-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--vlt-line); border-radius: 100px;
	font: 400 16px / 1.2 var(--vlt-font); color: var(--vlt-muted); cursor: pointer; user-select: none; }
.vlp-chip input { position: absolute; opacity: 0; width: 0; height: 0; margin: 0; }
.vlp-chip-ico { display: flex; width: 20px; height: 20px; }
.vlp-chip:hover { border-color: #ccc; }
.vlp-chip:has(input:checked) { background: var(--vlt-yellow); border-color: var(--vlt-yellow-b); color: var(--vlt-ink); }
.vlp-chip:has(input:focus-visible) { outline: 2px solid var(--vlt-blue); outline-offset: 2px; }
.vlp-product-field .vlp-verified { margin-top: 4px; }
.vlp-verified[hidden] { display: none; }
.vlp-turnstile:empty { display: none; }
.vlp-turnstile { display: flex; }
.vlp-foot { display: flex; gap: 12px; padding: 25px 32px 24px; border-top: 1px solid var(--vlt-line); }
.vlp-btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 16px; border-radius: 0; cursor: pointer;
	font: 500 16px / 1 var(--vlt-font); text-decoration: none; box-sizing: border-box; transition: opacity .15s ease; }
.vlp-btn-outline { background: #fff; color: var(--vlt-ink); border: 1px solid var(--vlt-ink); }
.vlp-btn-outline:hover { background: #f7f7f7; }
.vlp-btn-primary { background: #171717; color: #fff; border: 1px solid #171717; }
.vlp-btn-primary:hover { background: #000; }
.vlp-btn-primary:disabled, .vlp-btn-primary.is-busy { opacity: .5; cursor: not-allowed; }
.vlp-btn-link { flex: 0 0 auto; align-self: flex-start; padding: 0 32px; }
.vlp-msg { margin: 0; font: 400 16px / 1.5 var(--vlt-font); color: var(--vlt-muted); }
.vlp-notice .vlp-body { gap: 16px; }

/* zona upload */
/* `flex: 0 0 300px`, nu doar `height`: zona de upload e un flex item într-o coloană
   cu înălțime limitată (corpul modalului), iar `flex-shrink: 1` (implicit) o strivea —
   pe ecrane mai mici ajungea la ~45px, cu textul „Trage o fotografie aici…” tăiat la
   jumătate și previzualizarea redusă la o dungă. */
.vlp-upload { position: relative; display: flex; flex: 0 0 300px; align-items: center; justify-content: center; height: 300px; min-height: 300px; background: #f5f5f5; border: 1px dashed transparent; cursor: pointer; overflow: hidden; }
.vlp-upload.is-dragover { border-color: var(--vlt-orange); background: #fff7ed; }
.vlp-upload.has-file { cursor: default; }
.vlp-upload .vlp-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.vlp-upload-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--vlt-muted); text-align: center; padding: 16px; }
.vlp-upload-empty svg { color: var(--vlt-light); }
.vlp-upload-text { margin: 0; font: 400 14px / 1.5 var(--vlt-font); color: var(--vlt-muted); }
.vlp-upload-link { color: var(--vlt-ink); font-weight: 600; text-decoration: underline; cursor: pointer; }
.vlp-upload-hint { margin: 0; font: 400 12px / 1.4 var(--vlt-font); color: var(--vlt-grey); }
.vlp-upload-preview { max-width: 453px; max-height: 300px; width: auto; height: auto; object-fit: contain; display: block; }
.vlp-upload-preview[hidden], .vlp-upload-empty[hidden], .vlp-upload-remove[hidden] { display: none; }
.vlp-upload-remove { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; padding: 4px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--vlt-ink); cursor: pointer; display: inline-flex; }
.vlp-upload-remove .vlt-ico { width: 24px; height: 24px; }

/* popup-ul Bricks în sine (lățimea o dă _bricks_template_settings) */
.brx-popup.vince-popup-form .brx-popup-content { padding: 0; background: #fff; border-radius: 0; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
.brx-popup.vince-popup-form .brxe-shortcode { width: 100%; }
@media (max-width: 639px) {
	.vlp-head, .vlp-body, .vlp-foot { padding-left: 20px; padding-right: 20px; }
	.vlp-body { max-height: calc(100vh - 220px); }
	.vlp-upload { flex-basis: 220px; height: 220px; min-height: 220px; }
	.vlp-btn { height: 48px; font-size: 15px; }
}

/* ─── lightbox galerie (1100×802) ───────────────────────────────────────── */
.brx-popup.vince-lightbox .brx-popup-content { padding: 0; background: #fff; border-radius: 0; overflow: hidden; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }
/* `flex-direction: row` explicit: rădăcina lightbox-ului e un `.brxe-block`, iar
   Bricks îi dă `flex-direction: column` — fără asta panoul de 360px ajungea SUB
   imagine, în afara cadrului de 802px, și lightbox-ul părea gol pe dreapta. */
.vlb { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; width: 100%; height: min(802px, 90vh); font-family: var(--vlt-font); color: var(--vlt-ink); background: #fff; }
.vlb-loading { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 300px; color: var(--vlt-muted); font: 400 14px / 1.5 var(--vlt-font); }
.vlb-spinner { width: 28px; height: 28px; border: 2px solid var(--vlt-line); border-top-color: var(--vlt-ink); border-radius: 50%; animation: vlb-spin .8s linear infinite; }
@keyframes vlb-spin { to { transform: rotate(360deg); } }
.vlb-media { flex: 1 1 0; min-width: 0; align-self: stretch; background: #000; display: flex; align-items: center; justify-content: center; }
.vlb-media img { max-width: 100%; max-height: 100%; width: auto; height: 100%; object-fit: contain; display: block; }
.vlb-panel { flex: 0 0 360px; width: 360px; max-width: 100%; align-self: stretch; display: flex; flex-direction: column; min-height: 0; background: #fff; }
.vlb-head { display: flex; align-items: center; gap: 12px; height: 89px; padding: 0 24px; border-bottom: 1px solid var(--vlt-line); box-sizing: border-box; flex: 0 0 auto; }
.vlb-head-col { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; }
.vlb-author { font: 600 14px / 1.3 var(--vlt-font); color: var(--vlt-ink); }
.vlb-role { font: 400 12px / 1.3 var(--vlt-font); color: var(--vlt-grey); }
.vlb-close { display: inline-flex; width: 20px; height: 20px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--vlt-muted); }
.vlb-close .vlt-ico { width: 20px; height: 20px; }
.vlb-close:hover { color: var(--vlt-ink); }
.vlb-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.vlb-title { margin: 0; font: 400 16px / 24px var(--vlt-font); color: var(--vlt-ink); }
.vlb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vlb-tag { display: inline-block; padding: 4px 16px; background: rgba(250,145,17,.1); color: var(--vlt-orange); font: 400 12px / 1.5 var(--vlt-font); }
.vlb-comments-title { font: 400 14px / 1.5 var(--vlt-font); color: var(--vlt-grey); }
.vlb-comments { display: flex; flex-direction: column; gap: 12px; }
.vlb-comment { display: flex; align-items: flex-start; gap: 8px; }
.vlb-comment-col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vlb-comment-head { display: flex; align-items: baseline; gap: 6px; min-height: 18px; }
.vlb-comment-name { font: 600 12px / 18px var(--vlt-font); color: var(--vlt-ink); }
.vlb-comment-time { font: 400 10px / 18px var(--vlt-font); color: var(--vlt-light); }
.vlb-comment-text { font: 400 12px / 1.5 var(--vlt-font); color: var(--vlt-muted); overflow-wrap: anywhere; }
.vlb-comment-text p { margin: 0; }
.vlb-input { flex: 0 0 auto; border-top: 1px solid var(--vlt-line); padding: 17px 16px 16px; }
.vlb-form { display: flex; align-items: center; gap: 8px; margin: 0; }
.vlb-input-field { flex: 1 1 auto; min-width: 0; height: 41.5px; box-sizing: border-box; border: 1px solid var(--vlt-line); border-radius: 0; padding: 0 12px; font: 400 14px / 1.4 var(--vlt-font); color: var(--vlt-ink); }
.vlb-input-field::placeholder { color: var(--vlt-muted); }
.vlb-input-field:focus { outline: none; border-color: var(--vlt-ink); }
.vlb-send { flex: 0 0 auto; width: 40px; height: 36px; display: inline-flex; align-items: center; justify-content: center; background: var(--vlt-ink); color: #fff; border: 0; border-radius: 0; cursor: pointer; }
.vlb-send:disabled { opacity: .3; cursor: default; }
.vlb-send .vlt-ico { width: 14px; height: 14px; }
.vlb-form.is-busy { opacity: .6; pointer-events: none; }
.vlb-login { display: flex; align-items: center; gap: 8px; font: 400 14px / 1.4 var(--vlt-font); color: var(--vlt-muted); }
.vlb-login a { color: var(--vlt-ink); font-weight: 600; text-decoration: underline; }
.vlb-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 16px; height: 55px; padding: 0 16px; border-top: 1px solid var(--vlt-line); box-sizing: border-box; }
.vlb-like, .vlb-views { display: inline-flex; align-items: center; gap: 6px; font: 500 14px / 1 var(--vlt-font); color: var(--vlt-muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.vlb-views { cursor: default; }
.vlb-like .vlt-ico { width: 22px; height: 22px; }
.vlb-views .vlt-ico { width: 18px; height: 18px; }
.vlb-like:hover { color: var(--vlt-ink); }
.vlb-like.wp_ulike_is_liked, .vlb-like.wp_ulike_btn_is_active { color: var(--vlt-orange); }
.vlb-like.wp_ulike_is_liked .vlt-ico path { fill: currentColor; }
.vlb-like.is-busy { opacity: .6; }
.vlb-actions-right { margin-left: auto; display: inline-flex; align-items: center; gap: 16px; }
.vlb-actions-right .vlt-fav, .vlb-actions-right .vlt-fav a, .vlb-share { display: inline-flex; align-items: center; color: var(--vlt-muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.vlb-actions-right .vlt-ico { width: 20px; height: 20px; }
.vlb-actions-right .vlt-fav-text, .vlb-share .vlt-share-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.vlb-actions-right .vlt-fav.is-favorite, .vlb-actions-right .vlt-fav.is-favorite a { color: var(--vlt-orange); }
.vlb-actions-right .vlt-fav.is-favorite .vlt-ico path { fill: currentColor; }
.vlb-actions-right .vlt-fav a:hover, .vlb-share:hover { color: var(--vlt-ink); }
.vlb-fav-wrap.is-busy { opacity: .6; }
@media (max-width: 1023px) {
	/* `flex-wrap: nowrap` e ESENȚIAL aici: rădăcina e un `.brxe-block`, iar Bricks îi
	   pune `flex-wrap: wrap`. Cu `flex-direction: column` + înălțime limitată, wrap-ul
	   nu trece elementele unul sub altul, ci creează o A DOUA COLOANĂ — panoul cu
	   comentarii ajungea la dreapta pozei, în afara ecranului (x=382 într-un cadru de
	   374), deci pe telefon nu se vedea deloc. */
	.vlb { flex-direction: column; flex-wrap: nowrap; height: auto; max-height: 92vh; overflow-y: auto; }
	.vlb-media { flex: 0 0 auto; width: 100%; height: min(42vh, 380px); }
	.vlb-media img { height: 100%; }
	/* `flex-shrink: 0` ca panoul să nu fie strivit de max-height-ul rădăcinii. */
	.vlb-panel { flex: 0 0 auto; width: 100%; align-self: auto; }
	.vlb-body { max-height: none; }
}

/* ─── toast mic (share / trimis spre aprobare) ──────────────────────────── */
.vince-community-toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); z-index: 100000; max-width: calc(100vw - 32px);
	padding: 14px 22px; background: var(--vlt-ink); color: #fff; font: 500 14px / 1.4 var(--vlt-font); box-shadow: 0 8px 24px rgba(0,0,0,.18);
	opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.vince-community-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.vince-community-toast.is-error { background: #991b1b; }

