/* Small, source-verified alignment with LVM LIDS 15.1.0.
   Palette, Roboto and gradient directions already match the original.
   Keep the existing accessible primary green and >=44px touch targets. */
:root{
  --lvmb-h1-size:28px;
  --lvmb-h1-leading:36px;
  --lvmb-h2-size:24px;
  --lvmb-h2-leading:32px;
}
body .g26 .g26-button{
  font-weight:500;
  letter-spacing:normal;
}
html:not([data-theme="dark"]) body .g26 .g26-button.g26-secondary{
  border-color:var(--lvmb-action,#007229);
}
/* The original uses a short colour bar, not a rule spanning the entire section. */
body .g26 .g26-section-heading > h2{
  position:relative;
  padding-bottom:12px;
}
body .g26 .g26-section-heading > h2::after{
  content:"";
  position:absolute;
  inset:auto auto 0 0;
  width:40px;
  height:4px;
  background:var(--lvmb-gradient,linear-gradient(-82deg,#a4c400 0%,#009b31 100%));
}

/* LVM Bremen: bounded layout corrections for the reported components. */

/* The step number belongs to its heading, not to a separate empty row. */
body .g26 .g26-process{border-top:0!important}
body .g26 .g26-process>ol.g26-three{
  align-items:start;
  gap:28px;
  margin:0 0 24px!important;
}
body .g26 .g26-process>ol.g26-three>li{
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:14px;
  row-gap:8px;
  align-content:start;
  margin:0!important;
  padding:0!important;
  border:0!important;
  min-width:0;
}
body .g26 .g26-process>ol.g26-three>li>.g26-number{
  grid-column:1;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  margin:0!important;
  padding:0;
  border:0;
  border-radius:0;
  background:var(--lvmb-action,#007229);
  color:var(--lvmb-on-action,#fff);
  font:700 16px/1 var(--lvmb-font,Roboto,system-ui,sans-serif);
  font-variant-numeric:tabular-nums;
}
body .g26 .g26-process>ol.g26-three>li>h3{
  grid-column:2;
  grid-row:1;
  align-self:center;
  margin:0!important;
  font-size:20px;
  line-height:28px;
}
body .g26 .g26-process>ol.g26-three>li>p{
  grid-column:2;
  grid-row:2;
  margin:0!important;
  font-size:16px;
  line-height:1.55;
}

/* The old font-size:0 hides a textual separator, but also made inherited
   max-width:65ch equal zero. Explicit container width removes the collapse. */
body .gfa-entry-links,
body .gdr-entry-links{
  box-sizing:border-box;
  width:calc(100% - 2 * var(--lvmb-gutter,20px))!important;
  max-width:var(--lvmb-container,1024px)!important;
  margin:32px auto!important;
  padding:24px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:var(--lvmb-surface-alt,#f7f7f7)!important;
  color:var(--lvmb-text,#4a4949)!important;
  font-family:var(--lvmb-font,Roboto,system-ui,sans-serif)!important;
}
body .gfa-entry-links>h2,
body .gdr-entry-links>h2{
  max-width:none;
  margin:0 0 16px!important;
  font-size:var(--lvmb-h2-size,28px)!important;
  line-height:var(--lvmb-h2-leading,36px)!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
body .gfa-entry-links>p:last-child{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:4px!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  font-size:0!important;
}
body .gfa-entry-links>p:last-child>a{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:44px;
  margin:0!important;
  padding:10px 0!important;
  font:700 16px/1.5 var(--lvmb-font,Roboto,system-ui,sans-serif)!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:none!important;
}
body .gdr-entry-links>a{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:48px;
  max-width:100%;
  padding:12px 20px!important;
  border:0!important;
  border-radius:0!important;
  background:var(--lvmb-action,#007229)!important;
  color:var(--lvmb-on-action,#fff)!important;
  font:700 16px/1.5 var(--lvmb-font,Roboto,system-ui,sans-serif)!important;
  white-space:normal;
  overflow-wrap:break-word;
  text-decoration:none;
}

/* Adjacent section frames must not stack into horizontal divider bands. */
body .g26 .g26-appointment,
body .g26 .g26-contact-section,
body .gqa-recommendations{
  border-block:0!important;
  box-shadow:none!important;
}
body footer.g26-footer.gn26-footer{
  border-top:0!important;
  margin-top:0!important;
}
body .gn26-footer .gn26-footer-inner,
body .gn26-footer .gn26-footer-grid{
  border-top:0!important;
  border-bottom:0!important;
  box-shadow:none!important;
}
/* The single legal divider inside the footer remains intentional. */

@media(max-width:680px){
  body .g26 .g26-process>ol.g26-three{gap:24px}
  body .gfa-entry-links,body .gdr-entry-links{padding:20px!important;margin-block:24px!important}
  body .gdr-entry-links>a{width:100%;text-align:left;justify-content:flex-start}
}

/* Preserve the existing search UI. Its mobile header anchor is restored by search-text.js. */
body .g26-header .gs-trigger-mobile{display:none!important}
@media(max-width:1120px){
  body .g26-header .gs-trigger-mobile{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    min-width:44px;
    min-height:44px;
    z-index:2;
  }
  /* A labelled second entry stays available when the navigation is opened. */
  body .g26-header .g26-mobile .gs-trigger:not(.gs-trigger-mobile){
    display:flex!important;
    justify-content:flex-start;
    width:100%;
    margin:8px 0 0;
  }
}

/* One clear section-level Google attribution replaces repeated card footnotes. */
body .gqa-review-card .gqa-review-source{display:none!important}
body .gqa-review-card{padding:20px!important}
body .gqa-review-card .gqa-review-rating{margin-top:12px!important}
body .gqa-review-card .gqa-review-copy{margin-top:12px!important}

@media print{
  body .g26-header .gs-trigger-mobile{display:none!important}
}
