/* Phones, whole site (Katie, 16 Nov 2026): shorter pages. Card rows swipe, listings are compact,
   small fact boxes sit two to a row. Laptops and desktops are unchanged. */
.nm-ps-dots{display:none}
.nm-more{display:none}
@media (min-width:769px){.nm-ps-group{display:contents}}
@media (max-width:768px){
  /* Shared swipe row */
  html body:not(#nmx):not(#nma):not(#nmb) .nm-ps.nm-ps:not(#nmx){
    display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:stretch!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;
    gap:14px!important;grid-template-columns:none!important;column-count:auto!important;
    margin-left:calc(-1 * var(--psl,20px))!important;margin-right:calc(-1 * var(--psr,20px))!important;
    padding:4px var(--psr,20px) 6px var(--psl,20px)!important;scroll-padding:0 var(--psl,20px);
    max-width:none!important;width:auto!important;height:auto!important;min-height:0!important}
  html body:not(#nmx) .nm-ps::-webkit-scrollbar{display:none}
  html body:not(#nmx):not(#nma):not(#nmb) .nm-ps.nm-ps>*:not(#nmx){flex:0 0 84%!important;max-width:84%!important;min-width:0!important;scroll-snap-align:center;scroll-snap-stop:always;margin:0!important}
  html body:not(#nmx) .nm-ps-group>.cs:not(#nmx){border:1px solid rgba(127,127,160,.22);border-radius:20px;padding:16px!important;overflow:hidden}
  .nm-ps-dots{display:flex;justify-content:center;gap:0;margin:10px auto 4px}
  .nm-ps-dots button{position:relative;width:28px;height:32px;padding:0;border:0;background:none;cursor:pointer}
  .nm-ps-dots button::before{content:"";position:absolute;left:50%;top:50%;width:8px;height:8px;margin:-4px 0 0 -4px;border-radius:8px;background:currentColor;opacity:.35;transition:width .25s ease,margin .25s ease,opacity .25s ease}
  .nm-ps-dots button.on::before{width:22px;margin-left:-11px;opacity:1;background:#6ddad7}

  /* Town pages: pictures a little shorter */
  html body:not(#nmx) .rgx .rgx-pics figure:not(#nmx){aspect-ratio:4/3!important;max-height:none!important}

  /* Listings: compact cards (picture beside the title) on the blog list and case studies list */
  html body:not(#nmx) .nr-grid .nr-card:not(#nmx),html body:not(#nmx) .nx-grid .work-card:not(#nmx){flex-direction:row!important;align-items:center!important;gap:14px!important;padding:10px!important;text-align:left!important}
  html body:not(#nmx) .nr-grid .nr-card .nr-m:not(#nmx),html body:not(#nmx) .nx-grid .work-card .wc-media:not(#nmx){flex:0 0 112px!important;width:112px!important;height:84px!important;min-height:0!important;border-radius:12px;overflow:hidden;aspect-ratio:auto!important}
  html body:not(#nmx) .nr-grid .nr-card .nr-m img:not(#nmx),html body:not(#nmx) .nx-grid .work-card .wc-media img:not(#nmx){width:100%!important;height:100%!important;object-fit:cover!important}
  html body:not(#nmx) .nr-grid .nr-card .nr-t:not(#nmx),html body:not(#nmx) .nx-grid .work-card .wc-body:not(#nmx){flex:1 1 auto!important;min-width:0!important;padding:0!important;text-align:left!important;align-items:flex-start!important}
  html body:not(#nmx) .nr-grid .nr-card .nr-t *:not(#nmx),html body:not(#nmx) .nx-grid .work-card .wc-body *:not(#nmx){text-align:left!important}
  html body:not(#nmx) .nr-grid .nr-card h3:not(#nmx),html body:not(#nmx) .nx-grid .work-card h3:not(#nmx){font-size:16px!important;line-height:1.3!important;margin:4px 0!important}
  html body:not(#nmx) .nr-grid:not(#nmx),html body:not(#nmx) .nx-grid:not(#nmx){gap:12px!important}
  html body:not(#nmx) .nx-grid .work-card .wc-arrow:not(#nmx){display:none!important}


  /* Small fact and stat boxes: two to a row */
  html body:not(#nmx) .nx-facts:not(#nmx){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body:not(#nmx) .wp-stats:not(#nmx){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}

  /* Read more on long text blocks */
  html body:not(#nmx) .nm-clamp:not(.open):not(#nmx){max-height:440px!important;overflow:hidden!important;-webkit-mask-image:linear-gradient(180deg,#000 72%,transparent);mask-image:linear-gradient(180deg,#000 72%,transparent)}
  .nm-more{display:flex;margin:14px auto 0;padding:10px 22px;min-height:44px;align-items:center;border-radius:999px;border:1.5px solid currentColor;background:transparent;color:inherit;font:inherit;font-weight:700;font-size:15px;cursor:pointer;opacity:.9}
}
