/* Property search, listings, property pages and calculators. Colours follow the site theme (--primary, --accent). */
.property-search-panel{padding:1.75rem;border:1px solid color-mix(in srgb,currentColor 18%,transparent);border-top:4px solid var(--primary);background:color-mix(in srgb,var(--accent) 12%,transparent)}
.property-search-panel h2{margin-top:0}
.property-search-introduction,.property-listings-introduction,.calculator-introduction{max-width:70ch;white-space:pre-line}
.property-search-form,.property-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;align-items:end;margin-top:1rem}
.property-search-location,.property-filter-location{grid-column:span 2}
@media(max-width:520px){.property-search-location,.property-filter-location{grid-column:auto}}
.property-filters{margin-bottom:1.5rem}
.property-search-form label,.property-filters label,.calculator-field label{display:block;font-weight:700;margin-bottom:.35rem}
.property-search-form input,.property-search-form select,.property-filters input,.property-filters select,.calculator-input input{width:100%;box-sizing:border-box;min-height:44px;padding:.55rem .7rem;font:inherit;border:1px solid color-mix(in srgb,currentColor 35%,transparent);border-radius:2px;background:#fff;color:#1d1d1d}
/* Text boxes and dropdowns share one height, so labels in a row line up. */
.property-search-form :is(input,select),.property-filters :is(input,select){height:48px;line-height:1.25}
.property-search-form .button,.property-filters .button{min-height:44px;border:0;cursor:pointer;font:inherit;font-weight:700}
.property-results-summary{font-weight:700}
.property-grid{list-style:none;padding:0;margin:1rem 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem}
.property-card article{height:100%;display:flex;flex-direction:column;border:1px solid color-mix(in srgb,currentColor 16%,transparent);background:#fff;color:#1d1d1d}
.property-featured article{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary)}
.property-card-image{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:color-mix(in srgb,var(--primary) 12%,#f4f4f4)}
.property-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
.property-card a:hover img{transform:scale(1.03)}
.property-no-photo{display:grid;place-items:center;height:100%;font-size:.9rem;opacity:.7}
.property-status{position:absolute;left:.75rem;top:.75rem;padding:.25rem .6rem;background:var(--primary);color:#fff;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.property-card-body{padding:1rem 1.1rem 1.25rem}
.property-price{font-size:1.35rem;font-weight:800;color:var(--primary);margin:0 0 .35rem}
.property-card h3{font-size:1.05rem;margin:0 0 .4rem;line-height:1.35}
.property-card h3 a{color:inherit;text-decoration:none}
.property-card h3 a:hover,.property-card h3 a:focus-visible{text-decoration:underline}
.property-meta{font-size:.9rem;opacity:.8;margin:0 0 .5rem}
.property-summary{font-size:.92rem;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.property-pagination{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}
.property-pagination a,.property-pagination span{padding:.45rem .8rem;border:1px solid color-mix(in srgb,currentColor 25%,transparent)}
.property-pagination [aria-current]{background:var(--primary);color:#fff;border-color:var(--primary)}
.property-listings-link{margin-top:1.5rem}
.property-back{margin:0 0 1rem}
.property-heading{display:flex;justify-content:space-between;gap:1.5rem;align-items:flex-start;flex-wrap:wrap}
.property-heading h1{margin:0}
.property-location{margin:.4rem 0 0;opacity:.8}
.property-heading-price{text-align:right}
.property-heading .property-status{position:static;display:inline-block;margin:0}
.property-photos{margin:1.5rem 0}
.property-photo-grid{display:grid;grid-template-columns:2fr 1fr 1fr;grid-auto-rows:minmax(120px,190px);gap:.5rem}
.property-photo-grid figure{margin:0;overflow:hidden}
.property-photo-grid img{width:100%;height:100%;object-fit:cover;display:block}
.property-photo-main{grid-row:span 2}
.property-photo-extra{display:none}
.property-photo-count{font-size:.9rem;margin:.5rem 0 0}
.property-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:2.5rem;margin-top:1rem}
.property-lead{font-size:1.15rem}
.property-features{columns:2;padding-left:1.2rem}
.property-features li{break-inside:avoid;margin-bottom:.35rem}
.property-description{white-space:pre-line;max-width:75ch}
.property-floorplans img{max-width:100%;height:auto;border:1px solid color-mix(in srgb,currentColor 15%,transparent)}
.property-side{align-self:start;position:sticky;top:1rem}
.property-facts{margin:0;border:1px solid color-mix(in srgb,currentColor 16%,transparent)}
.property-facts div{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 1rem;border-top:1px solid color-mix(in srgb,currentColor 12%,transparent)}
.property-facts div:first-child{border-top:0}
.property-facts dt{font-weight:700}
.property-facts dd{margin:0;text-align:right}
.property-brochures{padding-left:1.2rem}
.property-enquire{margin-top:1.25rem;padding:1.25rem;background:color-mix(in srgb,var(--accent) 25%,transparent)}
.property-enquire h2{font-size:1.2rem;margin-top:0}
.calculator-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem;margin-top:1rem}
.calculator-field{margin-bottom:1rem}
.calculator-input{display:flex;align-items:center;gap:.4rem}
.calculator-input span{font-weight:700}
.calculator-help{font-size:.88rem;margin:.3rem 0 0;opacity:.8}
.calculator-form .button{border:0;cursor:pointer;font:inherit;font-weight:700;min-height:44px}
.calculator-results{padding:1.5rem;border-top:4px solid var(--primary);background:color-mix(in srgb,var(--accent) 18%,transparent)}
.calculator-results h3{margin-top:0}
.calculator-results dl{margin:0}
.calculator-results dl div{padding:.7rem 0;border-top:1px solid color-mix(in srgb,currentColor 15%,transparent)}
.calculator-results dt{font-weight:700}
.calculator-results dd{margin:.25rem 0 0}
.calculator-results dd strong{display:block;font-size:1.5rem;color:var(--primary)}
.calculator-results dd span{display:block;font-size:.88rem;opacity:.8}
.calculator-disclaimer{font-size:.85rem;margin-bottom:0}
@media(max-width:800px){
.property-layout,.calculator-layout{grid-template-columns:minmax(0,1fr)}
.property-side{position:static}
.property-photo-grid{grid-template-columns:1fr 1fr;grid-auto-rows:minmax(110px,160px)}
.property-photo-main{grid-column:span 2}
.property-photo-grid figure:nth-child(n+4){display:none}
.property-heading-price{text-align:left}
.property-features{columns:1}
}
/* Material information: grouped facts in two columns on wide screens. */
.property-material{margin-top:2rem}
.property-material-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:1rem 2rem}
.property-material-group h3{font-size:1.05rem;margin:0 0 .5rem}
.property-material-group dl{margin:0}
.property-material-group dl>div{display:grid;grid-template-columns:minmax(7rem,40%) 1fr;gap:.75rem;padding:.45rem 0;border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent)}
.property-material-group dt{font-weight:600}
.property-material-group dd{margin:0;overflow-wrap:anywhere}
.property-bills-badge,.property-student-badge{display:inline-block;padding:.2rem .6rem;border:1px solid currentColor;border-radius:1rem;font-size:.85rem;margin:.2rem .3rem .5rem 0}
.property-search-form .property-filter-check{display:flex;gap:.5rem;align-items:center}
.property-search-form .property-filter-check input{width:1.15rem;height:1.15rem;min-height:0;flex:none}
.property-filter-check{display:flex;gap:.5rem;align-items:center;align-self:end;font-weight:400}
.property-filters .property-bills-badge,.property-student-badge{display:inline-block;padding:.2rem .6rem;border:1px solid currentColor;border-radius:1rem;font-size:.85rem;margin:.2rem .3rem .5rem 0}
.property-search-form .property-filter-check{display:flex;gap:.5rem;align-items:center}
.property-search-form .property-filter-check input{width:1.15rem;height:1.15rem;min-height:0;flex:none}
.property-filter-check{display:flex;font-weight:400}
.property-filters .property-filter-check input[type=checkbox]{width:1.15rem;height:1.15rem;min-height:0;flex:none;margin:0}
.property-filters input[type=date]{width:100%;min-width:0;box-sizing:border-box}
.property-filters small{display:block;line-height:1.4;margin-top:.4rem}
.property-share{margin-top:1.5rem}
.property-share h2{font-size:1rem;margin:0 0 .5rem}
.property-share ul{display:flex;flex-wrap:wrap;gap:.5rem 1rem;list-style:none;margin:0;padding:0}
.property-similar{margin-top:3rem}
.property-office-filter{font-weight:600}
.property-office{margin-top:.75rem}
/* Office Finder */
.office-finder-search{display:flex;flex-wrap:wrap;gap:.5rem;align-items:end;margin:1rem 0 1.5rem}
.office-finder-search>div{flex:1 1 16rem}
.office-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,18rem),1fr));gap:1.25rem;list-style:none;margin:0;padding:0}
.office-card{border:1px solid color-mix(in srgb,currentColor 15%,transparent);border-radius:var(--radius,.5rem);padding:1.25rem;background:var(--surface,#fff);display:flex;flex-direction:column;gap:.5rem}
.office-card h3{margin:0}
.office-card p{margin:0}
.office-card dl{margin:.25rem 0 0}
.office-card dt{font-weight:600;margin-top:.5rem}
.office-card dd{margin:0}
.office-card .office-actions{margin-top:auto;padding-top:.75rem;display:flex;flex-wrap:wrap;gap:.5rem 1rem}
.property-tour-badge{position:absolute;right:.75rem;top:.75rem;padding:.25rem .6rem;background:#fff;color:#111;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;border-radius:3px}.property-tours{margin:2rem 0}.property-tour{margin:0 0 1rem;border:1px solid color-mix(in srgb,currentColor 25%,transparent);border-radius:8px;padding:.75rem 1rem}.property-tour summary{cursor:pointer;font-weight:700}.property-tour-frame{position:relative;margin-top:1rem;aspect-ratio:16/9;background:#111}.property-tour-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.property-tour-note{margin:.5rem 0 0;font-size:.85rem}
.epc-chart{margin:2rem 0;max-width:34rem}.epc-chart figcaption{margin-bottom:.75rem}.epc-chart figcaption span{display:block;font-size:.9rem;margin-top:.25rem}.epc-chart table{width:100%;border-collapse:collapse;table-layout:fixed}.epc-chart thead th{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;text-align:center;padding:.25rem;border-bottom:1px solid color-mix(in srgb,currentColor 25%,transparent)}.epc-chart thead th:first-child{text-align:left;width:60%}.epc-chart tbody th,.epc-chart td{padding:.15rem .25rem;text-align:center;vertical-align:middle}.epc-chart tbody th{text-align:left;font-weight:700}.epc-band{display:flex;justify-content:space-between;align-items:center;min-width:4.5rem;height:1.7rem;padding:0 .5rem;color:#fff;font-size:.8rem;clip-path:polygon(0 0,calc(100% - .6rem) 0,100% 50%,calc(100% - .6rem) 100%,0 100%)}.epc-letter{font-size:1rem;margin-right:.4rem}.epc-marker{display:inline-block;min-width:2.6rem;padding:.2rem .4rem;color:#fff;font-weight:700;font-size:.85rem;clip-path:polygon(.6rem 0,100% 0,100% 100%,.6rem 100%,0 50%)}.epc-row-a .epc-band,.epc-marker-a{background:#008054}.epc-row-b .epc-band,.epc-marker-b{background:#19b459}.epc-row-c .epc-band,.epc-marker-c{background:#8dce46;color:#111}.epc-row-d .epc-band,.epc-marker-d{background:#ffd500;color:#111}.epc-row-e .epc-band,.epc-marker-e{background:#fcaa65;color:#111}.epc-row-f .epc-band,.epc-marker-f{background:#ef8023;color:#111}.epc-row-g .epc-band,.epc-marker-g{background:#e9153b}.epc-chart .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.property-status.property-badge-new,.property-badge-new{background:#0b6b3a;color:#fff}.property-status.property-badge-reduced,.property-badge-reduced{background:#b3261e;color:#fff}.property-badge{display:inline-block;margin:0 0 .35rem;padding:.2rem .6rem;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}.property-previous-price{margin:.15rem 0 0;font-size:.9rem;text-decoration:none}

/* Rooms (dimensions and descriptions) on the property page */
.property-rooms{margin-top:2rem}
.property-room-list{margin:0}
.property-room-list>div{padding:.6rem 0;border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent)}
.property-room-list dt{font-weight:700;display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem 1rem}
.property-room-size{font-weight:400;font-variant-numeric:tabular-nums}
.property-room-list dd{margin:.25rem 0 0}
/* Price-filled mortgage and stamp duty calculators, and rent affordability */
.property-costs{margin-top:2rem}
.property-calculator{margin-top:1.25rem}
.property-calculator h3{margin:0}
.property-calculator .calculator-layout{grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:1.25rem;margin-top:.75rem}
.property-calculator .calculator-results h4{margin:0 0 .25rem}
.property-afford-list{margin:0;padding:1.25rem 1.5rem;border-top:4px solid var(--primary);background:color-mix(in srgb,var(--accent) 18%,transparent)}
.property-afford-list>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.25rem 1rem;padding:.5rem 0;border-bottom:1px solid color-mix(in srgb,currentColor 14%,transparent)}
.property-afford-list>div:last-child{border-bottom:0}
.property-afford-list dt{font-weight:600}
.property-afford-list dd{margin:0}

/* Recently Viewed properties (shown by /js/recently-viewed.js once the visitor has viewed a property) */
.recently-viewed-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 1rem}
.recently-viewed-heading h2{margin-bottom:0}
.recently-viewed-clear{background:none;border:0;padding:.5rem 0;min-height:44px;font:inherit;font-size:.9rem;color:inherit;text-decoration:underline;cursor:pointer}
.recently-viewed-grid{margin-top:1rem}
.recently-viewed-note{margin:.75rem 0 0}
