/* Tannlege Forland – v9: consistent photographs and rounded, edge-free icons. */
/* Consistent portraits on the home page, regardless of the source files' natural proportions. */
.intro-grid .team-peek {
  display:grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items:start;
  gap: clamp(12px,1.7vw,20px);
  width:100%;
}
.intro-grid .team-peek .team-peek-person {
  display:block;
  width:100%;
  min-width:0;
  max-width:none;
}
.intro-grid .team-peek .team-peek-photo {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio: 4 / 4.5;
  border-radius:22px;
  overflow:hidden;
  position:relative;
  background:#e9f4fa;
}
.intro-grid .team-peek .team-peek-photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 22%;
  border-radius:inherit;
}
/* Full biographies also have precisely matching photo sizes, frame shapes and crops. */
.team-section .team-grid .team-photo {
  display:block;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio: 4 / 4.8;
  border-radius:24px;
  overflow:hidden;
  background:#e9f4fa;
}
.team-section .team-grid .team-photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 22%;
}
/* Keep the authentic icon drawings, but blend away rectangular white bitmap backgrounds. */
.service-section .service-grid .service-card-top,
.service-dialog .service-dialog-title-row .dialog-icon {
  border-radius:50%;
  overflow:hidden;
  isolation:isolate;
}
.service-section .service-grid .service-card-top img,
.service-dialog .service-dialog-title-row img {
  border-radius:50%;
  mix-blend-mode:multiply;
  -webkit-mask-image:radial-gradient(circle closest-side at center, #000 79%, transparent 100%);
  mask-image:radial-gradient(circle closest-side at center, #000 79%, transparent 100%);
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
}
@media(max-width:820px){
  .intro-grid .team-peek {gap:14px}
  .intro-grid .team-peek .team-peek-photo{border-radius:19px}
  .team-section .team-grid .team-photo{aspect-ratio:4 / 4.8;border-radius:20px}
}
