/* =====================================================================
   THE PLACES BAND — photographs with a location under each
   ---------------------------------------------------------------------
   A slow horizontal band, same movement as the Trusted By strip so the
   site has one motion language rather than two. Pure CSS: the markup
   carries each photo twice, and the track travels exactly half its
   width, so the loop is seamless with no JavaScript.

   Defines no colour of its own beyond the navy ground it sits on.
   ===================================================================== */
.mz-places{
  background:var(--navy-deep)!important;
  padding:54px 0 58px!important;
  position:relative;overflow:hidden;
}
.mz-places::before{
  content:"";position:absolute;left:0;right:0;top:0;height:4px;
  background:linear-gradient(90deg,var(--saffron) 0 33.33%,var(--teal) 33.33% 66.66%,var(--berry) 66.66% 100%);
}
.mz-places .mz-places-lbl{
  color:var(--saffron)!important;
  font-family:var(--sans);font-size:11px;font-weight:600;
  letter-spacing:.22em;text-transform:uppercase;
  display:flex;align-items:center;justify-content:center;gap:16px;
  margin:0 0 10px!important;
}
.mz-places .mz-places-lbl::before,
.mz-places .mz-places-lbl::after{
  content:"";height:1px;width:46px;background:rgba(242,177,52,.5);
}
.mz-places h2{
  color:#F4F7FA!important;text-align:center;
  font-size:clamp(1.5rem,2.4vw,2.05rem)!important;line-height:1.14!important;
  margin:0 0 30px!important;
}
.mz-places .mz-places-sub{
  color:rgba(244,247,250,.76)!important;text-align:center;
  max-width:620px;margin:-20px auto 32px!important;font-size:15.5px;line-height:1.62;
}

.mz-places-track{overflow:hidden;position:relative}
.mz-places-run{
  display:flex;flex-wrap:nowrap;width:max-content;gap:22px;
  animation:mz-places-run 58s linear infinite;
  will-change:transform;
}
.mz-places:hover .mz-places-run,
.mz-places:focus-within .mz-places-run{animation-play-state:paused}
@keyframes mz-places-run{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.mz-places figure{
  flex:0 0 232px;max-width:232px;margin:0;
}
.mz-places img{
  display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;
  background:#0F2342;
  border-top:3px solid var(--saffron);
  box-shadow:7px 7px 0 0 var(--saffron);
  transition:transform .18s ease, box-shadow .18s ease;
}
.mz-places figure:nth-child(3n+2) img{border-top-color:var(--teal);box-shadow:7px 7px 0 0 var(--teal)}
.mz-places figure:nth-child(3n) img{border-top-color:var(--berry);box-shadow:7px 7px 0 0 var(--berry)}
.mz-places figure:hover img{transform:translate(4px,4px);box-shadow:3px 3px 0 0 var(--saffron)}
.mz-places figure:nth-child(3n+2):hover img{box-shadow:3px 3px 0 0 var(--teal)}
.mz-places figure:nth-child(3n):hover img{box-shadow:3px 3px 0 0 var(--berry)}

.mz-places figcaption{
  margin-top:14px;font-family:var(--sans);
  font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:rgba(244,247,250,.82)!important;
}

/* the band runs the full width of the screen, not the text column */
.mz-places .mz-places-track{margin-inline:calc(50% - 50vw);padding-inline:0}
.mz-places .mz-places-track::before,
.mz-places .mz-places-track::after{
  content:"";position:absolute;top:0;bottom:0;width:90px;z-index:2;pointer-events:none;
}
.mz-places .mz-places-track::before{left:0;background:linear-gradient(90deg,var(--navy-deep),transparent)}
.mz-places .mz-places-track::after{right:0;background:linear-gradient(270deg,var(--navy-deep),transparent)}

@media(max-width:640px){
  .mz-places figure{flex:0 0 176px;max-width:176px}
  .mz-places .mz-places-track::before,
  .mz-places .mz-places-track::after{width:44px}
}
@media(prefers-reduced-motion:reduce){
  .mz-places-run{animation:none;flex-wrap:wrap;width:auto;justify-content:center}
  .mz-places figure:nth-child(n+6){display:none}      /* hide the duplicate set */
  .mz-places .mz-places-track::before,
  .mz-places .mz-places-track::after{display:none}
  .mz-places .mz-places-track{margin-inline:0}
}

/* the link sits inside the navy band, where a site-wide rule was painting it
   near-black on navy — unreadable */
.mz-places .mz-places-more a{color:#F4F7FA!important}

/* the link through to /in-the-field/. It was styled in field.css, which only
   the destination page loads, so on /about/ it was rendering unstyled. */
.mz-places-more{text-align:center!important;margin:-14px 0 30px!important}
.mz-places-more a{
  font-family:var(--sans);font-size:12px;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;
  color:#F4F7FA!important;border-bottom:1px solid var(--saffron);
  padding-bottom:3px;text-decoration:none;
}
.mz-places-more a:hover{border-bottom-width:2px}
