/* Newsletter — mirrored from novy-web (.nl-band + blue70), gallery tokens. */

.bsj-nl .nl-sr,
.bsj-nl .sr-only{
  position:absolute!important;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* Same block as novy-web footer/newsletter (style.css + bsj-blue70) */
.nl-band{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:24px 40px;
  align-items:center;
  padding:26px 28px;
  margin:36px 0 0;
  border-radius:18px;
  background:var(--box);
  border:1px solid rgba(242,224,82,.4);
  box-shadow:0 16px 40px rgba(0,0,0,.45);
  position:relative;
}
.nl-copy h4{
  font:700 1rem/1 'Oswald',Impact,'Arial Narrow',sans-serif;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--bsj-yellow);
  margin:0 0 8px;
}
.nl-copy p{
  margin:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
}

.nl-form{position:relative;min-width:0}
.nl-row-live{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) auto;
  gap:10px;
  align-items:stretch;
}
.nl-row-live .nl-phone{display:flex;gap:6px;min-width:0}
.nl-row-live .nl-code{
  flex:0 0 auto;
  width:112px;
  background:#fff;
  border:1px solid rgba(255,255,255,.3);
  color:#111;
  border-radius:12px;
  padding:12px 8px;
  font:500 .95rem 'Inter',system-ui,sans-serif;
  min-height:0;
}
.nl-row-live .nl-code option{background:#fff;color:#111}
.nl-row-live .nl-phone input{flex:1;min-width:0}

.nl-form input[type=email],
.nl-form input[type=tel]{
  width:100%;
  background:#fff;
  color:#111;
  border:1px solid rgba(255,255,255,.3);
  border-radius:12px;
  padding:12px 14px;
  font:500 1rem 'Inter',system-ui,sans-serif;
  min-height:0;
}
.nl-form input::placeholder{color:#666}
.nl-form input:focus,
.nl-form select.nl-code:focus{
  outline:2px solid var(--bsj-blue);
  outline-offset:1px;
  border-color:var(--bsj-blue);
  box-shadow:none;
}
.nl-form input[aria-invalid="true"],
.nl-form select[aria-invalid="true"],
.nl-phone input[aria-invalid="true"]{border-color:#ff8fa8}

.nl-act{display:flex;gap:8px;align-items:center}

/* novy-web .btn.btn-gold under blue70: 4px radius, yellow, Inter — not the gallery Oswald CTA */
.nl-form .btn-gold,
.nl-form button.btn-gold{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font:700 1rem/1 'Inter',system-ui,sans-serif;
  letter-spacing:0;
  text-transform:none;
  padding:12px 20px;
  border-radius:4px;
  border:1.5px solid #111;
  background:var(--bsj-yellow);
  color:#111;
  cursor:pointer;
  white-space:nowrap;
  min-height:0;
  transition:background .15s,transform .15s;
}
.nl-form .btn-gold:hover{background:#ffe36a;transform:none}
.nl-form .btn-gold:disabled{opacity:.65;cursor:wait}

.nl-help{
  flex:0 0 auto;
  width:28px;
  height:28px;
  border-radius:50%;
  border:1.5px solid #c8c8c8;
  background:transparent;
  color:#e8e8e8;
  font:700 .95rem/1 'Inter',system-ui,sans-serif;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  position:relative;
}
.nl-help::after{content:"";position:absolute;inset:-8px}
.nl-help:hover,
.nl-help[aria-expanded="true"]{border-color:var(--bsj-yellow);color:var(--bsj-yellow)}
.nl-help:focus-visible{outline:2px solid var(--bsj-yellow);outline-offset:2px}

.nl-tip{
  position:absolute;
  right:0;
  bottom:calc(100% + 10px);
  z-index:50;
  width:min(320px,100%);
  padding:10px 14px;
  border-radius:10px;
  background:rgba(0,0,0,.92);
  border:1px solid rgba(255,252,15,.35);
  box-shadow:0 6px 20px rgba(0,0,0,.45);
  color:#e8e8e8;
  font-size:.85rem;
  line-height:1.45;
  text-align:left;
}
.nl-tip a{color:var(--bsj-yellow);text-decoration:underline}
.nl-tip[hidden]{display:none!important}

.nl-honey{
  position:absolute!important;
  left:-9999px!important;
  width:1px;height:1px;
  opacity:0;
  pointer-events:none;
}

.nl-consent{
  display:flex;
  gap:8px;
  align-items:flex-start;
  margin-top:10px;
  font-size:.82rem;
  color:var(--muted);
  line-height:1.45;
}
.nl-consent input[type=checkbox]{
  margin-top:2px;
  width:16px;height:16px;
  accent-color:var(--bsj-yellow);
  flex:0 0 auto;
}
.nl-consent a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.nl-consent a:hover{color:var(--bsj-yellow)}

.nl-err{
  margin:6px 0 0;
  color:#ffb3c4;
  font-size:.85rem;
  min-height:0;
}
.nl-err:empty{display:none}
.nl-ok{
  margin:0;
  padding:14px 16px;
  border-radius:12px;
  background:rgba(0,254,151,.10);
  border:1px solid var(--bsj-green);
  color:#c9ffe8;
  font-weight:600;
}
.nl-ok[hidden]{display:none}
.nl-turnstile{position:absolute;width:0;height:0;overflow:hidden}

/* Footer placement: same block, tighter bottom spacing */
.site-footer .nl-band{
  max-width:var(--maxw);
  margin:22px auto 0;
  padding:22px 24px;
}
.site-footer .nl-copy h4{color:var(--bsj-yellow)}

@media (max-width:1100px){
  .nl-row-live{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .nl-row-live .nl-act{grid-column:1/-1;justify-content:flex-end}
}
@media (max-width:800px){
  .nl-band{grid-template-columns:1fr;gap:18px}
}
@media (max-width:600px){
  .nl-band{padding:20px 18px}
  .nl-row-live{grid-template-columns:1fr}
  .nl-row-live .nl-act{grid-column:auto}
  .nl-row-live .nl-act .btn-gold{flex:1}
  .nl-tip{width:100%}
}
@media (prefers-reduced-motion:reduce){
  .nl-form .btn-gold{transition:none}
}
