.location-card {
  max-width: calc((100% - 2 * var(--grid-gutter-width)) / 3);
  width: 100%;

  @media (max-width: $md) {
    max-width: calc((100% - 1 * var(--grid-gutter-width)) / 2);
  }

  a {
    text-decoration: none;

    &:hover {
      .location-card-title {
        h2 {
          text-decoration: underline;
        }
      }
    }
  }

  img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
  }
}

.location-card-title {
  display: flex;
  align-items: center;
  margin: 25px 0 0 0;

  h2 {
    font-size: var(--font-size-medium);
    margin: 0;
    color: var(--color-primary);
  }

  svg {
    width: 25px;
    height: 100%;
    margin: 0 0 0 15px;

    path {
      fill: var(--color-primary);
    }
  }
}
