  /* The theme's .btn padding (11px 25px 6px) is tuned for <a>; a <button> centres its
   content inside the content box, which that asymmetry pushes ~3px down. Centre
   explicitly instead and keep the theme's height, radius and colours. */
button.btn.iapr-cta,
button.btn.iapr-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 25px;
	line-height: 1;
	border: 0;
	box-sizing: border-box;
}

/* Pre-register CTA state */
.iapr-cta.is-registered {
	opacity: 0.75;
	cursor: default;
	pointer-events: none;
}
.iapr-cta.loading {
	opacity: 0.6;
	cursor: progress;
}

/* Modal (Magnific inline content) */
.iapr-modal {
	position: relative;
	background: #fff;
	color: #20264c;
	max-width: 520px;
	margin: 20px auto;
	padding: 36px 32px 28px;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	font-size: 16px;
	line-height: 1.5;
}
.iapr-mfp .mfp-close {
	color: #20264c;
	font-size: 32px;
	opacity: 0.7;
}
.iapr-modal__title {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.25;
	padding-right: 32px;
}
.iapr-modal__intro {
	margin-bottom: 18px;
}
.iapr-modal__intro p:last-child {
	margin-bottom: 0;
}
.iapr-form .iapr-field {
	margin: 0 0 14px;
}
.iapr-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 4px;
}
.iapr-form input[type="text"],
.iapr-form input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	border: 1px solid #c9cbd6;
	border-radius: 4px;
	font: inherit;
}
.iapr-form input[readonly] {
	background: #f3f4f8;
	color: #555;
}
/* Checkbox centred on the FIRST line of the (possibly wrapping) label text.
   Everything in px on purpose: the theme inherits a px line-height from body and
   the checkbox has its own UA font-size, so em-based maths drifted. Line box is
   24px, box is 18px → top offset (24 - 18) / 2 = 3px. */
.iapr-form .iapr-field--consent label {
	display: grid;
	grid-template-columns: 18px 1fr;
	column-gap: 12px;
	align-items: start;
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	cursor: pointer;
}
.iapr-form .iapr-field--consent input[type="checkbox"] {
	-webkit-appearance: checkbox;
	appearance: checkbox;
	box-sizing: border-box;
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	padding: 0;
	position: static;
	transform: none;
	vertical-align: top;
	accent-color: #20264c;
	cursor: pointer;
}
.iapr-form .iapr-field--consent span {
	display: block;
	font-size: 16px;
	line-height: 24px;
}
.iapr-form__error {
	color: #c0392b;
	margin: 0 0 12px;
}
.iapr-form__error[hidden] {
	display: none;
}
.iapr-form__actions {
	margin: 18px 0 0;
}
.iapr-form__submit.loading {
	opacity: 0.6;
	cursor: progress;
}
.iapr-modal__success {
	font-size: 17px;
}
.iapr-modal__success p:last-child {
	margin-bottom: 0;
}

/* Honeypot: off-screen, never display:none (some bots skip hidden fields) */
.iapr-hp {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Fallback overlay when Magnific Popup is not available */
.iapr-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 100000;
	overflow: auto;
	padding: 20px;
}
.iapr-overlay__inner {
	position: relative;
	max-width: 560px;
	margin: 40px auto;
}
.iapr-overlay__close {
	position: absolute;
	top: 20px;
	right: 8px;
	background: none;
	border: 0;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	color: #20264c;
}
