.invista-property-mobile-intro {
  display: none;
}

@media screen and (max-width: 767px) {
  #page.detPage > .invista-property-mobile-intro {
    display: block;
    box-sizing: border-box;
    width: calc(100% - 40px);
    margin: 18px auto 14px;
    padding: 16px;
    border: 1px solid #e1ded4;
    border-radius: 12px;
    background: #fff;
    color: #172b41;
  }

  #page.detPage:has(> .invista-property-mobile-intro) #property-summary > .invista-property-summary-heading {
    display: none;
  }

  .invista-property-mobile-intro .invista-property-mobile-title {
    display: block;
    margin: 0 0 3px;
    color: #172b41;
    font-size: 26px;
    line-height: 1.13;
    font-weight: 720;
    overflow-wrap: anywhere;
  }

  .invista-property-mobile-intro .invista-property-summary-location {
    display: block;
    color: #47576a;
    font-size: 14px;
    line-height: 1.5;
  }

  #page.detPage .invista-property-mobile-intro p.price {
    float: none;
    margin: 11px 0 12px;
    color: #172b41;
    font-size: 26px;
    line-height: 1.18;
    font-weight: 750;
    text-align: left;
  }

  .invista-property-mobile-intro .price small {
    color: #47576a;
    font-size: 14px;
    font-weight: 500;
  }

  .invista-property-mobile-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 8px;
  }

  #page.detPage .invista-property-mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 44px;
    padding: 7px 6px;
    border: 1px solid #18365d;
    border-radius: 8px;
    color: #18365d;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.22;
    text-align: center;
    text-decoration: none;
  }

  #page.detPage .invista-property-mobile-actions a[href="#visit"] {
    color: #fff;
    background: #18365d;
  }

  #page.detPage .invista-property-mobile-actions a:focus-visible {
    outline: 2px solid #456e9c;
    outline-offset: 2px;
  }

  #page.detPage > .invista-property-mobile-intro + #gallery {
    width: calc(100% - 40px);
    margin: 0 auto 22px;
    padding: 0;
  }

  #page.detPage > .invista-property-mobile-intro + #gallery .ip-mosaic {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    aspect-ratio: 16 / 10;
  }

  #page.detPage > .invista-property-mobile-intro + #gallery .ip-tile:not(:first-child) {
    display: none;
  }

  #page.detPage > .invista-property-mobile-intro + #gallery .ip-empty {
    min-height: 88px;
    grid-auto-flow: column;
    align-items: center;
    gap: 10px;
    padding: 14px;
  }

  #page.detPage > .invista-property-mobile-intro + #gallery .ip-empty .fa {
    font-size: 21px;
  }

  #page.detPage:has(> .invista-property-mobile-intro) > .mainCont {
    margin-top: 16px;
  }
}

@media screen and (max-width: 420px) {
  #page.detPage #characteristics .itemBrd > .row:has(> dt + dd) {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    padding-inline: 10px;
  }

  #page.detPage #characteristics .itemBrd > .row:has(> dt + dd)::before,
  #page.detPage #characteristics .itemBrd > .row:has(> dt + dd)::after {
    content: none;
  }

  #page.detPage #characteristics .itemBrd > .row > :is(dt, dd) {
    width: auto;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  #page.detPage #characteristics .itemBrd > .row > dd {
    margin-inline-start: auto;
    text-align: end;
  }
}
