/* LOPL LibWizard forms — same panel look as the Library Stories share form. */
.lopl-form {
	--lf-primary: var(--e-global-color-primary, #003B5C);
	--lf-secondary: var(--e-global-color-secondary, #006152);
	--lf-panel: #eef3f1;
	margin: 0 0 32px;
}
.lopl-form .lopl-form__title {
	margin: 0 0 12px;
	font-family: "Oswald", sans-serif;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--lf-primary);
}
.lopl-form__embed {
	padding: 24px;
	background: var(--lf-panel);
	border-radius: 6px;
}
.lopl-form__embed:empty { min-height: 240px; } /* reserve space while the loader runs */
.lopl-form__embed iframe {
	display: block;
	width: 100% !important;
	border: 0;
	background: #fff;
	border-radius: 4px;
}
.lopl-form .lopl-form__fallback {
	margin: 8px 0 0;
	font-size: 13px;
	color: #5f6b68;
}
.lopl-form .lopl-form__fallback a { color: var(--lf-secondary); text-decoration: underline; }

.lopl-form .lopl-form__button {
	display: inline-block;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
	text-decoration: none;
	background: var(--lf-primary);
	border-radius: 4px;
}
.lopl-form .lopl-form__button:hover,
.lopl-form .lopl-form__button:focus { color: #fff; background: var(--lf-secondary); }

/* The Stories share page already wraps the old raw embed in a panel; don't double it. */
.lopl-stories-section--share .lopl-form [id^="form_"] { margin: 0; }

.lopl-form .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

@media (max-width: 767px) {
	.lopl-form__embed { padding: 12px; margin-inline: -4px; }
	.lopl-form .lopl-form__title { font-size: 24px; }
	.lopl-form .lopl-form__button { display: block; text-align: center; }
}
