.office-location-card {
  height: 100%;
  border: 1px solid var(--color-light-grey);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.office-location-card:hover,
.office-location-card:focus {
  border-color: var(--color-graphite);
}

.office-location-card > img {
  height: 240px;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.office-location-details {
  padding: 15px 25px;
}

.office-location-details > div {
  margin: 20px 0;
}

.office-location-details .icon-wrap {
  width: 25px;
  text-align: center;
  margin-right: 10px;
}

.office-location-details .icon-wrap img {
  display: block;
  margin: 0 auto;
}

.office-location-details p {
  margin: 0;
  width: calc(100% - 35px);
}

.office-location-details .location a {
  margin-left: 35px;
  color: var(--color-graphite);
  margin-top: 8px;
  display: block;
  position: relative;
}

.office-location-details .location a::after {
  content: "";
  display: inline-block;
  background-image: url("arrow-right-graphite-small.svg");
  width: 8px;
  height: 12px;
  position: relative;
  margin-left: 12px;
  top: 1px;
}

.office-location-details .location a {
  position: relative;
}

.office-location-details .location a::before {
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: var(--color-graphite);
  bottom: -3px;
  left: 0px;
  transition: all 0.2s linear;
  content: "";
}

.office-location-details .location a:hover::before,
.office-location-details .location a:focus::before {
  width: calc(100% - 20px);
}

.office-location-details .location a strong {
  font-weight: 600;
  font-size: 17px;
  position: relative;
}