.taxdescvideo-widget {
	padding: 22px 0;
}

.taxdescvideo-head .taxdescvideo-term-name {
	display: inline-flex;
	margin-top: 10px;
	padding: 6px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--uicolor), var(--uicolor2));
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.taxdescvideo-grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 22px;
	align-items: start;
}

.taxdescvideo-widget.no-video .taxdescvideo-grid {
	grid-template-columns: 1fr;
}

.taxdescvideo-content {
	background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
	border: 1px solid #e7edf6;
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	max-height: 350px;
	overflow: auto;
}

.taxdescvideo-description {
	color: var(--secondarytext);
	line-height: 1.9;
	font-size: 18px;
}

.taxdescvideo-description p:last-child {
	margin-bottom: 0;
}

.taxdescvideo-video-col {
	display: flex;
}

.taxdescvideo-video-wrap {
	width: 100%;
	background: linear-gradient(145deg, #0b1529 0%, #1a2337 100%);
	border-radius: 16px;
	padding: 10px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.taxdescvideo-video-wrap > iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 12px;
	aspect-ratio: 16 / 9;
	min-height: 260px;
}

.taxdescvideo-video {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	cursor: pointer;
}

.taxdescvideo-video::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.08));
	transition: opacity 0.3s ease;
}

.taxdescvideo-video:hover::after {
	opacity: 0.85;
}

.taxdescvideo-video img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.taxdescvideo-video:hover img {
	transform: scale(1.04);
}

.taxdescvideo-video .icon-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	color: #111827;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	z-index: 2;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 750px) {
	.taxdescvideo-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.taxdescvideo-content {
		padding: 14px;
		border-radius: 12px;
	}

	.taxdescvideo-description {
		font-size: 15px;
		line-height: 1.85;
	}

	.taxdescvideo-video-wrap {
		border-radius: 12px;
		padding: 8px;
	}

	.taxdescvideo-video-wrap > iframe {
		min-height: 190px;
	}

	.taxdescvideo-video .icon-video-play {
		width: 54px;
		height: 54px;
		font-size: 19px;
	}
}
