/* Luxury House V5.11: iOS Safari property layout hotfix.
   Loaded at a unique URL after the original CSS to avoid stale cached styles.
   Scoped to public pages, no admin styling or color palette changes. */
@media screen and (max-width:1100px) {
  html, body {max-width:100%; overflow-x:clip;}
  main, .lh-list-hero, .lh-list-content, .lh-cards,
  .lh-property-card, .lh-card-copy, .lh-card-details,
  .lh-card-numbers, .lh-v56-detail, .lh-v56-intro,
  .lh-v56-visual-grid, .lh-v56-metrics {min-width:0; max-width:100%;}
  .lh-cards, .lh-cards.lh-one-column {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    width:100%;
  }
  .lh-card-details {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    justify-content:flex-start !important;
    gap:16px !important;
  }
  .lh-card-details > div:first-child {width:100%;min-width:0;max-width:100%;}
  .lh-card-details h3, .lh-card-details h3 a {
    font-size:clamp(29px,5vw,46px) !important;
    line-height:1.12 !important;
    max-width:100%; overflow-wrap:anywhere;
  }
  .lh-card-numbers {
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    text-align:left !important;
    gap:14px !important;
    width:100%; min-width:0;
  }
  .lh-card-numbers .lh-card-area {
    display:block !important;
    width:100%; max-width:100%;
    font-size:clamp(49px,7.8vw,74px) !important;
    line-height:1.1 !important;
    letter-spacing:-.06em;
    white-space:normal !important;
    overflow-wrap:anywhere;
  }
  .lh-card-numbers .lh-card-area small,
  .lh-card-numbers .lh-card-price small {
    display:block !important;
    font:500 10px/1.5 var(--font-body, sans-serif) !important;
    letter-spacing:.13em;
    white-space:normal;
    margin:0 0 8px !important;
  }
  .lh-card-numbers .lh-card-area span {
    display:inline !important;
    font-size:clamp(14px,2vw,21px) !important;
    white-space:nowrap;
  }
  .lh-card-price {
    max-width:100%; min-width:0;
    border-left:0 !important;
    border-top:1px solid #c9c2b7 !important;
    padding:12px 0 0 !important;
    text-align:left !important;
    white-space:normal;
  }
  .lh-card-price b {font-size:clamp(40px,6vw,65px) !important;overflow-wrap:anywhere;}
  .lh-card-cover, .lh-card-cover img {max-width:100%;}
  .lh-card-copy, .lh-card-bottom, .lh-card-spec {max-width:100%;min-width:0;}
  .lh-card-bottom {flex-wrap:wrap;gap:12px;}
  .lh-card-bottom a {color:var(--burgundy,#692d3b);}
  .lh-list-banner {max-width:100%;}
  .lh-v56-detail .lh-v56-intro,
  .lh-v56-detail .lh-v56-visual-grid,
  .lh-v56-detail .lh-v56-metrics,
  .lh-property-body, .lh-book-section {grid-template-columns:minmax(0,1fr) !important;}
  .lh-v56-detail .lh-v56-big strong {overflow-wrap:anywhere;max-width:100%;}
}
@media screen and (max-width:640px) {
  .lh-list-hero,.lh-list-content {padding-left:5% !important;padding-right:5% !important;}
  .lh-card-cover,.lh-one-column .lh-card-cover {
    height:clamp(220px,70vw,340px) !important;
    aspect-ratio:auto !important;
    min-height:0 !important;
  }
  .lh-card-details h3,.lh-card-details h3 a {
    font-size:clamp(30px,8vw,42px) !important;
  }
  .lh-card-numbers .lh-card-area {font-size:clamp(45px,12.5vw,67px) !important;}
  .lh-card-price b {font-size:clamp(38px,10vw,59px) !important;}
  .lh-v56-detail .lh-v56-big strong {
    font-size:clamp(47px,13vw,75px) !important;
    line-height:1.04 !important;
  }
  .lh-v56-detail .lh-v56-photo {width:100%;height:clamp(250px,72vw,350px) !important;min-height:0 !important;aspect-ratio:auto !important;}
  .lh-v56-detail .lh-v56-plan {min-width:0;}
  .lh-filters {max-width:100%;}
  .lh-filters select {max-width:100%;}
}
@media screen and (max-width:360px) {
  .lh-card-numbers .lh-card-area {font-size:44px !important;}
  .lh-card-details h3,.lh-card-details h3 a {font-size:30px !important;}
}
