/* ERA Canada · photo heroes for nine pages (Astra's concepts of 2026-11-23, concepts/review/2026-11-23-page-heroes).
   The first part is the concepts' shared heroes.css, unchanged. The last part adapts it to the live pages, whose
   wrappers are named differently from the concept shell. Loaded only on the pages that carry a photo hero. */
/* Local photo treatments on the existing page bodies. */
body .photo-page .photo-hero {
  --space: max(28px, calc((100vw - 1260px) / 2));
  --cut: clamp(14px, 2vw, 40px);
  --navy: #103f60;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  isolation: isolate;
  background: #fff;
  color: #102c3a;
  font-family: Inter, "Segoe UI", sans-serif;
}
body .photo-page .photo-copy {
  min-width: 0;
  align-self: center;
  padding: clamp(32px, 5vw, 76px) clamp(24px, 4vw, 64px) clamp(32px, 5vw, 76px) var(--space);
}
body .photo-page .photo-copy h1 {
  margin: 0;
  font-size: clamp(42px, 5vw, 82px);
  color: var(--navy);
  font-weight: 800;
  line-height: .99;
  letter-spacing: -.05em;
  text-align: left;
  text-wrap: balance;
}
body .photo-page .photo-copy h1 span { color: #2f741e; }
body .photo-page .photo-copy :is(.ec-eyebrow, .gt-kicker, .cp-kicker) {
  display: block;
  color: #28631d;
  font: 750 12px/1.4 Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 18px;
}
body .photo-page .photo-frame {
  position: relative;
  margin: 0;
  min-height: clamp(330px, 38vw, 580px);
  background: #78b941;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%);
}
body .photo-page .photo-frame > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 45%);
  clip-path: polygon(calc(var(--cut) + 4px) 0, 100% 0, 100% 100%, 4px 100%);
}
body .photo-page .photo-copy :is(.ec-intro, .cp-lead) {
  margin: 20px 0 24px;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
  max-width: 45ch;
  color: #344f5d;
}
body .photo-page .photo-carbon figcaption {
  position: absolute;
  inset: auto 20px 22px auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100% - 48px);
  padding: 12px 16px;
  background: white;
  color: #103f60;
  box-shadow: none;
  border-radius: 2px;
  transform: none;
}
body .photo-page .photo-carbon figcaption strong,
body .photo-page .photo-carbon figcaption div > span { display: block; font-size: 13px; line-height: 1.4; }
body .photo-page .photo-links { background: #103f60; }
body .photo-page .photo-links h1 { color: white; }
body .photo-page .photo-links .lk-jump { margin: 22px 0 0; max-width: 32rem; }
body .photo-page .photo-links .lk-jump li { min-height: 0; }
body .photo-page .photo-links .lk-jump a { min-height: 40px; }
body .photo-page .photo-archive .gt-meta { margin: 28px 0 0; }
body .photo-page .photo-payment .photo-frame {
  display: grid;
  place-items: center;
}
body .photo-page .photo-payment .photo-frame > img { filter: brightness(.6); }
body .photo-page .photo-payment .cp-frame {
  position: relative;
  width: fit-content;
  padding: 16px;
  background: #fff;
}
body .photo-page .photo-payment .cp-qr { width: clamp(182px, 19vw, 283px); height: auto; }
body .photo-page .photo-thanks h2 {
  margin: 24px 0 10px;
  color: #17425c;
  font-size: clamp(18px, 1.7vw, 25px);
  line-height: 1.2;
  letter-spacing: -.015em;
}
body .photo-page .photo-thanks h3 {
  margin: 0 0 24px;
  color: #425964;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  font-weight: 450;
}
body.app-delivery-booking main.photo-page {
  padding-top: 0;
}
body .photo-page .photo-booking {
  margin-inline: calc(-1 * clamp(16px, 4vw, 48px));
  margin-bottom: 26px;
  background: #eff5f8;
}
body .photo-page .photo-booking .photo-frame {
  min-height: clamp(182px, 20vw, 292px);
  --focus: 50% 52%;
}
body .photo-page .photo-booking h1,
body .photo-page .photo-legal h1 { font-size: clamp(35px, 3.9vw, 62px); }
body .photo-page .photo-legal {
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  background: #f0f5f8;
}
body .photo-page .photo-legal .photo-copy { padding-block: clamp(24px, 3vw, 50px); }
body .photo-page .photo-legal .photo-frame { min-height: clamp(144px, 14vw, 228px); }
body .photo-page .photo-legal .ck-date { margin: 14px 0 0; font-size: 15px; max-width: 63ch; line-height: 1.5; }
@media (max-width: 760px) {
  body .huft-modern .huft-hero-photo {
    grid-row: 1;
    order: -1;
    min-height: 0;
    height: clamp(195px, 55vw, 300px);
  }
  body .huft-modern .huft-hero-photo img { object-position: 50% 25%; }
  body .photo-page .photo-hero { grid-template-columns: 1fr; --space: 22px; }
  body .photo-page .photo-copy { padding: 26px var(--space) 30px; }
  body .photo-page .photo-frame {
    grid-row: 1;
    min-height: 0;
    height: clamp(165px, 51vw, 315px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 0 100%);
  }
  body .photo-page .photo-frame > img {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), 0 calc(100% - 3px));
  }
  body .photo-page .photo-payment .photo-frame { grid-row: 2; height: 260px; }
  body .photo-page .photo-payment .cp-frame { padding: 10px; }
  body .photo-page .photo-legal .photo-frame { height: 68px; min-height: 0; }
  body .photo-page .photo-booking .photo-frame { height: 120px; min-height: 0; }
  body .photo-page .photo-carbon figcaption { right: 12px; bottom: 18px; padding: 6px 10px; font-size: 11px; }
}
@media (max-width: 640px) {
  body .photo-page .photo-booking { margin-inline: 0; }
}

/* ---------- Live pages ---------- */
/* Delivery Booking: the concept shell marks the page with body.app-delivery-booking and puts the hero straight inside
   <main>; on the live site the page is marked by its own address (body.era-delivery-booking) and the hero sits in a
   wrapper printed before the booking block. */
body.era-delivery-booking main.era-page-content{padding-top:0}
/* Cookie Policy: the "last changed" line is printed by Complianz and moved into the hero by the theme. */
body .photo-page .photo-legal .ck-date[hidden]{display:none}
body .photo-page .photo-legal .ck-date i{font-style:italic}
/* Delivery Booking on wide windows: the concept's fixed 292px band crops the truck so that the top line of its sign
   ("PICK-UP SERVICES") is cut at 1920px and wider. From 1600px the band grows a little and the picture is held higher,
   so the whole sign stays in view. Narrower windows are exactly the concept. */
@media (min-width:1600px){
  body .photo-page .photo-booking .photo-frame{min-height:clamp(292px,15.5vw,400px);--focus:50% 36%}
}
