/* Homepage YouTube uploads and tutorials. */
.elementor-2829 .elementor-element.elementor-element-79940f6 .col-youtube-section {
	position: relative;
	overflow: hidden;
	padding: var(--col-home-section-gap, clamp(40px, 4.8vw, 68px)) 0;
	background:
		radial-gradient(ellipse at 14% 22%, rgba(166, 45, 214, 0.18), transparent 34%),
		radial-gradient(ellipse at 92% 82%, rgba(210, 123, 242, 0.1), transparent 36%),
	linear-gradient(145deg, #10101b 0%, #0b0d16 54%, #10101b 100%);
}

.elementor-2829 .elementor-element.elementor-element-79940f6 .col-youtube-section .container {
	position: relative;
	z-index: 1;
}

.col-youtube-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 34px;
}

.col-youtube-heading .section-title-2 h6 {
	margin: 0 0 12px;
	color: #d27bf2;
	letter-spacing: 0.14em;
}

.col-youtube-heading .section-title-2 h2 {
	margin: 0;
	color: #fff;
}

.col-youtube-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.col-youtube-tabs button {
	border: 1px solid rgba(210, 123, 242, 0.48);
	border-radius: 999px;
	padding: 10px 19px;
	background: rgba(255, 255, 255, 0.035);
	color: #ded9e6;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.col-youtube-tabs button[aria-selected="true"],
.col-youtube-tabs button:hover,
.col-youtube-tabs button:focus-visible {
	border-color: #d27bf2;
	background: rgba(166, 45, 214, 0.28);
	color: #fff;
	box-shadow: 0 0 22px rgba(166, 45, 214, 0.2);
}

.col-youtube-video-row {
	display: grid;
	grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.55fr) minmax(168px, 0.62fr);
	align-items: center;
	gap: 30px;
	padding: 24px 0;
	border-top: 1px solid rgba(210, 123, 242, 0.16);
}

.col-youtube-player {
	position: relative;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 1px solid rgba(210, 123, 242, 0.35);
	border-radius: 12px;
	background: #080a12;
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
}

.col-youtube-player iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.col-youtube-play {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	background: #080a12;
	cursor: pointer;
}

.col-youtube-play::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(6, 8, 14, 0.54), rgba(6, 8, 14, 0.03) 70%);
	content: "";
}

.col-youtube-play img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease, filter 350ms ease;
}

.col-youtube-play:hover img,
.col-youtube-play:focus-visible img {
	transform: scale(1.045);
	filter: brightness(1.08);
}

.col-youtube-play-icon {
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 50%;
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	background: rgba(166, 45, 214, 0.88);
	box-shadow: 0 0 26px rgba(166, 45, 214, 0.48);
	color: #fff;
	font-size: 19px;
	transform: translate(-50%, -50%);
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.col-youtube-play:hover .col-youtube-play-icon,
.col-youtube-play:focus-visible .col-youtube-play-icon {
	background: #c24be8;
	box-shadow: 0 0 34px rgba(194, 75, 232, 0.7);
	transform: translate(-50%, -50%) scale(1.08);
}

.col-youtube-video-copy {
	min-width: 0;
}

.col-youtube-video-copy .col-youtube-date {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	color: #d27bf2;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.col-youtube-video-copy h3 {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(19px, 1.55vw, 25px);
	line-height: 1.25;
	text-transform: none;
}

.col-youtube-video-copy .col-youtube-description {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	color: #b9bac5;
	font-size: 14px;
	line-height: 1.65;
	text-transform: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.col-youtube-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

.col-youtube-actions a {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-height: 40px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 7px;
	padding: 8px 11px;
	background: rgba(255, 255, 255, 0.035);
	color: #ded9e6;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	text-transform: none;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.col-youtube-actions a i {
	flex: 0 0 16px;
	color: #d27bf2;
	font-size: 15px;
	text-align: center;
}

.col-youtube-actions a:hover,
.col-youtube-actions a:focus-visible {
	border-color: rgba(210, 123, 242, 0.65);
	background: rgba(166, 45, 214, 0.2);
	color: #fff;
}

.col-youtube-actions .col-youtube-watch {
	border-color: rgba(255, 64, 90, 0.5);
	background: rgba(255, 0, 40, 0.12);
	color: #fff;
}

.col-youtube-actions .col-youtube-watch i {
	color: #ff536b;
}

.col-youtube-empty {
	margin: 0;
	border: 1px solid rgba(210, 123, 242, 0.18);
	border-radius: 10px;
	padding: 24px;
	background: rgba(255, 255, 255, 0.035);
	color: #d4d1db;
}

.col-youtube-empty a,
.col-youtube-channel-link a {
	color: #d27bf2;
	text-decoration: none;
}

.col-youtube-empty a:hover {
	color: #f1caff;
}

.col-youtube-channel-link {
	margin: 24px 0 0;
	text-align: right;
}

.col-youtube-channel-link a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	border: 1px solid rgba(210, 123, 242, 0.62);
	border-radius: 8px;
	padding: 11px 17px;
	background: rgba(166, 45, 214, 0.1);
	font-weight: 700;
	transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.col-youtube-channel-link a:hover,
.col-youtube-channel-link a:focus-visible {
	border-color: #e2a4ff;
	background: rgba(166, 45, 214, 0.2);
	box-shadow: 0 0 20px rgba(166, 45, 214, 0.2);
	color: #f1caff;
}

.col-youtube-channel-link i {
	margin-right: 6px;
}

.elementor-2829 .elementor-element.elementor-element-46949f9 {
	padding: 0 15px 48px !important;
}

.elementor-2829 .elementor-element.elementor-element-46949f9 > .elementor-element-c41e98b {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
}

.elementor-2829 .elementor-element.elementor-element-46949f9 > .elementor-element-6bfefc3 {
	display: none !important;
}

.col-youtube-featured {
	position: relative;
	isolation: isolate;
	display: flex;
	justify-content: center;
	box-sizing: border-box;
	align-self: stretch;
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: clamp(76px, 8vw, 118px) 24px clamp(88px, 9vw, 132px);
	background-color: #090810;
	background-image:
		radial-gradient(ellipse at 50% 48%, rgba(105, 34, 143, .2), transparent 58%),
		radial-gradient(ellipse at 12% 78%, rgba(83, 32, 124, .19), transparent 43%),
		radial-gradient(ellipse at 91% 22%, rgba(145, 48, 172, .16), transparent 40%),
		repeating-radial-gradient(ellipse at 50% 51%, transparent 0 88px, rgba(196, 113, 232, .042) 89px 90px, transparent 91px 148px),
		linear-gradient(140deg, #0a0910 0%, #100b19 50%, #090810 100%);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.col-youtube-featured::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(180deg, #0a0b10 0%, rgba(10, 11, 16, .08) 18%, rgba(10, 11, 16, .08) 82%, #0a0b10 100%),
		radial-gradient(ellipse at 50% 48%, rgba(155, 62, 202, .16), transparent 62%),
		linear-gradient(90deg, rgba(6, 5, 10, .45), transparent 28%, transparent 72%, rgba(6, 5, 10, .45));
	content: "";
	pointer-events: none;
}

.col-youtube-featured::after {
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(122deg, transparent 0 31%, rgba(201, 116, 231, .045) 31.1%, transparent 31.4% 69%, rgba(201, 116, 231, .035) 69.1%, transparent 69.4%),
		repeating-linear-gradient(145deg, transparent 0 116px, rgba(185, 116, 212, .025) 117px 118px, transparent 119px 228px);
	mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
	content: "";
	pointer-events: none;
}

.col-youtube-featured__inner {
	position: relative;
	z-index: 1;
	width: min(100%, 1180px);
	margin: 0 auto;
}

.col-youtube-featured h2 {
	max-width: 1180px;
	margin: 0 auto clamp(28px, 3.2vw, 40px);
	color: transparent !important;
	-webkit-text-fill-color: transparent !important;
	-webkit-text-stroke: 1.45px rgba(255, 255, 255, .97);
	font-size: clamp(29px, 3vw, 43px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.18;
	text-align: center;
	text-transform: none;
	text-wrap: balance;
	text-shadow: 0 0 15px rgba(189, 77, 230, .28);
	animation: col-youtube-title-pulse 3.2s ease-in-out infinite;
}

.col-youtube-featured__player {
	position: relative;
	overflow: visible;
	isolation: isolate;
	width: min(100%, 940px);
	margin-inline: auto;
	aspect-ratio: 16 / 9;
	background: transparent;
	box-shadow: 0 28px 78px rgba(0, 0, 0, .48);
}

.col-youtube-featured__player::after {
	position: absolute;
	inset: 0;
	z-index: 4;
	border: 1px solid rgba(206, 127, 237, .72);
	border-radius: 14px;
	box-shadow: inset 0 0 0 1px rgba(20, 10, 28, .72), 0 0 22px rgba(169, 57, 213, .24);
	content: "";
	opacity: 0;
	transform: scale(.9);
	transition: opacity 560ms ease, transform 700ms cubic-bezier(.2, .75, .25, 1);
	pointer-events: none;
}

.col-youtube-featured__player.is-playing::after {
	opacity: 1;
	transform: scale(1);
}

.col-youtube-featured__frame {
	position: absolute;
	inset: -26px;
	z-index: 3;
	width: calc(100% + 52px);
	height: calc(100% + 52px);
	overflow: visible;
	transform-origin: center;
	filter: drop-shadow(0 0 8px rgba(174, 61, 224, .55));
	transition: opacity 500ms ease, filter 500ms ease, transform 650ms cubic-bezier(.2, .75, .25, 1);
	pointer-events: none;
}

.col-youtube-featured__frame-glow,
.col-youtube-featured__frame-line {
	fill: none;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.col-youtube-featured__frame-glow {
	stroke: rgba(188, 69, 225, .3);
	stroke-width: 8px;
}

.col-youtube-featured__frame-line {
	stroke: url(#col-youtube-frame-gradient);
	stroke-width: 2.2px;
}

.col-youtube-featured__player.is-playing .col-youtube-featured__frame {
	opacity: 0;
	filter: none;
	transform: scale(.9);
}

.col-youtube-featured__poster {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	padding: 0;
	background: #08070e;
	clip-path: polygon(12% 4%, 19% 2%, 27% 4%, 35% 1%, 44% 3%, 53% 1%, 63% 4%, 73% 2%, 83% 4%, 91% 3%, 97% 9%, 99% 18%, 97% 28%, 99% 39%, 97% 50%, 99% 61%, 96% 72%, 98% 82%, 93% 91%, 86% 95%, 77% 93%, 68% 97%, 58% 94%, 49% 98%, 38% 94%, 28% 97%, 19% 93%, 11% 95%, 5% 90%, 2% 81%, 4% 70%, 1% 58%, 4% 47%, 2% 36%, 5% 25%, 3% 15%, 7% 8%);
	cursor: pointer;
}

.col-youtube-featured__poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.col-youtube-featured__poster::after {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, transparent 35%, rgba(4, 4, 8, .17) 100%);
	content: "";
	transition: background-color 200ms ease;
}

.col-youtube-featured__play-icon {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	display: grid;
	width: 72px;
	height: 56px;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 16px;
	background: rgba(185, 34, 67, .94);
	box-shadow: 0 8px 34px rgba(0, 0, 0, .38), 0 0 24px rgba(181, 51, 210, .36);
	color: #fff;
	font-size: 21px;
	transform: translate(-50%, -50%);
	transition: transform 200ms ease, box-shadow 200ms ease;
}

.col-youtube-featured__poster:hover .col-youtube-featured__play-icon,
.col-youtube-featured__poster:focus-visible .col-youtube-featured__play-icon {
	transform: translate(-50%, -50%) scale(1.08);
	box-shadow: 0 8px 34px rgba(0, 0, 0, .4), 0 0 32px rgba(207, 91, 239, .6);
}

.col-youtube-featured__poster:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 2px #e4b0ff;
	filter: drop-shadow(0 0 6px rgba(204, 114, 243, .72));
}

.col-youtube-featured__player iframe {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 14px;
}

@keyframes col-youtube-title-pulse {
	0%, 100% {
		-webkit-text-stroke-color: rgba(255, 255, 255, .88);
		text-shadow: 0 0 10px rgba(174, 70, 218, .18);
	}
	50% {
		-webkit-text-stroke-color: rgba(237, 211, 255, 1);
		text-shadow: 0 0 20px rgba(186, 72, 231, .62), 0 0 42px rgba(127, 43, 183, .25);
	}
}

@media (max-width: 1024px) {
	.col-youtube-featured__inner {
		width: min(100%, 920px);
	}

	.col-youtube-featured__player {
		width: min(100%, 840px);
	}

	.col-youtube-video-row {
		grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.4fr) minmax(150px, 0.65fr);
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.elementor-2829 .elementor-element.elementor-element-46949f9 {
		padding: 0 !important;
	}

	.col-youtube-featured {
		padding: 68px 22px 82px;
	}

	.col-youtube-featured h2 {
		margin-bottom: 27px;
		font-size: clamp(25px, 6.2vw, 35px);
		-webkit-text-stroke-width: 1.15px;
	}

	.col-youtube-featured__player { width: 100%; }
	.col-youtube-featured__frame { inset: -19px; width: calc(100% + 38px); height: calc(100% + 38px); }
	.col-youtube-featured__play-icon { width: 60px; height: 46px; border-radius: 13px; font-size: 18px; }

	.elementor-2829 .elementor-element.elementor-element-79940f6 .col-youtube-section {
		padding: var(--col-home-section-gap, 40px) 0;
	}

	.col-youtube-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 20px;
		margin-bottom: 24px;
	}

	.col-youtube-video-row {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: 16px;
		padding: 20px 0;
	}

	.col-youtube-actions {
		grid-column: 1 / -1;
		flex-direction: row;
	}

	.col-youtube-actions a {
		flex: 1 1 0;
		justify-content: center;
		padding: 9px 7px;
	}

	.col-youtube-actions .col-youtube-watch {
		flex-grow: 1.4;
	}
}

@media (max-width: 520px) {
	.col-youtube-featured { padding-right: 19px; padding-left: 19px; }
	.col-youtube-featured h2 { font-size: clamp(23px, 7vw, 31px); }
	.col-youtube-featured__frame { inset: -16px; width: calc(100% + 32px); height: calc(100% + 32px); }

	.col-youtube-tabs {
		width: 100%;
	}

	.col-youtube-tabs button {
		flex: 1 1 0;
	}

	.col-youtube-video-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.col-youtube-video-copy h3 {
		font-size: 20px;
	}

	.col-youtube-actions {
		grid-column: auto;
		flex-wrap: wrap;
	}

	.col-youtube-actions a {
		flex: 1 1 29%;
		font-size: 11px;
	}

	.col-youtube-actions .col-youtube-watch {
		flex-basis: 36%;
	}

}

@media (prefers-reduced-motion: reduce) {
	.col-youtube-featured h2 { animation: none; }
	.col-youtube-featured__frame,
	.col-youtube-featured__play-icon,
	.col-youtube-featured__player::after { transition: none; }
}
