/* Approved project opening. Selectors intentionally exclude the projects index. */
:root{--sc-approved-hero-height:clamp(448px,calc(140svh - 756px),1260px)}
.sc-project-refresh.scr-project-detail>.scr-hero,
body:is(.project-details,.projects-refresh) main>#hero>.project-wrapper{
 box-sizing:border-box;position:relative;width:100%;height:var(--sc-approved-hero-height);
 min-height:0;max-height:none;aspect-ratio:auto;margin:0 0 16px;padding:0;overflow:hidden;
}
.sc-project-refresh.scr-project-detail>.scr-hero>img{
 position:absolute;inset:0;display:block;width:100%;height:100%;max-width:100%!important;min-height:0;
 max-height:none;aspect-ratio:auto;margin:0;object-fit:cover;object-position:50% 50%;
}
.sc-project-refresh.scr-project-detail>.scr-project-head{padding:40px 0;gap:20px}
.sc-project-refresh.scr-project-detail>.scr-project-head h1{font-size:40px;line-height:44px;max-width:none}
.sc-project-refresh.scr-project-detail .scr-breadcrumbs{font-size:13px;line-height:18px}
.sc-project-refresh.scr-project-detail .scr-project-meta{font-size:16px;line-height:22px}
/* Remove the opening tabs as in the reviewed option. Gallery remains accessible below. */
.sc-project-refresh.scr-project-detail>.scr-anchorbar{display:none}
.sc-project-refresh.scr-project-detail>.scr-facts{padding-top:24px}
/* Reviewed crops keep the intended structural feature in view. */
.scr-project-detail>.scr-hero>img[data-source-asset*="assembly-studios-completed-grid-soffit"]{object-position:50% 100%}
.scr-project-detail>.scr-hero>img[data-source-asset*="waiea"]{object-position:50% 65%}
/* Legacy Calgary uses a background hero. All details remain in its original block below. */
body:is(.project-details,.projects-refresh) main>#hero{max-width:1440px;margin-inline:auto;height:auto;min-height:0;max-height:none}
body:is(.project-details,.projects-refresh) main>#hero>.project-wrapper{background-size:cover;background-position:50% 50%}
body:is(.project-details,.projects-refresh) main>#hero>.project-wrapper>.detail-wrapper{display:none}
body:is(.project-details,.projects-refresh) #content .section.heading{padding-block:40px}
body:is(.project-details,.projects-refresh) #content .section.heading h1{font-size:40px;line-height:44px;margin:20px 0 28px}
body:is(.project-details,.projects-refresh) #content .breadcrumb{font-size:13px;line-height:18px;margin:0}
@media(max-width:1488px){
 .sc-project-refresh.scr-project-detail>.scr-project-head{padding-inline:24px}
}
@media(max-width:1040px){
 :root{--sc-approved-hero-height:clamp(378px,calc(140svh - 756px),1120px)}
 .sc-project-refresh.scr-project-detail>.scr-project-head{padding-block:32px;gap:18px}
 .sc-project-refresh.scr-project-detail>.scr-project-head h1{font-size:34px;line-height:38px}
}
@media(max-width:700px){
 :root{--sc-approved-hero-height:clamp(322px,calc(140svh - 700px),896px)}
 .sc-project-refresh.scr-project-detail>.scr-project-head{padding-block:24px;gap:16px}
 .sc-project-refresh.scr-project-detail>.scr-project-head h1{font-size:28px;line-height:31px}
 .sc-project-refresh.scr-project-detail .scr-breadcrumbs{font-size:12px;line-height:16px}
 .sc-project-refresh.scr-project-detail .scr-project-meta{font-size:14px;line-height:20px}
 .sc-project-refresh.scr-project-detail>.scr-facts{padding-top:20px}
 body:is(.project-details,.projects-refresh) #content .section.heading{padding-block:24px}
 body:is(.project-details,.projects-refresh) #content .section.heading h1{font-size:28px;line-height:31px;margin:16px 24px 24px}
 body:is(.project-details,.projects-refresh) #content .breadcrumb{margin-inline:24px}
}
@media(max-width:360px){
 :root{--sc-approved-hero-height:clamp(168px,calc(140svh - 756px),784px)}
 .sc-project-refresh.scr-project-detail>.scr-project-head h1{font-size:26px;line-height:29px}
}
/*
 * Homepage-only spacing normalization.
 * Load after sc-homepage.css, or fold these values into its existing rules.
 */
.sch-home .sch-work {
  padding: 80px 0 40px;
}

.sch-home .sch-journal {
  padding: 40px 0 80px;
}

@media (max-width: 767px) {
  .sch-home .sch-work {
    padding: 56px 0 28px;
  }

  .sch-home .sch-journal {
    padding: 28px 0 56px;
  }
}
/* Smaller decorative arrows; link text and interactive controls retain their size. */
body :is(a,button) .sc-link-arrow{display:inline-block;font-size:clamp(10px,.6em,12px)!important;font-weight:400;line-height:1;vertical-align:.04em}
body .sc-search-result-arrow{font-size:12px}
.scr-project-detail[data-source-id="271f84e8-fdf1-4f2f-807a-41ef7c1fb743"]>.scr-hero>img{object-position:50% 47%}
.scr-project-detail[data-source-id="0973874b-9bda-481d-aa32-7147150424fd"]>.scr-hero>img{object-position:50% 55%}

/* Press outlets remain subordinate to article titles on desktop and mobile. */
.sc-project-refresh .scr-press-grid > article > div {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
