/* CTA Injector — Frontend Widget Styles */

.cti-widget {
	margin: 0 0 24px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.cti-widget__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 20px;
	border-radius: 10px;
	border: 1.5px solid #e2e8f0;
	background: #fff;
	flex-wrap: wrap;
}

/* Left-border accents */
.cti-slot-1 .cti-widget__inner { border-left: 4px solid #2563eb; }
.cti-slot-2 .cti-widget__inner { border-left: 4px solid #16a34a; }
.cti-slot-3 .cti-widget__inner { border-left: 4px solid #2563eb; }
.cti-topic  .cti-widget__inner { border-left: 4px solid #2563eb; }

.cti-widget__copy {
	flex: 1;
	min-width: 0;
}

.cti-widget__logo {
	display: block;
	height: 20px;
	width: auto;
	margin-bottom: 8px;
}

.cti-widget__image {
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	border-radius: 8px;
	overflow: hidden;
}

.cti-widget__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.cti-widget__headline {
	margin: 0 0 3px;
	font-size: 1rem;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.4;
}

.cti-widget__subtext {
	margin: 0;
	font-size: .85rem;
	color: #64748b;
	line-height: 1.5;
}

/* Button + trust line stacked together, under the button, inside the box */
.cti-widget__cta-col {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.cti-widget__btn {
	display: inline-block;
	padding: 9px 20px;
	background: #2563eb;
	color: #fff !important;
	font-size: .88rem;
	font-weight: 600;
	border-radius: 7px;
	text-decoration: none !important;
	transition: background .15s, transform .1s;
	white-space: nowrap;
	text-align: center;
}

.cti-widget__btn:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

.cti-widget__btn:active {
	transform: translateY(0);
}

.cti-widget__trust {
	margin: 0;
	font-size: .72rem;
	color: #94a3b8;
	text-align: center;
	white-space: nowrap;
}

@media (max-width: 600px) {
	.cti-widget__inner {
		flex-direction: column;
		align-items: stretch;
	}
	.cti-widget__image {
		display: none;
	}
	.cti-widget__cta-col {
		align-items: stretch;
	}
	.cti-widget__btn {
		width: 100%;
	}
}
