/* Project pages use CMS-native data and media. */
#bm-page .bm-house-page{margin:32px 0 90px;color:#e5ebe5;overflow:visible}
#bm-page .bm-house-back{display:inline-flex;align-items:center;gap:10px;color:#9dbfc7;text-decoration:none;margin:0 0 24px;font-size:14px}
#bm-page .bm-house-back svg{width:19px;height:19px;transition:transform .25s ease}
#bm-page .bm-house-back:hover svg{transform:translateY(-2px)}
#bm-page .bm-house-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr);gap:clamp(24px,4vw,70px);align-items:start}
#bm-page .bm-house-media{min-width:0}
#bm-page .bm-house-cover{border-radius:35px 14px 35px 14px;overflow:hidden;background:#252a2d;aspect-ratio:1.37}
#bm-page .bm-house-cover :is(.field,.value,a){height:100%;width:100%;display:block;margin:0;padding:0}
#bm-page .bm-house-page .bm-house-cover img{display:block;width:100%;height:100%;max-height:none;border-radius:0;object-fit:cover}
#bm-page .bm-house-gallery{margin-top:14px;min-width:0}
#bm-page .bm-house-gallery :is(.field,.value){margin:0;padding:0;min-width:0}
#bm-page .bm-house-gallery .value>div{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding-block:2px 6px;scrollbar-width:none}
#bm-page .bm-house-gallery .value>div::-webkit-scrollbar{display:none}
#bm-page .bm-house-gallery a{display:block;flex:0 0 clamp(110px,11vw,170px);aspect-ratio:1.4;overflow:hidden;border:2px solid transparent;border-radius:14px;scroll-snap-align:start}
#bm-page .bm-house-gallery a:hover,#bm-page .bm-house-gallery a:focus-visible{border-color:#9dbfc7}
#bm-page .bm-house-page .bm-house-gallery img{display:block;width:100%;height:100%;object-fit:cover;padding:0;margin:0;border:0;border-radius:0;background:#252a2d}
#bm-page .bm-house-summary{padding:30px clamp(22px,2.5vw,40px);border:1px solid #f1ede435;border-radius:35px 14px 35px 14px;background:#252a2d}
#bm-page .bm-house-summary h1{margin:0 0 22px!important;font-family:Lena,'Clear Sans',sans-serif!important;font-size:clamp(38px,3.5vw,64px)!important;line-height:1.05!important;font-weight:400!important;letter-spacing:-.025em;text-transform:none;color:#9dbfc7!important;max-width:100%}
#bm-page .bm-house-page .f_price{margin:0 0 25px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;width:auto!important;text-align:left}
#bm-page .bm-house-page .bm-house-summary .f_price .value{font-size:clamp(26px,2.3vw,38px);font-weight:400;color:#e6e9df;line-height:1.2}
#bm-page .bm-house-page .bm-house-cta{width:100%;min-height:48px;margin-bottom:26px;justify-content:center}
#bm-page .bm-house-facts{margin:0;display:grid;grid-template-columns:1fr;gap:0}
#bm-page .bm-house-fact{display:flex;align-items:baseline;justify-content:space-between;gap:20px;border-top:1px solid #f1ede428;padding:15px 0;background:none!important;box-shadow:none!important;border-radius:0!important;margin:0!important}
#bm-page .bm-house-fact dt{font-size:14px;font-weight:400;line-height:1.4;color:#c5d8ce;margin:0}
#bm-page .bm-house-fact dd{font-size:20px;font-weight:400;line-height:1.3;text-align:right;white-space:nowrap;color:#9dbfc7;margin:0}
#bm-page .bm-house-section{margin-top:65px;padding-top:45px;border-top:1px solid #f1ede428;scroll-margin-top:120px}
#bm-page .bm-house-section h2{font-family:Lena,'Clear Sans',sans-serif!important;font-size:clamp(30px,3.2vw,48px)!important;line-height:1.12;font-weight:400!important;letter-spacing:-.02em;color:#9dbfc7!important;margin:0 0 28px!important;text-transform:none}
#bm-page .bm-house-page .bm-house-field{margin:0 0 25px;background:none;box-shadow:none;border:0;border-radius:0;max-width:100%}
#bm-page .bm-house-page .bm-house-field .field_label{font-size:18px;color:#9dbfc7;margin:0 0 12px}
#bm-page .bm-house-page .bm-house-field .value{font-size:17px;line-height:1.65;color:#dae3dc;max-width:100%}
#bm-page .bm-house-intro .value{max-width:85ch;white-space:pre-line}
#bm-page .bm-house-plans .value>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:24px;align-items:start}
#bm-page .bm-house-page .bm-house-plans a{display:block;padding:20px;background:#e5eadd;border-radius:24px 10px 24px 10px;overflow:hidden}
#bm-page .bm-house-page .bm-house-plans img{display:block;width:100%;height:100%;max-height:620px;object-fit:contain;margin:0;border:0;border-radius:0;background:transparent;padding:0}
#bm-page .bm-house-details{display:grid;grid-template-columns:1fr 1fr;gap:24px}
#bm-page .bm-house-details h2{grid-column:1/-1}
#bm-page .bm-house-details>.field{background:#252a2d;border-radius:24px 10px 24px 10px;padding:26px;border:1px solid #f1ede428}
#bm-page .bm-house-details :is(ul,ol){padding-left:1.3em}
#bm-page .bm-house-details :is(table,td,th){border-color:#f1ede435;background:transparent;color:inherit}
#bm-page .bm-house-additional .value img{max-width:100%;height:auto}
@media(max-width:991px){#bm-page .bm-house-hero{grid-template-columns:1fr;gap:25px}#bm-page .bm-house-cover{aspect-ratio:1.5}#bm-page .bm-house-summary{padding:28px}#bm-page .bm-house-facts{grid-template-columns:1fr 1fr;gap:0 28px}#bm-page .bm-house-gallery a{flex-basis:140px}#bm-page .bm-house-page .bm-house-cta{width:auto;min-width:230px}}
@media(max-width:575px){#bm-page .bm-house-page{margin-top:20px}#bm-page .bm-house-cover{aspect-ratio:1.15;border-radius:24px 10px 24px 10px}#bm-page .bm-house-summary{padding:23px 18px;border-radius:24px 10px 24px 10px}#bm-page .bm-house-summary h1{font-size:42px!important}#bm-page .bm-house-facts{grid-template-columns:1fr}#bm-page .bm-house-fact{padding-block:12px}#bm-page .bm-house-fact dd{font-size:19px}#bm-page .bm-house-page .bm-house-cta{width:100%;min-width:0}#bm-page .bm-house-section{margin-top:40px;padding-top:30px}#bm-page .bm-house-details{grid-template-columns:1fr;gap:16px}#bm-page .bm-house-page .bm-house-plans a{padding:12px}#bm-page .bm-house-gallery a{flex-basis:115px}}
@media(prefers-reduced-motion:reduce){#bm-page .bm-house-back svg{transition:none}}

#bm-page .bm-house-page .bm-house-cover .bm-house-field{margin:0!important;padding:0!important;height:100%}
.bm-house-badges{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}.bm-house-badges:empty{display:none}.bm-house-badges>span{padding:7px 11px;border-radius:6px;background:#647d83;color:#9dbfc7;font-size:12px;line-height:1.25}

/* The catalog title link covers the photograph and card body while native controls stay above. */
#bm-page .content_list.projects_list .bm-project-detail-link:after{content:'';position:absolute;inset:0;z-index:3}
#bm-page .content_list.projects_list .icms-content-fields{position:relative}
#bm-page .content_list.projects_list .dropdown{position:relative;z-index:5}
#bm-page .content_list.projects_list .f_photo{pointer-events:none}
#bm-page .content_list.projects_list .f_title a.bm-project-detail-link{position:static}
#bm-page .content_list.projects_list .content_list_item:focus-within{border-color:#9dbfc7}
#bm-page .bm-house-fact dt{display:flex;align-items:center;gap:11px}
#bm-page .bm-house-spec-icon{display:block;width:21px;height:21px;flex:0 0 21px;color:#9dbfc7}

#bm-page .content_list.projects_list .f_title,#bm-page .content_list.projects_list .f_title h3{position:static!important}

#bm-page .bm-project-card>.bm-project-image{z-index:1;pointer-events:auto}
#bm-page .bm-project-card .bm-project-body{z-index:2;pointer-events:none}
#bm-page .bm-project-card .bm-project-body a{pointer-events:auto}
