:root {
  --wdg-primary: #3bc095;
  --wdg-secondary: #1891ca;
  --wdg-primary-rgb: 59, 192, 149;
  --wdg-secondary-rgb: 24, 145, 202;
  --wdg-hero-image: none;
}

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

.wdg-page {
  --wdg-text: #10232f;
  --wdg-heading: #0a2735;
  --wdg-muted: #647680;
  --wdg-soft: #f3faf8;
  --wdg-soft-blue: #f2f8fc;
  --wdg-line: #dfe9e7;
  --wdg-white: #fff;
  --wdg-shadow-sm: 0 10px 28px rgba(16, 35, 47, 0.06);
  --wdg-shadow-md: 0 20px 50px rgba(16, 35, 47, 0.1);
  color: var(--wdg-text);
  font-size: 16px;
  line-height: 1.72;
}

.wdg-page a,
.wdg-page button,
.wdg-page input,
.wdg-page summary {
  -webkit-tap-highlight-color: transparent;
}

.wdg-page a:focus-visible,
.wdg-page button:focus-visible,
.wdg-page input:focus-visible,
.wdg-page summary:focus-visible {
  outline: 3px solid rgba(var(--wdg-secondary-rgb), 0.28);
  outline-offset: 3px;
}

.wdg-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

/* Hero */
.wdg-hero,
.wdg-term-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 0 78px;
  background-color: #eef7f4;
  background-image:
    linear-gradient(135deg, rgba(var(--wdg-primary-rgb), 0.17), rgba(var(--wdg-secondary-rgb), 0.13)),
    var(--wdg-hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.wdg-hero::before,
.wdg-term-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.76) 54%, rgba(255, 255, 255, 0.58) 100%);
  pointer-events: none;
}

.wdg-hero .wdg-shell,
.wdg-term-hero .wdg-shell {
  position: relative;
  z-index: 1;
}

.wdg-hero__inner {
  max-width: 850px;
  padding-top: 44px;
}

.wdg-eyebrow,
.wdg-cta__eyebrow,
.wdg-section-heading span,
.wdg-section-label,
.wdg-toc__eyebrow,
.wdg-context-card__eyebrow,
.wdg-term-summary__eyebrow {
  display: block;
  color: var(--wdg-secondary);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wdg-hero h1,
.wdg-term-hero h1 {
  max-width: 900px;
  margin: 8px 0 14px;
  color: var(--wdg-heading);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.wdg-hero p,
.wdg-term-hero .wdg-lead {
  max-width: 790px;
  margin: 0;
  color: #526873;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
}

.wdg-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  color: var(--wdg-muted);
  font-size: 13px;
  line-height: 1.4;
}

.wdg-breadcrumb a {
  color: var(--wdg-secondary);
  text-decoration: none;
}

.wdg-breadcrumb a:hover {
  text-decoration: underline;
}

/* Search */
.wdg-search {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 5;
  max-width: 780px;
  margin-top: 28px;
}

.wdg-search__field {
  flex: 1;
  position: relative;
  min-width: 0;
}

.wdg-search input[type="search"] {
  width: 100%;
  height: 56px;
  margin: 0;
  border: 1px solid rgba(16, 35, 47, 0.14);
  border-radius: 14px;
  background: #fff;
  padding: 0 18px 0 48px;
  color: var(--wdg-text);
  font: inherit;
  font-size: 16px;
  box-shadow: 0 14px 40px rgba(29, 76, 76, 0.08);
  outline: none;
}

.wdg-search input[type="search"]:focus {
  border-color: var(--wdg-primary);
  box-shadow: 0 0 0 4px rgba(var(--wdg-primary-rgb), 0.13);
}

.wdg-search__icon {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--wdg-secondary);
  font-size: 24px;
  line-height: 1;
}

.wdg-page .wdg-search button,
.wdg-page .wdg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  margin: 0;
  border: 0 !important;
  border-radius: 12px;
  background-color: var(--wdg-primary) !important;
  background-image: linear-gradient(135deg, var(--wdg-primary), var(--wdg-secondary)) !important;
  padding: 0 22px;
  color: #fff !important;
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  opacity: 1 !important;
  box-shadow: 0 12px 28px rgba(var(--wdg-secondary-rgb), 0.19);
  cursor: pointer;
  appearance: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wdg-page .wdg-search button:hover,
.wdg-page .wdg-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(var(--wdg-secondary-rgb), 0.24);
}

.wdg-search__results {
  position: absolute;
  top: 63px;
  right: 0;
  left: 0;
  z-index: 20;
  max-height: 430px;
  overflow: auto;
  border: 1px solid var(--wdg-line);
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 22px 55px rgba(16, 35, 47, 0.16);
}

.wdg-search__result {
  display: block;
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--wdg-text);
  text-decoration: none;
}

.wdg-search__result:hover {
  background: var(--wdg-soft);
}

.wdg-search__result strong,
.wdg-search__result small {
  display: block;
}

.wdg-search__result strong {
  font-size: 15px;
}

.wdg-search__result small {
  color: var(--wdg-muted);
  font-size: 12px;
}

.wdg-search__result p {
  margin: 3px 0 0;
  color: var(--wdg-muted);
  font-size: 13px;
  line-height: 1.45;
}

.wdg-search--compact {
  display: block;
  margin: 18px 0 0;
}

.wdg-search--compact button {
  width: 100%;
  min-height: 44px;
  margin-top: 8px !important;
}

.wdg-search--compact input[type="search"] {
  height: 48px;
}

/* Archive and category */
.wdg-main-layout {
  padding: 64px 0 84px;
}

.wdg-block {
  margin-bottom: 64px;
}

.wdg-block--soft {
  border: 1px solid rgba(var(--wdg-primary-rgb), 0.12);
  border-radius: 22px;
  background: var(--wdg-soft);
  padding: 30px;
}

.wdg-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.wdg-section-heading h2,
.wdg-content-section h2,
.wdg-related-section h2,
.wdg-prose h2 {
  margin: 4px 0 0;
  color: var(--wdg-heading);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.028em;
}

.wdg-section-heading > strong {
  color: var(--wdg-muted);
  font-size: 14px;
  font-weight: 700;
}

.wdg-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.wdg-category-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 82px;
  border: 1px solid var(--wdg-line);
  border-radius: 16px;
  background: #fff;
  padding: 16px;
  color: var(--wdg-text);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wdg-category-card:hover {
  transform: translateY(-3px);
  border-color: var(--wdg-primary);
  box-shadow: 0 16px 34px rgba(16, 35, 47, 0.08);
}

.wdg-category-card__icon {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--wdg-primary-rgb), 0.16), rgba(var(--wdg-secondary-rgb), 0.16));
  font-size: 18px;
}

.wdg-category-card__content {
  min-width: 0;
}

.wdg-category-card strong,
.wdg-category-card small {
  display: block;
}

.wdg-category-card strong {
  font-size: 15px;
  line-height: 1.35;
}

.wdg-category-card small {
  margin-top: 3px;
  color: var(--wdg-muted);
  font-size: 12px;
}

.wdg-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wdg-alpha a {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid var(--wdg-line);
  border-radius: 10px;
  background: #fff;
  color: var(--wdg-text);
  font-weight: 800;
  text-decoration: none;
}

.wdg-alpha a:hover {
  border-color: var(--wdg-primary);
  background: var(--wdg-primary);
  color: #fff;
}

.wdg-term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wdg-term-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 250px;
  border: 1px solid var(--wdg-line);
  border-radius: 18px;
  background: #fff;
  padding: 22px;
  color: var(--wdg-text);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(16, 35, 47, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wdg-term-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--wdg-primary-rgb), 0.75);
  box-shadow: 0 20px 42px rgba(16, 35, 47, 0.09);
}

.wdg-term-card__top,
.wdg-term-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wdg-chip,
.wdg-acronym {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.wdg-chip {
  background: rgba(var(--wdg-primary-rgb), 0.14);
  color: var(--wdg-primary);
}

.wdg-acronym {
  background: rgba(var(--wdg-secondary-rgb), 0.11);
  color: var(--wdg-secondary);
}

.wdg-term-card h3 {
  margin: 18px 0 9px;
  color: var(--wdg-heading);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.24;
}

.wdg-term-card p {
  margin: 0;
  color: var(--wdg-muted);
  font-size: 14px;
  line-height: 1.6;
}

.wdg-term-card__link {
  margin-top: auto;
  padding-top: 20px;
  color: var(--wdg-secondary);
  font-size: 13px;
  font-weight: 800;
}

.wdg-pagination {
  margin-top: 34px;
}

.wdg-pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wdg-pagination a,
.wdg-pagination span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--wdg-line);
  border-radius: 10px;
  background: #fff;
  padding: 0 11px;
  color: var(--wdg-text);
  text-decoration: none;
}

.wdg-pagination .current {
  border-color: var(--wdg-primary);
  background: var(--wdg-primary);
  color: #fff;
}

.wdg-empty {
  border-radius: 16px;
  background: var(--wdg-soft);
  padding: 30px;
  color: var(--wdg-muted);
  text-align: center;
}

/* Detail hero */
.wdg-term-hero {
  padding-bottom: 72px;
}

.wdg-term-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 56px;
  padding-top: 46px;
}

.wdg-term-hero__content {
  min-width: 0;
}

.wdg-term-meta {
  justify-content: flex-start;
  margin-bottom: 15px;
}

.wdg-term-hero__content > .wdg-eyebrow {
  margin-top: 20px;
}

.wdg-alternate {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: 100%;
  margin-top: 22px;
  border: 1px solid rgba(16, 35, 47, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.68);
  padding: 9px 13px;
  color: #4a606b;
  font-size: 13px;
  line-height: 1.4;
  backdrop-filter: blur(8px);
}

.wdg-alternate span {
  color: var(--wdg-muted);
}

.wdg-alternate strong {
  overflow-wrap: anywhere;
  color: var(--wdg-heading);
}

.wdg-term-summary {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  padding: 25px;
  box-shadow: var(--wdg-shadow-md);
  backdrop-filter: blur(14px);
}

.wdg-term-summary::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--wdg-primary), var(--wdg-secondary));
}

.wdg-term-summary__top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--wdg-line);
}

.wdg-term-summary__badge {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--wdg-primary), var(--wdg-secondary));
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow: 0 10px 24px rgba(var(--wdg-secondary-rgb), 0.22);
}

.wdg-term-summary__top > div {
  min-width: 0;
}

.wdg-term-summary__top strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 4px;
  color: var(--wdg-heading);
  font-size: 21px;
  line-height: 1.25;
}

.wdg-term-facts {
  display: grid;
  gap: 0;
  margin: 9px 0 16px;
}

.wdg-term-facts > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(16, 35, 47, 0.1);
}

.wdg-term-facts dt,
.wdg-term-facts dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.wdg-term-facts dt {
  color: var(--wdg-muted);
}

.wdg-term-facts dd {
  overflow-wrap: anywhere;
  color: var(--wdg-heading);
  font-weight: 750;
}

.wdg-summary-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--wdg-primary-rgb), 0.12), rgba(var(--wdg-secondary-rgb), 0.1));
  padding: 12px 14px;
  color: var(--wdg-secondary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.wdg-summary-link:hover {
  background: linear-gradient(135deg, rgba(var(--wdg-primary-rgb), 0.2), rgba(var(--wdg-secondary-rgb), 0.16));
}

/* Detail content */
.wdg-detail-shell {
  padding: 0 0 88px;
}

.wdg-jumpbar {
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 4;
  min-height: 66px;
  margin-top: -32px;
  border: 1px solid var(--wdg-line);
  border-radius: 17px;
  background: #fff;
  padding: 11px 15px 11px 20px;
  box-shadow: var(--wdg-shadow-sm);
}

.wdg-jumpbar__label {
  flex: 0 0 auto;
  color: var(--wdg-heading);
  font-size: 13px;
  font-weight: 850;
}

.wdg-jumpbar__links {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: thin;
}

.wdg-jumpbar__links a {
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--wdg-soft);
  padding: 8px 11px;
  color: #405661;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.wdg-jumpbar__links a:hover {
  background: rgba(var(--wdg-primary-rgb), 0.16);
  color: var(--wdg-heading);
}

.wdg-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  align-items: start;
  gap: 42px;
  padding-top: 48px;
}

.wdg-article {
  min-width: 0;
}

.wdg-content-section {
  scroll-margin-top: 100px;
  margin: 0 0 24px;
  border: 1px solid var(--wdg-line);
  border-radius: 20px;
  background: #fff;
  padding: 28px 30px 30px;
  box-shadow: 0 9px 28px rgba(16, 35, 47, 0.035);
}

.wdg-content-section__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--wdg-line);
}

.wdg-content-section__header > div {
  min-width: 0;
}

.wdg-section-number {
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  height: 43px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(var(--wdg-primary-rgb), 0.17), rgba(var(--wdg-secondary-rgb), 0.14));
  color: var(--wdg-secondary);
  font-size: 13px;
  font-weight: 900;
}

.wdg-content-section h2 {
  font-size: clamp(23px, 2.6vw, 32px);
}

.wdg-richtext,
.wdg-prose {
  color: #354b57;
  font-size: 16px;
  line-height: 1.78;
}

.wdg-richtext > :first-child,
.wdg-prose > :first-child {
  margin-top: 0;
}

.wdg-richtext > :last-child,
.wdg-prose > :last-child {
  margin-bottom: 0;
}

.wdg-richtext p,
.wdg-prose p {
  margin: 16px 0;
}

.wdg-richtext ul,
.wdg-richtext ol {
  margin: 16px 0;
  padding-left: 22px;
}

.wdg-richtext li + li {
  margin-top: 7px;
}

.wdg-richtext a,
.wdg-prose a {
  color: var(--wdg-secondary);
  text-underline-offset: 3px;
}

.wdg-richtext blockquote {
  margin: 22px 0;
  border-left: 4px solid var(--wdg-primary);
  border-radius: 0 12px 12px 0;
  background: var(--wdg-soft);
  padding: 16px 18px;
}

.wdg-faq {
  display: grid;
  gap: 10px;
}

.wdg-faq details {
  overflow: hidden;
  border: 1px solid var(--wdg-line);
  border-radius: 13px;
  background: #fff;
}

.wdg-faq details[open] {
  border-color: rgba(var(--wdg-primary-rgb), 0.42);
  background: linear-gradient(135deg, rgba(var(--wdg-primary-rgb), 0.045), rgba(var(--wdg-secondary-rgb), 0.035));
}

.wdg-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  color: var(--wdg-heading);
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

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

.wdg-faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--wdg-secondary);
  font-size: 22px;
  font-weight: 500;
}

.wdg-faq details[open] summary::after {
  content: "–";
}

.wdg-faq details > div {
  padding: 0 18px 17px;
  color: var(--wdg-muted);
}

.wdg-faq details > div > :first-child {
  margin-top: 0;
}

.wdg-faq details > div > :last-child {
  margin-bottom: 0;
}

/* Detail sidebar */
.wdg-sidebar {
  min-width: 0;
}

.wdg-sidebar__sticky {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 92px;
}

.wdg-toc,
.wdg-context-card {
  border: 1px solid var(--wdg-line);
  border-radius: 17px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 9px 28px rgba(16, 35, 47, 0.035);
}

.wdg-toc > strong {
  display: block;
  margin: 4px 0 12px;
  color: var(--wdg-heading);
  font-size: 18px;
  line-height: 1.3;
}

.wdg-toc a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #edf2f1;
  padding: 10px 0;
  color: var(--wdg-muted);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}

.wdg-toc a:hover {
  color: var(--wdg-secondary);
}

.wdg-context-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(var(--wdg-primary-rgb), 0.17), rgba(var(--wdg-secondary-rgb), 0.14));
  font-size: 18px;
}

.wdg-context-card > strong {
  display: block;
  margin-top: 4px;
  color: var(--wdg-heading);
  font-size: 17px;
  line-height: 1.35;
}

.wdg-context-card p {
  margin: 10px 0 13px;
  color: var(--wdg-muted);
  font-size: 12px;
  line-height: 1.6;
}

.wdg-context-card a {
  color: var(--wdg-secondary);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

/* Related */
.wdg-related-section {
  margin-top: 42px;
  padding-top: 8px;
}

.wdg-related-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 19px;
}

.wdg-related-section__header > a {
  flex: 0 0 auto;
  color: var(--wdg-secondary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.wdg-related-section .wdg-term-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.wdg-related-section .wdg-term-card {
  min-height: 224px;
}

/* CTA */
.wdg-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
  margin: 48px 0 0;
  border-radius: 22px;
  background: linear-gradient(135deg, #102f39, #153d50);
  padding: 32px;
  color: #fff;
  box-shadow: 0 22px 50px rgba(16, 35, 47, 0.18);
}

.wdg-cta::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -100px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wdg-primary), var(--wdg-secondary));
  opacity: 0.12;
  pointer-events: none;
}

.wdg-cta__content,
.wdg-cta__action {
  position: relative;
  z-index: 1;
}

.wdg-cta h2 {
  margin: 6px 0 8px;
  color: #fff;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
}

.wdg-cta__description,
.wdg-cta__description p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.wdg-cta__action {
  min-width: 0;
}

.wdg-cta__form {
  min-width: 0;
}

.wdg-cta__form > :first-child,
.wdg-cta__form form,
.wdg-cta__form p {
  margin-top: 0;
}

.wdg-cta__form > :last-child,
.wdg-cta__form form,
.wdg-cta__form p {
  margin-bottom: 0;
}

.wdg-cta__form button,
.wdg-cta__form input[type="submit"],
.wdg-cta__form a {
  max-width: 100%;
}

.wdg-powered {
  margin-top: 28px;
  color: var(--wdg-muted);
  font-size: 12px;
  text-align: center;
}

.wdg-powered a {
  color: var(--wdg-secondary);
  font-weight: 800;
  text-decoration: none;
}

.wdg-inline-term {
  border-left: 4px solid var(--wdg-primary);
  background: var(--wdg-soft);
  padding: 16px;
}

.wdg-inline-term a {
  color: var(--wdg-secondary);
}

@media (max-width: 960px) {
  .wdg-category-grid,
  .wdg-term-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wdg-term-hero__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .wdg-term-summary {
    max-width: 680px;
  }

  .wdg-article-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .wdg-sidebar {
    order: -1;
  }

  .wdg-sidebar__sticky {
    position: static;
  }

  .wdg-toc {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 12px;
  }

  .wdg-toc__eyebrow,
  .wdg-toc > strong {
    display: none;
  }

  .wdg-toc a {
    flex: 0 0 auto;
    border: 0;
    border-radius: 9px;
    background: var(--wdg-soft);
    padding: 8px 11px;
  }

  .wdg-toc a span:last-child {
    display: none;
  }

  .wdg-context-card {
    display: none;
  }
}

@media (max-width: 640px) {
  .wdg-shell {
    width: min(calc(100% - 24px), 1180px);
  }

  .wdg-hero,
  .wdg-term-hero {
    padding: 24px 0 55px;
  }

  .wdg-hero::before,
  .wdg-term-hero::before {
    background: rgba(255, 255, 255, 0.82);
  }

  .wdg-hero__inner {
    padding-top: 30px;
  }

  .wdg-hero h1,
  .wdg-term-hero h1 {
    font-size: 36px;
  }

  .wdg-search {
    display: block;
  }

  .wdg-search button {
    width: 100%;
    min-height: 48px;
    margin-top: 9px !important;
  }

  .wdg-main-layout {
    padding: 44px 0 64px;
  }

  .wdg-category-grid,
  .wdg-term-grid,
  .wdg-related-section .wdg-term-grid {
    grid-template-columns: 1fr;
  }

  .wdg-category-card {
    min-height: 74px;
  }

  .wdg-term-card,
  .wdg-related-section .wdg-term-card {
    min-height: 216px;
  }

  .wdg-block {
    margin-bottom: 46px;
  }

  .wdg-block--soft {
    padding: 22px;
  }

  .wdg-section-heading,
  .wdg-related-section__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .wdg-term-hero__grid {
    gap: 24px;
    padding-top: 30px;
  }

  .wdg-term-meta {
    flex-wrap: wrap;
  }

  .wdg-alternate {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .wdg-term-summary {
    border-radius: 19px;
    padding: 21px;
  }

  .wdg-term-facts > div {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .wdg-jumpbar {
    display: block;
    min-height: 0;
    margin-top: -25px;
    border-radius: 14px;
    padding: 12px;
  }

  .wdg-jumpbar__label {
    display: block;
    margin: 0 0 8px 2px;
  }

  .wdg-article-layout {
    padding-top: 30px;
  }

  .wdg-content-section {
    border-radius: 16px;
    padding: 22px 19px 23px;
  }

  .wdg-content-section__header {
    gap: 11px;
    margin-bottom: 17px;
    padding-bottom: 15px;
  }

  .wdg-section-number {
    flex-basis: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .wdg-content-section h2 {
    font-size: 24px;
  }

  .wdg-richtext,
  .wdg-prose {
    font-size: 15px;
  }

  .wdg-cta {
    grid-template-columns: 1fr;
    gap: 20px;
    border-radius: 18px;
    padding: 24px;
  }

  .wdg-cta .wdg-button {
    width: 100%;
  }

  .wdg-cta__form {
    width: 100%;
  }

  .wdg-alpha a {
    width: 36px;
    height: 36px;
  }

  .wdg-pagination ul {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wdg-page *,
  .wdg-page *::before,
  .wdg-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* =========================
   v1.4.0 detail page refresh
   ========================= */
.wdg-page--term .wdg-term-hero {
  padding-bottom: 88px;
}
.wdg-page--term .wdg-term-hero::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.88) 52%, rgba(255,255,255,0.78) 100%);
}
.wdg-page--term .wdg-term-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.78fr);
  gap: 34px;
  align-items: start;
  padding-top: 34px;
}
.wdg-page--term .wdg-term-hero__content { max-width: 760px; }
.wdg-page--term .wdg-term-meta { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:14px; }
.wdg-page--term .wdg-term-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.wdg-page--term .wdg-button--ghost { background: rgba(255,255,255,0.78) !important; background-image:none !important; border:1px solid rgba(var(--wdg-secondary-rgb),0.16) !important; color:var(--wdg-heading) !important; box-shadow:none; }
.wdg-page--term .wdg-button--ghost:hover { background: rgba(var(--wdg-primary-rgb),0.12) !important; }
.wdg-page--term .wdg-term-highlights { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:26px; }
.wdg-page--term .wdg-highlight-card { border:1px solid rgba(16,35,47,0.08); border-radius:18px; background:rgba(255,255,255,0.84); padding:16px 18px; backdrop-filter:blur(10px); }
.wdg-page--term .wdg-highlight-card span { display:block; margin-bottom:8px; color:var(--wdg-muted); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.wdg-page--term .wdg-highlight-card strong { display:block; color:var(--wdg-heading); font-size:16px; line-height:1.5; overflow-wrap:anywhere; }
.wdg-page--term .wdg-term-summary { border:1px solid rgba(255,255,255,0.82); border-radius:24px; background:rgba(255,255,255,0.86); padding:26px; box-shadow:0 22px 50px rgba(16,35,47,0.12); backdrop-filter:blur(14px); }
.wdg-page--term .wdg-term-summary__lead { margin:18px 0 18px; color:#425763; font-size:15px; line-height:1.72; }
.wdg-page--term .wdg-term-facts { display:grid; gap:0; margin:0 0 18px; }
.wdg-page--term .wdg-summary-points { margin:0 0 16px; border:1px solid rgba(var(--wdg-secondary-rgb),0.12); border-radius:16px; background:linear-gradient(135deg, rgba(var(--wdg-primary-rgb),0.08), rgba(var(--wdg-secondary-rgb),0.07)); padding:14px 16px; }
.wdg-page--term .wdg-summary-points__title { display:block; margin-bottom:10px; color:var(--wdg-heading); font-size:13px; font-weight:800; }
.wdg-page--term .wdg-summary-points ul { margin:0; padding:0; list-style:none; display:grid; gap:8px; }
.wdg-page--term .wdg-summary-points li { margin:0; }
.wdg-page--term .wdg-summary-points a { display:flex; align-items:center; gap:10px; color:#28414d; font-size:14px; text-decoration:none; }
.wdg-page--term .wdg-summary-points a::before { content:""; width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg, var(--wdg-primary), var(--wdg-secondary)); flex:0 0 auto; }
.wdg-page--term .wdg-detail-shell { padding:0 0 92px; }
.wdg-page--term .wdg-jumpbar { display:flex; align-items:center; gap:18px; position:relative; z-index:3; margin-top:-32px; border:1px solid rgba(16,35,47,0.06); border-radius:20px; background:#fff; padding:16px 18px; box-shadow:0 18px 40px rgba(16,35,47,0.08); }
.wdg-page--term .wdg-jumpbar__label { color:var(--wdg-heading); font-size:13px; font-weight:850; white-space:nowrap; }
.wdg-page--term .wdg-jumpbar__links { display:flex; flex-wrap:wrap; gap:10px; min-width:0; }
.wdg-page--term .wdg-jumpbar__links a { display:inline-flex; align-items:center; justify-content:center; min-height:38px; border-radius:999px; background:var(--wdg-soft-blue); padding:0 14px; color:#315062; font-size:13px; font-weight:750; text-decoration:none; }
.wdg-page--term .wdg-jumpbar__links a:hover { background:rgba(var(--wdg-primary-rgb),0.14); color:var(--wdg-heading); }
.wdg-page--term .wdg-article-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:34px; padding-top:42px; }
.wdg-page--term .wdg-content-section { margin:0 0 26px; border:1px solid rgba(16,35,47,0.08); border-radius:24px; background:#fff; padding:30px; box-shadow:0 12px 34px rgba(16,35,47,0.05); }
.wdg-page--term .wdg-content-section__header { display:flex; align-items:flex-start; gap:16px; margin-bottom:22px; padding-bottom:18px; border-bottom:1px solid #e8f0ef; }
.wdg-page--term .wdg-content-section__header > div { min-width:0; }
.wdg-page--term .wdg-section-number { display:grid; place-items:center; width:46px; height:46px; flex:0 0 46px; border-radius:15px; background:linear-gradient(135deg, rgba(var(--wdg-primary-rgb),0.16), rgba(var(--wdg-secondary-rgb),0.12)); color:var(--wdg-secondary); font-size:13px; font-weight:900; }
.wdg-page--term .wdg-section-label { display:block; margin-bottom:6px; color:var(--wdg-muted); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.wdg-page--term .wdg-content-section h2, .wdg-page--term .wdg-related-section h2, .wdg-page--term .wdg-cta h2 { margin:0; color:var(--wdg-heading); font-size:clamp(29px, 3vw, 42px); line-height:1.14; letter-spacing:-0.03em; }
.wdg-page--term .wdg-richtext { color:#334955; font-size:17px; line-height:1.84; }
.wdg-page--term .wdg-richtext p, .wdg-page--term .wdg-richtext ul, .wdg-page--term .wdg-richtext ol, .wdg-page--term .wdg-richtext blockquote { margin-top:0; }
.wdg-page--term .wdg-richtext p + p, .wdg-page--term .wdg-richtext p + ul, .wdg-page--term .wdg-richtext p + ol, .wdg-page--term .wdg-richtext ul + p, .wdg-page--term .wdg-richtext ol + p { margin-top:16px; }
.wdg-page--term .wdg-richtext ul, .wdg-page--term .wdg-richtext ol { padding-left:24px; }
.wdg-page--term .wdg-richtext li + li { margin-top:8px; }
.wdg-page--term .wdg-faq details { border-radius:16px; }
.wdg-page--term .wdg-sidebar__sticky { display:grid; gap:16px; position:sticky; top:92px; }
.wdg-page--term .wdg-toc, .wdg-page--term .wdg-sidebar-card { border:1px solid rgba(16,35,47,0.08); border-radius:20px; background:#fff; padding:22px; box-shadow:0 12px 32px rgba(16,35,47,0.04); }
.wdg-page--term .wdg-toc > strong, .wdg-page--term .wdg-sidebar-card > strong { display:block; margin:4px 0 12px; color:var(--wdg-heading); font-size:20px; line-height:1.28; }
.wdg-page--term .wdg-sidebar-card__eyebrow { display:block; color:var(--wdg-muted); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.wdg-page--term .wdg-sidebar-card p { margin:10px 0 14px; color:#546b76; font-size:13px; line-height:1.65; }
.wdg-page--term .wdg-sidebar-card > a { color:var(--wdg-secondary); font-size:13px; font-weight:800; text-decoration:none; }
.wdg-page--term .wdg-related-mini { display:grid; gap:12px; margin-top:8px; }
.wdg-page--term .wdg-related-mini__item { display:block; border-top:1px solid #edf2f1; padding-top:12px; color:inherit; text-decoration:none; }
.wdg-page--term .wdg-related-mini__item:first-child { border-top:0; padding-top:0; }
.wdg-page--term .wdg-related-mini__meta { display:block; margin-bottom:4px; color:var(--wdg-secondary); font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.wdg-page--term .wdg-related-mini__item strong { display:block; color:var(--wdg-heading); font-size:15px; line-height:1.35; }
.wdg-page--term .wdg-related-mini__item small { display:block; margin-top:5px; color:#5d717c; font-size:12px; line-height:1.55; }
.wdg-page--term .wdg-related-section { margin-top:36px; }
.wdg-page--term .wdg-related-section__header { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:18px; }
.wdg-page--term .wdg-related-section .wdg-term-grid { grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; }
.wdg-page--term .wdg-related-section .wdg-term-card { min-height:100%; }
.wdg-page--term .wdg-cta { margin-top:42px; border-radius:26px; padding:34px; }
@media (max-width: 1100px) {
  .wdg-page--term .wdg-term-hero__grid, .wdg-page--term .wdg-article-layout { grid-template-columns:1fr; }
  .wdg-page--term .wdg-sidebar { order:2; }
  .wdg-page--term .wdg-sidebar__sticky { position:static; grid-template-columns:repeat(2, minmax(0,1fr)); align-items:start; }
  .wdg-page--term .wdg-related-section .wdg-term-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 767px) {
  .wdg-page--term .wdg-term-hero { padding-bottom:54px; }
  .wdg-page--term .wdg-term-highlights, .wdg-page--term .wdg-sidebar__sticky, .wdg-page--term .wdg-related-section .wdg-term-grid { grid-template-columns:1fr; }
  .wdg-page--term .wdg-jumpbar { display:block; margin-top:-20px; padding:14px; }
  .wdg-page--term .wdg-jumpbar__label { display:block; margin-bottom:10px; }
  .wdg-page--term .wdg-jumpbar__links { flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; }
  .wdg-page--term .wdg-content-section { padding:22px 18px; border-radius:20px; }
  .wdg-page--term .wdg-content-section__header { gap:12px; margin-bottom:18px; padding-bottom:14px; }
  .wdg-page--term .wdg-section-number { width:40px; height:40px; flex-basis:40px; border-radius:13px; }
  .wdg-page--term .wdg-content-section h2, .wdg-page--term .wdg-related-section h2, .wdg-page--term .wdg-cta h2 { font-size:clamp(25px, 7vw, 34px); }
  .wdg-page--term .wdg-richtext { font-size:16px; line-height:1.78; }
  .wdg-page--term .wdg-cta { padding:26px 20px; }
}


/* v1.4.1 detail simplification */
.wdg-page--term .wdg-term-hero__grid {
  display: block;
  max-width: 900px;
  padding-top: 34px;
}
.wdg-page--term .wdg-term-hero__content {
  max-width: 900px;
}
.wdg-page--term .wdg-term-summary,
.wdg-page--term .wdg-term-highlights,
.wdg-page--term .wdg-toc {
  display: none !important;
}
.wdg-page--term .wdg-sidebar__sticky {
  top: 92px;
}
@media (max-width: 1100px) {
  .wdg-page--term .wdg-sidebar__sticky {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .wdg-page--term .wdg-sidebar__sticky {
    grid-template-columns: 1fr;
  }
}


/* v1.4.2 compact cards across all directory levels */
.wdg-page .wdg-category-grid {
  gap: 10px;
}

.wdg-page .wdg-category-card {
  gap: 10px;
  min-height: 64px;
  border-radius: 14px;
  padding: 11px 13px;
}

.wdg-page .wdg-category-card__icon {
  flex-basis: 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 16px;
}

.wdg-page .wdg-category-card strong {
  font-size: 14px;
  line-height: 1.3;
}

.wdg-page .wdg-category-card small {
  margin-top: 1px;
  font-size: 11px;
  line-height: 1.35;
}

.wdg-page .wdg-term-grid,
.wdg-page--term .wdg-related-section .wdg-term-grid {
  gap: 12px;
}

.wdg-page .wdg-term-card,
.wdg-page--term .wdg-related-section .wdg-term-card {
  min-height: 0;
  border-radius: 15px;
  padding: 16px;
  box-shadow: 0 7px 18px rgba(16, 35, 47, 0.035);
}

.wdg-page .wdg-chip,
.wdg-page .wdg-acronym {
  min-height: 23px;
  padding: 3px 8px;
  font-size: 10px;
}

.wdg-page .wdg-term-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 11px 0 6px;
  font-size: 19px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wdg-page .wdg-term-card p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wdg-page .wdg-term-card__link {
  margin-top: 11px;
  padding-top: 0;
  font-size: 12px;
}

.wdg-page--term .wdg-related-section {
  margin-top: 30px;
}

.wdg-page--term .wdg-related-section__header {
  margin-bottom: 14px;
}

.wdg-page--term .wdg-sidebar__sticky {
  gap: 12px;
}

.wdg-page--term .wdg-sidebar-card {
  border-radius: 16px;
  padding: 17px;
}

.wdg-page--term .wdg-sidebar-card > strong {
  margin: 3px 0 8px;
  font-size: 17px;
}

.wdg-page--term .wdg-sidebar-card p {
  margin: 7px 0 10px;
  line-height: 1.55;
}

.wdg-page--term .wdg-related-mini {
  gap: 9px;
  margin-top: 6px;
}

.wdg-page--term .wdg-related-mini__item {
  padding-top: 9px;
}

.wdg-page--term .wdg-related-mini__item strong {
  font-size: 14px;
}

.wdg-page--term .wdg-related-mini__item small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 3px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 767px) {
  .wdg-page .wdg-category-grid,
  .wdg-page .wdg-term-grid,
  .wdg-page--term .wdg-related-section .wdg-term-grid {
    gap: 10px;
  }

  .wdg-page .wdg-category-card {
    min-height: 58px;
    padding: 9px 11px;
  }

  .wdg-page .wdg-category-card__icon {
    flex-basis: 33px;
    width: 33px;
    height: 33px;
  }

  .wdg-page .wdg-term-card,
  .wdg-page--term .wdg-related-section .wdg-term-card {
    min-height: 0;
    padding: 14px;
  }

  .wdg-page .wdg-term-card h3 {
    margin-top: 9px;
    font-size: 18px;
  }

  .wdg-page .wdg-term-card__link {
    margin-top: 9px;
  }
}


/* v1.4.3 CTA readability fix */
.wdg-cta .wdg-cta__eyebrow,
.wdg-page--term .wdg-cta .wdg-cta__eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.wdg-cta h2,
.wdg-page--term .wdg-cta h2 {
  color: #fff !important;
}

.wdg-cta .wdg-cta__description,
.wdg-cta .wdg-cta__description p,
.wdg-page--term .wdg-cta .wdg-cta__description,
.wdg-page--term .wdg-cta .wdg-cta__description p {
  color: rgba(255, 255, 255, 0.88) !important;
}
