
.left-tabs-nav-content {
	display: flex;
	gap: 40px;
	flex-wrap: wrap;
}

.left-tabs-nav {
	flex: 0 0 280px;
	max-width: 280px;
	padding: 50px 0;
}

.left-tabs-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: transparent;
}

.left-tabs-nav li {
	margin: 0;
}

.left-tabs-nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	font-weight: normal;
	transition: all .3s ease;
	font-size: 16px;
}

.left-tabs-nav a span {
	top: 2px;
	position: relative;
	font-size: 16px;
}

.left-tabs-nav .tab-icon {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
}

.left-tabs-nav .tab-icon img, .left-tabs-nav .tab-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.left-tabs-content {
	flex: 1;
	padding: 0;
	min-height: 420px;
	padding-left: 40px;
	border-left: 1px solid var(--e-global-color-5c272fa);
}

.tab-panel {
	display: none;
	animation: fadeIn .4s ease;
	flex-direction: row;
	gap: 32px;
	align-items: flex-start;
	height: 100%;
}

.tab-panel.active {
	display: flex;
}

.tab-main {
	flex: 6.5;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: 100%;
	padding: 65px 0 50px 0;
}

.tab-featured {
	flex: 3.5;
	position: relative;
	height: 100%;
	padding: 40px 0 40px 40px;
	background-color: var(--e-global-color-5c272fa);
	height: 100%;
	background-image: linear-gradient(180deg, rgba(61, 70, 68, .09) 0%, rgba(255, 255, 255, 0) 15%);
}

.tab-featured:after {
	content: "";
	background-image: linear-gradient(180deg, rgba(61, 70, 68, .09) 0%, rgba(255, 255, 255, 0) 15%);
	background-color: var(--e-global-color-5c272fa);
	width: 100%;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	position: absolute;
	transform: translateX(100%);
	/* z-index: 12; */
	border-radius: 0 0 15px 0;
	overflow: hidden;
}

/* ── Featured post card ─────────────────────────────────────────────────── */
.tab-featured-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	height: 100%;
	text-decoration: none;
	color: inherit;
	transition: transform .3s ease;
}

.tab-featured-card:hover {
	transform: translateY(-5px);
}

.tab-featured-card .tab-featured-card__category {
	background-color: var(--e-global-color-accent);
	margin: 0px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;
	padding: 2px 20px 2px 20px;
	border-radius: 1px 20px 1px 20px;
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: "Schnebel", Sans-serif;
	font-size: 12px;
	font-weight: normal;
	text-transform: uppercase;
	line-height: 1;
	color: var(--e-global-color-a6a45e3);
}

.tab-featured-card .tab-featured-card__image {
	flex: 1;
	min-height: 160px;
	max-height: 160px;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-color: var(--e-global-color-5c272fa);
	border-radius: 20px 20px 20px 20px;
}

.tab-featured-card__content {
	padding: 15px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tab-featured-card h3.tab-featured-card__title {
	margin: 0;
	font-size: 16px;
	font-weight: 900;
	line-height: 1.1;
	color: var(--e-global-color-secondary) !important;
}

.tab-featured-card .tab-featured-card__cta {
	font-size: 16px;
	color: var(--e-global-color-secondary) !important;
}

/* ── End featured post card ─────────────────────────────────────────────── */

/* Ensure the tab title can contain the absolute pseudo-element */
.left-tabs-nav a .tab-title, .active .tab-title {
	position: relative;
	display: inline-block;
}

/* Base state for all tabs */
.left-tabs-nav a .tab-title:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	height: 1px;
	/* Increased from 1px so it's visible with border-radius */
	border-radius: 2px;
	background: var(--e-global-color-accent);
	width: 30px;
	transform: translateX(-100%);
	opacity: 0;
	transition: transform .35s ease, opacity .35s ease;
}

/* Hover state */
.left-tabs-nav a:hover .tab-title:after {
	transform: translateX(0);
	opacity: 1;
}

/* Active state - force it to stay visible */
.active .tab-title:after {
	transform: translateX(0) !important;
	opacity: 1 !important;
}

.tab-menu .vertical-menu {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-auto-rows: auto;
	list-style: none;
}

.tab-menu .vertical-menu a {
	color: var(--e-global-color-text);
	text-decoration: none;
	padding: 10px 0;
	display: block;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
}

.tab-menu .vertical-menu a:hover {
	color: var(--e-global-color-text);
	-moz-transform: translateX(2px);
	-webkit-transform: translateX(2px);
	-o-transform: translateX(2px);
	-ms-transform: translateX(2px);
	transform: translateX(2px);
}

.tab-cta-wrapper {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 30px 13px;
	background: var(--e-global-color-5c272fa);
	border-radius: 6px;
}

.cta-body-text {
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;
	color: var(--e-global-color-text);
}

.cta-button-wrapper {}

.cta-button {
	display: inline-block;
	color: var(--e-global-color-text);
	position: relative;
	font-weight: normal;
	font-size: 16px;
	text-decoration: none;
	transition: all .3s ease;
}

.cta-button:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	height: 1px;
	border-radius: 2px;
	background: var(--e-global-color-accent);
	width: 30px;
	/* Fixed short underline visible by default */
	transform-origin: left center;
	transition: width .45s ease;
}

.cta-button:hover:after {
	width: 100%;
}

/* Optional: different easing for return to feel more natural */
.cta-button:hover:after {
	transition: width .5s ease-out;
}

.cta-button:after {
	transition: width .4s ease-in;
}

/* Optional enhancements */
.cta-button:hover {
	color: var(--e-global-color-accent);
}

.tab-content-title h2 {
	font-family: "Schnebel", Sans-serif;
	font-size: 14px !important;
	font-weight: normal !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	letter-spacing: 1px !important;
	color: var(--e-global-color-a5cae27);
	position: relative;
	padding-bottom: 6px;
	margin: 0 !important;
}

.tab-content-title h2 a {
	color: var(--e-global-color-a5cae27);
	position: relative;
	padding-bottom: 6px;
}

.tab-content-title h2:after {
	content: "";
	width: 30px;
	height: 1px;
	border-radius: 2px;
	background: var(--e-global-color-a5cae27);
	display: inline-block;
	position: absolute;
	bottom: 0;
	left: 0;
	transform-origin: left center;
	transition: width .45s ease;
}

.tab-content-title h2 a:hover:after {
	width: 100%;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	
	to {
		opacity: 1;
	}
}

@media (max-width: 767px) {
	.left-tabs-nav-content {
		flex-direction: column;
	}
	
	.left-tabs-nav {
		flex: none;
		max-width: 100%;
	}
}
