/* RETRO BOXING e. V. – v1450: CAPTCHA nur nach Aktivierung zentrieren.
 * Google/Consent/API/Tokens werden nicht veraendert. */
html body .form-row:has(.g-recaptcha) { box-sizing:border-box; min-width:0; max-width:100%; }
html body .form-row > .rb-recaptcha-consent {
  box-sizing:border-box; width:100%; min-width:0; max-width:100%;
  justify-items:center; text-align:center;
}
html body .form-row > .rb-recaptcha-consent:not(.is-active) > .btn { justify-self:center; }
html body .form-row .rb-captcha-layout-v1448 {
  display:block; position:relative; box-sizing:border-box;
  width:var(--rb-captcha-visible-width-v1448,304px);
  height:var(--rb-captcha-visible-height-v1448,78px);
  min-width:0; max-width:100%; padding:0; border:0;
  margin:8px auto 12px!important; justify-self:center!important; align-self:center!important;
  float:none; clear:both; overflow:visible; text-align:left;
}
html body .form-row .rb-captcha-layout-v1448 > .g-recaptcha:not([hidden]) {
  position:absolute!important; top:0!important; left:0!important; right:auto!important;
  display:block!important; box-sizing:border-box!important;
  width:304px!important; min-width:304px!important; max-width:none!important;
  height:78px!important; min-height:78px!important;
  padding:0!important; margin:0!important; float:none!important; clear:none!important;
  transform:scale(var(--rb-captcha-scale-v1448,1))!important;
  transform-origin:top left!important;
}
html body .form-row .rb-captcha-layout-v1448 > .g-recaptcha[hidden] { display:none!important; }
/* Falls kein Layout-JS greift, die Google-Fläche niemals zusaetzlich verbergen. */
html body .form-row > .g-recaptcha:not([hidden]),
html body .form-row .rb-recaptcha-consent > .g-recaptcha:not([hidden]) {
  display:block!important; width:304px!important; max-width:100%;
  position:relative!important; left:auto!important; right:auto!important;
  margin:8px auto 12px!important; transform:none!important;
}


/* v1451 – Nur die CAPTCHA-Zeilen: genug Luft zu Beschriftung, Hilfe und
   angrenzenden Feldern; eine ruhige AUSSEN-Umrandung über die volle Zeile.
   Kein zweiter Innenrahmen, keine Positionskorrektur am Google-Iframe. */
html body .form-row:has(.g-recaptcha[data-sitekey]) {
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  gap:clamp(12px,1.6vw,16px)!important;
  padding:clamp(16px,2.4vw,23px)!important;
  margin-block:clamp(14px,2vw,20px)!important;
  border:1px solid rgba(220,227,235,.2)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.023)!important;
  overflow:visible!important;
}
html[data-rb-theme="light"] body .form-row:has(.g-recaptcha[data-sitekey]) {
  border-color:#c7cdd5!important;
  background:rgba(245,247,250,.8)!important;
}
html body .form-row:has(.g-recaptcha[data-sitekey]) > :is(label,.help,.rb-recaptcha-consent,.rb-captcha-layout-v1448,.g-recaptcha) {
  grid-column:1/-1!important;
  min-width:0!important;
  max-width:100%!important;
}
html body .form-row:has(.g-recaptcha[data-sitekey]) > label,
html body .form-row:has(.g-recaptcha[data-sitekey]) > .help {
  position:static!important;
  margin:0!important;
  line-height:1.45!important;
  text-align:center!important;
}
html body .form-row:has(.g-recaptcha[data-sitekey]) > .rb-recaptcha-consent {
  margin:0!important;
  padding:clamp(8px,1.5vw,13px) 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  min-height:0!important;
  width:100%!important;
}
html body .form-row:has(.g-recaptcha[data-sitekey]) .rb-recaptcha-consent > p {
  margin:0 0 6px!important;
  line-height:1.55!important;
}
html body .form-row:has(.g-recaptcha[data-sitekey]) .rb-recaptcha-consent.is-active {
  padding:0!important;
  background:transparent!important;
  background-image:none!important;
}
html body .form-row:has(.g-recaptcha[data-sitekey]) .rb-captcha-layout-v1448 {
  margin:clamp(14px,2vw,19px) auto!important;
}
/* Ohne Layout-JS gilt ebenfalls Luft nach oben und unten. */
html body .form-row:has(.g-recaptcha[data-sitekey]) > .g-recaptcha:not([hidden]),
html body .form-row:has(.g-recaptcha[data-sitekey]) .rb-recaptcha-consent > .g-recaptcha:not([hidden]) {
  margin-block:clamp(14px,2vw,19px)!important;
}
