/* [2026-11-25 추가] 칼럼 상세 하단 병원 위치 — 네이버 지도
   hoSkin/COLUMN/view_skin.php > ck_Include/column_location_map.php 전용 (차이의원 스타일 기준, 핀·병원명 말풍선 아산본 남색 #1a295c) */

/* 폭: 의사 약력 카드(.asan-profile-card, max-width 920px)와 맞춤 */
.column_location {
	max-width: 920px;
	margin: 40px auto 0;
	box-sizing: border-box;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	font-family: inherit;
}

/* 지도 */
.column_location_map_wrap {
	position: relative;
	height: 410px;
	background: #f2f2f2;
}
.column_location_map {
	width: 100%;
	height: 100%;
}
/* 키 미설정·인증 실패·로드 실패 — 지도 영역만 접고 하단 정보는 유지 */
.column_location.is_map_failed .column_location_map_wrap {
	display: none;
}

/* 확대/축소/원위치 버튼 */
.column_location_controls {
	position: absolute;
	left: 16px;
	bottom: 40px;
	z-index: 10;
	display: flex;
	flex-direction: column;
	gap: 8px;
	visibility: hidden;
}
.column_location.is_map_ready .column_location_controls {
	visibility: visible;
}
.column_location_ctrl {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #fff;
	color: #222;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
	cursor: pointer;
}
.column_location_ctrl.is_reset {
	margin-top: 8px;
}
.column_location_ctrl:hover,
.column_location_ctrl:focus-visible {
	background: #f5f5f5;
}

/* 마커 — 앵커(좌표) 지점이 핀 끝이 되도록 0x0 기준점 위에 쌓는다 */
.column_location_marker {
	position: relative;
	width: 0;
	height: 0;
}
.column_location_marker_pin {
	position: absolute;
	left: -14px;
	bottom: 0;
	width: 28px;
	height: 36px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'%3E%3Cpath d='M14 0C6.3 0 0 6.1 0 13.7 0 23.9 14 36 14 36s14-12.1 14-22.3C28 6.1 21.7 0 14 0z' fill='%231a295c'/%3E%3Ccircle cx='14' cy='13.5' r='5.2' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
}
.column_location_marker_label {
	position: absolute;
	left: 0;
	bottom: 48px;
	transform: translateX(-50%);
	padding: 9px 16px;
	border-radius: 10px;
	background: #1a295c;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.column_location_marker_label::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 100%;
	margin-left: -7px;
	border: 7px solid transparent;
	border-top-color: #1a295c;
}

/* 하단 정보 */
.column_location_info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	border-top: 1px solid #eee;
}
.column_location.is_map_failed .column_location_info {
	border-top: 0;
}
.column_location_text {
	min-width: 0;
}
.column_location_name {
	display: block;
	color: #111;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
}
.column_location_address {
	margin: 4px 0 0;
	color: #666;
	font-size: 14px;
	line-height: 1.5;
	word-break: keep-all;
}
.column_location_link {
	flex: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	color: #03a94d;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
}
.column_location_link_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 5px;
	background: #03c75a;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
}
.column_location_link:hover .column_location_link_label,
.column_location_link:focus-visible .column_location_link_label {
	text-decoration: underline;
}

@media all and (max-width: 767px) {
	.column_location {
		margin: 32px auto 0;
		border-radius: 10px;
	}
	.column_location_map_wrap {
		height: 300px;
	}
	.column_location_controls {
		left: 12px;
		bottom: 36px;
		gap: 6px;
	}
	.column_location_ctrl {
		width: 40px;
		height: 40px;
	}
	.column_location_info {
		padding: 16px 18px;
	}
	.column_location_name {
		font-size: 16px;
	}
	.column_location_address {
		font-size: 13px;
	}
}
