:root {
  --wb-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.container {
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
}

/* ARTICLE HEADER */
.wb-ah {
  font-family: var(--wb-font);
  padding: 8px 0 18px;
  border-bottom: 1px solid #e4e6ed;
  margin-bottom: 22px;
}
.wb-ah-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #5b20a0;
  margin-bottom: 10px;
}
.wb-ah h1 {
  font-size: 30px;
  font-weight: 800;
  color: #181818;
  line-height: 1.22;
  margin: 0 0 14px;
  font-family: var(--wb-font);
}
.wb-ah-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.wb-ah-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dde6f0;
  border: 2px solid #e4e6ed;
  overflow: hidden;
  flex-shrink: 0;
}
.wb-ah-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wb-ah-meta { font-size: 13px; color: #5a6070; line-height: 1.45; }
.wb-ah-author { font-weight: 700; color: #181818; }
.wb-ah-author a { color: #181818; text-decoration: none; }
.wb-ah-author a:hover { color: #468AFD; }
.wb-ah-dot { color: #c4c8d2; margin: 0 6px; }
.wb-ah-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1a7a36;
  font-weight: 600;
  font-size: 12px;
}

/* HERO IMAGE */
.wb-hero-img {
  width: 100%;
  aspect-ratio: 16 / 8;
  border-radius: 10px;
  overflow: hidden;
  background: #dde3ef;
  margin-bottom: 8px;
}
.wb-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wb-hero-cap {
  font-family: var(--wb-font);
  font-size: 12px;
  color: #999;
  margin: 0 0 26px;
  font-style: italic;
}

/* LAYOUT: TOC + BODY */
.wb-art-wrap {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 36px;
  align-items: start;
  font-family: var(--wb-font);
  margin-bottom: 40px;
}

/* TOC */
.wb-toc { position: sticky; top: 20px; }
.wb-toc-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #777;
  font-family: var(--wb-font);
  margin: 0 0 12px;
  padding: 0 0 7px;
  border-bottom: 2px solid #193b56;
  text-align: left;
  cursor: default;
}
.wb-toc-chevron { flex-shrink: 0; color: #468AFD; display: none; transition: transform 0.25s ease; }
.wb-toc-list { display: block; }
.wb-toc ul { list-style: none; margin: 0; padding: 0; }
.wb-toc li { margin-bottom: 2px; }
.wb-toc a {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #5a6070;
  text-decoration: none;
  padding: 7px 10px;
  border-left: 2px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}
.wb-toc a:hover { color: #468AFD; background: #f4f7ff; }
.wb-toc a.is-active {
  color: #193b56;
  font-weight: 600;
  border-left-color: #468AFD;
  background: #f4f7ff;
}

/* ARTICLE BODY (prose) */
.wb-prose {
  font-size: 16px;
  line-height: 1.75;
  color: #2a2e38;
  font-family: var(--wb-font);
}
.wb-prose > p { margin: 0 0 18px; }
.wb-prose h2 {
  font-size: 23px;
  font-weight: 700;
  color: #181818;
  line-height: 1.3;
  margin: 34px 0 14px;
  padding-top: 6px;
  scroll-margin-top: 20px;
}
/*
.wb-prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: #181818;
  margin: 24px 0 10px;
}
*/
.wb-related h3 {
  font-size: 18px;
  font-weight: 700;
  color: #181818;
  margin: 24px 0 10px;
}
.wb-prose ul, .wb-prose ol { margin: 0 0 18px; padding-left: 22px; }
.wb-prose li { margin-bottom: 8px; }
.wb-prose a { color: #1a4fb8; text-decoration: underline; }
.wb-prose strong { color: #181818; font-weight: 700; }
.wb-prose .wb-lead {
  font-size: 18px;
  line-height: 1.65;
  color: #3a3e48;
  font-weight: 500;
  margin-bottom: 22px;
}

/* Blockquote / expert note */
.wb-quote {
  border-left: 4px solid #468AFD;
  background: #f4f7ff;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: #2a3142;
  font-style: italic;
}
.wb-quote-author {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: #5a6070;
}

/* Data table */
.wb-table-wrap { overflow-x: auto; margin: 22px 0; }
.wb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  border: 1px solid #e0e0ee;
  border-radius: 8px;
  overflow: hidden;
}
.wb-table thead th {
  background: #193b56;
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 11px 14px;
  font-size: 13px;
  letter-spacing: 0.2px;
}
.wb-table td {
  padding: 11px 14px;
  border-top: 1px solid #ebebf5;
  color: #2a2e38;
}
.wb-table tbody tr:nth-child(even) { background: #f8f8fd; }
.wb-table td:first-child { font-weight: 600; color: #181818; }

/* Key takeaways */
.wb-takeaways {
  background: #f5f8f6;
  border: 1px solid #cfe5d8;
  border-radius: 10px;
  padding: 18px 22px 20px;
  margin: 30px 0;
}
.wb-takeaways-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1a7a36;
  margin: 0 0 12px;
}
.wb-takeaways ul { margin: 0; padding-left: 20px; }
.wb-takeaways li { margin-bottom: 8px; font-size: 15px; color: #2a3142; line-height: 1.55; }

/* FAQ accordion (matches /articles section) */
/*
.wb-faq { margin: 18px 0 8px; }
.wb-faq-item {
  border: 1px solid #e4e6ed;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 8px;
  overflow: hidden;
}
.wb-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #181818;
  text-align: left;
  font-family: var(--wb-font);
  transition: background-color 0.15s;
}
.wb-faq-q:hover { background: #f8f9ff; }
.wb-faq-icon { flex-shrink: 0; color: #468AFD; transition: transform 0.25s ease; }
.wb-faq-item.is-open .wb-faq-icon { transform: rotate(45deg); }
.wb-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.wb-faq-item.is-open .wb-faq-a { grid-template-rows: 1fr; }
.wb-faq-a > .wb-faq-a-inner { min-height: 0; }
.wb-faq-a-inner {
  overflow: hidden;
  padding: 0 16px;
  max-height: 0;
  opacity: 0;
  font-size: 16px;
  line-height: 1.65;
  color: #2a2e38;
  transition: padding 0.35s ease, opacity 0.25s ease;
}
.wb-faq-item.is-open .wb-faq-a-inner { padding: 4px 16px 16px; max-height: none; opacity: 1; }
*/
/* RELATED ARTICLES */
.wb-related { margin-bottom: 30px; font-family: var(--wb-font); }
.wb-related-title {
  font-size: 16px;
  font-weight: 700;
  color: #181818;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding-bottom: 10px;
  border-bottom: 2px solid #193b56;
  margin: 0 0 16px;
}
.wb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.wb-rel-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e4e6ed;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.wb-rel-card:hover {
  border-color: #468AFD;
  box-shadow: 0 4px 14px rgba(70, 138, 253, 0.12);
  transform: translateY(-2px);
}
.wb-rel-thumb { width: 100%; aspect-ratio: 16/9; background: #dde3ef; overflow: hidden; }
.wb-rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.wb-rel-card:hover .wb-rel-thumb img { transform: scale(1.04); }
.wb-rel-body { padding: 12px 14px 14px; }
.wb-rel-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #5b20a0;
  margin-bottom: 5px;
}
.wb-rel-title2 {
  font-size: 14px;
  font-weight: 600;
  color: #181818;
  line-height: 1.4;
  margin: 0;
  transition: color 0.15s;
}
.wb-rel-card:hover .wb-rel-title2 { color: #468AFD; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .wb-art-wrap { grid-template-columns: 1fr; gap: 0; }
  .wb-toc {
    position: static;
    margin-bottom: 26px;
    border: 1px solid #e4e6ed;
    border-radius: 8px;
    padding: 14px 16px;
    background: #f8f9fc;
  }
  .wb-toc-title {
    cursor: pointer;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  .wb-toc-chevron { display: block; }
  .wb-toc.is-open .wb-toc-chevron { transform: rotate(180deg); }
  .wb-toc-list {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .wb-toc.is-open .wb-toc-list { grid-template-rows: 1fr; }
  .wb-toc-list > ul { min-height: 0; overflow: hidden; padding-top: 6px; }
  .wb-related-grid { grid-template-columns: repeat(2, 1fr); }
  .wb-ah h1 { font-size: 26px; }
}
@media (max-width: 640px) {
  .wb-ah-avatar { display: none; }
  .wb-ah h1 { font-size: 22px; }
  .wb-prose { font-size: 15.5px; }
  .wb-prose h2 { font-size: 20px; }
  /*.wb-prose h3 { font-size: 17px; }*/
  .wb-related h3 { font-size: 17px; }
  .wb-prose .wb-lead { font-size: 16.5px; }
  .wb-related-grid { grid-template-columns: 1fr; }
}