/**
 * YouTube Carousel — Cardiac Surgery
 * Mirrors .elementor-element-f1b8bca / bc94f97 / 52aaf5e
 */

.cs-ytc {
	--cs-ytc-primary: #1b3954;
	--cs-ytc-radius: 15px;
	--cs-ytc-gap: 20px;
	position: relative;
	min-height: 1px;
	width: 100%;
}

.cs-ytc__carousel {
	position: relative;
	min-height: 1px;
}

.cs-ytc .owl-stage {
	transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

.cs-ytc__item {
	position: relative;
	transition: 0.3s;
	text-align: center;
	border-radius: var(--cs-ytc-radius);
	overflow: hidden;
}

.cs-ytc__placeholder {
	position: relative;
	aspect-ratio: 16 / 9;
	width: 100%;
	height: auto;
	min-height: 0;
	overflow: hidden;
	border-radius: var(--cs-ytc-radius);
}

.cs-ytc__image {
	display: block;
	aspect-ratio: 16 / 9;
	width: 100%;
	height: auto !important;
	min-height: 0 !important;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	transition: 0.3s;
	border-radius: var(--cs-ytc-radius);
}

.cs-ytc__link {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 2;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: transparent !important;
	cursor: pointer;
	overflow: hidden;
	border-radius: var(--cs-ytc-radius);
	-webkit-tap-highlight-color: transparent;
	opacity: 1;
}

.cs-ytc__link::before {
	content: "" !important;
	display: block !important;
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: rgba(27, 57, 84, 0.28) !important;
	background-color: rgba(27, 57, 84, 0.28) !important;
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}

.cs-ytc__link:hover::before,
.cs-ytc__link:focus::before,
.cs-ytc__link:focus-visible::before,
.cs-ytc__link:active::before,
.cs-ytc__link.is-pressed::before {
	opacity: 1;
}

.cs-ytc__link:hover,
.cs-ytc__link:focus,
.cs-ytc__link:focus-visible,
.cs-ytc__link:active {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	color: transparent !important;
	opacity: 1 !important;
}

.cs-ytc__link:focus-visible {
	outline: 2px solid var(--cs-ytc-primary);
	outline-offset: 2px;
}

.cs-ytc__link::after,
.cs-ytc__item::before,
.cs-ytc__item::after,
.cs-ytc__placeholder::before,
.cs-ytc__placeholder::after {
	content: none !important;
	display: none !important;
	background: none !important;
}

/* Owl base tweaks (Tracy Vu / page CSS parity) */
.cs-ytc .owl-item {
	height: 0 !important;
}

.cs-ytc .owl-item.active,
.cs-ytc .owl-item.uc-active-item {
	height: auto !important;
}

.cs-ytc .owl-nav,
.cs-ytc .owl-dots {
	display: none !important;
}

/* Remote arrows — elementor-element-52aaf5e */
.cs-ytc__nav {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 30px;
	margin-top: 16px;
}

.cs-ytc__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-grow: 0;
	flex-shrink: 0;
	min-width: 0;
	min-height: 0;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--cs-ytc-primary) !important;
	cursor: pointer;
	line-height: 1em;
	transition: 0.3s transform, 0.3s opacity;
	-webkit-tap-highlight-color: transparent;
}

.cs-ytc__arrow:hover,
.cs-ytc__arrow:focus,
.cs-ytc__arrow:focus-visible,
.cs-ytc__arrow:active {
	color: var(--cs-ytc-primary) !important;
	background: transparent !important;
	box-shadow: none !important;
}

.cs-ytc__arrow:focus-visible {
	outline: 2px solid var(--cs-ytc-primary);
	outline-offset: 2px;
}

.cs-ytc__arrow-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1em;
	font-size: 25px;
	color: inherit !important;
	transition: 0.3s;
}

.cs-ytc__arrow-icon svg {
	width: 1em;
	height: 1em;
	display: block;
	stroke: currentColor !important;
	transition: 0.3s;
}

.cs-ytc__arrow.is-disabled,
.cs-ytc__arrow:disabled {
	opacity: 0.3;
	cursor: default;
	pointer-events: none;
}

/* Grow animation (elementor-animation-grow) */
.cs-ytc__arrow.cs-ytc__arrow--grow:hover {
	transform: scale(1.1);
}

/* Lightbox */
.cs-ytc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cs-ytc-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.cs-ytc-lightbox__backdrop {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.85) !important;
	background-color: rgba(0, 0, 0, 0.85) !important;
	cursor: pointer;
}

.cs-ytc-lightbox__dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	background: #000 !important;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.cs-ytc-lightbox__close {
	position: absolute;
	top: 8px;
	right: 8px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(0, 0, 0, 0.55) !important;
	background-color: rgba(0, 0, 0, 0.55) !important;
	color: #fff !important;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: none !important;
}

.cs-ytc-lightbox__close:hover,
.cs-ytc-lightbox__close:focus,
.cs-ytc-lightbox__close:focus-visible,
.cs-ytc-lightbox__close:active {
	background: rgba(0, 0, 0, 0.8) !important;
	background-color: rgba(0, 0, 0, 0.8) !important;
	color: #fff !important;
}

.cs-ytc-lightbox__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	width: 100%;
	background: #000;
}

.cs-ytc-lightbox__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

body.cs-ytc-lightbox-open {
	overflow: hidden;
}

.cs-ytc-empty {
	padding: 24px;
	color: #686868;
	font-family: Poppins, sans-serif;
}
