/* ==========================================================================
   ZIVAH · BLOG LISTING
   --------------------------------------------------------------------------
   Loaded AFTER core.css. Inherits all `--zc-*` brand tokens.

   LOCKED RULES (mirroring home.css / faq.css / about-zivah.css):
     · NO max-width on outer wrappers — full-bleed sections.
     · Container padding ALWAYS:
         desktop / tablet (≥992px) → var(--zc-pad-x)    (28px)
         mobile         (≤991px)   → var(--zc-pad-x-mb) (14px)
     · Tri-gradient hero bg: amber radial + navy radial + pearl→snow linear.
     · Cards: gradient bg (pearl→snow), inset white highlight + outer
       drop-shadow on idle, deeper shadow + amber-a18 ring on hover.
     · Chips/pills: glassy with backdrop-filter blur+saturate.
     · Accent words: gradient-text fill (amber-dk → amber → amber-lt).
     · Eases via --zc-ease / --zc-ease-spring / --zc-ease-out.

   Namespaces:
     .zc-blg__*  — page-specific (hero, layout, cards, sidebar, drawer)
     .zc-pl__*   — shared pager + load-more (zc_pl_render_*)
   ========================================================================== */


/* §0  Page reset — full bleed for hero band */
body .content-wrap.my-wrap-no-padding { padding: 0 !important; }
body .content-wrap.my-wrap-no-padding > div + div,
body .content-wrap.my-wrap-no-padding section { margin: 0; }


/* ==========================================================================
   §1  BREADCRUMB + HEADING CARD — lives inside the left column
   --------------------------------------------------------------------------
   Same vocabulary as the contact / meet-our-team / about heroes:
     · Branded pill-style breadcrumb with chevron separator and an
       amber-gradient "current page" pill.
     · Heading wrapped in a card with gradient bg, 1px linen border, top
       accent stripe (amber gradient), inset white highlight + outer
       drop-shadow.
     · Pulsing status pill (Updated weekly) sits top-right of the card.
   ========================================================================== */

/* §1.1  Breadcrumb */
.zc-blg__crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 clamp(16px, 2vw, 26px);
  font-family: var(--zc-f-heading);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
}
.zc-blg__crumb-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--zc-warm-dk);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--zc-linen);
  transition: all 0.3s var(--zc-ease);
}
.zc-blg__crumb-link:hover {
  color: var(--zc-amber-dk);
  background: var(--zc-amber-a08);
  border-color: var(--zc-amber-a25);
  transform: translateY(-1px);
}
.zc-blg__crumb-link i { font-size: 11px; }
.zc-blg__crumb-sep {
  color: var(--zc-amber-a35);
  font-size: 10px;
}
.zc-blg__crumb-current {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--zc-amber) 0%, var(--zc-amber-dk) 100%);
  color: var(--zc-white);
  box-shadow: 0 4px 12px var(--zc-amber-a35);
}
.zc-blg__crumb-current i { font-size: 11px; }


/* §1.2  Heading card */
.zc-blg__head {
  position: relative;
  margin: 0 0 clamp(20px, 2.4vw, 32px);
  padding: clamp(22px, 2.6vw, 36px);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(207, 138, 63, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(46, 75, 113, 0.08) 0%, transparent 55%),
    linear-gradient(135deg, var(--zc-pearl) 0%, var(--zc-white) 50%, var(--zc-snow) 100%);
  border: 1px solid var(--zc-linen);
  border-radius: 22px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 12px 32px rgba(18, 12, 4, 0.08);
  overflow: hidden;
}
/* Top amber accent stripe — same as contact hero */
.zc-blg__head::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%, var(--zc-amber-dk) 30%, var(--zc-amber-lt) 50%,
    var(--zc-amber-dk) 70%, transparent 100%);
}

/* Top row — eyebrow on left, status pulse on right */
.zc-blg__head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.zc-blg__head-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--zc-f-heading);
  font-size: clamp(9.5px, 0.7vw + 4px, 11px);
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--zc-amber-dk);
  background: linear-gradient(135deg, var(--zc-amber-a12) 0%, var(--zc-amber-a08) 100%);
  border: 1px solid var(--zc-amber-a18);
  border-radius: 999px;
  padding: 5px 12px 5px 10px;
  margin-bottom: 0;
  box-shadow: 0 2px 8px rgba(207, 138, 63, 0.08);
}
.zc-blg__head-eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zc-amber-lt), var(--zc-amber-dk));
  box-shadow: 0 0 8px var(--zc-amber-a45);
  flex-shrink: 0;
}

/* Status pulse pill — green dot pulsing infinitely */
.zc-blg__head-status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  background: var(--zc-white);
  border: 1px solid var(--zc-amber-a25);
  border-radius: 999px;
  font-family: var(--zc-f-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--zc-warm-dk);
  letter-spacing: 0.3px;
  box-shadow: 0 6px 18px rgba(18, 12, 4, 0.06);
  white-space: nowrap;
}
.zc-blg__head-status b { color: var(--zc-charcoal); font-weight: 700; }
.zc-blg__head-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--zc-success, #1A9E5C);
  box-shadow: 0 0 8px rgba(26, 158, 92, 0.55);
  animation: zc-blg-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes zc-blg-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.3); }
}

.zc-blg__head-title {
  font-family: var(--zc-f-display);
  font-size: clamp(26px, 1.6vw + 16px, 38px);
  font-weight: 400;             /* matches contact/about — heavier accent only */
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--zc-charcoal);
  margin: 0 0 10px;
}
.zc-blg__head-title span {
  font-weight: 500;
  background: linear-gradient(135deg, var(--zc-amber-dk) 0%, var(--zc-amber) 50%, var(--zc-amber-lt) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.zc-blg__head-sub {
  font-family: var(--zc-f-body);
  font-size: clamp(13px, 0.4vw + 9px, 15px);
  line-height: 1.6;
  color: var(--zc-warm-dk);
  margin: 0;
  max-width: 680px;
  letter-spacing: 0.05px;
}


/* ==========================================================================
   §2  LAYOUT — main + sidebar, full-bleed with brand padding
   ========================================================================== */
.zc-blg__body {
  padding: clamp(36px, 4vw, 64px) var(--zc-pad-x) clamp(48px, 6vw, 96px);
  width: 100%;
  position: relative;
  background:
    radial-gradient(ellipse at 12% 0%,  rgba(207, 138, 63, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 100%, rgba(46, 75, 113, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, var(--zc-pearl) 0%, var(--zc-off-white) 100%);
}
.zc-blg__body.container { max-width: none !important; }
/* Top + bottom amber hairlines — same as home/faq sections */
.zc-blg__body::before,
.zc-blg__body::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--zc-amber-a25), transparent);
  pointer-events: none;
}
.zc-blg__body::before { top: 0; }
.zc-blg__body::after  { bottom: 0; }

.zc-blg__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(18px, 1.6vw, 26px);
  align-items: start;
}
@media (max-width: 991px) {
  .zc-blg__body { padding-left: var(--zc-pad-x-mb); padding-right: var(--zc-pad-x-mb); }
  .zc-blg__layout { grid-template-columns: 1fr; }
}


/* ==========================================================================
   §3  ACTIVE FILTER CHIPS
   ========================================================================== */
.zc-blg__chips {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px; margin-bottom: 22px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--zc-amber-a08) 0%, rgba(255, 255, 255, 0.4) 100%);
  border: 1px dashed var(--zc-amber-a25);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.zc-blg__chips-label {
  font-family: var(--zc-f-heading);
  font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--zc-amber-dk); font-weight: 700;
  margin-right: 4px;
}
.zc-blg__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--zc-white);
  border: 1px solid var(--zc-amber-a25);
  border-radius: 999px;
  color: var(--zc-charcoal);
  font-family: var(--zc-f-body);
  font-size: 12.5px; font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 6px rgba(46, 75, 113, 0.04);
  transition: background 0.25s var(--zc-ease),
              border-color 0.25s var(--zc-ease),
              transform 0.25s var(--zc-ease);
}
.zc-blg__chip i { font-size: 13px; opacity: 0.55; }
.zc-blg__chip:hover {
  background: var(--zc-amber-a08);
  border-color: var(--zc-amber);
  transform: translateY(-1px);
}
.zc-blg__chips-clear {
  margin-left: auto;
  font-family: var(--zc-f-body);
  font-size: 12.5px; font-weight: 500;
  color: var(--zc-warm-dk);
  text-decoration: underline; text-underline-offset: 3px;
}
.zc-blg__chips-clear:hover { color: var(--zc-amber-dk); }


/* ==========================================================================
   §4  TOOLBAR — count + actions (sort + mobile filter trigger)
   ========================================================================== */
.zc-blg__toolbar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--zc-linen);
  margin-bottom: 26px;
}
.zc-blg__count {
  font-family: var(--zc-f-body);
  font-size: 14px; color: var(--zc-warm-dk);
  margin: 0;
  letter-spacing: 0.05px;
}
.zc-blg__count strong { color: var(--zc-charcoal); font-weight: 600; }

.zc-blg__actions {
  display: inline-flex; align-items: center; gap: 12px;
}

/* Mobile filter trigger — hidden on desktop */
.zc-blg__filter-btn {
  display: none;
  align-items: center; gap: 8px;
  padding: 9px 16px;
  background: linear-gradient(135deg, var(--zc-charcoal) 0%, var(--zc-deep) 100%);
  color: var(--zc-white);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--zc-f-heading);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 6px 16px rgba(26, 18, 8, 0.18);
  transition: transform 0.3s var(--zc-ease-spring),
              background 0.3s var(--zc-ease),
              box-shadow 0.3s var(--zc-ease);
}
.zc-blg__filter-btn:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, var(--zc-amber) 0%, var(--zc-amber-dk) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 10px 24px var(--zc-amber-a35);
}
.zc-blg__filter-btn i { font-size: 13px; color: var(--zc-amber-lt); }
.zc-blg__filter-btn:hover i { color: var(--zc-white); }
.zc-blg__filter-btn-count {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  background: rgba(207, 138, 63, 0.22);
  color: var(--zc-amber-lt);
  border-radius: 999px;
  font-family: var(--zc-f-accent);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0;
  transition: background 0.3s ease, color 0.3s ease;
}
.zc-blg__filter-btn:hover .zc-blg__filter-btn-count {
  background: rgba(255, 255, 255, 0.22);
  color: var(--zc-white);
}

/* Custom sort dropdown — button + menu pattern instead of native <select>.
   Replaces the generic browser-styled dropdown that "every site has". */
.zc-blg__sort {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
}
.zc-blg__sort-label {
  font-family: var(--zc-f-accent);
  font-size: 10.5px; color: var(--zc-warm-mid);
  letter-spacing: 1.4px; text-transform: uppercase;
  margin: 0; font-weight: 700;
}
.zc-blg__sort-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  background: var(--zc-white);
  border: 1px solid var(--zc-linen);
  border-radius: 6px;            /* magazine corners */
  font-family: var(--zc-f-body);
  font-size: 13px; font-weight: 500;
  color: var(--zc-charcoal);
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset,
              0 2px 8px rgba(46, 75, 113, 0.04);
  transition: border-color 0.25s var(--zc-ease),
              box-shadow 0.25s var(--zc-ease),
              background 0.25s var(--zc-ease);
}
.zc-blg__sort-btn:hover {
  border-color: var(--zc-amber-a35);
  background: var(--zc-pearl);
}
.zc-blg__sort-btn[aria-expanded="true"] {
  border-color: var(--zc-amber);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset,
              0 0 0 3px var(--zc-amber-a18);
}
.zc-blg__sort-btn-ico {
  font-size: 14px;
  color: var(--zc-amber-dk);
}
.zc-blg__sort-btn-chev {
  font-size: 11px;
  color: var(--zc-warm-mid);
  transition: transform 0.25s var(--zc-ease);
}
.zc-blg__sort-btn[aria-expanded="true"] .zc-blg__sort-btn-chev {
  transform: rotate(-180deg);
  color: var(--zc-amber-dk);
}

.zc-blg__sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  list-style: none; padding: 6px; margin: 0;
  background: var(--zc-white);
  border: 1px solid var(--zc-linen);
  border-radius: 8px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 16px 40px rgba(18, 12, 4, 0.12),
    0 4px 12px rgba(46, 75, 113, 0.06);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s var(--zc-ease),
              visibility 0.2s var(--zc-ease),
              transform 0.2s var(--zc-ease);
}
.zc-blg__sort.is-open .zc-blg__sort-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.zc-blg__sort-menu-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  font-family: var(--zc-f-body);
  font-size: 13px; font-weight: 500;
  color: var(--zc-warm-dk);
  text-decoration: none;
  position: relative;
  transition: background 0.18s var(--zc-ease),
              color 0.18s var(--zc-ease);
}
.zc-blg__sort-menu-item i:first-child {
  font-size: 13px; color: var(--zc-amber-dk);
}
.zc-blg__sort-menu-item:hover {
  background: var(--zc-amber-a08);
  color: var(--zc-amber-dk);
}
.zc-blg__sort-menu-item.is-active {
  background: linear-gradient(90deg, var(--zc-amber-a12), transparent);
  color: var(--zc-amber-dk);
  font-weight: 600;
}
.zc-blg__sort-menu-check {
  margin-left: auto;
  font-size: 14px;
  color: var(--zc-amber);
  opacity: 0;
}
.zc-blg__sort-menu-item.is-active .zc-blg__sort-menu-check { opacity: 1; }


/* ==========================================================================
   §5  CARD — premium gradient, glassy chip, animated meta pills
   --------------------------------------------------------------------------
   Mirrors .zc-home-blog__card pattern (home.css:200–456) so the listing
   page matches the in-page strip the user already sees on the homepage.
   ========================================================================== */
.zc-blg__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}

.zc-blg__card {
  position: relative;
  display: flex; flex-direction: column;
  width: 100%;
  border-radius: 6px;            /* magazine corners — same as meet-our-team spec card */
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  background: var(--zc-white);
  border: 1px solid var(--zc-linen);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 12px rgba(18, 12, 4, 0.04),
    0 1px 3px rgba(46, 75, 113, 0.03);
  transition:
    transform 0.5s var(--zc-ease-spring),
    box-shadow 0.5s var(--zc-ease),
    border-color 0.5s var(--zc-ease);
}
/* Top hairline — same scaleX growth-from-left as meet-our-team spec card */
.zc-blg__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--zc-amber);
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: opacity 0.4s var(--zc-ease),
              transform 0.5s var(--zc-ease-spring);
  z-index: 4;
}
.zc-blg__card:hover {
  transform: translateY(-5px);
  border-color: var(--zc-amber-a35);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 26px 50px rgba(18, 12, 4, 0.10),
    0 8px 18px rgba(207, 138, 63, 0.10);
}
.zc-blg__card:hover::before { transform: scaleX(1); opacity: 1; }


/* Media — 16:10, soft brand-tint overlay on hover */
.zc-blg__card-media {
  position: relative; display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--zc-snow), var(--zc-linen));
}
.zc-blg__card-img {
  width: 100% !important; height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--zc-ease-out), filter 0.5s var(--zc-ease);
}
.zc-blg__card:hover .zc-blg__card-img {
  transform: scale(1.06);
  filter: saturate(1.06);
}
/* Brand-tint overlay — fades in on hover */
.zc-blg__card-media::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(207, 138, 63, 0.14) 0%,
    transparent 50%,
    rgba(46, 75, 113, 0.16) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s var(--zc-ease);
  pointer-events: none;
}
.zc-blg__card:hover .zc-blg__card-media::before { opacity: 1; }
/* Bottom dim for read-time chip legibility */
.zc-blg__card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26, 18, 8, 0.32) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Editorial corner brackets on the photo — magazine cue. Sit ABOVE the
   image dim and become amber on card hover. */
.zc-blg__card-bracket {
  position: absolute;
  width: 16px; height: 16px;
  z-index: 2;
  pointer-events: none;
  border: 0 solid rgba(255, 255, 255, 0.85);
  transition: border-color 0.4s var(--zc-ease),
              width 0.4s var(--zc-ease-spring),
              height 0.4s var(--zc-ease-spring);
}
.zc-blg__card-bracket--tl { top: 10px;    left: 10px;  border-top-width: 1.5px;    border-left-width: 1.5px;  }
.zc-blg__card-bracket--tr { top: 10px;    right: 10px; border-top-width: 1.5px;    border-right-width: 1.5px; }
.zc-blg__card-bracket--bl { bottom: 10px; left: 10px;  border-bottom-width: 1.5px; border-left-width: 1.5px;  }
.zc-blg__card-bracket--br { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.zc-blg__card:hover .zc-blg__card-bracket {
  border-color: var(--zc-amber-lt);
  width: 22px; height: 22px;
}

/* Category chip — glassy default → brand-gradient on card hover */
.zc-blg__card-cat-pill {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--zc-f-heading);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--zc-charcoal);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86));
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 4px 10px;
  box-shadow:
    0 4px 14px rgba(18, 12, 4, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition:
    transform 0.45s var(--zc-ease-spring),
    background 0.4s var(--zc-ease),
    color 0.35s var(--zc-ease),
    border-color 0.35s var(--zc-ease),
    box-shadow 0.4s var(--zc-ease);
}
.zc-blg__card-cat-pill::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zc-amber-lt), var(--zc-amber-dk));
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.zc-blg__card:hover .zc-blg__card-cat-pill {
  transform: translateY(-2px);
  color: var(--zc-white);
  background: linear-gradient(135deg,
    rgba(207, 138, 63, 0.92) 0%,
    rgba(168, 104, 40, 0.92) 50%,
    rgba(46, 75, 113, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 6px 18px rgba(207, 138, 63, 0.40),
    0 2px 6px rgba(46, 75, 113, 0.20),
    0 1px 0 rgba(255, 255, 255, 0.30) inset;
}
.zc-blg__card:hover .zc-blg__card-cat-pill::before {
  background: var(--zc-white);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

/* Read-time — dark glassy chip bottom-right */
.zc-blg__card-read {
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: rgba(26, 18, 8, 0.55);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  color: var(--zc-white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-family: var(--zc-f-accent);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.zc-blg__card-read i { font-size: 11px; opacity: 0.85; color: var(--zc-amber-lt); }


/* Body */
.zc-blg__card-body {
  display: flex; flex-direction: column;
  flex: 1;
  padding: 14px 16px 16px;
  gap: 10px;
  position: relative;
  z-index: 2;
}

/* Meta pills — gradient bg + amber border, deeper on hover */
.zc-blg__card-meta {
  display: flex; flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.zc-blg__card-meta time,
.zc-blg__card-meta > span {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--zc-f-accent);
  font-size: 10.5px; font-weight: 500;
  color: var(--zc-warm-dk);
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, var(--zc-amber-a08), rgba(255, 255, 255, 0.5));
  border: 1px solid var(--zc-amber-a18);
  border-radius: 999px;
  padding: 3px 9px;
  transition: background 0.3s var(--zc-ease),
              border-color 0.3s var(--zc-ease),
              color 0.3s var(--zc-ease);
}
.zc-blg__card-meta i {
  color: var(--zc-amber-dk);
  font-size: 10px;
}
.zc-blg__card:hover .zc-blg__card-meta time,
.zc-blg__card:hover .zc-blg__card-meta > span {
  background: linear-gradient(135deg, var(--zc-amber-a18), var(--zc-amber-a08));
  border-color: var(--zc-amber-a35);
  color: var(--zc-charcoal);
}

/* Title — display font, gradient text fill on hover */
.zc-blg__card-title {
  font-family: var(--zc-f-display);
  font-size: clamp(15px, 0.45vw + 12px, 17.5px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.2px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.zc-blg__card-title a {
  color: var(--zc-charcoal);
  text-decoration: none;
  background-image: linear-gradient(135deg, var(--zc-charcoal) 0%, var(--zc-amber-dk) 100%);
  background-size: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: var(--zc-charcoal);
  transition: -webkit-text-fill-color 0.35s var(--zc-ease);
}
.zc-blg__card:hover .zc-blg__card-title a {
  -webkit-text-fill-color: transparent;
}

.zc-blg__card-excerpt {
  font-family: var(--zc-f-body);
  font-size: 13px; line-height: 1.6;
  color: var(--zc-warm-dk);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.05px;
}

/* Footer band — divider hairline that fills with amber gradient on hover */
.zc-blg__card-cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--zc-linen);
  font-family: var(--zc-f-heading);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--zc-charcoal);
  text-decoration: none;
  position: relative;
}
.zc-blg__card-cta::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 1px;
  background: linear-gradient(90deg, var(--zc-amber-dk), var(--zc-amber-lt), transparent);
  transition: width 0.5s var(--zc-ease-out);
}
.zc-blg__card:hover .zc-blg__card-cta::before { width: 100%; }
.zc-blg__card-cta i {
  font-size: 11px;
  color: var(--zc-amber-dk);
  transition: transform 0.4s var(--zc-ease-spring), color 0.3s ease;
}
.zc-blg__card:hover .zc-blg__card-cta { color: var(--zc-amber-dk); }
.zc-blg__card:hover .zc-blg__card-cta i {
  transform: translateX(4px);
  color: var(--zc-amber);
}


/* ==========================================================================
   §6  EMPTY STATE
   ========================================================================== */
.zc-blg__empty {
  text-align: center;
  padding: 60px 24px;
  background: linear-gradient(180deg, var(--zc-pearl) 0%, var(--zc-snow) 100%);
  border: 1px dashed var(--zc-amber-a25);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}
.zc-blg__empty i {
  font-size: 48px;
  color: var(--zc-amber-dk);
  margin-bottom: 16px;
  display: block;
}
.zc-blg__empty h2 {
  font-family: var(--zc-f-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--zc-deep);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.zc-blg__empty p {
  font-family: var(--zc-f-body);
  color: var(--zc-warm-dk);
  margin: 0 0 22px;
}
.zc-blg__empty-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--zc-amber) 0%, var(--zc-amber-dk) 100%);
  color: var(--zc-white);
  border-radius: 999px;
  font-family: var(--zc-f-heading);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 18px var(--zc-amber-a35);
  transition: transform 0.3s var(--zc-ease-spring), box-shadow 0.3s var(--zc-ease);
}
.zc-blg__empty-btn:hover {
  transform: translateY(-2px);
  color: var(--zc-white);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 12px 28px var(--zc-amber-a45);
}


/* ==========================================================================
   §7  PAGER + LOAD MORE  (rendered by /file/helpers/post-listing.php)
   ========================================================================== */
.zc-blg__pager-meta {
  text-align: center;
  font-family: var(--zc-f-body);
  font-size: 13.5px;
  color: var(--zc-warm-dk);
  margin: clamp(28px, 3vw, 40px) 0 16px;
  letter-spacing: 0.05px;
}
.zc-blg__pager-meta strong { color: var(--zc-charcoal); font-weight: 600; }

.zc-pl__pager {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px;
  margin: 0 0 28px;
}
.zc-pl__pager-btn,
.zc-pl__pager-page {
  display: inline-flex; align-items: center; gap: 6px;
  min-width: 40px; height: 40px;
  padding: 0 14px;
  background: linear-gradient(180deg, var(--zc-white) 0%, var(--zc-pearl) 100%);
  border: 1px solid var(--zc-linen);
  border-radius: 6px;
  font-family: var(--zc-f-body);
  font-size: 13.5px; font-weight: 500;
  color: var(--zc-charcoal);
  text-decoration: none;
  justify-content: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 2px 6px rgba(46, 75, 113, 0.04);
  transition: background 0.3s var(--zc-ease),
              border-color 0.3s var(--zc-ease),
              color 0.3s var(--zc-ease),
              transform 0.3s var(--zc-ease);
}
.zc-pl__pager-btn:hover,
.zc-pl__pager-page:hover {
  background: linear-gradient(135deg, var(--zc-amber-a08), var(--zc-amber-a12));
  border-color: var(--zc-amber-a35);
  color: var(--zc-amber-dk);
  transform: translateY(-1px);
}
.zc-pl__pager-pages {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 6px;
}
.zc-pl__pager-page.is-current {
  background: linear-gradient(135deg, var(--zc-charcoal) 0%, var(--zc-deep) 100%);
  border-color: var(--zc-deep);
  color: var(--zc-white);
  pointer-events: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset,
              0 6px 16px rgba(26, 18, 8, 0.18);
}
@media (max-width: 540px) {
  .zc-pl__pager-btn--first span,
  .zc-pl__pager-btn--last span { display: none; }
}

.zc-pl__loadmore-wrap {
  text-align: center;
  margin: 24px 0 0;
}
.zc-pl__loadmore {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--zc-amber) 0%, var(--zc-amber-dk) 100%);
  color: var(--zc-white);
  border: none;
  border-radius: 999px;
  font-family: var(--zc-f-heading);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.3px; text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 18px var(--zc-amber-a35);
  transition: transform 0.3s var(--zc-ease-spring),
              box-shadow 0.3s var(--zc-ease);
}
.zc-pl__loadmore:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 12px 28px var(--zc-amber-a45);
}
.zc-pl__loadmore:disabled,
.zc-pl__loadmore.is-loading {
  opacity: 0.7; cursor: wait;
  pointer-events: none;
  transform: none;
}
.zc-pl__loadmore-spinner {
  width: 14px; height: 14px;
  border: 2px solid var(--zc-w36);
  border-top-color: var(--zc-white);
  border-radius: 50%;
  display: none;
  animation: zc-pl-spin 0.8s linear infinite;
}
.zc-pl__loadmore.is-loading .zc-pl__loadmore-spinner { display: inline-block; }
.zc-pl__loadmore.is-loading .zc-pl__loadmore-label { opacity: 0.7; }
@keyframes zc-pl-spin { to { transform: rotate(360deg); } }


/* ==========================================================================
   §8  SIDEBAR — sticky desktop column / mobile drawer
   --------------------------------------------------------------------------
   Markup is wrapped in .sticky-sidebar-wrap so functions.bundle.js pins it
   while the user scrolls (same JS hook as the FAQ + articles pages). We
   ALSO add native `position: sticky` as a CSS-only fallback so the column
   pins even if the theme JS is delayed or fails.
   ========================================================================== */
.zc-blg__aside-wrap {
  position: sticky;
  top: 100px;            /* clears the fixed header */
  align-self: start;     /* required for sticky inside CSS Grid */
}
.zc-blg__aside {
  display: flex; flex-direction: column; gap: 18px;
}

/* Drawer-only chrome — hidden on desktop */
.zc-blg__aside-bar { display: none; }
.zc-blg__aside-close { display: none; }
.zc-blg__aside-backdrop { display: none; }

/* Widget — headed card pattern (matches .zc-faq__side-card).
   Magazine corners (6px), solid white body with internal divider
   between header and content; the body's items handle their own padding. */
.zc-blg__widget {
  background: var(--zc-white);
  border: 1px solid var(--zc-linen);
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 4px 14px rgba(18, 12, 4, 0.04);
  transition: box-shadow 0.3s var(--zc-ease), border-color 0.3s var(--zc-ease);
}
.zc-blg__widget:hover {
  border-color: var(--zc-amber-a25);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 8px 22px rgba(18, 12, 4, 0.06);
}
.zc-blg__widget-title {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--zc-linen);
  font-family: var(--zc-f-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.1px;
  color: var(--zc-charcoal);
}
.zc-blg__widget-title::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zc-amber-lt), var(--zc-amber-dk));
  box-shadow: 0 0 8px var(--zc-amber-a45);
  flex-shrink: 0;
  margin-right: 4px;
}
/* Inner padding is applied via MARGIN on the body element so that the
   element itself (which has its own background/border) isn't inflated.
   Using padding inside .zc-blg__search would push the input out of its
   pearl pill by 14px on every side — which is the bug we just had. */
.zc-blg__widget > .zc-blg__search,
.zc-blg__widget > .zc-blg__tags,
.zc-blg__widget > .zc-blg__recent {
  margin: 14px;
}
.zc-blg__widget > .zc-blg__cat-list,
.zc-blg__widget > .zc-blg__cat-scroll {
  margin: 8px;
}

/* Search — premium card-style input with leading icon, focus ring */
.zc-blg__search {
  display: flex; align-items: stretch;
  height: 44px;
  background: var(--zc-snow);
  border: 1px solid var(--zc-linen);
  border-radius: 6px;       /* magazine corners */
  overflow: hidden;
  transition: border-color 0.25s var(--zc-ease),
              background 0.25s var(--zc-ease),
              box-shadow 0.25s var(--zc-ease);
}
.zc-blg__search-ic {
  display: grid; place-items: center;
  width: 44px;
  color: var(--zc-amber-dk);
  font-size: 14px;
  flex-shrink: 0;
  border-right: 1px solid var(--zc-linen);
}
.zc-blg__search:focus-within {
  border-color: var(--zc-amber);
  background: var(--zc-white);
  box-shadow: 0 0 0 3px var(--zc-amber-a18);
}
.zc-blg__search input {
  flex: 1;
  padding: 0 8px 0 0;
  border: none;
  background: transparent;
  font-family: var(--zc-f-body);
  font-size: 13.5px;
  color: var(--zc-charcoal);
  outline: none;
  min-width: 0;
}
.zc-blg__search input::placeholder { color: var(--zc-warm-mid); }
.zc-blg__search button {
  display: grid; place-items: center;
  width: 44px;
  background: linear-gradient(135deg, var(--zc-charcoal) 0%, var(--zc-deep) 100%);
  border: none;
  color: var(--zc-amber-lt);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.25s var(--zc-ease),
              color 0.25s var(--zc-ease);
  flex-shrink: 0;
}
.zc-blg__search button:hover {
  background: linear-gradient(135deg, var(--zc-amber) 0%, var(--zc-amber-dk) 100%);
  color: var(--zc-white);
}
.zc-blg__search button i { transition: transform 0.3s var(--zc-ease-spring); }
.zc-blg__search button:hover i { transform: translateX(2px); }

/* Scrollable wrapper — applied around long category lists. Caps height
   to ~6 rows and scrolls inside with a thin styled scrollbar. The Archive
   widget uses a plain .zc-blg__cat-list (no scroll wrapper) since it's
   always short. */
.zc-blg__cat-scroll {
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--zc-amber-a35) transparent;
}
.zc-blg__cat-scroll::-webkit-scrollbar { width: 6px; }
.zc-blg__cat-scroll::-webkit-scrollbar-track { background: transparent; }
.zc-blg__cat-scroll::-webkit-scrollbar-thumb {
  background: var(--zc-amber-a35);
  border-radius: 999px;
}
.zc-blg__cat-scroll::-webkit-scrollbar-thumb:hover { background: var(--zc-amber); }

/* Categories list — premium subtle, with amber left-bar on active */
.zc-blg__cat-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.zc-blg__cat-item {
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
  padding: 9px 12px;
  border-radius: 8px;
  font-family: var(--zc-f-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--zc-warm-dk);
  text-decoration: none;
  transition: background 0.22s var(--zc-ease),
              color 0.22s var(--zc-ease);
}
.zc-blg__cat-item span:first-child {
  display: inline-flex; align-items: center; gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.zc-blg__cat-item i {
  font-size: 12px; color: var(--zc-amber-dk);
  flex-shrink: 0;
}
.zc-blg__cat-item:hover {
  background: var(--zc-amber-a08);
  color: var(--zc-amber-dk);
}
.zc-blg__cat-item.is-active {
  background: linear-gradient(90deg, var(--zc-amber-a12), transparent);
  color: var(--zc-amber-dk);
  font-weight: 600;
}
.zc-blg__cat-item.is-active::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--zc-amber);
}
.zc-blg__cat-item.is-active i { color: var(--zc-amber); }

.zc-blg__cat-count {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 26px; height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--zc-snow);
  border: 1px solid var(--zc-linen);
  color: var(--zc-warm-mid);
  font-family: var(--zc-f-heading);
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.22s var(--zc-ease);
}
.zc-blg__cat-item:hover .zc-blg__cat-count,
.zc-blg__cat-item.is-active .zc-blg__cat-count {
  background: var(--zc-amber-a12);
  border-color: var(--zc-amber-a25);
  color: var(--zc-amber-dk);
}

/* Recent posts — premium thumb + 2-line title + date pill */
.zc-blg__recent {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.zc-blg__recent-link {
  display: grid;
  /* Rectangular thumb (was 64px square). Wider landscape frame
     shows wide news photos honestly instead of cropping them. */
  grid-template-columns: 104px 1fr;
  gap: 12px; align-items: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 6px;
  position: relative;
  transition: background 0.25s var(--zc-ease);
}
.zc-blg__recent-link:hover {
  background: linear-gradient(90deg, var(--zc-amber-a08), transparent);
}
.zc-blg__recent-img {
  /* 16:9 landscape rectangle. !important required to break the
     site-wide .lazy max-width:40% cap. max-width / max-height also
     forced none so the image fills the rect fully. */
  width: 104px !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--zc-linen);
  box-shadow: 0 2px 8px rgba(18, 12, 4, 0.05);
  transition: transform 0.4s var(--zc-ease-spring),
              box-shadow 0.4s var(--zc-ease);
}
.zc-blg__recent-link:hover .zc-blg__recent-img {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(207, 138, 63, 0.15);
}
.zc-blg__recent-title {
  display: -webkit-box;
  font-family: var(--zc-f-display);
  font-weight: 500; font-size: 13px; line-height: 1.38;
  color: var(--zc-charcoal);
  margin-bottom: 5px;
  letter-spacing: -0.1px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s var(--zc-ease);
}
.zc-blg__recent-link:hover .zc-blg__recent-title { color: var(--zc-amber-dk); }
.zc-blg__recent-date {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--zc-f-accent);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--zc-amber-dk);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.zc-blg__recent-date::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--zc-amber);
}

/* Tags — premium pills, # accent, gradient on hover/active */
.zc-blg__tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.zc-blg__tag {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  background: var(--zc-pearl);
  border: 1px solid var(--zc-linen);
  border-radius: 999px;
  font-family: var(--zc-f-body);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.1px;
  color: var(--zc-warm-dk);
  text-decoration: none;
  transition: background 0.25s var(--zc-ease),
              border-color 0.25s var(--zc-ease),
              color 0.25s var(--zc-ease),
              transform 0.25s var(--zc-ease),
              box-shadow 0.25s var(--zc-ease);
}
.zc-blg__tag:hover {
  background: linear-gradient(135deg, var(--zc-amber-a12), var(--zc-amber-a08));
  border-color: var(--zc-amber-a35);
  color: var(--zc-amber-dk);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(207, 138, 63, 0.12);
}
.zc-blg__tag.is-active {
  background: linear-gradient(135deg, var(--zc-amber-lt) 0%, var(--zc-amber) 100%);
  border-color: var(--zc-amber);
  color: var(--zc-white);
  box-shadow: 0 6px 14px var(--zc-amber-a35);
  font-weight: 600;
}


/* ==========================================================================
   §9  MOBILE DRAWER — sidebar slides in from the right on <= 991px
   ========================================================================== */
@media (max-width: 991px) {
  .zc-blg__filter-btn { display: inline-flex; }

  /* Override the desktop sticky wrapper — at this width the inner
     aside takes over as a fixed drawer, so the wrapper itself must
     not constrain layout. */
  .zc-blg__aside-wrap {
    position: static;
    top: auto;
  }

  .zc-blg__aside {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(420px, 92vw);
    background: linear-gradient(180deg, var(--zc-pearl) 0%, var(--zc-off-white) 100%);
    z-index: 1050;
    box-shadow: -20px 0 50px -20px rgba(26, 18, 8, 0.35);
    transform: translateX(100%);
    transition: transform 0.32s var(--zc-ease-out);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    gap: 0;
  }
  .zc-blg__aside.is-open { transform: translateX(0); }

  .zc-blg__aside-bar {
    display: flex; align-items: center;
    gap: 12px;
    position: sticky; top: 0;
    padding: 16px 16px 14px;
    background: var(--zc-white);
    border-bottom: 1px solid var(--zc-linen);
    z-index: 2;
  }
  .zc-blg__aside-bar-grip {
    width: 36px; height: 4px;
    border-radius: 2px;
    background: var(--zc-linen);
    position: absolute;
    top: 6px; left: 50%; transform: translateX(-50%);
  }
  .zc-blg__aside-bar-title {
    font-family: var(--zc-f-display);
    font-size: 15px; font-weight: 600;
    color: var(--zc-charcoal);
    margin: 0; flex: 1;
    letter-spacing: -0.2px;
  }
  .zc-blg__aside-close {
    display: inline-grid; place-items: center;
    width: 36px; height: 36px;
    border: 1px solid var(--zc-linen);
    background: var(--zc-pearl);
    border-radius: 50%;
    color: var(--zc-warm-dk);
    cursor: pointer;
    transition: background 0.2s var(--zc-ease),
                color 0.2s var(--zc-ease);
  }
  .zc-blg__aside-close:hover {
    background: var(--zc-amber-a08);
    color: var(--zc-amber-dk);
  }

  .zc-blg__aside-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(26, 18, 8, 0.45);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    opacity: 0;
    visibility: hidden;
    z-index: 1049;
    transition: opacity 0.32s var(--zc-ease-out),
                visibility 0.32s var(--zc-ease-out);
  }
  .zc-blg__aside-backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  html.zc-pl-lock,
  html.zc-pl-lock body { overflow: hidden; }
}

@media (max-width: 767px) {
  .zc-blg__toolbar { flex-direction: column; align-items: stretch; }
  .zc-blg__actions { justify-content: space-between; }

  .zc-blg__grid { grid-template-columns: 1fr; gap: 16px; }
  .zc-blg__card-body { padding: 14px 14px 14px; }
}

/* ==========================================================================
   MOBILE POLISH — applies to blog + news-and-updates (both share this css).
   Tightens head typography, compacts the active-filter chips, fixes the
   filter drawer layout + scrolling, sizes the toolbar for phone widths.
   ========================================================================== */
@media (max-width: 768px) {
  /* Section padding */
  .zc-blg__body { padding-top: 18px; padding-bottom: 28px; }
  .zc-blg__layout { gap: 18px; }

  /* Head: tighter type, smaller chips, less vertical air. */
  .zc-blg__head-top { gap: 8px; margin-bottom: 8px; }
  .zc-blg__head-eyebrow {
    font-size: 9px;
    letter-spacing: 1.6px;
    padding: 4px 9px;
  }
  .zc-blg__head-status { font-size: 10px; padding: 4px 9px; gap: 6px; }
  .zc-blg__head-status-dot { width: 6px; height: 6px; }
  .zc-blg__head-title {
    font-size: clamp(20px, 6vw, 26px);
    letter-spacing: -0.4px;
    line-height: 1.15;
    margin: 0 0 8px;
  }
  .zc-blg__head-sub { font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
  .zc-blg__crumb { font-size: 10px; gap: 6px; margin-bottom: 12px; }
  .zc-blg__crumb-link,
  .zc-blg__crumb-current { padding: 4px 9px; }

  /* Active filter chips — single-row horizontal scroller so they don't
     stack and waste vertical space. Cleaner alignment, no awkward wrap. */
  .zc-blg__chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding: 8px 10px;
    margin: 0 calc(-1 * var(--zc-pad-x-mb)) 14px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding-left: var(--zc-pad-x-mb);
    padding-right: var(--zc-pad-x-mb);
  }
  .zc-blg__chips::-webkit-scrollbar { display: none; }
  .zc-blg__chips-label {
    flex-shrink: 0;
    font-size: 9px;
    letter-spacing: 1.4px;
  }
  .zc-blg__chip {
    flex-shrink: 0;
    padding: 4px 10px;
    font-size: 11px;
    gap: 4px;
  }
  .zc-blg__chip i { font-size: 11px; }
  .zc-blg__chips-clear {
    flex-shrink: 0;
    margin-left: 4px;
    font-size: 11px;
  }

  /* Toolbar */
  .zc-blg__toolbar {
    gap: 10px;
    padding: 12px 0;
    margin-bottom: 18px;
  }
  .zc-blg__count { font-size: 12.5px; }
  .zc-blg__filter-btn {
    padding: 8px 14px;
    font-size: 10.5px;
    letter-spacing: 0.5px;
    gap: 6px;
  }
  .zc-blg__filter-btn i { font-size: 12px; }
  .zc-blg__filter-btn-count { min-width: 16px; height: 16px; font-size: 9.5px; }
  .zc-blg__sort-label { display: none; }
  .zc-blg__sort-btn { padding: 8px 12px; font-size: 11px; gap: 6px; }
  .zc-blg__sort-btn-label { display: inline; }

  /* Grid + cards */
  .zc-blg__grid { gap: 14px; }
}

/* ==========================================================================
   FILTER DRAWER POLISH — applies at the same breakpoint as the drawer
   itself (<= 991px), so tablet widths between 769-991px also pick up
   these fixes. Was originally nested inside the 768px polish block,
   which meant the drawer was visible but looked wrong on tablets.
   ========================================================================== */
@media (max-width: 991px) {
  /* The drawer needs flat edges (the rounded corners read as a
     floating card and feel disorganised next to the viewport edges),
     proper scrolling all the way to the bottom (sticky top-bar was
     constraining height), and roomier widget gaps so Article / Archive
     widgets don't visually merge into each other. */
  .zc-blg__aside {
    width: min(360px, 92vw);
    padding: 0;
    border-radius: 0 !important;
    border-left: 1px solid var(--zc-amber-a25);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    /* Was display:flex; flex-direction:column — combined with
       overflow:auto and a sticky bar that cut off the last widget
       on some phones. Block layout fixes it; the bar uses
       position:sticky instead of flex order. */
    display: block;
  }
  .zc-blg__aside-bar {
    padding: 14px 14px 12px;
    border-bottom: 1px solid var(--zc-linen);
    border-radius: 0;
  }
  .zc-blg__aside-bar-title { font-size: 14px; }
  .zc-blg__aside-close { width: 32px; height: 32px; }

  /* Widgets: flat edges flush to the drawer column. First widget
     sits right under the sticky bar (no top gap); last widget
     touches the bottom of the drawer (no tail gap). */
  .zc-blg__aside > .zc-blg__widget {
    margin: 16px 14px;
    border-radius: 0 !important;
  }
  .zc-blg__aside > .zc-blg__widget:first-of-type { margin-top: 0; }
  .zc-blg__aside > .zc-blg__widget:last-of-type { margin-bottom: 0; }

  .zc-blg__widget-title {
    padding: 12px 14px 10px;
    font-size: 13.5px;
  }
  .zc-blg__widget > .zc-blg__search,
  .zc-blg__widget > .zc-blg__tags,
  .zc-blg__widget > .zc-blg__recent {
    margin: 12px;
  }
  .zc-blg__widget > .zc-blg__cat-list,
  .zc-blg__widget > .zc-blg__cat-scroll {
    margin: 8px;
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .zc-blg__search { height: 40px; }
  .zc-blg__search-ic { width: 40px; font-size: 13px; }

  /* Recent posts inside the drawer — slightly wider thumb so the
     16:9 image stays legible at small widths, tighter row padding
     so more items fit above the fold. */
  .zc-blg__recent { gap: 6px; }
  .zc-blg__recent-link {
    grid-template-columns: 112px 1fr;
    gap: 10px;
    padding: 5px;
  }
  .zc-blg__recent-img {
    width: 112px !important;
  }
  .zc-blg__recent-title {
    font-size: 12.5px;
    line-height: 1.32;
    margin-bottom: 4px;
  }
  .zc-blg__recent-date { font-size: 10px; }
}
