/* Susen 14–23. The related cards use the existing teaser icon and arrow styles. */
#P001 .related-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}

#P140 .related-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
#P140 .related-grid > .related-card {
  --oc-teaser-icon-size: 4rem;
  --oc-teaser-icon-inset: 1.5rem;
  padding-inline-end: calc(var(--oc-teaser-icon-inset) + var(--oc-teaser-icon-size) + var(--oc-teaser-icon-gap)) !important;
}
#P140 .related-grid > .related-card > .oc-teaser-icon {
  inset-block-start: 50%;
  transform: translateY(-50%);
}
@media (max-width: 48rem) {
  #P140 .related-grid > .related-card {
    --oc-teaser-icon-size: 3.5rem;
    --oc-teaser-icon-inset: 1.25rem;
  }
}
@media (max-width: 43.99rem) {
  #P140 .related-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
body.oc-large-text #P140 .related-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Both sections and the bottom pixels of Susen’s artwork have this same blue. */
@media screen {
  body article#P010.page > .page-hero.oc-r317-hero {
    margin-block-end: 0;
    border-bottom: 0;
    background-color: #233949;
  }
  body #P010 > .page-hero.oc-r317-hero > .hero-image :is(picture, img) {
    background-color: #233949;
  }
  body #P010 > .page-hero.oc-r317-hero + .oc-navigator-panel {
    margin-block-start: 0;
    padding-block-start: 0;
    border-block-start: 0;
    background-color: #233949;
  }
}

/* Put the inset on the text and button so the photograph reaches the edges. */
body .page :is(.inline-appointment.oc-r327-reception, #P010--termin-ende.oc-r327-reception) {
  --reception-inline-space: clamp(1.25rem, 2.5vw, 1.75rem);
  --reception-block-space: clamp(1.25rem, 2.5vw, 1.625rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: 1.25rem var(--reception-inline-space) !important;
  padding: 0;
  overflow: hidden;
}
body .page .inline-appointment.oc-r327-reception > div {
  align-self: end;
  margin: var(--reception-block-space) 0 0 var(--reception-inline-space);
}
body .page .inline-appointment.oc-r327-reception > .btn {
  align-self: start;
  margin: 0 0 var(--reception-block-space) var(--reception-inline-space);
}
body .page .inline-appointment.oc-r327-reception > .oc-r327-reception-photo {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
body .page :is(.inline-appointment.oc-r327-reception, #P010--termin-ende) > .oc-r327-reception-photo > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 45%;
}
@media (max-width: 40rem) {
  body .page :is(.inline-appointment.oc-r327-reception, #P010--termin-ende.oc-r327-reception) {
    grid-template-columns: minmax(0, 1fr);
  }
  body .page .inline-appointment.oc-r327-reception > div {
    margin-inline-end: var(--reception-inline-space);
  }
  body .page .inline-appointment.oc-r327-reception > .btn {
    margin-bottom: 0;
    max-width: calc(100% - 2 * var(--reception-inline-space));
  }
  body .page .inline-appointment.oc-r327-reception > .oc-r327-reception-photo {
    aspect-ratio: 2000 / 1333;
  }
}
