/* Homepage banner */
.tcc-teamhero {
  background: #cbc7bb;
  color: #251b42;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 16px;
  min-height: clamp(260px,25vw,410px);
  margin: 10px;
  padding: 20px max(6%,calc((100% - 1300px)/2));
  box-sizing: border-box;
}
.tcc-teamhero .tcc-person {
  position: relative;
  grid-area: 1 / 2;
  justify-self: center;
  width: min(100%,clamp(210px,22vw,350px));
  aspect-ratio: 1;
  border: 0;
  --portrait-fade: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: var(--portrait-fade);
  mask-image: var(--portrait-fade);
  overflow: hidden;
  isolation: isolate;
  box-sizing: border-box;
}
.tcc-teamhero .tcc-slide { position:absolute; inset:0; opacity:0; transition:opacity .9s ease; }
.tcc-teamhero .tcc-slide.show { opacity:1; }
.tcc-teamhero .tcc-slide img { display:block; width:100%; height:100%; object-fit:cover; object-position:center top; }
.tcc-teamhero .tcc-copy { grid-area:1 / 1; }
.tcc-teamhero .tcc-copy h1{color:#251b42!important;font:normal 600 clamp(40px,4.5vw,70px)/.98 Georgia,serif!important;letter-spacing:-.045em;margin:0 0 12px;padding:0}
.tcc-teamhero .tcc-copy a{display:inline-flex;align-items:center;gap:14px;text-decoration:none;background:#9f874b;color:#191226!important;border-radius:40px;padding:12px 21px;font:700 16px/1.2 Arial,sans-serif}
.tcc-teamhero .tcc-copy a:hover,.tcc-teamhero .tcc-copy a:focus-visible{background:#251b42;color:white!important}
.tcc-teamhero .tcc-copy p {
  color: #251b42;
  font: normal 400 clamp(15px,1.15vw,18px)/1.35 Arial,sans-serif;
  max-width: 34ch;
  margin: 0 0 20px;
}

@media(max-width:650px) {
  .tcc-teamhero { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); gap:8px; min-height:210px; margin:6px; padding:18px 12px; }
  .tcc-teamhero .tcc-person { width:min(100%,210px); }
  .tcc-teamhero .tcc-copy h1 { font-size:clamp(24px,6.5vw,38px)!important; margin-bottom:8px; }
  .tcc-teamhero .tcc-copy p { font-size:13px; margin-bottom:14px; }
  .tcc-teamhero .tcc-copy a { font-size:14px; padding:10px 13px; gap:6px; }
}
@media(prefers-reduced-motion:reduce) { .tcc-teamhero .tcc-slide { transition:none; } }

/* Opening slide, using the same content and link as the team slide. */
.tcc-teamhero { position:relative; }
.tcc-teamhero.is-office {
  background-color:#cbc7bb;
  background-image:linear-gradient(rgba(17,15,19,.48),rgba(17,15,19,.56)),url("media/kantoor.webp");
  background-position:center,center 45%;
  background-size:cover;
  background-repeat:no-repeat;
  grid-template-columns:minmax(0,1fr);
}
.tcc-teamhero.is-office .tcc-person { visibility:hidden; grid-area:1/1; pointer-events:none; }
.tcc-teamhero.is-office .tcc-copy { position:relative; text-align:center; justify-self:center; }
.tcc-teamhero.is-office .tcc-copy h1 {
  font:normal 400 clamp(32px,5.5vw,88px)/1.05 Georgia,serif!important;
  color:white!important; text-shadow:0 1px 4px rgba(20,16,23,.75); letter-spacing:-.055em; margin:0 0 14px;
}
.tcc-teamhero.is-office .tcc-copy br { display:none; }
.tcc-teamhero.is-office .tcc-copy p { color:white; max-width:none; margin:0 auto clamp(18px,2vw,32px); }
.tcc-teamhero.is-office .tcc-copy a {
  color:#191226!important; border:1px solid #9f874b; border-radius:0;
  background:#9f874b; text-transform:uppercase;
  font-size:13px; letter-spacing:.11em; padding:13px 30px;
}
.tcc-teamhero.is-office .tcc-copy a:hover,.tcc-teamhero.is-office .tcc-copy a:focus-visible {
  background:white; color:#251b42!important;
}
.tcc-teamhero.is-office .tcc-copy a span { display:none; }
.tcc-teamhero .tcc-switch {
  position:absolute; right:12px; bottom:8px; display:flex; gap:4px;
}
.tcc-teamhero .tcc-switch button {
  border:1px solid currentColor; background:#cbc7bb; color:#251b42; cursor:pointer;
  font:600 12px/1 Arial,sans-serif; padding:6px 10px; border-radius:20px;
}
.tcc-teamhero.is-office .tcc-switch button { background:#292631; color:white; }
@media(max-width:650px){
  .tcc-teamhero { padding-bottom:38px; min-height:240px; }
  .tcc-teamhero.is-office .tcc-person { width:min(47%,210px); }
  .tcc-teamhero.is-office { background-position:center,68% center; }
}

.tcc-teamhero:not(.is-office) { padding-block:0; }
.tcc-teamhero:not(.is-office) .tcc-person {
  align-self:stretch;
  width: min(100%,clamp(260px,25vw,410px));
  aspect-ratio:auto;
}
.tcc-teamhero:not(.is-office) .tcc-copy { padding-block:22px; }
.tcc-teamhero .tcc-copy .tcc-intro {
  max-width:52ch;
  font:normal 400 clamp(14px,1vw,16px)/1.5 Arial,sans-serif;
}
.tcc-teamhero.is-office .tcc-intro,
.tcc-teamhero:not(.is-office) .tcc-slogan { display:none; }
@media(max-width:650px) {
  .tcc-teamhero:not(.is-office) .tcc-copy { padding-block:14px; }
  .tcc-teamhero .tcc-copy .tcc-intro { font-size:13px; line-height:1.4; }
}
