/* =========================================================
   Camper Ads — front v1.1
   ========================================================= */
.ca-slot {
	position: relative;
	display: grid;
	gap: 16px;
	width: 100%;
	margin: 24px 0;
	padding-top: 22px; /* miejsce na etykietę "REKLAMA" */
}
.ca-slot * { box-sizing: border-box; }

/* Etykieta "REKLAMA" nad slotem */
.ca-slot::before {
	content: "REKLAMA";
	position: absolute;
	top: 0;
	right: 4px;
	font-family: 'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .12em;
	color: #94a3b8;
	line-height: 1;
	text-transform: uppercase;
	pointer-events: none;
}

/* Układy */
.ca-slot--100      { grid-template-columns: 1fr; }
.ca-slot--50-50    { grid-template-columns: 1fr 1fr; }
.ca-slot--33-33-33 { grid-template-columns: 1fr 1fr 1fr; }

.ca-slot__cell { min-width: 0; }

.ca-ad {
	display: block;
	width: 100%;
	line-height: 0;
	overflow: hidden;
	border-radius: 10px;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}
.ca-ad--image:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(15, 23, 42, .12);
}

.ca-ad img {
	width: 100%;
	height: auto;
	display: block;
}

.ca-ad--html { line-height: normal; }

.ca-error {
	padding: 12px 16px;
	background: #fef2f2;
	color: #991b1b;
	border-radius: 8px;
	font-size: 13px;
}

/* Mobile */
@media (max-width: 720px) {
	.ca-slot--50-50,
	.ca-slot--33-33-33 {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.ca-slot::before {
		font-size: 9px;
		right: 2px;
	}
}
