/* FLN frontend overrides */
/* Shortcode members grid normalization */


.fln-members-grid .entry-featured-image-url img,
.fln-members-grid .custom-image img {
	width: 250px;
	height: 250px;
	object-fit: cover;
	display: block;
	margin: 0 auto;
}
.fln-members-grid .entry-title,
.fln-members-grid .custom-fl-name h1,
.fln-members-grid .custom-fl-name h3 {
	text-align: center;
	margin: 10px 0 6px 0;
	line-height: 1.2;
}
.fln-members-grid .c7country,
.fln-members-grid .c7org {
	text-align: center;
	margin-bottom: 6px;
}
.fln-members-grid .c7mblock { display: flex; justify-content: center; gap: 12px; }

/* Fix Interactive Geo Maps tooltips clipping and negative offset */
.imaps-tooltip, .imaps-tooltip-div, .amcharts-tooltip-div {
	padding: 10px 12px;
	max-width: 260px;
	white-space: normal !important;
	transform: translateX(0) translateY(0) !important;
	left: auto !important;
	right: auto !important;
}
/* Keep tooltip within viewport */
.imaps-tooltip-div {
	box-sizing: border-box;
}
/* Optional: slightly stronger tooltip style */
.imaps-tooltip, .imaps-tooltip-div {
	background: #fff;
	border: 1px solid #e5e7eb;
	color: #111827;
	border-radius: 6px;
	font-size: 10px;
}

/* Unify contact icon styling (members and country pages) */
.fln-contact-links {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
}
.fln-contact-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #e5e7eb;
	box-shadow: 0 1px 2px rgba(0,0,0,.06);
	color: #2ea3f2;
	text-decoration: none;
	transition: all .15s ease;
}
.fln-contact-links a:hover {
	background: #2ea3f2;
	border-color: #2ea3f2;
	color: #fff;
}
.fln-contact-links img.contactimage {
	width: 18px;
	height: 18px;
	object-fit: contain;
	filter: none;
}
