/***
=============================================
Office Location 
=============================================
***/
.office-location {
	position: relative;
	display: block;
	padding: 60px 0 80px;
	background: transparent url('/wp-content/uploads/2026/04/cdhj-news-bg.png') no-repeat;
	background-size: 100%;
	z-index: 1;
}

.office-location__top {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding-bottom: 60px;
}

.office-location__top-left {
	position: relative;
	display: block;
}

.office-location__top-left .sec-title {
	padding-bottom: 0px;
}

.office-location__top-right {
	position: relative;
	display: block;
}

.office-location__top-right p {
	font-size: 18px;
	font-weight: 600;
	text-transform: capitalize;
	color: #353535;
	margin: 0;
}

.office-location__top-right .btn-box {
	position: relative;
	display: block;
	line-height: 0px;
	margin-top: 38px;
	top: -13px;
}

.office-location__bottom {
	position: relative;
	display: block;
	z-index: 1;
}

.office-location__pattern {
	position: relative;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	opacity: 0.25;
	z-index: -1;
}

.office-location__single {
	position: absolute;
	top: 28%;
	left: 170px;
	z-index: 2;
}

.office-location__single.style2 {
	top: 15%;
	left: 485px;
}

.office-location__single.style3 {
	bottom: 22%;
	left: 465px;
}

.office-location__single.style4 {
	bottom: 6%;
	left: 678px;
}

.office-location__single.style5 {
	top: 28%;
	left: auto;
	right: 215px;
}

.office-location__single.style6 {
	top: 45%;
	left: auto;
	right: 460px;
}

.office-location__single.style7 {
	top: 49%;
	left: auto;
	right: 695px;
}

.office-location__bottom {
	position: relative;
	display: block;
	z-index: 1;
}

.office-location__pattern {
	position: relative;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	opacity: 0.25;
	z-index: -1;
}

/* =========================================
   基础设置与自适应
========================================= */
.office-location__single {
	position: absolute;
	z-index: 2;
	/* 确保定位点以自身中心为基准，这样缩放浏览器时位置最稳定 */
	transform: translate(-50%, -50%);
	transition: all 0.3s ease;
}

/* 悬停时提高层级，防止弹窗被旁边的点遮挡 */
.office-location__single:hover {
	z-index: 10;
}

/* =========================================
   基于最新网页截图的精准微调
========================================= */

/* 1. 秘鲁 (南美洲西海岸) - 继续下移 */
.office-location__single.style-peru { top: 74%; left: 27%; }

/* 2. 印度 (南亚次大陆) - 下移、右移至印度半岛 */
.office-location__single.style-india { top: 55%; left: 70%; }

/* 3. 河南 (中国中部) - 下移 */
.office-location__single.style-henan { top: 43%; left: 77%; }

/* 4. 浙江 (中国东海岸) - 下移 */
.office-location__single.style-zhejiang { top: 45%; left: 80%; }

/* 5. 韩国 (朝鲜半岛) - 下移、左移 */
.office-location__single.style-korea { top: 40%; left: 83%; }

/* 6. 日本 (东亚岛国) - 下移、左移 */
.office-location__single.style-japan { top: 41%; left: 86%; }

/* --- 东南亚集群 (整体下移，保持打散) --- */
/* 7. 泰国 (中南半岛) */
.office-location__single.style-thailand { top: 53%; left: 76%; }

/* 8. 越南 (中南半岛东海岸) */
.office-location__single.style-vietnam { top: 53%; left: 78%; }

/* 9. 菲律宾 (东南亚群岛右侧) */
.office-location__single.style-philippines { top: 55%; left: 82%; }

/* 10. 马来西亚 (马来半岛) */
.office-location__single.style-malaysia { top: 58%; left: 76%; }

/* 11. 文莱 (加里曼丹岛北部) */
.office-location__single.style-brunei { top: 58%; left: 79%; }

/* 12. 印尼 (东南亚最南端群岛) */
.office-location__single.style-indonesia { top: 63%; left: 78%; }




/* =========================================
   手机/平板端自适应 (防止屏幕变小后图标挤成一团)
========================================= */
@media (max-width: 991px) {
	.office-location__single {
		/* 在平板和手机上将图标缩小到 70%，避免重叠 */
		transform: translate(-50%, -50%) scale(0.7); 
	}
}

@media (max-width: 767px) {
	.office-location__single {
		/* 在小屏幕手机上进一步缩小图标到 50% */
		transform: translate(-50%, -50%) scale(0.5); 
	}
    /* 手机端弹窗可能会超出屏幕，稍微调整弹窗的宽度或位置 */
    .office-location__popup-box {
        width: 200px; /* 根据你的实际弹窗大小微调 */
    }
}

/* 1. 修复外层容器，让它成为严格的定位基准 */
.office-location__bottom {
    position: relative; /* 必须有这个，否则绿点会满屏幕乱跑 */
    width: 100%;
    display: inline-block; /* 让容器大小紧贴图片 */
}

/* 2. 确保地图图片占满容器，且没有多余空白 */
.office-location__pattern img {
    width: 100%;
    height: auto;
    display: block;
}

/* 3. 绿点基础设置 */
.office-location__single {
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%); /* 保证以中心点对齐 */
    transition: all 0.3s ease;
}


.office-location__markar {
	position: absolute;
	bottom: 0;
	left: 0;
	border-radius: 50%;
	background-color: rgba(var(--cleanin-black), 1);
	height: 40px;
	width: 40px;
	cursor: pointer;
	z-index: 5;
}

.office-location__markar:before {
	position: absolute;
	top: 3px;
	bottom: 3px;
	right: 3px;
	left: 3px;
	background-color: var(--cleanin-base);
	content: "";
	border-radius: 50%;
	-webkit-transition: all 500ms ease;
	transition: all 500ms ease;
}

.office-location__single:hover .office-location__markar:before {
	background-color: var(--cleanin-black);
}

.office-location__markar:after {
	content: "\e94f";
	font-family: 'icomoon' !important;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	font-size: 16px;
	color: var(--cleanin-white);
	display: flex;
	align-items: center;
	justify-content: center;
}

.office-location__popup-box {
	position: absolute;
	top: 15px;
	left: -45px;
	opacity: 0;
	transform: perspective(400px) rotateX(90deg) translateY(10px);
	transform-origin: bottom;
	transition-delay: .05s;
	transition-timing-function: ease-in-out;
	transition-duration: .5s;
	transition-property: all;
	z-index: 2;
}

.office-location__single:hover .office-location__popup-box {
	opacity: 1.0;
	transform: perspective(400px) rotateX(0deg) translateY(0);
	transition-delay: .1s;
	transition-timing-function: ease-in-out;
	transition-duration: .5s;
	transition-property: all;
}

.office-location__popup {
	position: relative;
	display: block;
	max-width: 250px;
	width: 100%;
	background-color: var(--cleanin-white);
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
	padding: 12px 12px 12px;
	border-radius: 6px;
}

.office-location__popup-inner {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	width: 250px;
}

.office-location__popup-img {
	position: relative;
	display: block;
	width: 80px;
	border-radius: 6px;
	overflow: hidden;
}

.office-location__popup-img img {
	width: 100%;
	border-radius: 6px;
}

.office-location__popup-content {
	position: relative;
	display: block;
}

.office-location__popup-content p {
	font-size: 15px;
	line-height: 20px;
}

.office-location__popup-content span {
	font-size: 15px;
	font-weight: 600;
	color: var(--cleanin-black);
	position: relative;
	display: block;
	margin-top: 3px;
}


.office-location__markar .ripple,
.office-location__markar .ripple:before,
.office-location__markar .ripple:after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-ms-box-shadow: 0 0 0 0 rgba(142, 193, 55, .5);
	-o-box-shadow: 0 0 0 0 rgba(142, 193, 55, .5);
	-webkit-box-shadow: 0 0 0 0 rgba(142, 193, 55, .5);
	box-shadow: 0 0 0 0 rgba(142, 193, 55, .5);
	-webkit-animation: ripple 3s infinite;
	animation: ripple 3s infinite;
}

.office-location__markar .ripple:before {
	-webkit-animation-delay: 0.9s;
	animation-delay: 0.9s;
	content: "";
	position: absolute;
}

.office-location__markar .ripple:after {
	-webkit-animation-delay: 0.6s;
	animation-delay: 0.6s;
	content: "";
	position: absolute;
}

 /* 右侧图例区域 */
	  .baichuan-legend {
	    display: flex;
	    flex-direction: column;
	    gap: 16px; /* 两个图例之间的间距 */
	  }
	
	  /* 单个图例项 */
	  .legend-item {
	    display: flex;
	    align-items: center;
	    gap: 12px; /* 图标和文字的间距 */
	  }
	
	  /* 图例文字 */
	  .legend-text {
	    color: #000000;
	    font-size: 18px;
	    font-weight: 600;
	    text-transform: uppercase;
	    letter-spacing: 0.5px;
	  }
	
	  /* 图标容器尺寸 */
	  .legend-icon {
	    width: 36px;
	    height: 36px;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	  }