/* About + Impressum pages. Builds on refresh.css (.sbb-legal tokens); no new colours. */
.sbb-about__shell { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }
.sbb-about,
.sbb-about * { box-sizing: border-box; }

.sbb-about__intro {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  margin-top: 8px;
}
.sbb-about__portrait {
  width: 168px;
  height: 168px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  background: var(--control-bg-soft);
}
.sbb-about__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sbb-about__intro .sbb-legal__eyebrow { margin-bottom: 12px; }
.sbb-about__role { margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }

.sbb-about__story p { font-size: 18px; line-height: 1.65; }
.sbb-about__links { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.sbb-legal .sbb-about__links li { margin: 0; padding: 0; }
.sbb-legal .sbb-about__links li::before { content: none; display: none; }

.sbb-impressum dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 10px 20px; }
.sbb-impressum dt { color: var(--muted); font-size: 14px; font-weight: 700; }
.sbb-impressum dd { margin: 0; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.sbb-impressum address { font-style: normal; }

@media (max-width: 720px) {
  .sbb-about__intro { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .sbb-about__portrait { width: 132px; height: 132px; }
  .sbb-about__story p { font-size: 17px; }
  .sbb-impressum dl { grid-template-columns: 1fr; gap: 2px; }
  .sbb-impressum dd { margin-bottom: 12px; }
}

.sbb-impressum .sbb-legal__lead { margin-top: 18px; }

/* A blank line between the story paragraphs and before the sign-off. */
.sbb-about__story p {
  margin: 0 0 1.5em !important;
}

.sbb-about__story p:last-child {
  margin-bottom: 0 !important;
}
