/* Herbruikbare inhoudsopmaak voor de bestaande Schoolgeluk pagina's. */
.bb-sg-oude-kop {
  background: var(--ds-color-munt-licht, #ddf8ed);
  padding: clamp(52px, 7vw, 90px) 0;
}
.bb-sg-oude-breed {
  width: min(calc(100% - 40px), 920px);
  margin-inline: auto;
}
.bb-sg-oude-kop h1 {
  max-width: 21ch;
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 1.09;
  letter-spacing: -.035em;
}
.bb-sg-oude-inhoud {
  padding: clamp(42px, 6vw, 72px) 0 clamp(64px, 8vw, 110px);
}
.bb-sg-oude-tekst {
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.bb-sg-oude-tekst > :first-child { margin-top: 0; }
.bb-sg-oude-tekst > :last-child { margin-bottom: 0; }
.bb-sg-oude-tekst p { margin: 0 0 1.15em; }
.bb-sg-oude-tekst h2 {
  margin: 1.65em 0 .55em;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.18;
}
.bb-sg-oude-tekst h3 { margin: 1.5em 0 .5em; font-size: 1.35rem; }
.bb-sg-oude-tekst img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  margin: 1.5rem auto;
}
.bb-sg-oude-tekst > img { max-height: 480px; object-fit: contain; }
.bb-sg-oude-tekst > a:has(> img) {
  display: inline-block;
  vertical-align: top;
  width: calc((100% - 34px) / 3);
  margin: 0 10px 16px 0;
}
.bb-sg-oude-tekst > a:has(> img) img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin: 0;
}
.bb-sg-oude-tekst iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 18px;
  margin: 2rem 0;
}
.bb-sg-oude-tekst a { color: var(--ds-color-klaver, #0b7a55); text-underline-offset: .2em; }
.bb-sg-oude-tekst > a:not(:has(img)) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem;
  padding: 12px 24px;
  border-radius: 64px;
  background: var(--ds-color-klaver, #0b7a55);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.bb-sg-oude-tekst .bb-sg-formulier { margin-block: 24px 40px; }
.bb-sg-oude-tekst ul,
.bb-sg-oude-tekst ol { margin: 0 0 1.5em; padding-left: 1.5em; }
.bb-sg-oude-login {
  width: min(calc(100% - 40px), 640px);
  margin: 56px auto 88px;
}
.bb-sg-oude-login .fl-row-content { max-width: 100%; }
.bb-sg-oude-login .fl-row-content-wrap,
.bb-sg-oude-login .fl-col-content { padding: 0; }
.bb-sg-oude-login .fl-login-form { padding: 0; }
.bb-sg-oude-login .fl-shape { display: none; }
.bb-sg-oude-login .fl-login-form input:not([type="checkbox"]) {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--ds-color-lijn, #e4e4df);
  border-radius: 16px;
  font: inherit;
}
.bb-sg-oude-login .fl-login-form input[type="checkbox"] { width: auto; }
.bb-sg-oude-login .fl-login-form button.fl-button {
  background: var(--ds-color-klaver, #0b7a55);
  color: #fff;
  border-radius: 64px;
  padding: 14px 24px;
  font-weight: 700;
}
.bb-sg-oude-login .fl-login-form button.fl-button .fl-button-text { color: inherit; }
@media (max-width: 600px) {
  .bb-sg-oude-breed { width: min(calc(100% - 32px), 920px); }
  .bb-sg-oude-kop h1 { max-width: 100%; }
  .bb-sg-oude-tekst { font-size: .97rem; }
  .bb-sg-oude-tekst > a:has(> img) { width: calc((100% - 24px) / 2); }
}
