/* ==========================================================================
   FEHIVER — Tarjetas de Actividad y Explorar para el Tablón de anuncios
   Estética Sci-Fi táctica sobria integrada con BuddyNext
   ========================================================================== */

/* ── 1. TARJETA EN EL MURO DE ACTIVIDAD (Full-width showcase + ficha táctica) ── */

.fhv-bn-lead {
	margin: 0 0 10px;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #b7c4d3;
}

.fhv-bn-lead strong {
	color: #e6eef6;
	font-weight: 600;
}

.fhv-bn-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 10px;
	background: #111822;
	border: 1px solid rgba(101, 184, 201, 0.22);
	box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.fhv-bn-card:hover {
	border-color: rgba(101, 184, 201, 0.48);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

.fhv-bn-card.is-muted {
	opacity: 0.84;
	border-color: rgba(143, 168, 200, 0.18);
}

/* Cabecera visual ancha tipo showcase */
.fhv-bn-card__stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 218px;
	overflow: hidden;
	text-decoration: none;
	background:
		radial-gradient(ellipse at 50% 45%, rgba(101, 184, 201, 0.14) 0%, rgba(17, 24, 34, 0.92) 66%, #0a0e14 100%);
	border-bottom: 1px solid rgba(101, 184, 201, 0.16);
}

.fhv-bn-card--service .fhv-bn-card__stage {
	background:
		radial-gradient(ellipse at 50% 45%, rgba(100, 184, 140, 0.15) 0%, rgba(17, 24, 34, 0.92) 66%, #0a0e14 100%);
}

.fhv-bn-card--crew .fhv-bn-card__stage,
.fhv-bn-card--recruitment .fhv-bn-card__stage {
	background:
		radial-gradient(ellipse at 50% 45%, rgba(226, 189, 116, 0.15) 0%, rgba(17, 24, 34, 0.92) 66%, #0a0e14 100%);
}

/* Cuadrícula táctica sutil de fondo */
.fhv-bn-card__stage::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(101, 184, 201, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(101, 184, 201, 0.055) 1px, transparent 1px);
	background-size: 26px 26px;
	pointer-events: none;
	z-index: 1;
}

/* Degradado inferior para fundir banner con ficha */
.fhv-bn-card__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 14, 20, 0.25) 0%, transparent 38%, rgba(10, 14, 20, 0.72) 100%);
	pointer-events: none;
	z-index: 2;
}

/* Fondo difuminado opcional para imágenes fotográficas/WebP */
.fhv-bn-card__backdrop {
	position: absolute;
	inset: -16px;
	width: calc(100% + 32px);
	height: calc(100% + 32px);
	object-fit: cover;
	filter: blur(22px) brightness(0.45) saturate(1.1);
	transform: scale(1.06);
	pointer-events: none;
	z-index: 0;
}

.fhv-bn-card__img {
	position: relative;
	z-index: 2;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: 100%;
	object-fit: contain;
	display: block;
	transition: transform 0.25s ease;
}

.fhv-bn-card__img--photo {
	padding: 12px 16px;
	border-radius: 6px;
	filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.55));
}

.fhv-bn-card:hover .fhv-bn-card__img {
	transform: scale(1.03);
}

/* Badges flotantes sobre el banner */
.fhv-bn-card__badges {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 4;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.fhv-bn-card__sys {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 9px;
	border-radius: 5px;
	background: rgba(10, 14, 20, 0.82);
	border: 1px solid rgba(143, 168, 200, 0.28);
	color: #cbd7e5;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
}

.fhv-bn-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 9px;
	border-radius: 5px;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 0.69rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
	border: 1px solid transparent;
}

.fhv-bn-badge--cyan {
	background: rgba(10, 26, 36, 0.86);
	border-color: rgba(101, 184, 201, 0.55);
	color: #7cd0e0;
}

.fhv-bn-badge--green {
	background: rgba(12, 30, 24, 0.86);
	border-color: rgba(100, 184, 140, 0.55);
	color: #7ed4a7;
}

.fhv-bn-badge--amber {
	background: rgba(34, 27, 14, 0.88);
	border-color: rgba(226, 189, 116, 0.58);
	color: #f0cf88;
}

.fhv-bn-badge--coral {
	background: rgba(38, 16, 18, 0.88);
	border-color: rgba(217, 107, 107, 0.58);
	color: #ef8a8a;
}

.fhv-bn-badge--muted {
	background: rgba(18, 25, 34, 0.88);
	border-color: rgba(143, 168, 200, 0.38);
	color: #9fb0c3;
}

/* Cuerpo de la ficha */
.fhv-bn-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 15px 18px 16px;
}

.fhv-bn-card__kicker {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #65b8c9;
}

.fhv-bn-card--service .fhv-bn-card__kicker {
	color: #64b88c;
}

.fhv-bn-card--crew .fhv-bn-card__kicker,
.fhv-bn-card--recruitment .fhv-bn-card__kicker {
	color: #e2bd74;
}

.fhv-bn-card__title {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.32;
	color: #eff5fb;
	text-decoration: none;
	transition: color 0.15s ease;
}

.fhv-bn-card__title:hover {
	color: #65b8c9;
}

.fhv-bn-card__desc {
	margin: 0;
	font-size: 0.89rem;
	line-height: 1.5;
	color: #a6b6c8;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.fhv-bn-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 2px;
}

.fhv-bn-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 8px;
	border-radius: 5px;
	background: rgba(22, 32, 45, 0.9);
	border: 1px solid rgba(143, 168, 200, 0.16);
	color: #c2d0de;
	font-size: 0.75rem;
	line-height: 1.3;
}

/* Pie de tarjeta con precio / acuerdo + CTA */
.fhv-bn-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid rgba(143, 168, 200, 0.14);
}

.fhv-bn-card__price {
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 0.95rem;
	font-weight: 700;
	color: #e2bd74;
	letter-spacing: 0.02em;
}

.fhv-bn-card__price--muted {
	color: #95a8bd;
	font-size: 0.84rem;
	font-weight: 600;
}

.fhv-bn-card__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fhv-bn-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 7px 14px;
	border-radius: 6px;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
	cursor: pointer;
}

.fhv-bn-btn--primary {
	background: #1c3140;
	border: 1px solid rgba(101, 184, 201, 0.48);
	color: #eef7fa !important;
}

.fhv-bn-btn--primary:hover {
	background: #244052;
	border-color: #65b8c9;
	color: #ffffff !important;
}

.fhv-bn-btn--ghost {
	background: transparent;
	border: 1px solid rgba(143, 168, 200, 0.28);
	color: #c5d3e0 !important;
}

.fhv-bn-btn--ghost:hover {
	background: rgba(101, 184, 201, 0.1);
	border-color: rgba(101, 184, 201, 0.45);
	color: #eef7fa !important;
}

@media (max-width: 600px) {
	.fhv-bn-card__stage {
		height: 168px;
	}
	.fhv-bn-card__body {
		padding: 13px 14px 14px;
	}
}

/* ── 2. TARJETA EN EXPLORAR (BuddyNext Explore Masonry — estilo ficha visual) ── */

.ec-card.is-integration[data-type="fhv_tablon"] {
	background: #111822;
	border: 1px solid rgba(101, 184, 201, 0.22);
	overflow: hidden;
}

.ec-card.is-integration[data-type="fhv_tablon"]:hover {
	border-color: rgba(101, 184, 201, 0.5);
}

.ec-card.is-integration[data-type="fhv_tablon"] .ec-img {
	aspect-ratio: 16 / 10;
	background: radial-gradient(ellipse at 50% 45%, rgba(101, 184, 201, 0.14) 0%, #0d141e 72%, #0a0e14 100%);
	border-bottom: 1px solid rgba(101, 184, 201, 0.16);
}

.ec-card.is-integration[data-type="fhv_tablon"] .ec-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ec-card.is-integration[data-type="fhv_tablon"] .ec-kicker--integration {
	color: #65b8c9;
	font-weight: 700;
	letter-spacing: 0.06em;
}

/* Ocultamos el verbo redundante en Explorar para que luzca limpia: Portada -> Kicker -> Título -> Datos -> Extracto -> Pie */
.ec-card.is-integration[data-type="fhv_tablon"] .ec-lead {
	display: none;
}

.ec-card.is-integration[data-type="fhv_tablon"] .ec-title {
	font-size: 1.02rem;
	font-weight: 700;
	color: #eff5fb;
}

.ec-card.is-integration[data-type="fhv_tablon"] .ec-facts {
	margin: 0;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	border-radius: 5px;
	background: rgba(22, 32, 45, 0.92);
	border: 1px solid rgba(226, 189, 116, 0.24);
	color: #e2bd74;
	font-family: "JetBrains Mono", ui-monospace, monospace;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.35;
}

.ec-card.is-integration[data-type="fhv_tablon"] .ec-excerpt {
	color: #a6b6c8;
	font-size: 0.86rem;
	-webkit-line-clamp: 3;
}
