/* Only detail pages of completed projects; same container as installation/equipment. */
body.b24-project-case #b24-site-header .wrap,
body.b24-project-case #b24-global-nav{width:calc(100% - 80px)!important;max-width:1636px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body.b24-project-case .main > .container > .row > .maxwidth-theme{width:100%;max-width:none;padding-left:0!important;padding-right:0!important}
body.b24-project-case .main > .container > .row > .maxwidth-theme > .content-md,
body.b24-project-case .main > .container > .row > .content-md{width:calc(100% - 80px);max-width:1636px;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0;float:none}
body.b24-project-case .page-top.maxwidth-theme{width:calc(100% - 80px);max-width:1636px;margin-left:auto;margin-right:auto;padding-left:0!important;padding-right:0!important}
body.b24-project-case .page-top.maxwidth-theme > .row{margin-left:0;margin-right:0}
body.b24-project-case .page-top.maxwidth-theme > .row > div{padding-left:0;padding-right:0}
body.b24-project-case .detail.projects{width:100%;max-width:none}
body.b24-project-case .b24p-case{width:100%;max-width:none;font:17px/1.7 Arial,Helvetica,sans-serif}
body.b24-project-case .b24p-case .b24p-hero{gap:clamp(28px,4vw,64px);grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.b24-project-case .b24p-case .b24p-lead{max-width:38em}
body.b24-project-case .b24p-case .b24p-hero img{max-height:460px;max-width:100%;width:auto}
.b24p-case .b24p-date{font-size:14px;color:#607588;margin:0 0 20px}
.b24p-case .b24p-description{row-gap:28px}
.b24p-case .b24p-description section{min-width:0;overflow-wrap:anywhere}
.b24p-case .b24p-description section>p,.b24p-case .b24p-description section>ul{max-width:75ch}
.b24p-case .b24p-description iframe{max-width:100%;aspect-ratio:16/9;height:auto;min-height:200px;border:0;margin:0 0 14px}
.b24p-case .b24p-description img{max-width:100%;height:auto}
.b24p-case .b24p-description table{width:100%;max-width:100%}
.b24p-case .b24p-project-facts{padding-top:28px;border-top:1px solid #e0e8ed}
.b24p-case .b24p-project-facts dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;margin:0}
.b24p-case .b24p-project-facts dl>div{padding:14px 0;border-bottom:1px solid #e5ebef;min-width:0}
.b24p-case .b24p-project-facts dt{font-size:14px;font-weight:400;color:#607588;margin:0 0 5px}
.b24p-case .b24p-project-facts dd{margin:0;overflow-wrap:anywhere}
.b24p-case .b24p-archive-note{font-size:14px;color:#607588;margin:18px 0 0;max-width:80ch}
.b24p-case .b24p-related>div{display:flex;flex-wrap:wrap;gap:12px 26px}
.b24p-case .b24p-related a{font-size:16px;color:#087fb5;text-decoration:none;border-bottom:1px solid #b8d6e3;padding:3px 0}
.b24p-case .b24p-related a:hover{color:#064d70;border-bottom-color:currentColor}
@media(max-width:991px){body.b24-project-case #b24-site-header .wrap,body.b24-project-case #b24-global-nav,body.b24-project-case .page-top.maxwidth-theme,body.b24-project-case .main > .container > .row > .maxwidth-theme > .content-md,body.b24-project-case .main > .container > .row > .content-md{width:calc(100% - 40px)!important}}
@media(max-width:650px){body.b24-project-case .b24p-case .b24p-hero{grid-template-columns:1fr;gap:24px}body.b24-project-case .b24p-case .b24p-hero img{max-height:360px}.b24p-case .b24p-project-facts dl{grid-template-columns:1fr}.b24p-case .b24p-description iframe{min-height:150px}.b24p-case .b24p-related>div{flex-direction:column;align-items:flex-start}}

/* Retire the duplicate navigation from the old project template. */
body.b24-project-case .detail.projects + .row{display:none}
.b24p-case .b24p-description section:has(iframe){grid-column:1/-1}
.b24p-case .b24p-description section:has(iframe) iframe{width:calc(50% - 12px);vertical-align:top;margin-right:8px}
@media(max-width:650px){.b24p-case .b24p-description section:has(iframe) iframe{width:100%;margin-right:0}}
