/* ========== LAB ARCHIVE (CPT analyse) ========== */
/* Scope variables only for archive/tax pages */

#page {
  overflow: hidden;
}
.post-type-archive-analyse,
.tax-kategorie,
.tax-buchstabe,
.tax-synonyme {
  --lab-max: 1100px;
  --lab-gap: 12px;
  --lab-border: #e5e7eb;
  --lab-muted: #6b7280;
  --lab-text: #111827;
  --lab-bg: #ffffff;
  --lab-chip: #f4f6fa;
  --lab-chip-hover: #eef2f7;
  --lab-accent: #22c55e;
}

/* Container (same width as content) */
.post-type-archive-analyse .labkit-container,
.tax-kategorie .labkit-container,
.tax-buchstabe .labkit-container,
.tax-synonyme .labkit-container {
  box-sizing: border-box;
  max-width: var(--lab-max);
  width: 100%;
  margin-inline: auto;
  padding-inline: 16px;
}

.labkit-archive {
  margin: 40px auto;
}

/* Page title defaults */
.post-type-archive-analyse h1,
.tax-kategorie h1,
.tax-buchstabe h1,
.tax-synonyme h1 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  margin: 8px 0 16px;
}

/* ---------- HERO (full-width background, title aligned to container) ---------- */
.labkit-hero {
  width: 100%;
  min-height: 208px;
  display: flex;
  align-items: center;
  background-color: #0d3b66;
  background-image: var(--hero-img);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: contain;
}

@media (max-width: 1450px) {
  .labkit-hero {
    background-size: cover;
  }
}

.labkit-hero__title {
  margin: 0;
  padding: 24px 0;
  color: #f0feff;
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
}

/* ---------- Filters row (left: category dropdown, right: posts search) ---------- */
.labkit-filters {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 24px;
  align-items: center;
  margin: 8px 0 24px;
}

/* Shared input look (both fields) */
.labkit-cat-live__input,
.labkit-post-search__input {
  height: 40px;
  width: 100%;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  appearance: none;
  box-shadow: none;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.labkit-cat-live__input::placeholder,
.labkit-post-search__input::placeholder {
  color: #9aa3af;
}
.labkit-cat-live__input:focus,
.labkit-post-search__input:focus {
  outline: none;
  background: #fff;
  border-color: #9ec5ff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
/* --- DROPDOWNS: Category & Post live results (same look) --- */
.labkit-cat-live__box,
.labkit-post-live__box {
  position: absolute;
  z-index: 2000;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  max-height: 360px;
  overflow: auto;
  padding: 0;
}

/* lists inside dropdowns */
.labkit-cat-live__box ul,
.labkit-post-live__box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.labkit-cat-live__box li,
.labkit-post-live__box li {
  margin: 0;
}

/* rows */
.labkit-cat-live__box a,
.labkit-post-live__box a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #1f2937;
  text-decoration: none;
  line-height: 1.25;
  border-top: 1px solid #f3f4f6;
}
.labkit-cat-live__box li:first-child a,
.labkit-post-live__box li:first-child a {
  border-top: none;
}
.labkit-cat-live__box a:hover,
.labkit-post-live__box a:hover {
  background: #f5f7f9;
}

.labkit-cat-live__box a.is-active {
  background: #e8f6ef;
  font-weight: 700;
}
.labkit-cat-live__box a.is-active::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

/* empty state */
.labkit-cat-live__box .empty,
.labkit-post-live__box .empty {
  padding: 12px 14px;
  color: #6b7280;
}

/* containers should be relative so dropdowns position correctly */
.labkit-post-live {
  position: relative;
}
.labkit-cat-live {
  position: relative;
}

.labkit-cat-live__input,
.labkit-post-search__input {
  height: 48px !important;
  border-radius: 0 !important;
}
/* Category live dropdown (left) */
.labkit-cat-live {
  position: relative;
  width: 100%;
}
.labkit-cat-live__input {
  padding: 8px 34px 8px 12px;
}
/* Arrow icon on the right */
.labkit-cat-live::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  opacity: 0.6;
  pointer-events: none;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23838b99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}
.labkit-cat-live:focus-within::after {
  opacity: 0.9;
}

/* Dropdown box */
.labkit-cat-live__box {
  position: absolute;
  z-index: 2000;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--lab-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  max-height: 360px;
  overflow: auto;
  padding: 0;
}
.labkit-cat-live__box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.labkit-cat-live__box li {
  margin: 0;
}
.labkit-cat-live__box a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: #1f2937;
  text-decoration: none;
  line-height: 1.25;
  border-top: 1px solid #f3f4f6;
}
.labkit-cat-live__box .empty {
  padding: 12px 14px;
}
.labkit-cat-live__box li:first-child a {
  border-top: none;
}
.labkit-cat-live__box a:hover {
  background: #f5f7f9;
}
/* Active item (highlight + green dot) */
.labkit-cat-live__box a.is-active {
  background: #dff5ec;
  font-weight: 700;
}
.labkit-cat-live__box a.is-active::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lab-accent);
}

/* Posts search (right) with left search icon */
.labkit-post-search {
  position: relative;
  width: 100%;
}
.labkit-post-search__input {
  padding: 8px 12px 8px 36px;
}
.labkit-post-search::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  opacity: 0.6;
  pointer-events: none;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23838b99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
}

/* ===== Alphabet bar (clean, no borders) ===== */
.labkit-abc {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fafafa;
  margin-bottom: 35px;
}

.labkit-abc__all {
  height: 48px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dae6f0;
  color: #374151;
  text-decoration: none;
  font-weight: 700;
  user-select: none;
  border-right: 2px solid #b5cbe3;
}
.labkit-abc__all.is-active {
  background: #22c55e;
  color: #fff;
}

.labkit-abc__scroll {
  flex: 1 1 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.labkit-abc__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: max-content;
}

.labkit-abc__item a {
  height: 48px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.labkit-abc__item a:hover {
  background: rgba(0, 0, 0, 0.04);
}

.labkit-abc__item a[aria-current="page"],
.labkit-abc__item a.is-active {
  background: #22c55e;
  color: #fff;
  font-weight: 700;
}

.labkit-abc__scroll::-webkit-scrollbar {
  height: 8px;
}
.labkit-abc__scroll::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 4px;
}

/* ===== Pagination (clean) ===== */
.labkit-archive .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: auto;
  padding: 0;
  margin: 0 14px 0 0; /* spacing between items */
  border: none;
  background: transparent;
  color: #111827;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
}
.labkit-archive .page-numbers.dots {
  margin: 0 10px;
  color: #9aa3af;
}
.labkit-archive a.page-numbers:hover {
  color: #0a386c;
  text-decoration: underline;
}
.labkit-archive .page-numbers.current {
  color: #0a386c;
  font-weight: 700;
}
.labkit-archive .page-numbers.prev,
.labkit-archive .page-numbers.next {
  font-size: 20px;
  color: #9aa3af;
  margin-right: 16px;
}
.labkit-archive a.page-numbers.prev:hover,
.labkit-archive a.page-numbers.next:hover {
  color: #0a386c;
}

/* ===== Items / page (right) ===== */
.labkit-per-page {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: -36px;
  user-select: none;
}
.labkit-per-page label {
  display: none;
}

.labkit-per-page select:focus {
  outline: none;
  border-color: #9ec5ff !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.labkit-per-page span {
  font-size: 16px;
  color: #374151;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .labkit-per-page {
    float: none;
    margin: 12px 0 0;
  }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 768px) {
  .labkit-filters {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .labkit-per-page {
    float: none;
    margin-top: 10px;
  }
  .labkit-alphabet a {
    min-width: 28px;
    height: 26px;
    line-height: 26px;
  }
  .post-type-archive-analyse article,
  .tax-kategorie article,
  .tax-buchstabe article,
  .tax-synonyme article {
    padding: 12px 12px;
  }
}

/* === FIX: hard override for inputs on archive/tax pages === */
body.post-type-archive-analyse .labkit-cat-live__input,
body.post-type-archive-analyse .labkit-post-search__input,
body.tax-kategorie .labkit-cat-live__input,
body.tax-kategorie .labkit-post-search__input,
body.tax-buchstabe .labkit-cat-live__input,
body.tax-buchstabe .labkit-post-search__input,
body.tax-synonyme .labkit-cat-live__input,
body.tax-synonyme .labkit-post-search__input {
  box-sizing: border-box !important;
  height: 40px !important;
  background: #fafafa !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  color: #111827 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  padding: 8px 12px !important;
}

/* space for arrow (category) */
body.post-type-archive-analyse .labkit-cat-live__input,
body.tax-kategorie .labkit-cat-live__input,
body.tax-buchstabe .labkit-cat-live__input,
body.tax-synonyme .labkit-cat-live__input {
  padding-right: 34px !important;
}

/* space for magnifier (post search) */
body.post-type-archive-analyse .labkit-post-search__input,
body.tax-kategorie .labkit-post-search__input,
body.tax-buchstabe .labkit-post-search__input,
body.tax-synonyme .labkit-post-search__input {
  padding-left: 36px !important;
}

/* remove native search icons that collide with our SVG */
.labkit-post-search__input::-webkit-search-decoration,
.labkit-post-search__input::-webkit-search-cancel-button,
.labkit-post-search__input::-webkit-search-results-button,
.labkit-post-search__input::-webkit-search-results-decoration {
  display: none !important;
}

/* keep placeholders subtle */
body.post-type-archive-analyse .labkit-cat-live__input::placeholder,
body.post-type-archive-analyse .labkit-post-search__input::placeholder,
body.tax-kategorie .labkit-cat-live__input::placeholder,
body.tax-kategorie .labkit-post-search__input::placeholder,
body.tax-buchstabe .labkit-cat-live__input::placeholder,
body.tax-buchstabe .labkit-post-search__input::placeholder,
body.tax-synonyme .labkit-cat-live__input::placeholder,
body.tax-synonyme .labkit-post-search__input::placeholder {
  color: #9aa3af !important;
}

/* focus state unified */
body.post-type-archive-analyse .labkit-cat-live__input:focus,
body.post-type-archive-analyse .labkit-post-search__input:focus,
body.tax-kategorie .labkit-cat-live__input:focus,
body.tax-kategorie .labkit-post-search__input:focus,
body.tax-buchstabe .labkit-cat-live__input:focus,
body.tax-buchstabe .labkit-post-search__input:focus,
body.tax-synonyme .labkit-cat-live__input:focus,
body.tax-synonyme .labkit-post-search__input:focus {
  background: #fff !important;
  border-color: #9ec5ff !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* arrow on category field (unchanged) */
.labkit-cat-live {
  position: relative;
}
.labkit-cat-live::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23838b99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}

/* magnifier on search field (unchanged) */
.labkit-post-search {
  position: relative;
}
.labkit-post-search::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23838b99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
}
/* === OVERRIDE: square 48px inputs (category + post search) === */
body.post-type-archive-analyse .labkit-cat-live__input,
body.post-type-archive-analyse .labkit-post-search__input,
body.tax-kategorie .labkit-cat-live__input,
body.tax-kategorie .labkit-post-search__input,
body.tax-buchstabe .labkit-cat-live__input,
body.tax-buchstabe .labkit-post-search__input,
body.tax-synonyme .labkit-cat-live__input,
body.tax-synonyme .labkit-post-search__input {
  height: 48px !important;
  border-radius: 0 !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.labkit-cat-live__box,
.labkit-post-live__box,
.labkit-post-search__results {
  border-radius: 0 !important;
}

.labkit-cat-live__box a,
.labkit-post-live__box a,
.labkit-post-search__results a,
.labkit-post-search__results li {
  font-size: 16px;
  font-weight: 700;
  color: #4d4d4d;
}

.labkit-post-live__box ul,
.labkit-post-live__box li,
.labkit-post-search__results,
.labkit-post-search__results ul,
.labkit-post-search__results li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.labkit-cat-live__box a:hover,
.labkit-post-live__box a:hover,
.labkit-post-search__results a:hover {
  background: #f5f7f9;
}

.labkit-cat-live__box a.is-active {
  background: #e8f6ef;
}

/* ===== Archive rows: flat list with dividers (Figma spec) ===== */

/* reset old card view */
.post-type-archive-analyse article,
.tax-kategorie article,
.tax-buchstabe article,
.tax-synonyme article {
  margin: 0 !important;
  padding: 8px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: none !important;
}

.post-type-archive-analyse article > a,
.tax-kategorie article > a,
.tax-buchstabe article > a,
.tax-synonyme article > a {
  display: block;
  position: relative;
  padding: 8px 44px 8px 0;
}

.post-type-archive-analyse article:hover > a::after,
.tax-kategorie article:hover > a::after,
.tax-buchstabe article:hover > a::after,
.tax-synonyme article:hover > a::after {
  opacity: 0.9;
  transform: translateY(-50%) translateX(2px);
}

.labkit-row .labkit-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 400;
}

.labkit-row .labkit-meta li {
  position: relative;
  padding: 0 0 0 0;
  margin: 0;
}
.labkit-row .labkit-meta li + li {
  padding-left: 14px;
}
.labkit-row .labkit-meta li + li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #0a386c;
}

.labkit-row .labkit-meta a {
  text-decoration: none;
  color: #4d4d4d;
}
.labkit-row .labkit-meta a:hover {
  color: #0a386c;
  text-decoration: underline;
}

.labkit-item {
  position: relative;
  padding: 16px 48px 12px 16px;
  border: 1px solid var(--lab-border);
  border-radius: 10px;
  background: #fff;
  margin: 10px 0;
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.08s;
}
.labkit-item:hover {
  border-color: #d8dde6;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.labkit-item::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 6 15 12 9 18'/></svg>");
}

.labkit-title {
  display: block;
  text-decoration: none;
  color: #000;
}
.labkit-title__text {
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  margin-left: 10px;
  display: block;
}

.labkit-cats {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  margin: 8px 10px 0;
  padding: 0;
  white-space: nowrap;
  overflow: hidden;
}
.labkit-cats li {
  margin: 0;
}
.labkit-cats li + li {
  padding-left: 14px;
  position: relative;
}
.labkit-cats li + li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 4px;
  height: 4px;
  margin-top: -2px;
  border-radius: 50%;
  background: #0a386c;
}

.labkit-cats a {
  color: #000200;
  text-decoration: none;
}
.labkit-cats a:hover {
  color: #0a386c;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .labkit-cats {
    white-space: normal;
    flex-wrap: wrap;
    overflow: visible;
    row-gap: 6px;
  }
  .labkit-cats a {
    font-size: 14px;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .labkit-cats li + li {
    padding-left: 12px;
  }

  .labkit-item {
    padding-right: 32px;
  }
  .labkit-title__text {
    font-size: 20px;
  }
}

/* ===== Pagination (minimal) ===== */
.labkit-archive .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  height: auto;
  padding: 0;
  margin: 0 14px 0 0;
  border: none;
  background: transparent;
  color: #111827;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
}
.labkit-archive .page-numbers.dots {
  margin: 0 10px;
  color: #9aa3af;
}
.labkit-archive a.page-numbers:hover {
  color: #0a386c;
  text-decoration: underline;
}
.labkit-archive .page-numbers.current {
  color: #0a386c;
  font-weight: 700;
}

.labkit-archive .page-numbers.prev,
.labkit-archive .page-numbers.next {
  font-size: 20px;
  color: #9aa3af;
  margin-right: 16px;
}
.labkit-archive a.page-numbers.prev:hover,
.labkit-archive a.page-numbers.next:hover {
  color: #0a386c;
}

/* ===== Items / page (right) ===== */
.labkit-per-page {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: -36px;
  user-select: none;
}
.labkit-per-page label {
  display: none;
}

.labkit-per-page select:focus {
  outline: none;
  border-color: #9ec5ff !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.labkit-per-page span {
  font-size: 16px;
  color: #374151;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .labkit-per-page {
    float: none;
    margin: 12px 0 0;
  }
}

.labkit-pageline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}

.labkit-pageline .page-numbers {
  margin: 0 14px 0 0;
}
.labkit-pageline .page-numbers.dots {
  margin: 0 10px;
  color: #9aa3af;
}
.labkit-pageline a.page-numbers:hover {
  color: #0a386c;
  text-decoration: underline;
}
.labkit-pageline .page-numbers.current {
  color: #0a386c;
  font-weight: 700;
}
.labkit-pageline .page-numbers.prev,
.labkit-pageline .page-numbers.next {
  font-size: 20px;
  color: #9aa3af;
  margin-right: 16px;
}
.labkit-pageline a.page-numbers.prev:hover,
.labkit-pageline a.page-numbers.next:hover {
  color: #0a386c;
}

/* Right side: the "items / page" select */
.labkit-pageline .labkit-per-page {
  float: none;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.labkit-pageline .labkit-per-page select:focus {
  outline: none;
  border-color: #9ec5ff !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.labkit-pageline .labkit-per-page span {
  font-size: 16px;
  color: #374151;
  white-space: nowrap;
}

/* Stack on small screens */
@media (max-width: 640px) {
  .labkit-pageline {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .labkit-pageline .labkit-per-page {
    width: 100%;
  }
}
/* Empty state block */
.labkit-empty-archive {
  padding: 24px 0;
}
.labkit-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: #fff;
}
.labkit-empty__img {
  width: 120px;
  height: auto;
  opacity: 0.8;
  margin-bottom: 10px;
}
.labkit-empty__text {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
}
:root {
  --lab-chevron-w: 24px;
  --lab-chevron-right: 14px;
  --lab-chevron-gap: 20px;
  --lab-chevron-reserve: calc(
    var(--lab-chevron-w) + var(--lab-chevron-right) + var(--lab-chevron-gap)
  );
}

.post-type-archive-analyse article > a,
.tax-kategorie article > a,
.tax-buchstabe article > a,
.tax-synonyme article > a {
  padding-right: calc(var(--lab-chevron-reserve)) !important;
}

.labkit-item {
  padding-right: calc(16px + var(--lab-chevron-reserve)) !important;
}

.labkit-cats {
  flex-wrap: wrap;
  white-space: normal;
  overflow: visible;
  max-width: calc(100% - var(--lab-chevron-reserve));
  box-sizing: border-box;
}

.labkit-row .labkit-meta {
  flex-wrap: wrap;
  max-width: calc(100% - var(--lab-chevron-reserve));
  box-sizing: border-box;
}

.labkit-pageline .labkit-per-page select {
  min-width: 100px;
  height: 48px;
  padding: 0 36px 0 12px;
  border: 1px solid #e5e7eb !important;
  border-radius: 0 !important;
  background: #fff;
  color: #111827;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23838b99' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
  <polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}
