/* ── Cross-site ads — shared ──────────────────────────────────────────────── */
.psb-cross-ad {
	--psb-ad-accent: #1a6fc4;
}

/* ────────────────────────────────────────────────────────────────────────────
   Placement A — Mid-page "sister brand" content card
   ──────────────────────────────────────────────────────────────────────────── */


/* ────────────────────────────────────────────────────────────────────────────
   Placement B & C — Banner with background image
   Both render inside the .psb-pd boxed container, so they stay within the
   same width as the rest of the page content.
   ──────────────────────────────────────────────────────────────────────────── */

.psb-cross-ad--banner {
	position: relative;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--psb-ad-accent, #1a6fc4);
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* Bottom strip (product detail) — contained inside .psb-pd. */
.psb-cross-ad--bottom_strip,
.psb-cross-ad--tax_footer {
	width: 100%;
	border-radius: 10px;
	margin-top: 32px;
	margin-bottom: 0;
}

/* Dark overlay so text remains readable on top of any background image. */
.psb-cross-ad__overlay {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 48px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(
		135deg,
		rgba(0, 0, 0, 0.65) 0%,
		rgba(0, 0, 0, 0.35) 100%
	);
}

/* Subtle colour wash on top of the gradient so even light logos are readable. */
.psb-cross-ad--banner::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.15) 0%,
		rgba(0, 0, 0, 0.5) 100%
	);
	pointer-events: none;
}

.psb-cross-ad__banner-inner {
	text-align: center;
	color: #ffffff;
	max-width: 720px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.psb-cross-ad__banner-logo {
	max-height: 52px;
	max-width: 200px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}

.psb-cross-ad__banner-heading {
	margin: 0;
	font-size: clamp(1.4rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
}

.psb-cross-ad__banner-tagline {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
	max-width: 520px;
}

.psb-cross-ad__banner-cta {
	display: inline-block;
	margin-top: 8px;
	padding: 12px 28px;
	background: #ffffff;
	color: #1a1a1a !important;
	font-size: 15px;
	font-weight: 700;
	border-radius: 30px;
	text-decoration: none !important;
	border: none;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.psb-cross-ad__banner-cta:hover,
.psb-cross-ad__banner-cta:focus {
	transform: translateY(-1px);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
	color: #1a1a1a !important;
}


/* ────────────────────────────────────────────────────────────────────────────
   Responsive
   ──────────────────────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
	.psb-cross-ad--banner {
		min-height: 240px;
		margin-top: 28px;
	}

	.psb-cross-ad__overlay {
		padding: 36px 20px;
	}

	.psb-cross-ad__banner-logo {
		max-height: 40px;
		max-width: 160px;
	}

	.psb-cross-ad__banner-heading {
		font-size: 1.25rem;
	}

	.psb-cross-ad__banner-tagline {
		font-size: 0.95rem;
	}
}
