.grid-lg-sm {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
  transition: all 0.4s ease-in-out;
  height: 384px;
}

.grid-sm-lg {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 32px;
  transition: all 0.4s ease-in-out;
  height: 384px;
}

.grid-sm-lg a,
.grid-lg-sm a {
  width: 100%;
}

.grid-lg-sm .card-img-bg-md,
.grid-sm-lg .card-img-bg-md {
  width: 100%;
  height: 100%;
}
.grid-lg-sm .card-img-bg,
.grid-sm-lg .card-img-bg {
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  h3 {
    font-size: 24px;
  }
  .grid-lg-sm > *,
  .grid-sm-lg > * {
    height: 350px;
  }
  .grid-lg-sm,
  .grid-sm-lg {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
    height: fit-content;
  }

  .grid-1-2 h3,
  .grid-1-2 h3 {
    font-size: 24px;
  }
}
