.only-d { display: none; }

.dm-hero,
.dm-flag,
.dm-comm,
.dm-houses,
.dm-next {
  background: #232323;
  color: #fff;
}

.dm-hero :where(h1, p),
.dm-flag :where(h2, p),
.dm-comm :where(h2, p),
.dm-houses :where(h2, p),
.dm-next :where(h2) { margin: 0; }

.dm-hero a,
.dm-houses a,
.dm-next a { color: inherit; }

.dm-hero { margin-top: 28px; }

.dm-hero-title {
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 26.4px;
  text-transform: uppercase;
  min-height: 78px;
  display: flex;
  align-items: center;
}

.dm-hero .dm-hero-visual { padding: 0 25px; }

.dm-hero-shot { margin-top: 19px; }

.dm-hero-photo {
  display: block;
  width: 100%;
  height: 448px;
  object-fit: fill;
}

.dm-hero-card {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  width: 193px;
  height: 95px;
  padding: 9px 10px 10px;
  border-radius: 5px;
  background: #ffa300;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dm-hero-card-text {
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 12px;
  line-height: 14.4px;
  text-transform: uppercase;
  color: #232323;
}

.dm-hero-btn {
  width: 100%;
  height: 35px;
  padding: 0 12px;
  justify-content: center;
  gap: 10px;
  background: #232323;
  color: #fff;
  font-size: 12px;
  line-height: 11.48px;
}

.dm-hero-btn img { width: 9px; height: 9px; }

.dm-flag { margin-top: 13px; }

.dm-flag-num-m {
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 72px;
  color: #ffa300;
  white-space: nowrap;
}

.dm-flag-m-top { --bs-gutter-x: 14px; align-items: flex-start; }

.dm-flag-label-m,
.dm-flag-aside-m {
  font-size: 10px;
  line-height: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.dm-flag-label-m { min-height: 91px; }

.dm-flag-m-top img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: fill;
  border-radius: 5px;
}

.dm-flag-label-m + img { margin-top: 33px; }

.dm-flag-aside-m { margin-top: 15px; }

.dm-flag-wide-m {
  display: block;
  width: 100%;
  height: 200px;
  margin-top: 18px;
  object-fit: fill;
  border-radius: 5px;
}

.dm-flag-prose-m {
  margin-top: 27px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.dm-comm { margin-top: 26px; }

.dm-comm-title-m {
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 21.6px;
  text-transform: uppercase;
}

.dm-comm-m-a img,
.dm-comm-m-b img,
.dm-comm-m-c img {
  display: block;
  width: 100%;
  object-fit: fill;
  border-radius: 5px;
}

.dm-comm-m-a { margin-top: 18px; }
.dm-comm-m-a img { width: 253px; height: 153px; }
.dm-comm-m-b { margin-top: 12px; margin-left: 90px; }
.dm-comm-m-b img { width: 251px; height: 153px; }
.dm-comm-m-c { margin-top: 12px; }
.dm-comm-m-c img { width: 199px; height: 233px; }

.dm-comm-name-m {
  margin-top: 11px;
  font-weight: 500;
  font-size: 11px;
  line-height: 14px;
  text-transform: uppercase;
}

.dm-comm-floors-m {
  margin-top: 1px;
  font-size: 10px;
  line-height: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #616161;
}

.dm-houses { margin-top: 11px; }

.dm-houses-title-m {
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 21.6px;
  text-transform: uppercase;
}

.dm-house-m { --bs-gutter-x: 13px; margin-top: 11px; }

.dm-house-m img {
  display: block;
  width: 100%;
  height: 116px;
  object-fit: fill;
  border-radius: 5px;
}

.dm-house-name-m {
  margin-top: 7px;
  font-weight: 500;
  font-size: 11px;
  line-height: 12px;
  text-transform: uppercase;
  color: #d9d9d9;
}

.dm-house-meta-m {
  margin-top: 4px;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  text-transform: uppercase;
  color: #616161;
}

.dm-next { margin-top: 28px; padding-bottom: 58px; }

.dm-next-title {
  font-family: Unbounded, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 21.6px;
  text-transform: uppercase;
}

.dm-next-row { --bs-gutter-x: 13px; margin-top: 11px; }

.dm-next-card img:first-child {
  display: block;
  width: 100%;
  height: 116px;
  object-fit: fill;
  border-radius: 5px;
}

.dm-next-cap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: #d9d9d9;
  font-weight: 500;
  font-size: 11px;
  line-height: 12px;
  text-transform: uppercase;
}

.dm-next-cap img { width: 7px; height: 7px; flex: 0 0 7px; }

@media (min-width: 800px) {
  .only-m { display: none; }
  .only-d { display: block; }
  .row.only-d { display: flex; }
  img.only-d,
  span.only-d { display: inline; }

  .dm-hero { margin-top: 90px; }

  .dm-hero-frame {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }

  .dm-hero-copy {
    position: absolute;
    top: 42px;
    left: 0;
    right: 0;
    z-index: 2;
  }

  .dm-hero-title {
    width: 585px;
    min-height: 135px;
    font-size: 40px;
    line-height: 45px;
  }

  .dm-hero-lead {
    width: 467px;
    margin-top: 21px;
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    text-transform: uppercase;
  }

  .dm-hero .dm-hero-visual {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .dm-hero-shot { margin-top: 0; }
  .dm-hero-photo { height: 815px; }

  .dm-hero-card {
    top: 595px;
    right: 70px;
    bottom: auto;
    width: 329px;
    height: 166px;
    padding: 15px;
  }

  .dm-hero-card-text {
    width: 299px;
    font-size: 18px;
    line-height: 21.6px;
  }

  .dm-hero-btn { width: 299px; }

  .dm-flag { margin-top: 54px; }

  .dm-flag-title {
    font-family: Unbounded, sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    text-transform: uppercase;
    margin-bottom: 2px;
  }

  .dm-flag-row {
    --bs-gutter-x: 0;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 77px;
  }

  .dm-flag-row > .col { padding: 0; min-width: 0; }

  .dm-flag-photo {
    flex: 0 0 756px;
    width: 756px;
    max-width: 756px;
    margin-top: 37px;
  }

  .dm-flag-photo img,
  .dm-flag-wide img {
    display: block;
    width: 100%;
    height: 452px;
    object-fit: fill;
    border-radius: 5px;
  }

  .dm-flag-num {
    font-family: Unbounded, sans-serif;
    font-weight: 500;
    font-size: 90px;
    line-height: 108px;
    color: #ffa300;
    white-space: nowrap;
  }

  .dm-flag-label {
    max-width: 455px;
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    text-transform: uppercase;
    color: #ec9f00;
  }

  .dm-flag-side {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .dm-flag-small {
    display: block;
    width: 241px;
    height: 281px;
    margin-top: auto;
    margin-left: auto;
    object-fit: cover;
    border-radius: 5px;
  }

  .dm-flag-note-row {
    --bs-gutter-x: 0;
    flex-wrap: nowrap;
    margin-top: 87px;
    align-items: flex-start;
    gap: 62px;
  }

  .dm-flag-note-row > .col { padding: 0; min-width: 0; }

  .dm-flag-note { flex: 0 0 464px; width: 464px; max-width: 464px; }

  .dm-flag-note p {
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    text-transform: uppercase;
  }

  .dm-flag-wide { flex: 0 0 756px; width: 756px; max-width: 756px; }

  .dm-flag-prose {
    margin-top: 27px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
  }

  .dm-comm { margin-top: 139px; }

  .dm-comm-title {
    font-family: Unbounded, sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    text-transform: uppercase;
    margin-bottom: 21px;
  }

  .dm-comm-row {
    --bs-gutter-x: 0;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 71px;
  }

  .dm-comm-row > .col { padding: 0; }

  .dm-comm-a { flex: 0 0 641px; width: 641px; max-width: 641px; }
  .dm-comm-b { flex: 0 0 612px; width: 612px; max-width: 612px; margin-top: 146px; }

  .dm-comm-a img { height: 388px; }
  .dm-comm-b img { height: 372px; }

  .dm-comm-a img,
  .dm-comm-b img,
  .dm-comm-c img {
    display: block;
    width: 100%;
    object-fit: fill;
    border-radius: 5px;
  }

  .dm-comm-c {
    flex: 0 0 424px;
    width: 424px;
    max-width: 424px;
    margin-left: 218px;
    margin-top: -109px;
    padding: 0;
  }

  .dm-comm-c img { height: 496px; }

  .dm-comm-name {
    margin-top: 21px;
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    text-transform: uppercase;
  }

  .dm-comm-b .dm-comm-name { margin-top: 18px; }
  .dm-comm-c .dm-comm-name { margin-top: 23px; }

  .dm-comm-floors {
    margin-top: 4px;
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    text-transform: uppercase;
    color: #616161;
  }

  .dm-houses { margin-top: 88px; }

  .dm-houses-head .row {
    align-items: center;
    justify-content: space-between;
  }

  .dm-houses-title {
    max-width: 757px;
    font-family: Unbounded, sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    text-transform: uppercase;
  }

  .dm-houses-all {
    width: 226px;
    height: 47px;
    padding: 0 20px;
    font-size: 14px;
    line-height: 17px;
  }

  .dm-house-grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    flex-wrap: wrap;
    gap: 0 21px;
    margin-top: 35px;
    margin-left: -4px;
  }

  .dm-house-grid > .col {
    flex: 0 0 423px;
    width: 423px;
    max-width: 423px;
    padding: 0;
  }

  .dm-house-grid img {
    display: block;
    width: 100%;
    height: 298px;
    object-fit: fill;
    border-radius: 5px;
  }

  .dm-house-cap {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 21px;
    font-weight: 500;
    font-size: 16px;
    line-height: 25px;
    text-transform: uppercase;
  }

  .dm-house-name { color: #d9d9d9; }
  .dm-house-meta { color: #4f4f4f; }

  .dm-next { margin-top: 64px; padding-bottom: 90px; }

  .dm-next-title {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 24px;
  }

  .dm-next-row { --bs-gutter-x: 22px; margin-top: 0; }

  .dm-next-row > .col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  .dm-next-card img:first-child { height: 298px; }

  .dm-next-cap {
    margin-top: 24px;
    font-size: 16px;
    line-height: 21px;
  }

  .dm-next-cap img { width: 30px; height: 30px; flex-basis: 30px; }
}
