/* Premium article template — scoped to article-detail pages only.
   Load after tudastar.css. */

body.kb-body.kb-detail {
  --kb-detail-bg: #111a28;
  --kb-detail-surface: #172334;
  --kb-detail-surface-raised: #1c2b3e;
  --kb-detail-stroke: #304155;
  --kb-detail-copy: #d2dce8;
  --kb-detail-muted: #9aabbe;
  --kb-detail-white: #f4f7fb;
  --kb-detail-blue: #56b4e8;
  --kb-detail-orange: #ff944d;
  background: #101825;
  color: var(--kb-detail-white);
}

.kb-detail .kb-nav {
  background: #0b111b;
  border-bottom-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 8px 28px rgba(3, 8, 16, 0.25);
}

.kb-detail .kb-nav-inner {
  gap: 22px;
}

.kb-detail .kb-nav-links {
  gap: clamp(9px, 1.35vw, 20px);
}

.kb-detail .kb-nav-links a {
  font-size: clamp(0.76rem, 0.88vw, 0.86rem);
}

.kb-detail .kb-phone {
  border-color: rgba(86, 180, 232, 0.4);
  background: rgba(86, 180, 232, 0.07);
}

.kb-detail .kb-phone:hover {
  border-color: var(--kb-detail-blue);
  background: rgba(86, 180, 232, 0.14);
  color: #e3f5ff;
}

/* Dark, editorial hero: a real article title paired with a compact diagnostic panel. */
.kb-detail .kb-article-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 6.8vw, 82px) 0 clamp(82px, 10vw, 124px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background:
    radial-gradient(ellipse at 88% 46%, rgba(3, 105, 161, 0.23), transparent 35%),
    linear-gradient(116deg, #0c1420 0%, #111d2b 55%, #15283a 100%);
  color: var(--kb-detail-white);
}

.kb-detail .kb-article-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(183, 207, 230, 0.08) 0.7px, transparent 0.7px);
  background-size: 21px 21px;
  content: "";
  opacity: 0.23;
  pointer-events: none;
}

.kb-detail .kb-article-hero::after {
  position: absolute;
  right: max(3vw, calc((100vw - 1160px) / 2));
  bottom: -190px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(86, 180, 232, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(86, 180, 232, 0.035), 0 0 0 88px rgba(86, 180, 232, 0.025);
  content: "";
  pointer-events: none;
}

.kb-detail .kb-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
  align-items: center;
  gap: clamp(35px, 7vw, 94px);
}

.kb-detail .kb-hero-copy {
  min-width: 0;
}

.kb-detail .kb-hero-copy .kb-eyebrow {
  margin-bottom: 18px;
  color: #8dd5f5;
}

.kb-detail .kb-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #f6f8fb;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.3rem, 5vw, 4.35rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-wrap: balance;
}

.kb-detail .kb-hero-summary {
  max-width: 650px;
  margin: 21px 0 0;
  color: #c0ccda;
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.8;
}

.kb-detail .kb-hero-actions,
.kb-detail .kb-help-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.kb-detail .kb-button,
.kb-detail .kb-button-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 19px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.kb-detail .kb-button {
  background: var(--kb-orange);
  color: #1f2937;
}

.kb-detail .kb-button:hover {
  background: #ffad72;
  color: #111827;
  transform: translateY(-1px);
}

.kb-detail .kb-button-secondary {
  border-color: rgba(199, 218, 236, 0.4);
  background: rgba(255, 255, 255, 0.025);
  color: #e4edf6;
}

.kb-detail .kb-button-secondary:hover {
  border-color: #8dd5f5;
  background: rgba(86, 180, 232, 0.12);
  color: #fff;
  transform: translateY(-1px);
}

.kb-detail .kb-hero-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 184, 214, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(155deg, rgba(29, 47, 67, 0.94), rgba(14, 24, 37, 0.98)),
    #172334;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.kb-detail .kb-code-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 19px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  color: #a9bbce;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kb-detail .kb-code-brand::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kb-detail-blue);
  box-shadow: 0 0 0 4px rgba(86, 180, 232, 0.12);
  content: "";
}

.kb-detail .kb-error-code {
  display: block;
  padding: 21px 20px 0;
  color: var(--kb-detail-orange);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.1rem);
  font-weight: 800;
  letter-spacing: 0.035em;
  line-height: 1.08;
}

.kb-detail .kb-hero-visual > p {
  margin: 7px 20px 22px;
  color: #c1cedb;
  font-size: 0.92rem;
  line-height: 1.65;
}

.kb-detail .kb-hero-visual figure {
  margin: 0;
  padding: 12px;
}

.kb-detail .kb-hero-visual figure img {
  width: 100%;
  max-height: 300px;
  border-radius: 7px;
  background: #f5f8fb;
  object-fit: contain;
}

.kb-detail .kb-hero-visual figcaption {
  padding: 10px 4px 0;
  color: #b8c6d5;
  font-size: 0.8rem;
  line-height: 1.55;
}

/* Article surface and supporting reading elements. */
.kb-detail .kb-main.container {
  padding-top: 31px;
}

.kb-detail .kb-breadcrumb {
  margin-bottom: 20px;
  color: #a7b6c7;
}

.kb-detail .kb-breadcrumb a {
  color: #7bc8ed;
}

.kb-detail .kb-breadcrumb a:hover {
  color: #ffad72;
}

.kb-detail .kb-article-layout {
  grid-template-columns: minmax(0, 1fr) 278px;
  gap: clamp(24px, 4.5vw, 54px);
}

.kb-detail .kb-article-layout article.kb-article {
  padding: clamp(25px, 4.6vw, 52px);
  border-color: var(--kb-detail-stroke);
  border-radius: 13px;
  background: #f7f9fc;
  color: #172334;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.17);
}

.kb-detail .kb-article > header {
  margin-bottom: 31px;
  padding-bottom: 22px;
  border-bottom-color: #d8e1eb;
}

.kb-detail .kb-article > header .kb-tag {
  background: #e4f3fb;
  color: #075985;
}

.kb-detail .kb-article h1 {
  color: #111d2d;
}

.kb-detail .kb-article > header p {
  color: #47596d;
}

.kb-detail .kb-article section h2,
.kb-detail .kb-article section h3 {
  color: #122239;
}

.kb-detail .kb-article section p,
.kb-detail .kb-article section li {
  color: #35475b;
}

.kb-detail .kb-article section strong {
  color: #162840;
}

.kb-detail .kb-article section a {
  color: #075f91;
  text-decoration-color: rgba(3, 105, 161, 0.35);
}

.kb-detail .kb-article section a:hover {
  color: #b54708;
}

.kb-detail .kb-answer {
  border-color: #a9d5e9;
  border-left-color: #0876aa;
  background: #eaf6fb;
}

.kb-detail .kb-warning {
  border-color: #f3c5a5;
  border-left-color: #e16d24;
  background: #fff4e9;
}

.kb-detail .kb-warning strong {
  color: #8d3516;
}

.kb-detail .kb-toc {
  border-color: #d7e1eb;
  background: #edf3f8;
}

.kb-detail .kb-toc h2,
.kb-detail .kb-toc h3 {
  color: #13233a;
}

.kb-detail .kb-toc li,
.kb-detail .kb-toc a {
  color: #075f91;
}

.kb-detail .kb-figures figure {
  border-color: #d8e1eb;
  background: #eef3f7;
}

.kb-detail .kb-figures figcaption {
  color: #56687c;
}

.kb-detail .kb-author {
  border-top-color: #0875a8;
  background: #eaf0f5;
}

.kb-detail .kb-author h2,
.kb-detail .kb-author h3,
.kb-detail .kb-author strong {
  color: #17283d;
}

.kb-detail .kb-author p {
  color: #506176;
}

/* Action cards deliberately convey severity with labels and text as well as hue. */
.kb-detail .kb-article section.kb-diagnosis {
  margin: 0 0 36px;
  padding: 23px;
  border: 1px solid #d9e2eb;
  border-radius: 10px;
  background: #eef3f7;
}

.kb-detail .kb-diagnosis > h2 {
  margin-bottom: 17px;
}

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

.kb-detail .kb-diagnosis-card {
  min-width: 0;
  padding: 17px 16px;
  border: 1px solid #d6e0e9;
  border-top: 3px solid #178052;
  border-radius: 8px;
  background: #fff;
}

.kb-detail .kb-diagnosis-card.kb-advice {
  border-top-color: #d7661e;
}

.kb-detail .kb-diagnosis-card.kb-urgent {
  border-top-color: #c53636;
}

.kb-detail .kb-diagnosis-card svg {
  display: block;
  width: 25px;
  height: 25px;
  margin-bottom: 12px;
  color: #147c4c;
}

.kb-detail .kb-diagnosis-card.kb-advice svg {
  color: #b64b11;
}

.kb-detail .kb-diagnosis-card.kb-urgent svg {
  color: #a92727;
}

.kb-detail .kb-diagnosis-card h3 {
  margin: 0 0 7px;
  font-size: 0.98rem;
}

.kb-detail .kb-diagnosis-card p {
  margin: 0 0 10px;
  font-size: 0.86rem;
  line-height: 1.65;
}

.kb-detail .kb-diagnosis-card a {
  font-size: 0.83rem;
  font-weight: 700;
}

/* Ordered process rail, visibly numbered and easy to scan. */
.kb-detail .kb-article section.kb-process {
  margin: 0 0 36px;
  padding: 24px;
  border: 1px solid #d8e2eb;
  border-radius: 10px;
  background: #eef3f7;
}

.kb-detail .kb-process ol {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.kb-detail .kb-process ol > li {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  padding: 0 0 21px;
}

.kb-detail .kb-process ol > li:last-child {
  padding-bottom: 0;
}

.kb-detail .kb-process ol > li:not(:last-child)::before {
  position: absolute;
  top: 36px;
  bottom: 0;
  left: 17px;
  width: 1px;
  background: #c4d3df;
  content: "";
}

.kb-detail .kb-process ol > li > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #a6d5e9;
  border-radius: 50%;
  background: #e4f4fb;
  color: #075f91;
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
}

.kb-detail .kb-process ol > li strong {
  display: block;
  margin: 2px 0 3px;
  color: #14263e;
  font-size: 0.98rem;
}

.kb-detail .kb-process ol > li p {
  margin: 0;
  color: #47596d;
  font-size: 0.91rem;
  line-height: 1.7;
}

.kb-detail .kb-pro-block {
  margin: 26px 0 0;
  padding: 19px;
  border-left: 3px solid #0876aa;
  border-radius: 0 7px 7px 0;
  background: #e4f1f7;
}

.kb-detail .kb-pro-block h2 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.kb-detail .kb-pro-block p {
  margin: 0;
  color: #40546a;
}

.kb-detail .kb-help-actions {
  margin-top: 16px;
}

.kb-detail .kb-help-actions .kb-button-secondary {
  border-color: #9cafc0;
  background: transparent;
  color: #21405b;
}

.kb-detail .kb-help-actions .kb-button-secondary:hover {
  border-color: #075f91;
  background: #dceef6;
  color: #064e73;
}

/* Accessible native disclosure FAQ. */
.kb-detail .kb-article section.kb-faq {
  margin: 0 0 34px;
}

.kb-detail .kb-faq details {
  margin-top: 10px;
  border: 1px solid #d7e1eb;
  border-radius: 8px;
  background: #fff;
}

.kb-detail .kb-faq details[open] {
  border-color: #a9cde0;
  box-shadow: 0 5px 14px rgba(21, 53, 79, 0.055);
}

.kb-detail .kb-faq summary {
  position: relative;
  padding: 15px 45px 15px 17px;
  color: #192e46;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  list-style: none;
}

.kb-detail .kb-faq summary::-webkit-details-marker {
  display: none;
}

.kb-detail .kb-faq summary::after {
  position: absolute;
  top: 50%;
  right: 17px;
  color: #086895;
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.kb-detail .kb-faq details[open] summary::after {
  content: "−";
}

.kb-detail .kb-faq details > p {
  margin: 0;
  padding: 0 17px 16px;
  color: #46596e;
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Sidebar contrasts against the graphite page without losing legibility. */
.kb-detail .kb-sidebar > section,
.kb-detail .kb-sidebar > div {
  border-color: #304155;
  background: #172334;
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.12);
}

.kb-detail .kb-sidebar h2,
.kb-detail .kb-sidebar h3 {
  color: #f1f5f9;
}

.kb-detail .kb-sidebar p,
.kb-detail .kb-sidebar li {
  color: #c0ccda;
}

.kb-detail .kb-sidebar a {
  color: #80cdef;
}

.kb-detail .kb-sidebar a:hover {
  color: #ffad72;
}

.kb-detail .kb-sidebar a.kb-button,
.kb-detail .kb-sidebar a.kb-button:hover {
  color: #1f2937;
}

.kb-detail .kb-related {
  padding-top: 4px;
}

.kb-detail .kb-related h2 {
  color: #f1f5f9;
}

.kb-detail .kb-related .kb-card {
  border-color: #304155;
  background: #172334;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.kb-detail .kb-related .kb-card:hover {
  border-color: rgba(86, 180, 232, 0.62);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.kb-detail .kb-related .kb-card h2 {
  color: #eff5fa;
}

.kb-detail .kb-related .kb-card p {
  color: #c0ccda;
}

.kb-detail .kb-related .kb-card-link {
  color: #80cdef;
}

.kb-detail .kb-related .kb-card-link:hover {
  color: #ffad72;
}

.kb-detail .kb-related .kb-tag {
  background: rgba(86, 180, 232, 0.13);
  color: #9adbf7;
}

.kb-detail .kb-cta {
  border: 1px solid rgba(148, 184, 214, 0.2);
  background:
    radial-gradient(ellipse at 91% 16%, rgba(3, 105, 161, 0.27), transparent 38%),
    #172334;
}

.kb-detail .kb-cta h2,
.kb-detail .kb-cta h3 {
  color: #f5f8fc;
}

.kb-detail .kb-cta p {
  color: #c4d0dc;
}

.kb-detail .kb-cta a {
  background: var(--kb-orange);
  color: #1c2836;
}

.kb-detail .kb-cta a:hover {
  background: #ffad72;
  color: #111827;
}

.kb-detail .kb-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: #090f18;
  color: #bac7d5;
}

.kb-detail .kb-footer a {
  color: #8ed2f1;
}

@media (max-width: 1040px) {
  .kb-detail .kb-nav-inner {
    gap: 14px;
  }

  .kb-detail .kb-nav-links {
    gap: 8px;
  }

  .kb-detail .kb-nav-links a {
    font-size: 0.75rem;
  }

  .kb-detail .kb-article-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 25px;
  }

  .kb-detail .kb-diagnosis-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .kb-detail .kb-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(215px, 0.7fr);
    gap: 28px;
  }

  .kb-detail .kb-article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .kb-detail .kb-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  /* Preserve every existing destination: eight nav items wrap instead of clipping. */
  .kb-detail .kb-nav-inner {
    min-height: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2px 12px;
    padding-block: 10px 12px;
  }

  .kb-detail .kb-logo {
    min-height: 42px;
  }

  .kb-detail .kb-phone {
    min-height: 40px;
  }

  .kb-detail .kb-nav-links {
    order: 3;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0 17px;
    overflow: visible;
    padding: 3px 0 0;
  }

  .kb-detail .kb-nav-links a {
    min-height: 35px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .kb-detail .kb-nav-links a::after {
    bottom: 1px;
  }

  .kb-detail .kb-article-hero {
    padding: 43px 0 91px;
  }

  .kb-detail .kb-hero-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .kb-detail .kb-hero-copy h1 {
    max-width: 650px;
    font-size: clamp(2.3rem, 7.5vw, 3.7rem);
  }

  .kb-detail .kb-hero-visual {
    width: min(100%, 480px);
  }

  .kb-detail .kb-error-code {
    font-size: 3rem;
  }

  .kb-detail .kb-main.container {
    padding-top: 25px;
  }
}

@media (max-width: 520px) {
  .kb-detail .kb-article-hero {
    padding: 37px 0 76px;
  }

  .kb-detail .kb-hero-copy .kb-eyebrow {
    margin-bottom: 13px;
    font-size: 0.68rem;
  }

  .kb-detail .kb-hero-copy h1 {
    font-size: clamp(2rem, 9.4vw, 2.75rem);
    line-height: 1.12;
  }

  .kb-detail .kb-hero-summary {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.72;
  }

  .kb-detail .kb-hero-actions,
  .kb-detail .kb-help-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
    margin-top: 19px;
  }

  .kb-detail .kb-hero-actions .kb-button,
  .kb-detail .kb-hero-actions .kb-button-secondary,
  .kb-detail .kb-help-actions .kb-button,
  .kb-detail .kb-help-actions .kb-button-secondary {
    width: 100%;
  }

  .kb-detail .kb-hero-visual {
    border-radius: 11px;
  }

  .kb-detail .kb-code-brand {
    padding: 13px 15px;
  }

  .kb-detail .kb-error-code {
    padding: 18px 16px 0;
    font-size: 2.7rem;
  }

  .kb-detail .kb-hero-visual > p {
    margin: 6px 16px 18px;
    font-size: 0.86rem;
  }

  .kb-detail .kb-main.container {
    padding-top: 20px;
  }

  .kb-detail .kb-article-layout article.kb-article {
    padding: 22px 17px;
    border-radius: 10px;
  }

  .kb-detail .kb-article h1 {
    font-size: clamp(1.8rem, 8.8vw, 2.35rem);
  }

  .kb-detail .kb-article section p,
  .kb-detail .kb-article section li {
    font-size: 0.95rem;
    line-height: 1.78;
  }

  .kb-detail .kb-article section.kb-diagnosis,
  .kb-detail .kb-article section.kb-process {
    padding: 17px 15px;
  }

  .kb-detail .kb-diagnosis-grid {
    gap: 9px;
  }

  .kb-detail .kb-diagnosis-card {
    padding: 15px;
  }

  .kb-detail .kb-process ol > li {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 11px;
  }

  .kb-detail .kb-process ol > li > span {
    width: 32px;
    height: 32px;
  }

  .kb-detail .kb-process ol > li:not(:last-child)::before {
    top: 32px;
    left: 15px;
  }

  .kb-detail .kb-pro-block {
    padding: 16px;
  }

  .kb-detail .kb-faq summary {
    padding: 14px 40px 14px 14px;
    font-size: 0.9rem;
  }

  .kb-detail .kb-faq details > p {
    padding-inline: 14px;
    font-size: 0.89rem;
  }

  .kb-detail .kb-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kb-detail *,
  .kb-detail *::before,
  .kb-detail *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* The article pages share the homepage's light reading surfaces and navy/blue
   service identity. Keep the familiar dark masthead and blue-led hero, while
   making the long-form reading area calm, warm and easy to scan. */
body.kb-body.kb-detail {
  background: #f5f8fb;
  color: #152238;
}

.kb-detail .kb-article-hero {
  background:
    radial-gradient(ellipse at 86% 46%, rgba(3, 105, 161, 0.3), transparent 38%),
    linear-gradient(118deg, #0f172a 0%, #172a42 68%, #123855 100%);
}

.kb-detail .kb-article-hero::after {
  border-color: rgba(125, 211, 252, 0.16);
  box-shadow: 0 0 0 34px rgba(125, 211, 252, 0.035), 0 0 0 70px rgba(125, 211, 252, 0.025);
}

.kb-detail .kb-main.container {
  padding-bottom: clamp(58px, 8vw, 92px);
}

.kb-detail .kb-breadcrumb {
  color: #64748b;
}

.kb-detail .kb-article-layout article.kb-article {
  border-color: #dbe4ed;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.055);
}

.kb-detail .kb-article > header {
  border-bottom-color: #dbe4ed;
}

.kb-detail .kb-article section h2,
.kb-detail .kb-article section h3 {
  overflow-wrap: anywhere;
}

.kb-detail .kb-article section p,
.kb-detail .kb-article section li {
  overflow-wrap: anywhere;
}

.kb-detail .kb-article .kb-introduction {
  margin: -5px 0 31px;
  padding: 20px 22px;
  border-left: 3px solid #0369a1;
  border-radius: 0 9px 9px 0;
  background: #eff7fb;
}

.kb-detail .kb-article .kb-introduction p:last-child {
  margin-bottom: 0;
}

.kb-detail .kb-article #tunetek {
  padding: 20px 22px;
  border: 1px solid #dbe7ef;
  border-radius: 10px;
  background: #f5f8fb;
}

.kb-detail .kb-article #tunetek ul,
.kb-detail .kb-article #tunetek ol {
  margin-bottom: 0;
}

.kb-detail .kb-sidebar > section,
.kb-detail .kb-sidebar > div {
  border-color: #dbe4ed;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.045);
}

.kb-detail .kb-sidebar h2,
.kb-detail .kb-sidebar h3 {
  color: #0f172a;
}

.kb-detail .kb-sidebar p,
.kb-detail .kb-sidebar li {
  color: #475569;
}

.kb-detail .kb-sidebar a {
  color: #0369a1;
}

.kb-detail .kb-sidebar a:hover {
  color: #c2410c;
}

.kb-detail .kb-related h2 {
  color: #0f172a;
}

.kb-detail .kb-related .kb-card {
  border-color: #dbe4ed;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.045);
}

.kb-detail .kb-related .kb-card h2 {
  color: #0f172a;
}

.kb-detail .kb-related .kb-card p {
  color: #475569;
}

.kb-detail .kb-related .kb-card-link {
  color: #0369a1;
}

.kb-detail .kb-related .kb-tag {
  background: #e0f2fe;
  color: #025888;
}

.kb-detail .kb-cta {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(56, 189, 248, 0.2), transparent 40%),
    #0f172a;
}

/* Keep the existing compact mobile navigation supplied by mobile-navigation.css
   untouched; these adjustments are limited to the article's reading surfaces. */
.kb-detail .kb-figures img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.kb-detail .kb-article section.kb-cta h2,
.kb-detail .kb-article section.kb-cta h3 {
  color: #f5f8fc;
}
.kb-detail .kb-article section.kb-cta p {
  color: #c4d0dc;
}
.kb-detail .kb-sidebar a.kb-button {
  color: #0f172a;
}
.kb-detail .kb-author {
  display: block;
}
.kb-detail .kb-author h2 {
  margin-bottom: 12px;
}
.kb-detail .kb-author p + p {
  margin-top: 10px;
}
.kb-detail .kb-author a,
.kb-detail .kb-author strong {
  display: inline;
}
@media (max-width: 520px) {
  .kb-detail .kb-article .kb-introduction,
  .kb-detail .kb-article #tunetek {
    padding: 16px;
  }
}

