/* HouseKey property.component.html / .scss adapted for the CI4 listing data.
   Scoped to detail pages; homepage and administration keep their own styles. */
.housekey-detail .hk-detail{--hk-blue:#1976d2;--hk-ink:#25364a;--hk-muted:#657488;max-width:1240px;margin:0 auto;padding:28px 24px 64px;color:var(--hk-ink);font-size:14px;line-height:1.65}
.housekey-detail .hk-detail *{box-sizing:border-box}
.housekey-detail .hk-detail a{color:#1565c0;text-decoration:none}
.housekey-detail .hk-detail a:hover{text-decoration:underline}
.housekey-detail .hk-surface{background:#fff;border:1px solid #e5ebf1;border-radius:10px;box-shadow:0 2px 8px #24364c08;overflow:hidden}
.housekey-detail .hk-breadcrumb{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px;margin:0 0 20px;color:var(--hk-muted)}
.housekey-detail .hk-identity{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:26px 30px;margin-bottom:24px}
.housekey-detail .hk-identity-copy{min-width:0;flex:1}
.housekey-detail .hk-eyebrow{display:flex;gap:12px;align-items:center;flex-wrap:wrap;color:var(--hk-muted);font-size:12px;margin-bottom:12px}
.housekey-detail .hk-category{background:#e7f2fc;color:#1565c0;border-radius:5px;padding:4px 12px;font-weight:600}
.housekey-detail .hk-identity h1{font-size:clamp(22px,2.25vw,30px);font-weight:600;line-height:1.4;letter-spacing:-.5px;margin:0 0 12px;color:var(--hk-ink);text-transform:none;overflow-wrap:anywhere}
.housekey-detail .hk-address{margin:0;font-size:12px;color:var(--hk-muted)}
.housekey-detail .hk-address i{color:var(--hk-blue);margin-right:6px}
.housekey-detail .hk-price-block{flex:0 0 auto;text-align:right;border-left:1px solid #e5ebf1;padding-left:28px}
.housekey-detail .hk-price-block>span{display:block;font-size:12px;color:var(--hk-muted)}
.housekey-detail .hk-price-block strong{display:block;color:var(--hk-blue);font-size:28px;line-height:1.5;white-space:nowrap;font-weight:700;letter-spacing:-.5px}
.housekey-detail .hk-price-block a{font-size:12px}
.housekey-detail .hk-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.housekey-detail .hk-detail-main,.housekey-detail .hk-detail-sidebar{min-width:0}
.housekey-detail .hk-gallery{padding:12px}
.housekey-detail .gallery-main{position:relative;aspect-ratio:3/2;border-radius:6px;overflow:hidden;background:#edf1f5}
.housekey-detail .gallery-main>img#gallery-main{display:block;width:100%;height:100%;max-height:none;object-fit:contain;background:#edf1f5}
.housekey-detail .hk-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:#1976d2;color:#fff;font-size:28px;box-shadow:0 2px 8px #0003;cursor:pointer;display:grid;place-items:center;padding:0}
.housekey-detail .hk-gallery-arrow:hover{background:#125ca7}
.housekey-detail .hk-prev{left:14px}.housekey-detail .hk-next{right:14px}
.housekey-detail .hk-gallery-toolbar{position:absolute;bottom:12px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}
.housekey-detail .hk-gallery-toolbar>span,.housekey-detail .hk-gallery-toolbar button{background:#172c43e6;color:#fff;border:0;border-radius:5px;padding:8px 12px;font-size:12px;pointer-events:auto}
.housekey-detail .hk-gallery-toolbar button{cursor:pointer}
.housekey-detail .gallery-thumbs{gap:10px;margin:12px 0 0;padding:0 0 4px;scrollbar-width:thin;overscroll-behavior-x:contain}
.housekey-detail .gallery-thumbs button{flex:0 0 110px;border:3px solid transparent;background:#edf1f5;border-radius:5px;overflow:hidden;opacity:.55;transition:opacity .15s}
.housekey-detail .gallery-thumbs button[aria-pressed=true]{border-color:var(--hk-blue);opacity:1}
.housekey-detail .gallery-thumbs button:hover{opacity:1}
.housekey-detail .gallery-thumbs img{display:block;width:100%;height:72px;object-fit:cover}
.housekey-detail .hk-highlights{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));margin:20px 0;padding:18px 8px}
.housekey-detail .hk-highlights>div{text-align:center;padding:4px 10px;border-right:1px solid #e5ebf1}
.housekey-detail .hk-highlights>div:last-child{border:0}
.housekey-detail .hk-highlights dt{color:var(--hk-muted);font-weight:400;font-size:11px}
.housekey-detail .hk-highlights i{display:block;margin:0 0 7px;color:var(--hk-blue);font-size:21px}
.housekey-detail .hk-highlights dd{color:var(--hk-ink);font-size:16px;font-weight:600;margin:5px 0 0}
.housekey-detail .hk-section-nav{display:flex;gap:20px;overflow-x:auto;white-space:nowrap;border-bottom:1px solid #d9e3ed;margin:0 0 20px;padding:4px 2px 14px;font-size:12px;font-weight:600;scrollbar-width:thin}
.housekey-detail .hk-section{padding:26px;margin-bottom:20px;scroll-margin-top:24px}
.housekey-detail .hk-detail h2{font-size:20px;line-height:1.4;font-weight:600;color:var(--hk-ink);margin:0 0 22px;text-transform:none}
.housekey-detail .hk-section>h2:after{content:'';display:block;width:38px;height:3px;background:var(--hk-blue);margin-top:12px;border-radius:3px}
.housekey-detail .hk-detail h3{font-size:15px;font-weight:600;line-height:1.5;color:var(--hk-ink);margin:0 0 14px;text-transform:none}
.housekey-detail .hk-detail .prose{font-size:14px;line-height:1.9;color:#48586c}
.housekey-detail .hk-detail .prose p{margin:0 0 14px}
.housekey-detail .hk-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:0}
.housekey-detail .hk-facts>div{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #edf1f5;min-width:0;font-size:12px}
.housekey-detail .hk-facts dt{color:var(--hk-muted);font-weight:400;flex:1}
.housekey-detail .hk-facts dd{font-weight:500;color:var(--hk-ink);text-align:right;margin:0;overflow-wrap:anywhere;flex:1}
.housekey-detail .hk-feature-group{padding:22px 0;border-top:1px solid #e5ebf1}
.housekey-detail .hk-feature-group:last-child{padding-bottom:0}
.housekey-detail .hk-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px;margin:0;font-size:12px}
.housekey-detail .hk-checks dt{font-weight:400;display:flex;align-items:baseline;gap:8px}
.housekey-detail .hk-checks i{color:var(--hk-blue)}
.housekey-detail .hk-other-features{margin-top:16px}
.housekey-detail .hk-detail summary{cursor:pointer;color:#53677e;font-size:12px;padding:10px 0;font-weight:500}
.housekey-detail .hk-other-features summary span{background:#edf3f9;border-radius:20px;padding:2px 7px;margin-left:5px}
.housekey-detail .hk-muted{color:var(--hk-muted);font-size:12px}
.housekey-detail .hk-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.housekey-detail .hk-contact-card{padding:24px;margin-bottom:20px;scroll-margin-top:24px;border-top:3px solid var(--hk-blue)}
.housekey-detail .hk-sidebar-heading>span{font-size:10px;letter-spacing:1.5px;color:var(--hk-blue);font-weight:600}
.housekey-detail .hk-sidebar-heading h2{font-size:19px;margin:7px 0 22px}
.housekey-detail .hk-advisor-identity{display:flex;align-items:center;gap:16px;margin-bottom:22px}
.housekey-detail .hk-advisor-identity img{flex:0 0 80px;width:80px;height:80px;object-fit:cover;border-radius:50%;border:4px solid #eef5fc}
.housekey-detail .hk-advisor-initial{width:80px;height:80px;flex:0 0 80px;border-radius:50%;background:#eef5fc;display:grid;place-items:center;font-size:30px;color:var(--hk-blue)}
.housekey-detail a.hk-advisor-name{font-size:17px;color:var(--hk-ink);font-weight:600}
.housekey-detail .hk-advisor-identity p{font-size:11px;color:var(--hk-muted);margin:5px 0 0}
.housekey-detail .hk-advisor-contacts>a{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #e5ebf1;color:var(--hk-ink);font-size:13px;overflow-wrap:anywhere}
.housekey-detail .hk-advisor-contacts>a>i:first-child{background:#edf5fd;color:var(--hk-blue);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}
.housekey-detail .hk-advisor-contacts span{flex:1;min-width:0}.housekey-detail .hk-advisor-contacts small{display:block;color:var(--hk-muted);font-size:10px;margin-bottom:2px}
.housekey-detail .hk-profile-link{display:block;font-size:11px;padding:10px 0 0}
.housekey-detail .hk-advisor-extra p{font-size:12px;overflow-wrap:anywhere}
.housekey-detail .hk-inquiry{border-top:1px solid #e5ebf1;padding-top:22px;margin-top:22px}
.housekey-detail .hk-inquiry>p{font-size:12px;color:var(--hk-muted);margin:0 0 16px}
.housekey-detail .inquiry-form label{font-size:11px;color:#516277;margin:0 0 13px}
.housekey-detail .inquiry-form input,.housekey-detail .inquiry-form textarea{margin-top:5px;border:1px solid #d6e0e9;border-radius:5px;background:#fcfdff;color:var(--hk-ink);padding:11px 12px;line-height:1.5;font-size:13px;box-shadow:none;max-width:100%}
.housekey-detail .inquiry-form input:focus,.housekey-detail .inquiry-form textarea:focus{border-color:var(--hk-blue);outline:2px solid #1976d21a}
.housekey-detail .inquiry-form .form-note{font-size:10px;line-height:1.6;color:var(--hk-muted);margin:0 0 14px}
.housekey-detail .inquiry-form button{width:100%;background:#c2185b;color:#fff;border-radius:5px;font-size:13px;font-weight:600;padding:13px;border:0}
.housekey-detail .hk-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--hk-blue);border-radius:5px;background:var(--hk-blue);color:#fff!important;padding:11px 16px;font-size:12px;line-height:1.5;cursor:pointer;font-weight:500}
.housekey-detail .hk-detail :is(button,a,summary):focus-visible{outline:3px solid #1976d2;outline-offset:3px}
.housekey-detail .hk-actions h2{font-size:17px;margin-bottom:16px}
.housekey-detail .hk-favorite{width:100%;background:#fff;color:#1565c0!important;margin-bottom:16px}
.housekey-detail .hk-share{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.housekey-detail .hk-share .btn{margin:0;padding:9px 6px;color:#53677e;background:#f4f7fa;border:1px solid #e5ebf1;box-shadow:none;font-size:11px;border-radius:5px;text-transform:none;white-space:normal}
.housekey-detail .hk-share .btn:hover{color:#1565c0;background:#eaf3fc}
.housekey-detail .hk-qr{margin-top:18px;border-top:1px solid #e5ebf1;padding-top:4px;font-size:12px;text-align:center;scroll-margin-top:24px}
.housekey-detail .hk-qr summary{display:flex;align-items:center;justify-content:space-between}
.housekey-detail .hk-qr img{max-width:100%;display:block;margin:12px auto}
.housekey-detail .hk-support-widgets .widget{border:1px solid #e5ebf1;border-radius:10px;box-shadow:0 2px 8px #24364c08;overflow:hidden;margin-bottom:20px}
.housekey-detail .hk-support-widgets .widget-header{background:#fff;color:var(--hk-ink);font-size:16px;font-weight:600;padding:20px 24px 0;border:0}
.housekey-detail .hk-support-widgets .housekey-advanced-search{margin:0 0 20px;border-radius:10px}
.housekey-detail .hk-support-widgets .housekey-advanced-search summary{white-space:normal;flex-wrap:wrap;padding:18px}
.housekey-detail .hk-support-widgets .housekey-advanced-search summary span{font-size:10px}
.housekey-detail .hk-related{margin-top:32px}
.housekey-detail .hk-related>.widget{border:0;background:transparent;box-shadow:none;margin-bottom:32px}
.housekey-detail .hk-related>.widget>.widget-header{background:transparent;font-size:24px;font-weight:600;color:var(--hk-ink);padding:0 0 20px;border:0}
.housekey-detail .hk-related>.widget>.widget-content{padding:0}
.housekey-detail .hk-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.housekey-detail .hk-related-grid>.housekey-card-column{width:auto;max-width:none;padding:0;flex:none}
.housekey-detail .hk-text-link{display:inline-block;margin-top:16px;font-size:12px}
.housekey-detail .hk-section .geo-map-section{margin:0;padding:0}
.housekey-detail .hk-section .geo-map{border-radius:6px;min-height:300px}
.housekey-detail .hk-gallery .gallery-dialog{border-radius:8px;max-height:95dvh;overflow:auto}
@media(max-width:1050px){.housekey-detail .hk-detail-layout{grid-template-columns:minmax(0,1fr) 300px;gap:18px}.housekey-detail .hk-identity{padding:22px;gap:18px}.housekey-detail .hk-price-block{padding-left:18px}.housekey-detail .hk-price-block strong{font-size:23px}.housekey-detail .hk-contact-card,.housekey-detail .hk-section{padding:20px}.housekey-detail .hk-checks{grid-template-columns:repeat(2,minmax(0,1fr))}.housekey-detail .hk-facts{grid-template-columns:1fr}}
@media(max-width:820px){.housekey-detail .hk-detail{padding:20px 18px 40px}.housekey-detail .hk-detail-layout{grid-template-columns:1fr}.housekey-detail .hk-identity{align-items:start;flex-direction:column;gap:16px}.housekey-detail .hk-price-block{border:0;border-top:1px solid #e5ebf1;padding:14px 0 0;text-align:left;width:100%}.housekey-detail .hk-price-block strong{font-size:27px}.housekey-detail .hk-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.housekey-detail .hk-related-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.housekey-detail .hk-detail-sidebar{margin-top:0}.housekey-detail .hk-detail .hk-highlights{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.housekey-detail .hk-highlights>div:nth-child(2n){border:0}}
@media(max-width:480px){.housekey-detail .hk-detail{padding:16px 12px 32px}.housekey-detail .hk-identity{padding:18px}.housekey-detail .hk-identity h1{font-size:22px}.housekey-detail .hk-gallery{padding:7px}.housekey-detail .gallery-thumbs button{flex-basis:85px}.housekey-detail .gallery-thumbs img{height:56px}.housekey-detail .hk-gallery-arrow{width:34px;height:34px;font-size:24px}.housekey-detail .hk-prev{left:8px}.housekey-detail .hk-next{right:8px}.housekey-detail .hk-gallery-toolbar{bottom:8px;left:8px;right:8px}.housekey-detail .hk-gallery-toolbar>span,.housekey-detail .hk-gallery-toolbar button{font-size:10px;padding:6px 9px}.housekey-detail .hk-section{padding:18px}.housekey-detail .hk-facts{grid-template-columns:1fr}.housekey-detail .hk-checks{gap:12px}.housekey-detail .hk-detail h2{font-size:18px}.housekey-detail .hk-related-grid{grid-template-columns:1fr}.housekey-detail .hk-section-nav{gap:18px}}
@media print{.housekey-detail .hk-detail-sidebar,.housekey-detail .hk-related,.housekey-detail .hk-section-nav,.housekey-detail .hk-gallery-arrow,.housekey-detail .hk-gallery-toolbar{display:none}.housekey-detail .hk-detail-layout{display:block}.housekey-detail .hk-detail{padding:0;max-width:none}.housekey-detail .hk-surface{box-shadow:none;break-inside:avoid}.housekey-detail .gallery-main{max-height:350px}.housekey-detail .hk-price-block a{display:none}}
