/* v7: the requested principles heading and full-frame team portrait only. */

/* A short orange tab grows directly out of the four principles' top edge. */
.assurance-block { margin-top: 54px; }
.assurance-block__title {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 -4px;
  padding: 10px 22px 12px;
  border-radius: 16px 24px 0 0;
  color: var(--petrol-deep);
  background: var(--orange);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}
.assurance-block .assurance-grid {
  margin-top: 0;
  border-top-left-radius: 0;
}

/* The original high-resolution image fills the frame without a blurred copy. */
.team__photo::before { content: none; display: none; }
.team__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 27%;
}
.team__photo > span {
  left: 20px;
  right: 20px;
  bottom: 14px;
  padding: 7px 10px;
  background: rgba(9, 37, 39, .9);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

@media (max-width: 820px) {
  .assurance-block { margin-top: 44px; }
  /* Preserve the existing height on phones; allow a taller portrait only
     when a wide frame would otherwise crop the face or identification badge. */
  .team__photo { height: auto; min-height: 540px; aspect-ratio: 43 / 50; }
}
@media (max-width: 560px) {
  .team__photo { min-height: 470px; }
  .team__photo > span { bottom: 8px; padding-block: 6px; }
}

@media print {
  .assurance-block__title { color: #000; background: #fff; border: 1px solid #777; }
}
