.aws-yt {
	--aws-yt-accent: var(--e-global-color-primary, #c90c3d);
	--aws-yt-ink: var(--e-global-color-text, #222);
	color: var(--aws-yt-ink);
	font-family: var(--e-global-typography-text-font-family, inherit);
}

.aws-yt__header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin: 0 0 28px;
	padding-bottom: 14px;
	border-bottom: 1px solid #dedede;
}

.aws-yt__heading {
	position: relative;
	margin: 0;
	font-family: var(--e-global-typography-primary-font-family, inherit);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 700;
	line-height: 1.12;
}

.aws-yt__heading::after {
	position: absolute;
	bottom: -16px;
	left: 0;
	width: 60px;
	height: 4px;
	background: var(--aws-yt-accent);
	content: "";
}

.aws-yt__channel-link {
	color: #132e47;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.aws-yt__channel-link:hover,
.aws-yt__channel-link:focus-visible,
.aws-yt__title a:hover,
.aws-yt__title a:focus-visible {
	color: var(--aws-yt-accent);
}

.aws-yt__grid {
	display: grid;
	grid-template-columns: repeat(var(--aws-yt-columns), minmax(0, 1fr));
	gap: clamp(20px, 3vw, 32px);
}

.aws-yt__card {
	min-width: 0;
	background: #fff;
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(19, 46, 71, .09);
}

.aws-yt__media {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: #e8eaec;
	color: #fff;
	cursor: pointer;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.aws-yt__poster,
.aws-yt__poster img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.aws-yt__iframe {
	display: block;
	width: 100%;
	border: 0;
	aspect-ratio: 16 / 9;
}

.aws-yt__poster {
	background: linear-gradient(135deg, #ebedef 0%, #d9dde1 100%);
}

.aws-yt__poster img {
	object-fit: cover;
	opacity: 0;
	transition: opacity .25s ease, transform .35s ease;
}

.aws-yt__poster img.is-loaded {
	opacity: 1;
}

.aws-yt__media:hover .aws-yt__poster img {
	transform: scale(1.025);
}

.aws-yt__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	width: 68px;
	height: 68px;
	place-items: center;
	border: 3px solid #fff;
	border-radius: 50%;
	background: rgba(0, 0, 0, .42);
	transform: translate(-50%, -50%);
	transition: background .2s ease, transform .2s ease;
}

.aws-yt__play span {
	width: 0;
	height: 0;
	margin-left: 5px;
	border-top: 11px solid transparent;
	border-bottom: 11px solid transparent;
	border-left: 17px solid #fff;
}

.aws-yt__media:hover .aws-yt__play,
.aws-yt__media:focus-visible .aws-yt__play {
	background: var(--aws-yt-accent);
	transform: translate(-50%, -50%) scale(1.06);
}

.aws-yt__media:focus-visible {
	outline: 3px solid var(--aws-yt-accent);
	outline-offset: 3px;
}

.aws-yt__content {
	padding: 18px 20px 20px;
}

.aws-yt__title {
	margin: 0 0 9px;
	font-family: var(--e-global-typography-primary-font-family, inherit);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.35;
}

.aws-yt__title a {
	color: #132e47;
	text-decoration: none;
}

.aws-yt__date {
	color: #6e6e6e;
	font-size: .9rem;
}

.aws-yt__empty {
	padding: 24px;
	background: #f5f5f5;
}

.aws-yt__empty a {
	color: var(--aws-yt-accent);
	font-weight: 700;
}

.aws-yt__duration {
	position: absolute;
	right: 5px;
	bottom: 5px;
	z-index: 2;
	padding: 3px 6px;
	border-radius: 2px;
	background: rgba(0, 0, 0, .82);
	color: #fff;
	font-size: .75rem;
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	line-height: 1.2;
}

.aws-yt__description,
.aws-yt__stats {
	margin: 0;
}

.aws-yt__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 50px;
}

.aws-yt__pagination button {
	display: grid;
	width: 30px;
	height: 30px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 2px;
	background: #273a4b;
	color: #aeb8c2;
	cursor: pointer;
	font: inherit;
	font-size: .8rem;
	font-weight: 700;
}

.aws-yt__pagination button:hover,
.aws-yt__pagination button:focus-visible {
	background: var(--aws-yt-accent);
	color: #fff;
}

.aws-yt__pagination button[aria-current="page"] {
	background: #fff;
	color: #132e47;
}

.aws-yt__pagination button:disabled {
	cursor: default;
	opacity: .42;
}

.aws-yt.is-paginated .aws-yt__card[hidden] {
	display: none;
}

.aws-yt--home {
	position: relative;
	margin-top: clamp(60px, 7vw, 100px);
	padding: clamp(72px, 7vw, 104px) 0 clamp(82px, 8vw, 122px);
	overflow: hidden;
	background: linear-gradient(180deg, rgba(19, 48, 75, .5) 0%, rgba(2, 3, 5, .5) 100%),
		url('/wp-content/uploads/2024/09/woodbg-g.jpg') repeat center top;
	color: #fff;
}

.aws-yt--home::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	width: 100%;
	height: 8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'%3E%3Cpath fill='%23fff' d='M0 0h12L6 7z'/%3E%3C/svg%3E") repeat-x left top / 12px 7px;
	content: '';
	pointer-events: none;
}

.zp-home-videos-native-section .aws-yt--home {
	margin-top: 0;
}

.aws-yt--home .aws-yt__inner {
	width: min(100% - 48px, 1312px);
	margin-inline: auto;
}

.aws-yt--home .aws-yt__header {
	position: relative;
	display: flex;
	min-height: 110px;
	align-items: center;
	justify-content: flex-start;
	flex-direction: column;
	gap: 10px;
	margin: 0 0 clamp(56px, 6vw, 86px);
	padding: 0;
	border: 0;
	text-align: center;
}

.aws-yt--home .aws-yt__emblem {
	display: block;
	width: 30px;
	height: 31px;
}

.aws-yt--home .aws-yt__emblem img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.aws-yt--home .aws-yt__heading {
	color: #fff;
	font-size: clamp(1.65rem, 2.3vw, 2.1rem);
	font-weight: 700;
	line-height: 1.15;
}

.aws-yt--home .aws-yt__heading::after {
	display: none;
}

.aws-yt--home .aws-yt__channel-link {
	position: absolute;
	top: 57px;
	right: 0;
	display: inline-flex;
	height: 28px;
	align-items: center;
	gap: 6px;
	padding: 0 9px;
	border-radius: 2px;
	background: #b9232e;
	color: #fff;
	font-size: .78rem;
	font-weight: 500;
}

.aws-yt--home .aws-yt__channel-link:hover,
.aws-yt--home .aws-yt__channel-link:focus-visible {
	background: #d72d3a;
	color: #fff;
}

.aws-yt__youtube-icon {
	display: inline-grid;
	width: 16px;
	height: 12px;
	place-items: center;
	border-radius: 2px;
	background: #fff;
	color: #b9232e;
	font-size: 7px;
	line-height: 1;
}

.aws-yt--home .aws-yt__grid {
	gap: clamp(22px, 2.1vw, 32px);
}

.aws-yt--home .aws-yt__card {
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.aws-yt--home .aws-yt__media {
	background: #08131d;
}

.aws-yt--home .aws-yt__play {
	width: 62px;
	height: 62px;
}

.aws-yt--home .aws-yt__content {
	padding: 17px 0 0;
}

.aws-yt--home .aws-yt__title {
	margin-bottom: 6px;
	font-size: 1rem;
	line-height: 1.3;
}

.aws-yt--home .aws-yt__title a {
	color: #fff;
}

.aws-yt--home .aws-yt__title a:hover,
.aws-yt--home .aws-yt__title a:focus-visible {
	color: #f4c8d3;
}

.aws-yt--home .aws-yt__date {
	display: block;
	margin-bottom: 10px;
	color: #8d9aa6;
	font-size: .78rem;
}

.aws-yt--home .aws-yt__description {
	display: -webkit-box;
	overflow: hidden;
	color: #d1d7dd;
	font-size: .88rem;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.aws-yt--home .aws-yt__stats {
	margin-top: 8px;
	color: #71808d;
	font-size: .76rem;
}

.aws-yt--home .aws-yt__empty {
	background: rgba(255, 255, 255, .06);
	color: #fff;
	text-align: center;
}

.aws-yt--home .aws-yt__empty a {
	color: #fff;
}

@media (max-width: 900px) {

	.aws-yt__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aws-yt--columns-1 .aws-yt__grid {
		grid-template-columns: 1fr;
	}

	.aws-yt--home .aws-yt__channel-link {
		position: static;
		margin-top: 8px;
	}

	.aws-yt--home .aws-yt__header {
		min-height: 0;
	}
}

@media (max-width: 600px) {

	.aws-yt__header {
		align-items: start;
		flex-direction: column;
	}

	.aws-yt__grid {
		grid-template-columns: 1fr;
	}

	.aws-yt__play {
		width: 58px;
		height: 58px;
	}

	.aws-yt--home {
		padding-top: 66px;
	}

	.aws-yt--home .aws-yt__inner {
		width: min(100% - 32px, 1312px);
	}

	.aws-yt--home .aws-yt__header {
		align-items: center;
		margin-bottom: 48px;
	}

	.aws-yt--home .aws-yt__heading {
		text-align: center;
	}

	.aws-yt--home .aws-yt__pagination {
		margin-top: 40px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.aws-yt__poster img,
	.aws-yt__play {
		transition: none;
	}
}
