/* Urlaubspunkt Core 2.10.8 – compact Brevo + Cloudflare Turnstile newsletter runtime. */
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--turnstile{
  padding:16px 18px 15px;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile{
  display:grid;
  grid-template-columns:minmax(0,1fr) 190px;
  grid-template-areas:
    "email submit"
    "consent consent"
    "captcha captcha";
  align-items:center;
  gap:10px 12px;
  margin:0;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-email{grid-area:email}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-consent{grid-area:consent;margin:0}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-turnstile{
  grid-area:captcha;
  min-width:0;
  min-height:65px;
  margin:0;
  padding:0;
  overflow:visible;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-turnstile .form__entry,
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-turnstile .form__label-row{
  margin:0;
  padding:0;
  min-width:0;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .cf-turnstile,
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .g-recaptcha,
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile [data-sitekey]{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-height:65px!important;
  margin:0!important;
  overflow:visible!important;
  opacity:1!important;
  visibility:visible!important;
  position:static!important;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .cf-turnstile iframe,
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .g-recaptcha iframe,
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile [data-sitekey] iframe{
  max-width:100%!important;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-submit{
  grid-area:submit;
  width:100%;
  min-width:0;
  align-self:center;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-brevo-panel{
  width:100%;
  max-width:none!important;
  margin:0 0 10px!important;
  padding:9px 11px!important;
  border:1px solid!important;
  border-radius:9px!important;
  font-size:10.5px!important;
  line-height:1.42!important;
  text-align:left!important;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-brevo-panel--error{
  color:#7f3030!important;
  background:#fff0f0!important;
  border-color:#efc4c4!important;
}
/* Brevo needs the success panel as a JS target. Keep it visually hidden; our
 * Urlaubspunkt confirmation panel replaces it after Brevo reports success. */
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-brevo-panel--success{
  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;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile.is-submitting .upsh-newsletter-submit{
  opacity:.8;
}

/* Homepage: keep Brevo's status messages inside the compact card and readable. */
body.up-homepage-modules-page .up-home-newsletter__message{
  max-width:none!important;
  margin:0 0 12px!important;
  padding:10px 12px!important;
  border:1px solid!important;
  border-radius:9px!important;
  font-size:12px!important;
  line-height:1.45!important;
  text-align:left!important;
}
body.up-homepage-modules-page .up-home-newsletter__message--error{
  color:#7f3030!important;
  background:#fff0f0!important;
  border-color:#efc4c4!important;
}
body.up-homepage-modules-page .up-home-newsletter__message--success{
  color:#24503b!important;
  background:#f2faf5!important;
  border-color:#bcdcc9!important;
}

@media(max-width:690px){
  body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--turnstile{padding:10px}
  body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile{
    grid-template-columns:1fr;
    grid-template-areas:"email" "consent" "captcha" "submit";
    gap:8px;
  }
  body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-submit{
    width:100%;
    min-width:0;
  }
}


/* 2.10.7: polished compact signup card used on the homepage and article band. */
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup{
  position:relative;
  padding:18px 20px 16px;
  background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(255,253,250,.95));
  border-color:#e5c7ad;
  box-shadow:0 20px 46px rgba(102,63,30,.12),0 2px 8px rgba(32,40,51,.05);
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup:before{
  content:"";
  position:absolute;
  left:20px;right:20px;top:51px;
  height:1px;
  background:linear-gradient(90deg,rgba(233,125,31,.22),rgba(233,125,31,.04));
  pointer-events:none;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-card__topline{margin-bottom:16px}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-card__privacy{
  display:inline-flex;align-items:center;gap:6px;color:#596570;font-weight:800;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-card__privacy:before{
  content:"✓";display:grid;place-items:center;width:17px;height:17px;border-radius:999px;background:#eef8f2;color:#218a57;font-size:10px;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-email input{
  height:50px;border-color:#c9cfd4;background:#fffdfb;font-size:13px;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-submit{
  height:50px;min-width:0;width:100%;padding-inline:14px;border-radius:11px;font-size:11px;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-consent{
  padding:2px 1px 0;color:#5e6973;font-size:10px;line-height:1.42;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-turnstile{
  width:100%;min-height:65px;padding-top:1px;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .cf-turnstile,
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .g-recaptcha{
  width:100%!important;max-width:100%!important;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-trust{
  margin-top:10px;padding-top:10px;border-top:1px solid #efe4da;display:flex;flex-wrap:wrap;gap:7px 8px;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-trust span{
  margin:0;padding:5px 8px;border:1px solid #dfe9e3;border-radius:999px;background:#f8fbf9;color:#56656a;font-size:8.6px;font-weight:750;letter-spacing:.01em;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-fallback-link{
  display:inline-flex;align-items:center;gap:7px;margin-top:2px;color:var(--upsh-newsletter-accent-deep)!important;font-size:11px;font-weight:800;text-decoration:underline!important;text-underline-offset:3px;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-fallback-link svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
@media(max-width:690px){
  body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup{padding:11px;border-radius:13px}
  body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup:before{display:none}
  body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile{grid-template-columns:1fr;grid-template-areas:"email" "submit" "consent" "captcha";gap:8px}
  body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-submit{height:44px}
  body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-trust{display:none}
}

/* 2.10.8 – consent gating + refined visual details. */
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup:before{
  display:none;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-card__topline{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
  padding:0 0 12px;
  border-bottom:1px solid rgba(233,125,31,.16);
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-card__label{
  position:relative;
  z-index:2;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 12px;
  line-height:1.1;
  background:#fff7ef;
  border-color:rgba(233,125,31,.28);
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-card__privacy{
  flex:0 0 auto;
  line-height:1.2;
}

body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-trust{
  align-items:center;
  gap:8px;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-trust span{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:30px;
  margin:0;
  padding:5px 10px 5px 7px;
  border:1px solid #dbe9e1;
  border-radius:999px;
  background:#fbfdfc;
  color:#53636a;
  font-size:8.8px;
  font-weight:750;
  line-height:1.15;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-trust span:before{
  content:"✓";
  position:static;
  display:grid;
  place-items:center;
  flex:0 0 17px;
  width:17px;
  height:17px;
  border-radius:50%;
  background:#eaf6ef;
  color:#218a57;
  font-size:10px;
  font-weight:900;
  line-height:1;
}

body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-submit:disabled,
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-submit[aria-disabled="true"]{
  cursor:not-allowed;
  opacity:.55;
  transform:none;
  box-shadow:none;
  filter:saturate(.72);
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-submit:disabled .progress-indicator__icon,
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile:not(.is-submitting) .progress-indicator__icon{
  display:none!important;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-consent.is-missing-consent .upsh-newsletter-consent-label{
  color:#873232;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-form--turnstile .upsh-newsletter-consent.is-missing-consent input{
  outline:2px solid rgba(172,49,49,.28);
  outline-offset:2px;
}

@media(max-width:690px){
  body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-card--signup .upsh-newsletter-card__topline{
    display:none;
  }
}


/* 2.10.11 – short, scannable "what you get" points in the global Urlaubspost band. */
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:7px 8px;
  margin:12px 0 14px;
  padding:0;
  list-style:none;
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-benefits li{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-height:29px;
  margin:0;
  padding:5px 9px 5px 7px;
  border:1px solid rgba(199,217,207,.95);
  border-radius:999px;
  background:rgba(255,255,255,.76);
  color:#52616a;
  font-size:9.5px;
  font-weight:750;
  line-height:1.15;
  box-shadow:0 3px 10px rgba(32,40,51,.025);
}
body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-benefits li:before{
  content:"✓";
  display:grid;
  place-items:center;
  flex:0 0 17px;
  width:17px;
  height:17px;
  border-radius:50%;
  background:#eaf6ef;
  color:#218a57;
  font-size:10px;
  font-weight:900;
  line-height:1;
}
@media(max-width:690px){
  body.upsh-replacement #upsh-newsletter-bar .upsh-newsletter-benefits{
    display:none;
  }
}
