/* Certifications page — download-card-as-button reset + lightbox ------- */

.binbay-cert-card {
	appearance: none;
	-webkit-appearance: none;
	font: inherit;
}

.binbay-lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba( 15, 19, 22, 0.7 );
	padding: 20px;
}
.binbay-lightbox-overlay.is-open { display: flex; }

.binbay-lightbox-modal {
	position: relative;
	width: 100%;
	max-width: 760px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 24px 60px -20px rgba( 0, 0, 0, 0.4 );
}

.binbay-lightbox-body {
	margin-top: 12px;
	border-radius: 12px;
	overflow: hidden;
	background: var( --brand-soft, #f2f7f3 );
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.binbay-lightbox-image {
	display: block;
	max-width: 100%;
	max-height: 70vh;
	margin: 0 auto;
}

.binbay-lightbox-pdf {
	width: 100%;
	height: 70vh;
	border: 0;
	display: block;
}

@media ( max-width: 640px ) {
	.binbay-lightbox-modal { padding: 20px; }
	.binbay-lightbox-pdf,
	.binbay-lightbox-body { height: 60vh; }
}