:root {
	--color-primary: #ECC673;
}

.tne-tree-navigation {
	position: relative;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	line-height: 0;
}

.tne-tree-navigation.is-transparent-canvas {
	position: relative;
	background: transparent;
}

.tne-tree-image {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.tne-tree-circle {
	position: absolute;
	left: var(--tne-x, 50%);
	top: var(--tne-y, 50%);
	transform: translate(-50%, -50%);
	width: var(--tne-item-size, var(--tne-circle-size, 64px));
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
	border-radius: 50%;
	background: var(--tne-item-color, #e8a43b);
	font-size: 18px;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
	z-index: 2;
	text-transform: uppercase;
	color: var(--color-primary);
	flex-direction: column;
}

.comments-area a.tne-tree-circle, .page-content a.tne-tree-circle {
	text-decoration: none;
}

a.tne-tree-circle:hover,
a.tne-tree-circle p {
	margin: 0;
}

.tne-tree-circle:focus-visible {
	transform: translate(-50%, -50%) scale(var(--tne-hover-scale, 1.12));
	filter: brightness(1.08);
	box-shadow: 0 4px 14px rgba(0,0,0,.2);
	color: var(--color-primary);
	text-decoration: none;
}

.tne-tree-navigation .tne-tree-circle:hover {
    transform: translate(-50%, -50%) scale(var(--tne-hover-scale, 1.12));
    filter: brightness(1.08);
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
    z-index: 5;
}

.tne-tree-circle p {
	margin: 0;
}

.tne-tree-circle:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 4px;
}

.tne-editor-notice {
	padding: 24px;
	border: 1px dashed #999;
	text-align: center;
	line-height: 1.5;
}


/* Alignment is applied to the widget's own image container. */
.tne-align-left .tne-tree-navigation {
	margin-left: 0;
	margin-right: auto;
}
.tne-align-center .tne-tree-navigation {
	margin-left: auto;
	margin-right: auto;
}
.tne-align-right .tne-tree-navigation {
	margin-left: auto;
	margin-right: 0;
}
