.elementor-widget-hermes-video-samples .hew-video-samples {
	--hew-vs-columns: 4;
	box-sizing: border-box;
	width: 100%;
	direction: rtl;
	color: #101c32;
	background: #fff;
}

.elementor-widget-hermes-video-samples .hew-video-samples *,
.elementor-widget-hermes-video-samples .hew-video-samples *::before,
.elementor-widget-hermes-video-samples .hew-video-samples *::after {
	box-sizing: border-box;
}

.elementor-widget-hermes-video-samples .hew-video-samples__header {
	width: 100%;
	text-align: center;
}

.elementor-widget-hermes-video-samples .hew-video-samples__title {
	margin: 0;
	font-size: clamp(28px, 3.3vw, 48px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.035em;
}

.elementor-widget-hermes-video-samples .hew-video-samples__title > span {
	display: inline;
}

.elementor-widget-hermes-video-samples .hew-video-samples__title > span + span::before {
	content: " ";
}

.elementor-widget-hermes-video-samples .hew-video-samples__subtitle {
	max-width: 760px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.9;
}

.elementor-widget-hermes-video-samples .hew-video-samples__toolbar {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	direction: rtl;
}

/* Physical RTL defaults for Persian sites: tabs on the viewer's right, search on the viewer's left. */
.elementor-widget-hermes-video-samples .hew-video-samples--search-left .hew-video-samples__tabs {
	order: 1;
}
.elementor-widget-hermes-video-samples .hew-video-samples--search-left .hew-video-samples__search {
	order: 2;
}

.elementor-widget-hermes-video-samples .hew-video-samples--search-right .hew-video-samples__tabs {
	order: 2;
}
.elementor-widget-hermes-video-samples .hew-video-samples--search-right .hew-video-samples__search {
	order: 1;
}

.elementor-widget-hermes-video-samples .hew-video-samples__tabs {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	direction: rtl;
}

.elementor-widget-hermes-video-samples .hew-video-samples__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	border: 1px solid #e8edf4;
	outline: none;
	background: #fff;
	color: #14213a;
	font: inherit;
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	transition: color .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.elementor-widget-hermes-video-samples .hew-video-samples__tab:hover,
.elementor-widget-hermes-video-samples .hew-video-samples__tab:focus-visible {
	transform: translateY(-1px);
}

.elementor-widget-hermes-video-samples .hew-video-samples__tab.is-active {
	background: #2563eb;
	color: #fff;
	border-color: #2563eb;
}

.elementor-widget-hermes-video-samples .hew-video-samples__tab-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 1;
	color: currentColor;
}

.elementor-widget-hermes-video-samples .hew-video-samples__tab-icon svg,
.elementor-widget-hermes-video-samples .hew-video-samples__tab-icon i {
	display: block;
	fill: currentColor;
}

.elementor-widget-hermes-video-samples .hew-video-samples__search {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	min-width: 0;
	border: 1px solid #e2e8f0;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.elementor-widget-hermes-video-samples .hew-video-samples__search--icon-end {
	flex-direction: row-reverse;
}

.elementor-widget-hermes-video-samples .hew-video-samples__search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin-inline-end: 10px;
	color: #475569;
}

.elementor-widget-hermes-video-samples .hew-video-samples__search--icon-end .hew-video-samples__search-icon {
	margin-inline: 10px 0;
}

.elementor-widget-hermes-video-samples .hew-video-samples__search-icon svg,
.elementor-widget-hermes-video-samples .hew-video-samples__search-icon i {
	display: block;
	fill: currentColor;
}

.elementor-widget-hermes-video-samples .hew-video-samples__search-input {
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	font: inherit;
	line-height: 1.5;
	text-align: right;
	direction: rtl;
}

.elementor-widget-hermes-video-samples .hew-video-samples__search-input::-webkit-search-cancel-button {
	cursor: pointer;
}

.elementor-widget-hermes-video-samples .hew-video-samples__grid-wrap {
	width: 100%;
}

.elementor-widget-hermes-video-samples .hew-video-samples__grid {
	display: grid;
	grid-template-columns: repeat(var(--hew-vs-columns, 4), minmax(0, 1fr));
	align-items: stretch;
	width: 100%;
}

.elementor-widget-hermes-video-samples .hew-video-samples--order-right .hew-video-samples__grid {
	direction: rtl;
}
.elementor-widget-hermes-video-samples .hew-video-samples--order-left .hew-video-samples__grid {
	direction: ltr;
}

.elementor-widget-hermes-video-samples .hew-video-samples__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: auto;
	overflow: hidden;
	direction: rtl;
	background: #fff;
	border: 1px solid #edf1f6;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.elementor-widget-hermes-video-samples .hew-video-samples__card:hover {
	transform: translateY(-2px);
}

.elementor-widget-hermes-video-samples .hew-video-samples__media {
	position: relative;
	flex: 0 0 auto;
	width: 100%;
	overflow: hidden;
	background: #eef3f9;
	isolation: isolate;
}

/* Keep the player perfectly aligned with the card: preserve only the top radius and remove any bottom rounding that native media controls may show. */
.elementor-widget-hermes-video-samples .hew-video-samples__media,
.elementor-widget-hermes-video-samples .hew-video-samples__video,
.elementor-widget-hermes-video-samples .hew-video-samples__poster-placeholder,
.elementor-widget-hermes-video-samples .hew-video-samples__poster-placeholder img {
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.elementor-widget-hermes-video-samples .hew-video-samples__video::-webkit-media-controls-enclosure,
.elementor-widget-hermes-video-samples .hew-video-samples__video::-webkit-media-controls-panel {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}

.elementor-widget-hermes-video-samples .hew-video-samples__video,
.elementor-widget-hermes-video-samples .hew-video-samples__poster-placeholder,
.elementor-widget-hermes-video-samples .hew-video-samples__poster-placeholder img {
	display: block;
	width: 100%;
	height: 100%;
}

.elementor-widget-hermes-video-samples .hew-video-samples__video,
.elementor-widget-hermes-video-samples .hew-video-samples__poster-placeholder img {
	object-fit: cover;
}

.elementor-widget-hermes-video-samples .hew-video-samples__poster-placeholder {
	background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
}

.elementor-widget-hermes-video-samples .hew-video-samples__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 32%;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(to top, rgba(8, 15, 30, .22), transparent);
}

.elementor-widget-hermes-video-samples .hew-video-samples__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 999px;
	transform: translate(-50%, -50%);
	background: #fff;
	color: #2563eb;
	cursor: pointer;
	transition: opacity .2s ease, transform .2s ease, color .2s ease, background-color .2s ease;
}

.elementor-widget-hermes-video-samples .hew-video-samples__play:hover {
	transform: translate(-50%, -50%) scale(1.04);
}

.elementor-widget-hermes-video-samples .hew-video-samples__play:disabled {
	cursor: default;
	opacity: .78;
}

.elementor-widget-hermes-video-samples .hew-video-samples__play svg {
	width: 42%;
	height: 42%;
	margin-inline-start: 3%;
}

.elementor-widget-hermes-video-samples .hew-video-samples__card.is-started .hew-video-samples__play {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.elementor-widget-hermes-video-samples .hew-video-samples__duration {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 58px;
	padding: 5px 9px;
	direction: ltr;
	background: rgba(17, 24, 39, .78);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
	backdrop-filter: blur(5px);
}

.elementor-widget-hermes-video-samples.hew-video-samples--duration-right .hew-video-samples__duration {
	right: 10px;
	left: auto;
}
.elementor-widget-hermes-video-samples.hew-video-samples--duration-left .hew-video-samples__duration {
	right: auto;
	left: 10px;
}

.elementor-widget-hermes-video-samples .hew-video-samples__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	direction: rtl;
}

.elementor-widget-hermes-video-samples .hew-video-samples__copy {
	flex: 0 0 auto;
	min-height: 0;
}

.elementor-widget-hermes-video-samples .hew-video-samples__card-title {
	margin: 0;
	color: #101c32;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.55;
}

.elementor-widget-hermes-video-samples .hew-video-samples__description {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	min-block-size: 2lh;
	color: #65728a;
	font-size: 14px;
	line-height: 1.8;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.elementor-widget-hermes-video-samples .hew-video-samples__views {
	display: inline-flex;
	align-items: center;
	align-self: flex-end;
	gap: 7px;
	margin-top: 6px;
	color: #64748b;
	font-size: 12px;
	line-height: 1.4;
}

.elementor-widget-hermes-video-samples .hew-video-samples__views svg {
	display: block;
	flex: 0 0 auto;
	color: #53657f;
}

.elementor-widget-hermes-video-samples .hew-video-samples__empty {
	width: 100%;
	padding: 38px 18px;
	text-align: center;
	color: #64748b;
	font-size: 14px;
}

.elementor-widget-hermes-video-samples [hidden] {
	display: none !important;
}

@media (max-width: 1024px) {
	.elementor-widget-hermes-video-samples .hew-video-samples__toolbar {
		align-items: flex-start;
	}
	.elementor-widget-hermes-video-samples .hew-video-samples__tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		scrollbar-width: thin;
		padding-bottom: 3px;
	}
}

@media (max-width: 767px) {
	.elementor-widget-hermes-video-samples .hew-video-samples__toolbar {
		flex-direction: column;
		align-items: stretch;
	}
	.elementor-widget-hermes-video-samples .hew-video-samples__tabs,
	.elementor-widget-hermes-video-samples .hew-video-samples__search {
		width: 100%;
		max-width: 100%;
	}
	.elementor-widget-hermes-video-samples .hew-video-samples__tabs {
		order: 1 !important;
	}
	.elementor-widget-hermes-video-samples .hew-video-samples__search {
		order: 2 !important;
	}
	.elementor-widget-hermes-video-samples .hew-video-samples__title {
		font-size: clamp(25px, 8vw, 36px);
	}
	.elementor-widget-hermes-video-samples .hew-video-samples__subtitle {
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elementor-widget-hermes-video-samples .hew-video-samples__tab,
	.elementor-widget-hermes-video-samples .hew-video-samples__card,
	.elementor-widget-hermes-video-samples .hew-video-samples__play {
		transition: none !important;
	}
}
