/**
 * MFV Business Card — Placement Integration (Prompt 14C)
 *
 * Styles for the 6 placement locations:
 *   4A  Globe icon on listing preview cards
 *   4B  Website button after quick-actions
 *   4C  Mini card in sidebar
 *   4D  Member profile card
 *
 * @version 2.2.0
 */

/* ═══════════════════════════════════════════════════════════════════
 *  4A — Globe icon on listing preview cards
 * ═══════════════════════════════════════════════════════════════════ */

.mfv-globe-link {
	position: absolute;
	bottom: 8px;
	right: 8px;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: rgba(255,255,255,0.92);
	border-radius: 50%;
	color: var(--mfv-primary, #0e7490);
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
	transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
	cursor: pointer;
}
.mfv-globe-link:hover {
	background: var(--mfv-primary, #0e7490);
	color: #fff;
	transform: scale(1.1);
	box-shadow: 0 4px 14px rgba(var(--mfv-primary-rgb, 14,116,144),0.35);
}
.mfv-globe-link svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* Position within the card's head area */
.lf-item-container .mfv-globe-link {
	position: absolute;
	top: auto;
	bottom: 8px;
	right: 8px;
}

/* ═══════════════════════════════════════════════════════════════════
 *  4B — Website link button (after quick-actions)
 * ═══════════════════════════════════════════════════════════════════ */

.mfv-placement--website-btn {
	padding: 0 0 12px;
}

.mfv-placement__website-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 22px;
	background: var(--mfv-primary, #0e7490);
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	border-radius: 999px;
	text-decoration: none !important;
	transition: background 0.15s, box-shadow 0.15s;
	line-height: 1.4;
}
.mfv-placement__website-link:hover,
.mfv-placement__website-link:focus {
	background: #0c5f73;
	box-shadow: 0 4px 14px rgba(var(--mfv-primary-rgb, 14,116,144),0.25);
	color: #fff !important;
}

.mfv-placement__globe-icon {
	flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════
 *  4C — Mini card in sidebar
 * ═══════════════════════════════════════════════════════════════════ */

.mfv-placement--sidebar {
	margin-bottom: 20px;
}

.mfv-placement--sidebar .mfv-card-embed {
	max-width: 100%;
}

.mfv-placement--sidebar .mfv-card-embed-link {
	padding: 16px 18px;
}

.mfv-placement__website-link--sidebar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	margin-bottom: 12px;
	padding: 10px 18px;
	background: #f0fdfa;
	border: 1.5px solid #99f6e4;
	color: var(--mfv-primary, #0e7490) !important;
	font-size: 13px;
	font-weight: 600;
	border-radius: 10px;
	text-decoration: none !important;
	transition: background 0.15s, border-color 0.15s;
	box-sizing: border-box;
}
.mfv-placement__website-link--sidebar:hover,
.mfv-placement__website-link--sidebar:focus {
	background: #ccfbf1;
	border-color: #5eead4;
	color: #0c5f73 !important;
}

/* ═══════════════════════════════════════════════════════════════════
 *  4D — Member profile card (enhanced)
 * ═══════════════════════════════════════════════════════════════════ */

.mfv-placement--member-profile {
	padding: 8px 0 16px;
}

.mfv-placement--member-profile .mfv-card-embed {
	max-width: 100%;
}

.mfv-placement--member-profile .mfv-card-embed-link {
	border-color: #99f6e4;
	background: linear-gradient(135deg, #f0fdfa 0%, #fff 100%);
}

.mfv-placement--member-profile .mfv-card-embed-link:hover {
	border-color: var(--mfv-primary, #0e7490);
}

/* ═══════════════════════════════════════════════════════════════════
 *  Responsive
 * ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
	.mfv-globe-link {
		width: 28px;
		height: 28px;
		bottom: 6px;
		right: 6px;
	}
	.mfv-globe-link svg {
		width: 14px;
		height: 14px;
	}

	.mfv-placement--website-btn {
		padding: 0 0 8px;
	}

	.mfv-placement__website-link {
		padding: 8px 18px;
		font-size: 12px;
	}
}
