/* Inline gated brochure form (page section) */

.ml-brochure-gate {
	--ml-bg: #104146;
	--ml-gold: #c8a456;
	--ml-gold-dark: #a8863e;
	--ml-text: #1a2e30;
	--ml-muted: #5a6e70;
	--ml-border: #d5e0e1;
	width: 100%;
	max-width: 520px;
}

.ml-brochure-gate__form {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
	align-items: stretch;
}

/* Brochure cover preview beside the form */
.ds-brochure-preview-col {
	max-width: 340px;
}

.ds-brochure-section .ds-brochure-cover img,
.ds-brochure-section .elementor-widget-image img {
	width: 100%;
	height: auto;
	display: block;
	background: #fff;
}

@media (max-width: 1024px) {
	.ds-brochure-preview-col {
		max-width: 280px;
		margin-inline: auto;
	}
}

.ml-brochure-gate__field {
	display: grid;
	gap: 0.35rem;
	margin: 0;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--ml-bg);
}

.ml-brochure-gate__field input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.85rem 0.95rem;
	border: 1.5px solid var(--ml-border);
	border-radius: 10px;
	background: #fff;
	color: var(--ml-text);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 400;
}

.ml-brochure-gate__field input:focus {
	outline: none;
	border-color: var(--ml-gold);
}

.ml-brochure-gate__submit,
.ml-brochure-gate__submit:hover,
.ml-brochure-gate__submit:focus,
.ml-brochure-gate__submit:active,
.ml-brochure-gate__submit:focus-visible {
	padding: 0.9rem 1.25rem;
	border: none !important;
	border-radius: 10px;
	background: var(--ml-gold) !important;
	background-color: var(--ml-gold) !important;
	color: #fff !important;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease, opacity 0.15s ease;
	width: 100%;
	box-shadow: none !important;
	outline: none !important;
}

.ml-brochure-gate__submit:hover:not(:disabled),
.ml-brochure-gate__submit:focus:not(:disabled),
.ml-brochure-gate__submit:active:not(:disabled) {
	background: var(--ml-gold-dark) !important;
	background-color: var(--ml-gold-dark) !important;
	color: #fff !important;
}

.ml-brochure-gate__submit:disabled,
.ml-brochure-gate__submit:disabled:hover,
.ml-brochure-gate__submit:disabled:focus,
.ml-brochure-gate__submit:disabled:active {
	background: var(--ml-gold) !important;
	background-color: var(--ml-gold) !important;
	color: #fff !important;
	opacity: 0.75;
	cursor: wait;
	pointer-events: none;
}

.ml-brochure-gate__status,
.ml-brochure-gate__fineprint {
	grid-column: 1 / -1;
	margin: 0;
}

.ml-brochure-gate__status {
	font-size: 0.92rem;
	font-weight: 500;
}

.ml-brochure-gate__status--success {
	color: var(--ml-bg);
}

.ml-brochure-gate__status--error {
	color: #9b2c2c;
}

.ml-brochure-gate__fineprint {
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--ml-muted);
	font-weight: 400;
}

/* Honeypot — visually hidden, still in DOM for bots */
.ml-brochure-gate__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* Hide Google badge; attribution stays in form fineprint */
.grecaptcha-badge {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

