/* ==========================================================================
   OIB Partner Badge — compact inline card with icon + title + subtitle
   ========================================================================== */

.oib-pbadge {
	/* `!important` defeats Elementor's per-instance variable output
	   (`.elementor-element-XXX .oib-pbadge { --oib-pbadge-pt: 32px }` at
	   specificity 0,4,0) for instances saved before v1.19. To allow
	   per-widget padding changes via the Elementor panel again, drop the
	   `!important` flags below. */
	--oib-pbadge-pt: 80px !important;
	--oib-pbadge-pb: 80px !important;

	position: relative;
	padding: var(--oib-pbadge-pt) 24px var(--oib-pbadge-pb);
	display: flex;
	justify-content: center;
	font-family: var(--oib-font, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
	-webkit-font-smoothing: antialiased;
}

/* ---- Card ---- */
.oib-pbadge__card {
	display: flex;
	align-items: center;
	gap: 18px;
	width: 100%;
	max-width: 620px;
	padding: 24px;
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-top: 2px solid #f59e0b;
	border-radius: 14px;
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.oib-pbadge__card--linked:hover,
.oib-pbadge__card--linked:focus-visible {
	transform: translateY(-2px);
	box-shadow:
		0 1px 2px rgba(15, 23, 42, 0.04),
		0 12px 24px -16px rgba(15, 23, 42, 0.16);
	outline: none;
}

/* ---- Icon ---- */
.oib-pbadge__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 999px;
	background: #f59e0b;
	color: #ffffff;
	font-size: 24px;
	line-height: 1;
}

.oib-pbadge__icon svg {
	width: 1em;
	height: 1em;
	display: block;
	fill: currentColor;
}

.oib-pbadge__icon i {
	font-size: inherit;
	line-height: 1;
}

/* ---- Body ---- */
.oib-pbadge__body {
	min-width: 0;
	flex: 1 1 auto;
}

.oib-pbadge__title {
	margin: 0 0 4px;
	color: #0f172a;
	font-size: clamp(18px, 1.6vw, 22px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.oib-pbadge__subtitle {
	margin: 0;
	color: #475569;
	font-size: 14.5px;
	line-height: 1.55;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 480px) {
	.oib-pbadge {
		padding: clamp(20px, 5vw, 28px) 16px clamp(20px, 5vw, 28px);
	}

	.oib-pbadge__card {
		padding: 18px;
		gap: 14px;
	}

	.oib-pbadge__icon {
		width: 48px;
		height: 48px;
		font-size: 22px;
	}

	.oib-pbadge__title {
		font-size: 17px;
	}

	.oib-pbadge__subtitle {
		font-size: 13.5px;
	}
}

/* ==========================================================================
   A11y / motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.oib-pbadge__card { transition: none !important; }
	.oib-pbadge__card--linked:hover { transform: none; }
}
