/* The library and object pages use the same portrait covers as the home page. */
#lf-polished .video-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
#lf-polished .video-grid .video-item{min-width:0}
#lf-polished .video-grid .video-item .video-open{display:block!important;position:relative!important;width:100%!important;height:auto!important;aspect-ratio:9/16!important;padding:0!important;border:0!important;border-radius:18px!important;overflow:hidden!important;background:#1c2520!important}
#lf-polished .video-grid .video-item .video-open>img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center!important}
#lf-polished .video-grid .video-item h3{overflow-wrap:anywhere}
/* Do not let the legacy portrait overlay attach to a text-only founder column. */
#lf-polished #approach .lf-founder-glass{display:none!important}
.lfcm-no-founder-photo #lf-polished #approach .founder-wp{display:block!important;max-width:760px}
.lfcm-no-founder-photo #lf-polished #approach .founder-wp>div{max-width:none!important;width:auto!important}
#lf-polished #approach .lf-founder-actions{position:static!important;isolation:auto}
@media(max-width:1000px){#lf-polished .video-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){#lf-polished .video-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 12px!important}#lf-polished .video-grid .video-item .video-open{border-radius:12px!important}#lf-polished .video-grid .video-item h3{font-size:16px!important;line-height:1.35!important;margin-top:10px!important}#lf-polished #approach .founder-wp{gap:24px!important}#lf-polished #approach .lf-founder-actions{align-items:stretch!important;gap:20px!important}#lf-polished #approach .lf-founder-actions>.button{align-self:flex-start}}
#lf-polished .top .brand,#lf-polished .top .brand img{opacity:1!important;filter:none!important;mix-blend-mode:normal}
/* Keep article counters on one baseline within each responsive grid row. */
#lf-polished .journal-grid{align-items:stretch}
#lf-polished .journal-grid>.journal-card{display:flex;flex-direction:column;align-self:stretch}
#lf-polished .journal-grid>.journal-card>.lf-card-stats{margin-top:auto}

#lf-polished .project-anchor .lfcm-related-action{
    border-color:#b8a477;
    color:#ead7a5;
    font-weight:600;
}
#lf-polished :is(#house-photos,#built-houses){scroll-margin-top:120px}
#lf-polished .lfcm-built-house+.lfcm-built-house{margin-top:32px}
#lf-polished .lfcm-built-house h3{margin:0 0 10px;font-size:clamp(19px,2vw,24px)}
#lf-polished .lfcm-built-house .text-link{display:inline-block;margin-bottom:14px}
