/* PAGE: WISSEN Curated technical knowledge platform Final tuned version */

.tm-wissen-page {
  --wissen-blue: #2563eb;
  --wissen-blue-dark: #1d4ed8;
  --wissen-navy: #0f172a;
  --wissen-muted: #64748b;
  --wissen-line: #e2e8f0;
  --wissen-soft: #f8fafc;
  --wissen-card: #ffffff;
  --wissen-shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.07);

  background:
    radial-gradient(circle at 0% 8%, rgba(37, 99, 235, 0.07), transparent 24rem),
    radial-gradient(circle at 100% 22%, rgba(14, 165, 233, 0.06), transparent 28rem),
    #ffffff;
  color: var(--wissen-navy);
}

.tm-wissen-page,
.tm-wissen-page * {
  box-sizing: border-box;
}

.tm-wissen-page,
.tm-wissen-shell,
.tm-wissen-shell-grid,
.tm-wissen-main,
.tm-page-inner-wide {
  overflow: visible;
}

.tm-wissen-shell {
  padding: clamp(12px, 1.7vw, 24px) 0 clamp(52px, 6vw, 78px);
}

.tm-wissen-shell-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 286px) minmax(0, 1fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: start;
}

.tm-wissen-sidebar {
  grid-column: 1;
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 72px;
  height: fit-content;
  z-index: 20;
}

.tm-wissen-sidebar-inner {
  display: grid;
  gap: 16px;
}

.tm-wissen-sidebar-head {
  padding: 0 4px 0;
}

.tm-wissen-sidebar-head .tm-eyebrow {
  color: var(--wissen-blue);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  margin: 0 0 7px;
}

.tm-wissen-sidebar-head h1 {
  margin: 0 0 12px;
  color: var(--wissen-navy);
  font-size: clamp(2.45rem, 3.7vw, 4.1rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.tm-wissen-sidebar-head p:not(.tm-eyebrow) {
  max-width: 23rem;
  margin: 0;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.6;
}

.tm-wissen-sidebar-search {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 8px;
  width: 100%;
}

.tm-wissen-sidebar-search input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 15px;
  padding: 0 15px;
  color: var(--wissen-navy);
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
  outline: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.tm-wissen-sidebar-search input:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.1),
    0 10px 26px rgba(15, 23, 42, 0.05);
}

.tm-wissen-sidebar-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--wissen-blue), var(--wissen-blue-dark));
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
}

.tm-wissen-sidebar-search svg {
  width: 18px;
  height: 18px;
}

.tm-wissen-side-card {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 21px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.052);
  backdrop-filter: blur(18px);
}

.tm-wissen-side-card > p,
.tm-wissen-check-card > p {
  margin: 0 0 10px;
  color: var(--wissen-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tm-wissen-side-nav {
  display: grid;
  gap: 3px;
}

.tm-wissen-side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
  min-height: 39px;
  padding: 8px 9px;
  border-radius: 13px;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 740;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.tm-wissen-side-nav a:hover,
.tm-wissen-side-nav a.is-active {
  color: var(--wissen-blue-dark);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.11), rgba(37, 99, 235, 0.045));
}

.tm-wissen-side-nav a:hover {
  transform: translateX(2px);
}

.tm-wissen-side-nav span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.tm-wissen-side-nav svg {
  width: 16px;
  height: 16px;
  color: currentColor;
}

.tm-wissen-side-nav strong {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: #64748b;
  background: rgba(241, 245, 249, 0.94);
  font-size: 0.74rem;
  font-weight: 800;
}

.tm-wissen-popular {
  display: grid;
  gap: 7px;
}

.tm-wissen-popular a {
  display: block;
  padding: 3px 0;
  color: #1e293b;
  font-size: 0.88rem;
  font-weight: 720;
  line-height: 1.34;
  text-decoration: none;
}

.tm-wissen-popular a:hover {
  color: var(--wissen-blue);
}

.tm-wissen-check-card {
  border-radius: 21px;
  padding: 20px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 12%, rgba(37, 99, 235, 0.48), transparent 42%),
    linear-gradient(145deg, #071426, #0d2a63 64%, #1d4ed8);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.2);
}

.tm-wissen-check-card > p {
  color: #93c5fd;
}

.tm-wissen-check-card h2 {
  max-width: 16rem;
  margin: 0 0 9px;
  color: #ffffff;
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.tm-wissen-check-card span {
  display: block;
  margin: 0 0 16px;
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.88rem;
  line-height: 1.52;
}

.tm-wissen-check-card .tm-btn {
  width: 100%;
  justify-content: center;
  min-height: 42px;
}

.tm-wissen-main {
  grid-column: 2;
  min-width: 0;
  display: grid;
  gap: 30px;
  padding-top: 0;
}

.tm-wissen-topic-list {
  display: grid;
  gap: clamp(18px, 2vw, 28px);
}

.tm-wissen-topic {
  --topic-color: var(--wissen-blue);
  --topic-soft: rgba(37, 99, 235, 0.1);

  position: relative;
  padding: 0 0 clamp(16px, 1.8vw, 22px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.72);
  scroll-margin-top: 92px;
}

.tm-wissen-topic:last-child {
  border-bottom: 0;
}

.tm-wissen-tone-maintenance,
.tm-wissen-tone-maintenance .tm-wissen-article-meta span:first-child,
.tm-wissen-tone-maintenance.tm-wissen-pill,
.tm-wissen-topic.tm-wissen-tone-maintenance,
.tm-wissen-topic.tm-wissen-tone-maintenance .tm-wissen-topic-link {
  --topic-color: #16a34a;
  --topic-soft: rgba(22, 163, 74, 0.12);
}

.tm-wissen-tone-security,
.tm-wissen-tone-security .tm-wissen-article-meta span:first-child,
.tm-wissen-tone-security.tm-wissen-pill,
.tm-wissen-topic.tm-wissen-tone-security,
.tm-wissen-topic.tm-wissen-tone-security .tm-wissen-topic-link {
  --topic-color: #ef4444;
  --topic-soft: rgba(239, 68, 68, 0.12);
}

.tm-wissen-tone-performance,
.tm-wissen-tone-performance .tm-wissen-article-meta span:first-child,
.tm-wissen-tone-performance.tm-wissen-pill,
.tm-wissen-topic.tm-wissen-tone-performance,
.tm-wissen-topic.tm-wissen-tone-performance .tm-wissen-topic-link {
  --topic-color: #2563eb;
  --topic-soft: rgba(37, 99, 235, 0.12);
}

.tm-wissen-tone-backup,
.tm-wissen-tone-backup .tm-wissen-article-meta span:first-child,
.tm-wissen-tone-backup.tm-wissen-pill,
.tm-wissen-topic.tm-wissen-tone-backup,
.tm-wissen-topic.tm-wissen-tone-backup .tm-wissen-topic-link {
  --topic-color: #7c3aed;
  --topic-soft: rgba(124, 58, 237, 0.12);
}

.tm-wissen-tone-plugins,
.tm-wissen-tone-plugins .tm-wissen-article-meta span:first-child,
.tm-wissen-tone-plugins.tm-wissen-pill,
.tm-wissen-topic.tm-wissen-tone-plugins,
.tm-wissen-topic.tm-wissen-tone-plugins .tm-wissen-topic-link {
  --topic-color: #f97316;
  --topic-soft: rgba(249, 115, 22, 0.12);
}

.tm-wissen-tone-infra,
.tm-wissen-tone-infra .tm-wissen-article-meta span:first-child,
.tm-wissen-tone-infra.tm-wissen-pill,
.tm-wissen-topic.tm-wissen-tone-infra,
.tm-wissen-topic.tm-wissen-tone-infra .tm-wissen-topic-link {
  --topic-color: #4f46e5;
  --topic-soft: rgba(79, 70, 229, 0.12);
}

/* Topic header */

.tm-wissen-topic-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 2.6vw, 34px);
  align-items: center;
  margin-bottom: clamp(14px, 1.8vw, 18px);
}

.tm-wissen-topic-title {
  display: flex;
  align-items: center;
  gap: clamp(13px, 1.5vw, 17px);
  min-width: 0;
}

.tm-wissen-topic-title p {
  display: none;
}

.tm-wissen-topic-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  color: var(--topic-color);
  background: var(--topic-soft);
}

.tm-wissen-topic-icon svg {
  width: 24px;
  height: 24px;
}

.tm-wissen-topic-title h2,
.tm-wissen-topic-title > h2 {
  margin: 0;
  color: var(--wissen-navy);
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: -0.075em;
  white-space: nowrap;
}

.tm-wissen-topic-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0;
  border: 0;
  color: var(--topic-color);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.tm-wissen-topic-link svg {
  display: none;
}

.tm-wissen-topic-link span[aria-hidden="true"] {
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.18s ease;
}

.tm-wissen-topic-link:hover span[aria-hidden="true"] {
  transform: translate(3px, -1px);
}

/* Article cards */

.tm-wissen-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.1vw, 28px);
}

.tm-wissen-article-card {
  --topic-color: var(--wissen-blue);

  position: relative;
  min-width: 0;
  border-radius: 18px;
  background: transparent;
}

.tm-wissen-article-image {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #0f172a;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  text-decoration: none;
}

.tm-wissen-article-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.55;
  height: auto;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.22s ease, filter 0.22s ease;
}

.tm-wissen-article-card:hover .tm-wissen-article-image img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.02);
}

.tm-wissen-image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 8.55;
  color: var(--topic-color);
  background: var(--topic-soft);
}

.tm-wissen-image-fallback svg {
  width: 34px;
  height: 34px;
}

.tm-wissen-article-body {
  padding: 13px 2px 0;
}

.tm-wissen-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tm-wissen-article-meta span:first-child {
  color: var(--topic-color);
}

.tm-wissen-article-meta span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: #cbd5e1;
}

.tm-wissen-article-card h3 {
  margin: 0;
  font-size: clamp(1.02rem, 1.14vw, 1.16rem);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.tm-wissen-article-card h3 a {
  color: #020617;
  text-decoration: none;
}

.tm-wissen-article-card h3 a:hover {
  color: var(--topic-color);
}

.tm-wissen-topic-pills {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: -16px;
}

.tm-wissen-pill {
  --topic-color: var(--wissen-blue);
  --topic-soft: rgba(37, 99, 235, 0.1);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 14px;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
  text-decoration: none;
}

.tm-wissen-pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--topic-color);
  font-size: 0.81rem;
  font-weight: 850;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tm-wissen-pill svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.tm-wissen-pill strong {
  flex: 0 0 auto;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 850;
  white-space: nowrap;
}

.tm-wissen-archive-view {
  display: grid;
  gap: 26px;
}

.tm-wissen-archive-head {
  max-width: 46rem;
}

.tm-wissen-archive-head .tm-eyebrow {
  color: var(--wissen-blue);
  margin: 0 0 8px;
}

.tm-wissen-archive-head h2 {
  margin: 0 0 10px;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.tm-wissen-archive-head p {
  max-width: 38rem;
  margin: 0;
  color: #64748b;
  line-height: 1.7;
}

.tm-wissen-archive-head a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--wissen-blue);
  font-weight: 800;
  text-decoration: none;
}

.tm-wissen-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.tm-wissen-empty {
  max-width: 38rem;
  padding: 32px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--wissen-shadow-soft);
}

.tm-wissen-empty h3 {
  margin: 0 0 10px;
}

.tm-wissen-empty p {
  margin: 0 0 20px;
  color: #64748b;
}

/* FINAL CTA */

.tm-wissen-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: -8px;
  padding: clamp(26px, 3.6vw, 40px);
  border-radius: 26px;
  color: #ffffff;
  background:
    radial-gradient(circle at 92% 18%, rgba(37, 99, 235, 0.62), transparent 34%),
    linear-gradient(145deg, #071426, #0d2a63 68%, #1d4ed8);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
}

.tm-wissen-final-cta p {
  margin: 0 0 8px;
  color: #93c5fd;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tm-wissen-final-cta h2 {
  max-width: 34rem;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.9rem, 2.8vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.tm-wissen-final-cta span {
  display: block;
  max-width: 40rem;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.65;
}

.tm-wissen-final-cta .tm-btn {
  white-space: nowrap;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

@media (min-width: 981px) {
  .tm-wissen-sidebar[style*="position: fixed"],
.tm-wissen-sidebar[style*="position: absolute"] {
    max-width: 286px;
  }
}

.tm-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.tm-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 999px;
  color: #1e293b;
  background: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.tm-pagination .page-numbers.current,
.tm-pagination a.page-numbers:hover {
  color: #ffffff;
  background: var(--wissen-blue);
  border-color: var(--wissen-blue);
}

@media (max-width: 1180px) {
  .tm-wissen-shell-grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 34px;
  }

  .tm-wissen-topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tm-wissen-topic-pills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .tm-wissen-shell {
    padding-top: 28px;
  }

  .tm-wissen-shell-grid {
    grid-template-columns: 1fr;
  }

  .tm-wissen-sidebar {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
  }

  .tm-wissen-sidebar-inner {
    display: grid;
    gap: 18px;
  }

  .tm-wissen-sidebar-head h1 {
    font-size: clamp(3rem, 12vw, 4.5rem);
  }

  .tm-wissen-side-nav {
    overflow-x: auto;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, max-content);
    padding-bottom: 2px;
  }

  .tm-wissen-side-nav a {
    min-width: 190px;
  }

  .tm-wissen-popular,
.tm-wissen-check-card {
    display: none;
  }

  .tm-wissen-main {
    grid-column: auto;
    padding-top: 0;
  }

  .tm-wissen-topic-grid,
.tm-wissen-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-wissen-topic-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .tm-wissen-topic-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 12px;
  }

  .tm-wissen-topic-title > h2,
.tm-wissen-topic-title h2 {
    white-space: normal;
  }

  .tm-wissen-topic-link {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .tm-wissen-shell {
    padding: 20px 0 64px;
  }

  .tm-wissen-shell-grid {
    gap: 30px;
  }

  .tm-wissen-sidebar-head p:not(.tm-eyebrow) {
    font-size: 0.95rem;
  }

  .tm-wissen-topic-list {
    gap: 42px;
  }

  .tm-wissen-topic {
    padding-bottom: 38px;
  }

  .tm-wissen-topic-title {
    gap: 13px;
  }

  .tm-wissen-topic-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .tm-wissen-topic-title h2 {
    font-size: clamp(1.8rem, 10vw, 2.6rem);
  }

  .tm-wissen-topic-grid,
.tm-wissen-archive-grid,
.tm-wissen-topic-pills {
    grid-template-columns: 1fr;
  }

  .tm-wissen-article-image img,
.tm-wissen-image-fallback {
    aspect-ratio: 16 / 8.7;
  }

  .tm-wissen-final-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tm-wissen-final-cta .tm-btn {
    width: 100%;
    justify-content: center;
  }
}

.tm-wissen-page section.tm-wissen-shell {
  padding-top: clamp(12px, 1.7vw, 24px);
  padding-bottom: clamp(52px, 6vw, 78px);
}

.tm-wissen-page section.tm-wissen-topic {
  padding-top: 0;
  padding-bottom: clamp(18px, 2vw, 28px);
}

.tm-wissen-page section.tm-wissen-archive-view {
  padding: 0;
}

.tm-wissen-page section.tm-wissen-final-cta {
  padding: clamp(26px, 3.6vw, 40px);
}

@media (min-width: 981px) {
  .tm-wissen-sidebar {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    scrollbar-width: thin;
  }

  .tm-wissen-sidebar[style*="position: fixed"],
.tm-wissen-sidebar[style*="position: absolute"] {
    max-height: calc(100vh - 104px);
    overflow-y: auto;
  }

  .tm-wissen-sidebar-head h1 {
    font-size: clamp(2.15rem, 3vw, 3.35rem);
    line-height: 0.94;
  }

  .tm-wissen-archive-head h2 {
    margin-top: 0;
  }
}

@media (max-width: 980px) {
  .tm-wissen-sidebar {
    max-height: none;
    overflow: visible;
  }
}

/* LAUNCH MOBILE VIEWPORT ALIGNMENT: WISSEN ARCHIVE */

@media (max-width: 980px) {
  .tm-wissen-shell {
    padding-top: 56px;
  }

  .tm-wissen-page section.tm-wissen-shell {
    padding-top: 56px;
  }

  .tm-wissen-shell-grid {
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .tm-wissen-shell,
.tm-wissen-page section.tm-wissen-shell {
    padding-top: 50px;
    padding-bottom: 64px;
  }

  .tm-wissen-sidebar-head h1 {
    margin-bottom: 10px;
  }
}

@media (max-width: 980px) {
  .tm-wissen-page .tm-wissen-sidebar {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
  }

  .tm-wissen-page .tm-wissen-sidebar-inner {
    display: grid;

  }

  .tm-wissen-page .tm-wissen-popular,
.tm-wissen-page .tm-wissen-check-card {
    display: none !important;
  }

  .tm-wissen-page .tm-wissen-shell-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tm-wissen-page .tm-wissen-main {
    width: 100%;
    max-width: none;
  }

  .tm-wissen-page .tm-wissen-shell,
.tm-wissen-page section.tm-wissen-shell {
    padding-top: 26px;
  }
}

@media (max-width: 680px) {
  .tm-wissen-page .tm-wissen-shell,
.tm-wissen-page section.tm-wissen-shell {
    padding-top: 18px;
  }

  .tm-wissen-page .tm-wissen-topic-list {
    gap: 34px;
  }
}

@media (max-width: 767px) {
  .tm-wissen-side-card {
    padding: 14px;
    overflow: visible;
  }

  .tm-wissen-side-nav {
    display: grid;
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .tm-wissen-side-nav a {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 11px;
  }

  .tm-wissen-side-nav span {
    min-width: 0;
  }

  .tm-wissen-side-nav span span,
.tm-wissen-side-nav span strong {
    min-width: 0;
  }

  .tm-wissen-side-nav a > span {
    flex: 1 1 auto;
  }

  .tm-wissen-side-nav a > strong {
    flex: 0 0 auto;
  }
}

/* FINAL MOBILE LAUNCH PASS: WISSEN */

@media (max-width: 767px) {
  .tm-wissen-page .tm-wissen-shell,
  .tm-wissen-page section.tm-wissen-shell {
    padding-top: 18px;
    padding-bottom: 52px;
  }

  .tm-wissen-page .tm-wissen-shell-grid {
    gap: 22px;
  }

  .tm-wissen-page .tm-wissen-sidebar-inner {
    gap: 14px;
  }

  .tm-wissen-page .tm-wissen-sidebar-head h1 {
    margin-bottom: 8px;
    font-size: clamp(2.1rem, 10vw, 3rem);
    line-height: .98;
  }

  .tm-wissen-page .tm-wissen-sidebar-head p {
    font-size: .96rem;
    line-height: 1.6;
  }

  .tm-wissen-page .tm-wissen-side-card {
    padding: 14px;
    border-radius: 22px;
  }

  .tm-wissen-page .tm-wissen-topic-list {
    gap: 24px;
  }

  .tm-wissen-page section.tm-wissen-topic,
  .tm-wissen-page section.tm-wissen-archive-view,
  .tm-wissen-page section.tm-wissen-final-cta {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

@media (max-width: 420px) {
  .tm-wissen-page .tm-wissen-shell,
.tm-wissen-page section.tm-wissen-shell {
    padding-top: 14px;
  }
}

@media (max-width: 767px) {
  .tm-wissen-hero .tm-eyebrow,
.tm-knowledge-hero .tm-eyebrow {
    margin: var(--tm-hero-eyebrow-margin) !important;
  }
.tm-wissen-shell {
    padding-top: var(--tm-hero-mobile-top) !important;
  }

  .tm-wissen-sidebar-head .tm-eyebrow {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: var(--tm-hero-eyebrow-margin-bottom) !important;
    padding-top: 0 !important;
    color: var(--tm-hero-eyebrow-color) !important;
    font-size: var(--tm-hero-eyebrow-size) !important;
    font-weight: var(--tm-hero-eyebrow-weight) !important;
    letter-spacing: var(--tm-hero-eyebrow-spacing) !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
  }

  .tm-wissen-sidebar-head h1 {
    font-size: var(--tm-hero-title-mobile) !important;
    line-height: var(--tm-hero-title-line) !important;
    letter-spacing: var(--tm-hero-title-spacing) !important;
  }

  .tm-wissen-sidebar-head > p:not(.tm-eyebrow) {
    margin-top: 22px !important;
    font-size: var(--tm-hero-lead-mobile) !important;
    line-height: var(--tm-hero-lead-line) !important;
  }
}

@media (min-width: 981px) {
  .tm-wissen-page .tm-wissen-sidebar {
    position: sticky !important;
    top: 88px !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    scrollbar-width: thin;
  }

  .tm-wissen-page .tm-wissen-sidebar::-webkit-scrollbar {
    width: 6px;
  }

  .tm-wissen-page .tm-wissen-sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .tm-wissen-page .tm-wissen-sidebar-head h1 {
    font-size: clamp(1.9rem, 2.45vw, 2.8rem);
  }

  .tm-wissen-page .tm-wissen-sidebar-head p:not(.tm-eyebrow) {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .tm-wissen-page .tm-wissen-sidebar-inner {
    gap: 12px;
  }

  .tm-wissen-page .tm-wissen-side-card {
    padding: 11px;
  }

  .tm-wissen-page .tm-wissen-side-nav a {
    min-height: 35px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .tm-wissen-page .tm-wissen-check-card {
    padding: 16px;
  }
}

@media (max-width: 980px) {
  .tm-wissen-page .tm-wissen-side-nav,
.tm-wissen-page .tm-wissen-side-card,
.tm-wissen-page .tm-wissen-popular,
.tm-wissen-page .tm-wissen-check-card {
    display: none !important;
  }

  .tm-wissen-page .tm-wissen-sidebar-inner {
    gap: 18px;
  }

  .tm-wissen-page .tm-wissen-sidebar-search {
    max-width: 680px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .tm-wissen-page .tm-wissen-sidebar-head {
    text-align: left;
  }

  .tm-wissen-page .tm-wissen-sidebar-head h1 {
    max-width: 9.5em;
  }

  .tm-wissen-page .tm-wissen-sidebar-head > p:not(.tm-eyebrow) {
    max-width: 28rem;
  }

  .tm-wissen-page .tm-wissen-article-body {
    padding-top: 15px;
  }

  .tm-wissen-page .tm-wissen-article-meta {
    margin-bottom: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.075em;
  }

  .tm-wissen-page .tm-wissen-article-card h3 {
    font-size: clamp(1.26rem, 5.7vw, 1.56rem);
    line-height: 1.08;
    letter-spacing: -0.058em;
  }

  .tm-wissen-page .tm-wissen-topic-grid,
.tm-wissen-page .tm-wissen-archive-grid {
    gap: 26px;
  }

  .tm-wissen-page .tm-wissen-final-cta {
    display: none !important;
  }
}

.tm-wissen-page .tm-wissen-sidebar {
  position: relative !important;
  top: auto !important;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
  padding-right: 0 !important;
  scrollbar-width: auto !important;
}

.tm-wissen-page .tm-wissen-sidebar[style*="position: fixed"],
.tm-wissen-page .tm-wissen-sidebar[style*="position: absolute"] {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.tm-wissen-latest {
  display: grid;
  gap: 8px;
}

.tm-wissen-latest a {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid rgba(226, 232, 240, 0.86);
  color: #0f172a;
  text-decoration: none;
}

.tm-wissen-latest a:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.tm-wissen-latest a span {
  color: var(--wissen-blue);
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.tm-wissen-latest a strong {
  font-size: 0.88rem;
  line-height: 1.24;
  letter-spacing: -0.025em;
}

.tm-wissen-latest a:hover strong {
  color: var(--wissen-blue);
}

.tm-wissen-contact {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.tm-wissen-contact img {
  width: 74px;
  height: 90px;
  border-radius: 18px;
  object-fit: cover;
  object-position: 50% 18%;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.tm-wissen-contact p {
  margin: 0 0 5px;
  color: var(--wissen-blue);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.tm-wissen-contact strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 0.96rem;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.tm-wissen-contact span {
  display: block;
  margin-bottom: 8px;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.42;
}

.tm-wissen-contact a {
  color: var(--wissen-blue);
  font-size: 0.82rem;
  font-weight: 850;
  text-decoration: none;
}

.tm-wissen-contact a:hover {
  color: #1d4ed8;
}

@media (max-width: 980px) {
  .tm-wissen-page .tm-wissen-latest,
.tm-wissen-page .tm-wissen-contact {
    display: none !important;
  }
}

.tm-wissen-contact p {
  white-space: nowrap;
  letter-spacing: 0.075em;
  font-size: 0.62rem;
}

@media (min-width: 981px) {
  .tm-wissen-page .tm-wissen-topic-pills {
    display: none;
  }
}

@media (max-width: 980px) {
  .tm-wissen-page .tm-wissen-topic-pills {
    display: grid;
  }
}

/* =========================================================
   WISSEN 1.0.1199 · scalable knowledge hub
   Applies to the new tm-kb-* archive and taxonomy templates.
========================================================= */

.tm-kb-page {
  --kb-blue: #2563eb;
  --kb-blue-dark: #1d4ed8;
  --kb-navy: #0f172a;
  --kb-text: #334155;
  --kb-muted: #64748b;
  --kb-line: #e2e8f0;
  --kb-soft: #f8fafc;
  --kb-blue-soft: #eff6ff;
  --kb-radius: 22px;
  background: #fff;
  color: var(--kb-navy);
}

.tm-kb-page .tm-page-inner-wide {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.tm-kb-hero,
.tm-kb-archive-hero,
.tm-kb-tax-hero {
  padding-left: 0;
  padding-right: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(37, 99, 235, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
}

.tm-kb-hero-inner,
.tm-kb-tax-hero-inner {
  max-width: 960px;
}

.tm-kb-page .tm-eyebrow,
.tm-kb-kicker {
  margin: 0 0 10px;
  color: var(--kb-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tm-kb-hero h1,
.tm-kb-archive-hero h1,
.tm-kb-tax-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  color: var(--kb-navy);
}

.tm-kb-archive-hero h1,
.tm-kb-tax-hero h1 {
  font-size: clamp(2.55rem, 5vw, 4.7rem);
}

.tm-kb-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: #475569;
  font-size: clamp(1.03rem, 1.5vw, 1.2rem);
  line-height: 1.68;
}

.tm-kb-count {
  margin: 14px 0 0;
  color: var(--kb-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.tm-kb-search {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  max-width: 790px;
  min-height: 60px;
  margin-top: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.tm-kb-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  color: #64748b;
}

.tm-kb-search-icon svg {
  width: 20px;
  height: 20px;
}

.tm-kb-search input {
  width: 100%;
  min-width: 0;
  height: 58px;
  padding: 0 10px 0 0;
  border: 0;
  outline: 0;
  color: var(--kb-navy);
  background: transparent;
  font: inherit;
  font-size: 1rem;
}

.tm-kb-search input::placeholder {
  color: #94a3b8;
}

.tm-kb-search:focus-within {
  border-color: rgba(37, 99, 235, 0.66);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 16px 42px rgba(15, 23, 42, 0.07);
}

.tm-kb-search button {
  align-self: stretch;
  min-width: 100px;
  border: 0;
  border-left: 1px solid #e2e8f0;
  padding: 0 22px;
  color: #fff;
  background: var(--kb-blue);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.tm-kb-search button:hover {
  background: var(--kb-blue-dark);
}

.tm-kb-section {
  padding: clamp(58px, 7vw, 92px) 0;
}

.tm-kb-section + .tm-kb-section {
  border-top: 1px solid rgba(226, 232, 240, 0.72);
}

.tm-kb-section-problems,
.tm-kb-latest-section,
.tm-kb-author-section {
  background: #fbfdff;
}

.tm-kb-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.tm-kb-section-head h2,
.tm-kb-results-head h2,
.tm-kb-check-card h2,
.tm-kb-author-card h2 {
  margin: 0;
  color: var(--kb-navy);
  font-size: clamp(2rem, 3.5vw, 3.15rem);
  letter-spacing: -0.055em;
}

.tm-kb-head-link,
.tm-kb-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--kb-blue);
  font-weight: 760;
  text-decoration: none;
}

.tm-kb-head-link:hover,
.tm-kb-text-link:hover {
  color: var(--kb-blue-dark);
}

.tm-kb-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tm-kb-problem-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--kb-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tm-kb-problem-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 15px 34px rgba(15, 23, 42, 0.07);
}

.tm-kb-problem-icon,
.tm-kb-topic-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--kb-blue);
  background: var(--kb-blue-soft);
}

.tm-kb-problem-icon svg,
.tm-kb-topic-icon svg {
  width: 22px;
  height: 22px;
}

.tm-kb-problem-copy {
  display: grid;
  gap: 3px;
}

.tm-kb-problem-copy strong,
.tm-kb-topic-main strong {
  color: var(--kb-navy);
  font-size: 0.98rem;
  line-height: 1.3;
}

.tm-kb-problem-copy small,
.tm-kb-topic-main small {
  color: var(--kb-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.tm-kb-card-arrow {
  color: #94a3b8;
  font-size: 1.15rem;
  transition: transform 0.18s ease, color 0.18s ease;
}

.tm-kb-problem-card:hover .tm-kb-card-arrow,
.tm-kb-topic-card:hover .tm-kb-card-arrow {
  color: var(--kb-blue);
  transform: translateX(2px);
}

.tm-kb-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tm-kb-topic-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  min-height: 130px;
  padding: 22px;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.035);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tm-kb-topic-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.34);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.tm-kb-topic-main {
  display: grid;
  gap: 6px;
}

.tm-kb-topic-main strong {
  font-size: 1.05rem;
}

.tm-kb-topic-count {
  white-space: nowrap;
  color: var(--kb-muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.tm-kb-editorial {
  background: #fff;
}

.tm-kb-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.tm-kb-featured-card {
  overflow: hidden;
  border: 1px solid var(--kb-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.055);
}

.tm-kb-featured-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2f7;
}

.tm-kb-featured-image img,
.tm-kb-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.tm-kb-featured-card:hover .tm-kb-featured-image img,
.tm-kb-article-row:hover .tm-kb-article-thumb img {
  transform: scale(1.025);
}

.tm-kb-image-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 100px;
  color: var(--kb-blue);
  background: linear-gradient(145deg, #eff6ff, #f8fafc);
}

.tm-kb-image-fallback svg {
  width: 34px;
  height: 34px;
}

.tm-kb-featured-copy {
  padding: 22px 24px 24px;
}

.tm-kb-featured-copy h3 {
  margin: 0;
  color: var(--kb-navy);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.tm-kb-featured-copy h3 a,
.tm-kb-article-copy h2 a {
  text-decoration: none;
}

.tm-kb-featured-copy p {
  margin: 10px 0 14px;
  color: var(--kb-text);
  font-size: 0.94rem;
  line-height: 1.6;
}

.tm-kb-latest-list,
.tm-kb-article-list {
  border-top: 1px solid var(--kb-line);
}

.tm-kb-article-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--kb-line);
}

.tm-kb-article-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: #f1f5f9;
}

.tm-kb-article-copy {
  align-self: center;
  min-width: 0;
}

.tm-kb-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
  color: var(--kb-blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.tm-kb-article-copy h2 {
  margin: 0;
  max-width: 800px;
  color: var(--kb-navy);
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.tm-kb-article-copy p {
  max-width: 760px;
  margin: 10px 0 12px;
  color: var(--kb-text);
  font-size: 0.94rem;
  line-height: 1.58;
}

.tm-kb-check-wrap {
  background: #fff;
}

.tm-kb-check-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 26px;
  background:
    radial-gradient(circle at 96% 10%, rgba(59, 130, 246, 0.12), transparent 24rem),
    #f8fbff;
}

.tm-kb-check-copy {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 780px;
}

.tm-kb-check-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  color: var(--kb-blue);
  background: #dbeafe;
}

.tm-kb-check-icon svg {
  width: 27px;
  height: 27px;
}

.tm-kb-check-card h2 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.tm-kb-check-card p:not(.tm-kb-kicker) {
  margin: 10px 0 0;
  color: var(--kb-text);
  line-height: 1.6;
}

.tm-kb-check-card .tm-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.tm-kb-author-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  max-width: 900px;
}

.tm-kb-author-card img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.tm-kb-author-card h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
}

.tm-kb-author-card p:not(.tm-kb-kicker) {
  max-width: 680px;
  margin: 9px 0 12px;
  color: var(--kb-text);
}

/* Archive and taxonomy pages */
.tm-kb-archive-hero,
.tm-kb-tax-hero {
  padding-bottom: 48px;
}

.tm-kb-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 650;
}

.tm-kb-breadcrumb a {
  color: var(--kb-blue);
  text-decoration: none;
}

.tm-kb-filter-row {
  display: flex;
  gap: 8px;
  margin-top: 26px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tm-kb-filter-row a,
.tm-kb-tax-actions a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--kb-line);
  border-radius: 999px;
  color: #334155;
  background: #fff;
  font-size: 0.83rem;
  font-weight: 720;
  text-decoration: none;
}

.tm-kb-filter-row a:hover,
.tm-kb-filter-row a.is-active,
.tm-kb-tax-actions a:hover {
  border-color: rgba(37, 99, 235, 0.28);
  color: var(--kb-blue-dark);
  background: var(--kb-blue-soft);
}

.tm-kb-archive-content {
  padding: clamp(52px, 7vw, 86px) 0;
}

.tm-kb-archive-inner {
  max-width: 1020px;
}

.tm-kb-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.tm-kb-results-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.tm-kb-tax-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tm-kb-pagination {
  margin-top: 38px;
}

.tm-kb-pagination .page-numbers {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.tm-kb-pagination .page-numbers li {
  margin: 0;
}

.tm-kb-pagination a.page-numbers,
.tm-kb-pagination span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 7px 12px;
  border: 1px solid var(--kb-line);
  border-radius: 11px;
  color: #334155;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 720;
  text-decoration: none;
}

.tm-kb-pagination span.current,
.tm-kb-pagination a.page-numbers:hover {
  color: #fff;
  border-color: var(--kb-blue);
  background: var(--kb-blue);
}

.tm-kb-empty {
  display: grid;
  justify-items: start;
  max-width: 680px;
  padding: 36px;
  border: 1px solid var(--kb-line);
  border-radius: 22px;
  background: var(--kb-soft);
}

.tm-kb-empty > svg {
  width: 30px;
  height: 30px;
  margin-bottom: 18px;
  color: var(--kb-blue);
}

.tm-kb-empty h2 {
  margin: 0;
  font-size: 1.7rem;
}

.tm-kb-empty p {
  margin: 10px 0 20px;
}

.tm-kb-other-topics {
  background: #fbfdff;
}

.tm-kb-other-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tm-kb-other-links a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 14px 16px;
  border: 1px solid var(--kb-line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
}

.tm-kb-other-links svg {
  width: 20px;
  height: 20px;
  color: var(--kb-blue);
}

.tm-kb-other-links strong {
  font-size: 0.9rem;
}

.tm-kb-other-links small {
  color: var(--kb-muted);
  font-size: 0.75rem;
}

.tm-kb-compact-check {
  padding-top: 50px;
}

@media (max-width: 960px) {
  .tm-kb-page .tm-page-inner-wide {
    width: min(100% - 36px, 1180px);
  }

  .tm-kb-problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-kb-topic-card {
    grid-template-columns: 50px minmax(0, 1fr) auto;
  }

  .tm-kb-topic-count {
    display: none;
  }

  .tm-kb-other-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .tm-kb-page .tm-page-inner-wide {
    width: min(100% - 28px, 1180px);
  }

  .tm-kb-hero,
  .tm-kb-archive-hero,
  .tm-kb-tax-hero {
    padding-bottom: 44px;
  }

  .tm-kb-hero h1,
  .tm-kb-archive-hero h1,
  .tm-kb-tax-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.25rem);
    line-height: 1;
  }

  .tm-kb-lead {
    margin-top: 16px;
    font-size: 1rem;
  }

  .tm-kb-search {
    grid-template-columns: 46px minmax(0, 1fr);
    min-height: 54px;
    margin-top: 26px;
    border-radius: 16px;
  }

  .tm-kb-search-icon {
    width: 46px;
  }

  .tm-kb-search input {
    height: 52px;
    padding-right: 14px;
  }

  .tm-kb-search button {
    grid-column: 1 / -1;
    min-height: 46px;
    border-left: 0;
    border-top: 1px solid #e2e8f0;
  }

  .tm-kb-section {
    padding: 52px 0;
  }

  .tm-kb-section-head,
  .tm-kb-results-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  .tm-kb-section-head h2,
  .tm-kb-results-head h2 {
    font-size: 2rem;
  }

  .tm-kb-problem-grid,
  .tm-kb-topic-grid,
  .tm-kb-editorial-grid,
  .tm-kb-other-links {
    grid-template-columns: 1fr;
  }

  .tm-kb-problem-card {
    min-height: 84px;
    padding: 14px;
  }

  .tm-kb-problem-icon {
    width: 44px;
    height: 44px;
  }

  .tm-kb-topic-card {
    min-height: 112px;
    padding: 18px;
  }

  .tm-kb-editorial-grid {
    gap: 18px;
  }

  .tm-kb-featured-copy {
    padding: 18px 18px 20px;
  }

  .tm-kb-article-row {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 15px;
    padding: 22px 0;
  }

  .tm-kb-article-thumb {
    aspect-ratio: 1 / 1;
    border-radius: 13px;
  }

  .tm-kb-article-copy h2 {
    font-size: 1.15rem;
    line-height: 1.2;
  }

  .tm-kb-article-copy p {
    display: none;
  }

  .tm-kb-article-meta {
    margin-bottom: 6px;
    font-size: 0.66rem;
  }

  .tm-kb-article-copy .tm-kb-text-link {
    margin-top: 8px;
    font-size: 0.82rem;
  }

  .tm-kb-check-card {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .tm-kb-check-copy {
    gap: 15px;
  }

  .tm-kb-check-icon {
    width: 48px;
    height: 48px;
  }

  .tm-kb-check-card .tm-btn {
    width: 100%;
  }

  .tm-kb-author-card {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
  }

  .tm-kb-author-card img {
    width: 82px;
    height: 82px;
  }

  .tm-kb-filter-row {
    width: calc(100vw - 14px);
    margin-right: -14px;
    padding-right: 18px;
  }

  .tm-kb-other-links a {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }
}

@media (max-width: 430px) {
  .tm-kb-problem-card {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 11px;
  }

  .tm-kb-topic-card {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .tm-kb-topic-icon {
    width: 44px;
    height: 44px;
  }

  .tm-kb-author-card {
    grid-template-columns: 1fr;
  }

  .tm-kb-author-card img {
    width: 74px;
    height: 74px;
  }
}


/* =========================================================
   v1.0.1214 · Wissen-Hub: kompakter Übergang Hero → Inhalt
   Verhindert, dass sich globaler Hero-Abstand und Section-Padding
   direkt nach der Suche unnötig stark addieren.
========================================================= */
.tm-kb-page .tm-kb-hero + .tm-kb-section {
  padding-top: clamp(40px, 4.5vw, 58px);
}

@media (max-width: 720px) {
  .tm-kb-page .tm-kb-hero {
    --tm-hero-space-bottom: 34px;
  }

  .tm-kb-page .tm-kb-hero + .tm-kb-section {
    padding-top: 30px;
  }
}

/* =========================================================
   v1.0.1215 · Wissen-Archiv: kompakter Übergang Filter → Ergebnisse
   Verhindert auf /wissen/artikel/, dass sich Hero-Abstand unten und
   Archiv-Content-Padding oben zu einer großen Leerfläche addieren.
========================================================= */
.tm-kb-archive-page .tm-kb-archive-hero {
  --tm-hero-space-bottom: 44px;
}

.tm-kb-archive-page .tm-kb-archive-content {
  padding-top: 44px;
}

@media (max-width: 720px) {
  .tm-kb-archive-page .tm-kb-archive-hero {
    --tm-hero-space-bottom: 24px;
  }

  .tm-kb-archive-page .tm-kb-archive-content {
    padding-top: 28px;
  }
}
