/* Contextual CTA Banner - native in-article style */

.contextual-cta {
	display: flex;
	align-items: stretch;
	margin: var(--cctab-margin-top, 32px) 0 var(--cctab-margin-bottom, 32px);
	max-width: var(--cctab-max-width, none);
	background: var(--cctab-bg, #f3f4f3);
	border-radius: 6px;
	overflow: hidden;
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: none;
	color: inherit;
	text-decoration: none;
}

a.contextual-cta {
	cursor: pointer;
	transition: filter 0.15s ease, box-shadow 0.15s ease;
}

a.contextual-cta:hover,
a.contextual-cta:focus {
	filter: brightness(0.98);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	color: inherit;
	text-decoration: none;
}

.cctab-inner {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.2rem 1.75rem;
	width: 100%;
}

.cctab-logo {
	flex-shrink: 0;
	width: 48px;
	margin-top: 2px;
}

.cctab-logo-image {
	display: block;
	max-width: 48px;
	max-height: 48px;
	width: auto;
	height: auto;
}

.cctab-content {
	flex: 1;
	min-width: 0;
}

.cctab-headline {
	font-weight: 800;
	font-size: 1.22em;
	line-height: 1.25;
	margin: 0 0 0.25em;
	color: var(--cctab-headline, #0f0f0f);
}

.cctab-description {
	margin: 0;
	color: var(--cctab-text, #222);
}

.cctab-description p {
	margin: 0;
}

.cctab-description p + p {
	margin-top: 0.5em;
}

.cctab-builder-preview {
	opacity: 0.98;
}

@media (max-width: 600px) {
	.cctab-inner {
		padding: 1rem;
		gap: 0.75rem;
	}

	.cctab-logo {
		width: 38px;
	}

	.cctab-logo-image {
		max-width: 38px;
		max-height: 38px;
	}

	.cctab-headline {
		font-size: 1.1em;
	}
}
