*{box-sizing:border-box}html{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1f2937;background:#fff}body{margin:0}.container{width:min(1180px,calc(100% - 32px));margin:0 auto}.site-header{border-bottom:1px solid #e5e7eb;background:#fff;position:sticky;top:0;z-index:500}.header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.site-logo{display:flex;align-items:center;justify-content:center;background:var(--logo-bg);min-width:180px;min-height:58px;padding:0;text-decoration:none;color:#111827;font-weight:800;font-size:1.2rem}.site-logo img{display:block;width:auto;height:auto;max-width:260px;max-height:72px;object-fit:contain}.site-logo-fallback{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.is-hidden{display:none!important}.main-nav{display:flex;gap:24px}.main-nav a{color:#374151;text-decoration:none;font-weight:650}.main-nav a:hover{color:var(--button-bg)}.hero{padding:70px 0 38px;background:#f8fafc}.hero h1{font-size:clamp(2rem,5vw,4.1rem);line-height:1.02;margin:0 0 16px;max-width:760px}.hero p{font-size:1.12rem;color:#64748b;max-width:700px}.search-shell{margin-top:-5px;padding:28px 0 48px}.property-search-form{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:22px;box-shadow:0 14px 36px rgba(15,23,42,.08)}.search-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.property-search-form label{display:flex;flex-direction:column;gap:7px;font-size:.83rem;font-weight:700;color:#475569}.property-search-form input,.property-search-form select{width:100%;min-height:44px;padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#111827;font:inherit}.property-search-form input:focus,.property-search-form select:focus{outline:2px solid color-mix(in srgb,var(--button-bg) 30%,transparent);border-color:var(--button-bg)}.search-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:18px}.btn{display:inline-flex;align-items:center;justify-content:center;background:var(--button-bg);color:var(--button-txt);border:0;border-radius:9px;padding:12px 19px;font-weight:750;text-decoration:none;cursor:pointer}.btn:hover{filter:brightness(.92)}.map-switch{flex-direction:row!important;align-items:center;gap:8px!important}.map-switch input{width:18px!important;min-height:18px!important}.results-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:35px 0 20px}.results-heading h1{margin:0}.property-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-bottom:50px}.property-card{border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 6px 20px rgba(15,23,42,.05)}.property-card-image{aspect-ratio:16/10;background:#e2e8f0;overflow:hidden;display:block}.property-card-image img{width:100%;height:100%;object-fit:cover}.property-card-body{padding:17px}.property-card h2{font-size:1.18rem;margin:0 0 6px}.property-card h2 a{text-decoration:none;color:#111827}.location-line{color:#64748b;margin-bottom:13px}.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:.9rem}.fact{background:#f8fafc;border-radius:8px;padding:8px}.fact strong{display:block;color:#0f172a}.no-image{height:100%;display:grid;place-items:center;color:#64748b;font-weight:700}.map-wrap{padding-bottom:50px}.map-canvas{height:640px;border-radius:16px;border:1px solid #e5e7eb;overflow:hidden}.property-page{padding:36px 0 60px}.property-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:24px}.property-head h1{margin:0 0 5px;font-size:clamp(1.8rem,4vw,3rem)}.property-gallery{display:grid;gap:12px}.gallery-main{aspect-ratio:16/9;background:#e2e8f0;border-radius:16px;overflow:hidden}.gallery-main img{width:100%;height:100%;object-fit:cover}.gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:2px 0 8px}.gallery-thumb{flex:0 0 130px;height:86px;padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#e5e7eb;cursor:pointer}.gallery-thumb.is-active{border-color:var(--button-bg)}.gallery-thumb img{width:100%;height:100%;object-fit:cover}.property-content{display:grid;grid-template-columns:1fr 360px;gap:32px;margin-top:32px}.features-card,.details-card{border:1px solid #e5e7eb;border-radius:14px;padding:20px}.features-table{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.feature-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #eef2f7;padding:10px 0}.feature-row dt{font-weight:650;color:#475569}.feature-row dd{margin:0;text-align:right;word-break:break-word}.site-footer{background:var(--contact-bg);color:var(--contact-txt);padding:42px 0}.site-footer a{color:inherit}.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.site-footer h2,.site-footer h3{margin-top:0}.contact-icon{color:var(--contact-icon);font-weight:900}.pagination{display:flex;gap:8px;justify-content:center;padding:0 0 50px}.pagination a,.pagination span{padding:9px 12px;border:1px solid #dbe1e8;border-radius:8px;text-decoration:none;color:#334155}.pagination .current{background:var(--button-bg);color:var(--button-txt);border-color:var(--button-bg)}@media(max-width:980px){.search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.property-content{grid-template-columns:1fr}.features-table{grid-template-columns:1fr}}@media(max-width:640px){.site-header{position:sticky}.header-inner{align-items:stretch;flex-direction:column;padding:12px 0;gap:10px}.site-logo{width:100%;min-width:0;min-height:56px}.site-logo img{max-width:min(240px,100%);max-height:64px}.main-nav{width:100%;padding-bottom:4px;gap:8px}.main-nav a{flex:1;text-align:center;padding:10px 8px;border:1px solid #e5e7eb;border-radius:8px}.search-grid,.property-grid,.footer-grid{grid-template-columns:1fr}.search-actions,.property-head{align-items:flex-start;flex-direction:column}.container{width:min(100% - 22px,1180px)}.gallery-thumb{flex-basis:105px;height:70px}}

@media(max-width:420px){.hero{padding:38px 0 24px}.hero h1{font-size:2rem}.property-search-form{padding:14px;border-radius:12px}.map-canvas{height:430px}.property-page{padding-top:22px}.facts{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Hero image */
.hero{position:relative;overflow:hidden;min-height:360px;display:flex;align-items:center;background:#334155;color:#fff;padding:72px 0}
.hero-background-image{position:absolute;inset:-12px;width:calc(100% + 24px);height:calc(100% + 24px);object-fit:cover;filter:blur(6px);transform:scale(1.025);z-index:0}
.hero-overlay{position:absolute;inset:0;background:rgba(15,23,42,.46);z-index:1}
.hero-content{position:relative;z-index:2}
.hero h1{color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.25)}
.hero p{color:#f8fafc;text-shadow:0 1px 10px rgba(0,0,0,.3)}

/* Header contact/profile */
.header-contact{display:flex;align-items:center;gap:11px;margin-left:auto}
.header-contact-details{display:flex;flex-direction:column;gap:10px;min-width:0}
.header-contact-details a{display:flex;align-items:center;gap:7px;color:#475569;text-decoration:none;font-size:.9rem;line-height:1.2;min-width:0}
.header-contact-details a:hover{color:var(--button-bg)}
.header-contact-details a span:last-child{overflow-wrap:anywhere}
.profile-image{display:block;object-fit:cover;border-radius:50%;flex:0 0 auto;background:#e5e7eb}
.profile-image-header{width:54px;height:54px}
.profile-image-footer{width:78px;height:78px;border:2px solid color-mix(in srgb,var(--contact-txt) 22%,transparent)}
.footer-brand{display:flex;align-items:flex-start;gap:18px}
.footer-brand h2{margin-bottom:7px}
.footer-brand p{margin:0}

/* Clickable Leaflet development popup */
.map-popup-link{display:block;color:#1f2937;text-decoration:none;line-height:1.45;min-width:130px}
.map-popup-link:hover{color:var(--button-bg);text-decoration:none}
.leaflet-popup-content{margin:12px 16px}

@media(max-width:1040px){
  .header-inner{flex-wrap:wrap;gap:14px 18px;padding:10px 0}
  .header-contact{order:2}
  .main-nav{order:3;width:100%;justify-content:flex-end;border-top:1px solid #eef2f7;padding-top:9px}
}
@media(max-width:640px){
  .hero{min-height:300px;padding:52px 0}
  .header-contact{width:100%;margin-left:0;justify-content:center}
  .header-contact-details{max-width:calc(100% - 70px)}
  .header-contact-details a{font-size:.86rem}
  .profile-image-header{width:50px;height:50px}
  .main-nav{justify-content:stretch}
  .footer-brand{align-items:center}
}
@media(max-width:420px){
  .hero{min-height:270px;padding:42px 0}
  .footer-brand{align-items:flex-start}
  .profile-image-footer{width:64px;height:64px}
}

/* Multi-select town/city and radius search */
.search-field{display:flex;flex-direction:column;gap:7px}.search-field-label{font-size:.83rem;font-weight:700;color:#475569}.city-multiselect{position:relative}.city-multiselect summary{list-style:none;min-height:44px;padding:11px 38px 10px 12px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#111827;font-size:.83rem;font-weight:400;cursor:pointer;position:relative}.city-multiselect summary::-webkit-details-marker{display:none}.city-multiselect summary:after{content:'▾';position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#64748b}.city-multiselect[open] summary{border-color:var(--button-bg);outline:2px solid color-mix(in srgb,var(--button-bg) 20%,transparent)}.city-checkbox-list{position:absolute;z-index:800;left:0;right:0;top:calc(100% + 5px);max-height:280px;overflow:auto;background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 14px 30px rgba(15,23,42,.14);padding:7px}.city-checkbox-option{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important;padding:8px 9px;border-radius:7px;cursor:pointer;font-size:.88rem!important;font-weight:500!important}.city-checkbox-option:hover{background:#f8fafc}.city-checkbox-option input{width:17px!important;height:17px!important;min-height:17px!important;margin:0;flex:0 0 auto}.radius-field #radiusValue{font-weight:600;color:var(--button-bg)}.property-search-form input[type="range"]{padding:0;border:0;min-height:24px;accent-color:var(--button-bg)}.property-search-form input[type="range"]:disabled{opacity:.4;cursor:not-allowed}.field-hint{font-size:.72rem;font-weight:500;color:#94a3b8}.search-action-buttons{display:flex;gap:10px;flex-wrap:wrap}.btn-reset{background:#fff;color:#475569;border:1px solid #cbd5e1}.btn-reset:hover{background:#f8fafc;filter:none}.distance-line{margin:-4px 0 13px;font-size:.84rem;font-weight:700;color:var(--button-bg)}
@media(max-width:640px){.city-checkbox-list{position:static;margin-top:5px;box-shadow:none}.search-action-buttons{width:100%}.search-action-buttons .btn{flex:1}.radius-field{padding-bottom:4px}}


/* v11 search/result refinements */
.results-heading{padding:30px 0 18px}
.results-count{font-size:clamp(1.25rem,2vw,1.65rem);font-weight:800;color:#0f172a}
.property-price{margin:-5px 0 13px;font-size:1.3rem;font-weight:800;color:var(--button-bg)}

/* Home-page header image: blurred until scroll, then solid sticky header */
.site-header-home{position:sticky;top:0;overflow:hidden;background:transparent;border-bottom-color:rgba(255,255,255,.3);transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}
.site-header-home .header-inner{position:relative;z-index:3}
.header-background-image{position:absolute;z-index:0;inset:-14px;width:calc(100% + 28px);height:calc(100% + 28px);object-fit:cover;filter:blur(6px);transform:scale(1.08);transition:opacity .2s ease}
.header-background-overlay{position:absolute;z-index:1;inset:0;background:rgba(15,23,42,.38);transition:opacity .2s ease}
.site-header-home .site-logo{background:color-mix(in srgb,var(--logo-bg) 88%,transparent);backdrop-filter:blur(2px)}
.site-header-home .header-contact-details a{color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.45)}
.site-header-home.is-scrolled{background:#fff;border-bottom-color:#e5e7eb;box-shadow:0 4px 16px rgba(15,23,42,.08)}
.site-header-home.is-scrolled .header-background-image,.site-header-home.is-scrolled .header-background-overlay{opacity:0;pointer-events:none}
.site-header-home.is-scrolled .header-contact-details a{color:#475569;text-shadow:none}
.home-page .search-shell{margin-top:0;padding-top:28px}
@media(max-width:640px){
  .site-header-home{position:sticky}
  .site-header-home .header-contact{position:relative;z-index:3}
}


/* Advanced search */
.advanced-search{margin-top:18px;border-top:1px solid #e5e7eb;padding-top:14px}
.advanced-search>summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:.9rem;font-weight:800;color:var(--button-bg);list-style:none;user-select:none}
.advanced-search>summary::-webkit-details-marker{display:none}
.advanced-search>summary:after{content:'+';font-size:1.15rem;line-height:1}
.advanced-search[open]>summary:after{content:'−'}
.advanced-search-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:14px}

/* Taller home masthead only. Other page headers keep their normal height. */
.site-header-home{min-height:220px;align-items:flex-start;transition:min-height .22s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease}
.site-header-home .header-inner{min-height:96px;align-items:center}
.site-header-home.is-scrolled{min-height:84px}
.home-page .home-search-shell{padding-top:34px}
.latest-properties-section{padding:8px 0 12px}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.section-heading h2{font-size:clamp(1.45rem,2.5vw,2rem);margin:0;color:#0f172a}

@media(max-width:980px){.advanced-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .advanced-search-grid{grid-template-columns:1fr}
  .site-header-home{min-height:190px}
  .site-header-home.is-scrolled{min-height:auto}
  .home-page .home-search-shell{padding-top:24px}
}

/* v13 multilingual property descriptions */
.description-card{margin-top:32px;border:1px solid #e5e7eb;border-radius:14px;padding:20px;background:#fff}
.description-card>h2{margin:0 0 16px;color:#0f172a}
.language-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #e5e7eb;padding-bottom:12px;margin-bottom:18px}
.language-tab{appearance:none;border:1px solid #dbe1e8;background:#fff;color:#475569;border-radius:8px;padding:7px 9px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;font:inherit;font-size:.78rem;font-weight:800;line-height:1}
.language-tab img{width:30px;height:20px;object-fit:cover;display:block;border-radius:2px;box-shadow:0 0 0 1px rgba(15,23,42,.08)}
.language-tab:hover{border-color:var(--button-bg);color:var(--button-bg)}
.language-tab.is-active{background:var(--button-bg);color:var(--button-txt);border-color:var(--button-bg)}
.description-panel[hidden]{display:none!important}
.description-panel h3{margin:0 0 14px;color:#0f172a}
.property-description-copy{font-size:1rem;line-height:1.72;color:#334155}
.property-description-copy>:first-child{margin-top:0}.property-description-copy>:last-child{margin-bottom:0}
.description-empty{margin:0;padding:16px;border-radius:10px;background:#f8fafc;color:#64748b;font-style:italic}
.language-selector-wrap{margin-top:20px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.language-selector-wrap label{font-weight:800}
.language-selector-wrap select{min-width:155px;padding:9px 34px 9px 10px;border:1px solid color-mix(in srgb,var(--contact-txt) 25%,transparent);border-radius:8px;background:var(--contact-bg);color:var(--contact-txt)}
@media(max-width:640px){.language-tabs{gap:6px}.language-tab{padding:6px}.language-tab span{font-size:.7rem}.description-card{padding:14px}.language-selector-wrap{align-items:flex-start;flex-direction:column}.language-selector-wrap select{width:100%}}


/* v14 sticky language selector, contact card and property map */
.language-widget{position:fixed;right:18px;bottom:18px;z-index:1100;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.language-widget-button{border:0;border-radius:999px;background:var(--button-bg);color:var(--button-txt);font:inherit;font-weight:800;padding:11px 15px;box-shadow:0 10px 28px rgba(15,23,42,.22);cursor:pointer}
.language-widget-panel{min-width:210px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px;box-shadow:0 16px 36px rgba(15,23,42,.2)}
.language-widget-panel label{display:block;font-size:.78rem;font-weight:800;color:#475569;margin-bottom:6px}
.language-widget-panel select{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;background:#fff;color:#111827}
.pagination-gap{border:0!important;padding-left:4px!important;padding-right:4px!important}
.profile-image-details{width:84px;height:84px;border-radius:50%;object-fit:cover;display:block;margin:0 0 16px;border:2px solid #e2e8f0}
.details-card a{color:var(--contact-txt);word-break:break-word;text-decoration: none;}.map-open-button{margin-top:8px;width:100%}
.property-map-modal[hidden]{display:none!important}.property-map-modal{position:fixed;inset:0;z-index:1400;background:rgba(15,23,42,.68);display:grid;place-items:center;padding:18px}
.property-map-dialog{position:relative;width:min(920px,96vw);height:min(680px,82vh);background:#fff;border-radius:16px;padding:14px;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.property-map-close{position:absolute;right:20px;top:20px;z-index:1001;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#111827;font-size:1.65rem;line-height:1;box-shadow:0 3px 12px rgba(15,23,42,.22);cursor:pointer}
.property-location-map{width:100%;height:100%;border-radius:11px;overflow:hidden}.map-modal-open{overflow:hidden}
@media(max-width:640px){.language-widget{right:10px;bottom:10px}.property-map-dialog{width:100%;height:78vh;padding:10px}.profile-image-details{width:72px;height:72px}}

/* v15 property detail layout */
.property-info-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:start;margin-top:32px}
.property-info-main{min-width:0;display:grid;gap:32px}
.property-info-layout .description-card{margin-top:0}
.property-info-layout .features-card{margin:0}
.property-info-layout>.details-card{position:sticky;top:110px;align-self:start}
@media(max-width:980px){
  .property-info-layout{grid-template-columns:1fr}
  .property-info-layout>.details-card{position:static;order:2}
  .property-info-main{order:1}
}

/* v18 featured homepage properties + flush logo */
.property-card-image{position:relative}
.property-featured-badge{position:absolute;top:12px;left:12px;z-index:2;background:var(--button-bg);color:var(--button-txt);padding:7px 11px;border-radius:999px;font-size:.78rem;font-weight:800;line-height:1;box-shadow:0 3px 10px rgba(15,23,42,.18)}
.site-logo{padding:0}

.property-map-actions{position:absolute;left:24px;bottom:24px;z-index:1001}.property-map-actions .btn{box-shadow:0 3px 12px rgba(15,23,42,.22)}

.property-card-type{font-weight:700;margin-top:.25rem;margin-bottom:.65rem;}


/* v26 unavailable website screen */
.website-unavailable-page{margin:0;min-height:100vh;background:#f6f7f9;color:#172033;font-family:Arial,Helvetica,sans-serif}
.website-unavailable-main{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.website-unavailable-card{width:min(100%,560px);box-sizing:border-box;background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:44px 36px;text-align:center;box-shadow:0 20px 55px rgba(15,23,42,.10)}
.website-unavailable-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;margin:0 auto 24px;border-radius:50%;background:#F30634;color:#fff;font-size:34px;font-weight:800;line-height:1}
.website-unavailable-card h1{margin:0 0 16px;font-size:clamp(1.75rem,5vw,2.35rem);line-height:1.15;color:#111827}
.website-unavailable-card p{margin:8px 0;color:#5b6473;font-size:1rem;line-height:1.6}
@media (max-width:480px){.website-unavailable-main{padding:18px}.website-unavailable-card{padding:34px 22px;border-radius:16px}}

/* Search result sorting */
.results-sort-form{margin:0}.results-sort-form label{display:flex;align-items:center;gap:10px;font-size:.88rem;font-weight:700;color:#475569}.results-sort-form select{min-height:42px;padding:8px 34px 8px 11px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#111827;font:inherit;cursor:pointer}.results-sort-form select:focus{outline:2px solid color-mix(in srgb,var(--button-bg) 30%,transparent);border-color:var(--button-bg)}
@media(max-width:640px){.results-heading{align-items:stretch;flex-direction:column}.results-sort-form label{align-items:stretch;flex-direction:column;gap:6px}.results-sort-form select{width:100%}}

/* v29 slightly larger header branding/contact */
@media (min-width:641px){
  .header-inner{min-height:94px}
  .site-logo{min-width:200px;min-height:66px}
  .site-logo img{max-width:290px;max-height:80px}
  .header-contact{gap:13px}
  .header-contact-details{gap:6px}
  .header-contact-details a{font-size:1rem;gap:8px}
  .profile-image-header{width:60px;height:60px}
  .site-header-home .header-inner{min-height:106px}
  .site-header-home.is-scrolled{min-height:94px}
}
@media (max-width:640px){
  .site-logo{min-height:62px}
  .site-logo img{max-width:min(260px,100%);max-height:70px}
  .header-contact-details a{font-size:.94rem}
  .profile-image-header{width:54px;height:54px}
}

/* v30 header logo/contact sizing and taller home masthead */
/* Let the logo keep its natural aspect ratio without forcing background space
   to the left/right of narrower logo artwork. */
.site-logo{
  min-width:0;
  width:auto;
}

/* Home blurred masthead image approximately 15% taller. */
.site-header-home{min-height:253px}

@media (min-width:641px){
  .header-inner{min-height:112px}

  .site-logo{
    min-width:0;
    min-height:0;
    max-width:320px;
  }
  .site-logo img{
    width:auto;
    height:auto;
    max-width:320px;
    max-height:96px;
  }

  .header-contact{gap:18px}
  .header-contact-details{gap:8px}
  .header-contact-details a{
    font-size:1.5rem;
    gap:10px;
  }
  .profile-image-header{
    width:90px;
    height:90px;
  }

  .site-header-home .header-inner{min-height:120px}
  .site-header-home.is-scrolled{min-height:112px}
}

@media (max-width:640px){
  .site-header-home{min-height:219px}
  .site-header-home.is-scrolled{min-height:auto}

  .site-logo{
    width:100%;
    min-width:0;
    min-height:0;
  }
  .site-logo img{
    width:auto;
    height:auto;
    max-width:min(280px,100%);
    max-height:82px;
  }

  .header-contact{gap:14px}
  .header-contact-details{max-width:calc(100% - 95px)}
  .header-contact-details a{
    font-size:1.12rem;
    gap:8px;
  }
  .profile-image-header{
    width:75px;
    height:75px;
  }
}

@media (max-width:420px){
  .site-logo img{
    max-width:min(250px,100%);
    max-height:76px;
  }
  .header-contact-details{
    max-width:calc(100% - 84px);
  }
  .header-contact-details a{
    font-size:1rem;
  }
  .profile-image-header{
    width:68px;
    height:68px;
  }
}


/* v31 footer logo + mobile scroll logo behaviour */
.footer-brand-images{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.footer-logo{display:block;width:auto;height:auto;max-width:190px;max-height:82px;object-fit:contain}

@media (min-width:641px){
  .site-logo img{max-height:120px}
  .header-contact-details a{font-size:1.3rem}
}

@media (max-width:640px){
  .site-header.is-scrolled .site-logo{display:none}
  .site-header.is-scrolled .header-inner{padding-top:8px;padding-bottom:8px}
  .footer-logo{max-width:min(180px,100%);max-height:72px}
}

@media (max-width:420px){
  .footer-brand-images{gap:12px}
  .footer-logo{max-width:min(150px,100%);max-height:64px}
}

/* v32 mobile logo sizing + smooth compact header transition */
@media (max-width:640px){
  /* Size the coloured/background container to the logo itself rather than
     stretching it across the full mobile header width. */
  .site-logo{
    width:fit-content;
    max-width:100%;
    min-width:0;
    min-height:0;
    max-height:90px;
    margin-left:auto;
    margin-right:auto;
    overflow:hidden;
    opacity:1;
    transform:translateY(0) scale(1);
    transform-origin:top center;
    transition:max-height .28s ease,opacity .2s ease,transform .28s ease,margin .28s ease;
  }

  .site-logo img{
    display:block;
    width:auto;
    height:auto;
    max-width:min(280px,calc(100vw - 32px));
    max-height:82px;
  }

  .header-inner{
    transition:padding .28s ease,gap .28s ease,min-height .28s ease;
  }

  .site-header-home{
    min-height:219px;
    transition:min-height .28s ease,background-color .2s ease,border-color .2s ease,box-shadow .2s ease;
  }

  /* Collapse rather than display:none so the change is animated. */
  .site-header.is-scrolled .site-logo{
    display:flex;
    max-height:0;
    margin-top:0;
    margin-bottom:0;
    opacity:0;
    transform:translateY(-10px) scale(.96);
    pointer-events:none;
  }

  .site-header.is-scrolled .header-inner{
    padding-top:8px;
    padding-bottom:8px;
    gap:0;
  }

  .site-header-home.is-scrolled{
    min-height:96px;
  }
}

@media (max-width:420px){
  .site-logo img{
    max-width:min(250px,calc(100vw - 28px));
    max-height:76px;
  }
}

/* v33 footer layout: brand name below logo; profile image with contact details */
.footer-brand{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
}
.footer-brand-images{
  display:flex;
  align-items:center;
  width:100%;
}
.footer-brand-name{
  width:100%;
}
.footer-brand-name h2{
  margin:0;
}
.contact-block{
  display:flex;
  align-items:flex-start;
  gap:18px;
  min-width:0;
}
.footer-contact-details{
  min-width:0;
}
.footer-contact-details h3{
  margin-top:0;
}
.footer-contact-details p{
  overflow-wrap:anywhere;
}

@media (max-width:640px){
  .footer-brand{
    align-items:center;
    text-align:center;
  }
  .footer-brand-images{
    justify-content:center;
  }
  .footer-logo{
    max-width:min(270px,100%);
    max-height:108px;
  }
  .profile-image-footer{
    width:117px;
    height:117px;
  }
  .contact-block{
    align-items:center;
    justify-content:center;
  }
}

@media (max-width:420px){
  .footer-logo{
    max-width:min(225px,100%);
    max-height:96px;
  }
  .profile-image-footer{
    width:96px;
    height:96px;
  }
  .contact-block{
    align-items:flex-start;
    gap:14px;
  }
}

/* v34 mobile footer: centre stacked contact section */
@media (max-width:640px){
  .contact-block{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:16px;
    width:100%;
  }
  .profile-image-footer{
    display:block;
    margin-left:auto;
    margin-right:auto;
  }
  .footer-contact-details{
    width:100%;
    text-align:center;
  }
  .footer-contact-details h3,
  .footer-contact-details p{
    text-align:center;
  }
}

@media (max-width:420px){
  .contact-block{
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:14px;
  }
}


/* v36 mobile sticky contact bar + logo-only mobile header */
.mobile-sticky-contact{
  display:none;
}

@media (max-width:640px){
  /* Mobile header is logo-only. The logo keeps the existing smooth collapse. */
  .site-header .header-contact{
    display:none !important;
  }

  /* When the mobile logo collapses, collapse the whole sticky header too.
     This removes the empty white bar rather than leaving header padding behind. */
  .site-header.is-scrolled{
    min-height:0;
    border-bottom-color:transparent;
    background:transparent;
    box-shadow:none;
  }

  .site-header.is-scrolled .header-inner{
    min-height:0;
    max-height:0;
    padding-top:0;
    padding-bottom:0;
    gap:0;
    overflow:hidden;
  }

  .site-header-home.is-scrolled{
    min-height:0;
  }

  .mobile-sticky-contact{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:1050;
    display:block;
    background:#fff;
    color:#475569;
    border-top:1px solid #e5e7eb;
    box-shadow:0 -6px 18px rgba(15,23,42,.10);
    opacity:0;
    visibility:hidden;
    transform:translateY(100%);
    pointer-events:none;
    transition:transform .25s ease,opacity .2s ease,visibility .25s ease;
  }

  body.mobile-sticky-contact-visible{
    padding-bottom:102px;
  }

  body.mobile-sticky-contact-visible .mobile-sticky-contact{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }

  .mobile-sticky-contact-inner{
    width:min(100% - 24px,616px);
    min-height:94px;
    margin:0 auto;
    padding:8px 0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
  }

  .mobile-sticky-contact a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    max-width:100%;
    color:#475569;
    text-decoration:none;
    font-size:1.3rem;
    line-height:1.2;
    font-weight:600;
  }

  .mobile-sticky-contact a:hover,
  .mobile-sticky-contact a:focus{
    color:var(--button-bg);
  }

  .mobile-sticky-contact a span:last-child{
    overflow-wrap:anywhere;
    text-align:center;
  }

  .mobile-sticky-contact .contact-icon{
    flex:0 0 auto;
    color:var(--contact-icon);
    font-weight:900;
  }

  /* The language selector remains accessible. It only lifts above the contact
     bar while that bar is actually visible. */
  .language-widget{
    right:10px;
    bottom:18px;
    transition:bottom .25s ease;
  }

  body.mobile-sticky-contact-visible .language-widget{
    bottom:114px;
  }
}

@media (max-width:380px){
  .mobile-sticky-contact a{
    font-size:1.2rem;
  }
}

/* redSP microsite language flags: top right, no language-code text */
.language-widget{top:12px!important;bottom:auto!important;z-index:1500}
.language-widget-button{display:flex;align-items:center;justify-content:center;padding:8px 10px}
.language-widget-button img,.language-flag-grid img{display:block;width:30px;height:20px;object-fit:cover}
.language-flag-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.language-flag-grid button{cursor:pointer;border:1px solid #dbe1e8;background:#fff;border-radius:6px;padding:6px}
.language-flag-grid button[aria-current=true]{border:2px solid var(--button-bg)}
@media(max-width:640px){.language-widget{top:8px!important;right:8px!important}}

/* Keep the flag selector away from the header on narrow screens. */
@media (max-width: 767px) {
  .language-widget { top:auto!important; bottom:18px!important; right:10px!important; }
  body.mobile-sticky-contact-visible .language-widget { top:auto!important; bottom:114px!important; }
  .language-widget-panel { max-height:min(65vh,420px); overflow-y:auto; }
}

/* Flag selector: consistent selected/available styling and responsive placement. */
.language-widget {top:12px!important;bottom:auto!important;right:18px!important;flex-direction:column-reverse}
.language-widget-panel[hidden] {display:none!important}
.language-widget-panel {width:min(650px,calc(100vw - 32px));min-width:0;max-height:65vh;overflow:auto}
.language-flag-grid {display:flex;flex-wrap:wrap;gap:5px}
.language-flag-grid button,.language-flag-grid button[aria-current="true"] {display:flex;align-items:center;justify-content:center;padding:5px;border:1px solid #cbd5e1;border-radius:6px;background:#fff;box-sizing:border-box}
.language-flag-grid button[aria-current="true"] {background:#e9f1fa;border-color:#64748b}
.language-widget-button {background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:5px;box-shadow:0 3px 12px rgba(15,23,42,.15)}
@media(max-width:767px) {
 .language-widget {top:auto!important;bottom:18px!important;right:10px!important;flex-direction:column}
 body.mobile-sticky-contact-visible .language-widget {bottom:114px!important}
 .language-widget-panel {width:min(360px,calc(100vw - 20px));max-height:55vh}
}

/* 2026-10-14: match home masthead to the inner-page header. */
.site-header-home,.site-header-home.is-scrolled{min-height:0!important;height:auto!important}
.site-header-home .header-inner,.site-header-home.is-scrolled .header-inner{min-height:112px!important}
.site-header-home .header-background-image,.site-header-home .header-background-overlay{display:none!important}
.site-header-home .header-contact-details a{color:#475569!important;text-shadow:none!important}
@media(max-width:640px){.site-header-home .header-inner,.site-header-home.is-scrolled .header-inner{min-height:0!important}}
/* Keep the flags clear of the logo and contact block at tablet widths. */
@media(min-width:641px) and (max-width:1199px){
 .language-widget{top:auto!important;bottom:18px!important;right:10px!important;flex-direction:column!important}
}
@media(min-width:1200px){.language-widget{top:12px!important;bottom:auto!important;right:18px!important}}
@media(max-width:640px){.language-widget{top:auto!important;bottom:18px!important;right:10px!important}}

/* Ensure the language selector is visible on property pages and responsive. */
body .language-widget { display:flex!important; position:fixed!important; z-index:2147483000!important; visibility:visible!important; opacity:1!important; }
.language-flag-grid a {display:inline-flex;align-items:center;justify-content:center;padding:5px;border:1px solid #cbd5e1;border-radius:5px;background:white;text-decoration:none}
.language-flag-grid a[aria-current="true"] {border-color:#64748b;background:#f1f5f9}
@media(max-width:1199px){body .language-widget{top:auto!important;bottom:18px!important;right:10px!important;flex-direction:column!important}body.mobile-sticky-contact-visible .language-widget{bottom:114px!important}}
@media(min-width:1200px){body .language-widget{top:12px!important;bottom:auto!important;right:18px!important;flex-direction:column-reverse!important}}

/* Flag selector: keep flags visible and interactive at all screen sizes. */
.language-widget-button img,.language-flag-grid a img{width:30px;height:20px;display:block;object-fit:cover}
.language-widget-panel[hidden]{display:none!important}
.language-flag-grid a{cursor:pointer}
@media(min-width:1200px){body .language-widget{top:12px!important;bottom:auto!important;right:18px!important}}
@media(max-width:1199px){body .language-widget{top:auto!important;bottom:18px!important;right:10px!important}}
@media(max-width:1199px){body.mobile-sticky-contact-visible .language-widget{bottom:114px!important}}

/* Embedded approximate location: below the property information and features. */
.property-map-section{margin:26px 0 34px;padding:20px;border:1px solid #e0e5ed;border-radius:16px;background:#fff}
.property-map-section h2{margin:0 0 8px}.property-map-disclaimer{margin:0 0 14px;color:#52627a}
.property-map-section .property-location-map{height:380px;width:100%;border-radius:12px;overflow:hidden}
@media(max-width:640px){.property-map-section{padding:12px}.property-map-section .property-location-map{height:290px}}

/* Property map: desktop under features, mobile immediately before at-a-glance. */
.property-info-layout>.property-map-section{grid-column:1 / -1;grid-row:2;margin:0 0 32px;min-width:0}
.property-info-layout>.details-card{grid-column:2;grid-row:1}
.property-info-layout>.property-info-main{grid-column:1;grid-row:1}
@media(max-width:980px){
 .property-info-layout>.property-info-main{grid-column:1;grid-row:1}
 .property-info-layout>.property-map-section{grid-column:1;grid-row:2;margin:0}
 .property-info-layout>.details-card{grid-column:1;grid-row:3;position:static}
}

/* Property layout: details always occupy the right column; map is a separate full-width section. */
.property-info-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:start}
.property-info-layout>.property-info-main{grid-column:1;grid-row:1;min-width:0}
.property-info-layout>.details-card{grid-column:2;grid-row:1;display:block;visibility:visible;position:static;min-width:0}
.property-page>.property-map-section{margin-top:28px;clear:both}
.property-page>.property-map-section .property-location-map{display:block;min-height:380px;height:380px;width:100%}
@media(max-width:980px){
 .property-info-layout{display:flex;flex-direction:column;gap:20px}
 .property-info-layout>.property-info-main,.property-info-layout>.details-card{width:100%}
 .property-page{display:flex;flex-direction:column}
 .property-page>.property-info-layout{display:contents}
 .property-page>.property-info-main{order:1}
 .property-page>.property-info-layout>.property-info-main{order:1}
 .property-page>.property-map-section{order:2;width:100%;margin:20px 0}
 .property-page>.property-info-layout>.details-card{order:3}
 .property-page>.property-head{order:0}
 .property-page>.property-gallery{order:0}
 .property-page>.property-map-section .property-location-map{height:300px;min-height:300px}
}

/* 2026-10-14: restore sticky glance, safe mobile ordering and footer */
@media(min-width:981px){.property-info-layout>.details-card{position:sticky!important;top:110px!important;max-height:calc(100vh - 130px);overflow-y:auto;overscroll-behavior:contain}}
@media(max-width:980px){.property-page{display:flex;flex-direction:column}.property-page>.property-info-layout{display:contents}.property-page>.property-info-layout>.property-info-main{order:1}.property-page>.property-map-section{order:2}.property-page>.property-info-layout>.details-card{order:3;position:static!important;max-height:none;overflow:visible}}
.site-footer{display:block!important;visibility:visible!important;position:relative;clear:both}
.property-page>.property-map-section .property-location-map{min-height:300px;height:380px;background:#e7edf2}

/* v32: keep property main in normal document flow so the footer follows it. */
@media(max-width:980px){
 .property-page{display:block!important}
 .property-page>.property-info-layout{display:flex!important;flex-direction:column!important;gap:20px}
 .property-page>.property-info-layout>.property-info-main{order:1!important;width:100%}
 .property-page>.property-info-layout>.details-card{order:3!important;width:100%;position:static!important}
 .property-page>.property-info-layout>.property-map-section{order:2!important;width:100%}
}
.property-page>.property-map-section .property-location-map{display:block!important;height:380px!important;min-height:380px!important}
@media(max-width:640px){.property-page>.property-map-section .property-location-map{height:300px!important;min-height:300px!important}}

@media(min-width:981px){.property-info-layout>.property-map-section{grid-column:1/-1;grid-row:2;margin-top:0}}

/* v33: map is a sibling of the info grid; sidebar cannot overlap it. */
.property-page>.property-info-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;gap:32px!important;align-items:stretch!important}
.property-page>.property-info-layout>.property-info-main{grid-column:1!important;grid-row:1!important;min-width:0}
.property-page>.property-info-layout>.details-card{grid-column:2!important;grid-row:1!important;position:sticky!important;top:110px!important;align-self:start!important;max-height:min(720px,calc(100vh - 130px))!important;overflow-y:auto!important;overscroll-behavior:contain}
.property-page>.property-map-section{display:block!important;position:relative!important;clear:both!important;margin:28px 0 34px!important;width:100%!important}
.property-page>.property-map-section .property-location-map{display:block!important;height:380px!important;min-height:380px!important;width:100%!important}
@media(max-width:980px){
 .property-page{display:flex!important;flex-direction:column!important}
 .property-page>.property-info-layout{display:contents!important}
 .property-page>.property-info-layout>.property-info-main{order:1!important;width:100%!important}
 .property-page>.property-map-section{order:2!important;margin:20px 0!important}
 .property-page>.property-info-layout>.details-card{order:3!important;width:100%!important;position:static!important;max-height:none!important;overflow:visible!important}
}
@media(max-width:640px){.property-page>.property-map-section .property-location-map{height:300px!important;min-height:300px!important}}

/* Whole-card navigation: reference link covers the card while retaining normal link behavior. */
.property-card{position:relative;cursor:pointer}
.property-card .property-card-body h2 a::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit}
.property-card .property-card-body h2 a:focus-visible{outline:none}
.property-card:has(.property-card-body h2 a:focus-visible){outline:3px solid var(--button-bg);outline-offset:3px}
