/**
 * MKN — Reseñas verificadas (verified reviews). Vision-final pass (v1.24.0).
 * Loaded on gd_place singles (profile review block) + template-mkn-resenas.php.
 * Layered on assets/wow-inner.css. Namespaced under .mkn-resena / .mkn-stars —
 * touches nothing else.
 */

/* ==========================================================================
 *  Review card (shared: profile block + section page)
 * ========================================================================== */

.mkn-resenas-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.25rem;
	margin: 1.6rem 0 1.2rem;
}
/* Never let 1–2 review cards stretch absurdly wide on the section page. */
.mkn-resenas-grid--page { max-width: 1180px; margin-left: auto; margin-right: auto; }
.mkn-resenas-grid--page:has(> :last-child:nth-child(-n+2)) {
	grid-template-columns: repeat(auto-fit, minmax(280px, 480px));
	justify-content: center;
}

.mkn-resena {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	background: #ffffff;
	border: 1px solid rgba(124, 98, 187, 0.16);
	border-radius: var(--mkn-radius, 18px);
	padding: 1.4rem 1.5rem 1.25rem;
	box-shadow: 0 20px 48px -32px rgba(44, 26, 83, 0.35);
}

.mkn-resena__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
}

/* Stars */
.mkn-stars { display: inline-flex; gap: 2px; }
.mkn-stars__s { width: 18px; height: 18px; color: rgba(124, 98, 187, 0.25); }
.mkn-stars__s.is-on { color: var(--mkn-gold, #c9a227); }
.mkn-stars__s svg { width: 100%; height: 100%; display: block; fill: currentColor; }

/* Verified badge — mirrors the profile verified-seal vocabulary */
.mkn-resena__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--mkn-font-body);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--mkn-accent-text, #7e62bb);
	border: 1px solid rgba(124, 98, 187, 0.35);
	border-radius: 999px;
	padding: 0.28rem 0.7rem;
	white-space: nowrap;
}
.mkn-resena__badge span { color: var(--mkn-gold, #b08a3e); }

.mkn-resena__text {
	margin: 0;
	font-family: var(--mkn-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--mkn-muted-text, #4a4066);
	quotes: "\201C" "\201D";
}
.mkn-resena__text::before { content: open-quote; color: var(--mkn-gold, #b08a3e); }
.mkn-resena__text::after  { content: close-quote; color: var(--mkn-gold, #b08a3e); }

.mkn-resena__foot {
	margin-top: auto;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	flex-wrap: wrap;
	font-family: var(--mkn-font-body);
}
.mkn-resena__name {
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--mkn-primary, #2c1a53);
}
.mkn-resena__meta {
	font-size: 0.85rem;
	color: var(--mkn-muted-text, #726b87);
}
body.mkn-wow .mkn-resena__biz { text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
 *  Profile block (single-gd_place.php)
 * ========================================================================== */

.mkn-resenas-block {
	padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem;
	border-top: 1px solid rgba(124, 98, 187, 0.14);
	background:
		radial-gradient(110% 90% at 50% 100%, rgba(176, 138, 62, 0.06), transparent 55%),
		var(--mkn-bg, #f6f4fb);
}
.mkn-resenas-block__inner { max-width: 1180px; margin: 0 auto; }
.mkn-resenas-block__h { margin: 0.35rem 0 0.4rem; }
.mkn-resenas-block__note {
	margin: 0.4rem 0 0;
	font-family: var(--mkn-font-body);
	font-size: 0.9rem;
	color: var(--mkn-muted-text, #726b87);
}
body.mkn-wow .mkn-resenas-block__note a { text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
 *  Section page extras (template-mkn-resenas.php)
 * ========================================================================== */

.mkn-resenas-page__k { text-align: center; }
.mkn-resenas-page__h { text-align: center; margin: 0.3rem 0 0.5rem; }

/* Demo review chip (samples pass, v1.26.0) — the profile block loads this
 * file, not sections.css, so the Ejemplo chip is (re)declared here scoped
 * to review cards. Inert unless a review carries _mkn_demo = 1. */
.mkn-resena .mkn-eg-chip {
	display: inline-flex; align-items: center;
	font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--mkn-primary);
	background: #efe6ff; border: 1px solid #d8c6f5; border-radius: 999px;
	padding: 5px 11px;
}
