.hiw {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.hiw > div:first-child {
  flex: 0 1 42%;
  border-radius: var(--brad);
  overflow: hidden;
  max-height: 500px;
}
.hiw > div:last-child {
  flex: 0 1 42%;
  /* aspect-ratio: 1/1.2; */
  border-radius: var(--brad);
}
.hiw > div:first-child {
  flex: 0 1 50%;
}
.hiwRev {
  flex-direction: row-reverse;
}
.hiwRev > div:first-child > div {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.hiw > div:first-child > a {
  max-width: 40%;
  min-width: 312px;
}
.hiw > div:first-child > div a {
  flex: 1 0 20%;
}

@media (max-width: 768px) {
  .hiw {
    flex-direction: column-reverse;
    flex-wrap: wrap;
  }
  .hiw > div {
    flex: 1 1 100% !important;
  }
  .hiw > div:first-child {
    margin-top: 24px;
  }
  .hiw > div:first-child > div {
    flex-direction: column;
  }
  .hiw > div:first-child > a {
    max-width: 100%;
  }
}
