/* Keep project photographs in the reading order at every breakpoint. */
.sb-photo-hero,
.shell.city-heading.sb-photo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.2rem, 5vw, 4.75rem);
}
.sb-photo-hero .lead { max-width: 53ch; }
.sb-photo-hero h1 { margin-bottom: .33em; }
.sb-photo-frame {
  margin: 0;
  overflow: hidden;
  min-width: 0;
  border-bottom: 4px solid #007d77;
}
.sb-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1.46;
  object-fit: cover;
  object-position: var(--focal, 50% 50%);
}
.sb-photo-frame figcaption {
  display: block;
  background: #000;
  color: #fff;
  font-size: .81rem;
  font-weight: 600;
  line-height: 1.38;
  padding: .65rem .9rem;
}
.city-detail .split.sb-city-story { display: block; }
.sb-city-story > div { max-width: 80ch; }
.guide .sb-guide-hero { margin-bottom: 1.6rem; }
.guide .sb-guide-hero .sb-photo-frame img { aspect-ratio: 2; }
.vc-edition .vc-hero.sb-home-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #000;
}
.sb-home-photo > img, .sb-home-photo::before {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sb-home-photo > img {
  z-index: -2;
  object-fit: cover;
  object-position: 57% 51%;
}
.sb-home-photo::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg,rgba(0,0,0,.89),rgba(0,0,0,.56) 49%,rgba(0,0,0,.09)),linear-gradient(0deg,rgba(0,0,0,.43),transparent 65%);
}
@media (max-width: 760px) {
  .sb-photo-hero, .shell.city-heading.sb-photo-hero {
    grid-template-columns: minmax(0,1fr);
    gap: 1.35rem;
    padding-block: 1.75rem 2rem;
  }
  .sb-photo-hero .lead { margin-bottom: .75rem; }
  .sb-photo-frame img { aspect-ratio: 1.58; }
  .sb-home-photo > img { object-position: 62% 50%; }
  .sb-home-photo::before { background: linear-gradient(0deg,rgba(0,0,0,.92),rgba(0,0,0,.61) 60%,rgba(0,0,0,.23)); }
}
.sb-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.35rem; margin-top: 1rem; }
.sb-home-actions a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-weight: 700; }
.sb-home-actions a:not(.vc-btn) { text-decoration: underline; text-underline-offset: .2em; }
.dd-site.vc-edition .vc-bar summary { min-height: 44px; display: flex; align-items: center; padding-inline: .6rem; cursor: pointer; }
.dd-site.vc-edition .vc-bar summary::after { content: ""; width: .4rem; height: .4rem; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); margin: -.15rem 0 0 .5rem; }
.dd-site.vc-edition .vc-bar details[open] summary::after { transform: rotate(225deg); margin-top: .15rem; }
.dd-site.vc-edition { --sb-logo-width: clamp(155px,19vw,210px); }
.dd-site.vc-edition :is(.vc-bar .vc-brand, .footer-brand-row .brand) img { width: var(--sb-logo-width); max-width: 100%; height: auto; }
.dd-site.vc-edition .footer-brand-row .brand { width: auto; }
@media(max-width:640px) {
 .dd-site.vc-edition { --sb-logo-width: 128px; }
}
