.v3-social-clone {
	--ccs-trending-ink: #1a181c;
	--ccs-trending-muted: #5f6874;
	--ccs-trending-primary: var(--e-global-color-b2939f4, #318fb0);
	box-sizing: border-box;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 34px 18px 42px;
	background: transparent;
	color: var(--ccs-trending-ink);
	font-family: Gilroy, Manrope, Arial, sans-serif;
}

.v3-social-clone *,
.v3-social-clone *::before,
.v3-social-clone *::after {
	box-sizing: border-box;
}

.v3-social-clone .social-wall__frame {
	width: min(calc(100% - 10px), 1460px);
	margin: 0 auto;
	padding: 26px;
	border-radius: 34px;
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.34), transparent 32%),
		linear-gradient(135deg, rgba(250, 250, 250, 0.52), rgba(227, 227, 227, 0.84));
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		0 24px 44px rgba(24, 24, 24, 0.1);
}

.v3-social-clone .social-wall__head {
	display: flex;
	align-items: end;
	justify-content: center;
	gap: 18px;
	margin-bottom: 20px;
	text-align: center;
}

.v3-social-clone .social-wall__head h2 {
	max-width: none;
	margin: 0;
	color: var(--ccs-trending-primary);
	font-family: "Rozha One", Georgia, serif;
	font-size: 40px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
	text-transform: none;
	white-space: nowrap;
}

.v3-social-clone .social-wall__controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: 18px;
}

.v3-social-clone .social-wall__control {
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.58);
	color: var(--ccs-trending-ink);
	box-shadow: 0 12px 24px rgba(20, 20, 20, 0.1);
	cursor: pointer;
	font: inherit;
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	transition:
		transform 180ms ease,
		background 180ms ease,
		opacity 180ms ease;
}

.v3-social-clone .social-wall__control:hover,
.v3-social-clone .social-wall__control:focus-visible {
	background: rgba(255, 255, 255, 0.78);
	transform: translateY(-2px);
}

.v3-social-clone .social-wall__control[disabled] {
	cursor: default;
	opacity: 0.45;
	transform: none;
}

.v3-social-clone .social-wall__viewport {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.v3-social-clone .social-wall__viewport::-webkit-scrollbar {
	display: none;
}

.v3-social-clone .social-wall__grid {
	display: flex;
	gap: 16px;
}

.v3-social-clone .social-tile {
	position: relative;
	isolation: isolate;
	flex: 0 0 300px;
	min-height: 530px;
	overflow: hidden;
	border: 0;
	border-radius: 28px;
	padding: 0;
	background: #1f1f1f;
	box-shadow: 0 18px 34px rgba(20, 20, 20, 0.16);
	color: inherit;
	cursor: pointer;
	font: inherit;
	scroll-snap-align: start;
	text-align: left;
}

.v3-social-clone .social-tile::after {
	content: "";
	position: absolute;
	z-index: 2;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.06) 0%, rgba(10, 10, 10, 0.58) 100%);
}

.v3-social-clone .social-tile__media,
.v3-social-clone .social-tile__preview {
	position: absolute;
	inset: 0;
	display: block;
}

.v3-social-clone .social-tile__media {
	z-index: 0;
}

.v3-social-clone .social-tile__media--fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		linear-gradient(145deg, rgba(49, 143, 176, 0.78), rgba(20, 20, 20, 0.9)),
		#1f1f1f;
	color: rgba(255, 255, 255, 0.78);
	font-size: 22px;
	font-weight: 800;
}

.v3-social-clone .social-tile img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition:
		transform 260ms ease,
		opacity 220ms ease;
}

.v3-social-clone .social-tile:hover img,
.v3-social-clone .social-tile:focus-within img {
	transform: scale(1.07);
}

.v3-social-clone .social-tile__preview {
	z-index: 1;
	background: #111;
	opacity: 0;
	pointer-events: none;
	transition: opacity 220ms ease;
}

.v3-social-clone .social-tile__preview iframe {
	width: 100%;
	height: 100%;
	border: 0;
	pointer-events: none;
}

.v3-social-clone .social-tile.is-previewing .social-tile__preview {
	opacity: 1;
}

.v3-social-clone .social-tile.is-previewing img {
	opacity: 0;
}

.v3-social-clone .social-tile__content {
	position: absolute;
	z-index: 3;
	inset: auto 0 0 0;
	display: grid;
	gap: 8px;
	padding: 16px;
	color: #fff;
}

.v3-social-clone .social-tile__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.v3-social-clone .social-tile__badge,
.v3-social-clone .social-tile__type {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	border-radius: 999px;
	padding: 0 12px;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(10px);
}

.v3-social-clone .social-tile__title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25;
}

.v3-social-clone .social-tile__play {
	position: absolute;
	z-index: 3;
	top: 16px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(10px);
	color: #fff;
	font-size: 18px;
}

.v3-social-clone .social-tile__external {
	position: absolute;
	z-index: 4;
	top: 16px;
	left: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(10px);
	color: #fff;
	font-size: 19px;
	font-weight: 800;
	text-decoration: none;
	transition:
		background 180ms ease,
		transform 180ms ease;
}

.v3-social-clone .social-tile__external:hover,
.v3-social-clone .social-tile__external:focus-visible {
	background: rgba(255, 255, 255, 0.3);
	color: #fff;
	transform: translateY(-2px);
}

.v3-social-clone .v3-social-card-divider {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 18px 0 0;
	padding-block-start: 10px;
	padding-block-end: 10px;
}

.v3-social-clone .v3-social-card-divider span {
	display: block;
	width: 60px;
	border-top: 3px solid var(--ccs-trending-primary);
}

.v3-social-clone .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 700ms ease,
		transform 700ms ease;
}

.v3-social-clone .reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ccs-trending-lightbox,
.ccs-trending-lightbox *,
.ccs-trending-lightbox *::before,
.ccs-trending-lightbox *::after {
	box-sizing: border-box;
}

.ccs-trending-lightbox {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 24px;
	background: rgba(10, 10, 10, 0.72);
	backdrop-filter: blur(10px);
	overscroll-behavior: contain;
}

.ccs-trending-lightbox.is-open {
	display: flex;
}

.ccs-trending-lightbox__dialog {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 1320px);
	height: min(92vh, 900px);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 32px;
	background: #000;
	box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
}

.ccs-trending-lightbox__frame {
	width: 100%;
	height: 100%;
	border: 0;
}

.ccs-trending-lightbox__video {
	display: none;
	width: 100%;
	height: 100%;
	background: #000;
	object-fit: contain;
}

.ccs-trending-lightbox.is-local .ccs-trending-lightbox__frame {
	display: none;
}

.ccs-trending-lightbox.is-local .ccs-trending-lightbox__video {
	display: block;
}

.ccs-trending-lightbox.is-youtube .ccs-trending-lightbox__dialog {
	width: min(100%, 1320px);
	height: min(calc((100vw - 48px) * 0.5625), 900px);
	max-height: 92vh;
}

.ccs-trending-lightbox.is-instagram .ccs-trending-lightbox__dialog {
	width: min(100%, 440px);
	height: min(82vh, 760px);
}

.ccs-trending-lightbox.is-local .ccs-trending-lightbox__dialog {
	width: min(100%, 560px);
	height: min(88vh, 900px);
}

.ccs-trending-lightbox__close {
	position: absolute;
	z-index: 1;
	top: 14px;
	right: 14px;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 24px;
	line-height: 1;
	backdrop-filter: blur(12px);
}

@media (prefers-reduced-motion: reduce) {
	.v3-social-clone .reveal,
	.v3-social-clone .reveal.is-visible {
		transform: none;
		transition: none;
	}

	.v3-social-clone .social-tile img {
		transform: none;
		transition: none;
	}
}

@media (max-width: 900px) {
	.v3-social-clone .social-wall__grid {
		gap: 14px;
	}

	.v3-social-clone .social-wall__head {
		align-items: center;
	}
}

@media (max-width: 767px) {
	.v3-social-clone .social-wall__head h2 {
		font-size: 35px;
	}
}

@media (max-width: 640px) {
	.v3-social-clone {
		padding-left: 10px;
		padding-right: 10px;
	}

	.v3-social-clone .social-wall__frame {
		width: 100%;
		border-radius: 24px;
		padding: 18px;
	}

	.v3-social-clone .social-tile {
		flex-basis: 68vw;
		min-height: 360px;
	}

	.v3-social-clone .social-wall__controls {
		justify-content: flex-start;
	}

	.v3-social-clone .social-tile__meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.ccs-trending-lightbox {
		padding: 14px;
	}

	.ccs-trending-lightbox__dialog {
		border-radius: 20px;
	}

	.ccs-trending-lightbox.is-instagram .ccs-trending-lightbox__dialog {
		height: min(82vh, 720px);
	}
}
