/* ════════════════════════════════════════════════════════════════════════
   site-content-admin c15 (2026-05-28) — landing-modal styles.
   Memphis aesthetic: 4px black borders, offset shadows, Fredoka One
   headings, Nunito body. Mobile-first; ≥44px tap targets on the X +
   CTA. Backdrop dims the page; modal floats centered.
   ════════════════════════════════════════════════════════════════════════ */

.ej-lm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(17, 17, 17, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  -webkit-tap-highlight-color: transparent;
  animation: ej-lm-fade 180ms ease-out;
}
@keyframes ej-lm-fade { from { opacity: 0 } to { opacity: 1 } }

.ej-lm-card {
  position: relative;
  max-width: 440px;
  width: 100%;
  padding: 28px 24px 24px;
  border: 4px solid #111;
  box-shadow: 8px 8px 0 #111;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  animation: ej-lm-pop 220ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes ej-lm-pop {
  from { transform: scale(0.94) translateY(8px); opacity: 0 }
  to   { transform: none; opacity: 1 }
}

.ej-lm-x {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  font-family: 'Fredoka One', cursive;
  line-height: 1;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.ej-lm-x:active { transform: translate(1px, 1px); }

.ej-lm-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border: 3px solid #111;
  margin-bottom: 14px;
}

.ej-lm-title {
  font-family: 'Fredoka One', cursive;
  font-size: 1.5rem;
  line-height: 1.15;
  margin: 0 0 10px 0;
}

.ej-lm-body {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 18px 0;
  color: inherit;
  opacity: 0.92;
}

.ej-lm-cta {
  display: inline-block;
  min-height: 44px;
  padding: 12px 22px;
  background: #ffe600;
  color: #111;
  border: 3px solid #111;
  box-shadow: 4px 4px 0 #111;
  font-family: 'Fredoka One', cursive;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.3px;
}
.ej-lm-cta:hover  { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #111; }
.ej-lm-cta:active { transform: translate(2px, 2px);   box-shadow: 2px 2px 0 #111; }

@media (max-width: 460px) {
  .ej-lm-card  { padding: 24px 18px 20px; }
  .ej-lm-title { font-size: 1.25rem; }
  .ej-lm-cta   { display: block; text-align: center; }
}
