* {
  box-sizing: border-box;
}

:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #637083;
  --line: #d9e1ea;
  --blue: #2563eb;
  --green: #14805f;
  --amber: #b7791f;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.10);
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.knowledge-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.knowledge-brand,
.knowledge-nav {
  display: flex;
  align-items: center;
}

.knowledge-brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.knowledge-brand img {
  border-radius: 8px;
}

.knowledge-nav {
  gap: 8px;
}

.knowledge-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.knowledge-nav a:hover,
.knowledge-nav a:focus-visible {
  color: var(--blue);
  background: #edf4ff;
  outline: none;
}

.knowledge-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

.knowledge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(26px, 5vw, 48px) 0 clamp(24px, 5vw, 42px);
  border-bottom: 1px solid var(--line);
}

.knowledge-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.knowledge-hero h1,
.knowledge-article-head h2,
.knowledge-list-head h2,
.knowledge-state h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
}

.knowledge-hero h1 {
  max-width: 780px;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.knowledge-lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.knowledge-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 720px;
  margin-top: 26px;
}

.knowledge-search-field {
  display: grid;
  gap: 6px;
}

.knowledge-search-field span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.knowledge-search input,
.knowledge-search button {
  min-height: 48px;
  border-radius: 8px;
  font: inherit;
}

.knowledge-search input {
  width: 100%;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: var(--surface);
  color: var(--ink);
}

.knowledge-search input:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(37, 99, 235, 0.16);
}

.knowledge-search button {
  align-self: end;
  border: 0;
  padding: 0 20px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.knowledge-search button:hover,
.knowledge-search button:focus-visible {
  background: #1e4fc2;
  outline: none;
}

.knowledge-hero-media {
  margin: 0;
}

.knowledge-hero-media img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.knowledge-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding-top: 28px;
}

.knowledge-sidebar {
  position: sticky;
  top: 94px;
  align-self: start;
  display: grid;
  gap: 8px;
}

.knowledge-sidebar-head,
.knowledge-category,
.knowledge-list-head,
.knowledge-state,
.knowledge-card,
.knowledge-article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.knowledge-sidebar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.knowledge-sidebar-head strong {
  color: var(--ink);
}

.knowledge-category {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.knowledge-category small {
  color: var(--green);
  font-weight: 850;
}

.knowledge-category:hover,
.knowledge-category:focus-visible,
.knowledge-category.is-active {
  border-color: rgba(20, 128, 95, 0.38);
  color: var(--green);
  background: #edf8f4;
  outline: none;
}

.knowledge-content {
  min-width: 0;
}

.knowledge-list-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 14px;
  padding: 18px 20px;
}

.knowledge-list-head h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.knowledge-list-head span {
  color: var(--amber);
  font-weight: 850;
}

.knowledge-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.knowledge-card {
  min-height: 172px;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.knowledge-card:hover,
.knowledge-card:focus-within {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 12px 28px rgba(23, 32, 51, 0.08);
  transform: translateY(-1px);
}

.knowledge-card a {
  display: grid;
  gap: 10px;
  height: 100%;
  padding: 18px;
  text-decoration: none;
}

.knowledge-card span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.knowledge-card strong {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.24;
}

.knowledge-card small {
  color: var(--muted);
  font-size: 0.94rem;
}

.knowledge-state {
  padding: 26px;
}

.knowledge-state h2 {
  font-size: 1.55rem;
}

.knowledge-state p {
  max-width: 620px;
  color: var(--muted);
}

.knowledge-state a {
  color: var(--blue);
  font-weight: 800;
}

.knowledge-state-error {
  border-color: rgba(183, 121, 31, 0.45);
  background: #fffaf0;
}

.knowledge-article {
  overflow: hidden;
}

.knowledge-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 22px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.knowledge-breadcrumb a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.knowledge-article-head {
  padding: 24px 22px 20px;
  border-bottom: 1px solid var(--line);
}

.knowledge-article-head h2 {
  max-width: 840px;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
}

.knowledge-article-head p {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.knowledge-article-head small {
  display: inline-flex;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 750;
}

.knowledge-article-body {
  padding: clamp(22px, 4vw, 40px);
  color: #263244;
  font-size: 1.04rem;
}

.knowledge-article-body > *:first-child {
  margin-top: 0;
}

.knowledge-article-body > *:last-child {
  margin-bottom: 0;
}

.knowledge-article-body h1,
.knowledge-article-body h2,
.knowledge-article-body h3,
.knowledge-article-body h4 {
  margin: 1.6em 0 0.55em;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.18;
}

.knowledge-article-body p,
.knowledge-article-body li {
  max-width: 780px;
}

.knowledge-article-body a {
  color: var(--blue);
  font-weight: 750;
}

.knowledge-article-body img,
.knowledge-article-body video {
  display: block;
  max-width: min(100%, 900px);
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.knowledge-article-body table {
  width: 100%;
  max-width: 900px;
  border-collapse: collapse;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.knowledge-article-body th,
.knowledge-article-body td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.knowledge-article-body th {
  background: #f0f5fa;
}

.knowledge-article-body [data-hs-callout-type] {
  max-width: 780px;
  margin: 1.25em 0;
  padding: 14px 16px;
  border: 1px solid #cbd7e5;
  border-left: 4px solid #64748b;
  border-radius: 8px;
  background: #f4f7fa;
  color: #263244;
  overflow-wrap: anywhere;
}

.knowledge-article-body [data-hs-callout-type] > :first-child {
  margin-top: 0;
}

.knowledge-article-body [data-hs-callout-type] > :last-child {
  margin-bottom: 0;
}

.knowledge-article-body [data-hs-callout-type="tip"] {
  border-color: #acd3df;
  border-left-color: #1684a3;
  background: #e9f4f7;
}

.knowledge-article-body [data-hs-callout-type="note"] {
  border-color: #bfd1e8;
  border-left-color: #3974b6;
  background: #edf4fc;
}

.knowledge-article-body [data-hs-callout-type="caution"] {
  border-color: #ead29a;
  border-left-color: #c47a0a;
  background: #fff8e8;
}

.knowledge-article-body [data-hs-callout-type="warning"] {
  border-color: #edb8b8;
  border-left-color: #c94a4a;
  background: #fff1f1;
}

.knowledge-article-body img.hs-image-align-center {
  margin-right: auto;
  margin-left: auto;
}

.knowledge-article-body img.hs-image-align-left {
  float: left;
  margin: 0 24px 16px 0;
}

.knowledge-article-body img.hs-image-align-right {
  float: right;
  margin: 0 0 16px 24px;
}

.knowledge-article-body [data-hs-responsive-table="true"] {
  max-width: 100%;
  overflow-x: auto;
}

.knowledge-article-body .hs-table-align-center {
  margin-right: auto;
  margin-left: auto;
}

.knowledge-article-body .hs-table-align-right {
  margin-right: 0;
  margin-left: auto;
}

.knowledge-article-body .knowledge-video {
  width: min(100%, 900px);
  margin: 20px 0;
}

.knowledge-article-body::after {
  display: block;
  clear: both;
  content: "";
}

@media (max-width: 700px) {
  .knowledge-article-body img.hs-image-align-left,
  .knowledge-article-body img.hs-image-align-right {
    float: none;
    margin: 20px 0;
  }

  .knowledge-article-body img.hs-image-align-center {
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 900px) {
  .knowledge-hero,
  .knowledge-layout,
  .knowledge-card-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-hero-media {
    max-width: 520px;
  }

  .knowledge-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .knowledge-topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .knowledge-nav {
    width: 100%;
  }

  .knowledge-nav a {
    flex: 1;
    text-align: center;
    background: #f0f5fa;
  }

  .knowledge-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
  }

  .knowledge-search {
    grid-template-columns: 1fr;
  }

  .knowledge-list-head {
    flex-direction: column;
  }

  .knowledge-search button {
    width: 100%;
  }

  .knowledge-list-head {
    align-items: start;
  }
}

/* Darstellung innerhalb der öffentlichen Heizreport Website */
body.is-embedded {
  min-height: 0;
  background: #fff;
}

.is-embedded .knowledge-shell {
  width: 100%;
  padding: 0;
}

.knowledge-embedded-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: end;
  gap: clamp(28px, 6vw, 80px);
  margin-bottom: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, #f2f6f9, #fff);
}

.knowledge-embedded-intro h1 {
  margin: 0;
  color: #0b3558;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.knowledge-embedded-intro p:not(.knowledge-kicker) {
  max-width: 650px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.knowledge-embedded-intro .knowledge-search {
  width: 100%;
  max-width: none;
  margin: 0;
}

.is-embedded .knowledge-layout {
  padding-top: 0;
}

.is-embedded .knowledge-sidebar {
  top: 20px;
}

.is-embedded .knowledge-card,
.is-embedded .knowledge-list-head,
.is-embedded .knowledge-category,
.is-embedded .knowledge-sidebar-head,
.is-embedded .knowledge-article,
.is-embedded .knowledge-state {
  border-radius: 12px;
}

.is-embedded .knowledge-card strong {
  font-size: 1.18rem;
}

.is-embedded .knowledge-card small,
.is-embedded .knowledge-category {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .knowledge-embedded-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .knowledge-embedded-intro {
    margin-bottom: 18px;
    padding: 22px 18px;
  }
}

/* Heizreport Designsystem für die integrierte Wissensdatenbank */
@font-face {
  font-family: "HK Grotesk";
  src: url("/website/assets/fonts/HK Grotesk Pro/HKGroteskPro-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "HK Grotesk";
  src: url("/website/assets/fonts/HK Grotesk Pro/HKGroteskPro-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "HK Grotesk";
  src: url("/website/assets/fonts/HK Grotesk Pro/HKGroteskPro-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

body.is-embedded {
  --bg: #f5f9fc;
  --surface: #fff;
  --ink: #102d49;
  --muted: #5d758b;
  --line: #d9e6f1;
  --blue: #1478c8;
  --green: #1478c8;
  --amber: #1478c8;
  --shadow: 0 24px 60px rgba(15, 49, 78, 0.11);
  color: var(--ink);
  font-family: "HK Grotesk", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.is-embedded .knowledge-embedded-intro {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(30px, 6vw, 78px);
  margin-bottom: 30px;
  padding: 34px 38px;
  border-color: #d5e4ef;
  border-radius: 20px;
  background: linear-gradient(140deg, #eaf4fb 0%, #f8fbfd 58%, #fff 100%);
}

.is-embedded .knowledge-embedded-intro::after {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(20, 120, 200, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.is-embedded .knowledge-embedded-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

.is-embedded .knowledge-embedded-media {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  margin: 0;
  justify-self: end;
}

.is-embedded .knowledge-embedded-media img {
  display: block;
  width: 100%;
  max-height: 250px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(15, 49, 78, 0.14);
  object-fit: cover;
}

.is-embedded .knowledge-kicker {
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.is-embedded .knowledge-embedded-intro h1 {
  color: #0a2d4d;
  font-size: clamp(2.15rem, 4vw, 3.45rem);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.is-embedded .knowledge-embedded-intro p:not(.knowledge-kicker) {
  color: #536f86;
  font-size: 1.08rem;
  line-height: 1.55;
}

.is-embedded .knowledge-search {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  gap: 9px;
  max-width: none;
  margin-top: -6px;
}

.is-embedded .knowledge-search-field span {
  color: #47647c;
  font-size: 0.78rem;
  font-weight: 700;
}

.is-embedded .knowledge-search input,
.is-embedded .knowledge-search button {
  min-height: 54px;
  border-radius: 11px;
}

.is-embedded .knowledge-search input {
  border-color: #c9dce9;
  padding: 0 17px;
  background: rgba(255, 255, 255, 0.94);
  color: #102d49;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(15, 49, 78, 0.05);
}

.is-embedded .knowledge-search input:focus {
  border-color: #1478c8;
  outline: 3px solid rgba(20, 120, 200, 0.13);
}

.is-embedded .knowledge-search button {
  padding: 0 25px;
  background: #0a2d4d;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(10, 45, 77, 0.18);
}

.is-embedded .knowledge-search button:hover,
.is-embedded .knowledge-search button:focus-visible {
  background: #1478c8;
}

.is-embedded .knowledge-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
}

.is-embedded .knowledge-sidebar {
  gap: 9px;
}

.is-embedded .knowledge-sidebar-head {
  align-items: center;
  min-height: 58px;
  padding: 15px 17px;
  border: 0;
  border-radius: 14px;
  background: #0a2d4d;
  color: #c6d9e8;
  font-size: 0.8rem;
  font-weight: 700;
}

.is-embedded .knowledge-sidebar-head strong {
  display: grid;
  min-width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  font-size: 0.76rem;
}

.is-embedded .knowledge-category {
  align-items: center;
  min-height: 50px;
  padding: 12px 15px;
  border-color: #d9e6f1;
  border-radius: 12px;
  color: #536f86;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.is-embedded .knowledge-category small {
  color: #6f8aa0;
  font-weight: 700;
}

.is-embedded .knowledge-category:hover,
.is-embedded .knowledge-category:focus-visible {
  border-color: #aac9df;
  color: #1478c8;
  background: #f1f8fd;
  transform: translateX(3px);
}

.is-embedded .knowledge-category.is-active {
  border-color: #1478c8;
  color: #fff;
  background: #1478c8;
  box-shadow: 0 10px 24px rgba(20, 120, 200, 0.18);
}

.is-embedded .knowledge-category.is-active small {
  color: #fff;
}

.is-embedded .knowledge-list-head {
  min-height: 92px;
  margin-bottom: 16px;
  padding: 20px 24px;
  border-color: #d7e5ef;
  border-radius: 16px;
  background: linear-gradient(135deg, #f0f7fc, #fff);
}

.is-embedded .knowledge-list-head h2 {
  color: #0a2d4d;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.is-embedded .knowledge-list-head > span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf4fb;
  color: #1478c8;
  font-size: 0.78rem;
  font-weight: 700;
}

.is-embedded .knowledge-card-grid {
  gap: 16px;
}

.is-embedded .knowledge-card {
  min-height: 205px;
  overflow: hidden;
  border-color: #d8e5ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 49, 78, 0.045);
}

.is-embedded .knowledge-card:hover,
.is-embedded .knowledge-card:focus-within {
  border-color: #8fbadb;
  box-shadow: 0 20px 42px rgba(15, 49, 78, 0.11);
  transform: translateY(-4px);
}

.is-embedded .knowledge-card a {
  align-content: start;
  gap: 11px;
  padding: 25px;
}

.is-embedded .knowledge-card span {
  color: #1478c8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.is-embedded .knowledge-card strong {
  color: #102d49;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.28;
}

.is-embedded .knowledge-card small {
  color: #627b90;
  font-size: 0.98rem;
  line-height: 1.55;
}

.is-embedded .knowledge-state {
  padding: 34px;
  border-color: #d7e5ef;
  border-radius: 16px;
  background: #f8fbfd;
}

.is-embedded .knowledge-article {
  overflow: hidden;
  border-color: #d5e4ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(15, 49, 78, 0.09);
}

.is-embedded .knowledge-breadcrumb {
  gap: 9px;
  padding: 21px 34px 0;
  color: #7890a3;
  font-size: 0.88rem;
}

.is-embedded .knowledge-breadcrumb a {
  color: #1478c8;
  font-weight: 600;
}

.is-embedded .knowledge-article-head {
  padding: 31px 34px 30px;
  border-bottom-color: #dbe7f0;
  background: linear-gradient(145deg, #edf6fc, #fff 72%);
}

.is-embedded .knowledge-article-head h2 {
  max-width: 900px;
  color: #0a2d4d;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.is-embedded .knowledge-article-head p {
  max-width: 820px;
  margin-top: 17px;
  color: #526f86;
  font-size: 1.15rem;
  line-height: 1.6;
}

.is-embedded .knowledge-article-head small {
  margin-top: 20px;
  color: #71899c;
  font-size: 0.84rem;
  font-weight: 600;
}

.is-embedded .knowledge-article-body {
  padding: clamp(30px, 5vw, 58px);
  color: #294963;
  font-size: 1.08rem;
  line-height: 1.75;
}

.is-embedded .knowledge-article-body p,
.is-embedded .knowledge-article-body li {
  max-width: 840px;
}

.is-embedded .knowledge-article-body h1,
.is-embedded .knowledge-article-body h2,
.is-embedded .knowledge-article-body h3,
.is-embedded .knowledge-article-body h4 {
  max-width: 880px;
  color: #102d49;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.is-embedded .knowledge-article-body h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.is-embedded .knowledge-article-body h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.is-embedded .knowledge-article-body a {
  color: #1478c8;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(20, 120, 200, 0.25);
  text-underline-offset: 4px;
}

.is-embedded .knowledge-article-body ul,
.is-embedded .knowledge-article-body ol {
  padding-left: 1.35em;
}

.is-embedded .knowledge-article-body li::marker {
  color: #1478c8;
  font-weight: 700;
}

.is-embedded .knowledge-article-body img,
.is-embedded .knowledge-article-body video {
  margin: 28px 0;
  border-color: #d7e5ef;
  border-radius: 15px;
  box-shadow: 0 16px 40px rgba(15, 49, 78, 0.09);
}

.is-embedded .knowledge-article-body img.is-zoomable {
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.is-embedded .knowledge-article-body img.is-zoomable:hover,
.is-embedded .knowledge-article-body img.is-zoomable:focus-visible {
  box-shadow: 0 22px 52px rgba(15, 49, 78, 0.16);
  transform: translateY(-2px);
  outline: 3px solid rgba(20, 120, 200, 0.18);
  outline-offset: 4px;
}

.is-embedded .knowledge-article-body table {
  margin: 28px 0;
  border-color: #d7e5ef;
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(15, 49, 78, 0.05);
}

.is-embedded .knowledge-article-body th,
.is-embedded .knowledge-article-body td {
  padding: 13px 15px;
  border-bottom-color: #dbe7f0;
}

.is-embedded .knowledge-article-body th {
  background: #edf6fc;
  color: #102d49;
}

.is-embedded .knowledge-article-body [data-hs-callout-type] {
  max-width: 840px;
  margin: 1.5em 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: #f2f7fa;
  color: #294963;
}

.is-embedded .knowledge-article-body [data-hs-callout-type="tip"] {
  border-color: #afd5e4;
  border-left-color: #1478c8;
  background: #edf7fc;
}

.is-embedded .knowledge-article-body [data-hs-callout-type="note"] {
  border-color: #c7d9ea;
  border-left-color: #0a2d4d;
  background: #f0f5f9;
}

@media (max-width: 900px) {
  .is-embedded .knowledge-embedded-intro {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .is-embedded .knowledge-embedded-media {
    width: min(430px, 100%);
    justify-self: start;
  }

  .is-embedded .knowledge-search {
    grid-column: auto;
    margin-top: 0;
  }

  .is-embedded .knowledge-layout {
    grid-template-columns: 1fr;
  }

  .is-embedded .knowledge-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .is-embedded .knowledge-sidebar-head {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body.is-embedded {
    font-size: 16px;
  }

  .is-embedded .knowledge-embedded-intro {
    padding: 24px 20px;
    border-radius: 15px;
  }

  .is-embedded .knowledge-embedded-intro h1 {
    font-size: 2.2rem;
  }

  .is-embedded .knowledge-embedded-media img {
    max-height: 210px;
  }

  .is-embedded .knowledge-sidebar {
    grid-template-columns: 1fr;
  }

  .is-embedded .knowledge-card-grid {
    grid-template-columns: 1fr;
  }

  .is-embedded .knowledge-card {
    min-height: 180px;
  }

  .is-embedded .knowledge-list-head {
    align-items: flex-start;
    min-height: 0;
    padding: 20px;
  }

  .is-embedded .knowledge-article {
    border-radius: 15px;
  }

  .is-embedded .knowledge-breadcrumb {
    padding: 18px 20px 0;
  }

  .is-embedded .knowledge-article-head {
    padding: 25px 20px 24px;
  }

  .is-embedded .knowledge-article-head h2 {
    font-size: 2.35rem;
  }

  .is-embedded .knowledge-article-body {
    padding: 28px 20px;
    font-size: 1.04rem;
  }
}
