/* Zipato Help Center: brand layer over Material. Teal #299892 is from the zipato.com logo. */

:root {
  --zc-teal: #299892;
  --zc-teal-ink: #1b726d;      /* teal that passes contrast for text on white */
  --zc-teal-soft: #e8f4f3;
  --zc-ink: #1d1d1c;
  --zc-muted: #5f6664;
  --zc-line: #e3e7e6;
  --zc-surface: #ffffff;
  --zc-ground: #f6f8f7;
  --zc-radius: 12px;
  --zc-shadow: 0 1px 2px rgba(16, 24, 22, .05), 0 4px 16px rgba(16, 24, 22, .06);
  --zc-heading-font: "Rubik", var(--md-text-font-family, "Inter"), system-ui, sans-serif;
  --zc-hero-bg:
    radial-gradient(50rem 22rem at 105% -30%, rgba(41, 152, 146, .22), transparent 60%),
    linear-gradient(135deg, #eef7f6 0%, #ffffff 100%);
  --zc-hero-ink: var(--zc-ink);
  --zc-hero-muted: var(--zc-muted);
  --zc-hero-eyebrow: var(--zc-teal-ink);
  --zc-hero-border: #d6e9e7;
}

/* Material's footer colors default to white-on-dark; follow the page theme instead. */
[data-md-color-scheme] {
  --md-footer-bg-color: var(--zc-surface);
  --md-footer-bg-color--dark: var(--zc-surface);
  --md-footer-fg-color: var(--zc-ink);
  --md-footer-fg-color--light: var(--zc-muted);
  --md-footer-fg-color--lighter: var(--zc-muted);
}

[data-md-color-scheme="default"] {
  --md-primary-fg-color: var(--zc-teal);
  --md-primary-fg-color--light: #4fb3ad;
  --md-primary-fg-color--dark: var(--zc-teal-ink);
  --md-accent-fg-color: var(--zc-teal-ink);
  --md-accent-fg-color--transparent: rgba(41, 152, 146, .1);
  --md-typeset-a-color: var(--zc-teal-ink);
  --md-default-fg-color: var(--zc-ink);
  --md-default-bg-color: var(--zc-ground);
  --md-typeset-color: #2b302f;
}

[data-md-color-scheme="slate"] {
  --zc-teal-ink: #5cc7c0;
  --zc-teal-soft: rgba(92, 199, 192, .12);
  --zc-ink: #e9eeed;
  --zc-muted: #9aa5a3;
  --zc-line: #2c3533;
  --zc-surface: #1a2020;
  --zc-ground: #131817;
  --zc-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --md-hue: 170;
  --md-primary-fg-color: var(--zc-teal);
  --md-primary-fg-color--light: #4fb3ad;
  --md-primary-fg-color--dark: #1b726d;
  --md-accent-fg-color: var(--zc-teal-ink);
  --md-accent-fg-color--transparent: rgba(92, 199, 192, .12);
  --md-typeset-a-color: var(--zc-teal-ink);
  --md-default-bg-color: var(--zc-ground);
  --md-default-fg-color: var(--zc-ink);
  --zc-hero-bg:
    radial-gradient(60rem 20rem at 110% -40%, rgba(41, 152, 146, .28), transparent 60%),
    linear-gradient(135deg, #1d1d1c 0%, #1f2b2a 100%);
  --zc-hero-ink: #fff;
  --zc-hero-muted: rgba(255, 255, 255, .75);
  --zc-hero-eyebrow: #7fd3cd;
  --zc-hero-border: var(--zc-line);
}

/* ---------- Header, tabs, announcement ---------- */

.md-header,
.md-tabs {
  background: var(--zc-surface);
  color: var(--zc-ink);
}

.md-header {
  box-shadow: none;
  border-bottom: 1px solid var(--zc-line);
}

.md-header--shadow {
  box-shadow: 0 2px 12px rgba(16, 24, 22, .06);
}

.md-header__button.md-logo img {
  height: 1.35rem;
}

/* Logo already says "zipato"; show the product name next to it. */
.md-header__topic:first-child .md-ellipsis {
  font-size: 0;
}

.md-header__topic:first-child .md-ellipsis::after {
  content: "Help Center";
  font-size: .8rem;
  font-weight: 500;
  color: var(--zc-muted);
}

.md-header__title {
  margin-left: .6rem;
}

/* Material hides the logo below this width, so spell out the brand instead. */
@media screen and (max-width: 76.2344em) {
  .md-header__topic:first-child .md-ellipsis::after {
    content: "Zipato Help Center";
    color: var(--zc-ink);
  }
}

.md-tabs {
  border-bottom: 1px solid var(--zc-line);
}

.md-tabs__link {
  font-size: .72rem;
  font-weight: 500;
  opacity: 1;
  color: var(--zc-muted);
  margin-top: .55rem;
}

.md-tabs__item--active .md-tabs__link,
.md-tabs__link:hover {
  color: var(--zc-teal-ink);
}

.md-tabs__item--active {
  box-shadow: inset 0 -2px 0 var(--zc-teal);
}

.md-search__form {
  background: var(--zc-ground);
  border: 1px solid var(--zc-line);
  border-radius: 999px;
}

.md-search__form:hover {
  background: var(--zc-ground);
  border-color: var(--zc-teal);
}

/* Material's white search icon is invisible on our white header. */
.md-search__input,
.md-search__input::placeholder,
.md-search__icon,
.md-search__input + .md-search__icon {
  color: var(--zc-muted);
}

[data-md-toggle="search"]:checked ~ .md-header .md-search__form {
  border-radius: .6rem .6rem 0 0;
}

/* ---------- Page body ---------- */

.md-main__inner {
  margin-top: 1rem;
}

.md-content__inner {
  margin-bottom: 3rem;
}

.md-typeset {
  font-size: .78rem;
  line-height: 1.7;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  font-family: var(--zc-heading-font);
  color: var(--zc-ink);
  letter-spacing: -.01em;
}

.md-typeset h1 {
  font-weight: 600;
  font-size: 1.75em;
  line-height: 1.25;
  margin-bottom: 1em;
}

.md-typeset h2 {
  font-weight: 500;
}

.md-typeset strong {
  color: var(--zc-ink);
  font-weight: 600;
}

/* Article pages: sit on a white sheet, keep lines readable. */
.md-content__inner:not(:has(.zc-hero)):not(:has(.zc-section-head)) {
  background: var(--zc-surface);
  border: 1px solid var(--zc-line);
  border-radius: var(--zc-radius);
  padding: 1.6rem 2rem 2rem;
  max-width: 46rem;
}

.md-content__inner:not(:has(.zc-hero)):not(:has(.zc-section-head))::before {
  display: none;
}

.md-main__inner:has(.md-sidebar--primary[hidden]):has(.md-sidebar--secondary[hidden]) .md-content__inner {
  margin-inline: auto;
}

@media screen and (max-width: 44.9375em) {
  .md-content__inner:not(:has(.zc-hero)):not(:has(.zc-section-head)) {
    padding: 1rem 1rem 1.5rem;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
}

.md-typeset img {
  display: block;
  margin: 1.2em 0;
  border: 1px solid var(--zc-line);
  border-radius: 8px;
  height: auto;
}

.md-typeset .video {
  position: relative;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.2em 0;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.md-typeset .video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Click-to-play placeholder (hooks/video_facade.py); keeps the 16:9 box. */
.md-typeset .zc-video {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(41, 152, 146, .28), transparent 55%),
    linear-gradient(160deg, #101a19, #1b2928);
  border: 1px solid rgba(255, 255, 255, .08);
  container-type: inline-size;
}

/* on the link, not the card, so the container query below can resize it */
.md-typeset .zc-video .zc-video__play::before {
  content: "";
  position: absolute;
  top: .9rem;
  left: 1rem;
  width: 4.9rem;
  height: 1.5rem;
  background: url("brand/zipato-logo.png") left center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.md-typeset a.zc-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.md-typeset a.zc-video__play:hover {
  color: #fff;
}

.md-typeset a.zc-video__play:focus-visible {
  outline: 3px solid var(--zc-teal);
  outline-offset: -6px;
}

.zc-video__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--zc-teal);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .92), 0 4px 18px rgba(0, 0, 0, .35);
  transition: transform .15s, opacity .15s;
}

.zc-video__icon svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: currentColor;
  /* optical centring */
  margin-left: .12rem;
}

.md-typeset a.zc-video__play:hover .zc-video__icon {
  transform: scale(1.07);
}

.zc-video__caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .95rem;
  text-align: left;
}

.zc-video__eyebrow {
  display: block;
  margin-bottom: .35rem;
  color: #7fd1cb;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.zc-video__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--zc-heading-font);
  font-weight: 500;
  font-size: 1.05em;
  line-height: 1.25;
}

.zc-video__note {
  position: absolute;
  top: .75rem;
  right: .75rem;
  padding: .2rem .6rem;
  border: 1px solid #5c6b69;
  border-radius: 999px;
  background: #0b1211;
  color: #fff;
  font-size: .75em;
}

@container (max-width: 400px) {
  .md-typeset .zc-video .zc-video__play::before {
    top: .75rem;
    left: .85rem;
    width: 4rem;
    height: 1.25rem;
  }

  .zc-video .zc-video__note {
    top: .6rem;
    right: .6rem;
  }

  .zc-video__note {
    padding: .15rem .5rem;
    font-size: .68em;
  }

  .zc-video__icon {
    width: 3rem;
    height: 3rem;
  }

  .zc-video__icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .zc-video__caption {
    left: .85rem;
    right: .85rem;
    bottom: .75rem;
  }
}

@container (max-width: 320px) {
  .md-typeset .zc-video .zc-video__play::before {
    display: none;
  }
}

@media (hover: hover) {
  .zc-video__icon {
    opacity: .78;
  }

  .zc-video:hover .zc-video__icon,
  .zc-video__play:focus-visible .zc-video__icon {
    opacity: 1;
  }
}

.md-typeset hr {
  border-bottom-color: var(--zc-line);
}

/* Breadcrumbs */
/* Bottom margin only, so breadcrumbs line up with the content. */
.md-path {
  font-size: .64rem;
  margin-bottom: .8rem;
}

.md-path__link {
  color: var(--zc-muted);
}

/* ---------- Sidebar ---------- */

.md-nav {
  font-size: .68rem;
}

.md-nav__link--active,
.md-nav__item .md-nav__link--active {
  color: var(--zc-teal-ink);
  font-weight: 600;
}

/* Desktop: categories only; the current category's articles are in the right panel. */
@media screen and (min-width: 76.25em) {
  .md-sidebar--primary {
    width: 14.2rem;
  }

  /* Card ends after the last category; Material forces full height. */
  .md-sidebar--primary .md-sidebar__scrollwrap {
    height: auto !important;
    max-height: calc(100vh - 7rem);
    background: var(--zc-surface);
    border: 1px solid var(--zc-line);
    border-radius: 14px;
    padding: .7rem .45rem .5rem;
  }

  /* The right column scrolls its content, which clipped the panel's border at the edges. */
  .md-sidebar--secondary .md-sidebar__inner {
    padding: 2px 2px 0 1px;
  }

  .md-sidebar--primary .md-sidebar__inner {
    padding-right: 0;
  }

  .md-sidebar--primary .md-nav__link {
    margin-top: 0;
  }

  .md-sidebar--primary .md-nav__item {
    padding: 0;
  }

  /* Reset Material's nested-list offsets. */
  .md-sidebar--primary .md-nav--primary > .md-nav__list,
  .md-sidebar--primary .md-nav[data-md-level="1"] > .md-nav__list {
    padding-left: 0;
  }

  .md-sidebar--primary .md-nav[data-md-level="1"],
  [dir] .md-sidebar--primary .md-nav--lifted > .md-nav__list > .md-nav__item > .md-nav[data-md-level="1"] {
    margin: 0;
  }

  /* Only categories: hide each category's article list and its expand chevron. */
  .md-sidebar--primary .md-nav[data-md-level="2"],
  .md-sidebar--primary .md-nav[data-md-level="1"] .md-nav__container > label.md-nav__link {
    display: none;
  }

  /* Tab name as a caption over a thin rule; card colour instead of Material's halo. */
  .md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item--section > .md-nav__container {
    margin: 0 .2rem .5rem;
    padding: 0 0 .5rem;
    border-bottom: 1px solid var(--zc-line);
    background: var(--zc-surface);
    box-shadow: none;
  }

  .md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item--section > .md-nav__container > a.md-nav__link {
    padding: .15rem .4rem 0;
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--zc-muted);
  }

  .md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item--section > .md-nav__container svg,
  .md-sidebar--primary .md-nav--primary > .md-nav__list > .md-nav__item--section > .md-nav__container > label {
    display: none;
  }

  /* Category rows: icon, name, count. Padding goes on the inner link only. */
  .md-sidebar--primary .md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item + .md-nav__item {
    margin-top: .2rem;
  }

  .md-sidebar--primary .md-nav[data-md-level="1"] .md-nav__link.md-nav__container {
    padding: 0;
    margin: 0;
    border-radius: 10px;
  }

  .md-sidebar--primary .md-nav[data-md-level="1"] .md-nav__container > a.md-nav__link,
  .md-sidebar--primary .md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item > a.md-nav__link {
    flex: 1;
    min-width: 0;
    align-items: center;
    gap: .6rem;
    padding: .45rem .55rem;
    border-radius: 10px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--zc-ink);
  }

  .md-sidebar--primary .md-nav[data-md-level="1"] .md-nav__container:hover {
    background: var(--zc-teal-soft);
  }

  .md-sidebar--primary .md-nav[data-md-level="1"] .md-nav__container:hover > a.md-nav__link {
    color: var(--zc-teal-ink);
  }

  /* Rows that are plain links (the announcements under News) highlight the same way. */
  .md-sidebar--primary .md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item > a.md-nav__link:hover {
    background: var(--zc-teal-soft);
    color: var(--zc-teal-ink);
  }

  .md-sidebar--primary .md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item > a.md-nav__link.md-nav__link--active,
  .md-sidebar--primary .md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item > a.md-nav__link.md-nav__link--active:hover {
    background: var(--zc-teal-soft);
    color: var(--zc-teal-ink);
    font-weight: 600;
  }

  .md-sidebar--primary .md-nav[data-md-level="1"] .md-nav__link svg {
    box-sizing: content-box;
    width: .95rem;
    height: .95rem;
    padding: .3rem;
    border-radius: 8px;
    background: var(--zc-teal-soft);
    color: var(--zc-teal-ink);
    transition: background-color .15s, color .15s;
  }

  .md-sidebar--primary .zc-nav-count {
    margin-left: auto;
    padding: .05rem .4rem;
    border-radius: 999px;
    background: var(--zc-ground);
    color: var(--zc-muted);
    font-size: .58rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }

  /* Current category: tinted row, solid tile, teal name. */
  .md-sidebar--primary .md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item--active > .md-nav__container {
    background: var(--zc-teal-soft);
  }

  .md-sidebar--primary .md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item--active > .md-nav__container > a.md-nav__link {
    color: var(--zc-teal-ink);
    font-weight: 600;
  }

  .md-sidebar--primary .md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item--active > .md-nav__container svg {
    background: var(--zc-teal);
    color: #fff;
  }

  .md-sidebar--primary .md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item--active .zc-nav-count {
    background: var(--zc-surface);
    color: var(--zc-teal-ink);
  }
}

/* ---------- "In this category" panel (right column of article pages) ---------- */

.zc-incat {
  margin: 0 0 1rem;
  padding: .8rem .6rem .6rem;
  background: var(--zc-surface);
  border: 1px solid var(--zc-line);
  border-radius: 14px;
  font-size: .64rem;
}

.md-nav--secondary:has(.md-nav__list) + .zc-incat {
  margin-top: 1rem;
}

.zc-incat__eyebrow {
  margin: 0 .4rem .2rem;
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--zc-muted);
}

.zc-incat__category {
  display: block;
  margin: 0 .4rem .5rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--zc-line);
  font-family: var(--zc-heading-font);
  font-size: .8rem;
  font-weight: 500;
  color: var(--zc-ink);
}

.zc-incat__category:hover,
.zc-incat__category--active {
  color: var(--zc-teal-ink);
}

.zc-incat__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zc-incat__group {
  margin: .7rem .4rem .2rem;
  font-size: .54rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--zc-muted);
}

.zc-incat__link {
  display: block;
  padding: .28rem .4rem;
  border-radius: 7px;
  line-height: 1.35;
  color: var(--zc-muted);
}

.zc-incat__link:hover {
  background: var(--zc-teal-soft);
  color: var(--zc-teal-ink);
}

.zc-incat__link--active,
.zc-incat__link--active:hover {
  background: var(--zc-teal-soft);
  color: var(--zc-teal-ink);
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--zc-teal);
}

.md-footer {
  background: var(--zc-surface);
  color: var(--zc-muted);
  border-top: 1px solid var(--zc-line);
}

.md-footer__link,
.md-footer__direction,
.md-footer__title {
  color: var(--zc-ink);
}

.md-footer-meta {
  background: var(--zc-surface);
  color: var(--zc-muted);
}

.md-footer-meta__inner {
  border-top: 1px solid var(--zc-line);
}

.md-copyright {
  width: 100%;
  color: var(--zc-muted);
  text-align: center;
}

/* Footer link: faint underline, brand colour on hover. */
.md-copyright a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--zc-line);
  text-underline-offset: .2em;
}

.md-copyright a:hover {
  color: var(--zc-teal-ink);
  text-decoration-color: currentColor;
}

/* ---------- Shared building blocks ---------- */

.md-typeset .zc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  background: var(--zc-teal-soft);
  color: var(--zc-teal-ink);
  flex: none;
}

/* Let the SVG size the glyph so it centres in its tile. */
.md-typeset .zc-icon .twemoji {
  display: flex;
  width: auto;
  height: auto;
  vertical-align: middle;
}

.md-typeset .zc-icon svg {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  max-height: none;
  fill: currentColor;
}

.md-typeset .zc-meta,
.md-typeset .zc-date,
.md-typeset .zc-count {
  color: var(--zc-muted);
  font-size: .85em;
  font-variant-numeric: tabular-nums;
}

.md-typeset .zc-lead {
  font-size: 1.1em;
  color: var(--zc-muted);
  max-width: 38rem;
}

/* Section header on category / FAQ / news pages */
.md-typeset .zc-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.1rem;
  align-items: start;
  margin-bottom: 1.8rem;
  padding: 1.5rem 1.6rem 1.3rem;
  border: 1px solid var(--zc-hero-border);
  border-radius: 16px;
  background:
    radial-gradient(30rem 12rem at 105% -40%, rgba(41, 152, 146, .20), transparent 65%),
    linear-gradient(135deg, var(--zc-teal-soft) 0%, var(--zc-surface) 100%);
}

.md-typeset .zc-section-head .zc-icon {
  background: var(--zc-surface);
  box-shadow: 0 1px 2px rgba(16, 24, 22, .06);
}

@media screen and (max-width: 44.9375em) {
  .md-typeset .zc-section-head {
    padding: 1.1rem 1rem 1rem;
  }
}

/* Section headings inside a category (e.g. "System", "Automation") */
.md-typeset .zc-section-head ~ h2 {
  font-size: 1.05em;
  margin: 1.8em 0 .7em;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.md-typeset .zc-section-head ~ h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--zc-line);
}

.md-typeset .zc-section-head + h2 {
  margin-top: 0;
}

.md-typeset .zc-section-head > p:has(> .zc-icon) {
  grid-row: span 3;
  align-self: start;
  display: flex;
  margin: 0;
}

.md-typeset .zc-section-head .zc-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
}

.md-typeset .zc-section-head .zc-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.md-typeset .zc-section-head h1 {
  margin: 0 0 .25em;
}

.md-typeset .zc-section-head p {
  margin: 0 0 .3em;
}

/* Link list rendered as rows */
.md-typeset .zc-list > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--zc-surface);
  border: 1px solid var(--zc-line);
  border-radius: var(--zc-radius);
  overflow: hidden;
}

.md-typeset .zc-list > ul > li {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: .75rem;
  border-top: 1px solid var(--zc-line);
}

.md-typeset .zc-list > ul > li:first-child {
  border-top: 0;
}

.md-typeset .zc-list > ul > li > a {
  flex: 1;
  display: block;
  padding: .65rem 1rem;
  color: var(--zc-ink);
}

.md-typeset .zc-list > ul > li > a::after {
  content: "›";
  float: right;
  color: var(--zc-muted);
  margin-left: .5rem;
}

.md-typeset .zc-list > ul > li > span {
  padding-right: 1rem;
  white-space: nowrap;
}

.md-typeset .zc-list > ul > li:has(> span) > a::after {
  content: none;
}

/* Rich rows: title, preview text and (for news) a date */
.md-typeset .zc-list--rich > ul > li > a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .8rem 2.4rem .85rem 1.1rem;
}

.md-typeset .zc-list--rich > ul > li > a::after {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  float: none;
  font-size: 1.1em;
}

.md-typeset .zc-row-title {
  font-weight: 500;
  color: var(--zc-ink);
}

.md-typeset .zc-excerpt {
  color: var(--zc-muted);
  font-size: .88em;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.md-typeset .zc-list--rich .zc-date {
  order: -1;
  font-size: .78em;
  letter-spacing: .02em;
}

.md-typeset .zc-list--rich > ul > li:hover .zc-row-title {
  color: var(--zc-teal-ink);
}

/* Other categories */
.md-typeset .zc-others {
  margin-top: 2.4rem;
}

.md-typeset .zc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.md-typeset .zc-chips > p {
  display: contents;
}

.md-typeset a.zc-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .8rem;
  border: 1px solid var(--zc-line);
  border-radius: 999px;
  background: var(--zc-surface);
  color: var(--zc-ink);
  font-size: .9em;
}

.md-typeset a.zc-chip .twemoji {
  color: var(--zc-teal-ink);
}

.md-typeset a.zc-chip:hover {
  border-color: var(--zc-teal);
  color: var(--zc-teal-ink);
}

.md-typeset .zc-list > ul > li:hover {
  background: var(--zc-teal-soft);
}

.md-typeset .zc-list > ul > li:hover > a {
  color: var(--zc-teal-ink);
}

/* Cards */
.md-typeset .zc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
  gap: .9rem;
  margin: 1rem 0 2rem;
}

.md-typeset .zc-cards > p {
  display: contents;
}

.md-typeset a.zc-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: .6rem;
  padding: 1.05rem 1.1rem;
  background: var(--zc-surface);
  border: 1px solid var(--zc-line);
  border-radius: var(--zc-radius);
  color: var(--zc-ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}

.md-typeset a.zc-card:hover {
  border-color: var(--zc-teal);
  box-shadow: var(--zc-shadow);
  transform: translateY(-1px);
}

.md-typeset a.zc-card .zc-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 10px;
}

.md-typeset a.zc-card .zc-card-title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-family: var(--zc-heading-font);
  font-weight: 500;
  font-size: 1.05em;
}

.md-typeset a.zc-card .zc-card-text {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: .55rem;
  color: var(--zc-muted);
  font-size: .9em;
  line-height: 1.5;
}

/* The count reads as a tag rather than a closing sentence. */
.md-typeset a.zc-card .zc-meta {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  margin-top: .65rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: var(--zc-teal-soft);
  color: var(--zc-teal-ink);
  font-size: .78em;
  font-weight: 600;
}

.md-typeset a.zc-card:hover .zc-meta {
  background: var(--zc-teal);
  color: #fff;
}

/* Panels (home page FAQ / news, FAQ index) */
.md-typeset .zc-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.md-typeset .zc-panel h2,
.md-typeset .zc-panel-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--zc-heading-font);
  font-weight: 500;
  font-size: 1.05em;
  line-height: 1.4;
  color: var(--zc-ink);
  margin: 0 0 .7rem;
}

.md-typeset .zc-panel h2 .twemoji {
  color: var(--zc-teal-ink);
}

.md-typeset .zc-more {
  display: inline-block;
  margin-top: .6rem;
  font-weight: 500;
}

.md-typeset .zc-h2 {
  font-size: 1.15em;
  margin: 0;
}

/* ---------- Home hero ---------- */

.md-typeset .zc-hero {
  position: relative;
  margin: -.4rem 0 2.2rem;
  padding: 2.6rem 2.4rem 2.4rem;
  border-radius: 18px;
  border: 1px solid var(--zc-hero-border);
  background: var(--zc-hero-bg);
  color: var(--zc-hero-ink);
  overflow: hidden;
}

.md-typeset .zc-hero h1 {
  color: var(--zc-hero-ink);
  font-size: 2.1em;
  max-width: 30rem;
  margin: .2em 0 .5em;
}

.md-typeset .zc-hero .zc-lead {
  color: var(--zc-hero-muted);
  margin-bottom: 1.6em;
}

.md-typeset .zc-eyebrow {
  margin: 0;
  color: var(--zc-hero-eyebrow);
  font-size: .8em;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.md-typeset .zc-search {
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: 30rem;
  padding: .75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #5f6664;
  cursor: text;
  border: 1px solid var(--zc-hero-border);
  box-shadow: 0 6px 24px rgba(16, 24, 22, .10);
}

.md-typeset .zc-search span:not(.twemoji) {
  flex: 1;
}

.md-typeset .zc-search .twemoji svg {
  fill: var(--zc-teal);
  width: 1.1rem;
  height: 1.1rem;
  max-height: none;
}

.md-typeset .zc-search kbd {
  font-size: .75em;
  box-shadow: none;
  border: 1px solid #d5dbd9;
  background: #f6f8f7;
  color: #5f6664;
}

@media screen and (max-width: 44.9375em) {
  .md-typeset .zc-hero {
    margin: -.8rem -.8rem 1.8rem;
    padding: 1.8rem 1.2rem;
    border-radius: 0;
  }

  .md-typeset .zc-hero h1 {
    font-size: 1.6em;
  }

  .md-typeset .zc-search kbd {
    display: none;
  }
}
