/* Shared catalogue navigation and sold-property views. */
@media(min-width:1101px){
  html body .site-header.revision-header #navigation{gap:clamp(13px,1.4vw,24px)}
  html body .site-header.revision-header #navigation>a{font-size:13px;white-space:nowrap}
  html body .site-header.revision-header #navigation>a.nav-contact{padding:12px 16px;gap:18px}
  html body .site-header.revision-header .header-inner{gap:24px}
}
.sold-toolbar{display:flex;justify-content:space-between;gap:24px;align-items:center;border-top:1px solid #d9d6d0;padding:22px 0 30px;font-size:14px;color:#56606c}
.sold-toolbar p{margin:0}.sold-toolbar span{text-align:right}
/* Inherit the same alternating photo / details rows as Active Listings. */
html body .sold-grid .sold-card{position:relative}
html body .sold-grid .sold-card .sold-meta{font-size:13px!important;color:#67717b;margin:12px 0 0}
@media(min-width:761px){.sold-card:nth-child(even) .sold-badge{left:auto;right:18px}}
.sold-badge{position:absolute;top:18px;left:18px;background:#0b1628;color:#fff;padding:9px 15px;font-size:12px;font-weight:600;letter-spacing:.12em}
.catalogue-note{font-size:13px;line-height:1.8;color:#646d77;margin:30px 0 55px}.catalogue-note a{text-decoration:underline;text-underline-offset:4px}
.sold-detail{padding:160px 0 60px}.sold-detail>.line-link{margin-bottom:32px;display:inline-block}
.sold-detail-heading{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:32px}
.sold-detail-heading h1{font-size:clamp(30px,3.4vw,52px);line-height:1.25;margin:10px 0 14px}
.sold-detail-heading>div:last-child{text-align:right;flex-shrink:0}.sold-detail-heading strong{font-size:32px;color:#0b1628}
.sold-detail-heading p{font-size:14px;color:#626c76}.sold-detail-image{display:block;width:100%;max-height:750px;object-fit:contain;background:#eee;height:auto}
.sold-detail-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;border-bottom:1px solid #d9d6d0;padding:28px 0;margin:0}
.sold-detail-facts dt{font-size:12px;color:#65717d}.sold-detail-facts dd{margin:10px 0 0;font-size:16px}
@media(max-width:760px){.sold-toolbar{font-size:12px}.sold-detail{padding-top:125px}.sold-detail-heading{display:block}.sold-detail-heading>div:last-child{text-align:left;margin-top:24px}.sold-detail-facts{grid-template-columns:1fr 1fr}.sold-badge{top:12px;left:12px}.sold-detail-heading strong{font-size:28px}}
@media(min-width:1101px) and (max-width:1250px){
 html body .site-header.revision-header #navigation{gap:12px}
 html body .site-header.revision-header #navigation>a{font-size:12.5px}
 html body .site-header.revision-header #navigation>a.nav-contact{padding:10px 12px}
 html body .site-header.revision-header .header-inner{gap:16px}
}
/* Sold cards use the same photo/detail layout, with a ribbon on each photo. */
html body .sold-grid .sold-card>.sold-card-media{position:relative;margin:0;overflow:hidden;min-height:390px;grid-column:1;grid-row:1}
html body .sold-grid .sold-card>.sold-card-media>img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:4/3}
html body .sold-grid .sold-card:nth-child(even)>.sold-card-media{grid-column:2}


.page-sold-detail .sold-property-intro .line-link{margin:0 0 26px}
.page-sold-detail .sold-property-intro h1{font-size:clamp(32px,4vw,60px);line-height:1.2}
.sold-photo-open{display:block;width:100%;height:100%;min-height:0;padding:0;border:0;background:transparent;cursor:zoom-in;overflow:hidden}
.sold-photo-open>img{display:block;width:100%;height:100%;object-fit:cover}
.sold-property-hero>figure{isolation:isolate}
.page-sold-detail .property-story{padding-block:65px}
.page-sold-detail .property-specs{margin-top:28px}
.page-sold-detail .property-specs dd{overflow-wrap:anywhere}
.sold-gallery-all{margin:0 0 30px}
.page-sold-detail .gallery-grid>figure[hidden]{display:none!important}
@media(max-width:760px){html body .sold-grid .sold-card>.sold-card-media{min-height:0;aspect-ratio:4/3}.page-sold-detail .property-facts{grid-template-columns:1fr 1fr}.sold-property-hero .sold-photo-open{aspect-ratio:4/3}.page-sold-detail .property-story{padding-block:45px}}
/* Keep the full lead photograph, including the original listing attribution. */
.sold-property-hero>figure{background:#f1f0ed}
.sold-property-hero>figure .sold-photo-open>img{object-fit:contain}
.page-sold-detail .photo-dialog{background:#0b1628;color:#fff}
.page-sold-detail .photo-dialog::backdrop{background:rgba(11,22,40,.88)}
.page-sold-detail .photo-dialog button{background:#0b1628;color:#fff;border-color:#ffffff66}

/* Match the approved For Lease ribbon exactly, including on mobile. */
.sold-ribbon,.listing-card-media>.lease-ribbon{position:absolute;z-index:2;top:60.9px;left:-102.9px;width:386.4px;height:67.2px;display:flex;align-items:center;justify-content:center;transform:rotate(-45deg);background:#C52B32;color:#fff;font-size:25.2px;font-weight:700;letter-spacing:.075em;line-height:1;box-shadow:0 2px 5px #24000022;pointer-events:none}
.sold-ribbon-label{display:block;text-align:center;line-height:1.1}

/* Keep every lease ribbon on its photograph, including alternating rows. */
html body .property-grid .property-card>.listing-card-media{position:relative;margin:0;overflow:hidden;min-height:390px;grid-column:1;grid-row:1}
html body .property-grid .property-card>.listing-card-media>img{width:100%;height:100%;object-fit:cover;display:block;aspect-ratio:4/3}
html body .property-grid .property-card:nth-child(even)>.listing-card-media{grid-column:2}
html body .property-grid .property-card:nth-child(even) .listing-card-media>.lease-ribbon{left:-102.9px;right:auto;transform:rotate(-45deg)}
@media(max-width:760px){html body .property-grid .property-card>.listing-card-media{min-height:0;aspect-ratio:4/3}}

/* Compact Sold Homes catalogue: three properties per desktop row. */
html body.page-sold .page-intro{padding-block:52px 36px}
html body.page-sold .page-intro h1{font-size:clamp(42px,4.2vw,64px)}
html body.page-sold .page-intro .page-lead{font-size:16px;max-width:760px;margin-top:20px;line-height:1.75}
html body.page-sold .sold-toolbar{padding:20px 0 24px}
html body.page-sold .sold-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px;align-items:stretch}
html body.page-sold .sold-grid .sold-card,
html body.page-sold .sold-grid .sold-card:nth-child(even){display:flex;flex-direction:column;min-width:0;gap:0;background:#fff;border:1px solid #e1e0dc;overflow:hidden;transition:border-color .2s ease}
html body.page-sold .sold-grid .sold-card:hover{border-color:#b49a65}
html body.page-sold .sold-grid .sold-card>.sold-card-media,
html body.page-sold .sold-grid .sold-card:nth-child(even)>.sold-card-media{min-height:0;aspect-ratio:4/3;width:100%;grid-column:auto;grid-row:auto;flex:none;container-type:inline-size}
html body.page-sold .sold-grid .sold-card>.sold-card-media>img{height:100%;aspect-ratio:4/3;object-fit:cover}
html body.page-sold .sold-grid .sold-card>div,
html body.page-sold .sold-grid .sold-card:nth-child(even)>div{padding:22px 22px 24px;border:0;grid-column:auto;grid-row:auto;display:flex;flex:1;flex-direction:column;justify-content:flex-start;align-items:flex-start}
html body.page-sold .sold-grid .sold-card .eyebrow{font-size:10px;letter-spacing:.14em;margin:0 0 9px}
html body.page-sold .sold-grid .sold-card h3{font-size:clamp(19px,1.65vw,25px);line-height:1.3;font-weight:500;letter-spacing:-.025em;margin:0 0 9px}
html body.page-sold .sold-grid .sold-card>div>p:not(.eyebrow){font-size:12px;line-height:1.7;margin:0 0 12px;color:#66707d}
html body.page-sold .sold-grid .sold-card strong{font-size:23px;font-weight:500;line-height:1.3;margin-top:auto;padding-top:12px;color:#0b1628}
html body.page-sold .sold-grid .sold-card strong small{font-size:10px;font-weight:400;display:inline-block;margin-left:5px;color:#66707d}
html body.page-sold .sold-grid .sold-card .line-link{font-size:11px;margin-top:17px}
html body.page-sold .sold-grid .sold-ribbon{top:9.13cqw;left:-15.44cqw;width:58cqw;height:10.08cqw;font-size:3.78cqw}
@media(max-width:1050px){html body.page-sold .sold-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html body.page-sold .sold-grid{grid-template-columns:1fr;gap:26px}html body.page-sold .page-intro{padding-block:36px 28px}html body.page-sold .sold-grid .sold-card h3{font-size:24px}html body.page-sold .sold-grid .sold-card>div{padding:20px}html body.page-sold .sold-toolbar{gap:12px;font-size:11px}}
/* Override legacy large-row type rules within the compact cards only. */
html body.page-sold .sold-grid .sold-card .eyebrow{font-size:10px!important;line-height:1.5!important}
html body.page-sold .sold-grid .sold-card h3{font-size:clamp(20px,1.65vw,25px)!important;line-height:1.3!important}
html body.page-sold .sold-grid .sold-card>div>p:not(.eyebrow){font-size:12px!important;line-height:1.7!important}
html body.page-sold .sold-grid .sold-card strong{margin-bottom:0}
html body.page-sold .sold-grid .sold-card .line-link{font-size:11px!important;min-height:0;line-height:1.6;padding:0}
