/* MLT email capture — popup + end-of-post box | coral CTAs like .eh-btn-join */
.mlt-ec{--ec-coral:#df5640;--ec-coral-d:#c94834;--ec-navy:#1c0d5a;--ec-text:#0f172a;--ec-muted:#64748b;--ec-bg:#fff8f6;--ec-border:#f0d8d3;font-family:"Nunito Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ec-text);box-sizing:border-box}
.mlt-ec *,.mlt-ec *::before,.mlt-ec *::after{box-sizing:border-box}
.mlt-ec [hidden]{display:none!important}
.mlt-ec__eyebrow{margin:0 0 4px;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ec-coral)}
.mlt-ec__title{margin:0 0 8px;font-size:1.6rem;line-height:1.15;font-weight:800;color:var(--ec-navy)}
.mlt-ec__lede{margin:0 0 14px;font-size:1rem;line-height:1.45;color:#334155}
.mlt-ec__img{display:block;width:100%;height:auto;border-radius:12px}
.mlt-ec__hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.mlt-ec__fields{display:grid;gap:10px;margin-bottom:12px}
.mlt-ec__field{display:block;margin:0}
.mlt-ec__field span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mlt-ec__field input{display:block;width:100%;min-height:48px;padding:11px 14px;font-size:16px;line-height:1.3;color:var(--ec-text);background:#fff;border:1.5px solid #d6c7c3;border-radius:10px;box-shadow:none;margin:0}
.mlt-ec__field input:focus{outline:none;border-color:var(--ec-coral);box-shadow:0 0 0 3px rgba(223,86,64,.18)}
.mlt-ec__btn,.mlt-ec .mlt-ec__btn.eh-btn-join{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:12px 18px;font-size:1.05rem;font-weight:800;line-height:1.2;text-align:center;text-decoration:none;text-transform:none;letter-spacing:0;color:#fff!important;background:var(--ec-coral);border:0;border-radius:999px;box-shadow:0 6px 16px rgba(223,86,64,.28);cursor:pointer;transition:background .15s,transform .15s}
.mlt-ec__btn:hover,.mlt-ec__btn:focus-visible{background:var(--ec-coral-d);transform:translateY(-1px);color:#fff}
.mlt-ec__btn[disabled]{opacity:.65;cursor:wait;transform:none}
.mlt-ec__fine{margin:8px 0 0;font-size:.82rem;color:var(--ec-muted);text-align:center}
.mlt-ec__msg{margin-top:8px;font-size:.92rem;min-height:0}
.mlt-ec__msg.is-error{color:#b42318;font-weight:700}
.mlt-ec__done{text-align:center}
.mlt-ec__done p{margin:0 0 12px;line-height:1.45}
.mlt-ec__done-title{font-size:1.35rem;font-weight:800;color:var(--ec-navy)}

/* Popup */
html.mlt-ec-lock,html.mlt-ec-lock body{overflow:hidden}
.mlt-ec-popup{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:16px;opacity:0;transition:opacity .2s ease}
.mlt-ec-popup.is-open{opacity:1}
.mlt-ec-popup__overlay{position:absolute;inset:0;background:rgba(28,13,90,.55)}
.mlt-ec-popup__panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);width:100%;max-width:780px;max-height:calc(100vh - 32px);overflow:auto;background:var(--ec-bg);border-radius:20px;box-shadow:0 24px 60px rgba(15,23,42,.35);transform:translateY(12px) scale(.98);transition:transform .2s ease}
.mlt-ec-popup.is-open .mlt-ec-popup__panel{transform:none}
.mlt-ec-popup__art{display:flex;align-items:center;padding:24px 8px 24px 24px;background:radial-gradient(600px 300px at 0% 0%,rgba(223,86,64,.14),transparent 60%),radial-gradient(500px 300px at 100% 100%,rgba(176,170,239,.22),transparent 60%)}
.mlt-ec-popup__body{padding:30px 28px 24px}
.mlt-ec-popup__close{position:absolute;top:8px;right:10px;z-index:2;width:40px;height:40px;padding:0;font-size:28px;line-height:40px;color:#475569;background:rgba(255,255,255,.85);border:0;border-radius:50%;cursor:pointer}
.mlt-ec-popup__close:hover{color:var(--ec-navy);background:#fff}
@media (max-width:767px){
	.mlt-ec-popup{align-items:flex-end;padding:0}
	.mlt-ec-popup__panel{grid-template-columns:1fr;max-width:none;max-height:92vh;border-radius:20px 20px 0 0;transform:translateY(30px)}
	.mlt-ec-popup__art{padding:18px 48px 0;background:none}
	.mlt-ec-popup__art .mlt-ec__img{max-height:30vh;width:auto;max-width:100%;margin:0 auto}
	.mlt-ec-popup__body{padding:14px 20px 20px}
	.mlt-ec-popup .mlt-ec__title{font-size:1.4rem;text-align:center}
	.mlt-ec-popup .mlt-ec__eyebrow,.mlt-ec-popup .mlt-ec__lede{text-align:center}
	.mlt-ec-popup .mlt-ec__lede{font-size:.95rem;margin-bottom:12px}
}

/* End-of-post box */
.mlt-ec-box{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:24px;align-items:center;margin:40px 0 24px;padding:24px;background:linear-gradient(135deg,#fff8f6 0%,#fff 60%,#f4f2fd 100%);border:1.5px solid var(--ec-border);border-radius:20px;box-shadow:0 10px 30px rgba(28,13,90,.08)}
.mlt-ec-box .mlt-ec__title{font-size:1.55rem;margin-top:0}
@media (min-width:768px){.mlt-ec-box .mlt-ec__fields{grid-template-columns:1fr 1fr}}
@media (max-width:767px){
	.mlt-ec-box{grid-template-columns:1fr;gap:14px;padding:18px;margin:32px 0 20px}
	.mlt-ec-box .mlt-ec__title{font-size:1.35rem}
}
.mlt-ec-popup[hidden]{display:none!important}
/* Beat theme .entry-content h2/p spacing */
.mlt-ec .mlt-ec__title{margin:0 0 8px!important;padding:0!important}
.mlt-ec .mlt-ec__eyebrow{margin:0 0 6px!important}
.mlt-ec .mlt-ec__lede{margin:0 0 14px!important}
.mlt-ec form.mlt-ec__form{margin:0!important}
