/* ======================================================
   UNP — CO-OP MANCHESTER CASE STUDY
   Smaller Editorial Gallery Images
   Page: /corporate-pr-photographer-manchester-coop-case-study/
   ====================================================== */

/* Narrow the whole gallery so images feel more controlled */
.coop-manchester-case .cs-gallery-2026{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  align-items: start;
}

/* Smaller editorial image sizes */
.coop-manchester-case .cs-gal-xs{ grid-column: span 2; }
.coop-manchester-case .cs-gal-s{ grid-column: span 3; }
.coop-manchester-case .cs-gal-m{ grid-column: span 4; }
.coop-manchester-case .cs-gal-wide{ grid-column: span 5; }
.coop-manchester-case .cs-gal-tall{ grid-column: span 3; }

/* Gallery cards */
.coop-manchester-case .cs-gallery-figure{
  margin: 0 !important;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(24,22,21,.10);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.07);
}

/* Image frame */
.coop-manchester-case .cs-gallery-figure .cs-photo-media{
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: #181615;
}

/* Image sizing */
.coop-manchester-case .cs-gallery-figure img{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Tighter captions */
.coop-manchester-case .cs-gallery-figure .cs-photo-caption-wrap{
  margin: 0 !important;
  max-width: none !important;
  padding: .7rem .75rem .85rem;
  font-size: .72rem;
  line-height: 1.45;
  color: rgba(24,22,21,.66);
  background: #fff;
}

.coop-manchester-case .cs-gallery-figure .cs-photo-caption-wrap::before{
  display: none;
}

.coop-manchester-case .cs-gallery-figure .cs-photo-caption{
  margin: 0 0 .4rem;
}

.coop-manchester-case .cs-gallery-figure .cs-photo-caption strong{
  display: block;
  margin-bottom: .25rem;
  font-size: .8rem;
  line-height: 1.25;
  color: #181615;
}

.coop-manchester-case .cs-gallery-figure .cs-photo-desc{
  margin: 0;
  font-size: .68rem;
  line-height: 1.45;
  color: rgba(24,22,21,.56);
}

/* Gentle hover */
@media (hover:hover){
  .coop-manchester-case .cs-gallery-figure{
    transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
  }

  .coop-manchester-case .cs-gallery-figure img{
    transition: transform .45s ease;
  }

  .coop-manchester-case .cs-gallery-figure:hover{
    transform: translateY(-3px);
    border-color: rgba(255,75,158,.35);
    box-shadow: 0 18px 38px rgba(0,0,0,.11);
  }

  .coop-manchester-case .cs-gallery-figure:hover img{
    transform: scale(1.015);
  }
}

/* Tablet: keep 3-column rhythm where possible */
@media (max-width: 1100px){
  .coop-manchester-case .cs-gallery-2026{
    max-width: 900px;
  }

  .coop-manchester-case .cs-gal-xs,
  .coop-manchester-case .cs-gal-s,
  .coop-manchester-case .cs-gal-m,
  .coop-manchester-case .cs-gal-wide,
  .coop-manchester-case .cs-gal-tall{
    grid-column: span 4;
  }
}

/* Small tablet */
@media (max-width: 820px){
  .coop-manchester-case .cs-gal-xs,
  .coop-manchester-case .cs-gal-s,
  .coop-manchester-case .cs-gal-m,
  .coop-manchester-case .cs-gal-wide,
  .coop-manchester-case .cs-gal-tall{
    grid-column: span 6;
  }
}

/* Mobile */
@media (max-width: 700px){
  .coop-manchester-case .cs-gallery-2026{
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .coop-manchester-case .cs-gal-xs,
  .coop-manchester-case .cs-gal-s,
  .coop-manchester-case .cs-gal-m,
  .coop-manchester-case .cs-gal-wide,
  .coop-manchester-case .cs-gal-tall{
    grid-column: auto;
  }

  .coop-manchester-case .cs-gallery-figure{
    border-radius: 18px;
  }
}


/* ======================================================
UNP — MORRISONS LEEDS CASE STUDY
Portrait Hero + Smaller Editorial Gallery Images
Page: /corporate-pr-photographer-leeds-morrisons-case-study/
====================================================== */

/* ======================================================
HERO — TEXT LEFT / 2:3 PORTRAIT IMAGE RIGHT
====================================================== */

.morrisons-leeds-case .cs-hero-wrap{
display: grid;
grid-template-columns: minmax(0, 1.1fr) minmax(260px, 410px);
gap: clamp(28px, 4vw, 58px);
align-items: center;
}

.morrisons-leeds-case .cs-hero-wrap > header{
max-width: 760px;
}

.morrisons-leeds-case .cs-hero-figure--portrait{
width: 100%;
max-width: 410px;
margin: 0;
justify-self: end;
align-self: center;
background: #fff;
border: 1px solid rgba(24,22,21,.10);
border-radius: 24px;
overflow: hidden;
box-shadow: 0 22px 54px rgba(0,0,0,.13);
}

.morrisons-leeds-case .cs-hero-media--portrait{
width: 100%;
aspect-ratio: 2 / 3;
overflow: hidden;
background: #181615;
}

.morrisons-leeds-case .cs-hero-media--portrait img{
display: block !important;
width: 100% !important;
max-width: 100% !important;
height: 100% !important;
object-fit: cover !important;
object-position: center center;
}

.morrisons-leeds-case .cs-hero-figure--portrait .cs-credit-strip{
margin: 0;
padding: .85rem 1rem 1rem;
background: #fff;
color: rgba(24,22,21,.62);
font-size: .74rem;
line-height: 1.45;
border-left: 3px solid #FF4B9E;
}

/* ======================================================
GALLERY — SAME SYSTEM AS CO-OP MANCHESTER
Smaller controlled editorial gallery
====================================================== */

/* Narrow the whole gallery so images feel more controlled */
.morrisons-leeds-case .cs-gallery-2026{
max-width: 980px;
margin-left: auto;
margin-right: auto;
display: grid !important;
grid-template-columns: repeat(12, minmax(0, 1fr));
gap: clamp(12px, 1.4vw, 18px);
align-items: start;
}

/* Smaller editorial image sizes */
.morrisons-leeds-case .cs-gal-xs{ grid-column: span 2; }
.morrisons-leeds-case .cs-gal-s{ grid-column: span 3; }
.morrisons-leeds-case .cs-gal-m{ grid-column: span 4; }
.morrisons-leeds-case .cs-gal-wide{ grid-column: span 5; }
.morrisons-leeds-case .cs-gal-tall{ grid-column: span 3; }

/* Gallery cards */
.morrisons-leeds-case .cs-gallery-figure{
margin: 0 !important;
min-width: 0;
background: #fff;
border: 1px solid rgba(24,22,21,.10);
border-radius: 16px;
overflow: hidden;
box-shadow: 0 12px 28px rgba(0,0,0,.07);
}

/* Image frame */
.morrisons-leeds-case .cs-gallery-figure .cs-photo-media{
width: 100%;
aspect-ratio: 3 / 2;
overflow: hidden;
border-radius: 0;
border: 0;
box-shadow: none;
background: #181615;
}

/* Image sizing */
.morrisons-leeds-case .cs-gallery-figure img{
display: block !important;
width: 100% !important;
max-width: 100% !important;
height: 100% !important;
object-fit: cover !important;
}

/* Tighter captions */
.morrisons-leeds-case .cs-gallery-figure .cs-photo-caption-wrap{
margin: 0 !important;
max-width: none !important;
padding: .7rem .75rem .85rem;
font-size: .72rem;
line-height: 1.45;
color: rgba(24,22,21,.66);
background: #fff;
}

.morrisons-leeds-case .cs-gallery-figure .cs-photo-caption-wrap::before{
display: none;
}

.morrisons-leeds-case .cs-gallery-figure .cs-photo-caption{
margin: 0 0 .4rem;
}

.morrisons-leeds-case .cs-gallery-figure .cs-photo-caption strong{
display: block;
margin-bottom: .25rem;
font-size: .8rem;
line-height: 1.25;
color: #181615;
}

.morrisons-leeds-case .cs-gallery-figure .cs-photo-desc{
margin: 0;
font-size: .68rem;
line-height: 1.45;
color: rgba(24,22,21,.56);
}

/* Gentle hover */
@media (hover:hover){
.morrisons-leeds-case .cs-gallery-figure{
transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
}

.morrisons-leeds-case .cs-gallery-figure img{
transition: transform .45s ease;
}

.morrisons-leeds-case .cs-gallery-figure:hover{
transform: translateY(-3px);
border-color: rgba(255,75,158,.35);
box-shadow: 0 18px 38px rgba(0,0,0,.11);
}

.morrisons-leeds-case .cs-gallery-figure:hover img{
transform: scale(1.015);
}
}

/* ======================================================
RESPONSIVE
====================================================== */

/* Tablet */
@media (max-width: 1100px){
.morrisons-leeds-case .cs-hero-wrap{
grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
gap: clamp(24px, 3vw, 42px);
}

.morrisons-leeds-case .cs-hero-figure--portrait{
max-width: 340px;
}

.morrisons-leeds-case .cs-gallery-2026{
max-width: 900px;
}

.morrisons-leeds-case .cs-gal-xs,
.morrisons-leeds-case .cs-gal-s,
.morrisons-leeds-case .cs-gal-m,
.morrisons-leeds-case .cs-gal-wide,
.morrisons-leeds-case .cs-gal-tall{
grid-column: span 4;
}
}

/* Small tablet */
@media (max-width: 820px){
.morrisons-leeds-case .cs-hero-wrap{
grid-template-columns: 1fr;
}

.morrisons-leeds-case .cs-hero-figure--portrait{
justify-self: start;
max-width: min(360px, 100%);
}

.morrisons-leeds-case .cs-gal-xs,
.morrisons-leeds-case .cs-gal-s,
.morrisons-leeds-case .cs-gal-m,
.morrisons-leeds-case .cs-gal-wide,
.morrisons-leeds-case .cs-gal-tall{
grid-column: span 6;
}
}

/* Mobile */
@media (max-width: 700px){
.morrisons-leeds-case .cs-gallery-2026{
grid-template-columns: 1fr;
max-width: 100%;
}

.morrisons-leeds-case .cs-gal-xs,
.morrisons-leeds-case .cs-gal-s,
.morrisons-leeds-case .cs-gal-m,
.morrisons-leeds-case .cs-gal-wide,
.morrisons-leeds-case .cs-gal-tall{
grid-column: auto;
}

.morrisons-leeds-case .cs-gallery-figure{
border-radius: 18px;
}
}

@media (max-width: 560px){
.morrisons-leeds-case .cs-hero-figure--portrait{
max-width: 100%;
border-radius: 22px;
}

.morrisons-leeds-case .cs-hero-figure--portrait .cs-credit-strip{
font-size: .7rem;
}
}


/* ======================================================
   UNP — PROFESSIONAL PHOTOGRAPHERS / COMMUNICATIONS
   Mixed-orientation image preservation
   Scope: this Insight only
   ====================================================== */

#unp-professional-photographers-communications-insight{
  overflow-x:hidden;
}

#unp-professional-photographers-communications-insight
.unp-insight-gallery__grid{
  align-items:start;
}

#unp-professional-photographers-communications-insight
.unp-insight-gallery__item{
  align-self:start;
  min-width:0;
  height:auto;
}

/* Landscape originals — 1600 × 1067 */
#unp-professional-photographers-communications-insight
.unp-insight-gallery__frame--landscape,
#unp-professional-photographers-communications-insight
.unp-insight-gallery__item--landscape
.unp-insight-gallery__frame{
  aspect-ratio:1600 / 1067;
}

/* Portrait originals — 1067 × 1600 */
#unp-professional-photographers-communications-insight
.unp-insight-gallery__frame--portrait,
#unp-professional-photographers-communications-insight
.unp-insight-gallery__item--portrait
.unp-insight-gallery__frame{
  aspect-ratio:1067 / 1600;
}

#unp-professional-photographers-communications-insight
.unp-insight-gallery__frame img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

/* ======================================================
   CENTRAL LONDON EVENT INSIGHT — MIXED ORIENTATION FIX
   Forces 3:2 landscape and 2:3 portrait frames
   ====================================================== */

#unp-central-london-event-coverage-insight
.unp-insight-gallery--central-london-event
.unp-insight-gallery__item--landscape
.unp-insight-gallery__frame {
  aspect-ratio: 3 / 2 !important;
}

#unp-central-london-event-coverage-insight
.unp-insight-gallery--central-london-event
.unp-insight-gallery__item--portrait
.unp-insight-gallery__frame {
  aspect-ratio: 2 / 3 !important;
}

#unp-central-london-event-coverage-insight
.unp-insight-gallery--central-london-event
.unp-insight-gallery__frame {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

#unp-central-london-event-coverage-insight
.unp-insight-gallery--central-london-event
.unp-insight-gallery__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   UNP BUSINESS HEADSHOTS - PHOTO RHYTHM v2.0
   Page modifier for /business-headshot-photographer/ only.
   Load AFTER UNP Service Page System Master v1.4.2.
   Keep the shared master, CTA material and floating CTA behaviour.
   No Insight classes, masonry, image cropping or CSS reordering.
   ============================================================ */

/* Preserve the supplied photograph, including its native orientation.
   Width/height attributes on each IMG reserve its intrinsic proportions. */
.unp-service-page--headshots .unp-service-hero__frame,
.unp-service-page--headshots .unp-service-figure__media {
  aspect-ratio: auto;
  height: auto;
}

.unp-service-page--headshots .unp-service-hero__frame img,
.unp-service-page--headshots .unp-service-figure__media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.unp-service-page--headshots .unp-headshot-photo {
  align-self: start;
  min-width: 0;
  height: auto;
}

.unp-service-page--headshots .unp-headshot-image-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.unp-service-page--headshots .unp-headshot-image-link:focus-visible {
  outline: 3px solid var(--usp-ink, #181615);
  outline-offset: -4px;
  border-radius: inherit;
}

/* A short title, credit and useful visible description on each figure. */
.unp-service-page--headshots .unp-service-caption {
  color: var(--usp-muted, #625f5d);
  font-size: .84rem;
  line-height: 1.55;
}

.unp-service-page--headshots .unp-service-caption__title {
  font-size: .86rem;
  line-height: 1.4;
  margin-bottom: .25rem;
}

.unp-service-page--headshots .unp-headshot-description {
  display: block;
  margin-top: .25rem;
  color: var(--usp-muted, #625f5d);
}

.unp-service-page--headshots .unp-headshot-view-note {
  max-width: 66ch;
  margin: 0 0 1.35rem;
  color: var(--usp-muted, #625f5d);
  font-size: .9rem;
  line-height: 1.6;
}

/* Local spacing only: the parent system owns the page's section rhythm. */
.unp-service-page--headshots .unp-headshot-display,
.unp-service-page--headshots .unp-headshot-grid {
  margin-top: clamp(1.7rem, 3vw, 2.8rem);
}

.unp-service-page--headshots .unp-headshot-view-note + .unp-headshot-grid,
.unp-service-page--headshots .unp-service-portfolio__header + .unp-headshot-grid {
  margin-top: 0;
}

.unp-service-page--headshots .unp-service-answer + .unp-service-body {
  margin-top: 1rem;
}

.unp-service-page--headshots .unp-service-compliance__grid + .unp-service-body {
  margin-top: 1.25rem;
}

/* Compact comparison groups, inspired by the small-image archive rhythm.
   The DOM stays in 01-44 order. Rows never backfill or reshuffle images. */
.unp-service-page--headshots .unp-headshot-grid {
  display: grid;
  width: min(100%, 70rem);
  margin-inline: auto;
  gap: clamp(1rem, 1.6vw, 1.45rem);
  align-items: start;
}

.unp-service-page--headshots .unp-headshot-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.unp-service-page--headshots .unp-headshot-grid--four {
  width: min(100%, 66rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.unp-service-page--headshots .unp-headshot-grid--three {
  width: min(100%, 60rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.unp-service-page--headshots .unp-headshot-grid > .unp-service-figure--portrait {
  width: 82%;
  justify-self: center;
}

.unp-service-page--headshots .unp-headshot-grid .unp-service-caption {
  font-size: .79rem;
  line-height: 1.55;
}

.unp-service-page--headshots .unp-headshot-grid .unp-service-caption__title {
  font-size: .81rem;
}

/* The full contact sheet opens from the image, without a lightbox script. */
.unp-service-page--headshots .unp-headshot-contact-sheet {
  width: min(100%, 64rem);
  margin-inline: auto;
}

/* Keep the ten legacy illustrations at the end, in a restrained scale. */
.unp-service-page--headshots .unp-headshot-legacy .unp-service-compose--feature {
  width: min(100%, 48rem);
}

.unp-service-page--headshots .unp-headshot-legacy .unp-service-compose--portrait-trio {
  width: min(100%, 56rem);
}

.unp-service-page--headshots .unp-headshot-archive-description {
  display: block;
  margin-top: .45rem;
  color: var(--usp-muted, #625f5d);
  font-size: .8rem;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .unp-service-page--headshots .unp-headshot-grid--five,
  .unp-service-page--headshots .unp-headshot-grid--four {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .unp-service-page--headshots .unp-headshot-grid > .unp-service-figure--portrait {
    width: 80%;
  }
}

@media (max-width: 760px) {
  .unp-service-page--headshots .unp-headshot-grid--five,
  .unp-service-page--headshots .unp-headshot-grid--four,
  .unp-service-page--headshots .unp-headshot-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unp-service-page--headshots .unp-headshot-grid > .unp-service-figure--portrait {
    width: 88%;
  }

  .unp-service-page--headshots .unp-headshot-grid .unp-service-caption,
  .unp-service-page--headshots .unp-headshot-grid .unp-service-caption__title {
    font-size: .86rem;
  }
}

@media (max-width: 520px) {
  .unp-service-page--headshots .unp-headshot-grid--five,
  .unp-service-page--headshots .unp-headshot-grid--four,
  .unp-service-page--headshots .unp-headshot-grid--three {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.9rem;
  }

  .unp-service-page--headshots .unp-headshot-grid > .unp-service-figure--portrait {
    width: min(86%, 24rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .unp-service-page--headshots .unp-headshot-image-link,
  .unp-service-page--headshots .unp-headshot-image-link img {
    transition: none;
    transform: none;
  }
}

@media (forced-colors: active) {
  .unp-service-page--headshots .unp-headshot-image-link:focus-visible {
    outline-color: Highlight;
  }
}

/* Long headshot-specific CTA wording must still fit a narrow screen.
   Wrapping/layout only: the shared material, colour and animation stay owned
   by the global CTA systems. No positioning or movement values are changed. */
@media (max-width: 760px) {
  .unp-service-page--headshots #es-floating-cta {
    width: max-content;
    max-width: calc(100vw - 2.2rem);
  }

  .unp-service-page--headshots .unp-float-cta,
  .unp-service-page--headshots .unp-service-utility-cta .unp-pill,
  .unp-service-page--headshots .unp-service-stay-informed .unp-pill,
  .unp-service-page--headshots .unp-final-cta .unp-pill {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .unp-service-page--headshots .unp-float-cta > span,
  .unp-service-page--headshots .unp-pill > span:first-child {
    min-width: 0;
  }
}

