/* Prescott Insider Engage — house palette: green #1f5a34, orange #d9531e, navy #16283c,
   cream #faf4e8, border #ead9c2, text #4b555c. */

/* In-post signup boxes (the card itself is styled by CDP MailWizz Signup). */
.pen-signup { margin: 28px 0; }
.pen-signup .cdpmw-wrap { max-width: none; margin: 0; }
.pen-signup--mid .cdpmw-card { border-left: 4px solid #d9531e; }
.pen-signup--end .cdpmw-card { border-top: 4px solid #1f5a34; }

/* Slide-in */
.pen-slide {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 99990;
	width: 360px;
	max-width: calc(100vw - 32px);
	background: #faf4e8;
	border: 1px solid #ead9c2;
	border-top: 4px solid #d9531e;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(22, 40, 60, .22);
	padding: 16px 18px 10px;
	transform: translateY(24px);
	opacity: 0;
	transition: transform .3s ease, opacity .3s ease;
}
.pen-slide.is-open { transform: none; opacity: 1; }
.pen-slide[hidden] { display: none; }
.pen-slide .pen-signup { margin: 0; }
.pen-slide .cdpmw-title { font-size: 18px; padding-right: 22px; }
.pen-slide .cdpmw-text { font-size: 14px; margin-bottom: 10px; }
.pen-slide .cdpmw-btn { flex: 1 1 100%; }
.pen-slide-x {
	position: absolute;
	top: 6px;
	right: 8px;
	background: none;
	border: 0;
	font-size: 24px;
	line-height: 1;
	color: #4b555c;
	cursor: pointer;
	padding: 4px 6px;
}
.pen-slide-no {
	display: block;
	margin: 6px auto 0;
	background: none;
	border: 0;
	color: #6b747a;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}
@media (max-width: 600px) {
	.pen-slide { right: 8px; left: 8px; bottom: 8px; width: auto; max-width: none; padding: 12px 14px 8px; }
	.pen-slide .cdpmw-text { display: none; } /* Keep it short on phones. */
}
@media (prefers-reduced-motion: reduce) {
	.pen-slide { transition: none; }
}

/* "Something changed?" */
.pen-fix { margin: 24px 0; font-size: 15px; color: #4b555c; }
.pen-fix summary {
	cursor: pointer;
	color: #1f5a34;
	font-weight: 600;
	display: inline-block;
	padding: 4px 0;
}
.pen-fix summary::before { content: "\270E\00a0"; }
.pen-fix details[open] {
	background: #faf4e8;
	border: 1px solid #ead9c2;
	border-radius: 10px;
	padding: 10px 16px 6px;
}
.pen-fix-form p { margin: 0 0 10px; }
.pen-fix-form label { display: block; font-weight: 700; color: #16283c; margin-bottom: 4px; }
.pen-fix-form textarea,
.pen-fix-form input[type="email"] {
	width: 100%;
	max-width: 560px;
	padding: 9px 10px;
	border: 1px solid #cdbb9f;
	border-radius: 6px;
	font: inherit;
	background: #fff;
	box-sizing: border-box;
}
.pen-help { display: block; font-size: 13px; color: #6b747a; margin-top: 3px; }
.pen-intro { font-size: 14px; }
.pen-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pen-btn {
	background: #1f5a34;
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 8px 18px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.pen-btn:disabled { opacity: .6; cursor: default; }
.pen-msg { font-size: 14px; }
.pen-msg.is-ok { color: #1f5a34; font-weight: 600; }
.pen-msg.is-err { color: #b32d2e; font-weight: 600; }
.pen-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Fact-checked stamp */
.pen-checked {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	margin: 0 0 18px;
	padding: 4px 12px;
	background: #f3f8f4;
	border: 1px solid #b9d3c1;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.4;
	color: #1f5a34;
}
.pen-checked-mark,
.pen-checked-label { font-weight: 700; }
.pen-checked a { color: #1f5a34; text-decoration: underline; }
.pen-checked-sep { color: #8aa894; }

/* Accessibility: the signup plugin's fine print (#8a8175 on cream, 3.5:1)
   is below WCAG AA; darken it on this site (5.4:1). */
.cdpmw-wrap .cdpmw-fine,
.cdpmw-wrap .cdpmw-fine a { color: #6b6359; }
.cdpmw-wrap.cdpmw-dark .cdpmw-fine,
.cdpmw-wrap.cdpmw-dark .cdpmw-fine a { color: #a39a8e; }
