/* Enima Newsroom public distribution UI — v0.3.14 */
.enima-follow-box{
  margin:32px 0;
  padding:24px;
  border:1px solid #e2e6ec;
  border-radius:14px;
  background:#fafbfc;
  box-sizing:border-box;
}
.enima-follow-box h2{margin:0 0 6px;font-size:26px;line-height:1.2}
.enima-follow-box>p{margin:0 0 22px;color:#52606d}
.enima-follow-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}

/* Both cards use the exact same five-row geometry on desktop. */
.enima-follow-card{
  min-width:0;
  padding:28px 30px;
  background:#fff;
  border:1px solid #e5e8ed;
  border-radius:12px;
  box-sizing:border-box;
  display:grid!important;
  grid-template-rows:48px 74px 58px 58px minmax(20px,auto);
  row-gap:16px;
  align-content:start;
}
.enima-follow-card>h3{
  grid-row:1;
  margin:0!important;
  min-height:0!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:26px!important;
  line-height:1.15!important;
  font-weight:700!important;
}
.enima-card-description{
  grid-row:2;
  margin:0!important;
  min-height:0!important;
  align-self:start;
  font-size:20px;
  line-height:1.45;
}

/* Push card rows. */
.enima-push-choice{
  grid-row:3;
  display:block;
  margin:0!important;
  padding:0!important;
}
.enima-push-choice select{
  display:block;
  width:100%!important;
  height:58px!important;
  min-height:58px!important;
  margin:0!important;
  padding:10px 14px!important;
  border:1px solid #ccd3db;
  border-radius:8px;
  background:#fff;
  box-sizing:border-box;
  font:inherit;
  font-size:18px;
  line-height:1.2;
}
.enima-push-actions{
  grid-row:4;
  display:flex;
  width:100%;
  margin:0!important;
  padding:0!important;
  gap:10px;
  box-sizing:border-box;
}
.enima-push-actions .enima-push-subscribe{
  width:100%;
  min-height:58px;
  margin:0!important;
  padding:12px 18px!important;
  border:0;
  border-radius:8px;
  background:#10243e;
  color:#fff;
  font-size:18px;
  line-height:1.2;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-sizing:border-box;
}
.enima-push-actions .enima-push-unsubscribe{
  min-height:58px;
  margin:0!important;
  padding:12px 18px!important;
  border:1px solid #d8a2a2;
  border-radius:8px;
  background:#fff;
  color:#8b1e1e;
  font-weight:700;
  cursor:pointer;
  box-sizing:border-box;
}
.enima-follow-card button[hidden]{display:none!important}
.enima-follow-card button:disabled{opacity:.65;cursor:wait}
.enima-widget-status{
  grid-row:5;
  min-height:20px;
  margin:0!important;
  font-size:13px;
  color:#3d4a57;
}
.enima-widget-status.is-error{color:#9b1c1c}

/* Newsletter: the real Jetpack form stays functional, but its outer wrappers
   are removed by distribution.js. display:contents lets the email and submit
   rows occupy the exact same grid rows as the Push controls. */
.enima-jetpack-newsletter-widget>.enima-newsletter-normalized-form,
.enima-newsletter-normalized-form,
.enima-newsletter-controls{
  display:contents!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.enima-newsletter-normalized-form>.enima-newsletter-jetpack-original{
  display:none!important;
}
.enima-newsletter-email-row{
  grid-row:3;
  width:100%;
  height:58px;
  margin:0!important;
  padding:0!important;
}
.enima-newsletter-email-row input[type=email]{
  display:block;
  width:100%!important;
  height:58px!important;
  min-height:58px!important;
  margin:0!important;
  padding:10px 14px!important;
  border:1px solid #ccd3db;
  border-radius:8px;
  background:#fff;
  box-sizing:border-box;
  font:inherit;
  font-size:18px;
  line-height:1.2;
}
.enima-newsletter-submit-row{
  grid-row:4;
  width:100%;
  height:58px;
  margin:0!important;
  padding:0!important;
}
.enima-newsletter-submit-row input[type=submit],
.enima-newsletter-submit-row button[type=submit]{
  width:100%!important;
  height:58px!important;
  min-height:58px!important;
  margin:0!important;
  padding:12px 18px!important;
  border:0!important;
  border-radius:8px!important;
  background:#10243e!important;
  color:#fff!important;
  font-size:18px!important;
  line-height:1.2!important;
  font-weight:700!important;
  cursor:pointer;
  display:flex!important;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-sizing:border-box;
}
.enima-newsletter-form-wrap .success,
.enima-newsletter-form-wrap .error{
  grid-row:5;
  margin:0!important;
}

.enima-consent{display:block;font-size:12px;line-height:1.4;margin-top:10px;color:#5b6470}
.enima-distribution-public-notice{padding:12px 14px;border-radius:8px;background:#eef7ef;margin:16px 0}
/* v0.4.23 — Breaking News / URGENT: single fixed system, no spacer. */
html body .enima-breaking-banner{
  position:fixed!important;
  top:var(--enima-breaking-top-offset,var(--enima-breaking-admin-fallback,0px))!important;
  left:0!important;
  right:0!important;
  bottom:auto!important;
  inset-inline:0!important;
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:48px!important;
  height:48px!important;
  max-height:48px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:#b80000!important;
  color:#fff!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
  translate:none!important;
  clip:auto!important;
  clip-path:none!important;
  visibility:visible!important;
  opacity:1!important;
  z-index:99990!important;
  isolation:isolate!important;
}
body.admin-bar{--enima-breaking-admin-fallback:32px}
html body .enima-breaking-banner>.enima-breaking-inner{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  bottom:auto!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:12px!important;
  width:100%!important;
  max-width:1280px!important;
  min-width:0!important;
  min-height:48px!important;
  height:48px!important;
  max-height:48px!important;
  margin:0 auto!important;
  padding:6px 14px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  transform:none!important;
  translate:none!important;
}
.enima-breaking-label{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  flex:none!important;
  white-space:nowrap!important;
  margin:0!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:rgba(0,0,0,.20)!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  box-sizing:border-box!important;
}
.enima-breaking-dot{
  width:9px!important;
  height:9px!important;
  min-width:9px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 0 0 0 rgba(255,255,255,.75);
  animation:enima-breaking-pulse 1.35s ease-out infinite;
}
.enima-breaking-label-text{
  display:inline-block!important;
  animation:enima-breaking-urgent 1.35s ease-in-out infinite;
}
.enima-breaking-track{
  min-width:0!important;
  width:100%!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  line-height:1!important;
  position:relative!important;
  white-space:nowrap!important;
}
.enima-breaking-link{
  display:inline-block!important;
  width:max-content!important;
  min-width:max-content!important;
  max-width:none!important;
  margin:0!important;
  padding:0 0 0 100%!important;
  color:#fff!important;
  text-decoration:none!important;
  font-family:inherit!important;
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:750!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  will-change:transform!important;
  animation:enima-breaking-marquee var(--enima-breaking-duration,20s) linear infinite!important;
}
.enima-breaking-link:hover,.enima-breaking-link:focus{
  color:#fff!important;
  text-decoration:underline!important;
  animation-play-state:paused!important;
}
.enima-breaking-title{display:inline-block!important;margin:0!important;padding:0!important;white-space:nowrap!important}
.enima-breaking-close{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  color:#fff!important;
  font-family:Arial,sans-serif!important;
  font-size:26px!important;
  font-weight:400!important;
  line-height:1!important;
  cursor:pointer!important;
  box-sizing:border-box!important;
}
.enima-breaking-close:hover,.enima-breaking-close:focus{background:rgba(255,255,255,.15)!important}
@keyframes enima-breaking-marquee{
  0%{transform:translate3d(0,0,0)}
  100%{transform:translate3d(-100%,0,0)}
}
@keyframes enima-breaking-pulse{
  0%{transform:scale(.88);box-shadow:0 0 0 0 rgba(255,255,255,.72)}
  65%{transform:scale(1);box-shadow:0 0 0 7px rgba(255,255,255,0)}
  100%{transform:scale(.88);box-shadow:0 0 0 0 rgba(255,255,255,0)}
}
@keyframes enima-breaking-urgent{0%,100%{opacity:1}50%{opacity:.62}}
@media(max-width:782px){body.admin-bar{--enima-breaking-admin-fallback:46px}}
@media(max-width:700px){
  html body .enima-breaking-banner,
  html body .enima-breaking-banner>.enima-breaking-inner{
    min-height:46px!important;
    height:46px!important;
    max-height:46px!important;
  }
  html body .enima-breaking-banner>.enima-breaking-inner{padding:5px 8px!important;gap:8px!important}
  .enima-breaking-label{padding:6px 8px!important;gap:6px!important;font-size:12px!important}
  .enima-breaking-dot{width:8px!important;height:8px!important;min-width:8px!important}
  .enima-breaking-link{font-size:15px!important;line-height:1.2!important}
  .enima-breaking-close{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;font-size:24px!important}
}
@media(max-width:420px){
  html body .enima-breaking-banner>.enima-breaking-inner{grid-template-columns:auto minmax(0,1fr) 28px!important;gap:7px!important}
  .enima-breaking-label{font-size:11px!important;padding:5px 7px!important}
  .enima-breaking-link{font-size:14px!important}
  .enima-breaking-close{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;font-size:23px!important}
}
@media(prefers-reduced-motion:reduce){
  .enima-breaking-dot,.enima-breaking-label-text{animation:none!important}
  .enima-breaking-track{overflow-x:auto!important;scrollbar-width:none!important}
  .enima-breaking-track::-webkit-scrollbar{display:none!important}
  .enima-breaking-link{animation:none!important;transform:none!important;padding-left:0!important}
}
.screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* v0.3.15 — mobile layout: natural vertical flow, no overflow */
@media(max-width:700px){
  .enima-follow-box{
    width:100%;
    max-width:100%;
    padding:14px!important;
    margin:24px 0!important;
    box-sizing:border-box!important;
    overflow:hidden;
  }
  .enima-follow-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:16px!important;
    width:100%;
    max-width:100%;
    min-width:0;
  }
  .enima-follow-grid>.enima-follow-card,
  .enima-follow-card{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    padding:22px 16px!important;
    gap:16px!important;
    box-sizing:border-box!important;
    overflow:hidden;
  }
  .enima-follow-card>h3{
    width:100%;
    margin:0!important;
    min-height:0!important;
    font-size:24px!important;
    line-height:1.15!important;
    text-align:center!important;
    justify-content:center!important;
  }
  .enima-card-description{
    width:100%;
    margin:0!important;
    min-height:0!important;
    font-size:18px!important;
    line-height:1.45!important;
  }

  /* Never let theme rules force controls wider than their Newsroom card. */
  .enima-push-choice,
  .enima-newsletter-email-row,
  .enima-newsletter-submit-row,
  .enima-push-actions,
  .enima-widget-status{
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
  .enima-push-choice select,
  .enima-newsletter-email-row input[type=email]{
    display:block!important;
    position:static!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:56px!important;
    min-height:56px!important;
    margin:0!important;
    padding:10px 12px!important;
    box-sizing:border-box!important;
    font-size:17px!important;
    line-height:1.2!important;
  }

  /* When subscribed there are two Push actions: stack them naturally. */
  .enima-push-actions{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
  }
  .enima-push-actions .enima-push-subscribe,
  .enima-push-actions .enima-push-unsubscribe,
  .enima-newsletter-submit-row input[type=submit],
  .enima-newsletter-submit-row button[type=submit]{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:static!important;
    float:none!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    min-height:56px!important;
    margin:0!important;
    padding:13px 12px!important;
    box-sizing:border-box!important;
    font-size:17px!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
    text-align:center!important;
  }
  .enima-widget-status{
    font-size:14px!important;
    line-height:1.4!important;
  }
  .enima-newsletter-normalized-form,
  .enima-newsletter-controls,
  .enima-newsletter-form-wrap{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
}


/* v0.4.0 Push opt-in popup */
.enima-push-popup[hidden]{display:none!important}.enima-push-popup{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}.enima-push-popup-backdrop{position:absolute;inset:0;background:rgba(10,22,38,.56)}.enima-push-popup-dialog{position:relative;z-index:1;width:min(460px,100%);background:#fff;border-radius:18px;padding:30px;box-shadow:0 24px 70px rgba(0,0,0,.25);text-align:center;color:#13243a}.enima-push-popup-icon{font-size:42px;line-height:1;margin-bottom:10px}.enima-push-popup-dialog h2{margin:0 30px 12px;font-size:28px;line-height:1.2}.enima-push-popup-dialog>p{margin:0 0 22px;font-size:17px;line-height:1.5;color:#435268}.enima-push-popup-actions{display:grid;gap:10px}.enima-push-popup-actions button{appearance:none;border:0;border-radius:10px;min-height:50px;padding:12px 18px;font-size:16px;font-weight:700;cursor:pointer}.enima-push-popup-accept{background:#10243e;color:#fff}.enima-push-popup-later{background:#eef1f5;color:#23344b}.enima-push-popup-x{position:absolute;right:12px;top:10px;border:0;background:transparent;color:#64748b;font-size:30px;line-height:1;cursor:pointer}.enima-push-popup-status{min-height:1.4em!important;margin:12px 0 0!important;font-size:14px!important;color:#34475c!important}.enima-push-popup-open{overflow:hidden}@media(max-width:700px){.enima-push-popup{align-items:flex-end;padding:12px}.enima-push-popup-dialog{border-radius:18px;padding:24px 18px}.enima-push-popup-dialog h2{font-size:24px;margin-left:28px;margin-right:28px}.enima-push-popup-dialog>p{font-size:16px}.enima-push-popup-actions button{width:100%;min-height:52px}}

/* v0.4.8 — Push topics / categories */
.enima-push-popup-dialog{
  width:min(620px,100%);
  max-height:calc(100vh - 40px);
  overflow:auto;
}
.enima-push-topics{
  margin:0 0 20px;
  padding:16px;
  border:1px solid #dce3ea;
  border-radius:12px;
  text-align:left;
  background:#f8fafc;
}
.enima-push-topics legend{
  padding:0 6px;
  font-size:17px;
  line-height:1.25;
  font-weight:700;
  color:#13243a;
}
.enima-push-topics-help{
  margin:0 0 12px!important;
  font-size:14px!important;
  line-height:1.45!important;
  color:#52606d!important;
}
.enima-push-topic-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 12px;
  margin:10px 0 12px;
}
.enima-push-topic{
  display:flex;
  align-items:flex-start;
  gap:8px;
  min-width:0;
  padding:9px 10px;
  border-radius:8px;
  background:#fff;
  border:1px solid #e3e8ef;
  font-size:14px;
  line-height:1.35;
  cursor:pointer;
  box-sizing:border-box;
}
.enima-push-topic input{
  flex:0 0 auto;
  margin:2px 0 0!important;
}
.enima-push-topic-all,
.enima-push-topic-breaking{
  background:#fff;
}
.enima-push-topic-breaking{
  border-color:#efd2d2;
  background:#fffafa;
}
.enima-push-topic-category:disabled + *{opacity:.6}
@media(max-width:700px){
  .enima-push-popup-dialog{max-height:88vh;overflow:auto}
  .enima-push-topic-grid{grid-template-columns:1fr}
  .enima-push-topics{padding:14px}
  .enima-push-topic{font-size:15px;padding:10px}
}


/* v0.4.15 — public follow area is Push only, with a multi-category dropdown. */
.enima-follow-box-push-only{
  max-width:900px;
  padding:26px;
}
.enima-follow-box-push-only>h2{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 8px!important;
}
.enima-follow-box-push-only>p{
  margin:0 0 18px!important;
}
.enima-push-panel{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.enima-push-topic-dropdown{
  width:100%;
  margin:0;
  border:1px solid #d7dee7;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
  box-sizing:border-box;
}
.enima-push-topic-dropdown>summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:58px;
  padding:12px 16px;
  cursor:pointer;
  font-size:17px;
  font-weight:700;
  line-height:1.25;
  box-sizing:border-box;
}
.enima-push-topic-dropdown>summary::-webkit-details-marker{display:none}
.enima-push-topic-dropdown>summary:after{
  content:'▾';
  flex:0 0 auto;
  color:#52606d;
  transition:transform .15s ease;
}
.enima-push-topic-dropdown[open]>summary:after{transform:rotate(180deg)}
.enima-topic-summary{
  margin-left:auto;
  color:#52606d;
  font-size:14px;
  font-weight:500;
  text-align:right;
}
.enima-push-topics-inline{
  margin:0!important;
  border:0!important;
  border-top:1px solid #e5e9ef!important;
  border-radius:0!important;
  background:#f8fafc;
}
.enima-push-panel .enima-push-actions{
  display:flex;
  width:100%;
  gap:10px;
  margin:14px 0 0!important;
  padding:0!important;
}
.enima-push-panel .enima-push-actions .enima-push-subscribe,
.enima-push-panel .enima-push-actions .enima-push-unsubscribe{
  min-width:0;
  min-height:54px;
  height:auto!important;
  white-space:normal;
  overflow-wrap:anywhere;
}
.enima-push-panel .enima-push-actions .enima-push-subscribe{flex:1 1 auto}
.enima-push-panel .enima-push-actions .enima-push-unsubscribe{flex:0 1 42%}
.enima-push-widget button[hidden]{display:none!important}
.enima-push-panel .enima-widget-status{
  min-height:20px;
  margin:10px 0 0!important;
}
@media(max-width:700px){
  .enima-follow-box-push-only{padding:16px!important}
  .enima-push-topic-dropdown>summary{
    align-items:flex-start;
    flex-wrap:wrap;
    min-height:56px;
    padding:12px 13px;
  }
  .enima-topic-summary{
    width:100%;
    margin:2px 24px 0 0;
    text-align:left;
    font-size:13px;
  }
  .enima-push-panel .enima-push-actions{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }
  .enima-push-panel .enima-push-actions .enima-push-subscribe,
  .enima-push-panel .enima-push-actions .enima-push-unsubscribe{
    width:100%!important;
    flex:1 1 auto!important;
  }
}
