/* Use an opaque, uncropped-in-HTML image in place of the harbour cutout. */
.hp-company-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  margin: 0;
  aspect-ratio: 1.66;
  border-radius: 20px;
  background: #d9edeb;
}
.hp-company-photo > img,
.ed-overview.hp-company-overview .hp-company-photo > img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.hp-company-photo figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 3px;
  color: #fff;
  background: #132f39eb;
  font: 600 .72rem/1.6 Arial, sans-serif;
}
.ed-overview.hp-company-overview {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  min-height: 0;
  padding: clamp(20px, 3vw, 40px);
}
.ed-overview.hp-company-overview > div { max-width: none; }

/* Each connector is drawn in the gap between its step and the next. */
body .pfl .pfl-ribbon.hp-linked-steps {
  --flow-gap: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: var(--flow-gap);
}
body .pfl .pfl-ribbon.hp-linked-steps > li {
  position: relative;
  filter: none;
  min-width: 0;
  margin: 0;
}
body .pfl .pfl-ribbon.hp-linked-steps > li > :is(a,div) {
  display: flex;
  height: 100%;
  min-height: 100px;
  box-sizing: border-box;
  justify-content: center;
  padding: clamp(12px, 1.5vw, 22px);
  border-radius: 13px;
  clip-path: none;
}
body .pfl .pfl-ribbon.hp-linked-steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset-inline-start: calc(100% + var(--flow-gap) / 2);
  top: 50%;
  width: 26px;
  height: 18px;
  background: #105d61;
  clip-path: polygon(0 40%, 66% 40%, 45% 10%, 56% 0, 100% 50%, 56% 100%, 45% 90%, 66% 60%, 0 60%);
  transform: translate(-50%, -50%);
}
body[data-variant=b] .pfl-flow .hp-linked-steps > li:not(:last-child)::after { background: #fff; }
@media (max-width: 800px) {
  body .pfl .pfl-ribbon.hp-linked-steps {
    grid-template-columns: minmax(0,1fr);
    --flow-gap: 32px;
  }
  body .pfl .pfl-ribbon.hp-linked-steps > li > :is(a,div) {
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    text-align: start;
    gap: 17px;
    min-height: 62px;
    padding: 13px 18px;
  }
  body .pfl .pfl-ribbon.hp-linked-steps > li:not(:last-child)::after {
    inset-inline-start: 50%;
    top: calc(100% + var(--flow-gap) / 2);
    width: 21px;
    height: 15px;
    transform: translate(-50%, -50%) rotate(90deg);
  }
}
@media (max-width: 650px) {
  .ed-overview.hp-company-overview { grid-template-columns: 1fr; }
  .hp-company-photo { aspect-ratio: 1.83; border-radius: 16px; }
}
