
.projects-grid .project-card,.clarity-page .projects-grid .project-card{grid-template-rows:auto minmax(380px,1fr)}
.projects-grid .project-card>.card-photo,.clarity-page .projects-grid .project-card>.card-photo{display:block;height:auto;min-height:0;aspect-ratio:4/3;max-height:340px;background:var(--paper,#f7f5ef)}
.projects-grid .project-card>.card-photo img{object-fit:contain!important}
.projects-grid .project-card>.card-photo>picture{display:block;width:100%;height:100%}
.projects-grid .card-body,.clarity-page .projects-grid .card-body{height:auto!important;min-height:380px;align-self:stretch;grid-template-rows:34px 60px minmax(80px,1fr) 138px}
.projects-grid .project-card .card-title h3{display:block;font-size:28px;line-height:1.07;margin:0}
.projects-grid .project-card .card-specs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;align-self:stretch;height:auto;min-height:0;margin:0;padding:0;gap:5px 10px;font-size:15px;line-height:1.3}
.projects-grid .project-card.popular-project .card-specs{grid-template-columns:minmax(0,1fr);padding-right:62px}
.projects-grid .project-card.card-long-specs .card-specs{grid-template-columns:minmax(0,1fr)}
.projects-grid .project-card .card-bottom{height:auto;min-height:0;align-items:start;align-self:stretch;grid-template-columns:1fr;grid-template-rows:minmax(72px,1fr) 48px;gap:8px;margin:0;padding:8px 0 0}
.projects-grid .project-card .card-bottom>div{min-height:0}
.projects-grid .project-card .card-bottom strong{display:block;font-size:25px;line-height:1.2}
.projects-grid .project-card .card-bottom small{display:block;font-size:13px;line-height:1.35;margin-top:3px}
.projects-grid .project-card .card-open-link{display:flex;min-height:48px;height:48px;font-size:15px;padding:12px 16px;box-sizing:border-box}
.projects-grid .card-meta{font-size:13px;line-height:1.3;gap:10px}
.projects-grid .card-meta>span:first-child{max-width:none;min-width:0}
.projects-grid .card-meta>span:last-child{max-width:90px;white-space:normal;flex-shrink:0}
.projects-grid .card-title h3{display:block;font-size:28px;line-height:1.07}
.projects-grid .card-specs{font-size:15px;line-height:1.3;padding-right:0;gap:5px 10px}
.projects-grid .popular-project .card-specs{grid-template-columns:minmax(0,1fr);padding-right:62px}
.projects-grid .project-card:not(.popular-project) .card-specs>span:last-child{grid-column:1/-1}
.projects-grid .card-long-specs .card-specs{grid-template-columns:minmax(0,1fr)}
.projects-grid .card-bottom small,.projects-grid .price-current{font-size:13px;line-height:1.35}
.projects-grid .price-current{margin-top:3px}
.projects-grid .card-open-link{font-size:15px}
.project-real-thumbs>button{height:auto;min-height:0;aspect-ratio:4/3;background:#f7f5ef}
.project-real-thumbs>button img{object-fit:contain}
.real-gallery .gallery-item img{object-fit:contain!important}
.real-gallery .gallery-item:hover img{transform:none}
.work-feature>div:first-child{height:auto;min-height:0;aspect-ratio:4/3}
.work-feature>div:first-child img{display:block;width:100%;height:auto!important;aspect-ratio:4/3;object-fit:contain;background:#f7f5ef}
@media(max-width:650px){
 .projects-grid .project-card>.card-photo,.clarity-page .projects-grid .project-card>.card-photo{max-height:max(280px,calc(100svh - 512px))}
}
@media(max-width:360px){.projects-grid .card-title h3{font-size:27px}.projects-grid .card-specs{font-size:15px}}
