/* Tesla stock chart — Infrastructure & Data Partners section */
.elementor-67 .elementor-element-47650a2 > .e-con-inner {
	gap: 0.75rem;
}

.elementor-67 .elementor-element-47650a2 .elementor-element-858386d {
	margin-bottom: 0 !important;
}

.elementor-67 .elementor-element-47650a2 .elementor-element-858386d .elementor-widget-container {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Broken carousel markup reserves a large empty block — logos shown in chart header */
.elementor-67 .elementor-element-befd7ab {
	display: none !important;
}

.elementor-67 .elementor-element-47650a2 .tsic-tesla-chart {
	margin-top: 0;
	width: 100%;
}

.elementor-67 .elementor-element-tsic-tsla-chart {
	margin-top: 0 !important;
}

.elementor-67 .tsic-partners-inline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1.5rem, 5vw, 3.5rem);
	flex-wrap: wrap;
	margin: 0 0 0.75rem;
	padding: 0;
}

.elementor-67 .tsic-partners-inline img {
	height: 40px;
	width: auto;
	max-width: min(160px, 22vw);
	object-fit: contain;
	filter: brightness(0);
	opacity: 0.8;
}

.elementor-67 .tsic-tesla-chart__card {
	background: linear-gradient(145deg, rgba(72, 14, 22, 0.92) 0%, rgba(10, 2, 4, 0.97) 100%);
	border: 1px solid rgba(232, 33, 39, 0.32);
	border-radius: 16px;
	padding: 1.25rem 1.25rem 0.75rem;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
	overflow: hidden;
}

.elementor-67 .tsic-tesla-chart__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	margin-bottom: 1rem;
	padding: 0 0.25rem;
}

.elementor-67 .tsic-tesla-chart__brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.elementor-67 .tsic-tesla-chart__logo {
	height: 36px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}

.elementor-67 .tsic-tesla-chart__symbol {
	margin: 0;
	font-family: var(--e-global-typography-primary-font-family, Syne), sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--e-global-color-359bfc4, #fff);
	line-height: 1.2;
}

.elementor-67 .tsic-tesla-chart__ticker {
	margin: 0.2rem 0 0;
	font-family: var(--e-global-typography-text-font-family, "DM Sans"), sans-serif;
	font-size: 0.875rem;
	color: var(--e-global-color-text, #8b8d98);
}

.elementor-67 .tsic-tesla-chart__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	font-family: var(--e-global-typography-text-font-family, "DM Sans"), sans-serif;
	font-size: 0.75rem;
	font-weight: 500;
	color: rgba(255, 236, 236, 0.95);
	background: rgba(232, 33, 39, 0.14);
	border: 1px solid rgba(232, 33, 39, 0.38);
}

.elementor-67 .tsic-tesla-chart__badge::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #e82127;
	box-shadow: 0 0 8px rgba(232, 33, 39, 0.75);
	animation: tsic-chart-pulse 1.8s ease-in-out infinite;
}

@keyframes tsic-chart-pulse {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.45;
	}
}

.elementor-67 .tsic-tesla-chart__frame {
	display: flex;
	flex-direction: column;
	min-height: 0;
	/* Tighter than 420px — Advanced Chart leaves empty band inside the iframe; shorter box reduces dead space */
	height: clamp(300px, 48vw, 380px);
	max-height: 400px;
	border-radius: 10px;
	overflow: hidden;
	background: #0a0304;
	/* Remove “phantom” gap under replaced elements (iframe) when container lays out as inline formatting context */
	line-height: 0;
}

.elementor-67 .tsic-tesla-chart__frame .tradingview-widget-container__widget {
	flex: 1 1 auto;
	min-height: 0;
	line-height: 0;
}

.elementor-67 .tsic-tesla-chart__frame .tradingview-widget-container,
.elementor-67 .tsic-tesla-chart__frame .tradingview-widget-container__widget {
	height: 100% !important;
	width: 100% !important;
}

.elementor-67 .tsic-tesla-chart__frame iframe {
	display: block;
	border: 0;
	vertical-align: bottom;
	min-height: 100% !important;
	height: 100% !important;
	width: 100% !important;
}

@media (max-width: 767px) {
	.elementor-67 .tsic-tesla-chart__frame {
		height: clamp(260px, 62vw, 320px);
		max-height: 340px;
	}

	.elementor-67 .tsic-tesla-chart__card {
		padding: 1rem 0.75rem 0.5rem;
	}
}
