.az-social-videos {
	--az-video-columns: 3;
	--az-video-gap-x: 22px;
	--az-video-gap-y: 28px;
	background: #fff;
	border: 1px solid rgba(140, 77, 32, 0.14);
	border-radius: 18px;
	box-shadow: 0 8px 28px rgba(44, 26, 14, 0.08);
	box-sizing: border-box;
	color: #2c1a0e;
	margin: 0 auto;
	max-width: 100%;
	padding: 28px;
}

.az-social-videos--tiktok {
	background: #fff;
	border: 1px solid rgba(140, 77, 32, 0.14);
	border-radius: 18px;
	box-shadow: 0 8px 28px rgba(44, 26, 14, 0.08);
	color: #2c1a0e;
	padding: 28px;
}

.az-social-videos *,
.az-social-videos *::before,
.az-social-videos *::after {
	box-sizing: border-box;
}

.az-social-videos__title {
	color: #2c1a0e;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 20px;
}

.az-social-videos__tabs {
	align-items: center;
	border-bottom: 1px solid rgba(140, 77, 32, 0.16);
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	overflow-x: auto;
}

.az-social-videos__tabs a {
	border-bottom: 3px solid transparent;
	color: #7b6555;
	font-size: 15px;
	font-weight: 800;
	padding: 10px 14px 11px;
	text-decoration: none;
	white-space: nowrap;
}

.az-social-videos__tabs a:hover,
.az-social-videos__tabs a:focus {
	border-bottom-color: #8c4d20;
	color: #2c1a0e;
}

.az-social-videos__group {
	margin: 0;
	scroll-margin-top: 90px;
}

.az-social-videos__group + .az-social-videos__group {
	border-top: 1px solid rgba(140, 77, 32, 0.14);
	margin-top: 32px;
	padding-top: 28px;
}

.az-social-videos__bar,
.az-youtube-section-tabs {
	align-items: center;
	border-bottom: 1px solid rgba(140, 77, 32, 0.14);
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 24px;
	padding-bottom: 12px;
}

.az-social-videos__bar h3,
.az-youtube-section-tabs span {
	color: #2c1a0e;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.25;
	margin: 0;
	text-transform: uppercase;
}

.az-youtube-section-tabs span {
	border-bottom: 3px solid #8c4d20;
	margin-bottom: -13px;
	padding-bottom: 12px;
}

.az-social-videos__bar a,
.az-youtube-section-tabs a {
	background: #f5f0ea;
	border: 1px solid rgba(140, 77, 32, 0.18);
	border-radius: 999px;
	color: #5a2e0a;
	font-size: 14px;
	font-weight: 800;
	padding: 8px 14px;
	text-decoration: none;
	white-space: nowrap;
}

.az-social-videos__bar a:hover,
.az-social-videos__bar a:focus,
.az-youtube-section-tabs a:hover,
.az-youtube-section-tabs a:focus {
	background: #8c4d20;
	color: #fff;
}

.az-social-videos__grid {
	display: grid;
	gap: var(--az-video-gap-y) var(--az-video-gap-x);
	grid-template-columns: repeat(var(--az-video-columns, 3), minmax(0, 1fr));
}

.az-social-video-card {
	background: #fff;
	border: 1px solid rgba(140, 77, 32, 0.12);
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(44, 26, 14, 0.05);
	color: inherit;
	display: grid;
	gap: 13px;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.az-social-video-card:hover,
.az-social-video-card:focus {
	border-color: rgba(140, 77, 32, 0.26);
	box-shadow: 0 12px 28px rgba(44, 26, 14, 0.12);
	transform: translateY(-2px);
}

.az-social-video-card__thumb {
	aspect-ratio: 16 / 9;
	background: #f4eee8;
	border-radius: 0;
	display: block;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.az-social-video-card__thumb.is-playing {
	background: #000;
}

.az-social-video-card__thumb.is-playing::before,
.az-social-video-card__thumb.is-playing::after {
	display: none;
}

.az-social-video-card__thumb.is-playing .az-social-video-card__play,
.az-social-video-card__thumb.is-playing .az-social-video-card__placeholder,
.az-social-video-card__thumb.is-playing img {
	display: none !important;
}

.az-social-video-card__iframe {
	border: 0;
	display: block;
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
	z-index: 3;
}

.az-social-video-card__video {
	background: #000;
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	width: 100%;
	z-index: 3;
}

.az-social-video-card__thumb::before {
	background:
		radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.65), transparent 32%),
		linear-gradient(135deg, rgba(140, 77, 32, 0.16), transparent 42%),
		#f4eee8;
	content: "";
	inset: 0;
	position: absolute;
}

.az-social-videos__group--tiktok .az-social-video-card__thumb {
	aspect-ratio: 9 / 16;
	background: #f4eee8;
}

.az-social-videos__group--tiktok .az-social-videos__grid {
	--az-video-gap-x: 30px;
	--az-video-gap-y: 32px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.az-social-video-card--tiktok {
	background: #fff;
	border: 1px solid rgba(140, 77, 32, 0.12);
	border-radius: 8px;
	box-shadow: 0 4px 16px rgba(44, 26, 14, 0.05);
	display: block;
	gap: 0;
	overflow: hidden;
	position: relative;
}

.az-social-video-card--tiktok:hover,
.az-social-video-card--tiktok:focus {
	border-color: rgba(140, 77, 32, 0.26);
	box-shadow: 0 12px 28px rgba(44, 26, 14, 0.12);
	transform: translateY(-1px);
}

.az-social-video-card--tiktok .az-social-video-card__thumb {
	border-radius: 8px;
}

.az-social-video-card--tiktok .az-social-video-card__thumb::before {
	display: none;
}

.az-social-video-card__thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	position: relative;
	transition: transform 180ms ease, filter 180ms ease;
	width: 100%;
	z-index: 1;
}

.az-social-video-card--tiktok .az-social-video-card__thumb img {
	background: #f4eee8;
	object-fit: contain;
}

.az-social-video-card--tiktok .az-social-video-card__thumb::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.34));
	content: "";
	inset: 0;
	position: absolute;
	z-index: 2;
}

.az-social-video-card__placeholder {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(140, 77, 32, 0.1), transparent 42%),
		#f4eee8;
	color: #5a2e0a;
	display: flex;
	font-size: 15px;
	font-weight: 800;
	height: 100%;
	justify-content: center;
	line-height: 1.35;
	padding: 18px;
	position: relative;
	text-align: center;
	width: 100%;
	z-index: 1;
}

.az-social-video-card__tiktok-meta {
	align-items: center;
	bottom: 10px;
	color: #fff;
	display: flex;
	font-size: 14px;
	font-weight: 700;
	gap: 5px;
	left: 10px;
	line-height: 1;
	position: absolute;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
	z-index: 3;
}

.az-social-video-card__tiktok-play {
	border-bottom: 6px solid transparent;
	border-left: 9px solid currentColor;
	border-top: 6px solid transparent;
	display: inline-block;
	height: 0;
	width: 0;
}

.az-social-videos__group--tiktok .az-social-video-card__body,
.az-social-video-card--tiktok .az-social-video-card__body {
	display: none;
}

.az-social-videos__group--tiktok .az-social-videos__bar {
	border-bottom: 1px solid rgba(140, 77, 32, 0.14);
	margin-bottom: 24px;
	padding-bottom: 12px;
}

.az-social-videos__group--tiktok .az-social-videos__bar h3 {
	color: #2c1a0e;
	font-size: 18px;
	letter-spacing: 0;
}

.az-social-videos__group--tiktok .az-social-videos__bar a {
	background: #f5f0ea;
	border-color: rgba(140, 77, 32, 0.18);
	color: #5a2e0a;
}

.az-social-videos__group--tiktok .az-social-videos__bar a:hover,
.az-social-videos__group--tiktok .az-social-videos__bar a:focus {
	background: #8c4d20;
	color: #fff;
}

.az-social-video-card:hover .az-social-video-card__thumb img,
.az-social-video-card:focus .az-social-video-card__thumb img {
	filter: brightness(0.96);
	transform: scale(1.01);
}

.az-social-video-card__play {
	align-items: center;
	background: rgba(255, 0, 0, 0.9);
	border: 0;
	border-radius: 12px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 0;
	height: 42px;
	justify-content: center;
	left: 50%;
	opacity: 0.92;
	padding: 0;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: opacity 160ms ease, transform 160ms ease;
	width: 60px;
	z-index: 4;
}

.az-social-video-card--tiktok .az-social-video-card__play {
	background: rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
	height: 48px;
	width: 48px;
	z-index: 5;
}

.az-social-video-card--tiktok .az-social-video-card__play::before {
	border-left-color: #2c1a0e;
	border-left-width: 13px;
	border-top-width: 8px;
	border-bottom-width: 8px;
	margin-left: 3px;
}

.az-social-video-card:hover .az-social-video-card__play,
.az-social-video-card:focus .az-social-video-card__play {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1.04);
}

.az-social-video-card__play::before {
	border-bottom: 9px solid transparent;
	border-left: 15px solid #fff;
	border-top: 9px solid transparent;
	content: "";
	margin-left: 4px;
}

.az-social-video-card__body {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr) 20px;
	padding: 0 14px 15px;
}

.az-social-video-card__text {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.az-social-video-card__title {
	color: #2c1a0e;
	display: -webkit-box;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.az-social-video-card:hover .az-social-video-card__title,
.az-social-video-card:focus .az-social-video-card__title {
	color: #8c4d20;
}

.az-social-video-card__meta {
	color: #78675b;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}

.az-social-video-card__menu {
	height: 22px;
	position: relative;
	width: 20px;
}

.az-social-video-card__menu::before {
	color: #7b6555;
	content: "\22EE";
	font-size: 20px;
	left: 50%;
	line-height: 1;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
}

.az-social-videos__empty {
	background: #fff8f2;
	border: 1px solid rgba(140, 77, 32, 0.18);
	border-radius: 12px;
	color: #5a2e0a;
	font-size: 16px;
	line-height: 1.55;
	margin: 0;
	padding: 18px 20px;
}

@media (min-width: 1500px) {
	.az-social-videos__group--tiktok .az-social-videos__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (max-width: 980px) {
	.az-social-videos {
		--az-video-gap-x: 18px;
		padding: 22px;
	}

	.az-social-videos__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.az-social-videos--tiktok {
		padding: 16px 0;
	}

	.az-social-videos__group--tiktok .az-social-videos__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.az-social-videos {
		--az-video-gap-y: 26px;
		border-radius: 14px;
		padding: 16px;
	}

	.az-social-videos__grid {
		grid-template-columns: 1fr;
	}

	.az-social-videos--tiktok {
		padding: 12px 0;
	}

	.az-social-videos__group--tiktok .az-social-videos__grid {
		--az-video-gap-x: 8px;
		--az-video-gap-y: 8px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.az-social-videos__bar,
	.az-youtube-section-tabs {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.az-youtube-section-tabs span {
		margin-bottom: 0;
	}

	.az-social-video-card__title {
		font-size: 16px;
	}
}

@media (max-width: 420px) {
	.az-social-videos__group--tiktok .az-social-videos__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
