/* Videntes Buenas — directorio, test y botones. Usa la paleta del tema si existe. */
.vb-grid, .vb-minis, .vb-test, .vb-ficha, .vb-botones, .vb-acc, .vb-barra, .vb-btn-mini, .vb-autora, .vb-firma-linea, .vb-articulos {
	--b: var(--wp--preset--color--burdeos, #7A1F35); --b2: var(--wp--preset--color--burdeos-2, #5E1628);
	--rosa: var(--wp--preset--color--rosa, #F2D7DA); --oro: var(--wp--preset--color--oro, #C9A35B); --oro2: var(--wp--preset--color--oro-2, #A4813D);
	--oro-s: var(--wp--preset--color--oro-suave, #F2E7CF); --crema: var(--wp--preset--color--crema, #FBF3EE); --crema2: var(--wp--preset--color--crema-2, #F3E3DA);
	--blanco: var(--wp--preset--color--blanco, #FFFAF7); --tinta: var(--wp--preset--color--tinta, #33191F); --tinta2: var(--wp--preset--color--tinta-2, #6E5157);
	--linea: var(--wp--preset--color--linea, #EADAD2); --serif: var(--wp--preset--font-family--titulos, Georgia, serif);
}

.vb-btn, .vb-grid *, .vb-minis *, .vb-test *, .vb-ficha *, .vb-botones *, .vb-acc *, .vb-barra, .vb-barra * { box-sizing: border-box; }
/* ---------- Botones ---------- */
.vb-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .7rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.15; text-decoration: none !important; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.vb-btn:hover { transform: translateY(-1px); }
.vb-btn:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.vb-btn svg { flex: none; }
.vb-btn span { display: flex; flex-direction: column; text-align: left; }
.vb-btn small { font-size: .72rem; font-weight: 500; opacity: .85; }
.vb-btn-burdeos { background: var(--b); color: #fff !important; box-shadow: 0 8px 22px rgba(122, 31, 53, .25); }
.vb-btn-burdeos:hover { background: var(--b2); }
.vb-btn-borde { background: transparent; border-color: var(--tinta); color: var(--tinta) !important; }
.vb-btn-borde:hover { background: var(--tinta); color: var(--crema) !important; }
.vb-btn-wa { background: #25A35A; color: #fff !important; }
.vb-btn-wa:hover { background: #1E8B4C; }
.vb-btn-mini { min-height: 44px; height: 44px; padding: .5rem 1.1rem; font-size: .92rem; white-space: nowrap; }
.vb-botones { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.vb-legal { font-size: .78rem; color: var(--tinta2); margin: .9rem 0 0; }
.vb-codigo { font-size: .9rem; margin: .8rem 0 0; color: var(--tinta2); }
.vb-aviso-admin { font-size: .88rem; padding: .6rem .9rem; border: 1px dashed var(--b); border-radius: 10px; background: var(--blanco); }

/* ---------- Avatares ---------- */
.vb-av { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.35rem; color: #fff; position: relative; overflow: hidden; object-fit: cover; }
span.vb-av::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 25%, rgba(255, 255, 255, .35), transparent 55%); }
.vb-av-1, .vb-av-3, .vb-av-5 { background: var(--b); }
.vb-av-2 { background: var(--oro2); }
.vb-av-4 { background: #B76A78; }
.vb-av-lg { width: 84px; height: 84px; font-size: 2.1rem; }
.vb-av-xl { width: 96px; height: 96px; font-size: 2.5rem; box-shadow: 0 0 0 6px rgba(255, 255, 255, .6); }
.vb-av-cubre { width: 100%; height: 100%; border-radius: 0; }

/* ---------- Mini tarjetas (portada) ---------- */
.vb-minis { position: relative; z-index: 1; min-height: 400px; }
.vb-mini { position: absolute; display: flex; gap: .8rem; align-items: center; width: min(300px, 82%); padding: .8rem 1rem; border-radius: 18px; background: var(--blanco); border: 1px solid var(--linea); box-shadow: 0 18px 40px rgba(51, 25, 31, .10); color: var(--tinta) !important; text-decoration: none !important; transition: transform .2s; }
.vb-mini:hover { transform: translateY(-3px); }
.vb-mini strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.vb-mini small { font-size: .82rem; color: var(--tinta2); }
.vb-m1 { left: 0; top: 14%; } .vb-m2 { right: 0; top: 42%; } .vb-m3 { left: 10%; bottom: 4%; }
@media (max-width: 781px) { .vb-minis { min-height: 320px; } }

/* ---------- Rejilla de videntes ---------- */
.vb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2.2rem; }
@media (max-width: 980px) { .vb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vb-grid { grid-template-columns: 1fr; } }
.vb-v { display: flex; flex-direction: column; padding: 1.4rem; border-radius: 22px; background: var(--blanco); border: 1px solid var(--linea); transition: box-shadow .2s, transform .2s; }
.vb-v:hover { box-shadow: 0 20px 44px rgba(51, 25, 31, .10); transform: translateY(-3px); }
.vb-foto { text-decoration: none !important; }
.vb-foto, .vb-ficha-foto { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; margin-bottom: 1.1rem; display: grid; place-items: center; overflow: hidden; }
.vb-f1, .vb-f3, .vb-f5 { background: linear-gradient(135deg, var(--rosa), var(--crema)); }
.vb-f2, .vb-f4 { background: linear-gradient(135deg, var(--oro-s), var(--crema)); }
.vb-v h3 { margin: 0 0 .15rem; font-size: 1.3rem; }
.vb-v h3 a { color: var(--tinta); text-decoration: none; }
.vb-v h3 a:hover { color: var(--b); }
.vb-esp { font-size: .92rem; font-weight: 600; color: var(--b); margin-bottom: .7rem; }
.vb-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.vb-tags span { font-size: .78rem; padding: .2rem .65rem; border-radius: 99px; background: var(--crema); border: 1px solid var(--linea); }
.vb-v p { flex: 1; font-size: .95rem; color: var(--tinta2); margin: 0 0 1rem; }
.vb-datos { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .85rem; color: var(--tinta2); border-top: 1px dashed var(--linea); padding-top: .8rem; margin-bottom: 1rem; }
.vb-datos b { color: var(--tinta); font-weight: 600; }
.vb-acc { display: flex; gap: .5rem; }
.vb-acc .vb-btn { flex: 1; min-height: 46px; padding: .5rem .8rem; font-size: .92rem; }

/* ---------- Ficha de vidente ---------- */
.vb-ficha { display: grid; grid-template-columns: 340px 1fr; gap: 2.2rem; align-items: start; margin-bottom: 2.5rem; }
@media (max-width: 760px) { .vb-ficha { grid-template-columns: 1fr; } }
.vb-ficha-foto { aspect-ratio: 1; margin: 0; border-radius: 26px; }
.vb-ficha h1 { margin: .1rem 0 .3rem; }
.vb-ficha-kicker { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--oro2); margin: 0; }

/* ---------- Test ---------- */
.vb-test { max-width: 760px; margin: 2rem auto 0; padding: clamp(1.4rem, 4vw, 2.4rem); border-radius: 28px; background: var(--crema); border: 1px solid var(--linea); box-shadow: 0 24px 60px rgba(51, 25, 31, .08); }
.vb-prog { height: 6px; background: var(--crema2); border-radius: 99px; overflow: hidden; margin-bottom: 1.4rem; }
.vb-prog i { display: block; height: 100%; background: var(--oro); border-radius: 99px; transition: width .35s; }
.vb-paso { font-size: .82rem; font-weight: 600; color: var(--oro2); letter-spacing: .08em; text-transform: uppercase; }
.vb-q { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.25; margin: .3rem 0 1.2rem; color: var(--tinta); }
.vb-ops { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (max-width: 560px) { .vb-ops { grid-template-columns: 1fr; } }
.vb-op { display: flex; align-items: center; gap: .8rem; text-align: left; padding: 1rem 1.1rem; border-radius: 16px; border: 1.5px solid var(--linea); background: var(--blanco); font: inherit; font-weight: 500; color: var(--tinta); cursor: pointer; transition: border-color .2s, transform .15s; }
.vb-op:hover { border-color: var(--b); transform: translateY(-1px); }
.vb-op:focus-visible { outline: 2px solid var(--oro); outline-offset: 2px; }
.vb-op-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--rosa); color: var(--b); font-size: 1.1rem; }
.vb-op:nth-child(2n) .vb-op-ico { background: var(--oro-s); color: var(--oro2); }
.vb-atras { margin-top: 1.1rem; background: none; border: 0; color: var(--tinta2); font: inherit; font-size: .9rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.vb-res { animation: vb-entra .5s ease both; }
@keyframes vb-entra { from { opacity: 0; transform: translateY(10px); } }
.vb-res-top { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 1rem; }
.vb-res-top img.vb-av-lg { object-fit: cover; }
.vb-match { display: inline-block; background: var(--oro-s); color: var(--oro2); font-weight: 600; font-size: .82rem; padding: .2rem .7rem; border-radius: 99px; margin-bottom: .2rem; }
.vb-res-tit { font-family: var(--serif); font-size: 1.7rem; line-height: 1.2; margin: .1rem 0 .1rem; }
.vb-res-tit a { color: var(--tinta); text-decoration: none; }
.vb-res-tit a:hover { color: var(--b); }
.vb-res-por { background: var(--blanco); border-radius: 16px; padding: 1rem 1.2rem; margin: 1rem 0 .4rem; font-size: .97rem; }

/* ---------- Barra fija (móvil) ---------- */
.vb-barra { display: none; }
@media (max-width: 760px) {
	.vb-barra { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 250, 247, .96); border-top: 1px solid var(--linea); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
	.vb-barra .vb-botones { margin: 0; flex-wrap: nowrap; gap: .5rem; }
	.vb-barra .vb-btn { flex: 1; min-height: 48px; padding: .4rem .7rem; box-shadow: none; }
	.vb-barra .vb-btn-burdeos { flex: 1.5; }
	.vb-barra .vb-btn-borde { display: none; }
}
@media (prefers-reduced-motion: reduce) { .vb-btn, .vb-v, .vb-mini, .vb-op, .vb-res, .vb-prog i { animation: none !important; transition: none !important; } }

/* 1.0.1: número visible */
.vb-btn-mini .vb-mini-txt { display: none; }
.vb-btn-mini .vb-mini-num { font-variant-numeric: tabular-nums; letter-spacing: .01em; }
@media (max-width: 420px) { .vb-btn-mini .vb-mini-num { display: none; } .vb-btn-mini .vb-mini-txt { display: inline; } }
.vb-acc .vb-btn span { line-height: 1.1; }
.vb-acc .vb-btn small { font-size: .7rem; }
.vb-pie-tel { font-size: 1.05rem; margin: 0 0 .4rem; color: #E9D9D3; }
.vb-pie-tel a { color: #fff !important; font-weight: 600; }

/* 1.0.2: la pestaña «Gestionar consentimiento» (Complianz) sube por encima de la barra fija en el móvil */
@media (max-width: 760px) {
	body:has(.vb-barra) #cmplz-manage-consent .cmplz-manage-consent,
	body:has(.vb-barra) .cmplz-manage-consent {
		bottom: calc(72px + env(safe-area-inset-bottom)) !important;
		top: auto !important;
		padding: .45rem .8rem !important;
		font-size: .78rem !important;
		min-height: 0 !important;
		height: auto !important;
		border-radius: 10px 10px 0 0 !important;
		box-shadow: 0 -2px 10px rgba(0,0,0,.08) !important;
	}
}

/* 1.0.3: firma de los artículos */
.vb-firma-linea, .vb-autora, .vb-articulos, .vb-firma-linea *, .vb-autora *, .vb-articulos * { box-sizing: border-box; }
.vb-firma-linea { display: flex; align-items: center; gap: .75rem; margin: .4rem 0 1.4rem; font-size: .92rem; color: var(--tinta2); }
.vb-firma-linea .vb-av { width: 46px; height: 46px; font-size: 1.2rem; box-shadow: 0 0 0 3px var(--oro-s); }
.vb-firma-av, .vb-firma-av a { display: block; line-height: 0; border-radius: 50%; flex: none; }
.vb-firma-por { display: block; color: var(--tinta); }
.vb-firma-por a { color: var(--b); font-weight: 600; text-decoration: none; }
.vb-firma-por a:hover { text-decoration: underline; }
.vb-firma-linea time { display: block; font-size: .84rem; }
.vb-autora { display: grid; grid-template-columns: 170px 1fr; gap: 1.6rem; align-items: start; margin: 2.6rem 0 1rem; padding: 1.6rem; border-radius: 22px; background: var(--blanco); border: 1px solid var(--linea); box-shadow: 0 14px 36px rgba(51, 25, 31, .06); }
.vb-autora-foto a { display: grid; place-items: center; width: 100%; height: 100%; text-decoration: none; }
.vb-firma-av a { text-decoration: none; }
.vb-autora-foto { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--rosa); }
.vb-autora-txt .vb-ficha-kicker { margin: 0 0 .1rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oro2); font-weight: 600; }
.vb-autora-nom { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin: 0 0 .2rem; }
.vb-autora-nom a { color: var(--tinta); text-decoration: none; }
.vb-autora-nom a:hover { color: var(--b); }
.vb-autora .vb-datos { margin: .5rem 0; }
.vb-autora-res { font-size: .96rem; color: var(--tinta2); margin: .6rem 0 1rem; }
.vb-autora-res a { color: var(--b); font-weight: 600; white-space: nowrap; }
.vb-autora .vb-botones { margin-top: 0; }
.vb-articulos { margin: 2.4rem 0 0; }
.vb-articulos h2 { font-size: 1.5rem; margin: 0 0 .8rem; }
.vb-articulos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.vb-articulos li { padding: .9rem 1.1rem; border-radius: 14px; background: var(--blanco); border: 1px solid var(--linea); }
.vb-articulos li a { display: block; font-weight: 600; color: var(--tinta); text-decoration: none; }
.vb-articulos li a:hover { color: var(--b); }
.vb-articulos li span { display: block; font-size: .9rem; color: var(--tinta2); margin-top: .2rem; }
@media (max-width: 640px) {
	.vb-autora { grid-template-columns: 1fr; padding: 1.2rem; gap: 1rem; }
	.vb-autora-foto { width: 120px; aspect-ratio: 1; border-radius: 50%; }
}
