/*!
 * TechiEvolve Mega Menu - frontend styles
 *
 * Every colour, size and font comes from CSS custom properties (--tevm-*)
 * that the plugin prints on each menu wrapper, so several menus with
 * different looks can live on the same page. Nothing here is hardcoded to a
 * brand colour.
 */

@font-face {
	font-family: "tevm-icons";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/bootstrap-icons.woff2") format("woff2"), url("../fonts/bootstrap-icons.woff") format("woff");
}

/* ---------------------------------------------------------------
 * Base / reset (defensive: themes style a, ul, button globally)
 * ------------------------------------------------------------- */
.tevm {
	display: contents;
	font-family: var(--tevm-font, inherit);
	font-size: 14px;
	line-height: 1.4;
	color: var(--tevm-text);
	-webkit-text-size-adjust: 100%;
}
.tevm *,
.tevm *::before,
.tevm *::after {
	box-sizing: border-box;
}
html .tevm ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
html .tevm li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.tevm li::marker {
	content: "";
}
html .tevm a,
html .tevm a:where(:hover, :focus, :active, :visited) {
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	text-decoration: none !important;
	box-shadow: none;
	background-image: none;
	border-bottom: 0;
	outline-offset: 2px;
}
html .tevm h4,
html .tevm h5 {
	margin: 0;
	padding: 0;
	font-family: inherit;
	letter-spacing: inherit;
	text-transform: none;
	border: 0;
}
html .tevm p {
	margin: 0;
}
html .tevm button {
	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	line-height: inherit;
	text-transform: none;
	letter-spacing: inherit;
	cursor: pointer;
	min-height: 0;
	min-width: 0;
	text-shadow: none;
}
.tevm a:focus-visible,
.tevm button:focus-visible,
.tevm input:focus-visible {
	outline: 2px solid var(--tevm-primary);
	outline-offset: 2px;
}
.tevm svg {
	display: block;
}

/* Icons */
.tevm .tevm-i {
	font-family: "tevm-icons" !important;
	font-style: normal;
	font-weight: 400 !important;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	display: inline-block;
	vertical-align: -0.125em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	speak: none;
}
.tevm .tevm-i--img {
	font-family: inherit !important;
	width: 1.15em;
	height: 1.15em;
	vertical-align: middle;
}
.tevm .tevm-i--img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 0;
	box-shadow: none;
}

html.tevm-lock,
html.tevm-lock body {
	overflow: hidden !important;
}

/* ---------------------------------------------------------------
 * Bar
 * ------------------------------------------------------------- */
.tevm .tevm-bar {
	position: relative;
	z-index: var(--tevm-z, 200);
	width: 100%;
	background: var(--tevm-bar-bg);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid var(--tevm-line);
	transition: box-shadow 0.3s;
}
.tevm .tevm-bar.is-sticky {
	position: -webkit-sticky;
	position: sticky;
	top: var(--tevm-sticky-top, 0);
}
.tevm .tevm-bar.is-scrolled {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
body.admin-bar .tevm .tevm-bar.is-sticky {
	top: calc(var(--tevm-sticky-top, 0px) + 32px);
}
@media (max-width: 782px) {
	body.admin-bar .tevm .tevm-bar.is-sticky {
		top: calc(var(--tevm-sticky-top, 0px) + 46px);
	}
}
@media (max-width: 600px) {
	body.admin-bar .tevm .tevm-bar.is-sticky {
		top: var(--tevm-sticky-top, 0);
	}
}

.tevm .tevm-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	max-width: var(--tevm-container, 100%);
	height: var(--tevm-bar-height, 74px);
	margin: 0 auto;
	padding: 0 16px;
}
.tevm .tevm-navwrap {
	display: flex;
	flex: 1 1 auto;
	justify-content: var(--tevm-justify, center);
	height: 100%;
	min-width: 0;
}
.tevm .tevm-nav {
	display: flex;
	align-items: center;
	gap: 2px;
	height: 100%;
}
.tevm .tevm-item {
	display: flex;
	align-items: center;
	height: 100%;
}
.tevm .tevm-item.is-dropdown {
	position: relative;
}

.tevm .tevm-top {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	height: 100%;
	padding: 0 var(--tevm-top-padding, 7px);
	font-family: inherit;
	font-size: var(--tevm-top-size, 12.5px);
	font-weight: var(--tevm-top-weight, 700);
	letter-spacing: var(--tevm-top-spacing, 0.01em);
	text-transform: var(--tevm-top-transform, uppercase);
	line-height: 1.2;
	white-space: nowrap;
	color: var(--tevm-top-text);
	transition: color 0.2s;
}
.tevm .tevm-top::after {
	content: "";
	position: absolute;
	left: var(--tevm-top-padding, 7px);
	right: var(--tevm-top-padding, 7px);
	bottom: calc(var(--tevm-bar-height, 74px) * 0.24);
	height: 3px;
	border-radius: 2px;
	background: var(--tevm-primary);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s;
}
.tevm .tevm-top .tevm-chev {
	font-size: 0.88em;
	color: var(--tevm-muted);
	transition: transform 0.25s, color 0.25s;
}
.tevm .tevm-top:hover,
.tevm .tevm-item.is-open > .tevm-top,
.tevm .tevm-item.is-current > .tevm-top,
.tevm .tevm-item.is-current-ancestor > .tevm-top {
	color: var(--tevm-top-hover);
}
.tevm .tevm-top:hover::after,
.tevm .tevm-item.is-open > .tevm-top::after,
.tevm .tevm-item.is-current > .tevm-top::after,
.tevm .tevm-item.is-current-ancestor > .tevm-top::after {
	transform: scaleX(1);
}
.tevm .tevm-item.is-open > .tevm-top .tevm-chev {
	transform: rotate(180deg);
	color: var(--tevm-top-hover);
}
@media (hover: hover) {
	.tevm.tevm--open-hover .tevm-item.has-panel:hover > .tevm-top {
		color: var(--tevm-top-hover);
	}
	.tevm.tevm--open-hover .tevm-item.has-panel:hover > .tevm-top::after {
		transform: scaleX(1);
	}
	.tevm.tevm--open-hover .tevm-item.has-panel:hover > .tevm-top .tevm-chev {
		transform: rotate(180deg);
		color: var(--tevm-top-hover);
	}
}

/* Badge pills */
.tevm .tevm-pill {
	display: inline-block;
	font-size: 9px;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: 0.04em;
	color: var(--tevm-pill-text);
	background: var(--tevm-pill-bg);
	padding: 2px 7px;
	border-radius: 100px;
	text-transform: uppercase;
	vertical-align: middle;
}
.tevm .tevm-pill--dark {
	background: var(--tevm-pill-dark-bg);
}

/* Burger */
.tevm .tevm-burger {
	display: none;
	align-items: center;
	gap: 8px;
	font-size: 27px;
	line-height: 1;
	color: var(--tevm-heading);
	padding: 6px;
}
.tevm .tevm-burger-label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* ---------------------------------------------------------------
 * Panels (mega + dropdown)
 * ------------------------------------------------------------- */
.tevm .tevm-panel {
	position: absolute;
	top: var(--tevm-bar-height, 74px);
	left: 50%;
	z-index: 120;
	width: min(var(--tevm-panel-width, 1240px), 96vw);
	padding: 22px 22px 16px;
	background: var(--tevm-bg);
	color: var(--tevm-text);
	border: 1px solid var(--tevm-line);
	border-top: 3px solid var(--tevm-primary);
	border-radius: var(--tevm-radius-lg, 20px);
	box-shadow: 0 34px 80px rgba(0, 0, 0, 0.26);
	opacity: 0;
	visibility: hidden;
	transform: translateX(calc(-50% + var(--tevm-shift, 0px))) translateY(12px);
	transition: opacity 0.26s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.26s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.26s;
	text-align: left;
}
.tevm .tevm-panel::before {
	content: "";
	position: absolute;
	top: -14px;
	left: 0;
	right: 0;
	height: 18px;
}
.tevm .tevm-item.is-open > .tevm-panel {
	opacity: 1;
	visibility: visible;
	transform: translateX(calc(-50% + var(--tevm-shift, 0px))) translateY(0);
	transition: opacity 0.26s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.26s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@media (hover: hover) {
	.tevm.tevm--open-hover .tevm-item.has-panel:hover > .tevm-panel {
		opacity: 1;
		visibility: visible;
		transform: translateX(calc(-50% + var(--tevm-shift, 0px))) translateY(0);
		transition: opacity 0.26s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.26s cubic-bezier(0.2, 0.7, 0.2, 1);
	}
}

/* Dropdown panel is anchored to its own item. */
.tevm .tevm-panel.is-dropdown {
	top: 100%;
	width: min(var(--tevm-dd-w, 580px), 92vw);
	padding: 14px;
}
.tevm .tevm-panel.is-dropdown.is-wide {
	padding: 18px;
}
.tevm .tevm-panel.is-dropdown.edge-r {
	left: auto;
	right: 0;
	transform: translateX(0) translateY(12px);
}
.tevm .tevm-panel.is-dropdown.edge-l {
	left: 0;
	transform: translateX(0) translateY(12px);
}
.tevm .tevm-item.is-open > .tevm-panel.is-dropdown.edge-r,
.tevm .tevm-item.is-open > .tevm-panel.is-dropdown.edge-l {
	transform: translateX(0) translateY(0);
}
@media (hover: hover) {
	.tevm.tevm--open-hover .tevm-item.has-panel:hover > .tevm-panel.is-dropdown.edge-r,
	.tevm.tevm--open-hover .tevm-item.has-panel:hover > .tevm-panel.is-dropdown.edge-l {
		transform: translateX(0) translateY(0);
	}
}

/* Mega layout */
.tevm .tevm-panel-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}
.tevm .tevm-panel-inner.has-rail {
	grid-template-columns: minmax(0, 1fr) var(--tevm-rail-width, 250px);
}
.tevm .tevm-grid {
	display: grid;
	grid-template-columns: repeat(var(--tevm-cols, 4), minmax(0, 1fr));
	gap: 6px;
}
.tevm .tevm-group {
	padding: 6px;
	min-width: 0;
}
.tevm .tevm-group-head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 10px;
	padding-bottom: 9px;
	border-bottom: 1px solid var(--tevm-line);
}
.tevm .tevm-gi {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	font-size: 15px;
	color: #fff;
	background: linear-gradient(135deg, var(--tevm-dark-1), var(--tevm-dark-2));
}
.tevm .tevm-gi--accent {
	background: var(--tevm-primary);
}
.tevm .tevm-group-head h4 {
	font-size: 12px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--tevm-heading);
}
.tevm .tevm-links {
	display: flex;
	flex-direction: column;
	gap: 1px;
}
.tevm .tevm-links a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 9px;
	border-radius: calc(var(--tevm-radius, 14px) * 0.65);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--tevm-text);
	transition: 0.18s;
}
.tevm .tevm-dot {
	flex-shrink: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--tevm-primary);
	opacity: 0;
	transition: 0.18s;
}
.tevm .tevm-links a:hover,
.tevm .tevm-links a[aria-current="page"] {
	background: var(--tevm-soft);
	color: var(--tevm-primary);
	padding-left: 12px;
}
.tevm .tevm-links a:hover .tevm-dot,
.tevm .tevm-links a[aria-current="page"] .tevm-dot {
	opacity: 1;
}
.tevm .tevm-tag {
	flex-shrink: 0;
	margin-left: auto;
	padding: 1px 6px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.05em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--tevm-primary);
	border: 1px solid rgba(var(--tevm-primary-rgb), 0.4);
	border-radius: 100px;
}

/* Rail */
.tevm .tevm-rail {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}
.tevm .tevm-rail-head {
	display: flex;
	align-items: center;
	gap: 9px;
}
.tevm .tevm-rail-head h4 {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--tevm-heading);
}
.tevm .tevm-promo {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 15px;
	overflow: hidden;
	border-radius: var(--tevm-radius, 14px);
	background: linear-gradient(135deg, var(--tevm-dark-1), var(--tevm-dark-2));
	color: #fff;
}
.tevm .tevm-promo::before {
	content: "";
	position: absolute;
	top: -70px;
	right: -50px;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--tevm-primary-rgb), 0.4), transparent 70%);
	pointer-events: none;
}
.tevm .tevm-art {
	position: relative;
	aspect-ratio: 120 / 64;
	overflow: hidden;
	border-radius: 10px;
}
.tevm .tevm-art svg,
.tevm .tevm-art img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tevm .tevm-promo h5 {
	position: relative;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
	color: #fff;
}
.tevm .tevm-promo p {
	position: relative;
	font-size: 12px;
	color: #cfcfd6;
}
.tevm .tevm-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 16px;
	border: 2px solid transparent;
	border-radius: 100px;
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1;
	color: #fff !important;
	background: var(--tevm-primary);
	box-shadow: 0 8px 20px rgba(var(--tevm-primary-rgb), 0.32);
	transition: 0.25s;
}
.tevm .tevm-btn:hover {
	background: var(--tevm-primary-dark);
	transform: translateY(-2px);
}
.tevm .tevm-btn .tevm-i {
	transition: transform 0.25s;
}
.tevm .tevm-btn:hover .tevm-i {
	transform: translateX(3px);
}
.tevm .tevm-promo .tevm-btn {
	width: 100%;
}
.tevm .tevm-btn.is-block {
	display: flex;
	width: 100%;
	padding: 14px 20px;
	font-size: 14px;
}
.tevm .tevm-trust {
	position: relative;
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	color: #bdbdc6;
}
.tevm .tevm-stars {
	font-size: 11px;
	letter-spacing: 1px;
	color: #ffc940;
}

.tevm .tevm-feat {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 8px;
	background: var(--tevm-bg);
	border: 1px solid var(--tevm-line);
	border-radius: calc(var(--tevm-radius, 14px) * 0.85);
	transition: 0.22s;
}
.tevm .tevm-feat:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	border-color: rgba(var(--tevm-primary-rgb), 0.45);
}
.tevm .tevm-thumb {
	flex-shrink: 0;
	width: 74px;
	aspect-ratio: 120 / 76;
	overflow: hidden;
	border-radius: 9px;
}
.tevm .tevm-thumb svg,
.tevm .tevm-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.tevm .tevm-feat-body {
	min-width: 0;
}
.tevm .tevm-feat-body b {
	display: block;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--tevm-heading);
}
.tevm .tevm-feat-tag {
	display: inline-block;
	margin-top: 4px;
	padding: 2px 7px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tevm-primary);
	background: rgba(var(--tevm-primary-rgb), 0.1);
	border-radius: 100px;
}
.tevm .tevm-go {
	flex-shrink: 0;
	margin-left: auto;
	font-size: 14px;
	color: var(--tevm-muted);
	transition: 0.2s;
}
.tevm .tevm-feat:hover .tevm-go {
	color: var(--tevm-primary);
	transform: translateX(2px);
}
.tevm .tevm-rail-more {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 2px;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--tevm-primary);
}
.tevm .tevm-rail-more:hover {
	gap: 8px;
}

/* Footer strip */
.tevm .tevm-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	padding-top: 13px;
	border-top: 1px solid var(--tevm-line);
	font-size: 12.5px;
	color: var(--tevm-muted);
}
.tevm .tevm-foot-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}
.tevm .tevm-foot-stats span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.tevm .tevm-foot-stats .tevm-i {
	color: var(--tevm-primary);
}
.tevm .tevm-foot > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 800;
	white-space: nowrap;
	color: var(--tevm-primary);
}
.tevm .tevm-foot > a:hover {
	gap: 9px;
}

/* Dropdown lists */
.tevm .tevm-dlist {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
}
.tevm .tevm-dlist.is-one {
	grid-template-columns: 1fr;
}
.tevm .tevm-dlist a {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 11px;
	border-radius: calc(var(--tevm-radius, 14px) * 0.8);
	transition: 0.18s;
}
.tevm .tevm-dlist a:hover,
.tevm .tevm-dlist a[aria-current="page"] {
	background: var(--tevm-soft);
}
.tevm .tevm-di {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	border-radius: 9px;
	font-size: 16px;
	color: var(--tevm-heading);
	background: var(--tevm-soft);
	transition: 0.2s;
}
.tevm .tevm-dlist a:hover .tevm-di,
.tevm .tevm-dlist a[aria-current="page"] .tevm-di {
	color: #fff;
	background: var(--tevm-primary);
}
.tevm .tevm-dtext b {
	display: block;
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--tevm-heading);
}
.tevm .tevm-ddesc {
	display: block;
	font-size: 11.5px;
	line-height: 1.35;
	color: var(--tevm-muted);
}
.tevm .tevm-dcols {
	display: grid;
	grid-template-columns: repeat(var(--tevm-dcols, 2), minmax(0, 1fr));
	gap: 18px;
}

/* ---------------------------------------------------------------
 * Mobile drawer
 * ------------------------------------------------------------- */
.tevm .tevm-scrim {
	position: fixed;
	inset: 0;
	z-index: calc(var(--tevm-z, 200) + 9);
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0s 0.3s;
}
.tevm .tevm-scrim.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.3s;
}
.tevm .tevm-drawer {
	position: fixed;
	top: 0;
	z-index: calc(var(--tevm-z, 200) + 10);
	display: flex;
	flex-direction: column;
	width: min(var(--tevm-drawer-width, 430px), 92vw);
	height: 100vh;
	height: 100dvh;
	background: var(--tevm-bg);
	color: var(--tevm-text);
	box-shadow: 0 34px 80px rgba(0, 0, 0, 0.26);
	visibility: hidden;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.35s;
	text-align: left;
}
.tevm .tevm-drawer.is-right {
	right: 0;
	transform: translateX(105%);
}
.tevm .tevm-drawer.is-left {
	left: 0;
	transform: translateX(-105%);
}
.tevm .tevm-drawer.is-open {
	transform: none;
	visibility: visible;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
body.admin-bar .tevm .tevm-drawer {
	top: 32px;
	height: calc(100vh - 32px);
	height: calc(100dvh - 32px);
}
@media (max-width: 782px) {
	body.admin-bar .tevm .tevm-drawer {
		top: 46px;
		height: calc(100vh - 46px);
		height: calc(100dvh - 46px);
	}
}
@media (max-width: 600px) {
	body.admin-bar .tevm .tevm-drawer {
		top: 0;
		height: 100vh;
		height: 100dvh;
	}
}

.tevm .tevm-drawer-top {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid var(--tevm-line);
}
.tevm .tevm-drawer-logo {
	display: inline-flex;
	align-items: center;
	color: var(--tevm-heading);
}
.tevm .tevm-drawer-logo img {
	display: block;
	width: auto;
	max-width: 220px;
	height: var(--tevm-logo-height, 34px);
	object-fit: contain;
}
.tevm .tevm-drawer-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--tevm-heading);
}
.tevm .tevm-close {
	font-size: 26px;
	line-height: 1;
	padding: 4px;
	color: var(--tevm-heading);
}
.tevm .tevm-drawer-body {
	flex: 1;
	padding: 12px 12px 18px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}
.tevm .tevm-drawer-foot {
	display: flex;
	flex-shrink: 0;
	flex-direction: column;
	gap: 9px;
	padding: 14px 16px;
	background: var(--tevm-bg);
	border-top: 1px solid var(--tevm-line);
}
.tevm .tevm-help {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--tevm-muted);
}
.tevm .tevm-help a {
	font-weight: 800;
	color: var(--tevm-heading);
}

.tevm .tevm-msearch {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 2px 2px 10px;
	padding: 10px 13px;
	background: var(--tevm-soft);
	border: 1px solid var(--tevm-line);
	border-radius: calc(var(--tevm-radius, 14px) * 0.85);
}
.tevm .tevm-msearch .tevm-i {
	font-size: 15px;
	color: var(--tevm-muted);
}
.tevm .tevm-msearch input[type="search"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	font: inherit;
	font-size: 14px;
	color: var(--tevm-text);
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	outline: none;
}
.tevm .tevm-msearch input::placeholder {
	color: var(--tevm-muted);
	opacity: 0.7;
}

.tevm .tevm-qgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 0 2px 12px;
}
.tevm .tevm-qt {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 7px;
	padding: 12px;
	overflow: hidden;
	border: 1px solid transparent;
	border-radius: calc(var(--tevm-radius, 14px) * 0.95);
	background: linear-gradient(135deg, var(--tevm-dark-1), var(--tevm-dark-2));
	color: #fff !important;
	transition: 0.2s;
}
.tevm .tevm-qt::after {
	content: "";
	position: absolute;
	top: -35px;
	right: -25px;
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--tevm-primary-rgb), 0.4), transparent 70%);
	pointer-events: none;
}
.tevm .tevm-qt:active {
	transform: scale(0.97);
}
.tevm .tevm-qt.is-light {
	background: var(--tevm-bg);
	border-color: var(--tevm-line);
	color: var(--tevm-heading) !important;
}
.tevm .tevm-qt.is-light::after {
	background: radial-gradient(circle, rgba(var(--tevm-primary-rgb), 0.12), transparent 70%);
}
.tevm .tevm-qi {
	position: relative;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	font-size: 15px;
	color: #fff;
	background: var(--tevm-primary);
}
.tevm .tevm-qt b {
	position: relative;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}
.tevm .tevm-qt small {
	position: relative;
	font-size: 10.5px;
	opacity: 0.75;
}

/* Accordions */
.tevm .tevm-acc {
	border-bottom: 1px solid var(--tevm-line);
}
.tevm .tevm-acc:last-child {
	border-bottom: 0;
}
.tevm .tevm-acc-h,
.tevm .tevm-simple {
	display: flex;
	align-items: center;
	gap: 11px;
	width: 100%;
	padding: 14px 8px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.01em;
	text-align: left;
	text-transform: uppercase;
	color: var(--tevm-heading) !important;
}
.tevm .tevm-simple {
	border-bottom: 1px solid var(--tevm-line);
}
.tevm .tevm-ico {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	font-size: 15px;
	color: var(--tevm-heading);
	background: var(--tevm-soft);
	transition: 0.2s;
}
.tevm .tevm-acc.is-open > .tevm-acc-h .tevm-ico {
	color: #fff;
	background: var(--tevm-primary);
}
.tevm .tevm-acc-h .tevm-ch {
	margin-left: auto;
	font-size: 13px;
	color: var(--tevm-muted);
	transition: transform 0.3s, color 0.3s;
}
.tevm .tevm-acc.is-open > .tevm-acc-h .tevm-ch {
	transform: rotate(180deg);
	color: var(--tevm-primary);
}
.tevm .tevm-acc-h .tevm-pill,
.tevm .tevm-simple .tevm-pill {
	font-size: 8.5px;
	margin-left: 2px;
}

/* Collapsing panels use the 0fr -> 1fr grid trick so nested groups animate too. */
.tevm .tevm-acc-c,
.tevm .tevm-grp-c {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
}
.tevm .tevm-acc.is-open > .tevm-acc-c,
.tevm .tevm-grp.is-open > .tevm-grp-c,
.tevm .tevm-grp-c.is-static {
	grid-template-rows: 1fr;
}
.tevm .tevm-acc-inner,
.tevm .tevm-grp-in {
	min-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: visibility 0s 0.35s;
}
.tevm .tevm-acc.is-open > .tevm-acc-c > .tevm-acc-inner,
.tevm .tevm-grp.is-open > .tevm-grp-c > .tevm-grp-in,
.tevm .tevm-grp-c.is-static > .tevm-grp-in {
	visibility: visible;
	transition: visibility 0s 0s;
}
.tevm .tevm-acc-inner > :first-child {
	margin-top: 2px;
}
.tevm .tevm-acc-inner > :last-child {
	margin-bottom: 12px;
}

.tevm .tevm-grp {
	margin: 0 0 2px 12px;
	padding-left: 6px;
	border-left: 2px solid var(--tevm-line);
}
.tevm .tevm-grp.is-bare {
	border-left: 0;
	margin-left: 4px;
	padding-left: 0;
}
.tevm .tevm-grp-h {
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	padding: 11px 8px;
	font-size: 12.5px;
	font-weight: 800;
	letter-spacing: 0.03em;
	text-align: left;
	text-transform: uppercase;
	color: var(--tevm-heading) !important;
}
.tevm .tevm-grp-h .tevm-gi {
	width: 24px;
	height: 24px;
	border-radius: 7px;
	font-size: 12px;
}
.tevm .tevm-grp-h .tevm-ch {
	margin-left: auto;
	font-size: 12px;
	color: var(--tevm-muted);
	transition: transform 0.3s, color 0.3s;
}
.tevm .tevm-grp.is-open > .tevm-grp-h .tevm-ch {
	transform: rotate(180deg);
	color: var(--tevm-primary);
}
.tevm .tevm-grp-list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 2px 2px 10px;
}
.tevm .tevm-grp-list a {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	min-height: 38px;
	padding: 9px 10px;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tevm-text);
	background: var(--tevm-soft);
	border-radius: calc(var(--tevm-radius, 14px) * 0.7);
}
.tevm .tevm-grp-list a:active,
.tevm .tevm-grp-list a[aria-current="page"] {
	color: var(--tevm-primary);
}
.tevm .tevm-grp-list .tevm-tag {
	margin-top: 1px;
	padding: 1px 5px;
	font-size: 8px;
}
.tevm .tevm-mini-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 7px;
	padding: 4px 2px 12px;
}
.tevm .tevm-mini {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 11px;
	background: var(--tevm-soft);
	border-radius: calc(var(--tevm-radius, 14px) * 0.85);
}
.tevm .tevm-mi {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	font-size: 15px;
	color: var(--tevm-heading);
	background: var(--tevm-bg);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.tevm .tevm-mini b {
	font-size: 12.5px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--tevm-heading);
}
.tevm .tevm-mini span:not(.tevm-mi) {
	font-size: 10.5px;
	line-height: 1.3;
	color: var(--tevm-muted);
}
.tevm .tevm-mfoot {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 4px 12px 0;
	font-size: 13px;
	font-weight: 800;
	color: var(--tevm-primary) !important;
}
@media (max-width: 399px) {
	.tevm .tevm-grp-list {
		grid-template-columns: 1fr;
	}
}

/* Default breakpoint if the inline responsive rules are ever missing. */
@media (max-width: 1080px) {
	.tevm[data-bp="1080"] .tevm-navwrap {
		display: none;
	}
	.tevm[data-bp="1080"] .tevm-burger {
		display: inline-flex;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tevm *,
	.tevm *::before,
	.tevm *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ---------------------------------------------------------------
 * Theme-proofing: many themes style every <button> (dark fills,
 * borders, hover colors). The menu's own buttons must ignore that.
 * ------------------------------------------------------------- */
html .tevm .tevm-burger,
html .tevm .tevm-close,
html .tevm .tevm-acc-h,
html .tevm .tevm-grp-h,
html .tevm .tevm-copy {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	text-shadow: none !important;
	transform: none;
}
html .tevm .tevm-burger:hover,
html .tevm .tevm-close:hover,
html .tevm .tevm-acc-h:hover,
html .tevm .tevm-grp-h:hover,
html .tevm .tevm-burger:focus,
html .tevm .tevm-close:focus,
html .tevm .tevm-acc-h:focus,
html .tevm .tevm-grp-h:focus {
	background: transparent !important;
	box-shadow: none !important;
}
html .tevm .tevm-burger,
html .tevm .tevm-close {
	color: var(--tevm-heading) !important;
}
html .tevm .tevm-acc-h,
html .tevm .tevm-grp-h {
	color: var(--tevm-heading) !important;
}
html .tevm button:focus:not(:focus-visible),
html .tevm a:focus:not(:focus-visible) {
	outline: 0 !important;
	background-color: transparent;
}
html .tevm .tevm-links a:focus:not(:focus-visible),
html .tevm .tevm-dlist a:focus:not(:focus-visible),
html .tevm .tevm-grp-list a:focus:not(:focus-visible) {
	background-color: transparent;
}
