/*
 * ZNJ square horizontal cards — 1:1 width/height across desktop and mobile.
 * Overrides legacy fixed card heights without editing/replacing approved photos.
 * Photos are CONTAINED, not cropped. Long card copy and expanded scope details
 * scroll inside the square, rather than disappearing under overflow:hidden.
 * Scope: horizontal editorial rails only, never full-height sheet/hero panels.
 */

/* Landscape category pages: service, gallery, process and capability rails. */
@media (min-width:901px) {
  body.znj-expertise .znj-exp-desktop {
    --znj-square: min(27vw, 45svh, 385px);
  }
  body.znj-expertise .znj-exp-desktop .znj-exp-rail > :is(
    .znj-exp-photo-card,.znj-exp-gallery-card,.znj-exp-capability-card,.znj-exp-process-card
  ) {
    flex:0 0 var(--znj-square)!important;
    width:var(--znj-square)!important;
    height:var(--znj-square)!important;
    min-height:0!important;
    max-height:none!important;
    max-width:none!important;
    aspect-ratio:1 / 1!important;
    box-sizing:border-box!important;
    align-self:flex-start!important;
  }
  body.znj-expertise .znj-exp-desktop .znj-exp-rail > :is(
    .znj-exp-capability-card,.znj-exp-process-card
  ) {
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
  }
  body.znj-expertise .znj-exp-desktop .znj-exp-rail :is(.znj-exp-photo-card,.znj-exp-gallery-card) {
    overflow:hidden!important;
  }
}

/* Portrait category pages: independently sized 1:1 square cards.
 * The bottom dock and headings retain their own viewport space. */
@media (max-width:900px) {
  body.znj-expertise .znj-exp-mobile {
    --znj-square:min(77vw, 48svh, 340px);
  }
  body.znj-expertise .znj-exp-mobile .znj-exp-m-rail > :is(
    .znj-exp-m-photo-card,.znj-exp-m-gallery-card,.znj-exp-m-cap-card,.znj-exp-m-process-card
  ) {
    flex:0 0 var(--znj-square)!important;
    width:var(--znj-square)!important;
    height:var(--znj-square)!important;
    max-width:none!important;
    max-height:none!important;
    min-height:0!important;
    aspect-ratio:1 / 1!important;
    box-sizing:border-box!important;
    align-self:flex-start!important;
  }
  body.znj-expertise .znj-exp-mobile .znj-exp-m-rail > :is(
    .znj-exp-m-cap-card,.znj-exp-m-process-card
  ) {
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
  }
  body.znj-expertise .znj-exp-mobile .znj-exp-m-rail > :is(
    .znj-exp-m-photo-card,.znj-exp-m-gallery-card
  ) {
    overflow:hidden!important;
  }
  body.znj-expertise .znj-exp-m-process-card h3 {
    margin-top:clamp(14px,3svh,28px)!important;
  }
}

/* Show the WHOLE photo. Letterboxing is preferable to cropping original
 * work, faces, artwork or captions. The dark media background fills gaps. */
body.znj-expertise .znj-expertise :is(
  .znj-exp-photo-card,.znj-exp-gallery-card,.znj-exp-m-photo-card,.znj-exp-m-gallery-card
) {
  background:#151c19!important;
}
body.znj-expertise .znj-expertise :is(
  .znj-exp-photo-card,.znj-exp-gallery-card,.znj-exp-m-photo-card,.znj-exp-m-gallery-card
) > img {
  object-fit:contain!important;
  object-position:center!important;
  width:100%!important;
  height:100%!important;
  transform:none!important;
}
body.znj-expertise .znj-expertise :is(
  .znj-exp-capability-card,.znj-exp-m-cap-card
) > p {
  overflow-wrap:anywhere;
}
body.znj-expertise .znj-expertise :is(
  .znj-exp-capability-card,.znj-exp-m-cap-card
):focus-within {
  scrollbar-color:#dbb981 #292c28;
}

/* Existing /services/{slug} detail scope cards. */
.znj-service-scope-rail > .znj-service-scope-card {
  --znj-square:min(78vw, 355px);
  flex:0 0 var(--znj-square)!important;
  width:var(--znj-square)!important;
  height:var(--znj-square)!important;
  max-width:none!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1 / 1!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain;
  scrollbar-width:thin;
  align-self:flex-start!important;
  box-sizing:border-box;
}
@media (min-width:901px) {
  .znj-service-scope-rail > .znj-service-scope-card {
    --znj-square:min(26vw, 390px);
  }
}

/* Home: category service cards are square AS A WHOLE, with a separate
 * photograph and readable scrolling content panel. */
@media (min-width:901px) {
  body.znj-home .znj-desktop-experience {
    --znj-home-square:min(27vw, 47svh, 385px);
  }
  body.znj-home .znj-desktop-experience .znj-family-rail > .znj-family-card,
  body.znj-home .znj-desktop-experience .znj-home-published-grid > .znj-home-published-card,
  body.znj-home .znj-desktop-experience .znj-scroll-gallery-viewport > .znj-scroll-gallery-card,
  body.znj-home .znj-desktop-experience .znj-scroll-gallery-track > .znj-scroll-gallery-card {
    flex:0 0 var(--znj-home-square)!important;
    width:var(--znj-home-square)!important;
    min-width:0!important;
    height:var(--znj-home-square)!important;
    max-height:none!important;
    max-width:none!important;
    aspect-ratio:1 / 1!important;
    box-sizing:border-box!important;
    align-self:flex-start!important;
  }
}
@media (max-width:900px) {
  body.znj-home .znj-mobile-home {
    --znj-home-square:min(78vw, 48svh, 340px);
  }
  body.znj-home .znj-mobile-home .znj-m-carousel > :is(
    .znj-m-product-card,.znj-m-logo-tile
  ) {
    flex:0 0 var(--znj-home-square)!important;
    width:var(--znj-home-square)!important;
    min-width:0!important;
    height:var(--znj-home-square)!important;
    max-height:none!important;
    max-width:none!important;
    min-height:0!important;
    aspect-ratio:1 / 1!important;
    box-sizing:border-box!important;
    align-self:flex-start!important;
  }
}

/* Home service cards: image occupies the top half, text remains accessible. */
body.znj-home .znj-desktop-experience .znj-family-card,
body.znj-home .znj-mobile-home .znj-m-product-card,
body.znj-home .znj-desktop-experience .znj-home-published-card {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:minmax(0,48fr) minmax(0,52fr)!important;
  overflow:hidden!important;
}
body.znj-home .znj-desktop-experience .znj-family-card > .znj-family-photo,
body.znj-home .znj-mobile-home .znj-m-product-card > .znj-m-card-photo,
body.znj-home .znj-desktop-experience .znj-home-published-card > .znj-home-published-media {
  grid-row:1;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  margin:0!important;
  overflow:hidden!important;
  display:block!important;
  background:#202824!important;
}
body.znj-home .znj-desktop-experience .znj-family-card .znj-family-photo img,
body.znj-home .znj-mobile-home .znj-m-product-card .znj-m-card-photo img,
body.znj-home .znj-desktop-experience .znj-home-published-card .znj-home-published-media img {
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  transform:none!important;
  scale:1!important;
}
body.znj-home .znj-desktop-experience .znj-family-card > .znj-family-card-copy,
body.znj-home .znj-mobile-home .znj-m-product-card > .znj-m-card-copy,
body.znj-home .znj-desktop-experience .znj-home-published-card > .znj-home-published-copy {
  grid-row:2;
  min-height:0!important;
  height:auto!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:clamp(10px,1.4svh,18px)!important;
  overscroll-behavior-y:contain;
  scrollbar-width:thin;
  align-self:stretch;
  box-sizing:border-box;
}
body.znj-home .znj-mobile-home .znj-m-card-copy h3 {
  font-size:clamp(17px,4.9vw,22px)!important;
  line-height:1.16!important;
}
body.znj-home .znj-desktop-experience .znj-family-card h3 {
  font-size:clamp(19px,2vw,29px)!important;
  line-height:1.12!important;
}
body.znj-home .znj-desktop-experience .znj-home-published-card .znj-home-published-copy h3 {
  font-size:clamp(18px,1.9vw,27px)!important;
  margin:7px 0!important;
  line-height:1.12!important;
}
body.znj-home .znj-desktop-experience .znj-home-published-card .znj-home-published-copy p {
  margin-bottom:8px!important;
  line-height:1.5!important;
}
body.znj-home .znj-desktop-experience .znj-home-published-card .znj-home-published-action {
  margin-top:auto!important;
}

/* Full-card image gallery: square viewport, photo intact, caption anchored. */
body.znj-home .znj-desktop-experience .znj-scroll-gallery-card {
  overflow:hidden!important;
  position:relative;
  background:#1b2421;
}
body.znj-home .znj-desktop-experience .znj-scroll-gallery-card > img {
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:contain!important;
  transform:none!important;
}
body.znj-home .znj-desktop-experience .znj-scroll-gallery-card > div {
  position:absolute;
  left:0;right:0;bottom:0;
  padding:clamp(12px,2vw,22px);
  background:linear-gradient(0deg,#101511ed,transparent);
}
body.znj-home .znj-mobile-home .znj-m-logo-tile img {
  object-fit:contain!important;
  max-height:50%!important;
}

/* Small heights should make cards smaller, not cut off titles or controls. */
@media (max-height:620px) {
  body.znj-home .znj-mobile-home{--znj-home-square:min(75vw,40svh,285px)}
  body.znj-expertise .znj-exp-mobile{--znj-square:min(76vw,41svh,300px)}
  body.znj-home .znj-desktop-experience{--znj-home-square:min(25vw,42svh,325px)}
  body.znj-expertise .znj-exp-desktop{--znj-square:min(26vw,42svh,325px)}
}
@media (prefers-reduced-motion:reduce) {
  body.znj-home .znj-desktop-experience .znj-family-card .znj-family-photo img{
    transition:none!important;
  }
}


/* 2026-11 portrait carousel upgrade: visible adjacent card, interactive dots
 * and an image-led editorial marketplace rail. Desktop untouched. */
@media (max-width:900px) {
  body.znj-home .znj-mobile-home .znj-m-visually-hidden {
    position:absolute!important;width:1px!important;height:1px!important;
    padding:0!important;margin:-1px!important;overflow:hidden!important;
    clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
  }
  body.znj-home .znj-mobile-home .znj-m-carousel {
    scroll-padding-inline:clamp(16px,5vw,30px)!important;
    padding-inline:clamp(16px,5vw,30px)!important;
    scrollbar-width:none;
  }
  body.znj-home .znj-mobile-home .znj-m-carousel > :is(.znj-m-product-card,.znj-m-logo-tile) {
    scroll-snap-align:start;
    scroll-snap-stop:normal;
  }
  body.znj-home .znj-mobile-home .znj-m-swipe-pager {
    display:flex;align-items:center;justify-content:center;
    gap:13px;min-height:38px;
    width:100%;padding:3px 18px 6px;
  }
  body.znj-home .znj-mobile-home .znj-m-swipe-dots {
    display:flex;align-items:center;justify-content:center;gap:2px;
  }
  body.znj-home .znj-mobile-home .znj-m-swipe-dot {
    width:23px;height:28px;min-height:28px;flex:0 0 23px;
    border:0;border-radius:999px;padding:0;
    display:grid;place-items:center;cursor:pointer;
    background:transparent;appearance:none;
  }
  body.znj-home .znj-mobile-home .znj-m-swipe-dot:after {
    content:"";width:7px;height:7px;border-radius:999px;
    background:#7f7461;transition:width .22s ease,background-color .22s ease;
  }
  body.znj-home .znj-mobile-home .znj-m-swipe-dot.is-active:after {
    width:21px;background:#e9c186;
  }
  body.znj-home .znj-mobile-home .znj-m-swipe-dot:focus-visible {
    outline:2px solid #efcb91;outline-offset:0;
  }
  body.znj-home .znj-mobile-home .znj-m-slide-count {
    font:700 10px/1.5 Manrope,Arial,sans-serif;
    letter-spacing:.14em;color:#d5bb93;white-space:nowrap;
    font-variant-numeric:tabular-nums;
  }
  /* Dots supersede the thin non-interactive progress line. */
  body.znj-home .znj-mobile-home .znj-m-carousel-progress {display:none!important}
  body.znj-home .znj-mobile-home .znj-m-carousel-footer {
    justify-content:space-between!important;
    padding-inline:clamp(18px,5vw,31px)!important;
    gap:12px;
  }
  body.znj-home .znj-mobile-home .znj-m-carousel-footer a {text-align:right}

  /* Marketplace follows the user-supplied tall editorial reference without
     modifying the separate 1:1 service/gallery/portfolio card ratio. */
  body.znj-home .znj-mobile-home > .znj-m-panel.znj-m-market-slider {
    gap:7px!important;align-items:stretch;justify-content:center;
    background:radial-gradient(ellipse at 35% 28%,#342a1c,#101713 68%)!important;
    overflow:visible!important;
  }
  body.znj-home .znj-mobile-home .znj-m-market-slider .znj-m-market-rail {
    align-items:stretch;gap:13px!important;
    padding-top:10px!important;padding-bottom:10px!important;
  }
  body.znj-home .znj-mobile-home .znj-m-market-rail > .znj-m-market-card {
    flex:0 0 min(85vw,430px)!important;width:min(85vw,430px)!important;
    max-width:min(85vw,430px)!important;
    height:auto!important;min-height:0!important;
    display:flex!important;flex-direction:column!important;
    scroll-snap-align:start;
    overflow:hidden;border-radius:26px;
    border:1px solid rgba(231,188,121,.52);
    background:#101612;
    box-shadow:0 18px 35px rgba(0,0,0,.3);
    align-self:stretch;
  }
  body.znj-home .znj-mobile-home .znj-m-market-photo {
    flex:none;display:block;width:100%;
    height:clamp(210px,35svh,355px);overflow:hidden;
    background:#28241e;
  }
  body.znj-home .znj-mobile-home .znj-m-market-photo img {
    display:block;width:100%;height:100%;
    object-fit:cover;object-position:center;
  }
  body.znj-home .znj-mobile-home .znj-m-market-card-copy {
    position:relative;z-index:1;
    display:flex;flex:1;flex-direction:column;gap:11px;
    padding:clamp(17px,4.8vw,27px);
    margin-top:-24px;min-width:0;
    border-top:1px solid rgba(228,185,118,.27);
    border-radius:25px 25px 0 0;
    background:linear-gradient(160deg,#151b17 0%,#0c120f 100%);
  }
  body.znj-home .znj-mobile-home .znj-m-market-card-copy .znj-m-eyebrow {
    margin:0!important;color:#edc88c!important;
  }
  body.znj-home .znj-mobile-home .znj-m-market-card-copy h3 {
    margin:0!important;color:#f9f0e2!important;
    font:400 clamp(29px,8vw,44px)/1.05 "Playfair Display",Georgia,serif!important;
    letter-spacing:-.043em;overflow-wrap:normal;
    text-wrap:balance;
  }
  body.znj-home .znj-mobile-home .znj-m-market-card-copy h3 em {
    color:#e9c18b!important;font-weight:400;
  }
  body.znj-home .znj-mobile-home .znj-m-market-card-copy p {
    margin:0!important;color:#e0d6c8!important;
    font:400 clamp(12px,3.3vw,14px)/1.6 Manrope,Arial,sans-serif!important;
    overflow-wrap:anywhere;
  }
  body.znj-home .znj-mobile-home .znj-m-market-actions {
    display:flex;flex-wrap:wrap;align-items:center;gap:8px;
    margin-top:auto;padding-top:9px;
  }
  body.znj-home .znj-mobile-home .znj-m-market-actions a {
    min-height:43px;padding:10px 12px;display:inline-flex;
    align-items:center;justify-content:center;text-decoration:none;
    border:1px solid rgba(233,191,124,.48);
    border-radius:11px;color:#e6c696!important;
    font:700 11px/1.35 Manrope,Arial,sans-serif;
    max-width:100%;text-align:center;
  }
  body.znj-home .znj-mobile-home .znj-m-market-actions a.znj-m-primary {
    background:#dfb979!important;border-color:#e8c994!important;
    color:#171811!important;
  }
  body.znj-home .znj-mobile-home .znj-m-market-footer {padding-top:3px}
}
@media (max-width:900px) and (max-height:640px) {
  body.znj-home .znj-mobile-home .znj-m-market-photo {
    height:clamp(160px,28svh,230px);
  }
  body.znj-home .znj-mobile-home .znj-m-market-card-copy h3 {
    font-size:clamp(27px,7.4vw,38px)!important;
  }
}
@media (max-width:900px) and (prefers-reduced-motion:reduce) {
  body.znj-home .znj-mobile-home .znj-m-swipe-dot:after {transition:none}
}

/* All DESKTOP expertise chapters follow the same full-viewport rule as the
   homepage. Mobile portrait remains a separately authored layout. */
@media (min-width:901px) {
  body.znj-expertise .znj-exp-desktop > .znj-exp-sheet {
    min-height:100svh!important;
    min-height:100dvh!important;
    height:auto!important;
    max-height:none!important;
    box-sizing:border-box!important;
  }
  /* Preserve 1:1 image CARDS, not landscape photo strips. Earlier global
     containment created narrow portrait photos inside square frames. */
  body.znj-expertise .znj-exp-desktop .znj-exp-rail > .znj-exp-photo-card,
  body.znj-expertise .znj-exp-desktop .znj-exp-rail > .znj-exp-gallery-card {
    aspect-ratio:1 / 1!important;
    height:var(--znj-square)!important;
    width:var(--znj-square)!important;
    overflow:hidden!important;
    background:#111b18!important;
  }
  body.znj-expertise .znj-exp-desktop .znj-exp-rail > :is(.znj-exp-photo-card,.znj-exp-gallery-card) > img {
    width:100%!important;
    height:100%!important;
    aspect-ratio:1 / 1!important;
    object-fit:cover!important;
    object-position:center 47%!important;
    border-radius:inherit;
  }
}


/* ZNJ Mobile Editorial Cards v3 — November 2026
 * Replacement of legacy white split-image mobile service cards.
 * A single full-photo, cinematic 1:1 card with a dark readable caption.
 * Scoped to the mobile homepage; desktop and service detail pages unchanged.
 */
@media (max-width:900px) {
  /* Chapter background should complement the supplied black/gold reference,
     not retain the previous ivory product catalogue theme. */
  body.znj-home .znj-mobile-home > section.znj-m-panel.znj-m-service-family--events {
    background:
      radial-gradient(ellipse at 90% 9%,rgba(202,159,87,.14),transparent 48%),
      #111916!important;
    color:#f4ead9!important;
  }
  body.znj-home .znj-mobile-home > section.znj-m-panel.znj-m-service-family--media {
    background:
      radial-gradient(ellipse at 12% 16%,rgba(161,137,88,.1),transparent 53%),
      #151a19!important;
    color:#f4ead9!important;
  }
  body.znj-home .znj-mobile-home > section.znj-m-panel.znj-m-service-family--marketing {
    background:
      radial-gradient(ellipse at 88% 12%,rgba(209,161,91,.14),transparent 55%),
      #1c1a16!important;
    color:#f4ead9!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family :is(
    .znj-m-panel-content h2,.znj-m-panel-content h2 em
  ) {
    color:#fbf0df!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family .znj-m-panel-content h2 em {
    color:#e8bd7e!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family .znj-m-panel-content > .znj-m-eyebrow {
    color:#e2b980!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family .znj-m-panel-content > p {
    color:#d7cbb8!important;
  }

  /* The entire card is a square image. Text overlays its lower edge on a
     high-contrast gradient; no separate white text panel or cropped strip. */
  body.znj-home .znj-mobile-home .znj-m-carousel > article.znj-m-product-card {
    position:relative!important;
    display:block!important;
    isolation:isolate;
    flex:0 0 var(--znj-home-square)!important;
    width:var(--znj-home-square)!important;
    min-width:var(--znj-home-square)!important;
    max-width:var(--znj-home-square)!important;
    height:var(--znj-home-square)!important;
    min-height:var(--znj-home-square)!important;
    max-height:var(--znj-home-square)!important;
    aspect-ratio:1/1!important;
    padding:0!important;
    overflow:hidden!important;
    border-radius:clamp(18px,5vw,25px)!important;
    border:1px solid rgba(225,183,118,.62)!important;
    background:#111b17!important;
    color:#fff5e7!important;
    box-shadow:0 18px 35px rgba(0,0,0,.32)!important;
    scroll-snap-align:start;
  }
  body.znj-home .znj-mobile-home .znj-m-carousel > article.znj-m-product-card > .znj-m-card-photo {
    position:absolute!important;
    inset:0!important;
    z-index:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:100%!important;
    max-height:none!important;
    aspect-ratio:1/1!important;
    grid-row:auto!important;
    border:0!important;
    border-radius:inherit!important;
    background:#15211b!important;
    overflow:hidden!important;
  }
  body.znj-home .znj-mobile-home .znj-m-carousel > article.znj-m-product-card > .znj-m-card-photo img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-width:100%!important;
    min-height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center 43%!important;
    aspect-ratio:1/1!important;
    transform:none!important;
    scale:1!important;
    filter:none!important;
  }
  body.znj-home .znj-mobile-home .znj-m-carousel > article.znj-m-product-card > .znj-m-card-copy {
    position:absolute!important;
    z-index:1!important;
    inset:auto 0 0 0!important;
    grid-row:auto!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-end!important;
    align-items:flex-start!important;
    gap:clamp(5px,1svh,9px)!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:76%!important;
    margin:0!important;
    padding:clamp(37px,6.8svh,56px) clamp(15px,4.6vw,23px) clamp(15px,2.5svh,23px)!important;
    background:linear-gradient(0deg,
      rgba(7,13,10,.99) 0%,
      rgba(7,13,10,.97) 39%,
      rgba(7,13,10,.86) 63%,
      rgba(7,13,10,0) 100%)!important;
    color:#f9f0e3!important;
    border:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain;
    scrollbar-width:thin;
    scrollbar-color:#ad8652 transparent;
  }
  body.znj-home .znj-mobile-home .znj-m-carousel > article.znj-m-product-card .znj-m-card-copy h3,
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-card-copy h3,
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-card-copy h3 {
    color:#fff4e5!important;
    font:400 clamp(22px,6.3vw,30px)/1.11 "Playfair Display",Georgia,serif!important;
    letter-spacing:-.035em!important;
    text-wrap:balance;
    margin:0!important;
    flex:none!important;
    overflow-wrap:break-word;
  }
  body.znj-home .znj-mobile-home .znj-m-carousel > article.znj-m-product-card .znj-m-card-copy p,
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-card-copy p,
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-card-copy p {
    color:#ebdfce!important;
    font:400 clamp(11px,3.15vw,13px)/1.45 Manrope,Arial,sans-serif!important;
    margin:0!important;
    overflow-wrap:anywhere;
  }
  body.znj-home .znj-mobile-home .znj-m-carousel > article.znj-m-product-card .znj-m-card-copy > a,
  body.znj-home .znj-mobile-home .znj-m-service-family--events .znj-m-card-copy > a,
  body.znj-home .znj-mobile-home .znj-m-service-family--marketing .znj-m-card-copy > a {
    display:inline-flex!important;
    align-items:center!important;
    margin:3px 0 0!important;
    min-height:33px!important;
    padding:5px 0!important;
    border:0!important;
    color:#edc38a!important;
    background:transparent!important;
    font:800 11px/1.45 Manrope,Arial,sans-serif!important;
    text-decoration:none!important;
    flex:none!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family .znj-m-carousel-footer,
  body.znj-home .znj-mobile-home .znj-m-service-family .znj-m-carousel-footer a {
    color:#dfc39a!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family .znj-m-swipe-dot:after {
    background:#766d5e;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family .znj-m-swipe-dot.is-active:after {
    background:#eac58f;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family .znj-m-slide-count {
    color:#e4c59a!important;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family .znj-m-carousel-footer {
    padding-right:clamp(25px,7vw,44px)!important;
    white-space:normal!important;
    flex-wrap:wrap;
    line-height:1.5;
  }
  body.znj-home .znj-mobile-home .znj-m-service-family .znj-m-carousel-footer a {
    max-width:50%;
    white-space:normal!important;
  }
}
@media(max-width:900px) and (max-height:620px){
  body.znj-home .znj-mobile-home .znj-m-carousel > article.znj-m-product-card > .znj-m-card-copy {
    max-height:84%!important;
    padding-top:21px!important;
    padding-bottom:11px!important;
  }
  body.znj-home .znj-mobile-home .znj-m-carousel > article.znj-m-product-card .znj-m-card-copy h3 {
    font-size:clamp(19px,5.5vw,24px)!important;
  }
}
@media(max-width:900px) and (prefers-reduced-motion:reduce) {
  body.znj-home .znj-mobile-home .znj-m-carousel > article.znj-m-product-card > .znj-m-card-photo img {
    transition:none!important;
  }
}
