.custom_footnote {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 1em 0;
	padding: 12px 14px;
	border-radius: 8px;
	background: #f3f4f6;
	color: #444;
	font-size: 14px;
	line-height: 1.5;
}

.custom_footnote::before {
	content: '';
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	background-color: #9ca3af;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6.75' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M8 7.1V11' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='5.15' r='0.85' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6.75' stroke='black' stroke-width='1.5'/%3E%3Cpath d='M8 7.1V11' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='5.15' r='0.85' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.wc-fn-wrap {
	position: relative;
	display: block;
	max-width: fit-content;
	padding-top: 10px;
	margin: 0 auto;
}

.wc-fn-wrap--solo {
	padding-top: 0;
	vertical-align: middle;
}

.wc-fn {
	position: absolute;
	top: -5px;
	right: -10px;
	z-index: 2;
	transform: translate(50%, -20%);
}

.wc-fn-wrap--solo .wc-fn {
	position: relative;
	top: auto;
	right: auto;
	transform: none;
}

.wc-fn__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #888;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
}

.wc-fn__trigger:hover,
.wc-fn__trigger:focus-visible {
	color: #222;
	outline: none;
	transform: scale(1.05);
	background: none;
}

.wc-fn__icon {
	display: block;
}

.wc-fn__tooltip {
	position: absolute;
	top: calc(100% + 8px);
	right: 50%;
	z-index: 20;
	width: max-content;
	max-width: min(240px, 72vw);
	padding: 10px 12px;
	border-radius: 8px;
	background: #1a1a1a;
	color: #fff;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
	white-space: normal;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateX(50%) translateY(4px);
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.wc-fn__tooltip::before {
	content: '';
	position: absolute;
	bottom: 100%;
	right: 50%;
	margin-right: -5px;
	border: 5px solid transparent;
	border-bottom-color: #1a1a1a;
}

@media (hover: hover) and (pointer: fine) {
	.wc-fn__trigger:hover + .wc-fn__tooltip,
	.wc-fn__trigger:focus-visible + .wc-fn__tooltip {
		opacity: 1;
		visibility: visible;
		transform: translateX(50%) translateY(0);
	}
}

.wc-fn.is-open .wc-fn__tooltip {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateX(50%) translateY(0);
}

@media (max-width: 767px) {
	.wc-fn {
		transform: translate(40%, -15%);
	}
}