.dng-locations-loop__container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
  gap: 0px 24px;
  align-items: center;
}

@media (max-width: 767px) {
  .dng-locations-loop__container {
    grid-template-columns: 30px 1fr 1fr 1fr 1fr 30px;
    grid-template-rows: 69px auto 170px;
    gap: 0;
  }
}

.dng-locations-loop__container:not(:last-child) {
  padding-bottom: 50px;
}

.dng-locations-loop__container.left .dng-locations-loop__image {
  grid-area: 1 / 3 / 4 / 13;
}

.dng-locations-loop__container.right .dng-locations-loop__image {
  grid-area: 1 / 1 / 4 / 11;
}

@media (max-width: 767px) {
  .dng-locations-loop__container.left .dng-locations-loop__image,
  .dng-locations-loop__container.right .dng-locations-loop__image {
    grid-area: 2 / 1 / 4 / 7;
  }
}

@media (min-width: 768px) {
  .dng-locations-loop__image {
    max-height: 564px;
  }
}

.dng-locations-loop__image {
  position: relative;
  overflow: hidden;
  background: var(--e-global-color-0c737f7);
}

@media (min-width: 768px) {
  .dng-locations-loop__image img {
    width: 100%;
  }
}

.dng-locations-loop__image img {
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

.dng-locations-loop__container.left .dng-locations-loop__content {
  grid-area: 2 / 1 / 3 / 7;
}

.dng-locations-loop__container.right .dng-locations-loop__content {
  grid-area: 2 / 7 / 3 / 13;
}

@media (max-width: 767px) {
  .dng-locations-loop__container.left .dng-locations-loop__content,
  .dng-locations-loop__container.right .dng-locations-loop__content {
    grid-area: 1 / 2 / 3 / 6;
  }
}

.dng-locations-loop__content-title {
  font-family: var(--main-font) !important;
  letter-spacing: 0.76px;
  margin: 0;
  padding-bottom: 36px;
}

@media (min-width: 768px) {
  .dng-locations-loop__content-desc {
    padding-bottom: 52px;
  }
}

.dng-locations-loop__content-desc p {
  font-family: var(--base-font) !important;
  font-weight: 300 !important;
  font-size: 14px !important;
  line-height: 22px !important;
  letter-spacing: 0.14px !important;
  margin-bottom: 0;
}

.dng-locations-loop__content {
  background: var(--e-global-color-0c737f7);
  padding: 40px;
  align-self: center;
  z-index: 2;
}

.dng-locations-loop__content-btns {
  display: flex;
  gap: 0 20px;
}

@media (max-width: 767px) {
  .dng-locations-loop__content-btns {
    padding-top: 30px;
    flex-direction: column-reverse;
  }
}

a.btn {
  font-family: var(--base-font);
  padding: 16px 20px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.14px;
  text-transform: uppercase;
  border-radius: 0;
  width: fit-content;
}

a.btn-listings {
  border: 1px solid var(--e-global-color-cd8a65f);
  color: var(--e-global-color-text);
}

a.btn-listings:hover,
a.btn-listings:focus {
  background: var(--e-global-color-dc19d0f);
  color: var(--e-global-color-cd8a65f);
}

a.btn-location {
  border: 1px solid var(--e-global-color-primary);
  background: var(--e-global-color-primary);
  color: var(--e-global-color-a33dd03);
}

a.btn-location:hover,
a.btn-location:focus {
  border: 1px solid #006494cc;
  background: #006494cc;
  color: var(--e-global-color-a33dd03);
}

@media (max-width: 767px) {
  a.btn-location {
    margin-bottom: 17px;
  }
}
