/* =======================
   LOKI Newsletter (Footer)
   ======================= */

.loki-news-wrap{
  max-width: 360px;
  width: 100%;
}

/* Inputs */
.loki-news-wrap input[type="email"],
.loki-news-wrap input[type="text"]{
  width: 100%;
  display: block;
  box-sizing: border-box;

  padding: 10px 12px;
  margin: 0 0 12px 0;

  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;

  font: inherit;
  line-height: 1.2;
}

/* Optional: nicer focus */
.loki-news-wrap input[type="email"]:focus,
.loki-news-wrap input[type="text"]:focus{
  outline: none;
  border-color: rgba(0,196,179,.65);
  box-shadow: 0 0 0 3px rgba(0,196,179,.14);
}

/* Checkbox row */
.loki-news-wrap .checkbox-wrapper{
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin: 8px 0 14px 0;
}

/* Checkbox itself */
.loki-news-wrap .checkbox-wrapper input[type="checkbox"]{
  width: 18px;
  height: 18px;
  margin: 3px 0 0 0;     /* optisch auf Textlinie */
  flex: 0 0 18px;
}

/* Text label */
.loki-news-wrap .checkbox-text{
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  opacity: .85;
}

/* Link */
.loki-news-wrap .checkbox-text a{
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Button */
.loki-news-wrap .sib-default-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 260px;
  min-height: 44px;

  padding: 12px 18px;
  margin-top: 6px;

  border-radius: 999px;
  border: 0;

  cursor: pointer;
  font-weight: 800;
  font-size: 14px;

  background: #00c4b3;
  color: #fff;
}

.loki-news-wrap .sib-default-btn:hover{
  filter: brightness(.95);
}

/* Wenn das Theme Buttons global "klein" macht */
.loki-news-wrap input.sib-default-btn{
  -webkit-appearance: none;
  appearance: none;
}

/* Checkbox-Text optisch nach oben ziehen */
.loki-news-wrap .checkbox-text{
  margin-top: -2px;   /* feinjustiert – ggf. -1px bis -3px */
}

/* =======================
   LOKI Newsletter – Brevo Cleanup
   ======================= */

/* Brevo packt gerne Hidden-Inputs in <p> + <br> → erzeugt Abstände */
footer #sib_signup_form_1 p{
  margin: 0 !important;
  padding: 0 !important;
}

/* <br> in diesem Bereich neutralisieren (damit keine Leerzeilen entstehen) */
footer #sib_signup_form_1 br{
  display: none !important;
}

/* Falls Theme generell <p> im Footer mit Margin versieht */
footer #sib_signup_form_1 .sib_signup_box_inside_1 > p,
footer #sib_signup_form_1 .sib_signup_box_inside_1 p:has(input[type="hidden"]){
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* Sicherheit: erster sichtbarer Block direkt unter Titel */
footer #sib_signup_form_1 .loki-news-wrap{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

footer #sib_signup_form_1 p{ margin:0 !important; padding:0 !important; }
footer #sib_signup_form_1 br{ display:none !important; }
