/* ==========================================================================
   WT Circle Feature  ·  assets/css/widgets/circle-feature.css
   ========================================================================== */

/* ── Kill the ghost ::before box that Elementor/theme injects ─────────────
   The DevTools showed .wt-circle-feature::before was getting
   position:absolute; width:700px; height:700px; border:3px solid #73513A
   from a theme or global rule. We override it to nothing.
   ─────────────────────────────────────────────────────────────────────── */
/* .wt-circle-feature::before,
.wt-circle-feature::after {
	display: none !important;
	content: none !important;
	width: 0 !important;
	height: 0 !important;
	border: none !important;
	position: static !important;
} */

/* ==========================================================================
   Root wrapper
   ========================================================================== */

.wt-circle-feature {
	display: flex;
	align-items: center;
	width: 100%;
	position: relative;
	gap: 15px;
}

/* ==========================================================================
   Side columns
   ========================================================================== */

.wt-cf-side-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	min-width: 0;
	position: relative;
	z-index: 2;
	row-gap: 160px !important;
	padding-bottom: 10%;
}

/* ==========================================================================
   Centre column
   ========================================================================== */

.wt-cf-centre-col {
	flex: 0 0 38%;
	max-width: 38%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 1;
}

/* ==========================================================================
   Centre hero image
   ========================================================================== */

.wt-cf-centre {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wt-cf-centre__img {
	width: 340px;
	height: 340px;
	object-fit: cover;
	border-radius: 50%;
	border: 3px solid #c8a96e;
	display: block;
}

/* ==========================================================================
   Feature item — base
   ========================================================================== */

.wt-cf-item {
	display: flex;
	align-items: center;
	gap: 42px;
	position: relative;
	z-index: 2;
}

.wt-cf-item--empty {
	visibility: hidden;
	pointer-events: none;
	min-height: 80px;
}

/* ── LEFT column: image closest to centre (on the right of text) ────────── */
.wt-cf-side-col--left .wt-cf-item {
	flex-direction: row-reverse;
	/* image right, text left */
	text-align: right;
}

/* ── RIGHT column: image closest to centre (on the left of text) ─────────── */
.wt-cf-side-col--right .wt-cf-item {
	flex-direction: row;
	/* image left, text right */
	text-align: left;
}

/* ==========================================================================
   Circular item image
   ========================================================================== */

.wt-cf-item__img-wrap {
	width: 100px !important;
	height: 100px !important;
	min-width: 100px;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid #c8a96e;
	background: #f5efe4;
}

.wt-cf-item__img {
	width: 100px !important;
	height: 100px !important;
	object-fit: cover;
	display: block;
}

/* ==========================================================================
   Item text
   ========================================================================== */

.wt-cf-item__text {
	flex: 1;
	min-width: 0;
}

.wt-cf-item__title {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	color: #8a6a2e;
	margin: 0 0 5px;
	font-style: italic;
}

.wt-cf-item__desc {
	font-size: 0.8rem;
	line-height: 1.65;
	color: #5a4a35;
	margin: 0;
}

.wt-cf-side-col--left .wt-cf-item:first-child {
	margin-right: -28%;
	max-width: 460px;
	margin-left: auto;
}

.wt-cf-side-col--right .wt-cf-item:first-child {
	margin-left: -28%;
	max-width: 485px;
}

.wt-cf-side-col--left .wt-cf-item:last-child {
	max-width: 475px;
}

.wt-circle-feature::before {
	z-index: 0;
	content: '' !important;
	position: absolute;
	width: 43%;
	height: 120%;
	border-radius: 50%;
	border: 5px solid #73513A;
	border-width: 5px 0 0 0;
	left: 0;
	right: 0;
	margin: auto;
	transform: translate(0px, 50px);
	opacity: 50%;
}

.wt-cf-centre {
	padding-top: 60px;
}


/* ==========================================================================
   Responsive — tablet
   ========================================================================== */

@media (max-width: 1399px) {
	.wt-cf-item {
		gap: 32px;
	}

	.wt-circle-feature {
		gap: 0px;
	}

	.wt-cf-centre__img {
		width: 300px !important;
		height: 300px !important;
	}

	.wt-cf-centre {
		padding-top: 30px;
	}

	.wt-cf-side-col {
		row-gap: 130px !important;
	}

	.wt-circle-feature::before {
		width: 41%;
		height: 115%;
		transform: translate(0px, 40px);
	}

}

@media (max-width: 1199px) {
	.wt-cf-item {
		gap: 20px;
	}

	.wt-cf-centre__img {
		width: 260px !important;
		height: 260px !important;
	}

	.wt-cf-side-col {
		row-gap: 100px !important;
	}

	.wt-cf-centre {
		padding-top: 20px;
	}

	.wt-cf-side-col {
		row-gap: 100px !important;
	}

	.wt-circle-feature::before {
		width: 42%;
		height: 100%;
		transform: translate(0px, 22px);
	}
}

@media (max-width: 991px) {
	.wt-circle-feature {
		flex-direction: column;
		gap: 10px !important;
	}

	.wt-cf-centre-col {
		flex: none;
		width: 100%;
		max-width: 100%;
		order: -1;
	}

	.wt-cf-side-col {
		width: 100%;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 20px !important;
		padding: 10px;
	}

	.wt-cf-side-col .wt-cf-item {
		flex: 1 1 calc(50% - 10px);
		min-width: 180px;
		/* reset direction for stacked layout */
		flex-direction: row !important;
		text-align: left !important;
		gap: 12px;
	}


	.wt-cf-centre__img {
		width: 220px;
		height: 220px;
	}

	.wt-cf-centre-col,
	.wt-cf-centre-col img {
		width: auto !important;
		max-width: 200px !important;
		max-height: fit-content;
	}

	.wt-circle-feature::before,
	.wt-circle-feature::after {
		display: none !important;
		content: none !important;
		width: 0 !important;
		height: 0 !important;
		border: none !important;
		position: static !important;
	}

	.wt-cf-side-col--left .wt-cf-item:first-child,
	.wt-cf-side-col--right .wt-cf-item:first-child,
	.wt-cf-side-col--left .wt-cf-item:last-child {
		margin: 0;
		max-width: unset;
	}

	.wt-cf-centre {
		padding-top: 0px;
	}
}

/* ==========================================================================
   Responsive — mobile
   ========================================================================== */

@media (max-width: 576px) {
	.wt-cf-side-col .wt-cf-item {
		flex: 1 1 100%;
	}

	.wt-cf-centre__img {
		width: 180px;
		height: 180px;
	}

	.wt-cf-centre-col,
	.wt-cf-centre-col img {
		max-width: 150px !important;
	}

	.wt-cf-side-col {
		gap: 20px !important;
	}

	.wt-circle-feature {
		gap: 0px !important;
	}

}

/* ==========================================================================
   Accessibility
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.wt-cf-item {
		transition: none;
	}
}