/* Single project. Layout, breadcrumb, related projects and spacing are Blocksy's (Customizer > Projects); this file styles the photo with the title and
   the three facts in front of the text, and the gallery after it. */
body.single-project { background: #fff; }
body.single-project #main-container > main { padding-block-start: clamp(96px, 7vw, 128px); background: #fff; }
.hm-phero, .hm-pgal { position: relative; }
.hm-phero { overflow: hidden; background: #1a1a1a; color: #fff; margin-top: 24px; }
.hm-phero { min-height: clamp(360px, 36vw, 560px); display: grid; }
.hm-phero .hm-phero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hm-phero__caption { position: relative; display: flex; align-items: center; padding-block: 48px; background: rgba(0, 0, 0, .5); }
.hm-phero__inner { width: 100%; padding-inline: clamp(16px, 3vw, 48px); }
.hm-phero__inner > * { max-width: 560px; }
.hm-phero__title { margin: 0 0 24px; color: #fff; font: 800 clamp(26px, 3vw, 42px) / 1.15 var(--hm-font-display, inherit); text-transform: uppercase; }
.hm-pfacts { display: grid; gap: 20px; }
.hm-pfact { display: flex; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.hm-pfact:last-child { padding-bottom: 0; border-bottom: 0; }
.hm-pfact__icon { flex: none; width: 40px; height: 40px; object-fit: contain; }
.entry-content .hm-phero .hm-pfact__label { display: block; margin: 0; font-size: 18px; line-height: 1.3; }
.entry-content .hm-phero .hm-pfact__value { margin: 6px 0 0; line-height: 1.4; }
.hm-phero--plain { background: var(--hm-bg-brand, var(--theme-palette-color-1)); min-height: 0; }
.hm-phero--plain .hm-phero__caption { background: none; padding-block: 56px; }
.hm-pbody { margin-top: 32px; }
.entry-content .hm-pgal { max-width: none; width: 100vw; margin: 48px calc(50% - 50vw) 0; padding: 56px 0 40px; background: #f6f6f6; }
body.single-project { overflow-x: clip; }
.hm-pgal__inner { width: min(var(--theme-normal-container-max-width, 1290px), calc(100% - 32px)); margin-inline: auto; }
.entry-content .hm-pgal__title { margin: 0 0 32px; text-align: center; text-transform: uppercase; font: 700 calc(20.66 * var(--hm-m)) / 1.4 var(--hm-font-display, inherit); color: inherit; }
.entry-content .hm-pmore { margin-top: 48px; padding: 0; }
@container hm (min-width: 1200px) { .entry-content .hm-pgal__title { font-size: calc(39.36 * var(--hm-u)); } }
/* Centred slider: the current photo is wide, the neighbours show at the sides (hm-ui.js sets centred slides). */
.hm-pgal .hm-carousel { column-gap: 16px; }
.hm-pgal .swiper-slide { width: 80%; }
.hm-pgal__item img { display: block; width: 100%; aspect-ratio: 920 / 517; object-fit: cover; border-radius: 16px; }
.hm-pgal .hm-carousel__dots { margin-top: 20px; gap: 6px; }
.hm-pgal .hm-carousel__dot { width: 20px; height: 20px; }
@media (min-width: 1024px) {
	.hm-pgal .hm-carousel { column-gap: 40px; }
	.hm-pgal .swiper-slide { width: min(920px, 66%); }
	.hm-pgal .hm-carousel__dots { margin-top: 28px; }
}
.hm-pwall { columns: 3 260px; column-gap: 16px; margin-top: 32px; }
.hm-pwall__item { display: block; margin-bottom: 16px; break-inside: avoid; }
.hm-pwall__item img { display: block; width: 100%; height: auto; border-radius: 12px; }
.hm-pfact > div { display: grid; gap: 6px; align-content: start; }
.entry-content .hm-phero .hm-pfact__value { margin: 0 !important; }
.entry-content .hm-pgal__title, .entry-content .hm-pmore .hm-featured__title { color: #000; }
.hm-pmore .hm-fp { margin-top: calc(29 * var(--hm-m)); }
@container hm (min-width: 1200px) { .hm-pmore .hm-fp { margin-top: calc(40 * var(--hm-u)); } }
