/* ==========================================================================
   CCSOL Redesign — Offices "Serving clients in 25+ countries" world
   map block (v2.4.0). Inserted by assets/js/worldmap.js right after
   the existing .ccsol-offices-map panel inside the (white) Offices
   section. Fresh `ccsol-wm-*` classes only, so no theme or Site
   Fixes rules apply. Enqueued on the front page only.

   The panel is dark navy (contrast inside the white section). The
   dotted continents are rendered by worldmap.js as one inline SVG
   from a 90x37 land bitmap; the country pins are absolutely
   positioned over it at equirectangular coordinates.
   ========================================================================== */

.ccsol-worldmap {
	margin: 44px 0 8px;
}

.ccsol-wm-head {
	text-align: center;
	margin-bottom: 24px;
}

.ccsol-wm-title {
	color: #0a2244;
	font-size: clamp(24px, 3vw, 32px);
	line-height: 1.25;
	margin: 0 0 8px;
}

.ccsol-wm-sub {
	color: rgba(10, 34, 68, .72);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

/* --- Dark map panel --- */
.ccsol-wm-panel {
	position: relative;
	background:
		radial-gradient(700px 300px at 50% 0%, rgba(30, 144, 255, .16), transparent 65%),
		linear-gradient(180deg, #0a1a33 0%, #071224 100%);
	border: 1px solid rgba(77, 163, 255, .25);
	border-radius: 20px;
	box-shadow: 0 18px 44px rgba(10, 34, 68, .22);
	overflow: hidden;
	aspect-ratio: 90 / 37;
}

.ccsol-wm-dots {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.ccsol-wm-dots circle {
	fill: rgba(125, 190, 255, .50);
}

/* --- Country pins --- */
.ccsol-wm-pin {
	position: absolute;
	width: 0;
	height: 0;
	z-index: 2;
}

.ccsol-wm-pin i {
	position: absolute;
	left: -5px;
	top: -5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #35e0ff;
	box-shadow: 0 0 0 3px rgba(53, 224, 255, .25), 0 0 14px rgba(53, 224, 255, .9);
}

.ccsol-wm-pin i::after {
	content: "";
	position: absolute;
	left: -9px;
	top: -9px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 1px solid rgba(53, 224, 255, .55);
	animation: ccsol-wm-pulse 2.6s ease-out infinite;
}

@keyframes ccsol-wm-pulse {
	0% {
		transform: scale(.45);
		opacity: 1;
	}
	100% {
		transform: scale(1);
		opacity: 0;
	}
}

.ccsol-wm-pin-label {
	position: absolute;
	white-space: nowrap;
	color: #eaf4ff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .02em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
	pointer-events: none;
}

.ccsol-wm-lbl-r {
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
}

.ccsol-wm-lbl-l {
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}

.ccsol-wm-lbl-t {
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
}

.ccsol-wm-lbl-bl {
	top: 10px;
	right: 10px;
}

.ccsol-wm-lbl-br {
	top: 10px;
	left: 10px;
}

/* --- Flag chips --- */
.ccsol-wm-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 22px;
	padding: 0;
	list-style: none;
}

.ccsol-wm-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f7fafd;
	border: 1px solid #dbe7f5;
	border-radius: 999px;
	padding: 9px 16px;
	color: #0a2244;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 4px 12px rgba(10, 34, 68, .05);
}

.ccsol-wm-chip-more {
	background: #0a2244;
	border-color: #0a2244;
	color: #fff;
}

/* --- Responsive: labels hide on small screens (the chips below
   still name every country); the panel keeps its aspect ratio. --- */
@media (max-width: 768px) {
	.ccsol-wm-pin-label {
		display: none;
	}

	.ccsol-wm-panel {
		border-radius: 16px;
	}
}
