/* Shared photographic title bands. The image is illustrative; headings stay HTML. */
.subhero.with-photo {
  width: 100%;
  margin: 0;
  border-radius: 0;
  min-height: 350px;
  padding: 158px 0 52px;
  background: #f7f8f5;
}
.subhero.with-photo .container { width: 90%; }
.subhero.with-photo .subhero-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 1;
}
.subhero.with-photo::after {
  background: linear-gradient(90deg, #fffffffa 10%, #fffffff0 35%, #ffffffb8 58%, #ffffff12 100%);
}
.subhero.with-photo h1 {
  max-width: 920px;
  margin: 0 0 16px;
  color: #242422;
  font-family: Poppins, Manrope, Arial, sans-serif;
  font-size: clamp(2.125rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.035em;
}
.subhero.with-photo .breadcrumb {
  margin: 0;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.5;
  color: #4c594e;
}
.subhero.with-photo p {
  max-width: 65ch;
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.625;
  color: #4c594e;
}
.error-page { padding: 48px 5% 80px; }
@media (max-width: 360px) {
  .site-header { padding-inline: 12px 8px; gap: 8px; }
  .brand, .brand img { width: 112px; height: auto; }
  .header-tools { gap: 4px; }
  .menu-toggle { min-width: 44px; min-height: 44px; padding: 8px; }
}
@media (max-width: 767px) {
  .subhero.with-photo { min-height: 290px; padding: 120px 0 40px; }
  .subhero.with-photo .container { width: calc(100% - 40px); }
  .subhero.with-photo h1 { font-size: 2.125rem; }
  .subhero.with-photo .breadcrumb { font-size: .8125rem; gap: 7px; }
  .subhero.with-photo .subhero-photo { object-position: 72% center; }
  .subhero.with-photo::after { background: linear-gradient(90deg, #fffffff5, #ffffffdc 60%, #ffffff7a); }
}
