.journey-heading {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 15px;
}

.journey-heading .role-label {
  margin-bottom: 7px;
}

.journey-heading h3 {
  margin-bottom: 0;
}

.org-logo,
.school-logo {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #365357;
  border-radius: 10px;
  background: #f5f7f4;
  box-shadow: 0 9px 24px #0005;
}

.org-logo {
  flex: 0 0 76px;
  width: 76px;
  height: 58px;
  padding: 8px;
}

.org-logo img,
.school-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.org-logo--waterland {
  flex-basis: 134px;
  width: 134px;
  padding: 14px 12px;
  border-color: #3c5a60;
  background: #0b1923;
}

.org-logo--waterland img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.org-logo--moltam {
  background: #eef3f0;
}

.org-logo--moltam img {
  width: 46px;
  height: 46px;
}

.org-logo--inter {
  padding: 5px 8px;
}

.education-list article {
  grid-template-columns: 110px 1fr;
}

.education-entry {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
}

.education-list .school-logo {
  width: 92px;
  height: 54px;
  padding: 7px;
  color: inherit;
}

.school-logo--compact img {
  width: 40px;
  height: 40px;
}

.education-list .school-logo--dark {
  background: #07121a;
}

.mark-note {
  max-width: 430px;
  text-align: center;
  font: 9px/1.5 Consolas, monospace;
  color: #789193;
}

footer {
  min-height: 96px;
  gap: 28px;
}

@media (max-width: 700px) {
  .journey-heading {
    align-items: flex-start;
    gap: 13px;
  }

  .org-logo {
    flex-basis: 62px;
    width: 62px;
    height: 50px;
  }

  .org-logo--waterland {
    flex-basis: 108px;
    width: 108px;
    padding: 13px 10px;
  }

  .education-entry {
    grid-template-columns: 74px 1fr;
  }

  .education-list .school-logo {
    width: 74px;
    height: 48px;
  }

  .mark-note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 390px) {
  .education-entry {
    grid-template-columns: 1fr;
  }

  .education-list .school-logo {
    width: 86px;
  }
}

@media print {
  .org-logo,
  .school-logo {
    box-shadow: none;
  }

  footer {
    min-height: 50px;
  }
}
