.um-autogrid-column {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(375px, 1fr));
}
.um-card p {
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  color: #666;
  direction: rtl;
  margin: 4px;
}

.um-card p.um-small {
  font-size: 14px;
}

.um-go-corner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 32px;
  height: 32px;
  overflow: hidden;
  top: 0;
  left: 0;
  background-color: #00838d;
  border-radius: 0 0 32px 0;
}

.um-go-arrow {
  margin-top: -4px;
  margin-right: -4px;
  color: white;
  font-family: courier, sans;
}

.um-card1 {
  display: block;
  position: relative;
  /* max-width: 360px; */
  background-color: #f2f8f9;
  border-radius: 4px;
  padding: 12px 24px;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
  direction: ltr;
}

.um-card1:before {
  content: '';
  position: absolute;
  z-index: -1;
  top: 0;
  right: -16px;
  background: #00838d;
  height: 100%;
  width: 20px;
  /* border-radius: 32px; */
  transform: scale(1);
  transform-origin: 80% 20%;
  transition: transform 0.25s ease-out;
}

.um-card1:hover:before {
  transform: scale(30);
}

.um-card1:hover p {
  transition: all 0.3s ease-out;
  color: rgba(255, 255, 255, 0.8);
}

.um-card1:hover h3 {
  transition: all 0.3s ease-out;
  color: #fff;
}
.um-badge1 {
  padding: 4px 8px;
  max-width: fit-content;
  border-radius: 8px;
  border: 1px solid #00838d;
  margin: 0 2px;
  display: inline-block;
}
.um-card1:hover .um-badge1 {
  color: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  border: 1px solid #fff;
}
.um-card p.um-tell {
  font-size: 1rem;
  font-weight: bold;
  text-align: left;
  letter-spacing: 0.5px;
}
.um-card2 {
  display: block;
  position: relative;
  /* max-width: 262px; */
  background-color: #f2f8f9;
  border-radius: 4px;
  padding: 32px 24px;
  margin: 12px;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
}

.um-card2:before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -16px;
  left: -16px;
  background: #00838d;
  height: 32px;
  width: 32px;
  border-radius: 32px;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease-out;
}

.um-card2:hover:before {
  transform: scale(35);
}

.um-card2:hover p {
  transition: all 0.3s ease-out;
  color: rgba(255, 255, 255, 0.8);
}

.um-card2:hover h3 {
  transition: all 0.3s ease-out;
  color: #fff;
}
