.fymls__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.fymls__button {
  display: inline-block;
  margin: 0;
}

.fymls__right-column {
  display: flex;
  flex-direction: column;
}

.fymls__search-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.fymls__search {
  width: 100%;
  padding: 18px;
  padding-left: 40px;
}

.fymls__search::placeholder {
  color: #6e6e73;
}

.fymls__search-icon-wrapper {
  position: relative;
  width: 0;
  height: 0;
}

.fymls__search-wrapper svg {
  position: absolute;
  left: 16px;
  top: -6px;
  fill: #6e6e73;
}

.fymls__listing-wrapper {
  position: relative;
  overflow: hidden;
  flex-grow: 1;
}

.fymls__listing {
  position: absolute;
  width: 100%;
  overflow-y: scroll;
  max-height: 100%;
}

.fymls__listing-overlay-wrapper: {
  position: relative;
  width: 0;
  height: 0;
}

.fymls__listing-overlay {
  width: 100%;
  height: 72px;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent, #ffffff);
}

.fymls__listing::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
}

.fymls__listing::-webkit-scrollbar-thumb {
  background-color: #7f7f7f;
  border-radius: 8px;
}

.fymls__mls-container {
  padding: 12px 0;
  border-bottom: 1px solid #e3e3e3;
}

.fymls__mls-name {
  font-size: 16px;
  font-weight: 600;
  color: #1c1c1c;
  line-height: 150%;
  margin-bottom: 0;
}

.fymls__mls-description {
  font-size: 12px;
  color: #6e6e73;
}

.fymls__hidden {
  display: none;
}

@media (max-width: 767px) {
  .fymls__card {
    grid-template-columns: auto;
    gap: 32px !important;
  }

  .fymls__listing-wrapper {
    height: 256px;
  }

  .fymls__button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: max-content;
  }

  .fymls__text-block h1,
  .fymls__text-block h2,
  .fymls__text-block h3,
  .fymls__text-block h4,
  .fymls__text-block h5,
  .fymls__text-block h6 {
    text-align: center;
  }
}