.pangea-socials {
	--pangea-ink: #173d45;
	--pangea-muted: #64767a;
	--pangea-teal: #00cec1;
	--pangea-surface: #ffffff;
	--pangea-line: #dce7e8;
	box-sizing: border-box;
	color: var(--pangea-ink);
	margin: 0 auto;
	max-width: 1240px;
	padding: clamp(36px, 6vw, 88px) 20px;
}

.pangea-socials *,
.pangea-socials *::before,
.pangea-socials *::after {
	box-sizing: border-box;
}

.pangea-socials__intro {
	margin: 0 auto clamp(28px, 5vw, 52px);
	max-width: 760px;
	text-align: center;
}

.pangea-socials__intro h2 {
	color: var(--pangea-ink);
	font-size: clamp(2.2rem, 5vw, 4.4rem);
	letter-spacing: -0.045em;
	line-height: 1;
	margin: 8px 0 18px;
}

.pangea-socials__intro > p:last-child {
	color: var(--pangea-muted);
	font-size: clamp(1rem, 2vw, 1.2rem);
	line-height: 1.65;
	margin: 0;
}

.pangea-socials__eyebrow {
	color: #008f86;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	margin: 0;
	text-transform: uppercase;
}

.pangea-socials__grid {
	align-items: start;
	display: grid;
	gap: clamp(22px, 4vw, 42px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pangea-socials__window {
	background: var(--pangea-surface);
	border: 1px solid var(--pangea-line);
	border-radius: 28px;
	box-shadow: 0 24px 70px rgba(23, 61, 69, 0.12);
	min-width: 0;
	overflow: hidden;
	padding-bottom: 22px;
	position: relative;
}

.pangea-socials__window::before {
	content: "";
	display: block;
	height: 5px;
	inset: 0 0 auto;
	position: absolute;
}

.pangea-socials__window--instagram::before {
	background: linear-gradient(90deg, #ff7a00, #f50057 52%, #7358ff);
}

.pangea-socials__window--tiktok::before {
	background: linear-gradient(90deg, #25f4ee, #111111 48%, #fe2c55);
}

.pangea-socials__window-bar {
	align-items: center;
	border-bottom: 1px solid var(--pangea-line);
	display: grid;
	gap: 12px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	padding: 22px;
}

.pangea-socials__window-bar strong,
.pangea-socials__window-bar span {
	display: block;
}

.pangea-socials__window-bar strong {
	color: var(--pangea-ink);
	font-size: 0.98rem;
	line-height: 1.15;
}

.pangea-socials__window-bar div > span {
	color: var(--pangea-muted);
	font-size: 0.82rem;
	margin-top: 3px;
}

.pangea-socials__window-bar > a {
	border: 1px solid currentColor;
	border-radius: 999px;
	color: var(--pangea-ink);
	font-size: 0.82rem;
	font-weight: 800;
	padding: 8px 14px;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pangea-socials__window-bar > a:hover,
.pangea-socials__window-bar > a:focus-visible {
	background: var(--pangea-ink);
	color: #ffffff;
	transform: translateY(-1px);
}

.pangea-socials__brand-icon {
	align-items: center;
	border-radius: 12px;
	color: #ffffff;
	display: flex !important;
	font-size: 0.69rem;
	font-weight: 900;
	height: 42px;
	justify-content: center;
	letter-spacing: -0.02em;
	width: 42px;
}

.pangea-socials__brand-icon--instagram {
	background: linear-gradient(135deg, #7358ff, #f50057 60%, #ff9d00);
}

.pangea-socials__brand-icon--tiktok {
	background: #111111;
	box-shadow: -3px 0 0 #25f4ee, 3px 0 0 #fe2c55;
}

.pangea-socials__instagram-feed {
	min-height: 380px;
	padding: 18px;
}

.pangea-socials__instagram-feed #sb_instagram {
	padding-bottom: 0 !important;
}

.pangea-socials__instagram-feed #sbi_images {
	border-radius: 16px;
	overflow: hidden;
}

.pangea-socials__feed-fallback {
	align-items: center;
	background: linear-gradient(145deg, #f9f3ff, #fff5f2);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 344px;
	padding: 38px;
	text-align: center;
}

.pangea-socials__feed-fallback p {
	color: var(--pangea-muted);
	line-height: 1.6;
	max-width: 360px;
}

.pangea-socials__profile-link {
	border-radius: 999px;
	display: table;
	font-size: 0.88rem;
	font-weight: 800;
	margin: 8px auto 0;
	padding: 11px 18px;
	text-align: center;
	text-decoration: none;
	transition: opacity 160ms ease, transform 160ms ease;
}

.pangea-socials__profile-link:hover,
.pangea-socials__profile-link:focus-visible {
	opacity: 0.86;
	transform: translateY(-1px);
}

.pangea-socials__profile-link--instagram {
	background: linear-gradient(100deg, #7358ff, #f50057 60%, #ff7a00);
	color: #ffffff !important;
}

.pangea-socials__profile-link--tiktok {
	background: #111111;
	box-shadow: -3px 0 0 #25f4ee, 3px 0 0 #fe2c55;
	color: #ffffff !important;
}

.pangea-socials__tiktok-stage {
	background:
		radial-gradient(circle at 25% 15%, rgba(37, 244, 238, 0.18), transparent 32%),
		radial-gradient(circle at 85% 80%, rgba(254, 44, 85, 0.18), transparent 30%),
		#0e0e10;
	display: grid;
	min-height: 416px;
	overflow: hidden;
	padding: clamp(18px, 3vw, 30px);
	place-items: center;
}

.pangea-socials__tiktok-stage .tiktok-embed {
	margin: 0 !important;
	max-width: 100% !important;
	min-width: 288px !important;
	width: 100% !important;
}

.pangea-socials__tiktok-stage .tiktok-embed > section {
	color: #ffffff;
	font-weight: 800;
	text-align: center;
}

@media (max-width: 860px) {
	.pangea-socials__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.pangea-socials__window {
		margin-inline: auto;
		max-width: 680px;
		width: 100%;
	}
}

@media (max-width: 480px) {
	.pangea-socials {
		padding-inline: 12px;
	}

	.pangea-socials__window {
		border-radius: 20px;
	}

	.pangea-socials__window-bar {
		gap: 9px;
		padding: 18px 14px;
	}

	.pangea-socials__window-bar > a {
		padding: 7px 11px;
	}

	.pangea-socials__instagram-feed {
		min-height: 300px;
		padding: 10px;
	}

	.pangea-socials__tiktok-stage {
		padding-inline: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pangea-socials *,
	.pangea-socials *::before,
	.pangea-socials *::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
