/* Sheffield photo presentation, scoped to the five M1 city pages only. */
.m1c-sheffield-style .m1c-hero {
  background: linear-gradient(135deg, #06172e, #0a3972);
}

.m1c-sheffield-style .m1c-hero-photo {
  align-self: center;
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: rgba(255, 255, 255, .08);
}

.m1c-sheffield-style .m1c-hero-photo > img {
  position: static;
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.m1c-sheffield-style .m1c-hero-photo::after {
  display: none;
}

.m1c-sheffield-style .m1c-hero-photo figcaption {
  position: static;
  padding: 13px 10px 5px;
  color: #d7e7f5;
  font-size: 13px;
  line-height: 1.6;
}

.m1c-sheffield-style .m1c-sheffield-work {
  background: #06172e;
  color: #fff;
}

.m1c-sheffield-style .m1c-sheffield-work h2 {
  color: #fff;
}

.m1c-sheffield-style .m1c-sheffield-work .m1c-kicker {
  color: #9ee6eb;
}

.m1c-sheffield-style .m1c-sheffield-work .m1c-section-heading > p {
  color: #bdd0e4;
}

.m1c-sheffield-style .m1c-sheffield-work-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.m1c-sheffield-style .m1c-sheffield-work-gallery figure {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 23px;
  background: rgba(255, 255, 255, .07);
}

.m1c-sheffield-style .m1c-sheffield-work-gallery img {
  display: block;
  height: 350px;
  border-radius: 0;
  object-position: center;
}

.m1c-sheffield-style .m1c-sheffield-work-gallery figcaption {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 18px;
  color: #c8d8e7;
  font-size: 14px;
  line-height: 1.6;
}

.m1c-sheffield-style .m1c-sheffield-work-gallery figcaption strong {
  color: #fff;
  font-size: 18px;
}

.m1c-sheffield-style .m1c-sheffield-photo-story {
  width: 100%;
}

.m1c-sheffield-style .m1c-sheffield-photo-story .sheffield-copy h2 {
  margin: 14px 0 20px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
}

.m1c-sheffield-style .m1c-sheffield-photo-story .sheffield-photos figcaption {
  padding-top: 12px;
  color: #465d70;
  font-size: 14px;
  line-height: 1.6;
}

.m1c-sheffield-style .sheffield-photo-label {
  position: absolute;
  inset: auto 0 0;
  padding: 48px 20px 20px;
  background: linear-gradient(transparent, rgba(3, 22, 20, .94));
  color: #fff;
  pointer-events: none;
  text-shadow: 0 1px 3px #000;
}

.m1c-sheffield-style .sheffield-photo-label small {
  display: block;
  font-size: 10px;
  letter-spacing: .15em;
  font-weight: 700;
  color: #bcf5d0;
}

.m1c-sheffield-style .sheffield-photo-label span {
  display: block;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  margin-top: 6px;
}

.m1c-sheffield-style .m1c-extra-photo-portrait .sheffield-photo-frame {
  background: #06172e;
}

.m1c-sheffield-style .m1c-extra-photo-portrait .sheffield-photo-frame img {
  object-fit: contain;
}

@media (max-width: 900px) {
  .m1c-sheffield-style .m1c-hero-photo > img {
    height: 360px;
  }
}

@media (max-width: 700px) {
  .m1c-sheffield-style .m1c-hero-photo {
    aspect-ratio: auto;
    padding: 6px;
    border-radius: 20px;
  }

  .m1c-sheffield-style .m1c-hero-photo > img {
    height: 245px;
    border-radius: 15px;
  }

  .m1c-sheffield-style .m1c-sheffield-work-gallery {
    grid-template-columns: 1fr;
  }

  .m1c-sheffield-style .m1c-sheffield-work-gallery img {
    height: 240px;
  }

  .m1c-sheffield-style .sheffield-photo-label {
    padding: 40px 15px 15px;
  }
}
