@import "tokens/fonts.css";
@import "tokens/colors.css";
@import "tokens/typography.css";
@import "tokens/spacing.css";
@import "tokens/shadcn.css";
@import "tokens/base.css";

.team-institute-card{
  display:flex;
  flex-direction:column;
}

.team-institute-title{
  display:block;
  margin-bottom:10px;
  color:#37464B;
  font:600 clamp(19px,2.6vw,21px)/1.22 'Source Sans 3',sans-serif;
  text-decoration:none;
  text-wrap:balance;
  transition:color .16s ease, text-decoration-color .16s ease;
}

.team-institute-title:hover,
.team-institute-title:focus-visible{
  color:var(--thuenen-blau);
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:4px;
}

.language-switcher{
  display:flex;
  align-items:center;
  gap:5px;
  margin-left:8px;
  color:rgba(55,70,75,.45);
  font:600 12px/1 'Source Sans 3',sans-serif;
}

.language-switcher button{
  border:0;
  padding:5px 4px;
  background:transparent;
  color:rgba(55,70,75,.55);
  cursor:pointer;
  font:600 12px/1 'Source Sans 3',sans-serif;
  transition:color .16s ease, background-color .16s ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible{
  color:var(--thuenen-blau);
}

.language-switcher button:focus-visible{
  outline:2px solid var(--thuenen-blau);
  outline-offset:2px;
}

@media (max-width:900px){
  .language-switcher{margin-left:4px}
}

.team-workpackages{
  margin-top:2px;
  font:400 14px/1.5 'Source Sans 3',sans-serif;
  color:rgba(55,70,75,.75);
}

.team-people{
  display:flex;
  flex-wrap:wrap;
  gap:18px 16px;
  margin-top:22px;
}

.team-person{
  flex:0 0 116px;
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0;
}

.team-person-photo{
  width:116px;
  aspect-ratio:1;
  overflow:hidden;
  border-radius:50%;
  background:#e9edf0;
}

.team-person-link{
  display:block;
  border-radius:50%;
  color:inherit;
  text-decoration:none;
}

.team-person-link:focus-visible{
  outline:2px solid var(--thuenen-blau);
  outline-offset:4px;
}

.team-person-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.team-person-photo--lfl-left img{object-position:left center}
.team-person-photo--lfl-right img{object-position:right center}

.team-person-name{
  margin:0;
  font:600 14px/1.25 'Source Sans 3',sans-serif;
  color:#37464B;
}

@media (max-width:700px){
  .team-people{gap:16px 14px}
  .team-person{flex-basis:104px}
  .team-person-photo{width:104px}
}

.whittaker-figure{margin:0}

.whittaker-total-chart{
  display:block;
  width:100%;
  height:auto;
  overflow:visible;
}

.whittaker-total-chart text{
  font:400 12px/1 'Source Sans 3',sans-serif;
  fill:#37464B;
}

.whittaker-total-grid line{
  stroke:rgba(55,70,75,.2);
  stroke-width:1;
}

.whittaker-total-grid text{
  text-anchor:end;
  fill:rgba(55,70,75,.7);
  font-size:11px;
}

.whittaker-total-axis-title{
  font-weight:600 !important;
  font-size:12px !important;
  text-anchor:middle;
}

.whittaker-total-bars rect{
  fill:var(--thuenen-blau);
  stroke:#37464B;
  stroke-width:1.2;
  vector-effect:non-scaling-stroke;
}

.whittaker-total-bars text{
  font-size:12px;
  text-anchor:middle;
}

.whittaker-total-bars text:first-of-type{
  font-weight:600;
}

.whittaker-total-group-label{
  font-weight:600 !important;
  font-size:12px !important;
  text-anchor:middle;
  fill:rgba(55,70,75,.8) !important;
}

.whittaker-caption{
  margin-top:12px;
  font:400 12px/1.45 'Source Sans 3',sans-serif;
  color:rgba(55,70,75,.65);
}

.whittaker-caption a{
  color:var(--thuenen-blau);
}
