/* =========================================================================
   MijnBuurt Flyer Generator
   - .mbfg-flyer is a FIXED 765 x 990 canvas (ratio of the original 1275x1650).
   - Everything inside uses px so html2canvas reproduces it consistently.
   - The on-screen preview is scaled down responsively via .mbfg-scaler;
     the capture always runs on the unscaled 765px node.
   ========================================================================= */

:root {
	--mbfg-orange: #ba5127;
	--mbfg-ink: #1a1a1a;
	--mbfg-grey: #f0f0f0;
}

.mbfg-app {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: flex-start;
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--mbfg-ink);
}

/* ----------------------------- Controls ----------------------------- */
.mbfg-controls {
	flex: 1 1 280px;
	max-width: 360px;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .05);
}
.mbfg-field { margin-bottom: 22px; }
.mbfg-field > label {
	display: block;
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 8px;
	color: var(--mbfg-ink);
}
.mbfg-input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	font-size: 16px;
	font-family: inherit;
	border: 1px solid #d6d6d6;
	border-radius: 10px;
	transition: border-color .15s, box-shadow .15s;
}
.mbfg-input:focus {
	outline: none;
	border-color: var(--mbfg-orange);
	box-shadow: 0 0 0 3px rgba(186, 81, 39, .15);
}
.mbfg-hint { font-size: 12px; color: #777; margin: 8px 0 0; line-height: 1.5; }
.mbfg-hint code { background: #f3f3f3; padding: 1px 5px; border-radius: 4px; font-size: 11px; }

.mbfg-logo-uploads { display: flex; gap: 10px; }
.mbfg-upload { position: relative; flex: 1; }
.mbfg-file {
	position: absolute; width: 1px; height: 1px;
	opacity: 0; overflow: hidden; clip: rect(0 0 0 0);
}
.mbfg-upload-btn {
	display: flex; align-items: center; justify-content: center;
	height: 70px; cursor: pointer;
	border: 1.5px dashed #c9c9c9; border-radius: 10px;
	background: #fafafa; text-align: center; padding: 6px;
	transition: border-color .15s, background .15s;
}
.mbfg-upload-btn:hover { border-color: var(--mbfg-orange); background: #fff7f3; }
.mbfg-upload-empty { font-size: 12px; color: #888; font-weight: 500; }
.mbfg-upload-thumb { display: none; max-width: 100%; max-height: 58px; object-fit: contain; }
.mbfg-upload.is-filled .mbfg-upload-empty { display: none; }
.mbfg-upload.is-filled .mbfg-upload-thumb { display: block; }
.mbfg-upload.is-filled .mbfg-upload-btn { border-style: solid; border-color: #e0e0e0; }
.mbfg-remove {
	position: absolute; top: -8px; right: -8px;
	width: 22px; height: 22px; border-radius: 50%;
	border: none; background: var(--mbfg-ink); color: #fff;
	font-size: 15px; line-height: 1; cursor: pointer; padding: 0;
	display: flex; align-items: center; justify-content: center;
}
.mbfg-remove:hover { background: var(--mbfg-orange); }

.mbfg-actions { display: flex; flex-direction: column; gap: 10px; }
.mbfg-btn {
	width: 100%; padding: 13px 16px; font-size: 15px; font-weight: 600;
	font-family: inherit; border-radius: 10px; cursor: pointer;
	border: 1.5px solid transparent; transition: filter .15s, background .15s;
}
.mbfg-btn:disabled { opacity: .55; cursor: progress; }
.mbfg-btn-primary { background: var(--mbfg-orange); color: #fff; }
.mbfg-btn-primary:hover:not(:disabled) { filter: brightness(1.07); }
.mbfg-btn-secondary { background: #fff; color: var(--mbfg-orange); border-color: var(--mbfg-orange); }
.mbfg-btn-secondary:hover:not(:disabled) { background: #fff7f3; }
.mbfg-status { font-size: 13px; color: #555; margin: 14px 0 0; min-height: 18px; text-align: center; }

/* ------------------------------ Stage ------------------------------ */
.mbfg-stage { flex: 1 1 420px; overflow: hidden; }
.mbfg-scaler { transform-origin: top left; }

/* ============================ THE FLYER ============================ */
.mbfg-flyer {
	width: 765px;
	height: 990px;
	position: relative;
	background: #fff;
	overflow: hidden;
	color: var(--mbfg-ink);
	box-shadow: 0 10px 40px rgba(0, 0, 0, .12);
}

.mbfg-topbar { height: 18px; background: var(--mbfg-orange); }
.mbfg-botbar {
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 26px; background: var(--mbfg-orange);
}

.mbfg-body { padding: 0 42px 0; }

.mbfg-header { display: inline-flex; height: 85px; width: 100%; margin-top: 1.5em; }
.mbfg-header img { position: relative; margin: 0px !important; top: 10px; }
.mbfg-logo { height: 90px; width: auto; display: block; }
.mbfg-brand { line-height: 1; left: 155px; height: 80px; position: absolute; }
.mbfg-wordmark {
	font-size: 48px; font-weight: 700; letter-spacing: -1.5px;
	line-height: .9; color: var(--mbfg-ink);
}
.mbfg-subtitle { font-size: 27px; font-weight: 600; margin-top: 10px; }

.mbfg-tagline { font-size: 15px; font-weight: 700; }

.mbfg-h2 {
	color: var(--mbfg-orange);
	font-size: 30px !important; font-weight: 800 !important;
	margin: 26px 0 14px !important;
	margin-top: 20px !important;
}

.mbfg-list p { font-size: 18.5px; line-height: 1.45; margin: 0 0 2px; font-weight: 400; }
.mbfg-list strong, .mbfg-para strong { font-weight: 700; }

.mbfg-para { font-size: 18.5px; line-height: 1.5; margin: 20px 0 0; font-weight: 400; }

.mbfg-cta1 { color: var(--mbfg-orange); font-size: 22px; font-weight: 800; margin-top: 24px; margin-bottom: 0px !important; }
.mbfg-cta2 { color: var(--mbfg-orange); font-size: 20px; font-weight: 500; }

/* ------------------------------ Footer ------------------------------ */
.mbfg-footer {
	position: absolute; left: 0; right: 0; bottom: 26px;
	height: 340px;
	background: var(--mbfg-grey);
	padding: 15px 42px 0;
	box-sizing: border-box;
	display: flex; flex-direction: column;
}
.mbfg-footer-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mbfg-footer-text { max-width: 320px; }
.mbfg-join { font-size: 23px; font-weight: 700; line-height: 1.25; }
.mbfg-join-sub { font-size: 19px; font-weight: 400; margin-top: 6px; }

.mbfg-footer-right { display: flex; align-items: center; gap: 18px; }
.mbfg-qr { width: 124px; height: 124px; display: block; }
.mbfg-badges { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mbfg-badges img { width: 150px; height: auto; display: block; margin:0 !important; }
.mbfg-url {
	font-size: 17px; font-weight: 700; color: var(--mbfg-orange);
	text-decoration: underline; margin-top: 2px;
}

/* Logo strip pinned near the bottom of the grey block */
.mbfg-logos {
	margin-top: auto;
	margin-bottom: 30px;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 64px;
}
.mbfg-logos img { max-height: 120px; max-width: 200px; object-fit: contain; display: block; }

/* ------------------------------ Mobile ------------------------------ */
@media (max-width: 720px) {
	.mbfg-controls { max-width: none; }
}


.single-post-content p {}