.motion-pending { opacity:0; }
.motion-arrow { display:inline-block; transition:transform 240ms cubic-bezier(.2,.7,.2,1); }
@media(hover:hover) and (pointer:fine) {
 body:not(.motion-off) .listing-link .property-photo img { transition:transform 600ms cubic-bezier(.2,.7,.2,1); }
 body:not(.motion-off) .listing-link:hover .property-photo img { transform:scale(1.035); }
 body:not(.motion-off) .btn:hover .motion-arrow,body:not(.motion-off) .text-link:hover .motion-arrow,body:not(.motion-off) .listing-link:hover .motion-arrow { transform:translate(3px,-2px); }
 body:not(.motion-off) .showcase figure { overflow:hidden; border-radius:6px; }
 body:not(.motion-off) .showcase figure img { transition:transform 650ms cubic-bezier(.2,.7,.2,1); }
 body:not(.motion-off) .showcase figure:hover img { transform:scale(1.025); }
}
.motion-off .motion-pending { opacity:1; }
.motion-off .listing-link,.motion-off .btn,.motion-off .property-photo img,.motion-off .motion-arrow { transition:none!important; transform:none!important; }
@media(prefers-reduced-motion:reduce) {
 .motion-pending { opacity:1!important; }
 .motion-arrow,.listing-link,.property-photo img,.showcase img { transition:none!important; transform:none!important; }
}
/* Vybrané realizace: fotografická galerie místo běžných karet. */
.sold-heading { margin:76px 0 30px; max-width:650px; scroll-margin-top:95px; }
.sold-heading .eyebrow { margin-bottom:12px; }
.sold-heading h2 { font-size:clamp(1.9rem,3.2vw,2.6rem); letter-spacing:-.025em; margin:0 0 16px; }
.sold-heading>p:last-child { color:#52665e; margin:0; }
.sold-gallery { display:grid; gap:22px; }
.sold-card { position:relative; isolation:isolate; min-height:340px; overflow:hidden; border-radius:8px; background:#12332b; color:white; transition:box-shadow .3s,transform .3s; }
.sold-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .7s cubic-bezier(.2,.7,.2,1); }
.sold-card::before { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,rgba(8,25,20,.12) 0%,rgba(8,25,20,.03) 24%,rgba(8,25,20,.65) 65%,rgba(8,25,20,.96) 100%); pointer-events:none; }
.sold-status { position:absolute; top:22px; left:24px; z-index:2; display:flex; align-items:center; gap:7px; padding:7px 12px; border-radius:4px; background:#ecdfbc; color:#12332b; font-size:.72rem; letter-spacing:.07em; text-transform:uppercase; font-weight:750; }
.sold-copy { position:absolute; bottom:0; left:0; right:0; z-index:2; padding:28px; }
.sold-kicker { color:#e5d5af; text-transform:uppercase; letter-spacing:.14em; font-size:.68rem; font-weight:650; margin:0 0 9px; }
.sold-copy h3 { color:white; font-size:clamp(1.25rem,2vw,1.65rem); margin:0 0 20px; line-height:1.2; }
.sold-bottom { display:flex; gap:14px; align-items:center; justify-content:space-between; border-top:1px solid #ffffff40; padding-top:16px; }
.sold-photo-count { color:#dae3dc; font-size:.8rem; }
.sold-open.property-more { background:none; color:white; padding:0; font-size:.8rem; display:flex; align-items:center; gap:12px; border:0; border-radius:0; text-align:left; }
.sold-open::after { content:""; position:absolute; inset:0; cursor:pointer; }
.sold-open:focus-visible { outline:none; }
.sold-card:focus-within { outline:3px solid #a47835; outline-offset:5px; }
.sold-arrow { display:grid; place-items:center; width:34px; height:34px; border:1px solid #d8c9a366; border-radius:50%; color:#e5d5af; font-size:1.1rem; transition:background .25s,color .25s,transform .25s; }
@media(min-width:800px) { .sold-gallery { grid-template-columns:1.1fr 1fr; grid-template-rows:260px 260px; } .sold-card { min-height:0; } .sold-card-featured { grid-row:span 2; } .sold-card-featured .sold-copy { padding:34px; } .sold-card-featured .sold-copy h3 { font-size:1.9rem; } }
@media(hover:hover) and (pointer:fine) {
 body:not(.motion-off) .sold-card:hover { transform:translateY(-4px); box-shadow:0 16px 32px #12332b26; }
 body:not(.motion-off) .sold-card:hover .sold-image { transform:scale(1.045); }
 body:not(.motion-off) .sold-card:hover .sold-arrow { background:#d8c9a3; color:#12332b; transform:translate(2px,-2px); }
}
.motion-off .sold-card,.motion-off .sold-image,.motion-off .sold-arrow { transition:none!important; transform:none!important; }
@media(prefers-reduced-motion:reduce) { .sold-card,.sold-image,.sold-arrow { transition:none!important; transform:none!important; } }
@media(max-width:480px) { .sold-copy { padding:24px; } .sold-status { left:24px; top:20px; } .sold-card { min-height:330px; } .sold-photo-count { font-size:.72rem; } .sold-open.property-more { font-size:.75rem; gap:8px; } }
.sold-card { display:flex; flex-direction:column; justify-content:flex-end; }
.sold-copy { position:static; margin-top:auto; }
.sold-open::after { z-index:3; }
/* Jedna velká fotografie bez ořezu místo drobných náhledů. */
.property-modal { padding:20px; }
.property-modal-backdrop { background:rgba(6,17,13,.94); }
.property-modal-content { background:#10231c; color:white; max-width:1440px; width:100%; max-height:calc(100dvh - 40px); overflow:hidden; padding:20px 24px 16px; border:1px solid #ffffff20; box-shadow:0 24px 80px #0006; }
.property-modal-title { color:white; margin:0 50px 18px 0; font-size:1.1rem; }
.property-modal-close { top:8px; right:16px; color:white; }
.property-modal-gallery { display:block; }
.gallery-stage { position:relative; height:calc(100dvh - 172px); max-height:900px; background:#091710; }
.property-modal-gallery .gallery-large-image { width:100%; height:100%; object-fit:contain; aspect-ratio:auto; border-radius:0; }
.gallery-nav { position:absolute; top:50%; transform:translateY(-50%); width:48px; height:48px; display:grid; place-items:center; background:#12332be6; color:white; border:1px solid #d8c9a399; border-radius:50%; cursor:pointer; font-size:1.6rem; line-height:1; }
.gallery-prev { left:14px; }
.gallery-next { right:14px; }
.gallery-nav:disabled { opacity:.25; cursor:default; }
.gallery-nav:not(:disabled):hover { background:#d8c9a3; color:#12332b; }
.gallery-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:14px; font-size:.85rem; color:#d6e0d9; }
.gallery-footer a { color:#e4d5af; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:600px) {
 .property-modal { padding:0; }
 .property-modal-content { border:0; border-radius:0; height:100dvh; max-height:100dvh; padding:22px 12px 18px; display:flex; flex-direction:column; }
 .property-modal-title { font-size:1rem; margin-bottom:20px; }
 .property-modal-gallery { flex:1; min-height:0; display:flex; flex-direction:column; }
 .gallery-stage { flex:1; min-height:0; max-height:none; height:auto; }
 .gallery-nav { top:auto; bottom:12px; transform:none; width:46px; height:46px; }
 .gallery-prev { left:8px; } .gallery-next { right:8px; }
 .gallery-footer { flex-wrap:wrap; font-size:.78rem; gap:8px; }
}

/* Čtyři realizované prodeje v přehledné fotografické mřížce. */
#realizace-domazlice { scroll-margin-top:95px; }
@media(min-width:800px) { .sold-gallery-four { grid-template-columns:1fr 1fr; grid-template-rows:none; grid-auto-rows:350px; } .sold-gallery-four .sold-card { grid-row:auto; } }
