/* ═══════════════════════════════════════════════════════════════════════════
   Editorial Split: coaching card overlay
   ═══════════════════════════════════════════════════════════════════════════ */

.rbcc-ew-editorial-split__coaching-card {
	/* Positioned at the bottom-right corner of the image, overlapping it from the right.
	   overflow: visible on __media allows it to extend beyond the image boundary.
	   Figma: 312px × ~279px, padding 48px all sides. */
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 2;
	width: clamp(15rem, 48%, 22rem);
	box-sizing: border-box;
	padding: 3rem;
	background: var(--rbcc-ew-fallback-surface);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	display: grid;
	gap: 1rem;
}

.rbcc-ew-editorial-split__coaching-name {
	/* Figma: Noto Serif, 20px, color #452805 (accent-brown) */
	margin: 0;
	font-family: var(--rbcc-ew-fallback-heading-font);
	font-size: 1.25rem;
	font-weight: 400;
	font-style: italic;
	line-height: 1.4;
	color: var(--rbcc-ew-fallback-accent-brown);
}

.rbcc-ew-editorial-split__coaching-role {
	/* Figma: Manrope, 14px, Regular, muted body text — NOT an eyebrow/uppercase style */
	margin: 0;
	font-size: var(--rbcc-ew-fallback-fs-body-sm);
	font-weight: 400;
	line-height: 1.625;
	color: var(--rbcc-ew-fallback-text);
}

.rbcc-ew-editorial-split__coaching-contact {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: .4rem 1.25rem;
}

.rbcc-ew-editorial-split__coaching-contact a {
	font-size: var(--rbcc-ew-fallback-fs-body-sm);
	font-weight: 700;
	color: var(--rbcc-ew-fallback-brand);
	text-decoration: none;
}

.rbcc-ew-editorial-split__coaching-contact a:hover {
	text-decoration: underline;
}

.rbcc-ew-editorial-split__coaching-card .rbcc-ew-button {
	margin-top: .5rem;
	font-size: var(--rbcc-ew-fallback-fs-body-sm);
	min-height: 2.75rem;
	padding: .65rem 1.1rem;
	align-self: start;
	justify-self: start;
}

@media (max-width: 1024px) {
	.rbcc-ew-editorial-split__coaching-card {
		right: 1rem;
		bottom: 1rem;
		width: min(20rem, calc(100% - 2rem));
		padding: 2rem;
	}
}

@media (max-width: 767px) {
	.rbcc-ew-editorial-split__coaching-card {
		position: static;
		width: 100%;
		margin-top: 1rem;
		padding: 1.5rem;
	}

	.rbcc-ew-editorial-split__coaching-card .rbcc-ew-button {
		width: 100%;
	}
}
