@charset "UTF-8";
:root {
  --jwe-primary: #1e40af;
  --jwe-accent: #0ea5e9;
  --jwe-bg: #f8fafc;
  --jwe-surface: #ffffff;
  --jwe-text: #0f172a;
  --jwe-text-muted: #64748b;
  --jwe-border: #cbd5e1;
  --jwe-success: #15803d;
  --jwe-warning: #b45309;
  --jwe-error: #b91c1c;
  --jwe-header-bg: #0f172a;
  --jwe-header-text: #f8fafc;
  --jwe-logo-color: #ffffff;
  --jwe-button-text: #ffffff;
  --jwe-font-heading: 'Merriweather', system-ui, sans-serif;
  --jwe-font-body: 'Inter', system-ui, sans-serif;
  --jwe-max-width: 1100px;
  --jwe-content-width: 680px;
  --jwe-space: 1.25rem;
  --jwe-radius: 0.5rem;
  --jwe-radius-sm: 0.375rem;
  --jwe-split-text: 1fr;
  --jwe-split-image: 1fr;
  --jwe-split-lead-scale: 1.0;
  --jwe-hero-padding: 1rem;
  --jwe-hero-aspect: 5 / 2;
  --jwe-hero-split-gap: 1.5rem;
  --jwe-hero-min-overlay: 0px;
  --jwe-hero-min-centered: 0px;
  --jwe-hero-min-split: 0px;
  --jwe-hero-min-minimal: 0px;
  --jwe-hero-min-gradient: 0px;
  --jwe-article-hero-h: 320px;
  --jwe-article-hero-wide-h: 340px;
  --jwe-article-split-h: 300px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--jwe-bg);
  color: var(--jwe-text);
  margin: 0;
  font-family: var(--jwe-font-body);
  line-height: 1.65;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--jwe-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color 180ms ease, text-decoration-color 180ms ease, opacity 180ms ease;
}

a:hover {
  color: var(--jwe-accent);
}

:where(nav ul, nav ol, .jwe-nav ul, .jwe-nav ol, .jwe-masthead ul, .jwe-colophon ul) {
  list-style: none;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

:where(nav li, .jwe-nav li, .jwe-masthead li, .jwe-colophon li) {
  padding: 0;
  margin: 0;
  list-style: none;
  list-style-type: none;
}

:where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--jwe-font-heading);
  color: var(--jwe-text);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 0.75rem 0;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

h4 {
  font-size: 1.1rem;
  line-height: 1.25;
}

h5 {
  font-size: 1rem;
  line-height: 1.3;
}

h6 {
  font-size: 0.95rem;
  line-height: 1.35;
}

p {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  margin: 0 0 0.75rem 0;
  }

small,
.jwe-small {
  font-size: 0.875rem;
}

.jwe-text-muted {
  color: var(--jwe-text-muted);
}

.jwe-text-center {
  text-align: center;
}

.jwe-lead {
  color: var(--jwe-text-muted);
  font-size: clamp(1.125rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}

:focus-visible {
  outline-offset: 2px;
  outline: 2px solid var(--jwe-primary);
}

.jwe-skip-link {
  left: -9999px;
  z-index: 9999;
  position: absolute;
  padding: 1rem;
  background: var(--jwe-primary);
  color: white;
}

.jwe-skip-link:focus {
  top: 1rem;
  left: 1rem;
}

.jwe-container,
.jwe-manifold {
  padding-inline: clamp(1rem, 3vw, 2rem);
  margin-inline: auto;
  max-width: var(--jwe-max-width);
  width: 100%;
}



.jwe-masthead {
  background: var(--jwe-header-bg);
  z-index: 10000;
  width: 100%;
  position: sticky;
  top: 0;
}

.jwe-masthead .jwe-container,
.jwe-masthead .jwe-manifold {
  align-items: center;
  justify-content: space-between;
  display: flex;
  padding-block: 1rem;
}

.jwe-brand {
  overflow: hidden;
  flex-shrink: 0;
}

.jwe-logo img {
  width: 160px;
  height: auto;
  max-width: 100%;
}

.jwe-logo svg,
.jwe-logo svg * {
  fill: var(--jwe-logo-color);
}

.jwe-nav ul {
  flex-direction: row;
  gap: 1.5rem;
  display: flex;
  align-items: center;
}

.jwe-nav-item a {
  color: var(--jwe-header-text);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  padding-block: 0.25rem;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.jwe-nav-item a:hover {
  color: var(--jwe-accent);
}

.jwe-nav-item--active a {
  border-bottom: 2px solid var(--jwe-accent);
  font-weight: 600;
}

.jwe-header-search {
  position: relative;
  z-index: 100;
  cursor: pointer;
  border: none;
  color: #fff;
  border-radius: 999px;
  background: var(--jwe-accent);
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.jwe-header-search:hover {
  background: var(--jwe-primary);
  transform: scale(1.05);
}

.jwe-menu-toggle {
  display: none;
  border: none;
  cursor: pointer;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 10px;
  position: relative;
  z-index: 1001;
}

.jwe-menu-toggle span {
  transition: transform 0.3s ease, opacity 0.3s ease;
  background: var(--jwe-header-text, #fff);
  width: 24px;
  height: 2px;
  display: block;
}

.jwe-menu-toggle span + span {
  margin-top: 6px;
}

.jwe-nav--open,
.jwe-trajectory--open,
[class*="-nav"]--open {
  padding: 70px 1.5rem 3rem;
  background: var(--jwe-surface, #fff);
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex !important;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

[class*="-nav"]--open ul {
  width: 100%;
  flex-direction: column;
  gap: 0;
}

[class*="-nav"]--open li {
  border-bottom: 1px solid var(--jwe-border);
  width: 100%;
}

[class*="-nav"]--open a {
  color: var(--jwe-text) !important;
  font-size: 1.25rem;
  padding: 1rem 0;
  display: block;
}

.jwe-nav-close {
  display: none;
  right: 1rem;
  top: 1rem;
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--jwe-text, #333);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 28px;
  z-index: 1002;
  align-items: center;
  justify-content: center;
}

.jwe-mobile-search {
  display: none;
}





.jwe-trigger {
  min-height: 44px;
  border-radius: var(--jwe-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease, opacity 160ms ease;
  text-decoration: none;
  border: none;
}

.jwe-trigger:active {
  transform: translateY(1px);
}

.jwe-trigger-prime,
.jwe-actuator-main {
  background: var(--jwe-accent);
  color: var(--jwe-button-text);
  box-shadow: 0 6px 14px rgba(14, 165, 233, 0.22);
}

.jwe-trigger-prime:hover,
.jwe-actuator-main:hover {
  transform: translateY(-2px);
  background: var(--jwe-primary);
  box-shadow: 0 10px 22px rgba(30, 64, 175, 0.22);
  color: var(--jwe-button-text);
}

.jwe-trigger-line,
.jwe-actuator-ghost {
  padding: 0.5rem 0;
  color: var(--jwe-accent);
  min-height: 44px;
  background: transparent;
  font-weight: 500;
  border: none;
  text-decoration: none;
}

.jwe-trigger-line:hover,
.jwe-actuator-ghost:hover {
  color: var(--jwe-primary);
  text-decoration: underline;
}

.jwe-card:hover,
.jwe-node:hover {
  box-shadow: 0 14px 26px -10px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}

.jwe-card-title,
.jwe-module h3,
.jwe-card h3,
.jwe-card h4,
.jwe-node h3,
.jwe-node h4 {
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.jwe-card-body,
.jwe-module-core {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.jwe-card-body > :last-child,
.jwe-module-core > :last-child {
  margin-bottom: 0;
}

.jwe-card img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--jwe-radius) - 0.125rem);
}

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

.jwe-team .jwe-node img,
.jwe-team-grid .jwe-node img,
.jwe-team-list .jwe-node img,
.jwe-team-members .jwe-node img,
.jwe-node.jwe-team-member img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  max-width: 140px;
  width: 100%;
  border-radius: 999px;
}

.jwe-module-head h3 {
  min-height: 3em;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.jwe-module-core p:first-of-type {
  flex-grow: 1;
}

.jwe-module-core p:nth-of-type(2) a {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 0.5rem;
}

.jwe-module-core figure {
  margin-top: 0 !important;
}

.jwe-input-block {
  display: grid;
  gap: 1rem;
}

.jwe-input-block label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: inline-block;
  color: var(--jwe-text);
}

.jwe-entry-field,
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--jwe-border);
  background: var(--jwe-surface);
  color: var(--jwe-text);
  width: 100%;
  font: inherit;
  transition: box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

:where(.jwe-entry-field, input, textarea, select):focus {
  outline: none;
}

:where(.jwe-entry-field, input, textarea, select):focus-visible {
  border-color: var(--jwe-accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.16);
}

.jwe-ledger,
.jwe-table,
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--jwe-surface);
  color: var(--jwe-text);
}

:where(.jwe-ledger th, .jwe-table th, table th) {
  font-weight: 600;
  text-align: left;
  background: rgba(203, 213, 225, 0.35);
  color: var(--jwe-text);
}

:where(.jwe-ledger th, .jwe-ledger td, .jwe-table th, .jwe-table td, table th, table td) {
  border: 1px solid var(--jwe-border);
  padding: 0.75rem 1rem;
  vertical-align: top;
}

.jwe-table--striped tbody tr:nth-child(even),
table.jwe-table--striped tbody tr:nth-child(even) {
  background: rgba(203, 213, 225, 0.22);
}

.jwe-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.jwe-alert {
  border-radius: var(--jwe-radius);
  padding: 1rem 1.5rem;
  border-left: 4px solid var(--jwe-accent);
  background: rgba(14, 165, 233, 0.08);
  color: var(--jwe-text);
}

.jwe-alert--info {
  border-left-color: var(--jwe-accent);
  background: rgba(14, 165, 233, 0.10);
}

.jwe-alert--warning {
  border-left-color: var(--jwe-warning);
  background: rgba(180, 83, 9, 0.10);
}

.jwe-alert--trust {
  border-left-color: var(--jwe-success);
  background: rgba(21, 128, 61, 0.10);
}

.jwe-alert--top-accent {
  border-left: none;
  border-top: 4px solid var(--jwe-primary);
}

.jwe-alert--boxed {
  border: 1px solid var(--jwe-border);
  background: var(--jwe-surface);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  padding: 1.5rem;
}

.jwe-alert--minimal {
  background: transparent;
  padding: 0;
  border: none;
  color: var(--jwe-text-muted);
  font-style: italic;
}

.jwe-quote {
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--jwe-primary);
  background: rgba(30, 64, 175, 0.06);
  border-radius: var(--jwe-radius-sm);
  margin: 1.25rem 0;
  color: var(--jwe-text);
}

.jwe-quote--big-icon {
  position: relative;
  padding-left: 3rem;
}

.jwe-quote--big-icon::before {
  content: "“";
  position: absolute;
  left: 1rem;
  top: 0.25rem;
  font-family: var(--jwe-font-heading);
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(30, 64, 175, 0.35);
}

.jwe-quote--boxed {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid var(--jwe-border);
  padding: 2rem;
  border-radius: var(--jwe-radius);
}

.jwe-quote--simple {
  border: none;
  padding: 0;
  background: transparent;
  font-size: 1.5em;
  font-family: var(--jwe-font-heading);
}

.jwe-figure {
  margin: 1.25rem 0;
}

.jwe-figure figcaption {
  margin-top: 0.5rem;
  color: var(--jwe-text-muted);
  font-size: 0.875rem;
}

.jwe-img-full {
  width: 100%;
  height: auto;
}

.jwe-img-float-left {
  float: left;
  margin: 0.25rem 1rem 0.75rem 0;
  max-width: min(320px, 45%);
}

.jwe-img-float-right {
  float: right;
  margin: 0.25rem 0 0.75rem 1rem;
  max-width: min(320px, 45%);
}

.jwe-team-photo,
.team-photo {
  aspect-ratio: 3 / 2;
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: var(--jwe-radius);
}

.jwe-list {
  padding-left: 1.25rem;
  margin: 0 0 1rem 0;
}

.jwe-list li {
  margin: 0.4rem 0;
}

.jwe-list--checked {
  list-style: none;
  padding-left: 0;
}

.jwe-list--checked li {
  padding-left: 1.75rem;
  position: relative;
  margin: 0.45rem 0;
}

.jwe-list--checked li::before {
  content: "✓";
  left: 0;
  top: 0.05em;
  position: absolute;
  color: var(--jwe-success);
  font-weight: 700;
}

.jwe-article {
  width: 100%;
  margin-inline: auto;
  max-width: 900px;
}

.jwe-article__header {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
  margin-bottom: 1.5rem;
}

.jwe-article__title {
  font-weight: 800;
  margin: 0 0 1rem 0;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
}

.jwe-article__meta {
  font-size: 0.875rem;
  color: var(--jwe-text-muted);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.jwe-article__content {
  line-height: 1.78;
}

.jwe-article__content a {
  color: var(--jwe-primary);
}

.jwe-article__content a:hover {
  color: var(--jwe-accent);
}

.jwe-author-box {
  border-radius: var(--jwe-radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.7);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.jwe-author-box__avatar {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  flex-shrink: 0;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.jwe-author-box__info {
  flex-grow: 1;
}

.jwe-author-box__info strong {
  font-size: 1.1rem;
  display: block;
  color: var(--jwe-text);
}

.jwe-author-box__role {
  font-size: 0.875rem;
  color: var(--jwe-text-muted);
  display: block;
}

.jwe-author-box__info p {
  line-height: 1.55;
  margin-top: 0.5rem;
  color: var(--jwe-text);
}

.jwe-credentials {
  border-radius: var(--jwe-radius);
  background: rgba(21, 128, 61, 0.06);
  border: 1px solid rgba(21, 128, 61, 0.18);
  padding: 1rem 1.25rem;
}

.jwe-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  background: rgba(30, 64, 175, 0.08);
  color: var(--jwe-primary);
  border: 1px solid rgba(30, 64, 175, 0.18);
}

.jwe-colophon {
  width: 100%;
  background: var(--jwe-header-bg);
  color: var(--jwe-header-text);
  padding: 2.5rem 0 1.5rem;
}

.jwe-base h4,
.jwe-base a,
.jwe-base p {
  color: var(--jwe-header-text);
}

.jwe-base a {
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 160ms ease, color 160ms ease;
}

.jwe-base a:hover {
  opacity: 1;
  color: #ffffff;
  text-decoration: underline;
}

.jwe-lattice {
  gap: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}

.jwe-footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jwe-footer-links li {
  margin-bottom: 0.75rem;
}

.jwe-base-station-copyright {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(248, 250, 252, 0.18);
  text-align: center;
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.875rem;
}

.jwe-pagination {
  justify-content: center;
  padding: 2rem 0;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.jwe-pagination a {
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: var(--jwe-primary);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.jwe-pagination a:hover {
  background: rgba(14, 165, 233, 0.10);
  color: var(--jwe-accent);
  transform: translateY(-1px);
}

.jwe-pagination__prev,
.jwe-pagination__next {
  font-weight: 500;
}

.jwe-pagination__disabled {
  color: var(--jwe-text-muted);
  cursor: not-allowed;
  pointer-events: none;
}

.jwe-pagination__info,
.jwe-pagination__status {
  color: var(--jwe-text-muted);
  font-size: 0.875rem;
}

.jwe-pagination__current {
  background: rgba(30, 64, 175, 0.10);
  border: 1px solid rgba(30, 64, 175, 0.22);
  color: var(--jwe-primary);
  font-weight: 600;
}

.jwe-pagination__dots {
  color: var(--jwe-text-muted);
  padding: 0.5rem 0.25rem;
}

.jwe-pagination__buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.jwe-search-form,
.jwe-query-box {
  display: flex;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.jwe-search-input,
.jwe-query-string {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--jwe-border);
  background: var(--jwe-surface);
  color: var(--jwe-text);
  font-size: 1rem;
  flex: 1;
}

.jwe-search-input:focus,
.jwe-query-string:focus {
  outline: none;
}

.jwe-search-input:focus-visible,
.jwe-query-string:focus-visible {
  border-color: var(--jwe-accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.10);
}

.jwe-search-btn {
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--jwe-accent);
  color: #fff;
  font-weight: 500;
  border: none;
  cursor: pointer;
  min-height: 44px;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.jwe-search-btn:hover {
  background: var(--jwe-primary);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(30, 64, 175, 0.18);
}

.jwe-search-results,
.jwe-query-output {
  margin-top: 2rem;
}

.jwe-search-item,
.jwe-output-node {
  padding: 1.5rem;
  border-bottom: 1px solid var(--jwe-border);
}

.jwe-search-item__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.jwe-search-item__title a {
  color: var(--jwe-primary);
  text-decoration: none;
}

.jwe-search-item__title a:hover {
  color: var(--jwe-accent);
  text-decoration: underline;
}

.jwe-search-item__excerpt {
  color: var(--jwe-text-muted);
}

.jwe-search-item__url {
  color: var(--jwe-text-muted);
  font-size: 0.75rem;
}

.jwe-search-query {
  padding: 1rem;
  text-align: center;
  color: var(--jwe-text-muted);
}

.jwe-search-empty {
  text-align: center;
  padding: 3rem 1rem;
}

.jwe-search-empty-image {
  margin: 0 auto 1.5rem auto;
  max-width: 350px;
  width: 100%;
  height: auto;
  display: block;
}

.jwe-search-empty-text {
  color: var(--jwe-text-muted);
  font-size: 1.125rem;
}

.jwe-error-page {
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.jwe-404-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 420px;
  margin: 0 auto 2rem auto;
}

.jwe-404-heading {
  text-align: center;
  font-weight: 800;
  color: var(--jwe-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.75rem 0;
}

.jwe-404-subheading {
  text-align: center;
  color: var(--jwe-text-muted);
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  margin: 0 0 0.75rem 0;
}

.jwe-404-message {
  text-align: center;
  color: var(--jwe-text-muted);
  max-width: 60ch;
  margin: 0 auto 1.5rem auto;
}

.jwe-404-btn {
  margin: 0.75rem auto 0 auto;
  display: inline-flex;
}

.jwe-404-categories {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(203, 213, 225, 0.8);
}

.jwe-404-browse-text {
  text-align: center;
  color: var(--jwe-text-muted);
  margin-bottom: 1rem;
}

.jwe-404-category-list {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.jwe-404-category-link {
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--jwe-border);
  background: var(--jwe-surface);
  color: var(--jwe-primary);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.jwe-404-category-link:hover {
  border-color: rgba(14, 165, 233, 0.5);
  background: rgba(14, 165, 233, 0.10);
  transform: translateY(-1px);
  color: var(--jwe-accent);
}

.jwe-404-articles {
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(203, 213, 225, 0.8);
}

.jwe-404-articles-title {
  text-align: center;
  margin: 0 0 1.25rem 0;
}

.jwe-404-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.jwe-404-article-card {
  border-radius: var(--jwe-radius);
  background: var(--jwe-surface);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jwe-404-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px -10px rgba(0, 0, 0, 0.18);
}

.jwe-404-article-img-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.jwe-404-article-content {
  padding: 1rem 1rem 1.1rem;
}

.jwe-404-article-cat {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--jwe-accent);
  font-weight: 700;
  margin: 0 0 0.35rem 0;
}

.jwe-404-article-title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.jwe-404-article-title a {
  color: var(--jwe-text);
  text-decoration: none;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.jwe-404-article-title a:hover {
  color: var(--jwe-primary);
  text-decoration: underline;
}

.jwe-chart,
.jwe-analytic-viz {
  min-height: 200px;
  position: relative;
}

.jwe-chart-title {
  text-align: center;
  margin: 0 0 0.75rem 0;
}

.jwe-chart-legend {
  gap: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--jwe-text-muted);
  margin-top: 0.75rem;
}

.jwe-chart-loading {
  border-radius: var(--jwe-radius);
  border: 1px solid var(--jwe-border);
  background: linear-gradient(90deg, rgba(203, 213, 225, 0.25), rgba(203, 213, 225, 0.45), rgba(203, 213, 225, 0.25));
  background-size: 200% 100%;
  animation: jwe-sheen 1.2s ease-in-out infinite;
  min-height: 220px;
}

@keyframes jwe-sheen {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.jwe-chart canvas {
  width: 100% !important;
  height: auto !important;
  display: block;
}



.jwe-author-info h1 {
  margin-top: 0;
}

.jwe-lead-profile {
  display: grid;
  gap: 2rem;
  align-items: start;
  grid-template-columns: auto 1fr;
}

.jwe-lead-profile__photo img {
  max-width: 280px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--jwe-radius);
  aspect-ratio: 1 / 1;
  height: auto;
}

.jwe-lead-profile__info {
  text-align: left;
}

.jwe-lead-profile__name {
  margin: 0 0 0.5rem 0;
}

.jwe-lead-profile__name a {
  color: var(--jwe-text);
  text-decoration: none;
}

.jwe-lead-profile__name a:hover {
  color: var(--jwe-primary);
  text-decoration: underline;
}

.jwe-lead-profile__role {
  color: var(--jwe-text-muted);
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.jwe-lead-profile__bio {
  color: var(--jwe-text);
  margin: 0;
}

.jwe-mt-1 { margin-top: 0.5rem; }
.jwe-mt-2 { margin-top: 1rem; }
.jwe-mt-3 { margin-top: 1.5rem; }
.jwe-mt-4 { margin-top: 2rem; }

.jwe-mb-1 { margin-bottom: 0.5rem; }
.jwe-mb-2 { margin-bottom: 1rem; }
.jwe-mb-3 { margin-bottom: 1.5rem; }
.jwe-mb-4 { margin-bottom: 2rem; }

.jwe-hidden { display: none !important; }
.jwe-flex { display: flex; }

.jwe-section-title {
  text-align: center;
  margin: 0 0 1.5rem 0;
}

.jwe-section--alt {
  background: rgba(203, 213, 225, 0.18);
}

.jwe-hero--small {
  padding-block: 1.25rem;
}

.jwe-empty-state {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--jwe-text-muted);
}

.jwe-error-code {
  font-size: clamp(3rem, 7vw, 5rem);
  color: rgba(30, 64, 175, 0.22);
  font-weight: 800;
  margin: 0;
}

.jwe-error-title {
  color: var(--jwe-text);
  margin: 0.25rem 0 0.75rem 0;
}

.jwe-error-message {
  max-width: 60ch;
  color: var(--jwe-text-muted);
  margin: 0 auto 1.5rem auto;
}

.jwe-error-actions {
  justify-content: center;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.jwe-error-categories {
  margin-top: 2rem;
}

.jwe-tag-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.jwe-marker {
  border-radius: 999px;
  font-size: 0.875rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--jwe-border);
  background: var(--jwe-surface);
  color: var(--jwe-text);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.jwe-marker:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 165, 233, 0.5);
  background: rgba(14, 165, 233, 0.10);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
:root {
  --jwe-space-xs: 0.28125rem;
  --jwe-space-sm: 0.5625rem;
  --jwe-space-md: 1.125rem;
  --jwe-space-lg: 1.6875rem;
  --jwe-space-xl: 2.25rem;
  --jwe-space-2xl: 3.375rem;
  --jwe-space-3xl: 4.5rem;
  --jwe-space-4xl: 6.75rem;

  --jwe-section-padding-top: var(--jwe-space-2xl);
  --jwe-section-padding-bottom: var(--jwe-space-2xl);

  --jwe-figure-margin-top: var(--jwe-space-md);
  --jwe-figure-margin-bottom: var(--jwe-space-md);

  --jwe-h1-margin-top: var(--jwe-space-2xl);
  --jwe-h1-margin-bottom: var(--jwe-space-lg);
  --jwe-h2-margin-top: var(--jwe-space-xl);
  --jwe-h2-margin-bottom: var(--jwe-space-md);
  --jwe-h3-margin-top: var(--jwe-space-lg);
  --jwe-h3-margin-bottom: var(--jwe-space-sm);
  --jwe-h4-margin-top: var(--jwe-space-md);
  --jwe-h4-margin-bottom: var(--jwe-space-sm);
  --jwe-h5-margin-top: var(--jwe-space-md);
  --jwe-h5-margin-bottom: var(--jwe-space-xs);
  --jwe-h6-margin-top: var(--jwe-space-sm);
  --jwe-h6-margin-bottom: var(--jwe-space-xs);

  --jwe-grid-gap-h: var(--jwe-space-lg);
  --jwe-grid-gap-v: var(--jwe-space-lg);
  --jwe-grid-gap: var(--jwe-grid-gap-h);

  --jwe-paragraph-gap: var(--jwe-space-md);
  --jwe-list-gap: var(--jwe-space-md);
  --jwe-section-gap: var(--jwe-space-lg);
  --jwe-container-padding: var(--jwe-space-lg);
  --jwe-button-height: 3rem;
  --jwe-hero-padding-h: clamp(1rem, 3vw, 2rem);
  --jwe-card-padding: 0.875rem;
  --jwe-button-padding-y: 1rem;
  --jwe-button-padding-x: 2rem;
  --jwe-button-margin-top: 0.625rem;
  --jwe-input-padding: 0.875rem 1.125rem;
  --jwe-container-padding-inline: clamp(1rem, 3vw, 2rem);
  --jwe-content-start-padding: 1.5rem;
  --jwe-logo-width: 150px;
  --jwe-radius-xs: 2px;
}

@media (max-width: 800px) {
  :root {
    --jwe-space-xs: 0.17578125rem;
    --jwe-space-sm: 0.3515625rem;
    --jwe-space-md: 0.703125rem;
    --jwe-space-lg: 1.0546875rem;
    --jwe-space-xl: 1.40625rem;
    --jwe-space-2xl: 2.109375rem;
    --jwe-space-3xl: 2.8125rem;
    --jwe-space-4xl: 4.21875rem;
  }
}

h1 { margin-top: var(--jwe-h1-margin-top); margin-bottom: var(--jwe-h1-margin-bottom); }
h2 { margin-top: var(--jwe-h2-margin-top); margin-bottom: var(--jwe-h2-margin-bottom); }
h3 { margin-top: var(--jwe-h3-margin-top); margin-bottom: var(--jwe-h3-margin-bottom); }
h4 { margin-top: var(--jwe-h4-margin-top); margin-bottom: var(--jwe-h4-margin-bottom); }
h5 { margin-top: var(--jwe-h5-margin-top); margin-bottom: var(--jwe-h5-margin-bottom); }
h6 { margin-top: var(--jwe-h6-margin-top); margin-bottom: var(--jwe-h6-margin-bottom); }


:root {
  --jwe-author-avatar-size: 400px;
  --jwe-byline-avatar-size: 56px;
}

:root {
  
  --jwe-max-width: 1100px;
  --jwe-sidebar-width: 320px;
  --jwe-sidebar-author-size: 80%;

}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  max-width: 100%;
}
body {
  overflow-x: clip;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-anchor: none;
  color-scheme: light only;
  -webkit-text-size-adjust: 100%;
}
main { flex: 1; min-width: 0; max-width: 100%; overflow-x: clip; }
img, video, embed, object, iframe {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
}
pre {
  max-width: 100%;
  overflow-x: auto;
}
table {
  max-width: 100%;
}

.jwe-manifold,
.jwe-mainframe,
.jwe-container,
.jwe-wrap,
.jwe-lab-frame,
.jwe-frame {
  width: 100%;
  max-width: var(--jwe-max-width, 1200px);
  margin: 0 auto;
  padding-inline: var(--jwe-container-padding-inline, clamp(1rem, 3vw, 2rem));  
  box-sizing: border-box;
}

.jwe-stratum,
.jwe-module,
.jwe-section,
.jwe-block {
  width: 100%;
  padding: var(--jwe-section-padding-top, 3rem) clamp(1rem, 3vw, 2rem) var(--jwe-section-padding-bottom, 3rem);
  box-sizing: border-box;
}

section.jwe-stratum,
section.jwe-section,
section.jwe-block {
  max-width: var(--jwe-max-width, 1100px);
  margin-inline: auto;
}

.jwe-stratum + .jwe-stratum,
.jwe-stratum + .jwe-module,
.jwe-stratum + .jwe-section,
.jwe-stratum + .jwe-block,
.jwe-module + .jwe-stratum,
.jwe-module + .jwe-module,
.jwe-module + .jwe-section,
.jwe-module + .jwe-block,
.jwe-section + .jwe-stratum,
.jwe-section + .jwe-module,
.jwe-section + .jwe-section,
.jwe-section + .jwe-block,
.jwe-block + .jwe-stratum,
.jwe-block + .jwe-module,
.jwe-block + .jwe-section,
.jwe-block + .jwe-block,
[class*="jwe-simulation"] + .jwe-stratum,
[class*="jwe-simulation"] + .jwe-module,
[class*="jwe-simulation"] + .jwe-section,
[class*="jwe-simulation"] + .jwe-block,
[class*="jwe-showcase"] + .jwe-stratum,
[class*="jwe-showcase"] + .jwe-module,
[class*="jwe-showcase"] + .jwe-section,
[class*="jwe-showcase"] + .jwe-block,
[class*="jwe-banner"] + .jwe-stratum,
[class*="jwe-banner"] + .jwe-module,
[class*="jwe-banner"] + .jwe-section,
[class*="jwe-banner"] + .jwe-block {
  padding-top: 0;
}

.jwe-stratum + .jwe-matrix,
.jwe-module + .jwe-matrix,
.jwe-section + .jwe-matrix,
.jwe-block + .jwe-matrix,
[class*="jwe-simulation"] + .jwe-matrix,
[class*="jwe-showcase"] + .jwe-matrix,
[class*="jwe-banner"] + .jwe-matrix {
  margin-top: var(--jwe-section-gap, 2rem);
}

.jwe-matrix:not(.jwe-team-grid) > .jwe-module,
.jwe-array:not(.jwe-team-grid) > .jwe-module,
.jwe-grid:not(.jwe-team-grid) > .jwe-module,
.jwe-matrix:not(.jwe-team-grid) > .jwe-stratum,
.jwe-array:not(.jwe-team-grid) > .jwe-stratum,
.jwe-grid:not(.jwe-team-grid) > .jwe-stratum,
.jwe-matrix:not(.jwe-team-grid) > .jwe-section,
.jwe-array:not(.jwe-team-grid) > .jwe-section,
.jwe-grid:not(.jwe-team-grid) > .jwe-section,
.jwe-matrix:not(.jwe-team-grid) > .jwe-block,
.jwe-array:not(.jwe-team-grid) > .jwe-block,
.jwe-grid:not(.jwe-team-grid) > .jwe-block,
.jwe-matrix:not(.jwe-team-grid) > .jwe-card,
.jwe-array:not(.jwe-team-grid) > .jwe-card,
.jwe-grid:not(.jwe-team-grid) > .jwe-card {
  padding: 0.5rem;  
  width: auto;  
}

.jwe-stratum > h2:first-child,
.jwe-stratum > .jwe-manifold > h2:first-child,
.jwe-stratum > .jwe-lab-frame > h2:first-child,
.jwe-module > h2:first-child,
.jwe-module > .jwe-manifold > h2:first-child,
.jwe-module > .jwe-lab-frame > h2:first-child,
.jwe-section > h2:first-child,
.jwe-section > .jwe-manifold > h2:first-child,
.jwe-section > .jwe-lab-frame > h2:first-child,
.jwe-block > h2:first-child,
.jwe-block > .jwe-manifold > h2:first-child,
.jwe-block > .jwe-lab-frame > h2:first-child {
  margin-top: 0;  
}

.jwe-simulation .jwe-actuator,
.jwe-simulation .jwe-actuator-main,
.jwe-showcase .jwe-actuator,
.jwe-showcase .jwe-actuator-main,
.jwe-banner .jwe-actuator,
.jwe-banner .jwe-actuator-main,
.jwe-lead .jwe-actuator,
.jwe-lead .jwe-actuator-main {
  margin-top: var(--jwe-space-lg, 1.5rem);
}

.jwe-simulation-env,
.jwe-simulation,
[class*="jwe-simulation"],
.jwe-showcase,
[class*="jwe-showcase"],
.jwe-banner,
[class*="jwe-banner"] {
  width: 100%;
  margin-top: 0;
}
#main-content > [class*="jwe-simulation"]:first-child,
#main-content > [class*="jwe-showcase"]:first-child,
#main-content > [class*="jwe-banner"]:first-child {
  margin-top: 0;
}

#main-content {
  padding-top: var(--jwe-content-padding, 0);
}
#main-content:not(:has([class*="jwe-simulation"])):not(:has([class*="jwe-showcase"])):not(:has([class*="jwe-banner"])) {
  padding-top: var(--jwe-content-padding, 0);
}

#main-content > .jwe-stratum:first-child:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
.jwe-content > .jwe-stratum:first-child:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
main > .jwe-stratum:first-child:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
#main-content > .jwe-section:first-child:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
#main-content > .jwe-block:first-child:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
main > section:first-of-type:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
.jwe-content > section:first-of-type:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),

#main-content > .jwe-module:first-child,
.jwe-content > .jwe-module:first-child,
main > .jwe-module:first-child,

.jwe-lab-frame > article,
.jwe-manifold > article,
.jwe-container > article {
  padding-top: 0;
  --jwe-section-padding-top: 0; 
}

.jwe-lab-frame > article:has(> h1:first-child) {
  padding-top: var(--jwe-content-padding, 1.5rem);
}

.jwe-stratum > p:first-child,
.jwe-stratum > h1:first-child,
.jwe-manifold > p:first-child,
article > p:first-child,
article > h1:first-child {
  margin-top: 0;
}

.jwe-stratum .jwe-grid-2 img {
  width: 100%;
  height: auto;
  aspect-ratio: unset;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-stratum figure,
.jwe-manifold > figure,
.jwe-figure {
  margin: var(--jwe-figure-margin-top, 1.5rem) auto var(--jwe-figure-margin-bottom, 1.5rem);
  max-width: 100%;
}
.jwe-stratum figure img,
.jwe-manifold > figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-stratum figcaption {
  text-align: center;
  margin-top: var(--jwe-space-sm, 0.5rem);
  font-size: 0.875rem;
  color: var(--jwe-text-muted);
}

.jwe-stratum h2,
.jwe-manifold h2 {
  margin-top: var(--jwe-space-md, 1rem);
  margin-bottom: var(--jwe-space-sm, 0.5rem);
}
.jwe-stratum h2:first-child,
.jwe-manifold h2:first-child {
  margin-top: 0;  
}
@media (max-width: 800px) {
  .jwe-stratum h2,
  .jwe-manifold h2 {
    margin-top: var(--jwe-space-sm, 0.5rem);
    margin-bottom: var(--jwe-space-xs, 0.35rem);
  }
}

h1, .jwe-h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 var(--jwe-space-md);
}
h2, .jwe-h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}
h3, .jwe-h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  margin-top: var(--jwe-h3-margin-top, 1.25rem);
  margin-bottom: var(--jwe-h3-margin-bottom, 0.5rem);
}
h4, .jwe-h4 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.35;
  margin-top: var(--jwe-h4-margin-top, 1rem);
  margin-bottom: var(--jwe-h4-margin-bottom, 0.5rem);
}
h5, .jwe-h5 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.4;
  margin-top: var(--jwe-h5-margin-top, 1rem);
  margin-bottom: var(--jwe-h5-margin-bottom, 0.5rem);
}
h6, .jwe-h6 {
  font-size: clamp(0.9rem, 1.25vw, 1rem);
  line-height: 1.4;
  margin-top: var(--jwe-h6-margin-top, 0.75rem);
  margin-bottom: var(--jwe-h6-margin-bottom, 0.5rem);
}

pre, .jwe-pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--jwe-surface, #f5f5f5);
  padding: var(--jwe-space-md);
  border-radius: var(--jwe-radius, 0.5rem);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: var(--jwe-space-lg) 0;
  max-width: 100%;
}
code, .jwe-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  background: var(--jwe-surface, #f5f5f5);
  padding: 0.15rem 0.35rem;
  border-radius: var(--jwe-radius-sm, 0.25rem);
}
pre code, .jwe-pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}
@media (max-width: 540px) {
  pre, .jwe-pre {
    padding: var(--jwe-space-sm);
    font-size: 0.8rem;
    margin: var(--jwe-space-md) 0;
  }
}

.jwe-text-center { text-align: center; }
.jwe-text-muted { color: var(--jwe-text-muted); }
.jwe-text-italic { font-style: italic; }
.jwe-mt-1 { margin-top: 0.5rem; }
.jwe-mt-2 { margin-top: 1rem; }
.jwe-mt-3 { margin-top: 1.5rem; }
.jwe-mt-4 { margin-top: 2rem; }
.jwe-mb-1 { margin-bottom: 0.5rem; }
.jwe-mb-2 { margin-bottom: 1rem; }
.jwe-mb-3 { margin-bottom: 1.5rem; }
.jwe-mb-4 { margin-bottom: 2rem; }
.jwe-segment { padding: var(--jwe-space-xl) 0; width: 100%; }

.jwe-constrained {
  max-width: var(--jwe-max-w, 100%);
}

.jwe-container.jwe-constrained {
  max-width: calc(var(--jwe-max-w, 100%) + clamp(2rem, 6vw, 4rem));
}
.jwe-article.jwe-article--centered {
  max-width: var(--jwe-max-w, 900px);
  margin: 0 auto;
}
.jwe-author-photo {
  width: var(--jwe-photo-w, 100%);
  display: block; 
}

.jwe-stratum + .jwe-segment,
.jwe-cta + .jwe-segment { padding-top: 0.5rem; }

.jwe-small { font-size: 0.875rem; }
.jwe-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-cta {
  text-align: center;
  padding: var(--jwe-space-lg, 1.5rem);
  margin: var(--jwe-space-md, 1rem) 0;
}
.jwe-grant-block {
  padding: var(--jwe-space-md) var(--jwe-space-lg);
  background: var(--jwe-surface);
  border-left: 4.5px solid var(--jwe-primary);
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-team-photo-wrap {
  margin: var(--jwe-space-md) 0;
}
.jwe-team-photo-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-matrix > div:has(> img:only-child),
.jwe-matrix > div:has(> figure:only-child),
.jwe-array > div:has(> img:only-child),
.jwe-grid > div:has(> img:only-child) {
  align-self: start;
}
.jwe-matrix > div > img:only-child,
.jwe-array > div > img:only-child,
.jwe-grid > div > img:only-child {
  width: 100%;
  height: auto;
  display: block;
}

.jwe-alert--info {
  border-left-color: var(--jwe-primary);
  background-color: rgba(0, 90, 140, 0.08);
}
.jwe-alert--success {
  border-left-color: var(--jwe-success);
  background-color: rgba(16, 185, 129, 0.08);
}

.jwe-alert {
  padding: var(--jwe-space-md) var(--jwe-space-lg);
  border-left: 4.5px solid var(--jwe-primary);
  border-radius: var(--jwe-radius, 0.5rem);
  background-color: var(--jwe-surface);
  margin: var(--jwe-space-md) 0;
  clear: both; 
}
.jwe-alert--warning {
  border-left-color: var(--jwe-warning);
  background-color: rgba(245, 158, 11, 0.08);
}
.jwe-alert--trust {
  border-left-color: var(--jwe-success);
  background-color: rgba(16, 185, 129, 0.05);
}

.jwe-figure img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-figure figcaption {
  font-size: 0.875rem;
  color: var(--jwe-text-muted);
  margin-top: var(--jwe-space-sm, 0.5rem);
  text-align: center;
}
.jwe-img-full {
  width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--float-left {
  float: left;
  max-width: 40%;
  margin: 0 var(--jwe-space-lg) var(--jwe-space-md) 0;
  clear: left;
}
.jwe-figure--float-left img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-figure--float-right {
  float: right;
  max-width: 40%;
  margin: 0 0 var(--jwe-space-md) var(--jwe-space-lg);
  clear: right;
}
.jwe-figure--float-right img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-figure--float-right img {
  width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-paper__content h2,
.jwe-paper__content h3,
.jwe-paper__content .jwe-subheading {
  clear: both;
}

.jwe-figure--full-width {
  width: 100%;
  margin: var(--jwe-space-lg) 0;
}
.jwe-figure--full-width img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--medium {
  width: 100%;
  max-width: 600px;
  margin: var(--jwe-space-lg) auto;
}
.jwe-figure--medium img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--small,
.jwe-figure--inline {
  width: 100%;
  max-width: 350px;
  margin: var(--jwe-space-md) auto;
}
.jwe-figure--small img,
.jwe-figure--inline img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--diagram {
  width: fit-content;
  max-width: min(720px, 100%);
  margin: var(--jwe-space-lg) auto;
  padding: var(--jwe-space-md);
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--diagram.jwe-diagram-bg--gradient {
  background: linear-gradient(225deg, var(--jwe-surface) 0%, var(--jwe-bg-alt, #f5f5f5) 100%);
}

.jwe-figure--diagram.jwe-diagram-bg--solid {
  background: var(--jwe-bg-alt, #f5f5f5);
}

.jwe-figure--diagram.jwe-diagram-bg--tinted {
  background: color-mix(in srgb, var(--jwe-primary) 0.07, var(--jwe-surface) 100%);
}

.jwe-figure--diagram.jwe-diagram-bg--bordered {
  background: var(--jwe-surface, #fff);
  border-left: 3px solid var(--jwe-primary);
}
.jwe-figure--diagram.jwe-diagram-bg--bordered.jwe-border-top {
  border-left: none;
  border-top: 3px solid var(--jwe-primary);
}
.jwe-figure--diagram.jwe-diagram-bg--bordered.jwe-border-full {
  border: 2px solid var(--jwe-primary);
  border-left-width: 2px;
}
.jwe-figure--diagram.jwe-diagram-bg--bordered.jwe-border-bottom {
  border-left: none;
  border-bottom: 3px solid var(--jwe-primary);
}
.jwe-figure--diagram img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

.jwe-figure--wide {
  width: 100%;
  margin: var(--jwe-space-xl) 0;
}
.jwe-figure--wide img {
  max-width: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-figure--wide.jwe-figure--diagram img {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}

.jwe-figure--hero {
  width: 100%;
  margin: 0 0 var(--jwe-space-lg) 0;
}
.jwe-figure--hero img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--square {
  width: 100%;
  max-width: 500px;
  margin: var(--jwe-space-lg) auto;
}
.jwe-figure--square img {
  max-width: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--portrait {
  width: 100%;
  max-width: 400px;
  margin: var(--jwe-space-lg) auto;
}
.jwe-figure--portrait img {
  max-width: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-img-float-left {
  float: left;
  max-width: 40%;
  margin: 0 var(--jwe-space-lg) var(--jwe-space-md) 0;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-img-float-right {
  float: right;
  max-width: 40%;
  margin: 0 0 var(--jwe-space-md) var(--jwe-space-lg);
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: var(--jwe-space-lg) 0;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.jwe-team-photo {
  max-width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-card .jwe-team-photo {
  width: auto;  
  height: auto;
  aspect-ratio: 1/1;
  max-width: 240px;  
  margin: 0 auto 1rem;
  display: block;
  object-fit: cover;
}

.jwe-highlight {
  background: linear-gradient(transparent 60%, rgba(var(--jwe-primary-rgb, 0, 90, 140), 0.2) 60%);
  padding: 0 0.25rem;
}
.jwe-quote {
  padding: var(--jwe-space-md) var(--jwe-space-lg);
  border-left: 4.5px solid var(--jwe-accent);
  font-style: italic;
  background: var(--jwe-surface);
  margin: var(--jwe-space-lg) 0;
  border-radius: 0 var(--jwe-radius, 0.5rem) var(--jwe-radius, 0.5rem) 0;
}
.jwe-summary {
  padding: var(--jwe-space-lg);
  background: var(--jwe-surface);
  border: 1px solid var(--jwe-border);
  border-radius: var(--jwe-radius, 0.5rem);
  margin: var(--jwe-space-lg) 0;
}

.jwe-list--numbered {
  list-style: decimal;
  padding-left: 1.5rem;
}
.jwe-list--pros {
  list-style: none;
  padding-left: 0;
}
.jwe-list--pros li::before {
  content: "✓";
  color: var(--jwe-success);
  margin-right: 0.5rem;
  font-weight: bold;
}
.jwe-list--cons {
  list-style: none;
  padding-left: 0;
}
.jwe-list--cons li::before {
  content: "✗";
  color: var(--jwe-error);
  margin-right: 0.5rem;
  font-weight: bold;
}

.jwe-table--comparison {
  width: 100%;
}
.jwe-table--comparison th {
  background: var(--jwe-surface);
  text-align: left;
}
.jwe-table--comparison td:first-child {
  font-weight: 600;
}

.jwe-actuator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--jwe-button-padding-y, 0.75rem) var(--jwe-button-padding-x, 1.5rem);
  min-height: var(--jwe-button-height, 2.75rem);
  text-decoration: none;
  border-radius: var(--jwe-radius, 0.5rem);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.jwe-actuator:hover {
  transform: translateY(-1px);
}
.jwe-actuator:focus-visible,
.jwe-actuator-main:focus-visible,
.jwe-actuator-ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.3);
}
.jwe-actuator-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--jwe-button-padding-y) var(--jwe-button-padding-x);
  background: var(--jwe-primary);
  color: var(--jwe-button-text) !important;
  text-decoration: none;
  border-radius: var(--jwe-radius, 0.5rem);
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.jwe-mt-gap {
  margin-top: var(--jwe-section-gap, 2rem);
}
.jwe-actuator-main:hover {
  filter: brightness(1.1);
}
.jwe-actuator-ghost {
  background: transparent;
  color: var(--jwe-accent);
  padding: var(--jwe-space-sm) 0;
  text-decoration: none;
  filter: brightness(0.85);
}
.jwe-actuator-ghost:hover {
  text-decoration: underline;
  filter: brightness(0.7);
}

p + .jwe-actuator-main,
p + .jwe-actuator-ghost {
  margin-top: var(--jwe-button-margin-top);
}

.jwe-callout {
  padding: var(--jwe-space-md);
  background: var(--jwe-surface);
  border-left: 4.5px solid var(--jwe-accent);
  margin: var(--jwe-space-md) 0;
}
.jwe-list { padding-left: 1.5rem; }
.jwe-list--checked { list-style: none; padding-left: 0; }
.jwe-list--checked li::before { content: "✓ "; color: var(--jwe-success); }

.jwe-header,
.jwe-masthead,
.jwe-control-panel,
.jwe-control-plane {
  width: 100%;
  background: var(--jwe-header-bg);
  color: var(--jwe-header-text);
  padding: 0.5rem 0;  
}

.jwe-header .jwe-mainframe,
.jwe-header .jwe-manifold,
.jwe-header .jwe-container,
.jwe-header .jwe-wrap,
.jwe-header .jwe-lab-frame,
.jwe-header .jwe-frame,
.jwe-masthead .jwe-mainframe,
.jwe-masthead .jwe-manifold,
.jwe-masthead .jwe-container,
.jwe-masthead .jwe-wrap,
.jwe-masthead .jwe-lab-frame,
.jwe-masthead .jwe-frame,
.jwe-control-panel .jwe-mainframe,
.jwe-control-panel .jwe-manifold,
.jwe-control-panel .jwe-container,
.jwe-control-panel .jwe-wrap,
.jwe-control-panel .jwe-lab-frame,
.jwe-control-panel .jwe-frame,
.jwe-control-plane .jwe-mainframe,
.jwe-control-plane .jwe-manifold,
.jwe-control-plane .jwe-container,
.jwe-control-plane .jwe-wrap,
.jwe-control-plane .jwe-lab-frame,
.jwe-control-plane .jwe-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--jwe-space-md);
  flex-wrap: wrap;
}

.jwe-brand {
  flex-shrink: 0;
  overflow: hidden;
  max-width: 210px;
}
.jwe-logo {
  display: block;
  text-decoration: none;
}
.jwe-logo img {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
}

.jwe-nav,
.jwe-nav-bar,
.jwe-circuit,
.jwe-trajectory,
nav.jwe-nav,
nav.jwe-nav-bar,
nav.jwe-circuit,
nav.jwe-trajectory {
  flex: 1;
  min-width: 0;
}

.jwe-nav ul,
.jwe-nav-bar ul,
.jwe-circuit ul,
.jwe-trajectory ul,
nav.jwe-nav ul,
nav.jwe-nav-bar ul,
nav.jwe-circuit ul,
nav.jwe-trajectory ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;  
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.125rem;  
  list-style: none;
  margin: 0;
  padding: 0;
}

.jwe-nav li,
.jwe-nav-bar li,
.jwe-circuit li,
.jwe-trajectory li,
.jwe-nav-link,
.jwe-nav-item,
.jwe-circuit-link,
nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.jwe-nav a,
.jwe-nav-bar a,
.jwe-circuit a,
.jwe-trajectory a,
.jwe-nav-link a,
.jwe-nav-item a,
.jwe-circuit-link a,
nav.jwe-nav a,
nav.jwe-nav-bar a,
nav.jwe-circuit a,
nav.jwe-trajectory a {
  display: block;
  padding: var(--jwe-space-sm) 0;
  color: var(--jwe-header-text);
  text-decoration: none;
  font-weight: 400;  
  font-size: 0.9rem;  
  transition: opacity 0.2s ease;
}
.jwe-nav a:hover,
.jwe-nav-bar a:hover,
.jwe-circuit a:hover,
.jwe-trajectory a:hover,
.jwe-nav-link a:hover,
.jwe-circuit-link a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.jwe-nav-bar a:focus-visible,
.jwe-circuit a:focus-visible,
.jwe-trajectory a:focus-visible,
.jwe-nav-link a:focus-visible,
.jwe-circuit-link a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--jwe-primary, #3b82f6);
  border-radius: var(--jwe-radius-xs, 2px);
}

.jwe-nav-link--active a,
.jwe-nav-item--active a,
.jwe-circuit-link--active a {
  font-weight: 600;
  border-bottom: 2px solid var(--jwe-accent);
}

.jwe-circuit .jwe-node,
.jwe-trajectory .jwe-node,
.jwe-nav .jwe-node,
.jwe-nav-bar .jwe-node,
nav .jwe-node,
.jwe-circuit li.jwe-node,
.jwe-trajectory li.jwe-node,
nav li.jwe-node,
[data-nav-item].jwe-node {
  background: transparent;
  border: none;
  border-left: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  height: auto;
  display: block;
  flex-direction: unset;
}
.jwe-circuit .jwe-node:hover,
.jwe-trajectory .jwe-node:hover,
.jwe-nav .jwe-node:hover,
nav .jwe-node:hover,
[data-nav-item].jwe-node:hover {
  transform: none;
  box-shadow: none;
}

.jwe-matrix .jwe-node a,
.jwe-matrix .jwe-node-id a,
main .jwe-node a,
main .jwe-node-id a,
.jwe-stratum .jwe-node a,
.jwe-stratum .jwe-node-id a {
  color: var(--jwe-primary);
  text-decoration: none;
}
.jwe-matrix .jwe-node a:hover,
.jwe-matrix .jwe-node-id a:hover,
main .jwe-node a:hover,
main .jwe-node-id a:hover,
.jwe-stratum .jwe-node a:hover,
.jwe-stratum .jwe-node-id a:hover {
  color: var(--jwe-accent);
  text-decoration: underline;
}

@media (min-width: 961px) {
  .jwe-nav-item--hidden,
  [data-nav-item].jwe-nav-item--hidden {
    display: none !important;
  }
}

.jwe-has-dropdown {
  position: relative;
}
.jwe-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  padding: var(--jwe-space-sm) 0;
  background: transparent;
  border: none;
  color: var(--jwe-header-text);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}
.jwe-dropdown-toggle:hover {
  opacity: 0.8;
}
.jwe-dropdown-arrow {
  font-size: 0.7em;
  transition: transform 0.2s;
}
.jwe-has-dropdown[data-open="true"] .jwe-dropdown-arrow {
  transform: rotate(180deg);
}
.jwe-dropdown {
  
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: max-content;
  background: var(--jwe-header-bg);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--jwe-radius, 0.5rem);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: var(--jwe-space-sm) 0;
  z-index: 10010;
  list-style: none;
  margin: 0;
}

.jwe-has-dropdown.js-ready .jwe-dropdown {
  display: none;
  visibility: hidden;
  pointer-events: none;
}
.jwe-has-dropdown.js-ready[data-open="true"] .jwe-dropdown {
  display: block !important;
  visibility: visible;
  pointer-events: auto;
  
}
.jwe-dropdown li {
  margin: 0;
  padding: 0;
}
.jwe-dropdown li + li {
  border-top: none;
}
.jwe-dropdown a {
  display: block;
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  color: var(--jwe-header-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
.jwe-dropdown a:hover {
  background: rgba(255,255,255,0.1);
}

@media (max-width: 960px) {
  nav[data-state="open"] .jwe-dropdown,
  .jwe-nav[data-state="open"] .jwe-dropdown,
  .jwe-nav-bar[data-state="open"] .jwe-dropdown,
  .jwe-lattice[data-state="open"] .jwe-dropdown,
  .jwe-circuit[data-state="open"] .jwe-dropdown,
  .jwe-trajectory[data-state="open"] .jwe-dropdown {
    position: static;
    transform: none;
    background: var(--jwe-bg, #fff);  
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    padding: 0;
  }
  nav[data-state="open"] .jwe-dropdown a,
  .jwe-nav[data-state="open"] .jwe-dropdown a,
  .jwe-nav-bar[data-state="open"] .jwe-dropdown a,
  .jwe-lattice[data-state="open"] .jwe-dropdown a,
  .jwe-circuit[data-state="open"] .jwe-dropdown a,
  .jwe-trajectory[data-state="open"] .jwe-dropdown a {
    color: var(--jwe-text, #333);  
    padding: var(--jwe-space-sm) var(--jwe-space-lg);
    border-bottom: 1px solid var(--jwe-border, #e5e7eb);
  }
  nav[data-state="open"] .jwe-dropdown a:hover,
  .jwe-nav[data-state="open"] .jwe-dropdown a:hover,
  .jwe-nav-bar[data-state="open"] .jwe-dropdown a:hover,
  .jwe-lattice[data-state="open"] .jwe-dropdown a:hover,
  .jwe-circuit[data-state="open"] .jwe-dropdown a:hover,
  .jwe-trajectory[data-state="open"] .jwe-dropdown a:hover {
    background: var(--jwe-bg-alt, #f5f5f5);
  }
  
  nav[data-state="open"] .jwe-dropdown-toggle,
  .jwe-nav[data-state="open"] .jwe-dropdown-toggle,
  .jwe-nav-bar[data-state="open"] .jwe-dropdown-toggle,
  .jwe-lattice[data-state="open"] .jwe-dropdown-toggle,
  .jwe-circuit[data-state="open"] .jwe-dropdown-toggle,
  .jwe-trajectory[data-state="open"] .jwe-dropdown-toggle {
    color: var(--jwe-text, #333);  
    width: 100%;
    justify-content: center;
    padding: var(--jwe-space-md);
    font-size: 1.125rem;
  }
}

.jwe-nav-overflow {
  position: relative;
  display: none;  
}
.jwe-nav-overflow.jwe-nav-overflow--active {
  display: block;
}

@media (max-width: 960px) {
  .jwe-nav-overflow,
  .jwe-nav-overflow.jwe-nav-overflow--active {
    display: none !important;
  }
}
.jwe-nav-overflow__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--jwe-space-xs);
  min-width: 50px;
  min-height: 40px;
  padding: var(--jwe-space-xs) var(--jwe-space-sm);
  margin-left: var(--jwe-space-xs);
  background: transparent;
  border: none;
  color: var(--jwe-header-text);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}
.jwe-nav-overflow__toggle:hover {
  opacity: 0.8;
}
.jwe-nav-overflow__arrow {
  font-size: 0.85em;
  transition: transform 0.2s;
}
.jwe-nav-overflow[data-open="true"] .jwe-nav-overflow__arrow {
  transform: rotate(180deg);
}
.jwe-nav-overflow__dropdown {

  display: none !important;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: max-content;
  background: var(--jwe-header-bg);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--jwe-radius, 0.5rem);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: var(--jwe-space-sm) 0;
  z-index: 10010;
}

.jwe-nav-overflow.js-ready .jwe-nav-overflow__dropdown {
  display: none;
  visibility: hidden;
  pointer-events: none;
}
.jwe-nav-overflow.js-ready[data-open="true"] .jwe-nav-overflow__dropdown {
  display: block !important;
  visibility: visible;
  pointer-events: auto;
  
}
.jwe-nav-overflow__dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jwe-nav-overflow__dropdown li + li {
  border-top: none;
}
.jwe-nav-overflow__dropdown a {
  display: block;
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  color: var(--jwe-header-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
.jwe-nav-overflow__dropdown a:hover {
  background: rgba(255,255,255,0.1);
}

.jwe-nav-overflow__toggle--dots::after {
  content: "•••";
  letter-spacing: 2px;  
}
.jwe-nav-overflow__toggle--icon {
  font-size: 1.25rem;
}

.jwe-header-search {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  transition: transform 0.2s, background 0.2s, opacity 0.2s, filter 0.2s;
  
}
.jwe-header-search svg {
  width: calc(40px - 8px);
  height: calc(40px - 8px);
  max-width: none;
  flex-shrink: 0;
}

.jwe-header-search--pill svg {
  width: 1.1em;
  height: 1.1em;
}

.jwe-menu-toggle {
  display: none;
}

@media (max-width: 960px) {
  .jwe-circuit ul,
  .jwe-trajectory ul {
    gap: 0.25rem 0.75rem;
  }
  .jwe-circuit a,
  .jwe-trajectory a {
    font-size: 0.875rem;
  }
  .jwe-logo img {
    width: calc(150px * 0.8);
    max-width: 100%;
  }

}

@media (max-width: 960px) {
  
  .jwe-header .jwe-mainframe,
  .jwe-header .jwe-manifold,
  .jwe-masthead .jwe-mainframe,
  .jwe-masthead .jwe-manifold,
  .jwe-control-panel .jwe-mainframe,
  .jwe-control-panel .jwe-manifold,
  .jwe-control-plane .jwe-mainframe,
  .jwe-control-plane .jwe-manifold {
    flex-wrap: wrap;
  }
  .jwe-circuit,
  .jwe-trajectory {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }
  .jwe-circuit ul,
  .jwe-trajectory ul {
    justify-content: center;
    gap: 0.25rem 1rem;
  }
}

.jwe-home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jwe-header-text);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  height: 20px; 
}
.jwe-home-link:hover {
  opacity: 0.8;
}
.jwe-home-link img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.jwe-home-link { order: 1; }
.jwe-nav, .jwe-circuit { order: 2; flex-grow: 1; }
.jwe-header-search { order: 3; }

body.jwe-search-left .jwe-header-search { order: 0; }
body.jwe-search-left .jwe-home-link { order: 1; }
body.jwe-search-left .jwe-nav,
body.jwe-search-left .jwe-circuit { order: 2; }

body.jwe-search-edge .jwe-header-search { margin-left: auto; }
body.jwe-search-left.jwe-search-edge .jwe-header-search {
  margin-left: 0;
  margin-right: auto;
}

body.jwe-search-menu .jwe-header-search {
  margin-left: 1rem;
}
body.jwe-search-left.jwe-search-menu .jwe-header-search {
  margin-left: 0;
  margin-right: 1rem;
}

body.jwe-search-menu.jwe-search-sep .jwe-header-search::before {
  content: '';
  position: absolute;
  left: calc(-1 * 1rem / 2 - 0.5px);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.2em;
  background: currentColor;
  opacity: 0.25;
}
body.jwe-search-left.jwe-search-menu.jwe-search-sep .jwe-header-search::before {
  left: auto;
  right: calc(-1 * 1rem / 2 - 0.5px);
}

.jwe-home-link {
  margin-right: 1rem;
}
body.jwe-search-left .jwe-home-link {
  margin-right: 1rem;
  margin-left: 1rem;
}

body.jwe-home-right .jwe-home-link {
  order: 4;
  margin-right: 0;
  margin-left: auto;
}
body.jwe-home-right.jwe-search-left .jwe-home-link {
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 960px) {
  
  .jwe-control-panel .jwe-mainframe,
  .jwe-control-plane .jwe-mainframe,
  .jwe-masthead .jwe-mainframe,
  .jwe-header .jwe-mainframe,
  .jwe-control-panel .jwe-manifold,
  .jwe-control-plane .jwe-manifold,
  .jwe-masthead .jwe-manifold,
  .jwe-header .jwe-manifold {
    display: flex;
    align-items: center;
  }

  .jwe-home-link, .jwe-brand { order: 1; flex-grow: 1; }
  .jwe-menu-toggle { order: 2; }

  body.jwe-burger-left .jwe-menu-toggle { order: 1; }
  body.jwe-burger-left .jwe-home-link,
  body.jwe-burger-left .jwe-brand { order: 2; flex-grow: 1; }

  body.jwe-logo-center .jwe-home-link,
  body.jwe-logo-center .jwe-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-grow: 0;
  }
  body.jwe-logo-center .jwe-menu-toggle {
    position: relative;
    z-index: 1;
  }
  body.jwe-burger-left.jwe-logo-center .jwe-menu-toggle { order: 1; margin-right: auto; }
  body:not(.jwe-burger-left).jwe-logo-center .jwe-menu-toggle { order: 2; margin-left: auto; }

  body.jwe-logo-center .jwe-control-panel .jwe-mainframe,
  body.jwe-logo-center .jwe-control-plane .jwe-mainframe,
  body.jwe-logo-center .jwe-masthead .jwe-mainframe,
  body.jwe-logo-center .jwe-header .jwe-mainframe,
  body.jwe-logo-center .jwe-control-panel .jwe-manifold,
  body.jwe-logo-center .jwe-control-plane .jwe-manifold,
  body.jwe-logo-center .jwe-masthead .jwe-manifold,
  body.jwe-logo-center .jwe-header .jwe-manifold {
    position: relative;
  }

  .jwe-menu-toggle {
    width: 40px;
    height: 40px;
    gap: 6px;
  }
  .jwe-menu-toggle span {
    width: 20px;
    height: 3px;
  }
}

body.jwe-close-top-left nav[data-state="open"] .jwe-nav-close,
body.jwe-close-top-left .jwe-nav[data-state="open"] .jwe-nav-close,
body.jwe-close-top-left .jwe-nav-bar[data-state="open"] .jwe-nav-close,
body.jwe-close-top-left .jwe-circuit[data-state="open"] .jwe-nav-close,
body.jwe-close-top-left .jwe-trajectory[data-state="open"] .jwe-nav-close,
body.jwe-close-top-left .jwe-lattice[data-state="open"] .jwe-nav-close {
  right: auto;
  left: 1rem;
}

body.jwe-close-bottom nav[data-state="open"] .jwe-nav-close,
body.jwe-close-bottom .jwe-nav[data-state="open"] .jwe-nav-close,
body.jwe-close-bottom .jwe-nav-bar[data-state="open"] .jwe-nav-close,
body.jwe-close-bottom .jwe-circuit[data-state="open"] .jwe-nav-close,
body.jwe-close-bottom .jwe-trajectory[data-state="open"] .jwe-nav-close,
body.jwe-close-bottom .jwe-lattice[data-state="open"] .jwe-nav-close {
  position: static;
  margin-top: var(--jwe-space-lg, 1.5rem);
  align-self: center;
}

.jwe-simulation--overlay {
  position: relative;
  width: 100%;
  min-height: var(--jwe-hero-min-overlay, 450px); 
  display: flex;
  align-items: center;
  overflow: hidden;
}
.jwe-simulation--overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.jwe-simulation--overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.jwe-simulation--overlay > .jwe-manifold,
.jwe-simulation--overlay > .jwe-mainframe {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
.jwe-simulation--overlay h1,
.jwe-simulation--overlay p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.jwe-simulation--overlay .jwe-actuator-main {
  background: var(--jwe-accent);
}

@media (max-width: 800px) {
  .jwe-simulation--overlay {
    min-height: 350px;
    padding: var(--jwe-hero-padding) 0;
  }
}

.jwe-simulation--centered {
  position: relative;
  width: 100%;
  min-height: var(--jwe-hero-min-centered, 400px);
  padding: var(--jwe-hero-padding) 0;
  background: linear-gradient(135deg, var(--jwe-bg, #f8f9fa) 0%, var(--jwe-bg-alt, #e9ecef) 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jwe-simulation--centered[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.jwe-simulation--centered > .jwe-manifold,
.jwe-simulation--centered > .jwe-mainframe {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.jwe-simulation--centered h1 {
  margin-bottom: 1rem;
}

.jwe-simulation--centered[style*="background-image"] h1,
.jwe-simulation--centered[style*="background-image"] p,
.jwe-simulation--centered[style*="background-image"] .jwe-lead {
  color: var(--jwe-button-text, #fff);  
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.jwe-simulation--centered p {
  font-size: 1.25rem;
  color: var(--jwe-text-muted);
  margin-bottom: 2rem;
}
.jwe-simulation--centered img {
  max-width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.jwe-simulation--minimal {
  width: 100%;
  padding: var(--jwe-hero-padding) 0;
  background: var(--jwe-bg);
  text-align: center;
}
.jwe-simulation--minimal > .jwe-manifold,
.jwe-simulation--minimal > .jwe-mainframe {
  max-width: 800px;
}
.jwe-simulation--minimal h1 {
  color: var(--jwe-primary);
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.jwe-simulation--minimal p,
.jwe-simulation--minimal .jwe-lead {
  color: var(--jwe-text-muted);
  font-size: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.jwe-simulation--minimal img {
  display: none;
}

.jwe-simulation--split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 850px) minmax(0, 850px);
  justify-content: center;
  gap: var(--jwe-hero-split-gap, 2rem);
  max-width: none;
  margin-inline: auto;
  margin-block-end: var(--jwe-section-gap, 2rem);
  padding: var(--jwe-hero-padding, 0.5rem) var(--jwe-container-padding-inline, 1.25rem);
}

.jwe-simulation--split::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--jwe-surface);
  z-index: -1;
}

.jwe-simulation--split > *:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
  width: 100%;
  max-width: 850px;
  padding-inline-start: var(--jwe-container-padding-inline, 1.25rem);
  padding-inline-end: var(--jwe-space-md, 1rem);
}

.jwe-simulation--split h1 {
  font-size: clamp(1.5rem, 2.5vw, var(--jwe-h1-size, 2.5rem));
  line-height: 1.15;
  margin-block: var(--jwe-space-xs, 0.25rem);
}
.jwe-simulation--split .jwe-lead,
.jwe-simulation--split p {
  font-size: clamp(0.9rem, 1.2vw, var(--jwe-body-size, 1rem));
  line-height: 1.4;
  margin-block: var(--jwe-space-xs, 0.25rem);
}

.jwe-simulation--split figure,
.jwe-simulation--split .jwe-figure {
  display: flex;
  align-items: center;
  justify-self: start;
  width: 100%;
  max-width: 850px;
  margin: 0;
}
.jwe-simulation--split figure img,
.jwe-simulation--split .jwe-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--jwe-radius);
  box-shadow: var(--jwe-shadow);
}
.jwe-simulation--split .jwe-manifold {
  padding-inline: 0;
}

@media (max-width: 1150px) {
  .jwe-simulation--split {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-width: none;
    margin-block-end: var(--jwe-space-lg, 1.5rem);
  }
  .jwe-simulation--split::before {
    display: none;
  }
  
  .jwe-simulation--split figure,
  .jwe-simulation--split .jwe-figure {
    order: 1;
    width: 100%;
    max-width: none;
  }
  .jwe-simulation--split figure img,
  .jwe-simulation--split .jwe-figure img {
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
  }
  
  .jwe-simulation--split > *:first-child {
    order: 2;
    max-width: none;
    width: 100%;
    padding: var(--jwe-hero-padding, 0.5rem) var(--jwe-container-padding-inline, 1.25rem);
    background: var(--jwe-surface);
  }
  
  .jwe-simulation--split figure,
  .jwe-simulation--split .jwe-figure {
    margin: 0;
  }
  .jwe-simulation--split h1 {
    font-size: var(--jwe-h1-size, 2rem);
  }
  .jwe-simulation--split .jwe-lead,
  .jwe-simulation--split p {
    font-size: var(--jwe-body-lg-size, 1.125rem);
  }
}

body.jwe-shade-mode--gradient-up .jwe-simulation--image-bg::before,
body.jwe-shade-mode--gradient-up .jwe-simulation--overlay::before,
body.jwe-shade-mode--gradient-up .jwe-simulation--centered[style*="background-image"]::before {
  background: linear-gradient(to top, var(--jwe-bg, #fff) 0%, var(--jwe-bg, #fff) 8%, rgba(255,255,255,0.85) 25%, transparent 65%) !important;
}
body.jwe-shade-mode--gradient-up .jwe-simulation--image-bg h1,
body.jwe-shade-mode--gradient-up .jwe-simulation--image-bg p,
body.jwe-shade-mode--gradient-up .jwe-simulation--image-bg .jwe-lead,
body.jwe-shade-mode--gradient-up .jwe-simulation--overlay h1,
body.jwe-shade-mode--gradient-up .jwe-simulation--overlay p {
  color: var(--jwe-text, #1a1a2e) !important;
  text-shadow: 0 1px 3px rgba(255,255,255,0.8) !important;
}

body.jwe-shade-mode--gradient-down .jwe-simulation--image-bg::before,
body.jwe-shade-mode--gradient-down .jwe-simulation--overlay::before,
body.jwe-shade-mode--gradient-down .jwe-simulation--centered[style*="background-image"]::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.7) 100%) !important;
}

body.jwe-shade-mode--vignette .jwe-simulation--image-bg::before,
body.jwe-shade-mode--vignette .jwe-simulation--overlay::before,
body.jwe-shade-mode--vignette .jwe-simulation--centered[style*="background-image"]::before {
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%) !important;
}

body.jwe-shade-mode--diagonal .jwe-simulation--image-bg::before,
body.jwe-shade-mode--diagonal .jwe-simulation--overlay::before,
body.jwe-shade-mode--diagonal .jwe-simulation--centered[style*="background-image"]::before {
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%) !important;
}

.jwe-hero-content {
  text-align: center;
  padding: var(--jwe-hero-padding, 4rem) 1rem;
  color: white;
  position: relative;
  z-index: 1;
}
.jwe-hero-content__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
  color: white;
}
.jwe-hero-content__subtitle {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  color: white;
  line-height: 1.6;
  opacity: 0.95;
}
.jwe-hero-content__meta {
  font-size: 0.75rem;
  margin-top: 0.75rem;
  opacity: 0.8;
}
.jwe-hero-content__badge {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  background: rgba(0,0,0,0.25);
  display: inline-block;
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  border-radius: 0.5rem;
}

.jwe-hero-content--homepage .jwe-hero-content__title {
  font-size: 3rem;
}
.jwe-hero-content--homepage .jwe-hero-content__subtitle {
  font-size: 1.25rem;
}

.jwe-section-pad {
  padding: 1rem 0;  
}
.jwe-section-pad--lg {
  padding: calc(1rem * 2) 0;  
}
.jwe-section-pad--surface {
  background: var(--jwe-surface, #f8fafc);
}

.jwe-category-intro {
  padding: 3rem 1rem;
  background: var(--jwe-surface, #f8fafc);
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-category-intro > .jwe-manifold,
.jwe-category-intro > .jwe-mainframe,
.jwe-category-intro > div {
  max-width: 900px;
  margin: 0 auto;
}
.jwe-category-outro {
  padding: 3rem 1rem;
  background: var(--jwe-bg, #fff);
  border-top: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-category-outro > .jwe-manifold,
.jwe-category-outro > .jwe-mainframe,
.jwe-category-outro > div {
  max-width: 900px;
  margin: 0 auto;
}

.jwe-category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--jwe-space-lg);
  margin: var(--jwe-space-lg) 0;
}
.jwe-category-cards--2 { grid-template-columns: repeat(2, 1fr); }
.jwe-category-cards--3 { grid-template-columns: repeat(3, 1fr); }
.jwe-category-cards--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
  .jwe-category-cards--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 800px) {
  
  .jwe-category-cards--2,
  .jwe-category-cards--3,
  .jwe-category-cards--4 {
    grid-template-columns: 1fr;
  }
}

.jwe-category-card {
  background: var(--jwe-surface, #fff);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-space-lg);
  border-left: 4.5px solid var(--jwe-accent);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  
  color-scheme: light only;
}
.jwe-category-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--jwe-accent);
  
  -webkit-text-fill-color: var(--jwe-accent);
}
.jwe-category-card__text {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  color: var(--jwe-text-muted, #666);
  -webkit-text-fill-color: var(--jwe-text-muted, #666);
}

.jwe-scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--jwe-space-md);
}
.jwe-scope-list--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 540px) {
  .jwe-scope-list--cols-2 {
    grid-template-columns: 1fr;
  }
}
.jwe-scope-item {
  display: flex;
  align-items: flex-start;
  gap: var(--jwe-space-md);
  padding: var(--jwe-space-md);
  background: var(--jwe-bg, #fff);
  border-radius: var(--jwe-radius, 0.5rem);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.jwe-scope-item strong {
  color: var(--jwe-text);
}
.jwe-scope-item::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--jwe-accent);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.jwe-highlight-box {
  background: var(--jwe-surface, #f9fafb);
  border-left: 4.5px solid var(--jwe-accent);
  padding: var(--jwe-card-padding) var(--jwe-space-lg);
  margin: var(--jwe-space-lg) 0;
  border-radius: 0 var(--jwe-radius, 0.5rem) var(--jwe-radius, 0.5rem) 0;
}
.jwe-highlight-box p {
  margin: 0;
  line-height: 1.6;
}

.jwe-cta-box {
  background: var(--jwe-bg-alt, #f0f4f8);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-space-lg, 1.5rem) var(--jwe-space-xl, 2rem);
  margin: var(--jwe-space-xl, 2rem) 0;
  text-align: center;
}
.jwe-cta-box__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.jwe-cta-box__text {
  margin: 0;
  color: var(--jwe-text-muted);
}

.jwe-summary-list {
  background: var(--jwe-surface, #fff);
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-card-padding) var(--jwe-space-lg);
  margin: var(--jwe-space-xl) 0;
}
.jwe-summary-list__title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--jwe-text-muted);
  margin: 0 0 var(--jwe-space-md);
}
.jwe-summary-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jwe-summary-list li {
  padding: var(--jwe-space-sm) 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-summary-list li:last-child {
  border-bottom: none;
}
.jwe-summary-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--jwe-success, #10b981);
  font-weight: 600;
}

.jwe-hero-content--category {
  padding: 2.5rem 1rem;
}

.jwe-hero-content--plain {
  background: var(--jwe-bg-alt, #f8f9fa);
  color: var(--jwe-text, #1f2937);
}
.jwe-hero-content--plain .jwe-hero-content__title,
.jwe-hero-content--plain .jwe-hero-content__subtitle {
  text-shadow: none;
  color: var(--jwe-text, #1f2937);
}
.jwe-hero-content--plain .jwe-hero-content__badge {
  background: rgba(0,0,0,0.05);
}

.jwe-hero-content--gradient .jwe-hero-content__title {
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}
.jwe-hero-content--gradient .jwe-hero-content__subtitle {
  text-shadow: 0 2px 6px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
}

.jwe-hero-content--image .jwe-hero-content__title {
  text-shadow: 0 3px 10px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4);
}
.jwe-hero-content--image .jwe-hero-content__subtitle {
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 800px) {
  .jwe-hero-content--category {
    padding: 2rem 1rem;
  }
  .jwe-hero-content__title {
    font-size: 2rem;
  }
  .jwe-hero-content--homepage .jwe-hero-content__title {
    font-size: 2.25rem;
  }
  .jwe-hero-content__subtitle {
    font-size: 1rem;
  }
}

.jwe-gradient-0 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.jwe-gradient-1 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.jwe-gradient-2 { background: linear-gradient(135deg, #ee7752 0%, #e73c7e 100%); }
.jwe-gradient-3 { background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%); }
.jwe-gradient-4 { background: linear-gradient(135deg, #cc2b5e 0%, #753a88 100%); }
.jwe-gradient-5 { background: linear-gradient(135deg, #614385 0%, #516395 100%); }
.jwe-gradient-6 { background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%); }
.jwe-gradient-7 { background: linear-gradient(135deg, #c94b4b 0%, #4b134f 100%); }

.jwe-gradient-overlay {
  position: relative;
}
.jwe-gradient-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}
.jwe-gradient-overlay > * {
  position: relative;
  z-index: 1;
}

.jwe-hero-scrim {
  position: relative;
}
.jwe-hero-scrim::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 40%, transparent 100%);
  z-index: 0;
}
.jwe-hero-scrim > * {
  position: relative;
  z-index: 1;
}

.jwe-text-relief--shadow .jwe-hero-content__title {
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.5),
    0 4px 12px rgba(0,0,0,0.3),
    0 0 1px rgba(0,0,0,0.8);
}
.jwe-text-relief--shadow .jwe-hero-content__subtitle {
  color: rgba(255,255,255,0.95);
  text-shadow:
    0 1px 3px rgba(0,0,0,0.5),
    0 2px 8px rgba(0,0,0,0.3);
}

.jwe-text-relief--backdrop-light .jwe-hero-content__title,
.jwe-text-relief--backdrop-light .jwe-hero-content__subtitle {
  display: inline-block;
  padding: 0.4em 0.6em;
  background: rgba(255,255,255,0.85);
  color: var(--jwe-text, #1a1a1a);
  text-shadow: none;
  border-radius: 0.25rem;
}
.jwe-text-relief--backdrop-light .jwe-hero-content__title {
  line-height: 1.5;
}
.jwe-text-relief--backdrop-light .jwe-hero-content__subtitle {
  line-height: 1.6;
}

.jwe-text-relief--backdrop-dark .jwe-hero-content__title,
.jwe-text-relief--backdrop-dark .jwe-hero-content__subtitle {
  display: inline-block;
  padding: 0.4em 0.6em;
  background: rgba(0,0,0,0.65);
  color: #fff;
  text-shadow: none;
  border-radius: 0.25rem;
}
.jwe-text-relief--backdrop-dark .jwe-hero-content__title {
  line-height: 1.5;
}
.jwe-text-relief--backdrop-dark .jwe-hero-content__subtitle {
  line-height: 1.6;
}

.jwe-text-relief--scrim .jwe-hero-content__title {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.jwe-text-relief--scrim .jwe-hero-content__subtitle {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.jwe-display-style--rounded-badge .jwe-hero-content__badge {
  border-radius: 1rem;
  padding: 0.5rem 1.25rem;
}

.jwe-hero-blend--left .jwe-simulation--split .jwe-hero-image,
.jwe-hero-blend--left .jwe-simulation--split > img {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
  mask-image: linear-gradient(to right, transparent 0%, black 25%);
}

.jwe-hero-blend--right .jwe-simulation--split-reverse .jwe-hero-image,
.jwe-hero-blend--right .jwe-simulation--split-reverse > img {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 25%);
  mask-image: linear-gradient(to left, transparent 0%, black 25%);
}

.jwe-hero-blend--down .jwe-simulation img {
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%);
  mask-image: linear-gradient(to top, transparent 0%, black 30%);
}

.jwe-hero-blend--vignette .jwe-simulation--overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}

.jwe-text-relief--shadow .jwe-simulation--overlay h1,
.jwe-text-relief--shadow .jwe-simulation--overlay .jwe-hero-title {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5), 0 8px 40px rgba(0,0,0,0.3);
}
.jwe-text-relief--shadow .jwe-simulation--overlay p,
.jwe-text-relief--shadow .jwe-simulation--overlay .jwe-lead,
.jwe-text-relief--shadow .jwe-simulation--overlay .jwe-hero-text {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 3px 10px rgba(0,0,0,0.5);
}

.jwe-text-relief--backdrop-dark .jwe-simulation--overlay .jwe-hero-content,
.jwe-text-relief--backdrop-dark .jwe-simulation--overlay > .jwe-manifold {
  background: rgba(0,0,0,0.8);
  padding: 1rem 1.5rem;  
  border-radius: var(--jwe-radius, 0.5rem);
  backdrop-filter: blur(4px);
  width: fit-content;
  max-width: 90%;
}
.jwe-text-relief--backdrop-dark .jwe-simulation--overlay h1,
.jwe-text-relief--backdrop-dark .jwe-simulation--overlay p {
  color: #fff;
  text-shadow: none;
}

.jwe-text-relief--backdrop-light .jwe-simulation--overlay .jwe-hero-content,
.jwe-text-relief--backdrop-light .jwe-simulation--overlay > .jwe-manifold {
  background: rgba(255,255,255,0.92);
  padding: 1rem 1.5rem;  
  border-radius: var(--jwe-radius, 0.5rem);
  backdrop-filter: blur(4px);
  width: fit-content;
  max-width: 90%;
}
.jwe-text-relief--backdrop-light .jwe-simulation--overlay h1 {
  color: var(--jwe-text, #1a1a2e);
}
.jwe-text-relief--backdrop-light .jwe-simulation--overlay p {
  color: var(--jwe-text-muted, #555);
}

.jwe-text-relief--scrim .jwe-simulation--overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 40%, transparent 70%);
  pointer-events: none;
}
.jwe-text-relief--scrim .jwe-simulation--overlay h1,
.jwe-text-relief--scrim .jwe-simulation--overlay p {
  color: #fff;
  position: relative;
  z-index: 1;
}

.jwe-txt-place--corner .jwe-simulation--overlay {
  align-items: flex-end;
  justify-content: flex-start;
}
.jwe-txt-place--corner .jwe-simulation--overlay .jwe-hero-content,
.jwe-txt-place--corner .jwe-simulation--overlay > .jwe-manifold {
  text-align: left;
}

.jwe-txt-place--center .jwe-simulation--overlay {
  align-items: center;
  justify-content: center;
}
.jwe-txt-place--center .jwe-simulation--overlay .jwe-hero-content,
.jwe-txt-place--center .jwe-simulation--overlay > .jwe-manifold {
  text-align: center;
}

.jwe-txt-place--bottom-center .jwe-simulation--overlay {
  align-items: flex-end;
  justify-content: center;
}
.jwe-txt-place--bottom-center .jwe-simulation--overlay .jwe-hero-content,
.jwe-txt-place--bottom-center .jwe-simulation--overlay > .jwe-manifold {
  text-align: center;
}

.jwe-section-blend .jwe-simulation::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, var(--jwe-bg, #fff), transparent);
  pointer-events: none;
  z-index: 2;
}

.jwe-section-blend .jwe-simulation {
  position: relative;
}

.jwe-eeat-hero {
  text-align: center;
  padding: var(--jwe-space-xl, 2rem) 0;
  background: var(--jwe-bg);
  border-bottom: 1px solid var(--jwe-border);
}

.jwe-eeat-hero h1 {
  margin: 0 0 var(--jwe-space-sm, 0.5rem);
}

.jwe-eeat-hero .jwe-lead {
  margin: 0;
  max-width: var(--jwe-content-width, 720px);
  margin-left: auto;
  margin-right: auto;
}

.jwe-eeat-hero--minimal {
  padding: var(--jwe-space-lg, 1.5rem) 0;
  background: transparent;
}

.jwe-eeat-hero--centered {
  padding: var(--jwe-space-2xl, 3rem) 0;
  background: linear-gradient(135deg, var(--jwe-bg) 0%, var(--jwe-surface) 100%);
}

.jwe-eeat-hero--text-only {
  padding: var(--jwe-space-md, 1rem) 0;
  background: transparent;
  border-bottom: 2px solid var(--jwe-primary);
}

.jwe-eeat-hero--compact {
  padding: var(--jwe-space-sm, 0.5rem) 0 var(--jwe-space-md, 1rem);
  background: var(--jwe-surface);
}

.jwe-eeat-hero--gradient-subtle {
  padding: var(--jwe-space-xl, 2rem) 0;
  background: linear-gradient(135deg, rgba(var(--jwe-primary-rgb, 0, 90, 141), 0.03) 0%, rgba(var(--jwe-primary-rgb, 0, 90, 141), 0.08) 100%);
  border-bottom: 1px solid rgba(var(--jwe-primary-rgb, 0, 90, 141), 0.15);
}

.jwe-eeat-hero--gradient-subtle h1 {
  color: var(--jwe-primary);
}

.jwe-matrix,
.jwe-grid,
.jwe-array {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--jwe-grid-gap, 1.5rem);
  justify-content: center;
  justify-items: center;  
  align-items: stretch; 
  max-width: 100%;

  box-sizing: border-box;
}

.jwe-matrix .jwe-module-core > p.jwe-text-muted,
.jwe-grid .jwe-module-core > p.jwe-text-muted {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  
}

.jwe-matrix > .jwe-card,
.jwe-matrix > .jwe-node,
.jwe-matrix > .jwe-module,
.jwe-matrix > article,
.jwe-grid > .jwe-card,
.jwe-grid > .jwe-node,
.jwe-grid > .jwe-module,
.jwe-grid > article,
.jwe-array > .jwe-card,
.jwe-array > .jwe-node,
.jwe-array > .jwe-module,
.jwe-array > article {
  max-width: 360px;
}

.jwe-matrix--single,
.jwe-grid--single,
.jwe-array--single {
  display: flex;
  justify-content: center;
}
.jwe-matrix--single .jwe-card,
.jwe-matrix--single .jwe-module,
.jwe-matrix--single .jwe-node,
.jwe-matrix--single > article,
.jwe-grid--single .jwe-card,
.jwe-grid--single .jwe-module,
.jwe-grid--single .jwe-node,
.jwe-grid--single > article,
.jwe-array--single .jwe-card,
.jwe-array--single .jwe-module,
.jwe-array--single .jwe-node,
.jwe-array--single > article {
  width: 100%;
  max-width: 360px; 
  flex-shrink: 0;
  height: auto; 
}

.jwe-matrix--two,
.jwe-grid--two,
.jwe-array--two {
  display: flex;
  justify-content: center;
  gap: var(--jwe-space-lg);
  flex-wrap: wrap;
}
.jwe-matrix--two .jwe-card,
.jwe-matrix--two .jwe-module,
.jwe-matrix--two .jwe-node,
.jwe-matrix--two > article,
.jwe-grid--two .jwe-card,
.jwe-grid--two .jwe-module,
.jwe-grid--two .jwe-node,
.jwe-grid--two > article,
.jwe-array--two .jwe-card,
.jwe-array--two .jwe-module,
.jwe-array--two .jwe-node,
.jwe-array--two > article {
  width: calc(50% - 0.75rem);
  max-width: 340px;
  min-width: 320px;
}

.jwe-matrix--three,
.jwe-grid--three,
.jwe-array--three {
  max-width: 1000px;
  margin: 0 auto;
}

.jwe-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--jwe-space-lg);
}
.jwe-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--jwe-space-lg);
}
.jwe-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--jwe-space-lg);
}

@media (max-width: 960px) {
  .jwe-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .jwe-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .jwe-matrix,
  .jwe-grid,
  .jwe-array {
    grid-template-columns: repeat(2, 1fr);
    
    padding-top: 0;
  }
  
  .jwe-matrix .jwe-card img,
  .jwe-matrix .jwe-node img,
  .jwe-grid .jwe-card img,
  .jwe-array article img {
    
    object-fit: cover;
    object-position: center;
  }
  .jwe-grid-2,
  .jwe-grid-3,
  .jwe-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .jwe-matrix--cols-2,
  .jwe-matrix--cols-3,
  .jwe-matrix--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .jwe-matrix > .jwe-card,
  .jwe-matrix > .jwe-node,
  .jwe-matrix > .jwe-module,
  .jwe-matrix > article,
  .jwe-grid > .jwe-card,
  .jwe-grid > .jwe-node,
  .jwe-array > article {
    max-width: 100%;  
    width: 100%;
  }
  
  .jwe-array--single > article,
  .jwe-grid--single > article,
  .jwe-matrix--single > article {
    max-width: 100%;
    margin: 0 auto;
  }

  .jwe-matrix:not(.jwe-team-grid) > .jwe-module,
  .jwe-array:not(.jwe-team-grid) > .jwe-module,
  .jwe-grid:not(.jwe-team-grid) > .jwe-module,
  .jwe-matrix:not(.jwe-team-grid) > .jwe-card,
  .jwe-array:not(.jwe-team-grid) > .jwe-card,
  .jwe-grid:not(.jwe-team-grid) > .jwe-card,
  .jwe-matrix:not(.jwe-team-grid) > .jwe-stratum,
  .jwe-array:not(.jwe-team-grid) > .jwe-stratum,
  .jwe-grid:not(.jwe-team-grid) > .jwe-stratum {
    padding: 0;
  }
}

@media (max-width: 540px) {
  .jwe-matrix,
  .jwe-grid,
  .jwe-array,
  .jwe-grid-2,
  .jwe-grid-3,
  .jwe-grid-4 {
    gap: var(--jwe-space-md);
  }
  .jwe-matrix--two,
  .jwe-grid--two,
  .jwe-array--two {
    gap: var(--jwe-space-md);
  }
}

.jwe-card--compact > a,
.jwe-unit--compact > a {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 0 var(--jwe-space-md, 0.75rem);
  align-items: start;
  padding: var(--jwe-space-sm);
}
.jwe-card--compact img,
.jwe-unit--compact img {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100px;
  height: 100px;
  border-radius: var(--jwe-radius, 0.5rem);
  object-fit: cover;
  align-self: center;
}

.jwe-card--compact .jwe-card__content,
.jwe-unit--compact .jwe-unit__content {
  display: contents;
}
.jwe-card--compact .jwe-tag,
.jwe-unit--compact .jwe-tag {
  grid-column: 1;
  margin: 0 0 0.15rem;
  align-self: end;
  font-size: 0.72rem;
}
.jwe-card--compact h3,
.jwe-unit--compact h3 {
  grid-column: 1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
  align-self: start;
}

.jwe-card--compact p,
.jwe-unit--compact p {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.jwe-card--compact .jwe-card__meta,
.jwe-unit--compact .jwe-unit__meta {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  padding: 0;
  font-size: 0.8rem;
}

.jwe-card,
.jwe-unit {
  display: flex;
  flex-direction: column;
  background: var(--jwe-surface);
  border-radius: var(--jwe-radius, 0.5rem);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%; 
}

.jwe-card a:not(.jwe-actuator-main):not(.jwe-actuator-ghost),
.jwe-unit a:not(.jwe-actuator-main):not(.jwe-actuator-ghost) {
  text-decoration: none;
  color: inherit;
}

.jwe-card picture,
.jwe-grid picture,
.jwe-matrix picture {
  display: contents;
}
.jwe-node-media {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.jwe-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin: 1rem 1rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--jwe-primary);
  color: var(--jwe-button-text);
  border-radius: 0.25rem;
}
.jwe-node-id {
  margin: 0.75rem 1rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--jwe-text);
}
.jwe-node-data,
.jwe-card-body {
  margin: 0 1rem 1rem;
  font-size: 0.9rem;
  color: var(--jwe-text-muted);
  line-height: 1.5;
  flex-grow: 1; 
}

.jwe-team-grid {
  display: grid;  
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));  
  gap: var(--jwe-grid-gap, 1.5rem);  
  max-width: 100%;
  overflow: hidden;

  box-sizing: border-box;
}
@media (max-width: 800px) {
  
  .jwe-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.jwe-team-grid .jwe-node,
.jwe-team-grid .jwe-card,
.jwe-team-grid .jwe-module {
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  padding: var(--jwe-space-md, 1rem);  
  height: auto;  
}

.jwe-team-avatar {
  width: 220px;
  height: 220px;
  max-width: 220px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}

.jwe-team-grid .jwe-node img,
.jwe-team-grid .jwe-card img,
.jwe-team-grid .jwe-module img {
  width: 220px;
  height: auto;
  max-width: 220px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}

.jwe-team-grid img.jwe-team-photo.jwe-team-photo,
.jwe-team-photo {
  max-width: 100%;
  border-radius: var(--jwe-radius);
  aspect-ratio: auto;
  margin: 0 0 1rem 0;
  height: auto;
}

.jwe-team-grid .jwe-node-id,
.jwe-team-grid .jwe-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.jwe-team-grid .jwe-node-data,
.jwe-team-grid .jwe-card-body {
  font-size: 0.9rem;
  color: var(--jwe-text-muted);
  margin: 0;
}

.jwe-grid .jwe-card:not(:has(.jwe-card__meta)),
.jwe-matrix .jwe-card:not(:has(.jwe-card__meta)),
.jwe-array .jwe-card:not(:has(.jwe-card__meta)) {
  height: auto;
}

.jwe-matrix .jwe-node img[width="140"],
.jwe-matrix .jwe-node img[width="120"],
.jwe-matrix .jwe-node img[width="100"],
.jwe-matrix .jwe-card img[width="140"],
.jwe-matrix .jwe-card img[width="120"],
.jwe-matrix .jwe-card img[width="100"] {
  width: 220px;  
  max-width: 100%;  
  height: auto;  
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  aspect-ratio: 1/1;
}

.jwe-matrix .jwe-node--small-img,
.jwe-matrix .jwe-card--small-img,
.jwe-matrix .jwe-node:has(img[width="140"]),
.jwe-matrix .jwe-node:has(img[width="120"]),
.jwe-matrix .jwe-node:has(img[width="100"]),
.jwe-matrix .jwe-card:has(img[width="140"]),
.jwe-matrix .jwe-card:has(img[width="120"]),
.jwe-matrix .jwe-card:has(img[width="100"]) {
  text-align: center;
  align-items: center;
  border-left: none;
  border-top: 4.5px solid var(--jwe-accent);
  height: auto;  
}

.jwe-card a:not(.jwe-actuator-main):not(.jwe-actuator-ghost),
.jwe-module a:not(.jwe-actuator-main):not(.jwe-actuator-ghost) {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.jwe-card a .jwe-card-title,
.jwe-card a .jwe-module-head,
.jwe-module a .jwe-card-title,
.jwe-module a .jwe-module-head,
article.jwe-card .jwe-card-title {
  color: var(--jwe-text) !important;
}

.jwe-card a .jwe-card-body,
.jwe-card a .jwe-module-core,
.jwe-module a .jwe-card-body,
.jwe-module a .jwe-module-core,
article.jwe-card .jwe-card-body {
  color: var(--jwe-text-muted) !important;
}

.jwe-card a .jwe-card__meta,
.jwe-module a .jwe-module__meta,
article.jwe-card .jwe-card__meta,
.jwe-card__meta {
  color: var(--jwe-text-muted) !important;
}

.jwe-card__meta,
.jwe-module__meta,
.jwe-node__meta,
.jwe-unit__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding: var(--jwe-space-sm) var(--jwe-space-md) 0; 
  font-size: 0.85rem; 
  color: var(--jwe-text-muted, #666);
  border-top: 1px solid var(--jwe-border, #e5e7eb);
  margin-top: auto;
}
.jwe-card__date,
.jwe-module__date,
.jwe-node__date,
.jwe-unit__date {
  display: inline-flex;
  align-items: center;
}
.jwe-card__reading,
.jwe-module__reading,
.jwe-node__reading,
.jwe-unit__reading {
  display: inline-flex;
  align-items: center;
  gap: var(--jwe-space-xs);
}
.jwe-card__rating,
.jwe-module__rating,
.jwe-node__rating,
.jwe-unit__rating {
  display: inline-flex;
  align-items: center;
  color: var(--jwe-warning, #f59e0b);
  font-weight: 500;
}
.jwe-card__comments,
.jwe-module__comments,
.jwe-node__comments,
.jwe-unit__comments {
  display: inline-flex;
  align-items: center;
}
.jwe-card__author,
.jwe-module__author,
.jwe-node__author,
.jwe-unit__author {
  display: inline-flex;
  align-items: center;
}
.jwe-card__author::before,
.jwe-module__author::before,
.jwe-node__author::before,
.jwe-unit__author::before {
  content: 'by';
  margin-right: 0.25rem;
  font-weight: 400;
  opacity: 0.7;
}
.jwe-card__views,
.jwe-module__views,
.jwe-node__views,
.jwe-unit__views {
  display: inline-flex;
  align-items: center;
  color: var(--jwe-text-muted, #6b7280);
}

.jwe-card__category,
.jwe-module__category {
  display: inline-flex;
  align-items: center;
  color: var(--jwe-accent, #3b82f6);
  font-weight: 500;
}

.jwe-card-image,
.jwe-node-media {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  display: block;
}

article.jwe-node {
  padding: 0;  
  overflow: hidden;
}

.jwe-node > a > .jwe-card-image,
.jwe-node > a > picture > .jwe-card-image {
  margin: 0;
  border-radius: 0;
}

.jwe-card__content,
.jwe-module__content,
.jwe-node__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.8125rem 0.8125rem 0.4375rem 0.8125rem;
}
.jwe-card__content .jwe-tag,
.jwe-module__content .jwe-tag,
.jwe-node__content .jwe-tag {
  margin: 0 0 0.5rem;
}
.jwe-card__content .jwe-card-title,
.jwe-card__content .jwe-module-head,
.jwe-module__content .jwe-card-title,
.jwe-module__content .jwe-module-head,
.jwe-node__content .jwe-node-id {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jwe-card__content .jwe-card-body,
.jwe-card__content .jwe-module-core,
.jwe-module__content .jwe-card-body,
.jwe-module__content .jwe-module-core,
.jwe-node__content .jwe-node-data {
  margin: 0;
  font-size: 0.9rem;
  color: var(--jwe-text-muted) !important;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1; 
}

.jwe-card a:not(.jwe-actuator-main):not(.jwe-actuator-ghost),
.jwe-module a:not(.jwe-actuator-main):not(.jwe-actuator-ghost),
.jwe-node a:not(.jwe-actuator-main):not(.jwe-actuator-ghost) {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.jwe-card__link,
.jwe-card-link,
.jwe-read-more {
  color: var(--jwe-accent) !important;
  font-weight: 600;
}
.jwe-card__link:hover,
.jwe-card-link:hover,
.jwe-read-more:hover {
  text-decoration: underline;
}

.jwe-card--featured,
.jwe-node--featured,
.jwe-unit--featured {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
}
.jwe-card--featured > img,
.jwe-node--featured > img,
.jwe-unit--featured > img {
  width: 50%;
  max-width: none;
  flex-shrink: 0;
  object-fit: cover;
}
.jwe-card--featured > .jwe-module__content,
.jwe-card--featured > .jwe-card-body-wrap,
.jwe-node--featured > .jwe-node-data,
.jwe-unit--featured > .jwe-unit-body {
  padding: var(--jwe-space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.jwe-card--featured .jwe-node-id,
.jwe-card--featured .jwe-card-title {
  font-size: 1.5rem;
}
@media (max-width: 800px) {
  .jwe-card--featured,
  .jwe-node--featured,
  .jwe-unit--featured {
    grid-column: span 1;
    flex-direction: column;
  }
  .jwe-card--featured > img,
  .jwe-node--featured > img,
  .jwe-unit--featured > img {
    width: 100%;
  }
}

.jwe-related-section {
  padding: 1.5rem 0;  
  background: var(--jwe-bg, #f8f9fa);
}
.jwe-related-section .jwe-section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.jwe-related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
}

.jwe-grid--compact,
.jwe-matrix--compact {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--jwe-space-md);
}
@media (max-width: 540px) {
  .jwe-grid--compact,
  .jwe-matrix--compact {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--jwe-space-sm);
  }
}

.jwe-grid--single,
.jwe-matrix--single {
  display: flex;
  justify-content: center;
}
.jwe-grid--single > *,
.jwe-matrix--single > * {
  max-width: var(--jwe-card-max-single, 28rem);
  width: 100%;
}
.jwe-grid--two,
.jwe-matrix--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(var(--jwe-card-min, 17rem), var(--jwe-card-max, 25rem)));
  justify-content: center;
  gap: var(--jwe-grid-gap, 1.5rem);
}
@media (max-width: 800px) {
  .jwe-grid--two,
  .jwe-matrix--two {
    grid-template-columns: 1fr;
  }
  .jwe-grid--two > *,
  .jwe-matrix--two > * {
    max-width: var(--jwe-card-max, 25rem);
    margin: 0 auto;
  }
}

.jwe-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--jwe-grid-gap, 1.5rem);
  justify-content: center;
}

.jwe-related-grid > * {
  max-width: 360px;
}

.jwe-related-grid:has(> *:only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}
.jwe-related-grid > *:only-child {
  max-width: 360px;
  width: 100%;
}

.jwe-related-grid--single {
  display: flex;
  justify-content: center;
}
.jwe-related-grid--single > * {
  max-width: 360px;
  width: 100%;
}

.jwe-related-grid--two {
  justify-content: center;
}
@media (max-width: 800px) {
  
  .jwe-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jwe-related-grid > * {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 540px) {
  .jwe-related-grid {
    grid-template-columns: 1fr;
  }
}

.jwe-author-grid,
.jwe-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--jwe-grid-gap, 1.5rem);
  justify-content: center;
}
.jwe-author-grid > *,
.jwe-category-grid > * {
  max-width: 360px;  
}

.jwe-author-grid:has(> *:only-child),
.jwe-category-grid:has(> *:only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}
.jwe-author-grid > *:only-child,
.jwe-category-grid > *:only-child {
  max-width: 360px;  
  width: 100%;
}
@media (max-width: 800px) {
  
  .jwe-author-grid,
  .jwe-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jwe-author-grid > *,
  .jwe-category-grid > * {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 540px) {
  .jwe-author-grid,
  .jwe-category-grid {
    grid-template-columns: 1fr;
  }
  .jwe-author-grid > *,
  .jwe-category-grid > * {
    max-width: none;
  }
}

.jwe-grid--cols-2,
.jwe-matrix--cols-2,
.jwe-array--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.jwe-grid--cols-3,
.jwe-matrix--cols-3,
.jwe-array--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.jwe-grid--cols-4,
.jwe-matrix--cols-4,
.jwe-array--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .jwe-grid--cols-4,
  .jwe-matrix--cols-4,
  .jwe-array--cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));  
  }
}
@media (max-width: 800px) {
  
  .jwe-grid--cols-2,
  .jwe-matrix--cols-2,
  .jwe-array--cols-2,
  .jwe-grid--cols-3,
  .jwe-matrix--cols-3,
  .jwe-array--cols-3,
  .jwe-grid--cols-4,
  .jwe-matrix--cols-4,
  .jwe-array--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .jwe-team-grid .jwe-matrix,
  .jwe-team-grid .jwe-grid,
  .jwe-team-grid .jwe-array,
  .jwe-matrix .jwe-matrix,
  .jwe-matrix .jwe-grid,
  .jwe-grid .jwe-matrix,
  .jwe-grid .jwe-grid,
  .jwe-array .jwe-matrix,
  .jwe-array .jwe-grid {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .jwe-grid--cols-2 > *,
  .jwe-matrix--cols-2 > *,
  .jwe-array--cols-2 > *,
  .jwe-grid--cols-3 > *,
  .jwe-matrix--cols-3 > *,
  .jwe-array--cols-3 > *,
  .jwe-grid--cols-4 > *,
  .jwe-matrix--cols-4 > *,
  .jwe-array--cols-4 > * {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .jwe-grid--cols-2,
  .jwe-matrix--cols-2,
  .jwe-array--cols-2,
  .jwe-grid--cols-3,
  .jwe-matrix--cols-3,
  .jwe-array--cols-3,
  .jwe-grid--cols-4,
  .jwe-matrix--cols-4,
  .jwe-array--cols-4 {
    grid-template-columns: 1fr;
  }
}

.jwe-faq--cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--jwe-grid-gap, 1.5rem);
  max-width: none;
}
.jwe-faq--cards .jwe-faq-item {
  border: 1px solid var(--jwe-border);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-space-lg);
  background: var(--jwe-surface);
}
.jwe-faq--cards .jwe-faq-item summary {
  padding: 0 0 1rem 0;
}
.jwe-faq--cards .jwe-faq-answer {
  padding: 0;
}

footer[class*="jwe-"],
.jwe-base-plate,
.jwe-footer,
.jwe-colophon {
  background: var(--jwe-header-bg);
  color: var(--jwe-header-text);
  padding: 3.25rem 0 2.5rem;  
  margin-top: auto;
}
footer[class*="jwe-"] h4,
footer[class*="jwe-"] a,
footer[class*="jwe-"] p,
.jwe-base-plate h4,
.jwe-base-plate a,
.jwe-base-plate p,
.jwe-footer h4,
.jwe-footer a,
.jwe-footer p,
.jwe-colophon h4,
.jwe-colophon a,
.jwe-colophon p {
  color: var(--jwe-header-text);
}
footer[class*="jwe-"] a:hover,
.jwe-base-plate a:hover,
.jwe-footer a:hover,
.jwe-colophon a:hover {
  color: var(--jwe-logo-color, var(--jwe-accent));
  text-decoration: none;
}

.jwe-lattice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--jwe-space-xl);
  margin-bottom: 2rem;
}
.jwe-footer-about {
  max-width: 400px;
}
.jwe-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jwe-footer-links li {
  margin-bottom: 0.5rem;  
  overflow-wrap: break-word; 
}

.jwe-base-plate-copyright,
.jwe-footer-copyright,
.jwe-colophon-copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;  
  word-break: break-word; 
}

@media (max-width: 800px) {
  .jwe-lattice {
    grid-template-columns: 1fr;
  }
}

.jwe-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--jwe-space-sm);
  margin-top: 1rem;
}

.jwe-social-links--centered {
  justify-content: center;
  margin: var(--jwe-space-lg) 0;
}

.jwe-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;

  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--jwe-footer-text, #fff);
  transition: all 0.2s ease;
  text-decoration: none;
}

.jwe-social-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
}

.jwe-social-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.jwe-social-link:hover {
  background: var(--jwe-text, #222);
  transform: translateY(-2px);
}

/* MODULE_START */

:root {
  
  --jwe-max-width: 1100px;
  --jwe-sidebar-width: 320px;
  --jwe-sidebar-author-size: 80%;

  
}


*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  max-width: 100%;
}
body {
  overflow-x: clip;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-anchor: none;
  color-scheme: light only;
  -webkit-text-size-adjust: 100%;
}
main { flex: 1; min-width: 0; max-width: 100%; overflow-x: clip; }
img, video, embed, object, iframe {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
  max-width: 100%;
  overflow: hidden;
}
pre {
  max-width: 100%;
  overflow-x: auto;
}
table {
  max-width: 100%;
}

.jwe-manifold,
.jwe-mainframe,
.jwe-container,
.jwe-wrap,
.jwe-lab-frame,
.jwe-frame {
  width: 100%;
  max-width: var(--jwe-max-width, 1200px);
  margin: 0 auto;
  padding-inline: var(--jwe-container-padding-inline, clamp(1rem, 3vw, 2rem));  
  box-sizing: border-box;
}

.jwe-stratum,
.jwe-module,
.jwe-section,
.jwe-block {
  width: 100%;
  padding: var(--jwe-section-padding-top, 3rem) clamp(1rem, 3vw, 2rem) var(--jwe-section-padding-bottom, 3rem);
  box-sizing: border-box;
}

section.jwe-stratum,
section.jwe-section,
section.jwe-block {
  max-width: var(--jwe-max-width, 1100px);
  margin-inline: auto;
}

.jwe-stratum + .jwe-stratum,
.jwe-stratum + .jwe-module,
.jwe-stratum + .jwe-section,
.jwe-stratum + .jwe-block,
.jwe-module + .jwe-stratum,
.jwe-module + .jwe-module,
.jwe-module + .jwe-section,
.jwe-module + .jwe-block,
.jwe-section + .jwe-stratum,
.jwe-section + .jwe-module,
.jwe-section + .jwe-section,
.jwe-section + .jwe-block,
.jwe-block + .jwe-stratum,
.jwe-block + .jwe-module,
.jwe-block + .jwe-section,
.jwe-block + .jwe-block,
[class*="jwe-simulation"] + .jwe-stratum,
[class*="jwe-simulation"] + .jwe-module,
[class*="jwe-simulation"] + .jwe-section,
[class*="jwe-simulation"] + .jwe-block,
[class*="jwe-showcase"] + .jwe-stratum,
[class*="jwe-showcase"] + .jwe-module,
[class*="jwe-showcase"] + .jwe-section,
[class*="jwe-showcase"] + .jwe-block,
[class*="jwe-banner"] + .jwe-stratum,
[class*="jwe-banner"] + .jwe-module,
[class*="jwe-banner"] + .jwe-section,
[class*="jwe-banner"] + .jwe-block {
  padding-top: 0;
}

.jwe-stratum + .jwe-matrix,
.jwe-module + .jwe-matrix,
.jwe-section + .jwe-matrix,
.jwe-block + .jwe-matrix,
[class*="jwe-simulation"] + .jwe-matrix,
[class*="jwe-showcase"] + .jwe-matrix,
[class*="jwe-banner"] + .jwe-matrix {
  margin-top: var(--jwe-section-gap, 2rem);
}



.jwe-matrix:not(.jwe-team-grid) > .jwe-module,
.jwe-array:not(.jwe-team-grid) > .jwe-module,
.jwe-grid:not(.jwe-team-grid) > .jwe-module,
.jwe-matrix:not(.jwe-team-grid) > .jwe-stratum,
.jwe-array:not(.jwe-team-grid) > .jwe-stratum,
.jwe-grid:not(.jwe-team-grid) > .jwe-stratum,
.jwe-matrix:not(.jwe-team-grid) > .jwe-section,
.jwe-array:not(.jwe-team-grid) > .jwe-section,
.jwe-grid:not(.jwe-team-grid) > .jwe-section,
.jwe-matrix:not(.jwe-team-grid) > .jwe-block,
.jwe-array:not(.jwe-team-grid) > .jwe-block,
.jwe-grid:not(.jwe-team-grid) > .jwe-block,
.jwe-matrix:not(.jwe-team-grid) > .jwe-card,
.jwe-array:not(.jwe-team-grid) > .jwe-card,
.jwe-grid:not(.jwe-team-grid) > .jwe-card {
  padding: 0.5rem;  
  width: auto;  
}

.jwe-stratum > h2:first-child,
.jwe-stratum > .jwe-manifold > h2:first-child,
.jwe-stratum > .jwe-lab-frame > h2:first-child,
.jwe-module > h2:first-child,
.jwe-module > .jwe-manifold > h2:first-child,
.jwe-module > .jwe-lab-frame > h2:first-child,
.jwe-section > h2:first-child,
.jwe-section > .jwe-manifold > h2:first-child,
.jwe-section > .jwe-lab-frame > h2:first-child,
.jwe-block > h2:first-child,
.jwe-block > .jwe-manifold > h2:first-child,
.jwe-block > .jwe-lab-frame > h2:first-child {
  margin-top: 0;  
}

.jwe-simulation .jwe-actuator,
.jwe-simulation .jwe-actuator-main,
.jwe-showcase .jwe-actuator,
.jwe-showcase .jwe-actuator-main,
.jwe-banner .jwe-actuator,
.jwe-banner .jwe-actuator-main,
.jwe-lead .jwe-actuator,
.jwe-lead .jwe-actuator-main {
  margin-top: var(--jwe-space-lg, 1.5rem);
}

.jwe-simulation-env,
.jwe-simulation,
[class*="jwe-simulation"],
.jwe-showcase,
[class*="jwe-showcase"],
.jwe-banner,
[class*="jwe-banner"] {
  width: 100%;
  margin-top: 0;
}
#main-content > [class*="jwe-simulation"]:first-child,
#main-content > [class*="jwe-showcase"]:first-child,
#main-content > [class*="jwe-banner"]:first-child {
  margin-top: 0;
}


#main-content {
  padding-top: var(--jwe-content-padding, 0);
}
#main-content:not(:has([class*="jwe-simulation"])):not(:has([class*="jwe-showcase"])):not(:has([class*="jwe-banner"])) {
  padding-top: var(--jwe-content-padding, 0);
}

#main-content > .jwe-stratum:first-child:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
.jwe-content > .jwe-stratum:first-child:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
main > .jwe-stratum:first-child:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
#main-content > .jwe-section:first-child:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
#main-content > .jwe-block:first-child:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
main > section:first-of-type:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),
.jwe-content > section:first-of-type:not([class*="jwe-simulation"]):not([class*="jwe-showcase"]):not([class*="jwe-banner"]),

#main-content > .jwe-module:first-child,
.jwe-content > .jwe-module:first-child,
main > .jwe-module:first-child,

.jwe-lab-frame > article,
.jwe-manifold > article,
.jwe-container > article {
  padding-top: 0;
  --jwe-section-padding-top: 0; 
}


.jwe-lab-frame > article:has(> h1:first-child) {
  padding-top: var(--jwe-content-padding, 1.5rem);
}

.jwe-stratum > p:first-child,
.jwe-stratum > h1:first-child,
.jwe-manifold > p:first-child,
article > p:first-child,
article > h1:first-child {
  margin-top: 0;
}

.jwe-stratum .jwe-grid-2 img {
  width: 100%;
  height: auto;
  aspect-ratio: unset;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-stratum figure,
.jwe-manifold > figure,
.jwe-figure {
  margin: var(--jwe-figure-margin-top, 1.5rem) auto var(--jwe-figure-margin-bottom, 1.5rem);
  max-width: 100%;
}
.jwe-stratum figure img,
.jwe-manifold > figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-stratum figcaption {
  text-align: center;
  margin-top: var(--jwe-space-sm, 0.5rem);
  font-size: 0.875rem;
  color: var(--jwe-text-muted);
}

.jwe-stratum h2,
.jwe-manifold h2 {
  margin-top: var(--jwe-space-md, 1rem);
  margin-bottom: var(--jwe-space-sm, 0.5rem);
}
.jwe-stratum h2:first-child,
.jwe-manifold h2:first-child {
  margin-top: 0;  
}
@media (max-width: 800px) {
  .jwe-stratum h2,
  .jwe-manifold h2 {
    margin-top: var(--jwe-space-sm, 0.5rem);
    margin-bottom: var(--jwe-space-xs, 0.35rem);
  }
}

h1, .jwe-h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 var(--jwe-space-md);
}
h2, .jwe-h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}
h3, .jwe-h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.3;
  margin-top: var(--jwe-h3-margin-top, 1.25rem);
  margin-bottom: var(--jwe-h3-margin-bottom, 0.5rem);
}
h4, .jwe-h4 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.35;
  margin-top: var(--jwe-h4-margin-top, 1rem);
  margin-bottom: var(--jwe-h4-margin-bottom, 0.5rem);
}
h5, .jwe-h5 {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.4;
  margin-top: var(--jwe-h5-margin-top, 1rem);
  margin-bottom: var(--jwe-h5-margin-bottom, 0.5rem);
}
h6, .jwe-h6 {
  font-size: clamp(0.9rem, 1.25vw, 1rem);
  line-height: 1.4;
  margin-top: var(--jwe-h6-margin-top, 0.75rem);
  margin-bottom: var(--jwe-h6-margin-bottom, 0.5rem);
}

pre, .jwe-pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--jwe-surface, #f5f5f5);
  padding: var(--jwe-space-md);
  border-radius: var(--jwe-radius, 0.5rem);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: var(--jwe-space-lg) 0;
  max-width: 100%;
}
code, .jwe-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.875em;
  background: var(--jwe-surface, #f5f5f5);
  padding: 0.15rem 0.35rem;
  border-radius: var(--jwe-radius-sm, 0.25rem);
}
pre code, .jwe-pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}
@media (max-width: 540px) {
  pre, .jwe-pre {
    padding: var(--jwe-space-sm);
    font-size: 0.8rem;
    margin: var(--jwe-space-md) 0;
  }
}

.jwe-text-center { text-align: center; }
.jwe-text-muted { color: var(--jwe-text-muted); }
.jwe-text-italic { font-style: italic; }
.jwe-mt-1 { margin-top: 0.5rem; }
.jwe-mt-2 { margin-top: 1rem; }
.jwe-mt-3 { margin-top: 1.5rem; }
.jwe-mt-4 { margin-top: 2rem; }
.jwe-mb-1 { margin-bottom: 0.5rem; }
.jwe-mb-2 { margin-bottom: 1rem; }
.jwe-mb-3 { margin-bottom: 1.5rem; }
.jwe-mb-4 { margin-bottom: 2rem; }
.jwe-segment { padding: var(--jwe-space-xl) 0; width: 100%; }

.jwe-constrained {
  max-width: var(--jwe-max-w, 100%);
}

.jwe-container.jwe-constrained {
  max-width: calc(var(--jwe-max-w, 100%) + clamp(2rem, 6vw, 4rem));
}
.jwe-article.jwe-article--centered {
  max-width: var(--jwe-max-w, 900px);
  margin: 0 auto;
}
.jwe-author-photo {
  width: var(--jwe-photo-w, 100%);
  display: block; 
}

.jwe-stratum + .jwe-segment,
.jwe-cta + .jwe-segment { padding-top: 0.5rem; }

.jwe-small { font-size: 0.875rem; }
.jwe-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-cta {
  text-align: center;
  padding: var(--jwe-space-lg, 1.5rem);
  margin: var(--jwe-space-md, 1rem) 0;
}
.jwe-grant-block {
  padding: var(--jwe-space-md) var(--jwe-space-lg);
  background: var(--jwe-surface);
  border-left: 4.5px solid var(--jwe-primary);
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-team-photo-wrap {
  margin: var(--jwe-space-md) 0;
}
.jwe-team-photo-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-matrix > div:has(> img:only-child),
.jwe-matrix > div:has(> figure:only-child),
.jwe-array > div:has(> img:only-child),
.jwe-grid > div:has(> img:only-child) {
  align-self: start;
}
.jwe-matrix > div > img:only-child,
.jwe-array > div > img:only-child,
.jwe-grid > div > img:only-child {
  width: 100%;
  height: auto;
  display: block;
}


.jwe-alert--info {
  border-left-color: var(--jwe-primary);
  background-color: rgba(0, 90, 140, 0.08);
}
.jwe-alert--success {
  border-left-color: var(--jwe-success);
  background-color: rgba(16, 185, 129, 0.08);
}


.jwe-alert {
  padding: var(--jwe-space-md) var(--jwe-space-lg);
  border-left: 4.5px solid var(--jwe-primary);
  border-radius: var(--jwe-radius, 0.5rem);
  background-color: var(--jwe-surface);
  margin: var(--jwe-space-md) 0;
  clear: both; 
}
.jwe-alert--warning {
  border-left-color: var(--jwe-warning);
  background-color: rgba(245, 158, 11, 0.08);
}
.jwe-alert--trust {
  border-left-color: var(--jwe-success);
  background-color: rgba(16, 185, 129, 0.05);
}


.jwe-figure img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-figure figcaption {
  font-size: 0.875rem;
  color: var(--jwe-text-muted);
  margin-top: var(--jwe-space-sm, 0.5rem);
  text-align: center;
}
.jwe-img-full {
  width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--float-left {
  float: left;
  max-width: 40%;
  margin: 0 var(--jwe-space-lg) var(--jwe-space-md) 0;
  clear: left;
}
.jwe-figure--float-left img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-figure--float-right {
  float: right;
  max-width: 40%;
  margin: 0 0 var(--jwe-space-md) var(--jwe-space-lg);
  clear: right;
}
.jwe-figure--float-right img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-figure--float-right img {
  width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-paper__content h2,
.jwe-paper__content h3,
.jwe-paper__content .jwe-subheading {
  clear: both;
}

.jwe-figure--full-width {
  width: 100%;
  margin: var(--jwe-space-lg) 0;
}
.jwe-figure--full-width img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--medium {
  width: 100%;
  max-width: 600px;
  margin: var(--jwe-space-lg) auto;
}
.jwe-figure--medium img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--small,
.jwe-figure--inline {
  width: 100%;
  max-width: 350px;
  margin: var(--jwe-space-md) auto;
}
.jwe-figure--small img,
.jwe-figure--inline img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--diagram {
  width: fit-content;
  max-width: min(720px, 100%);
  margin: var(--jwe-space-lg) auto;
  padding: var(--jwe-space-md);
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--diagram.jwe-diagram-bg--gradient {
  background: linear-gradient(225deg, var(--jwe-surface) 0%, var(--jwe-bg-alt, #f5f5f5) 100%);
}

.jwe-figure--diagram.jwe-diagram-bg--solid {
  background: var(--jwe-bg-alt, #f5f5f5);
}

.jwe-figure--diagram.jwe-diagram-bg--tinted {
  background: color-mix(in srgb, var(--jwe-primary) 0.07, var(--jwe-surface) 100%);
}

.jwe-figure--diagram.jwe-diagram-bg--bordered {
  background: var(--jwe-surface, #fff);
  border-left: 3px solid var(--jwe-primary);
}
.jwe-figure--diagram.jwe-diagram-bg--bordered.jwe-border-top {
  border-left: none;
  border-top: 3px solid var(--jwe-primary);
}
.jwe-figure--diagram.jwe-diagram-bg--bordered.jwe-border-full {
  border: 2px solid var(--jwe-primary);
  border-left-width: 2px;
}
.jwe-figure--diagram.jwe-diagram-bg--bordered.jwe-border-bottom {
  border-left: none;
  border-bottom: 3px solid var(--jwe-primary);
}
.jwe-figure--diagram img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

.jwe-figure--wide {
  width: 100%;
  margin: var(--jwe-space-xl) 0;
}
.jwe-figure--wide img {
  max-width: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-figure--wide.jwe-figure--diagram img {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
}

.jwe-figure--hero {
  width: 100%;
  margin: 0 0 var(--jwe-space-lg) 0;
}
.jwe-figure--hero img {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--square {
  width: 100%;
  max-width: 500px;
  margin: var(--jwe-space-lg) auto;
}
.jwe-figure--square img {
  max-width: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-figure--portrait {
  width: 100%;
  max-width: 400px;
  margin: var(--jwe-space-lg) auto;
}
.jwe-figure--portrait img {
  max-width: 100%;
  width: auto;
  height: auto;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-radius: var(--jwe-radius, 0.5rem);
}


.jwe-img-float-left {
  float: left;
  max-width: 40%;
  margin: 0 var(--jwe-space-lg) var(--jwe-space-md) 0;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-img-float-right {
  float: right;
  max-width: 40%;
  margin: 0 0 var(--jwe-space-md) var(--jwe-space-lg);
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: var(--jwe-space-lg) 0;
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.jwe-team-photo {
  max-width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-card .jwe-team-photo {
  width: auto;  
  height: auto;
  aspect-ratio: 1/1;
  max-width: 240px;  
  margin: 0 auto 1rem;
  display: block;
  object-fit: cover;
}


.jwe-highlight {
  background: linear-gradient(transparent 60%, rgba(var(--jwe-primary-rgb, 0, 90, 140), 0.2) 60%);
  padding: 0 0.25rem;
}
.jwe-quote {
  padding: var(--jwe-space-md) var(--jwe-space-lg);
  border-left: 4.5px solid var(--jwe-accent);
  font-style: italic;
  background: var(--jwe-surface);
  margin: var(--jwe-space-lg) 0;
  border-radius: 0 var(--jwe-radius, 0.5rem) var(--jwe-radius, 0.5rem) 0;
}
.jwe-summary {
  padding: var(--jwe-space-lg);
  background: var(--jwe-surface);
  border: 1px solid var(--jwe-border);
  border-radius: var(--jwe-radius, 0.5rem);
  margin: var(--jwe-space-lg) 0;
}


.jwe-list--numbered {
  list-style: decimal;
  padding-left: 1.5rem;
}
.jwe-list--pros {
  list-style: none;
  padding-left: 0;
}
.jwe-list--pros li::before {
  content: "✓";
  color: var(--jwe-success);
  margin-right: 0.5rem;
  font-weight: bold;
}
.jwe-list--cons {
  list-style: none;
  padding-left: 0;
}
.jwe-list--cons li::before {
  content: "✗";
  color: var(--jwe-error);
  margin-right: 0.5rem;
  font-weight: bold;
}


.jwe-table--comparison {
  width: 100%;
}
.jwe-table--comparison th {
  background: var(--jwe-surface);
  text-align: left;
}
.jwe-table--comparison td:first-child {
  font-weight: 600;
}


.jwe-actuator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--jwe-button-padding-y, 0.75rem) var(--jwe-button-padding-x, 1.5rem);
  min-height: var(--jwe-button-height, 2.75rem);
  text-decoration: none;
  border-radius: var(--jwe-radius, 0.5rem);
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}
.jwe-actuator:hover {
  transform: translateY(-1px);
}
.jwe-actuator:focus-visible,
.jwe-actuator-main:focus-visible,
.jwe-actuator-ghost:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.3);
}
.jwe-actuator-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--jwe-button-padding-y) var(--jwe-button-padding-x);
  background: var(--jwe-primary);
  color: var(--jwe-button-text) !important;
  text-decoration: none;
  border-radius: var(--jwe-radius, 0.5rem);
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}


.jwe-mt-gap {
  margin-top: var(--jwe-section-gap, 2rem);
}
.jwe-actuator-main:hover {
  filter: brightness(1.1);
}
.jwe-actuator-ghost {
  background: transparent;
  color: var(--jwe-accent);
  padding: var(--jwe-space-sm) 0;
  text-decoration: none;
  filter: brightness(0.85);
}
.jwe-actuator-ghost:hover {
  text-decoration: underline;
  filter: brightness(0.7);
}

p + .jwe-actuator-main,
p + .jwe-actuator-ghost {
  margin-top: var(--jwe-button-margin-top);
}

.jwe-callout {
  padding: var(--jwe-space-md);
  background: var(--jwe-surface);
  border-left: 4.5px solid var(--jwe-accent);
  margin: var(--jwe-space-md) 0;
}
.jwe-list { padding-left: 1.5rem; }
.jwe-list--checked { list-style: none; padding-left: 0; }
.jwe-list--checked li::before { content: "✓ "; color: var(--jwe-success); }



.jwe-header,
.jwe-masthead,
.jwe-control-panel,
.jwe-control-plane {
  width: 100%;
  background: var(--jwe-header-bg);
  color: var(--jwe-header-text);
  padding: 0.5rem 0;  
}


.jwe-header .jwe-mainframe,
.jwe-header .jwe-manifold,
.jwe-header .jwe-container,
.jwe-header .jwe-wrap,
.jwe-header .jwe-lab-frame,
.jwe-header .jwe-frame,
.jwe-masthead .jwe-mainframe,
.jwe-masthead .jwe-manifold,
.jwe-masthead .jwe-container,
.jwe-masthead .jwe-wrap,
.jwe-masthead .jwe-lab-frame,
.jwe-masthead .jwe-frame,
.jwe-control-panel .jwe-mainframe,
.jwe-control-panel .jwe-manifold,
.jwe-control-panel .jwe-container,
.jwe-control-panel .jwe-wrap,
.jwe-control-panel .jwe-lab-frame,
.jwe-control-panel .jwe-frame,
.jwe-control-plane .jwe-mainframe,
.jwe-control-plane .jwe-manifold,
.jwe-control-plane .jwe-container,
.jwe-control-plane .jwe-wrap,
.jwe-control-plane .jwe-lab-frame,
.jwe-control-plane .jwe-frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--jwe-space-md);
  flex-wrap: wrap;
}


.jwe-brand {
  flex-shrink: 0;
  overflow: hidden;
  max-width: 210px;
}
.jwe-logo {
  display: block;
  text-decoration: none;
}
.jwe-logo img {
  width: 150px;
  max-width: 100%;
  height: auto;
  display: block;
}


.jwe-nav,
.jwe-nav-bar,
.jwe-circuit,
.jwe-trajectory,
nav.jwe-nav,
nav.jwe-nav-bar,
nav.jwe-circuit,
nav.jwe-trajectory {
  flex: 1;
  min-width: 0;
}


.jwe-nav ul,
.jwe-nav-bar ul,
.jwe-circuit ul,
.jwe-trajectory ul,
nav.jwe-nav ul,
nav.jwe-nav-bar ul,
nav.jwe-circuit ul,
nav.jwe-trajectory ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;  
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.125rem;  
  list-style: none;
  margin: 0;
  padding: 0;
}


.jwe-nav li,
.jwe-nav-bar li,
.jwe-circuit li,
.jwe-trajectory li,
.jwe-nav-link,
.jwe-nav-item,
.jwe-circuit-link,
nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}


.jwe-nav a,
.jwe-nav-bar a,
.jwe-circuit a,
.jwe-trajectory a,
.jwe-nav-link a,
.jwe-nav-item a,
.jwe-circuit-link a,
nav.jwe-nav a,
nav.jwe-nav-bar a,
nav.jwe-circuit a,
nav.jwe-trajectory a {
  display: block;
  padding: var(--jwe-space-sm) 0;
  color: var(--jwe-header-text);
  text-decoration: none;
  font-weight: 400;  
  font-size: 0.9rem;  
  transition: opacity 0.2s ease;
}
.jwe-nav a:hover,
.jwe-nav-bar a:hover,
.jwe-circuit a:hover,
.jwe-trajectory a:hover,
.jwe-nav-link a:hover,
.jwe-circuit-link a:hover {
  opacity: 0.8;
  text-decoration: none;
}


.jwe-nav-bar a:focus-visible,
.jwe-circuit a:focus-visible,
.jwe-trajectory a:focus-visible,
.jwe-nav-link a:focus-visible,
.jwe-circuit-link a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--jwe-primary, #3b82f6);
  border-radius: var(--jwe-radius-xs, 2px);
}


.jwe-nav-link--active a,
.jwe-nav-item--active a,
.jwe-circuit-link--active a {
  font-weight: 600;
  border-bottom: 2px solid var(--jwe-accent);
}



.jwe-circuit .jwe-node,
.jwe-trajectory .jwe-node,
.jwe-nav .jwe-node,
.jwe-nav-bar .jwe-node,
nav .jwe-node,
.jwe-circuit li.jwe-node,
.jwe-trajectory li.jwe-node,
nav li.jwe-node,
[data-nav-item].jwe-node {
  background: transparent;
  border: none;
  border-left: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  height: auto;
  display: block;
  flex-direction: unset;
}
.jwe-circuit .jwe-node:hover,
.jwe-trajectory .jwe-node:hover,
.jwe-nav .jwe-node:hover,
nav .jwe-node:hover,
[data-nav-item].jwe-node:hover {
  transform: none;
  box-shadow: none;
}



.jwe-matrix .jwe-node a,
.jwe-matrix .jwe-node-id a,
main .jwe-node a,
main .jwe-node-id a,
.jwe-stratum .jwe-node a,
.jwe-stratum .jwe-node-id a {
  color: var(--jwe-primary);
  text-decoration: none;
}
.jwe-matrix .jwe-node a:hover,
.jwe-matrix .jwe-node-id a:hover,
main .jwe-node a:hover,
main .jwe-node-id a:hover,
.jwe-stratum .jwe-node a:hover,
.jwe-stratum .jwe-node-id a:hover {
  color: var(--jwe-accent);
  text-decoration: underline;
}




@media (min-width: 961px) {
  .jwe-nav-item--hidden,
  [data-nav-item].jwe-nav-item--hidden {
    display: none !important;
  }
}


.jwe-has-dropdown {
  position: relative;
}
.jwe-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  padding: var(--jwe-space-sm) 0;
  background: transparent;
  border: none;
  color: var(--jwe-header-text);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}
.jwe-dropdown-toggle:hover {
  opacity: 0.8;
}
.jwe-dropdown-arrow {
  font-size: 0.7em;
  transition: transform 0.2s;
}
.jwe-has-dropdown[data-open="true"] .jwe-dropdown-arrow {
  transform: rotate(180deg);
}
.jwe-dropdown {
  
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: max-content;
  background: var(--jwe-header-bg);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--jwe-radius, 0.5rem);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: var(--jwe-space-sm) 0;
  z-index: 10010;
  list-style: none;
  margin: 0;
}

.jwe-has-dropdown.js-ready .jwe-dropdown {
  display: none;
  visibility: hidden;
  pointer-events: none;
}
.jwe-has-dropdown.js-ready[data-open="true"] .jwe-dropdown {
  display: block !important;
  visibility: visible;
  pointer-events: auto;
  
}
.jwe-dropdown li {
  margin: 0;
  padding: 0;
}
.jwe-dropdown li + li {
  border-top: none;
}
.jwe-dropdown a {
  display: block;
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  color: var(--jwe-header-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
.jwe-dropdown a:hover {
  background: rgba(255,255,255,0.1);
}

@media (max-width: 960px) {
  nav[data-state="open"] .jwe-dropdown,
  .jwe-nav[data-state="open"] .jwe-dropdown,
  .jwe-nav-bar[data-state="open"] .jwe-dropdown,
  .jwe-lattice[data-state="open"] .jwe-dropdown,
  .jwe-circuit[data-state="open"] .jwe-dropdown,
  .jwe-trajectory[data-state="open"] .jwe-dropdown {
    position: static;
    transform: none;
    background: var(--jwe-bg, #fff);  
    border: none;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
    padding: 0;
  }
  nav[data-state="open"] .jwe-dropdown a,
  .jwe-nav[data-state="open"] .jwe-dropdown a,
  .jwe-nav-bar[data-state="open"] .jwe-dropdown a,
  .jwe-lattice[data-state="open"] .jwe-dropdown a,
  .jwe-circuit[data-state="open"] .jwe-dropdown a,
  .jwe-trajectory[data-state="open"] .jwe-dropdown a {
    color: var(--jwe-text, #333);  
    padding: var(--jwe-space-sm) var(--jwe-space-lg);
    border-bottom: 1px solid var(--jwe-border, #e5e7eb);
  }
  nav[data-state="open"] .jwe-dropdown a:hover,
  .jwe-nav[data-state="open"] .jwe-dropdown a:hover,
  .jwe-nav-bar[data-state="open"] .jwe-dropdown a:hover,
  .jwe-lattice[data-state="open"] .jwe-dropdown a:hover,
  .jwe-circuit[data-state="open"] .jwe-dropdown a:hover,
  .jwe-trajectory[data-state="open"] .jwe-dropdown a:hover {
    background: var(--jwe-bg-alt, #f5f5f5);
  }
  
  nav[data-state="open"] .jwe-dropdown-toggle,
  .jwe-nav[data-state="open"] .jwe-dropdown-toggle,
  .jwe-nav-bar[data-state="open"] .jwe-dropdown-toggle,
  .jwe-lattice[data-state="open"] .jwe-dropdown-toggle,
  .jwe-circuit[data-state="open"] .jwe-dropdown-toggle,
  .jwe-trajectory[data-state="open"] .jwe-dropdown-toggle {
    color: var(--jwe-text, #333);  
    width: 100%;
    justify-content: center;
    padding: var(--jwe-space-md);
    font-size: 1.125rem;
  }
}


.jwe-nav-overflow {
  position: relative;
  display: none;  
}
.jwe-nav-overflow.jwe-nav-overflow--active {
  display: block;
}

@media (max-width: 960px) {
  .jwe-nav-overflow,
  .jwe-nav-overflow.jwe-nav-overflow--active {
    display: none !important;
  }
}
.jwe-nav-overflow__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--jwe-space-xs);
  min-width: 50px;
  min-height: 40px;
  padding: var(--jwe-space-xs) var(--jwe-space-sm);
  margin-left: var(--jwe-space-xs);
  background: transparent;
  border: none;
  color: var(--jwe-header-text);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
}
.jwe-nav-overflow__toggle:hover {
  opacity: 0.8;
}
.jwe-nav-overflow__arrow {
  font-size: 0.85em;
  transition: transform 0.2s;
}
.jwe-nav-overflow[data-open="true"] .jwe-nav-overflow__arrow {
  transform: rotate(180deg);
}
.jwe-nav-overflow__dropdown {
  
  
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: max-content;
  background: var(--jwe-header-bg);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--jwe-radius, 0.5rem);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: var(--jwe-space-sm) 0;
  z-index: 10010;
}

.jwe-nav-overflow.js-ready .jwe-nav-overflow__dropdown {
  display: none;
  visibility: hidden;
  pointer-events: none;
}
.jwe-nav-overflow.js-ready[data-open="true"] .jwe-nav-overflow__dropdown {
  display: block !important;
  visibility: visible;
  pointer-events: auto;
  
}
.jwe-nav-overflow__dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jwe-nav-overflow__dropdown li + li {
  border-top: none;
}
.jwe-nav-overflow__dropdown a {
  display: block;
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  color: var(--jwe-header-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s;
}
.jwe-nav-overflow__dropdown a:hover {
  background: rgba(255,255,255,0.1);
}


.jwe-nav-overflow__toggle--dots::after {
  content: "•••";
  letter-spacing: 2px;  
}
.jwe-nav-overflow__toggle--icon {
  font-size: 1.25rem;
}


.jwe-header-search {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 100;
  transition: transform 0.2s, background 0.2s, opacity 0.2s, filter 0.2s;
  
}
.jwe-header-search svg {
  width: calc(40px - 8px);
  height: calc(40px - 8px);
  max-width: none;
  flex-shrink: 0;
}

.jwe-header-search--pill svg {
  width: 1.1em;
  height: 1.1em;
}


.jwe-menu-toggle {
  display: none;
}


@media (max-width: 960px) {
  .jwe-circuit ul,
  .jwe-trajectory ul {
    gap: 0.25rem 0.75rem;
  }
  .jwe-circuit a,
  .jwe-trajectory a {
    font-size: 0.875rem;
  }
  .jwe-logo img {
    width: calc(150px * 0.8);
    max-width: 100%;
  }

}

@media (max-width: 960px) {
  
  .jwe-header .jwe-mainframe,
  .jwe-header .jwe-manifold,
  .jwe-masthead .jwe-mainframe,
  .jwe-masthead .jwe-manifold,
  .jwe-control-panel .jwe-mainframe,
  .jwe-control-panel .jwe-manifold,
  .jwe-control-plane .jwe-mainframe,
  .jwe-control-plane .jwe-manifold {
    flex-wrap: wrap;
  }
  .jwe-circuit,
  .jwe-trajectory {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }
  .jwe-circuit ul,
  .jwe-trajectory ul {
    justify-content: center;
    gap: 0.25rem 1rem;
  }
}

.jwe-home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jwe-header-text);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  height: 20px; 
}
.jwe-home-link:hover {
  opacity: 0.8;
}
.jwe-home-link img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}


.jwe-home-link { order: 1; }
.jwe-nav, .jwe-circuit { order: 2; flex-grow: 1; }
.jwe-header-search { order: 3; }


body.jwe-search-left .jwe-header-search { order: 0; }
body.jwe-search-left .jwe-home-link { order: 1; }
body.jwe-search-left .jwe-nav,
body.jwe-search-left .jwe-circuit { order: 2; }


body.jwe-search-edge .jwe-header-search { margin-left: auto; }
body.jwe-search-left.jwe-search-edge .jwe-header-search {
  margin-left: 0;
  margin-right: auto;
}


body.jwe-search-menu .jwe-header-search {
  margin-left: 1rem;
}
body.jwe-search-left.jwe-search-menu .jwe-header-search {
  margin-left: 0;
  margin-right: 1rem;
}


body.jwe-search-menu.jwe-search-sep .jwe-header-search::before {
  content: '';
  position: absolute;
  left: calc(-1 * 1rem / 2 - 0.5px);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.2em;
  background: currentColor;
  opacity: 0.25;
}
body.jwe-search-left.jwe-search-menu.jwe-search-sep .jwe-header-search::before {
  left: auto;
  right: calc(-1 * 1rem / 2 - 0.5px);
}


.jwe-home-link {
  margin-right: 1rem;
}
body.jwe-search-left .jwe-home-link {
  margin-right: 1rem;
  margin-left: 1rem;
}

body.jwe-home-right .jwe-home-link {
  order: 4;
  margin-right: 0;
  margin-left: auto;
}
body.jwe-home-right.jwe-search-left .jwe-home-link {
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 960px) {
  
  .jwe-control-panel .jwe-mainframe,
  .jwe-control-plane .jwe-mainframe,
  .jwe-masthead .jwe-mainframe,
  .jwe-header .jwe-mainframe,
  .jwe-control-panel .jwe-manifold,
  .jwe-control-plane .jwe-manifold,
  .jwe-masthead .jwe-manifold,
  .jwe-header .jwe-manifold {
    display: flex;
    align-items: center;
  }

  
  .jwe-home-link, .jwe-brand { order: 1; flex-grow: 1; }
  .jwe-menu-toggle { order: 2; }

  
  body.jwe-burger-left .jwe-menu-toggle { order: 1; }
  body.jwe-burger-left .jwe-home-link,
  body.jwe-burger-left .jwe-brand { order: 2; flex-grow: 1; }

  
  body.jwe-logo-center .jwe-home-link,
  body.jwe-logo-center .jwe-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-grow: 0;
  }
  body.jwe-logo-center .jwe-menu-toggle {
    position: relative;
    z-index: 1;
  }
  body.jwe-burger-left.jwe-logo-center .jwe-menu-toggle { order: 1; margin-right: auto; }
  body:not(.jwe-burger-left).jwe-logo-center .jwe-menu-toggle { order: 2; margin-left: auto; }

  
  body.jwe-logo-center .jwe-control-panel .jwe-mainframe,
  body.jwe-logo-center .jwe-control-plane .jwe-mainframe,
  body.jwe-logo-center .jwe-masthead .jwe-mainframe,
  body.jwe-logo-center .jwe-header .jwe-mainframe,
  body.jwe-logo-center .jwe-control-panel .jwe-manifold,
  body.jwe-logo-center .jwe-control-plane .jwe-manifold,
  body.jwe-logo-center .jwe-masthead .jwe-manifold,
  body.jwe-logo-center .jwe-header .jwe-manifold {
    position: relative;
  }

  
  .jwe-menu-toggle {
    width: 40px;
    height: 40px;
    gap: 6px;
  }
  .jwe-menu-toggle span {
    width: 20px;
    height: 3px;
  }
}





body.jwe-close-top-left nav[data-state="open"] .jwe-nav-close,
body.jwe-close-top-left .jwe-nav[data-state="open"] .jwe-nav-close,
body.jwe-close-top-left .jwe-nav-bar[data-state="open"] .jwe-nav-close,
body.jwe-close-top-left .jwe-circuit[data-state="open"] .jwe-nav-close,
body.jwe-close-top-left .jwe-trajectory[data-state="open"] .jwe-nav-close,
body.jwe-close-top-left .jwe-lattice[data-state="open"] .jwe-nav-close {
  right: auto;
  left: 1rem;
}


body.jwe-close-bottom nav[data-state="open"] .jwe-nav-close,
body.jwe-close-bottom .jwe-nav[data-state="open"] .jwe-nav-close,
body.jwe-close-bottom .jwe-nav-bar[data-state="open"] .jwe-nav-close,
body.jwe-close-bottom .jwe-circuit[data-state="open"] .jwe-nav-close,
body.jwe-close-bottom .jwe-trajectory[data-state="open"] .jwe-nav-close,
body.jwe-close-bottom .jwe-lattice[data-state="open"] .jwe-nav-close {
  position: static;
  margin-top: var(--jwe-space-lg, 1.5rem);
  align-self: center;
}



.jwe-simulation--overlay {
  position: relative;
  width: 100%;
  min-height: var(--jwe-hero-min-overlay, 450px); 
  display: flex;
  align-items: center;
  overflow: hidden;
}
.jwe-simulation--overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.jwe-simulation--overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.jwe-simulation--overlay > .jwe-manifold,
.jwe-simulation--overlay > .jwe-mainframe {
  position: relative;
  z-index: 2;
  max-width: 850px;
}
.jwe-simulation--overlay h1,
.jwe-simulation--overlay p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.jwe-simulation--overlay .jwe-actuator-main {
  background: var(--jwe-accent);
}

@media (max-width: 800px) {
  .jwe-simulation--overlay {
    min-height: 350px;
    padding: var(--jwe-hero-padding) 0;
  }
}



.jwe-simulation--centered {
  position: relative;
  width: 100%;
  min-height: var(--jwe-hero-min-centered, 400px);
  padding: var(--jwe-hero-padding) 0;
  background: linear-gradient(135deg, var(--jwe-bg, #f8f9fa) 0%, var(--jwe-bg-alt, #e9ecef) 100%);
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jwe-simulation--centered[style*="background-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.jwe-simulation--centered > .jwe-manifold,
.jwe-simulation--centered > .jwe-mainframe {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.jwe-simulation--centered h1 {
  margin-bottom: 1rem;
}

.jwe-simulation--centered[style*="background-image"] h1,
.jwe-simulation--centered[style*="background-image"] p,
.jwe-simulation--centered[style*="background-image"] .jwe-lead {
  color: var(--jwe-button-text, #fff);  
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.jwe-simulation--centered p {
  font-size: 1.25rem;
  color: var(--jwe-text-muted);
  margin-bottom: 2rem;
}
.jwe-simulation--centered img {
  max-width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}



.jwe-simulation--minimal {
  width: 100%;
  padding: var(--jwe-hero-padding) 0;
  background: var(--jwe-bg);
  text-align: center;
}
.jwe-simulation--minimal > .jwe-manifold,
.jwe-simulation--minimal > .jwe-mainframe {
  max-width: 800px;
}
.jwe-simulation--minimal h1 {
  color: var(--jwe-primary);
  font-size: clamp(2rem, 5vw, 3.5rem);
}
.jwe-simulation--minimal p,
.jwe-simulation--minimal .jwe-lead {
  color: var(--jwe-text-muted);
  font-size: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.jwe-simulation--minimal img {
  display: none;
}



.jwe-simulation--split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 850px) minmax(0, 850px);
  justify-content: center;
  gap: var(--jwe-hero-split-gap, 2rem);
  max-width: none;
  margin-inline: auto;
  margin-block-end: var(--jwe-section-gap, 2rem);
  padding: var(--jwe-hero-padding, 0.5rem) var(--jwe-container-padding-inline, 1.25rem);
}

.jwe-simulation--split::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--jwe-surface);
  z-index: -1;
}


.jwe-simulation--split > *:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
  width: 100%;
  max-width: 850px;
  padding-inline-start: var(--jwe-container-padding-inline, 1.25rem);
  padding-inline-end: var(--jwe-space-md, 1rem);
}

.jwe-simulation--split h1 {
  font-size: clamp(1.5rem, 2.5vw, var(--jwe-h1-size, 2.5rem));
  line-height: 1.15;
  margin-block: var(--jwe-space-xs, 0.25rem);
}
.jwe-simulation--split .jwe-lead,
.jwe-simulation--split p {
  font-size: clamp(0.9rem, 1.2vw, var(--jwe-body-size, 1rem));
  line-height: 1.4;
  margin-block: var(--jwe-space-xs, 0.25rem);
}

.jwe-simulation--split figure,
.jwe-simulation--split .jwe-figure {
  display: flex;
  align-items: center;
  justify-self: start;
  width: 100%;
  max-width: 850px;
  margin: 0;
}
.jwe-simulation--split figure img,
.jwe-simulation--split .jwe-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--jwe-radius);
  box-shadow: var(--jwe-shadow);
}
.jwe-simulation--split .jwe-manifold {
  padding-inline: 0;
}

@media (max-width: 1150px) {
  .jwe-simulation--split {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-width: none;
    margin-block-end: var(--jwe-space-lg, 1.5rem);
  }
  .jwe-simulation--split::before {
    display: none;
  }
  
  .jwe-simulation--split figure,
  .jwe-simulation--split .jwe-figure {
    order: 1;
    width: 100%;
    max-width: none;
  }
  .jwe-simulation--split figure img,
  .jwe-simulation--split .jwe-figure img {
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
  }
  
  .jwe-simulation--split > *:first-child {
    order: 2;
    max-width: none;
    width: 100%;
    padding: var(--jwe-hero-padding, 0.5rem) var(--jwe-container-padding-inline, 1.25rem);
    background: var(--jwe-surface);
  }
  
  .jwe-simulation--split figure,
  .jwe-simulation--split .jwe-figure {
    margin: 0;
  }
  .jwe-simulation--split h1 {
    font-size: var(--jwe-h1-size, 2rem);
  }
  .jwe-simulation--split .jwe-lead,
  .jwe-simulation--split p {
    font-size: var(--jwe-body-lg-size, 1.125rem);
  }
}




body.jwe-shade-mode--gradient-up .jwe-simulation--image-bg::before,
body.jwe-shade-mode--gradient-up .jwe-simulation--overlay::before,
body.jwe-shade-mode--gradient-up .jwe-simulation--centered[style*="background-image"]::before {
  background: linear-gradient(to top, var(--jwe-bg, #fff) 0%, var(--jwe-bg, #fff) 8%, rgba(255,255,255,0.85) 25%, transparent 65%) !important;
}
body.jwe-shade-mode--gradient-up .jwe-simulation--image-bg h1,
body.jwe-shade-mode--gradient-up .jwe-simulation--image-bg p,
body.jwe-shade-mode--gradient-up .jwe-simulation--image-bg .jwe-lead,
body.jwe-shade-mode--gradient-up .jwe-simulation--overlay h1,
body.jwe-shade-mode--gradient-up .jwe-simulation--overlay p {
  color: var(--jwe-text, #1a1a2e) !important;
  text-shadow: 0 1px 3px rgba(255,255,255,0.8) !important;
}


body.jwe-shade-mode--gradient-down .jwe-simulation--image-bg::before,
body.jwe-shade-mode--gradient-down .jwe-simulation--overlay::before,
body.jwe-shade-mode--gradient-down .jwe-simulation--centered[style*="background-image"]::before {
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.7) 100%) !important;
}


body.jwe-shade-mode--vignette .jwe-simulation--image-bg::before,
body.jwe-shade-mode--vignette .jwe-simulation--overlay::before,
body.jwe-shade-mode--vignette .jwe-simulation--centered[style*="background-image"]::before {
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 100%) !important;
}


body.jwe-shade-mode--diagonal .jwe-simulation--image-bg::before,
body.jwe-shade-mode--diagonal .jwe-simulation--overlay::before,
body.jwe-shade-mode--diagonal .jwe-simulation--centered[style*="background-image"]::before {
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%) !important;
}


.jwe-hero-content {
  text-align: center;
  padding: var(--jwe-hero-padding, 4rem) 1rem;
  color: white;
  position: relative;
  z-index: 1;
}
.jwe-hero-content__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  line-height: 1.2;
  color: white;
}
.jwe-hero-content__subtitle {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  color: white;
  line-height: 1.6;
  opacity: 0.95;
}
.jwe-hero-content__meta {
  font-size: 0.75rem;
  margin-top: 0.75rem;
  opacity: 0.8;
}
.jwe-hero-content__badge {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  background: rgba(0,0,0,0.25);
  display: inline-block;
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  border-radius: 0.5rem;
}

.jwe-hero-content--homepage .jwe-hero-content__title {
  font-size: 3rem;
}
.jwe-hero-content--homepage .jwe-hero-content__subtitle {
  font-size: 1.25rem;
}

.jwe-section-pad {
  padding: 1rem 0;  
}
.jwe-section-pad--lg {
  padding: calc(1rem * 2) 0;  
}
.jwe-section-pad--surface {
  background: var(--jwe-surface, #f8fafc);
}

.jwe-category-intro {
  padding: 3rem 1rem;
  background: var(--jwe-surface, #f8fafc);
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-category-intro > .jwe-manifold,
.jwe-category-intro > .jwe-mainframe,
.jwe-category-intro > div {
  max-width: 900px;
  margin: 0 auto;
}
.jwe-category-outro {
  padding: 3rem 1rem;
  background: var(--jwe-bg, #fff);
  border-top: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-category-outro > .jwe-manifold,
.jwe-category-outro > .jwe-mainframe,
.jwe-category-outro > div {
  max-width: 900px;
  margin: 0 auto;
}




.jwe-category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--jwe-space-lg);
  margin: var(--jwe-space-lg) 0;
}
.jwe-category-cards--2 { grid-template-columns: repeat(2, 1fr); }
.jwe-category-cards--3 { grid-template-columns: repeat(3, 1fr); }
.jwe-category-cards--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
  .jwe-category-cards--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 800px) {
  
  .jwe-category-cards--2,
  .jwe-category-cards--3,
  .jwe-category-cards--4 {
    grid-template-columns: 1fr;
  }
}

.jwe-category-card {
  background: var(--jwe-surface, #fff);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-space-lg);
  border-left: 4.5px solid var(--jwe-accent);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  
  color-scheme: light only;
}
.jwe-category-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--jwe-accent);
  
  -webkit-text-fill-color: var(--jwe-accent);
}
.jwe-category-card__text {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  color: var(--jwe-text-muted, #666);
  -webkit-text-fill-color: var(--jwe-text-muted, #666);
}


.jwe-scope-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--jwe-space-md);
}
.jwe-scope-list--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 540px) {
  .jwe-scope-list--cols-2 {
    grid-template-columns: 1fr;
  }
}
.jwe-scope-item {
  display: flex;
  align-items: flex-start;
  gap: var(--jwe-space-md);
  padding: var(--jwe-space-md);
  background: var(--jwe-bg, #fff);
  border-radius: var(--jwe-radius, 0.5rem);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.jwe-scope-item strong {
  color: var(--jwe-text);
}
.jwe-scope-item::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--jwe-accent);
  border-radius: 50%;
  margin-top: 0.5rem;
  flex-shrink: 0;
}


.jwe-highlight-box {
  background: var(--jwe-surface, #f9fafb);
  border-left: 4.5px solid var(--jwe-accent);
  padding: var(--jwe-card-padding) var(--jwe-space-lg);
  margin: var(--jwe-space-lg) 0;
  border-radius: 0 var(--jwe-radius, 0.5rem) var(--jwe-radius, 0.5rem) 0;
}
.jwe-highlight-box p {
  margin: 0;
  line-height: 1.6;
}


.jwe-cta-box {
  background: var(--jwe-bg-alt, #f0f4f8);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-space-lg, 1.5rem) var(--jwe-space-xl, 2rem);
  margin: var(--jwe-space-xl, 2rem) 0;
  text-align: center;
}
.jwe-cta-box__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.jwe-cta-box__text {
  margin: 0;
  color: var(--jwe-text-muted);
}


.jwe-summary-list {
  background: var(--jwe-surface, #fff);
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-card-padding) var(--jwe-space-lg);
  margin: var(--jwe-space-xl) 0;
}
.jwe-summary-list__title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--jwe-text-muted);
  margin: 0 0 var(--jwe-space-md);
}
.jwe-summary-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jwe-summary-list li {
  padding: var(--jwe-space-sm) 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-summary-list li:last-child {
  border-bottom: none;
}
.jwe-summary-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--jwe-success, #10b981);
  font-weight: 600;
}




.jwe-hero-content--category {
  padding: 2.5rem 1rem;
}


.jwe-hero-content--plain {
  background: var(--jwe-bg-alt, #f8f9fa);
  color: var(--jwe-text, #1f2937);
}
.jwe-hero-content--plain .jwe-hero-content__title,
.jwe-hero-content--plain .jwe-hero-content__subtitle {
  text-shadow: none;
  color: var(--jwe-text, #1f2937);
}
.jwe-hero-content--plain .jwe-hero-content__badge {
  background: rgba(0,0,0,0.05);
}


.jwe-hero-content--gradient .jwe-hero-content__title {
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}
.jwe-hero-content--gradient .jwe-hero-content__subtitle {
  text-shadow: 0 2px 6px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3);
}


.jwe-hero-content--image .jwe-hero-content__title {
  text-shadow: 0 3px 10px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4);
}
.jwe-hero-content--image .jwe-hero-content__subtitle {
  text-shadow: 0 2px 8px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 800px) {
  .jwe-hero-content--category {
    padding: 2rem 1rem;
  }
  .jwe-hero-content__title {
    font-size: 2rem;
  }
  .jwe-hero-content--homepage .jwe-hero-content__title {
    font-size: 2.25rem;
  }
  .jwe-hero-content__subtitle {
    font-size: 1rem;
  }
}


.jwe-gradient-0 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.jwe-gradient-1 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.jwe-gradient-2 { background: linear-gradient(135deg, #ee7752 0%, #e73c7e 100%); }
.jwe-gradient-3 { background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%); }
.jwe-gradient-4 { background: linear-gradient(135deg, #cc2b5e 0%, #753a88 100%); }
.jwe-gradient-5 { background: linear-gradient(135deg, #614385 0%, #516395 100%); }
.jwe-gradient-6 { background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%); }
.jwe-gradient-7 { background: linear-gradient(135deg, #c94b4b 0%, #4b134f 100%); }


.jwe-gradient-overlay {
  position: relative;
}
.jwe-gradient-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}
.jwe-gradient-overlay > * {
  position: relative;
  z-index: 1;
}


.jwe-hero-scrim {
  position: relative;
}
.jwe-hero-scrim::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 40%, transparent 100%);
  z-index: 0;
}
.jwe-hero-scrim > * {
  position: relative;
  z-index: 1;
}




.jwe-text-relief--shadow .jwe-hero-content__title {
  color: #fff;
  text-shadow:
    0 2px 4px rgba(0,0,0,0.5),
    0 4px 12px rgba(0,0,0,0.3),
    0 0 1px rgba(0,0,0,0.8);
}
.jwe-text-relief--shadow .jwe-hero-content__subtitle {
  color: rgba(255,255,255,0.95);
  text-shadow:
    0 1px 3px rgba(0,0,0,0.5),
    0 2px 8px rgba(0,0,0,0.3);
}


.jwe-text-relief--backdrop-light .jwe-hero-content__title,
.jwe-text-relief--backdrop-light .jwe-hero-content__subtitle {
  display: inline-block;
  padding: 0.4em 0.6em;
  background: rgba(255,255,255,0.85);
  color: var(--jwe-text, #1a1a1a);
  text-shadow: none;
  border-radius: 0.25rem;
}
.jwe-text-relief--backdrop-light .jwe-hero-content__title {
  line-height: 1.5;
}
.jwe-text-relief--backdrop-light .jwe-hero-content__subtitle {
  line-height: 1.6;
}


.jwe-text-relief--backdrop-dark .jwe-hero-content__title,
.jwe-text-relief--backdrop-dark .jwe-hero-content__subtitle {
  display: inline-block;
  padding: 0.4em 0.6em;
  background: rgba(0,0,0,0.65);
  color: #fff;
  text-shadow: none;
  border-radius: 0.25rem;
}
.jwe-text-relief--backdrop-dark .jwe-hero-content__title {
  line-height: 1.5;
}
.jwe-text-relief--backdrop-dark .jwe-hero-content__subtitle {
  line-height: 1.6;
}



.jwe-text-relief--scrim .jwe-hero-content__title {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.jwe-text-relief--scrim .jwe-hero-content__subtitle {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}


.jwe-display-style--rounded-badge .jwe-hero-content__badge {
  border-radius: 1rem;
  padding: 0.5rem 1.25rem;
}




.jwe-hero-blend--left .jwe-simulation--split .jwe-hero-image,
.jwe-hero-blend--left .jwe-simulation--split > img {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
  mask-image: linear-gradient(to right, transparent 0%, black 25%);
}


.jwe-hero-blend--right .jwe-simulation--split-reverse .jwe-hero-image,
.jwe-hero-blend--right .jwe-simulation--split-reverse > img {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 25%);
  mask-image: linear-gradient(to left, transparent 0%, black 25%);
}


.jwe-hero-blend--down .jwe-simulation img {
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 30%);
  mask-image: linear-gradient(to top, transparent 0%, black 30%);
}


.jwe-hero-blend--vignette .jwe-simulation--overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
}




.jwe-text-relief--shadow .jwe-simulation--overlay h1,
.jwe-text-relief--shadow .jwe-simulation--overlay .jwe-hero-title {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5), 0 8px 40px rgba(0,0,0,0.3);
}
.jwe-text-relief--shadow .jwe-simulation--overlay p,
.jwe-text-relief--shadow .jwe-simulation--overlay .jwe-lead,
.jwe-text-relief--shadow .jwe-simulation--overlay .jwe-hero-text {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 3px 10px rgba(0,0,0,0.5);
}


.jwe-text-relief--backdrop-dark .jwe-simulation--overlay .jwe-hero-content,
.jwe-text-relief--backdrop-dark .jwe-simulation--overlay > .jwe-manifold {
  background: rgba(0,0,0,0.8);
  padding: 1rem 1.5rem;  
  border-radius: var(--jwe-radius, 0.5rem);
  backdrop-filter: blur(4px);
  width: fit-content;
  max-width: 90%;
}
.jwe-text-relief--backdrop-dark .jwe-simulation--overlay h1,
.jwe-text-relief--backdrop-dark .jwe-simulation--overlay p {
  color: #fff;
  text-shadow: none;
}


.jwe-text-relief--backdrop-light .jwe-simulation--overlay .jwe-hero-content,
.jwe-text-relief--backdrop-light .jwe-simulation--overlay > .jwe-manifold {
  background: rgba(255,255,255,0.92);
  padding: 1rem 1.5rem;  
  border-radius: var(--jwe-radius, 0.5rem);
  backdrop-filter: blur(4px);
  width: fit-content;
  max-width: 90%;
}
.jwe-text-relief--backdrop-light .jwe-simulation--overlay h1 {
  color: var(--jwe-text, #1a1a2e);
}
.jwe-text-relief--backdrop-light .jwe-simulation--overlay p {
  color: var(--jwe-text-muted, #555);
}


.jwe-text-relief--scrim .jwe-simulation--overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 40%, transparent 70%);
  pointer-events: none;
}
.jwe-text-relief--scrim .jwe-simulation--overlay h1,
.jwe-text-relief--scrim .jwe-simulation--overlay p {
  color: #fff;
  position: relative;
  z-index: 1;
}




.jwe-txt-place--corner .jwe-simulation--overlay {
  align-items: flex-end;
  justify-content: flex-start;
}
.jwe-txt-place--corner .jwe-simulation--overlay .jwe-hero-content,
.jwe-txt-place--corner .jwe-simulation--overlay > .jwe-manifold {
  text-align: left;
}


.jwe-txt-place--center .jwe-simulation--overlay {
  align-items: center;
  justify-content: center;
}
.jwe-txt-place--center .jwe-simulation--overlay .jwe-hero-content,
.jwe-txt-place--center .jwe-simulation--overlay > .jwe-manifold {
  text-align: center;
}


.jwe-txt-place--bottom-center .jwe-simulation--overlay {
  align-items: flex-end;
  justify-content: center;
}
.jwe-txt-place--bottom-center .jwe-simulation--overlay .jwe-hero-content,
.jwe-txt-place--bottom-center .jwe-simulation--overlay > .jwe-manifold {
  text-align: center;
}







.jwe-section-blend .jwe-simulation::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, var(--jwe-bg, #fff), transparent);
  pointer-events: none;
  z-index: 2;
}


.jwe-section-blend .jwe-simulation {
  position: relative;
}



.jwe-eeat-hero {
  text-align: center;
  padding: var(--jwe-space-xl, 2rem) 0;
  background: var(--jwe-bg);
  border-bottom: 1px solid var(--jwe-border);
}

.jwe-eeat-hero h1 {
  margin: 0 0 var(--jwe-space-sm, 0.5rem);
}

.jwe-eeat-hero .jwe-lead {
  margin: 0;
  max-width: var(--jwe-content-width, 720px);
  margin-left: auto;
  margin-right: auto;
}

.jwe-eeat-hero--minimal {
  padding: var(--jwe-space-lg, 1.5rem) 0;
  background: transparent;
}

.jwe-eeat-hero--centered {
  padding: var(--jwe-space-2xl, 3rem) 0;
  background: linear-gradient(135deg, var(--jwe-bg) 0%, var(--jwe-surface) 100%);
}

.jwe-eeat-hero--text-only {
  padding: var(--jwe-space-md, 1rem) 0;
  background: transparent;
  border-bottom: 2px solid var(--jwe-primary);
}

.jwe-eeat-hero--compact {
  padding: var(--jwe-space-sm, 0.5rem) 0 var(--jwe-space-md, 1rem);
  background: var(--jwe-surface);
}

.jwe-eeat-hero--gradient-subtle {
  padding: var(--jwe-space-xl, 2rem) 0;
  background: linear-gradient(135deg, rgba(var(--jwe-primary-rgb, 0, 90, 141), 0.03) 0%, rgba(var(--jwe-primary-rgb, 0, 90, 141), 0.08) 100%);
  border-bottom: 1px solid rgba(var(--jwe-primary-rgb, 0, 90, 141), 0.15);
}

.jwe-eeat-hero--gradient-subtle h1 {
  color: var(--jwe-primary);
}



.jwe-matrix,
.jwe-grid,
.jwe-array {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--jwe-grid-gap, 1.5rem);
  justify-content: center;
  justify-items: center;  
  align-items: stretch; 
  max-width: 100%;

  box-sizing: border-box;
}

.jwe-matrix .jwe-module-core > p.jwe-text-muted,
.jwe-grid .jwe-module-core > p.jwe-text-muted {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
  
}

.jwe-matrix > .jwe-card,
.jwe-matrix > .jwe-node,
.jwe-matrix > .jwe-module,
.jwe-matrix > article,
.jwe-grid > .jwe-card,
.jwe-grid > .jwe-node,
.jwe-grid > .jwe-module,
.jwe-grid > article,
.jwe-array > .jwe-card,
.jwe-array > .jwe-node,
.jwe-array > .jwe-module,
.jwe-array > article {
  max-width: 360px;
}



.jwe-matrix--single,
.jwe-grid--single,
.jwe-array--single {
  display: flex;
  justify-content: center;
}
.jwe-matrix--single .jwe-card,
.jwe-matrix--single .jwe-module,
.jwe-matrix--single .jwe-node,
.jwe-matrix--single > article,
.jwe-grid--single .jwe-card,
.jwe-grid--single .jwe-module,
.jwe-grid--single .jwe-node,
.jwe-grid--single > article,
.jwe-array--single .jwe-card,
.jwe-array--single .jwe-module,
.jwe-array--single .jwe-node,
.jwe-array--single > article {
  width: 100%;
  max-width: 360px; 
  flex-shrink: 0;
  height: auto; 
}


.jwe-matrix--two,
.jwe-grid--two,
.jwe-array--two {
  display: flex;
  justify-content: center;
  gap: var(--jwe-space-lg);
  flex-wrap: wrap;
}
.jwe-matrix--two .jwe-card,
.jwe-matrix--two .jwe-module,
.jwe-matrix--two .jwe-node,
.jwe-matrix--two > article,
.jwe-grid--two .jwe-card,
.jwe-grid--two .jwe-module,
.jwe-grid--two .jwe-node,
.jwe-grid--two > article,
.jwe-array--two .jwe-card,
.jwe-array--two .jwe-module,
.jwe-array--two .jwe-node,
.jwe-array--two > article {
  width: calc(50% - 0.75rem);
  max-width: 340px;
  min-width: 320px;
}


.jwe-matrix--three,
.jwe-grid--three,
.jwe-array--three {
  max-width: 1000px;
  margin: 0 auto;
}

.jwe-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--jwe-space-lg);
}
.jwe-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--jwe-space-lg);
}
.jwe-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--jwe-space-lg);
}


@media (max-width: 960px) {
  .jwe-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .jwe-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 800px) {
  .jwe-matrix,
  .jwe-grid,
  .jwe-array {
    grid-template-columns: repeat(2, 1fr);
    
    padding-top: 0;
  }
  
  .jwe-matrix .jwe-card img,
  .jwe-matrix .jwe-node img,
  .jwe-grid .jwe-card img,
  .jwe-array article img {
    
    object-fit: cover;
    object-position: center;
  }
  .jwe-grid-2,
  .jwe-grid-3,
  .jwe-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .jwe-matrix--cols-2,
  .jwe-matrix--cols-3,
  .jwe-matrix--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .jwe-matrix > .jwe-card,
  .jwe-matrix > .jwe-node,
  .jwe-matrix > .jwe-module,
  .jwe-matrix > article,
  .jwe-grid > .jwe-card,
  .jwe-grid > .jwe-node,
  .jwe-array > article {
    max-width: 100%;  
    width: 100%;
  }
  
  .jwe-array--single > article,
  .jwe-grid--single > article,
  .jwe-matrix--single > article {
    max-width: 100%;
    margin: 0 auto;
  }
  
  
  .jwe-matrix:not(.jwe-team-grid) > .jwe-module,
  .jwe-array:not(.jwe-team-grid) > .jwe-module,
  .jwe-grid:not(.jwe-team-grid) > .jwe-module,
  .jwe-matrix:not(.jwe-team-grid) > .jwe-card,
  .jwe-array:not(.jwe-team-grid) > .jwe-card,
  .jwe-grid:not(.jwe-team-grid) > .jwe-card,
  .jwe-matrix:not(.jwe-team-grid) > .jwe-stratum,
  .jwe-array:not(.jwe-team-grid) > .jwe-stratum,
  .jwe-grid:not(.jwe-team-grid) > .jwe-stratum {
    padding: 0;
  }
}

@media (max-width: 540px) {
  .jwe-matrix,
  .jwe-grid,
  .jwe-array,
  .jwe-grid-2,
  .jwe-grid-3,
  .jwe-grid-4 {
    gap: var(--jwe-space-md);
  }
  .jwe-matrix--two,
  .jwe-grid--two,
  .jwe-array--two {
    gap: var(--jwe-space-md);
  }
}




.jwe-card--compact > a,
.jwe-unit--compact > a {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 0 var(--jwe-space-md, 0.75rem);
  align-items: start;
  padding: var(--jwe-space-sm);
}
.jwe-card--compact img,
.jwe-unit--compact img {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100px;
  height: 100px;
  border-radius: var(--jwe-radius, 0.5rem);
  object-fit: cover;
  align-self: center;
}

.jwe-card--compact .jwe-card__content,
.jwe-unit--compact .jwe-unit__content {
  display: contents;
}
.jwe-card--compact .jwe-tag,
.jwe-unit--compact .jwe-tag {
  grid-column: 1;
  margin: 0 0 0.15rem;
  align-self: end;
  font-size: 0.72rem;
}
.jwe-card--compact h3,
.jwe-unit--compact h3 {
  grid-column: 1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
  align-self: start;
}

.jwe-card--compact p,
.jwe-unit--compact p {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
}

.jwe-card--compact .jwe-card__meta,
.jwe-unit--compact .jwe-unit__meta {
  grid-column: 1 / -1;
  margin: 0.25rem 0 0;
  padding: 0;
  font-size: 0.8rem;
}





.jwe-card,
.jwe-unit {
  display: flex;
  flex-direction: column;
  background: var(--jwe-surface);
  border-radius: var(--jwe-radius, 0.5rem);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%; 
}


.jwe-card a:not(.jwe-actuator-main):not(.jwe-actuator-ghost),
.jwe-unit a:not(.jwe-actuator-main):not(.jwe-actuator-ghost) {
  text-decoration: none;
  color: inherit;
}


.jwe-card picture,
.jwe-grid picture,
.jwe-matrix picture {
  display: contents;
}
.jwe-node-media {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.jwe-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  margin: 1rem 1rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--jwe-primary);
  color: var(--jwe-button-text);
  border-radius: 0.25rem;
}
.jwe-node-id {
  margin: 0.75rem 1rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--jwe-text);
}
.jwe-node-data,
.jwe-card-body {
  margin: 0 1rem 1rem;
  font-size: 0.9rem;
  color: var(--jwe-text-muted);
  line-height: 1.5;
  flex-grow: 1; 
}



.jwe-team-grid {
  display: grid;  
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));  
  gap: var(--jwe-grid-gap, 1.5rem);  
  max-width: 100%;
  overflow: hidden;

  box-sizing: border-box;
}
@media (max-width: 800px) {
  
  .jwe-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.jwe-team-grid .jwe-node,
.jwe-team-grid .jwe-card,
.jwe-team-grid .jwe-module {
  text-align: center;
  align-items: center;
  justify-content: flex-start;
  padding: var(--jwe-space-md, 1rem);  
  height: auto;  
}

.jwe-team-avatar {
  width: 220px;
  height: 220px;
  max-width: 220px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}


.jwe-team-grid .jwe-node img,
.jwe-team-grid .jwe-card img,
.jwe-team-grid .jwe-module img {
  width: 220px;
  height: auto;
  max-width: 220px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}


.jwe-team-grid img.jwe-team-photo.jwe-team-photo,
.jwe-team-photo {
  max-width: 100%;
  border-radius: var(--jwe-radius);
  aspect-ratio: auto;
  margin: 0 0 1rem 0;
  height: auto;
}

.jwe-team-grid .jwe-node-id,
.jwe-team-grid .jwe-card-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.jwe-team-grid .jwe-node-data,
.jwe-team-grid .jwe-card-body {
  font-size: 0.9rem;
  color: var(--jwe-text-muted);
  margin: 0;
}


.jwe-grid .jwe-card:not(:has(.jwe-card__meta)),
.jwe-matrix .jwe-card:not(:has(.jwe-card__meta)),
.jwe-array .jwe-card:not(:has(.jwe-card__meta)) {
  height: auto;
}



.jwe-matrix .jwe-node img[width="140"],
.jwe-matrix .jwe-node img[width="120"],
.jwe-matrix .jwe-node img[width="100"],
.jwe-matrix .jwe-card img[width="140"],
.jwe-matrix .jwe-card img[width="120"],
.jwe-matrix .jwe-card img[width="100"] {
  width: 220px;  
  max-width: 100%;  
  height: auto;  
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  aspect-ratio: 1/1;
}



.jwe-matrix .jwe-node--small-img,
.jwe-matrix .jwe-card--small-img,
.jwe-matrix .jwe-node:has(img[width="140"]),
.jwe-matrix .jwe-node:has(img[width="120"]),
.jwe-matrix .jwe-node:has(img[width="100"]),
.jwe-matrix .jwe-card:has(img[width="140"]),
.jwe-matrix .jwe-card:has(img[width="120"]),
.jwe-matrix .jwe-card:has(img[width="100"]) {
  text-align: center;
  align-items: center;
  border-left: none;
  border-top: 4.5px solid var(--jwe-accent);
  height: auto;  
}




.jwe-card a:not(.jwe-actuator-main):not(.jwe-actuator-ghost),
.jwe-module a:not(.jwe-actuator-main):not(.jwe-actuator-ghost) {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.jwe-card a .jwe-card-title,
.jwe-card a .jwe-module-head,
.jwe-module a .jwe-card-title,
.jwe-module a .jwe-module-head,
article.jwe-card .jwe-card-title {
  color: var(--jwe-text) !important;
}

.jwe-card a .jwe-card-body,
.jwe-card a .jwe-module-core,
.jwe-module a .jwe-card-body,
.jwe-module a .jwe-module-core,
article.jwe-card .jwe-card-body {
  color: var(--jwe-text-muted) !important;
}

.jwe-card a .jwe-card__meta,
.jwe-module a .jwe-module__meta,
article.jwe-card .jwe-card__meta,
.jwe-card__meta {
  color: var(--jwe-text-muted) !important;
}


.jwe-card__meta,
.jwe-module__meta,
.jwe-node__meta,
.jwe-unit__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  padding: var(--jwe-space-sm) var(--jwe-space-md) 0; 
  font-size: 0.85rem; 
  color: var(--jwe-text-muted, #666);
  border-top: 1px solid var(--jwe-border, #e5e7eb);
  margin-top: auto;
}
.jwe-card__date,
.jwe-module__date,
.jwe-node__date,
.jwe-unit__date {
  display: inline-flex;
  align-items: center;
}
.jwe-card__reading,
.jwe-module__reading,
.jwe-node__reading,
.jwe-unit__reading {
  display: inline-flex;
  align-items: center;
  gap: var(--jwe-space-xs);
}
.jwe-card__rating,
.jwe-module__rating,
.jwe-node__rating,
.jwe-unit__rating {
  display: inline-flex;
  align-items: center;
  color: var(--jwe-warning, #f59e0b);
  font-weight: 500;
}
.jwe-card__comments,
.jwe-module__comments,
.jwe-node__comments,
.jwe-unit__comments {
  display: inline-flex;
  align-items: center;
}
.jwe-card__author,
.jwe-module__author,
.jwe-node__author,
.jwe-unit__author {
  display: inline-flex;
  align-items: center;
}
.jwe-card__author::before,
.jwe-module__author::before,
.jwe-node__author::before,
.jwe-unit__author::before {
  content: 'by';
  margin-right: 0.25rem;
  font-weight: 400;
  opacity: 0.7;
}
.jwe-card__views,
.jwe-module__views,
.jwe-node__views,
.jwe-unit__views {
  display: inline-flex;
  align-items: center;
  color: var(--jwe-text-muted, #6b7280);
}


.jwe-card__category,
.jwe-module__category {
  display: inline-flex;
  align-items: center;
  color: var(--jwe-accent, #3b82f6);
  font-weight: 500;
}


.jwe-card-image,
.jwe-node-media {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
  display: block;
}


article.jwe-node {
  padding: 0;  
  overflow: hidden;
}

.jwe-node > a > .jwe-card-image,
.jwe-node > a > picture > .jwe-card-image {
  margin: 0;
  border-radius: 0;
}


.jwe-card__content,
.jwe-module__content,
.jwe-node__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.8125rem 0.8125rem 0.4375rem 0.8125rem;
}
.jwe-card__content .jwe-tag,
.jwe-module__content .jwe-tag,
.jwe-node__content .jwe-tag {
  margin: 0 0 0.5rem;
}
.jwe-card__content .jwe-card-title,
.jwe-card__content .jwe-module-head,
.jwe-module__content .jwe-card-title,
.jwe-module__content .jwe-module-head,
.jwe-node__content .jwe-node-id {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jwe-card__content .jwe-card-body,
.jwe-card__content .jwe-module-core,
.jwe-module__content .jwe-card-body,
.jwe-module__content .jwe-module-core,
.jwe-node__content .jwe-node-data {
  margin: 0;
  font-size: 0.9rem;
  color: var(--jwe-text-muted) !important;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1; 
}


.jwe-card a:not(.jwe-actuator-main):not(.jwe-actuator-ghost),
.jwe-module a:not(.jwe-actuator-main):not(.jwe-actuator-ghost),
.jwe-node a:not(.jwe-actuator-main):not(.jwe-actuator-ghost) {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}

.jwe-card__link,
.jwe-card-link,
.jwe-read-more {
  color: var(--jwe-accent) !important;
  font-weight: 600;
}
.jwe-card__link:hover,
.jwe-card-link:hover,
.jwe-read-more:hover {
  text-decoration: underline;
}


.jwe-card--featured,
.jwe-node--featured,
.jwe-unit--featured {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
}
.jwe-card--featured > img,
.jwe-node--featured > img,
.jwe-unit--featured > img {
  width: 50%;
  max-width: none;
  flex-shrink: 0;
  object-fit: cover;
}
.jwe-card--featured > .jwe-module__content,
.jwe-card--featured > .jwe-card-body-wrap,
.jwe-node--featured > .jwe-node-data,
.jwe-unit--featured > .jwe-unit-body {
  padding: var(--jwe-space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.jwe-card--featured .jwe-node-id,
.jwe-card--featured .jwe-card-title {
  font-size: 1.5rem;
}
@media (max-width: 800px) {
  .jwe-card--featured,
  .jwe-node--featured,
  .jwe-unit--featured {
    grid-column: span 1;
    flex-direction: column;
  }
  .jwe-card--featured > img,
  .jwe-node--featured > img,
  .jwe-unit--featured > img {
    width: 100%;
  }
}


.jwe-related-section {
  padding: 1.5rem 0;  
  background: var(--jwe-bg, #f8f9fa);
}
.jwe-related-section .jwe-section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}


.jwe-related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
}


.jwe-grid--compact,
.jwe-matrix--compact {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--jwe-space-md);
}
@media (max-width: 540px) {
  .jwe-grid--compact,
  .jwe-matrix--compact {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--jwe-space-sm);
  }
}


.jwe-grid--single,
.jwe-matrix--single {
  display: flex;
  justify-content: center;
}
.jwe-grid--single > *,
.jwe-matrix--single > * {
  max-width: var(--jwe-card-max-single, 28rem);
  width: 100%;
}
.jwe-grid--two,
.jwe-matrix--two {
  display: grid;
  grid-template-columns: repeat(2, minmax(var(--jwe-card-min, 17rem), var(--jwe-card-max, 25rem)));
  justify-content: center;
  gap: var(--jwe-grid-gap, 1.5rem);
}
@media (max-width: 800px) {
  .jwe-grid--two,
  .jwe-matrix--two {
    grid-template-columns: 1fr;
  }
  .jwe-grid--two > *,
  .jwe-matrix--two > * {
    max-width: var(--jwe-card-max, 25rem);
    margin: 0 auto;
  }
}




.jwe-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--jwe-grid-gap, 1.5rem);
  justify-content: center;
}

.jwe-related-grid > * {
  max-width: 360px;
}

.jwe-related-grid:has(> *:only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}
.jwe-related-grid > *:only-child {
  max-width: 360px;
  width: 100%;
}

.jwe-related-grid--single {
  display: flex;
  justify-content: center;
}
.jwe-related-grid--single > * {
  max-width: 360px;
  width: 100%;
}

.jwe-related-grid--two {
  justify-content: center;
}
@media (max-width: 800px) {
  
  .jwe-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jwe-related-grid > * {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 540px) {
  .jwe-related-grid {
    grid-template-columns: 1fr;
  }
}


.jwe-author-grid,
.jwe-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--jwe-grid-gap, 1.5rem);
  justify-content: center;
}
.jwe-author-grid > *,
.jwe-category-grid > * {
  max-width: 360px;  
}

.jwe-author-grid:has(> *:only-child),
.jwe-category-grid:has(> *:only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}
.jwe-author-grid > *:only-child,
.jwe-category-grid > *:only-child {
  max-width: 360px;  
  width: 100%;
}
@media (max-width: 800px) {
  
  .jwe-author-grid,
  .jwe-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .jwe-author-grid > *,
  .jwe-category-grid > * {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 540px) {
  .jwe-author-grid,
  .jwe-category-grid {
    grid-template-columns: 1fr;
  }
  .jwe-author-grid > *,
  .jwe-category-grid > * {
    max-width: none;
  }
}


.jwe-grid--cols-2,
.jwe-matrix--cols-2,
.jwe-array--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.jwe-grid--cols-3,
.jwe-matrix--cols-3,
.jwe-array--cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.jwe-grid--cols-4,
.jwe-matrix--cols-4,
.jwe-array--cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .jwe-grid--cols-4,
  .jwe-matrix--cols-4,
  .jwe-array--cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));  
  }
}
@media (max-width: 800px) {
  
  .jwe-grid--cols-2,
  .jwe-matrix--cols-2,
  .jwe-array--cols-2,
  .jwe-grid--cols-3,
  .jwe-matrix--cols-3,
  .jwe-array--cols-3,
  .jwe-grid--cols-4,
  .jwe-matrix--cols-4,
  .jwe-array--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .jwe-team-grid .jwe-matrix,
  .jwe-team-grid .jwe-grid,
  .jwe-team-grid .jwe-array,
  .jwe-matrix .jwe-matrix,
  .jwe-matrix .jwe-grid,
  .jwe-grid .jwe-matrix,
  .jwe-grid .jwe-grid,
  .jwe-array .jwe-matrix,
  .jwe-array .jwe-grid {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .jwe-grid--cols-2 > *,
  .jwe-matrix--cols-2 > *,
  .jwe-array--cols-2 > *,
  .jwe-grid--cols-3 > *,
  .jwe-matrix--cols-3 > *,
  .jwe-array--cols-3 > *,
  .jwe-grid--cols-4 > *,
  .jwe-matrix--cols-4 > *,
  .jwe-array--cols-4 > * {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .jwe-grid--cols-2,
  .jwe-matrix--cols-2,
  .jwe-array--cols-2,
  .jwe-grid--cols-3,
  .jwe-matrix--cols-3,
  .jwe-array--cols-3,
  .jwe-grid--cols-4,
  .jwe-matrix--cols-4,
  .jwe-array--cols-4 {
    grid-template-columns: 1fr;
  }
}



.jwe-faq--cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--jwe-grid-gap, 1.5rem);
  max-width: none;
}
.jwe-faq--cards .jwe-faq-item {
  border: 1px solid var(--jwe-border);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-space-lg);
  background: var(--jwe-surface);
}
.jwe-faq--cards .jwe-faq-item summary {
  padding: 0 0 1rem 0;
}
.jwe-faq--cards .jwe-faq-answer {
  padding: 0;
}



footer[class*="jwe-"],
.jwe-base-plate,
.jwe-footer,
.jwe-colophon {
  background: var(--jwe-header-bg);
  color: var(--jwe-header-text);
  padding: 3.25rem 0 2.5rem;  
  margin-top: auto;
}
footer[class*="jwe-"] h4,
footer[class*="jwe-"] a,
footer[class*="jwe-"] p,
.jwe-base-plate h4,
.jwe-base-plate a,
.jwe-base-plate p,
.jwe-footer h4,
.jwe-footer a,
.jwe-footer p,
.jwe-colophon h4,
.jwe-colophon a,
.jwe-colophon p {
  color: var(--jwe-header-text);
}
footer[class*="jwe-"] a:hover,
.jwe-base-plate a:hover,
.jwe-footer a:hover,
.jwe-colophon a:hover {
  color: var(--jwe-logo-color, var(--jwe-accent));
  text-decoration: none;
}

.jwe-lattice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--jwe-space-xl);
  margin-bottom: 2rem;
}
.jwe-footer-about {
  max-width: 400px;
}
.jwe-footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jwe-footer-links li {
  margin-bottom: 0.5rem;  
  overflow-wrap: break-word; 
}

.jwe-base-plate-copyright,
.jwe-footer-copyright,
.jwe-colophon-copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;  
  word-break: break-word; 
}

@media (max-width: 800px) {
  .jwe-lattice {
    grid-template-columns: 1fr;
  }
}



.jwe-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--jwe-space-sm);
  margin-top: 1rem;
}

.jwe-social-links--centered {
  justify-content: center;
  margin: var(--jwe-space-lg) 0;
}

.jwe-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;

  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--jwe-footer-text, #fff);
  transition: all 0.2s ease;
  text-decoration: none;
}

.jwe-social-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
}

.jwe-social-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.jwe-social-link:hover {
  background: var(--jwe-text, #222);
  transform: translateY(-2px);
}



.jwe-author-section {
  padding-bottom: 2rem;
}

.jwe-author-profile {
  margin: 0;
}


.jwe-author-profile--hero-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 2rem;
  align-items: start;
}

.jwe-author-profile--hero-banner .jwe-author-photo {
  grid-row: 1 / -1;
}

.jwe-author-photo {
  display: block;
}

.jwe-author-photo img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.jwe-author-photo img.jwe-photo--square {
  border-radius: 0;
  border: 3px solid var(--jwe-header-bg);
}

.jwe-author-photo img.jwe-photo--rounded {
  border-radius: var(--jwe-radius, 0.5rem);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.jwe-author-photo img.jwe-photo--circle {
  border-radius: 50%;
  border: 2px solid var(--jwe-primary);
}

.jwe-author-photo img.jwe-photo--minimal {
  border-radius: var(--jwe-radius-sm, 0.25rem);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.jwe-author-meta {
  margin-top: var(--jwe-space-sm, 0.5rem);
  padding: var(--jwe-space-xs, 0.25rem) var(--jwe-space-sm, 0.5rem);
  background: var(--jwe-surface);
  border-radius: var(--jwe-radius-sm);
  font-size: 0.875rem;
  text-align: center;
  color: var(--jwe-text-muted);
  display: inline-block;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.jwe-author-info {
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
}

.jwe-author-name {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 var(--jwe-space-xs, 0.25rem);
  line-height: 1.2;
  overflow-wrap: break-word;
}

.jwe-author-role {
  color: var(--jwe-text-muted);
  font-size: 1rem;
  margin-bottom: var(--jwe-space-md, 1rem);
}

.jwe-author-expertise {
  font-size: 0.9rem;
  margin-bottom: var(--jwe-space-md, 1rem);
}
.jwe-author-expertise--primary { color: var(--jwe-primary); }
.jwe-author-expertise--accent { color: var(--jwe-accent, var(--jwe-primary)); }
.jwe-author-expertise--muted { color: var(--jwe-text-muted); }

.jwe-author-info p {
  margin-bottom: var(--jwe-space-md, 1rem);
}

.jwe-author-info .jwe-lead {
  margin-bottom: var(--jwe-space-md, 1rem);
}

.jwe-author-credentials--inline {
  font-size: 0.9rem;
  color: var(--jwe-text-muted);
  margin-bottom: var(--jwe-space-md, 1rem);
}

.jwe-author-credentials--tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--jwe-space-md, 1rem);
}

.jwe-author-credentials--tags .jwe-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--jwe-surface);
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius-sm, 0.25rem);
  font-size: 0.8rem;
  color: var(--jwe-text-muted);
}

.jwe-author-credentials--block {
  padding: var(--jwe-space-md, 1rem);
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius-sm, 0.25rem);
  background: var(--jwe-surface);
  margin-bottom: var(--jwe-space-md, 1rem);
  font-size: 0.9rem;
  color: var(--jwe-text-muted);
}

.jwe-author-email {
  font-size: 0.9rem;
  margin-bottom: var(--jwe-space-md, 1rem);
}

.jwe-author-email a {
  color: var(--jwe-primary);
  text-decoration: none;
}


.jwe-author-info--surface {
  background: var(--jwe-surface);
  padding: 2rem;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-author-info--border {
  border: 3px solid rgba(0,0,0,0.2);
  padding: 2rem;
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-author-info--accent {
  border-left: 3px solid rgba(0,0,0,0.2);
  padding-left: 2rem;
}


.jwe-author-hero {
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.jwe-author-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, black, transparent);
  opacity: 0.55;
  z-index: 1;
}

.jwe-author-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.jwe-author-hero-inner .jwe-author-name {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.jwe-author-hero-inner .jwe-author-role {
  color: rgba(255,255,255,0.85);
}

.jwe-author-profile--hero-banner .jwe-author-photo {
  margin-top: -3rem;
  position: relative;
  z-index: 3;
}

.jwe-author-profile--hero-banner .jwe-author-body {
  padding-top: 0.75rem;
}


.jwe-author-profile--card-box .jwe-author-card {
  background: var(--jwe-surface);
  border-radius: 0.75rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.jwe-author-profile--card-box .jwe-author-card--border-left {
  border-left: 5px solid var(--jwe-primary);
}

.jwe-author-profile--card-box .jwe-author-card--border-top {
  border-top: 5px solid var(--jwe-primary);
}

.jwe-author-profile--card-box .jwe-author-card--photo-right {
  grid-template-columns: 1fr auto;
}

.jwe-author-profile--card-box .jwe-author-card--photo-right .jwe-author-photo {
  order: 2;
}

.jwe-author-profile--card-box .jwe-author-card--photo-right .jwe-author-info {
  order: 1;
}


.jwe-author-profile--sidebar-classic .jwe-author-sidebar {
  background: var(--jwe-surface);
  padding: 2rem;
  border-radius: var(--jwe-radius, 0.5rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.jwe-author-profile--sidebar-classic .jwe-author-sidebar--photo-right {
  grid-template-columns: 1fr auto;
}

.jwe-author-profile--sidebar-classic .jwe-author-sidebar--photo-right .jwe-author-photo {
  order: 2;
}

.jwe-author-profile--sidebar-classic .jwe-author-sidebar--photo-right .jwe-author-info {
  order: 1;
}


.jwe-author-profile--centered-magazine .jwe-author-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.jwe-author-profile--centered-magazine .jwe-author-header--photo-right {
  grid-template-columns: 1fr auto;
}

.jwe-author-profile--centered-magazine .jwe-author-header--photo-right .jwe-author-photo {
  order: 2;
}

.jwe-author-profile--centered-magazine .jwe-author-header--photo-right .jwe-author-info-compact {
  order: 1;
}

.jwe-author-profile--centered-magazine .jwe-author-body {
  margin-top: 2rem;
}


.jwe-author-profile--split-panel .jwe-author-split {
  display: grid;
  grid-template-columns: 3fr 4fr;
  min-height: 300px;
  border-radius: var(--jwe-radius, 0.5rem);
  overflow: hidden;
}

.jwe-author-profile--split-panel .jwe-author-panel-left {
  background: var(--jwe-header-bg);
  color: var(--jwe-header-text, #fff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.jwe-author-profile--split-panel .jwe-author-panel-left .jwe-author-name {
  color: var(--jwe-header-text, #fff);
}

.jwe-author-profile--split-panel .jwe-author-panel-left .jwe-author-role {
  color: var(--jwe-header-text, rgba(255,255,255,0.85));
}

.jwe-author-profile--split-panel .jwe-author-panel-right {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.jwe-author-profile--split-panel .jwe-author-split--reversed {
  direction: rtl;
}

.jwe-author-profile--split-panel .jwe-author-split--reversed > * {
  direction: ltr;
}


.jwe-compact-articles {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.jwe-compact-articles li {
  padding: 0.75rem 0;
}

.jwe-compact-articles li a {
  color: var(--jwe-primary);
  text-decoration: none;
  font-weight: 500;
}

.jwe-compact-articles li a:hover {
  color: var(--jwe-primary);
}

.jwe-compact-articles .jwe-compact-date {
  font-size: 0.8rem;
  color: var(--jwe-text-muted);
  white-space: nowrap;
}

.jwe-compact-articles .jwe-compact-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--jwe-text-muted);
  margin-top: 0.25rem;
}

.jwe-compact-articles .jwe-compact-num {
  display: inline-block;
  min-width: 2rem;
  flex-shrink: 0;
  color: var(--jwe-text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  margin-right: 0.25rem;
}


.jwe-compact-articles--clean li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}


.jwe-compact-articles--border-bottom li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}


.jwe-compact-articles--numbered li {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}

.jwe-compact-articles--numbered .jwe-compact-date {
  margin-left: auto;
  padding-left: 1rem;
}


.jwe-compact-articles--with-desc li {
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}

.jwe-compact-articles--with-desc li .jwe-compact-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}


.jwe-author-articles-wrap {
  padding-top: 0.75rem;
  padding-bottom: 2rem;
}

.jwe-author-articles-wrap h2 {
  margin-top: 0.75rem;
}


.jwe-author-page-bottom {
  padding-bottom: 2rem;
}


@media (max-width: 960px) {
  .jwe-author-photo img {
    margin-left: auto;
    margin-right: auto;
  }

  .jwe-author-hero {
    min-height: auto;
    padding: var(--jwe-space-lg, 1.5rem);
  }
  .jwe-author-profile--hero-banner {
    grid-template-columns: 1fr;
  }
  .jwe-author-profile--hero-banner .jwe-author-photo {
    margin-top: -2rem;
    grid-row: auto;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .jwe-author-profile--card-box .jwe-author-card,
  .jwe-author-profile--card-box .jwe-author-card--photo-right,
  .jwe-author-profile--sidebar-classic .jwe-author-sidebar,
  .jwe-author-profile--sidebar-classic .jwe-author-sidebar--photo-right {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .jwe-author-profile--sidebar-classic .jwe-author-sidebar--photo-right .jwe-author-photo,
  .jwe-author-profile--card-box .jwe-author-card--photo-right .jwe-author-photo {
    order: 1;
  }
  .jwe-author-profile--sidebar-classic .jwe-author-sidebar--photo-right .jwe-author-info,
  .jwe-author-profile--card-box .jwe-author-card--photo-right .jwe-author-info {
    order: 2;
  }
  .jwe-author-profile--card-box .jwe-author-photo,
  .jwe-author-profile--sidebar-classic .jwe-author-photo {
    margin: 0 auto 0;
  }

  .jwe-author-profile--centered-magazine .jwe-author-header,
  .jwe-author-profile--centered-magazine .jwe-author-header--photo-right {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .jwe-author-profile--centered-magazine .jwe-author-photo {
    margin: 0 auto 0;
  }
  .jwe-author-profile--centered-magazine .jwe-author-info-compact {
    text-align: center;
  }
  .jwe-author-profile--centered-magazine .jwe-author-header--photo-right .jwe-author-photo {
    order: 1;
  }
  .jwe-author-profile--centered-magazine .jwe-author-header--photo-right .jwe-author-info-compact {
    order: 2;
  }

  .jwe-author-profile--split-panel .jwe-author-split,
  .jwe-author-profile--split-panel .jwe-author-split--reversed {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .jwe-author-profile--split-panel .jwe-author-panel-left {
    padding: var(--jwe-space-lg, 1.5rem);
    text-align: center;
  }

  .jwe-mob-info-first.jwe-author-profile--sidebar-classic .jwe-author-sidebar .jwe-author-info,
  .jwe-mob-info-first.jwe-author-profile--card-box .jwe-author-card .jwe-author-info,
  .jwe-mob-info-first.jwe-author-profile--centered-magazine .jwe-author-header .jwe-author-info-compact {
    order: -1;
  }

  
  .jwe-mob-text-center .jwe-author-name,
  .jwe-mob-text-center .jwe-author-role,
  .jwe-mob-text-center .jwe-author-expertise,
  .jwe-mob-text-center .jwe-author-meta,
  .jwe-mob-text-center .jwe-author-info-compact {
    text-align: center;
  }

  
  .jwe-author-info--surface,
  .jwe-author-info--border {
    padding: 1rem;
  }
  .jwe-author-info--accent {
    padding-left: 1rem;
  }
  .jwe-author-profile--hero-banner .jwe-author-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.jwe-lead-profile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--jwe-space-xl);
  align-items: center;
  margin-bottom: 3rem;
  padding: var(--jwe-space-xl);
  background: var(--jwe-surface);
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-lead-profile__photo img {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  aspect-ratio: 1/1;
}
.jwe-lead-profile__info {
  text-align: left;
}
.jwe-lead-profile__info h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}
.jwe-lead-profile__info h2 a {
  color: var(--jwe-accent);
  text-decoration: none;
}
.jwe-lead-profile__name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.jwe-lead-profile__role {
  font-size: 0.9rem;
  color: var(--jwe-text-muted);
  margin-bottom: 0.5rem;
}
.jwe-lead-profile__bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--jwe-text-muted);
}
@media (max-width: 800px) {
  .jwe-lead-profile {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .jwe-lead-profile__photo {
    display: flex;
    justify-content: center;
  }
  .jwe-lead-profile__info {
    text-align: center;
  }
}




.jwe-author {
  display: flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  padding: 1rem 0;
  border-top: 1px solid var(--jwe-border);
  margin-top: 1.5rem;
}
.jwe-author__avatar {
  width: var(--jwe-byline-avatar-size, 48px);   
  height: var(--jwe-byline-avatar-size, 48px);  
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;  
}

.jwe-card .jwe-author__avatar {
  aspect-ratio: 1/1;
  width: auto;
  height: auto !important;  
  max-width: var(--jwe-author-avatar-size, 240px);
  margin: 0 auto 1rem;
  align-self: center;
  border-radius: 0.5rem;
}

.jwe-author__name {
  font-weight: 600;
  color: var(--jwe-text);
}
.jwe-author__bio {
  font-size: 0.9rem;
  color: var(--jwe-text-muted);
}


.jwe-credentials {
  background: var(--jwe-surface);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-space-lg);
  margin: var(--jwe-space-lg) 0;
  border-left: 4.5px solid var(--jwe-accent);
}
.jwe-credentials h4 {
  margin: 0 0 0.75rem 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--jwe-text-muted);
}
.jwe-credentials ul {
  margin: 0;
  padding-left: 1.25rem;
}
.jwe-credentials li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}


.jwe-sources {
  background: var(--jwe-surface);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-space-lg);
  margin: var(--jwe-space-xl) 0;
}
.jwe-sources h4 {
  margin: 0 0 1rem 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--jwe-text-muted);
}
.jwe-sources ol {
  margin: 0;
  padding-left: 1.5rem;
}
.jwe-sources li {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.jwe-sources a {
  color: var(--jwe-accent);
  word-break: break-word;
}


.jwe-fact-check {
  display: inline-flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  background: linear-gradient(135deg, var(--jwe-surface) 0%, rgba(0,128,0,0.1) 100%);
  border: 1px solid rgba(0,128,0,0.3);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  font-size: 0.85rem;
  margin: var(--jwe-space-md) 0;
}
.jwe-fact-check::before {
  content: "✓";
  color: green;
  font-weight: bold;
}


.jwe-trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--jwe-space-md);
  padding: var(--jwe-space-lg);
  background: var(--jwe-surface);
  border-radius: var(--jwe-radius, 0.5rem);
  margin: var(--jwe-space-xl) 0;
}


.jwe-updated {
  font-size: 0.85rem;
  color: var(--jwe-text-muted);
  font-style: italic;
}



.jwe-accordion {
  border: 1px solid var(--jwe-border);
  border-radius: var(--jwe-radius, 0.5rem);
  overflow: hidden;
  margin: var(--jwe-space-lg) 0;
}
.jwe-accordion__item {
  border-bottom: 1px solid var(--jwe-border);
}
.jwe-accordion__item:last-child {
  border-bottom: none;
}
.jwe-accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  background: var(--jwe-surface);
  transition: background 0.2s;
}
.jwe-accordion__header:hover {
  background: var(--jwe-border);
}
.jwe-accordion__header::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--jwe-accent);
  transition: transform 0.2s;
}
.jwe-accordion__item[open] .jwe-accordion__header::after {
  content: '−';
}
.jwe-accordion__content {
  padding: 1rem 1.25rem;
  line-height: 1.7;
  color: var(--jwe-text-muted);
}



.jwe-tabs {
  margin: var(--jwe-space-lg) 0;
}
.jwe-tabs__nav {
  display: flex;
  border-bottom: 2px solid var(--jwe-border);
  gap: 0;
  overflow-x: auto;
}
.jwe-tab {
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--jwe-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.jwe-tab:hover {
  color: var(--jwe-text);
}
.jwe-tab.active,
.jwe-tab--active {
  color: var(--jwe-accent);
  border-bottom-color: var(--jwe-accent);
}
.jwe-tab-content {
  display: none;
  padding: 1.5rem 0;
}
.jwe-tab-content.active,
.jwe-tab-content--active {
  display: block;
}



.jwe-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--jwe-space-md);
  margin: var(--jwe-space-lg) 0;
  align-items: stretch; 
}

.jwe-info-cards .jwe-card,
.jwe-info-cards .jwe-module {
  overflow: visible;
  min-height: 0;  
}
.jwe-info-cards > div {
  display: flex;
  flex-direction: column;
  padding: var(--jwe-space-lg);
  background: var(--jwe-surface);
  border-radius: var(--jwe-radius, 0.5rem);
  text-align: center;
}
.jwe-info-cards > div p:last-child {
  margin-top: auto;
  color: var(--jwe-text-muted);
  font-size: 0.9rem;
}

.jwe-info-cards .jwe-module-core {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.jwe-info-cards .jwe-actuator,
.jwe-info-cards .jwe-module-core > a:last-child {
  margin-top: auto;
}
.jwe-info-cards strong {
  display: block;
  font-size: 1.5rem;
  color: var(--jwe-accent);
  margin-bottom: 0.5rem;
}

.jwe-info-cards .jwe-module-core > p,
.jwe-info-cards .jwe-module-core > p.jwe-text-muted,
.jwe-info-cards .jwe-card-body,
.jwe-info-cards p {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  text-overflow: unset;
}



.jwe-faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--jwe-text);
}



.jwe-share {
    display: flex;
    gap: var(--jwe-space-sm, 0.5rem);
    align-items: center;
    margin-top: var(--jwe-space-md, 1rem);
    flex-wrap: wrap;
}

.jwe-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--jwe-border, #e0e0e0);
    border-radius: var(--jwe-radius-sm, 4px);
    background: var(--jwe-bg, #fff);
    color: var(--jwe-text, #333);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.jwe-share-btn:hover {
    background: var(--jwe-bg-alt, #f5f5f5);
    border-color: var(--jwe-primary, #007bff);
    color: var(--jwe-primary, #007bff);
}

.jwe-share-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}


.jwe-share--icon .jwe-share-btn {
    padding: 0.5rem;
    border-radius: 50%;
    min-width: 36px;
    min-height: 36px;
    justify-content: center;
}

.jwe-share--icon .jwe-share-btn span {
    display: none;
}


.jwe-share--text .jwe-share-btn {
    padding: 0.5rem 1rem;
}


@media (max-width: 800px) {
    .jwe-share {
        gap: 0.375rem;
    }

    .jwe-share-btn {
        padding: 0.375rem 0.625rem;
        font-size: 0.8125rem;
    }

    .jwe-share--icon .jwe-share-btn {
        min-width: 32px;
        min-height: 32px;
    }
}


.jwe-breadcrumbs {
  padding: 0.6rem var(--jwe-hero-padding-h, 1.5rem);
  max-width: var(--jwe-max-width, 1200px);
  margin: 0 auto;
  font-size: 0.8125rem;
}
.jwe-breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}
.jwe-breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.jwe-breadcrumbs li + li::before {
  content: "—";
  margin: 0 0.5rem;
  color: var(--jwe-text-muted, #999);
}
.jwe-breadcrumbs a {
  color: var(--jwe-text-muted, #666);
  text-decoration: none;
}
.jwe-breadcrumbs a:hover {
  color: var(--jwe-primary, #333);
  text-decoration: underline;
}
.jwe-breadcrumbs li:last-child span {
  color: var(--jwe-text-muted, #999);
}

.jwe-article-hero .jwe-breadcrumbs,
.jwe-article-hero-wide .jwe-breadcrumbs {
  padding: 0.4rem 0.6rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  border-radius: 0.25rem;
  font-size: 0.8125rem;
}

.jwe-article-hero--contrast-shadow .jwe-breadcrumbs {
  background: rgba(0,0,0,0.45);
}
.jwe-article-hero--contrast-shadow .jwe-breadcrumbs a,
.jwe-article-hero--contrast-shadow .jwe-breadcrumbs li:last-child span {
  color: rgba(255,255,255,1.0);
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.jwe-article-hero--contrast-shadow .jwe-breadcrumbs li + li::before {
  color: rgba(255,255,255,0.75);
}

.jwe-article-hero--contrast-backdrop-dark .jwe-breadcrumbs {
  background: rgba(0,0,0,0.55);
}
.jwe-article-hero--contrast-backdrop-dark .jwe-breadcrumbs a,
.jwe-article-hero--contrast-backdrop-dark .jwe-breadcrumbs li:last-child span {
  color: rgba(255,255,255,1.0);
}
.jwe-article-hero--contrast-backdrop-dark .jwe-breadcrumbs li + li::before {
  color: rgba(255,255,255,0.75);
}

.jwe-article-hero--contrast-backdrop-light .jwe-breadcrumbs {
  background: rgba(255,255,255,0.85);
}
.jwe-article-hero--contrast-backdrop-light .jwe-breadcrumbs a {
  color: var(--jwe-text, #1a1a2e);
}
.jwe-article-hero--contrast-backdrop-light .jwe-breadcrumbs a:hover {
  color: var(--jwe-primary, #333);
}
.jwe-article-hero--contrast-backdrop-light .jwe-breadcrumbs li + li::before,
.jwe-article-hero--contrast-backdrop-light .jwe-breadcrumbs li:last-child span {
  color: var(--jwe-text-muted, #999);
}

.jwe-article-hero--contrast-scrim .jwe-breadcrumbs {
  background: rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}
.jwe-article-hero--contrast-scrim .jwe-breadcrumbs a,
.jwe-article-hero--contrast-scrim .jwe-breadcrumbs li:last-child span {
  color: rgba(255,255,255,1.0);
}
.jwe-article-hero--contrast-scrim .jwe-breadcrumbs li + li::before {
  color: rgba(255,255,255,0.75);
}

.jwe-article-split .jwe-breadcrumbs {
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 0.5rem;
}



.jwe-article__content,
.jwe-paper__content {
  overflow-wrap: break-word;
  word-break: break-word;
  overflow: hidden;
  min-width: 0;
}

.jwe-article {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}


.jwe-article-wrapper {
  padding: var(--jwe-hero-padding) var(--jwe-hero-padding-h);
  max-width: min(var(--jwe-max-width, 1200px), 100%);
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.jwe-article-wrapper--sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--jwe-sidebar-width, 320px);
  gap: 1.5rem;
}
.jwe-article-wrapper--sidebar > .jwe-article {
  min-width: 0;
  overflow: hidden;
  align-self: start;
}
.jwe-article-wrapper--sidebar-left {
  grid-template-columns: var(--jwe-sidebar-width, 320px) minmax(0, 1fr);
}
.jwe-article-wrapper--sidebar-left .jwe-article-sidebar {
  order: -1;
}
@media (max-width: 960px) {
  .jwe-article-wrapper--sidebar,
  .jwe-article-wrapper--sidebar-left {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }
  .jwe-article-wrapper--sidebar-left .jwe-article-sidebar {
    order: 0;
  }
  .jwe-article-sidebar {
    position: relative !important;
    top: 0 !important;
  }
}


.jwe-article-sidebar {
  min-width: 0;
  position: sticky;
  top: calc(var(--jwe-space-4xl, 6rem) + var(--jwe-space-lg, 1.5rem));
  align-self: start;
}
.jwe-sidebar-block {
  margin-bottom: 1.5rem;
  padding: var(--jwe-space-lg);
  background: var(--jwe-surface, #fff);
  border-radius: var(--jwe-radius, 0.5rem);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.jwe-sidebar-title {
  margin: 0 0 var(--jwe-space-md);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--jwe-text-muted);
}
.jwe-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jwe-sidebar-list li {
  padding: var(--jwe-space-sm) 0;
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-sidebar-list li:last-child {
  border-bottom: none;
}
.jwe-sidebar-list a {
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--jwe-text);
  display: block;
  line-height: 1.4;
}
.jwe-sidebar-list a:hover {
  color: var(--jwe-accent);
}


.jwe-sidebar-author {
  text-align: center;
}
.jwe-sidebar-author img {
  border-radius: 50%;
  margin: 0 auto 0.75rem auto;
  width: var(--jwe-sidebar-author-size, 80%); 
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.jwe-sidebar-author strong {
  display: block;
  margin-bottom: 0.25rem;
}
.jwe-sidebar-author__role {
  display: block;
  font-size: 0.85rem;
  color: var(--jwe-text-muted);
  margin-bottom: 0.5rem;
}
.jwe-sidebar-author p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  color: var(--jwe-text-muted);
}


.jwe-toc {
  font-size: 0.95rem;
}
.jwe-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jwe-toc li {
  padding: 0.4rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
}
.jwe-toc li.active {
  border-left-color: var(--jwe-accent);
}
.jwe-toc a {
  color: var(--jwe-primary);
  text-decoration: none;
  font-weight: 500;
}
.jwe-toc a:hover {
  color: var(--jwe-accent);
  text-decoration: underline;
}
.jwe-toc-placeholder {
  font-size: 0.85rem;
  color: var(--jwe-text-muted);
  font-style: italic;
}


.jwe-toc-box {
  background: var(--jwe-bg, #f8fafc);
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: var(--jwe-card-padding) var(--jwe-space-lg);
  margin: var(--jwe-space-lg) 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
}
.jwe-toc-box li {
  white-space: normal;
}
.jwe-toc-box a {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}
.jwe-toc-box__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
  color: var(--jwe-text);
  display: flex;
  align-items: center;
  gap: var(--jwe-space-sm);
}
.jwe-toc-box__title::before {
  content: '📋';
  font-size: 1.1rem;
}
.jwe-toc-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.jwe-toc-box li {
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
}
.jwe-toc-box li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--jwe-primary);
}
.jwe-toc-box a {
  color: var(--jwe-primary);
  text-decoration: none;
  font-size: 0.95rem;
}
.jwe-toc-box a:hover {
  text-decoration: underline;
}

.jwe-toc-box a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--jwe-primary, #3b82f6);
  border-radius: var(--jwe-radius-xs, 2px);
}



.jwe-toc-box .jwe-list--checked li::before {
  content: '→' !important;
  color: var(--jwe-primary);
}
.jwe-toc-box .jwe-list--checked li {
  padding-left: 1rem !important;
}


.jwe-article-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: var(--jwe-article-hero-h, 280px);
  display: flex;
  align-items: flex-end;
}
.jwe-article-hero__overlay {
  width: 100%;
  
  max-width: var(--jwe-max-width);
  margin-inline: auto;
  padding: var(--jwe-hero-padding) var(--jwe-container-padding-inline);
  position: relative;  
}

.jwe-article-hero--gradient-down--light .jwe-article-hero__overlay {
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.5));
}
.jwe-article-hero--gradient-down--medium .jwe-article-hero__overlay {
  background: linear-gradient(transparent 30%, rgba(0,0,0,0.65));
}
.jwe-article-hero--gradient-down--strong .jwe-article-hero__overlay {
  background: linear-gradient(transparent 20%, rgba(0,0,0,0.8));
}

.jwe-article-hero--contrast-shadow h1 {
  text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 4px 20px rgba(0,0,0,0.5), 0 8px 40px rgba(0,0,0,0.3);
}
.jwe-article-hero--contrast-backdrop-dark .jwe-article-hero__overlay h1,
.jwe-article-hero--contrast-backdrop-dark .jwe-article-hero__overlay .jwe-paper__meta {
  display: inline-block;
  padding: 0.4em 0.6em;
  background: rgba(0,0,0,0.8);
  line-height: 1.5;
  border-radius: 0.25rem;
}
.jwe-article-hero--contrast-backdrop-light .jwe-article-hero__overlay h1,
.jwe-article-hero--contrast-backdrop-light .jwe-article-hero__overlay .jwe-paper__meta {
  display: inline-block;
  padding: 0.4em 0.6em;
  background: rgba(255,255,255,0.85);
  line-height: 1.5;
  border-radius: 0.25rem;
}
.jwe-article-hero--contrast-backdrop-light h1 {
  color: var(--jwe-text, #1a1a2e);
  text-shadow: none;
}
.jwe-article-hero--contrast-scrim .jwe-article-hero__overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 40%, transparent 70%);
  pointer-events: none;
}
.jwe-article-hero--contrast-scrim h1 {
  position: relative;
  z-index: 1;
}
.jwe-article-hero h1 {
  color: #fff;
  margin: 0 0 var(--jwe-space-md);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
@media (max-width: 800px) {
  .jwe-article-hero {
    min-height: calc(var(--jwe-article-hero-h, 280px) * 0.8);
  }
}


.jwe-article-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: var(--jwe-article-split-h, 260px);
}
.jwe-article-split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}
.jwe-article-split__content h1 {
  margin: 0 0 var(--jwe-space-md);
}
.jwe-article-split__image {
  background-size: cover;
  background-position: center;
  min-height: 300px;
}
@media (max-width: 800px) {
  .jwe-article-split {
    grid-template-columns: 1fr;
  }
  .jwe-article-split__content {
    order: 2;
  }
  .jwe-article-split__image {
    order: 1;
    min-height: 250px;
  }
}


.jwe-article-hero-wide {
  position: relative;
  display: grid;
  
  grid-template-columns: minmax(0, 850px) minmax(0, 850px);
  justify-content: center;
  gap: var(--jwe-hero-split-gap, 2rem);
  max-width: none;
  margin-inline: auto;
  margin-block-end: var(--jwe-section-gap, 2rem);
  padding: var(--jwe-hero-padding, 0.5rem) var(--jwe-container-padding-inline);
}

.jwe-article-hero-wide::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--jwe-surface);
  z-index: -1;
}

.jwe-article-hero-wide__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-self: end;
  width: 100%;
  max-width: 850px;
  padding-inline-start: var(--jwe-container-padding-inline);
  padding-inline-end: var(--jwe-space-md, 1rem);
}
.jwe-article-hero-wide__content h1 {
  font-size: clamp(1.5rem, 2.5vw, var(--jwe-h1-size, 2.5rem));
  line-height: 1.15;
  margin-block: var(--jwe-space-xs, 0.25rem);
}
.jwe-article-hero-wide__content .jwe-lead {
  font-size: clamp(0.9rem, 1.2vw, var(--jwe-body-size, 1rem));
  line-height: 1.4;
  color: var(--jwe-text-muted, #4b5563);
  margin-block: var(--jwe-space-xs, 0.25rem);
}

.jwe-article-hero-wide__image {
  display: flex;
  align-items: center;
  justify-self: start;
  width: 100%;
  max-width: 850px;
  margin: 0;
  overflow: hidden;
}
.jwe-article-hero-wide__image img {
  display: block;
  width: 100%;
  height: auto;  
  border-radius: var(--jwe-radius);
  box-shadow: var(--jwe-shadow);
}

.jwe-article-hero-wide--img-left {
  direction: rtl;
}
.jwe-article-hero-wide--img-left > * {
  direction: ltr;
}

.jwe-article-hero-wide--dark::before {
  background: var(--jwe-bg-dark, #1a1a2e);
}
.jwe-article-hero-wide--dark h1,
.jwe-article-hero-wide--dark .jwe-lead {
  color: #fff;
}
.jwe-article-hero-wide--dark .jwe-article__meta {
  color: rgba(255,255,255,0.7);
}

@media (max-width: 1150px) {
  .jwe-article-hero-wide {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-width: none;
    margin-block-end: var(--jwe-space-lg, 1.5rem);
  }
  .jwe-article-hero-wide::before {
    display: none;
  }
  
  .jwe-article-hero-wide__image {
    order: 2;
    width: 100%;
    max-width: none;
    min-height: 260px;
  }
  .jwe-article-hero-wide__image img {
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
  }
  
  .jwe-article-hero-wide__content {
    order: 1;
    max-width: none;
    width: 100%;
    padding: var(--jwe-hero-padding, 0.5rem) var(--jwe-container-padding-inline);
    background: var(--jwe-surface);
  }
  .jwe-article-hero-wide__content h1 {
    font-size: var(--jwe-h1-size, 2rem);
  }
  .jwe-article-hero-wide__content .jwe-lead {
    font-size: var(--jwe-body-lg-size, 1.125rem);
  }
  .jwe-article-hero-wide--img-left {
    direction: ltr;
  }
}


.jwe-article-featured {
  margin: 0 0 2rem;
}
.jwe-article-featured--below {
  margin: var(--jwe-space-xl) 0;
}
.jwe-article-featured img {
  width: 100%;
  height: auto;
  border-radius: var(--jwe-radius, 0.5rem);
}


.jwe-author-compact {
  display: flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  margin: var(--jwe-space-lg) 0;
  padding: var(--jwe-space-md);
  background: var(--jwe-bg, #f8f9fa);
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-author-compact img {
  border-radius: 50%;
  flex-shrink: 0;
}
.jwe-author-compact__info strong {
  display: block;
}
.jwe-author-compact__info span {
  font-size: 0.85rem;
  color: var(--jwe-text-muted);
}


.jwe-author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin: 2.5rem 0;
  padding: var(--jwe-space-lg);
  background: var(--jwe-surface, #f8f9fa);
  border-radius: var(--jwe-radius, 0.5rem);
  border-left: 4.5px solid var(--jwe-accent, #3b82f6);
}
.jwe-author-box__avatar {
  
  flex-shrink: 0;
  object-fit: cover;
  width: 96px;
  height: 96px;
}
.jwe-author-box--round .jwe-author-box__avatar {
  border-radius: 50%;
}
.jwe-author-box--square .jwe-author-box__avatar {
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-author-inline__avatar {
  border-radius: 50%;
}
.jwe-author-box__info {
  flex: 1;
  min-width: 0;
}
.jwe-author-box__info strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--jwe-text, #1a1a2e);
}
.jwe-author-box__role {
  display: block;
  font-size: 0.875rem;
  color: var(--jwe-accent, #3b82f6);
  margin-bottom: 0.75rem;
}
.jwe-author-box__info p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--jwe-text-muted, #666);
}

.jwe-author-box--no-avatar {
  border-left: none;
  border-top: 2px solid var(--jwe-border, #e5e7eb);
  padding-top: 1.5rem;
}

.jwe-author-box--minimal {
  display: flex;
  align-items: center;
  gap: var(--jwe-space-md);
  background: transparent;
  padding: 1.5rem 0 0;
  border: none;
  border-top: 1px solid var(--jwe-border, #e5e7eb);
  margin: 2rem 0 0;
}
.jwe-author-box--minimal .jwe-author-box__avatar {
  width: var(--jwe-byline-avatar-size, 48px);   
  height: var(--jwe-byline-avatar-size, 48px);
  border-radius: 50%;
  flex-shrink: 0;
}
.jwe-author-box--minimal .jwe-author-box__info {
  display: block;
}
.jwe-author-box--minimal .jwe-author-box__info strong {
  font-size: 0.95rem;
  display: inline;
}
.jwe-author-box--minimal .jwe-author-box__role {
  display: inline;
  margin-left: 0.5rem;
  font-size: 0.85rem;
}
.jwe-author-box--minimal .jwe-author-box__info p {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--jwe-text-muted, #666);
}
@media (max-width: 540px) {
  .jwe-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .jwe-author-box__info {
    text-align: center;
  }
}


.jwe-author-inline {
  display: inline-flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  font-size: 0.9rem;
  color: var(--jwe-text-muted, #666);
}
.jwe-author-inline img {
  width: 40px;
  height: 40px;

  border-radius: 50%;
  object-fit: cover;
}
.jwe-author-inline__name {
  font-weight: 500;
  color: var(--jwe-text, #1a1a2e);
}
.jwe-author-inline__role {
  font-size: 0.8rem;
  color: var(--jwe-text-muted, #888);
}
.jwe-author-inline--name-only {
  font-weight: 500;
  color: var(--jwe-text, #1a1a2e);
}


.jwe-author-header {
  display: flex;
  align-items: center;
  gap: var(--jwe-space-sm, 0.5rem);
  margin-top: var(--jwe-space-md, 0.75rem);
  font-size: 0.9rem;
  color: var(--jwe-text-muted, #666);
}
.jwe-author-header__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.jwe-author-header__name {
  font-weight: 500;
  color: var(--jwe-text, #1a1a2e);
}
.jwe-author-header__name:hover {
  color: var(--jwe-primary, #3b82f6);
}
.jwe-author-header__role {
  font-size: 0.8rem;
  color: var(--jwe-text-muted, #888);
}
.jwe-author-header--name-only {
  display: block;
  margin-top: var(--jwe-space-sm, 0.5rem);
  font-weight: 500;
  color: var(--jwe-text-muted, #666);
}
.jwe-author-header--name-only a {
  color: var(--jwe-text, #1a1a2e);
  text-decoration: none;
}
.jwe-author-header--name-only a:hover {
  color: var(--jwe-primary, #3b82f6);
}

.jwe-author-header__prefix {
  color: var(--jwe-text-muted, #666);
  font-weight: 400;
}

.jwe-author-combo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--jwe-space-lg, 1.5rem);
  margin: 2rem 0;
  align-items: start;
}
.jwe-author-combo--author-right {
  direction: rtl;
}
.jwe-author-combo--author-right > * {
  direction: ltr;
}
.jwe-author-combo .jwe-author-box {
  margin: 0;
}
.jwe-author-combo .jwe-subscribe,
.jwe-author-combo .jwe-rating-widget {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 800px) {
  .jwe-author-combo {
    grid-template-columns: 1fr;
  }
  .jwe-author-combo--author-right {
    direction: ltr;
  }
}

.jwe-author-centered {
  text-align: center;
  margin: 2.5rem auto;
  max-width: 400px;
  padding: var(--jwe-space-lg, 1.5rem);
}
.jwe-author-centered .jwe-author-box {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.jwe-author-centered .jwe-author-box__avatar {
  width: 108px;
  height: 108px;
  border-radius: 50%;
}
.jwe-author-centered .jwe-author-box__info {
  text-align: center;
}
.jwe-author-centered .jwe-author-box__info p {
  text-align: center;
}

.jwe-author-centered--card {
  background: var(--jwe-surface, #f8f9fa);
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-author-centered--clean {
  background: transparent;
  padding: var(--jwe-space-md, 1rem) 0;
}
.jwe-author-centered--bordered {
  background: transparent;
  border: 1px solid var(--jwe-border, #dee2e6);
  border-radius: var(--jwe-radius, 0.5rem);
}
.jwe-author-centered--outline {
  background: transparent;
  border: 2px solid var(--jwe-muted, #6c757d);
  border-radius: 1.5rem;
}
.jwe-author-centered--shadow {
  background: var(--jwe-bg, #fff);
  border-radius: var(--jwe-radius, 0.5rem);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.jwe-author-centered--row .jwe-author-box {
  flex-direction: row;
  gap: var(--jwe-space-md, 1rem);
}
.jwe-author-centered--row .jwe-author-box__info {
  text-align: left;
}
.jwe-author-centered--row .jwe-author-box__info p {
  text-align: left;
}

.jwe-author-bottom-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jwe-muted, #6c757d);
  margin-bottom: 0.75rem;
}
.jwe-author-centered .jwe-author-bottom-label {
  text-align: center;
}



.jwe-meta-wrapper--divider-bottom {
  padding-bottom: var(--jwe-space-sm, 0.5rem);
  margin-bottom: var(--jwe-space-sm, 0.5rem);
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-meta-wrapper--divider-top-bottom {
  padding: var(--jwe-space-sm, 0.5rem) 0;
  margin: var(--jwe-space-sm, 0.5rem) 0;
  border-top: 1px solid var(--jwe-border, #e5e7eb);
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-article__header .jwe-meta-wrapper--divider-bottom {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.jwe-article__header .jwe-meta-wrapper--divider-top-bottom {
  border-bottom: none;
}

.jwe-meta-wrapper--box {
  padding: var(--jwe-space-sm, 0.5rem) var(--jwe-space-md, 1rem);
  background: var(--jwe-bg-alt, #f8f9fa);
  border-radius: var(--jwe-radius-sm, 4px);
  margin-bottom: var(--jwe-space-sm, 0.5rem);
}

.jwe-meta-wrapper--pill > * {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: var(--jwe-bg-alt, #f5f5f5);
  border-radius: 999px;
  margin-right: var(--jwe-space-xs, 0.25rem);
  margin-bottom: var(--jwe-space-xs, 0.25rem);
}

.jwe-meta-wrapper--accent {
  padding-left: var(--jwe-space-md, 1rem);
  border-left: 3px solid var(--jwe-primary, #3b82f6);
  margin-bottom: var(--jwe-space-sm, 0.5rem);
}




.jwe-article__meta--above {
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.jwe-article__meta--above + .jwe-article__title {
  margin-top: 0;
}


.jwe-article__meta--between {
  margin: var(--jwe-space-md) 0;
  padding: var(--jwe-space-sm) 0;
  border-top: 1px solid var(--jwe-border, #e5e7eb);
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}


.jwe-article__meta--sep-dot > *:not(:last-child)::after,
.jwe-paper__meta--sep-dot > *:not(:last-child)::after {
  content: '·';
  margin: 0 var(--jwe-space-sm, 0.5rem);
  color: var(--jwe-text-muted, #888);
}
.jwe-article__meta--sep-dash > *:not(:last-child)::after,
.jwe-paper__meta--sep-dash > *:not(:last-child)::after {
  content: '—';
  margin: 0 var(--jwe-space-sm, 0.5rem);
  color: var(--jwe-text-muted, #888);
}
.jwe-article__meta--sep-pipe > *:not(:last-child)::after,
.jwe-paper__meta--sep-pipe > *:not(:last-child)::after {
  content: '|';
  margin: 0 var(--jwe-space-sm, 0.5rem);
  color: var(--jwe-text-muted, #888);
}
.jwe-article__meta--sep-newline,
.jwe-paper__meta--sep-newline {
  display: flex;
  flex-direction: column;
  gap: var(--jwe-space-xs);
  align-items: flex-start;
}
.jwe-article__meta--sep-newline > *::after,
.jwe-paper__meta--sep-newline > *::after {
  display: none;
}


.jwe-article__category--label {
  color: var(--jwe-text-muted, #666);
  text-decoration: none;
  font-weight: 400;
}
.jwe-article__category--label:hover {
  color: var(--jwe-text, #1a1a2e);
  text-decoration: none;
}


.jwe-article__category--badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--jwe-accent, #3b82f6);
  color: var(--jwe-button-text, #fff);  
  border-radius: var(--jwe-radius-xs, 3px);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.jwe-article__category--badge:hover {
  background: var(--jwe-accent-hover, #2563eb);
  text-decoration: none;
}


.jwe-article__category--caps {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--jwe-accent, #3b82f6);
}


.jwe-article__type {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: var(--jwe-bg, #f1f5f9);
  color: var(--jwe-text-muted, #666);
  border-radius: var(--jwe-radius-xs, 3px);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}


.jwe-article__reading-time {
  font-size: 0.85rem;
  color: var(--jwe-text-muted, #666);
}
.jwe-article__reading-time::before {
  content: '⏱';
  margin-right: 0.25rem;
}


.jwe-article__rating,
.jwe-paper__rating {
  font-size: 0.85rem;
  color: var(--jwe-text-muted, #666);
}
.jwe-article__rating::before,
.jwe-paper__rating::before {
  content: '★';
  color: var(--jwe-warning, #f59e0b);
  margin-right: 0.2rem;
}
.jwe-article__rating small,
.jwe-paper__rating small {
  font-size: 0.75rem;
  opacity: 0.8;
}


.jwe-article__comments,
.jwe-paper__comments {
  font-size: 0.85rem;
  color: var(--jwe-text-muted, #666);
  text-decoration: none;
  cursor: pointer;
}
.jwe-article__comments::before,
.jwe-paper__comments::before {
  content: '💬';
  margin-right: 0.25rem;
}
.jwe-article__comments:hover,
.jwe-paper__comments:hover {
  color: var(--jwe-accent, #3b82f6);
}


.jwe-rating-float {
  position: fixed;
  bottom: 2rem;
  z-index: 10001; 
  background: var(--jwe-surface, #fff);
  padding: 1rem 1.25rem;
  border-radius: var(--jwe-radius, 0.5rem);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  max-width: 300px;
  pointer-events: none; 
}


.jwe-rating-float--bottom-right {
  right: 1.5rem;
}
.jwe-rating-float--bottom-left {
  left: 2rem;
}
.jwe-rating-float--bottom-center {
  left: 50%;
  transform: translateX(-50%) translateY(150%);
}
.jwe-rating-float--bottom-center.jwe-rating-float--visible {
  transform: translateX(-50%) translateY(0);
}

.jwe-rating-float--top-right {
  top: 5rem; 
  bottom: auto;
  right: 1.5rem;
  transform: translateY(-150%);
}
.jwe-rating-float--top-right.jwe-rating-float--visible {
  transform: translateY(0);
}
.jwe-rating-float--top-center {
  top: 5rem;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%) translateY(-150%);
}
.jwe-rating-float--top-center.jwe-rating-float--visible {
  transform: translateX(-50%) translateY(0);
}

.jwe-rating-float--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto; 
}
.jwe-rating-float__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--jwe-text-muted, #888);
  line-height: 1;
  padding: var(--jwe-space-xs);
}
.jwe-rating-float__close:hover {
  color: var(--jwe-text, #1a1a2e);
}
.jwe-rating-float .jwe-rating-prompt {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 801px) {
  
  body.jwe-has-subscribe-float .jwe-rating-float--bottom-right {
    right: 1.5rem; 
  }
}


@media (max-width: 800px) {
  .jwe-rating-float {
    left: 0.75rem !important;
    right: 0.75rem !important;
    bottom: 1rem;
    top: auto !important; 
    max-width: none;
    text-align: center;
    width: auto;
  }
  
  .jwe-rating-float--bottom-right,
  .jwe-rating-float--bottom-left,
  .jwe-rating-float--bottom-center,
  .jwe-rating-float--top-right,
  .jwe-rating-float--top-center {
    left: 0.75rem !important;
    right: 0.75rem !important;
    top: auto !important;
    bottom: 1rem;
    transform: translateY(150%);
  }
  .jwe-rating-float--bottom-center.jwe-rating-float--visible,
  .jwe-rating-float--bottom-right.jwe-rating-float--visible,
  .jwe-rating-float--bottom-left.jwe-rating-float--visible,
  .jwe-rating-float--top-right.jwe-rating-float--visible,
  .jwe-rating-float--top-center.jwe-rating-float--visible {
    transform: translateY(0);
  }
  
  .jwe-rating-float .jwe-rating-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .jwe-rating-float .jwe-rating-thumbs,
  .jwe-rating-float .jwe-rating-stars,
  .jwe-rating-float .jwe-rating-numbers {
    justify-content: center;
  }
  
  
  body.jwe-has-cookie-banner .jwe-rating-float {
    bottom: 90px;
  }
}



.jwe-rating-position--after-content {
  margin: var(--jwe-space-xl) 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--jwe-border, #e5e7eb);
}

.jwe-rating-position--after-author {
  margin-top: 1rem;
}


.jwe-article-interactions {
  margin: 2rem auto 0;
  padding: 1.5rem var(--jwe-hero-padding-h, 1.5rem) 0;
  max-width: var(--jwe-max-width, 1200px);
  border-top: 1px solid var(--jwe-border, #e5e7eb);
}


.jwe-table-wrap,
.jwe-table-wrapper {
  overflow-x: auto;
  max-width: 100%;
  margin: var(--jwe-space-lg) 0;
  -webkit-overflow-scrolling: touch;
}
.jwe-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: var(--jwe-text, #1f2937);
}
.jwe-table caption {
  font-size: 0.85rem;
  color: var(--jwe-text-muted, #666);
  margin-bottom: 0.75rem;
  text-align: left;
  font-style: italic;
}
.jwe-table th,
.jwe-table td {
  padding: var(--jwe-space-sm, 0.5rem) var(--jwe-space-md, 1rem);
  text-align: left;
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}

@media (max-width: 800px) {
  .jwe-table th,
  .jwe-table td {
    padding: var(--jwe-space-xs, 0.25rem) var(--jwe-space-sm, 0.5rem);
  }
}
.jwe-table th {
  font-weight: 600;
  background: var(--jwe-bg, #f8f9fa);
  white-space: nowrap;
}
.jwe-table--striped tbody tr:nth-child(even) {
  background: var(--jwe-bg-alt, #f8fafc);
}
.jwe-table--bordered {
  border: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-table--bordered th,
.jwe-table--bordered td {
  border: 1px solid var(--jwe-border, #e5e7eb);
}
.jwe-table--compact th,
.jwe-table--compact td {
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}
@media (max-width: 540px) {
  .jwe-table {
    font-size: 0.8rem;
  }
  .jwe-table th,
  .jwe-table td {
    padding: var(--jwe-space-sm);
  }
}


.jwe-article__meta--hero,
.jwe-paper__meta--hero {
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.jwe-article__meta--hero a,
.jwe-paper__meta--hero a {
  color: rgba(255,255,255,0.9);
}
.jwe-article__meta--hero time,
.jwe-paper__meta--hero time {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.jwe-article__meta--hero .jwe-article__category--badge,
.jwe-paper__meta--hero .jwe-paper__category--badge {
  background: rgba(255,255,255,0.15);
  color: var(--jwe-button-text, #fff);  
  border: 1px solid rgba(255,255,255,0.3);
}
.jwe-article__meta--hero .jwe-article__category--badge:hover,
.jwe-paper__meta--hero .jwe-paper__category--badge:hover {
  background: rgba(255,255,255,0.25);
}

.jwe-article__meta--hero .jwe-article__category--label,
.jwe-paper__meta--hero .jwe-paper__category--label {
  color: rgba(255,255,255,0.85);
}

.jwe-article__meta--hero .jwe-article__category--caps,
.jwe-paper__meta--hero .jwe-paper__category--caps {
  color: rgba(255,255,255,0.9);
}


.jwe-article-grid {
  display: grid;
  gap: var(--jwe-space-lg);
}

.jwe-article-grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  justify-content: center;
}

.jwe-article-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  justify-content: center;
}
.jwe-article-grid--list {
  grid-template-columns: 1fr;
  max-width: var(--jwe-content-width, 720px);
  margin: 0 auto;
}
@media (max-width: 540px) {
  .jwe-article-grid,
  .jwe-article-grid--cards,
  .jwe-article-grid--compact {
    gap: var(--jwe-space-md); 
  }
  .jwe-article-grid--cards,
  .jwe-article-grid--compact {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}


.jwe-article-item {
  background: var(--jwe-surface, #fff);
  border-radius: var(--jwe-radius, 0.5rem);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.jwe-article-item__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.jwe-article-item--card .jwe-article-item__image img {
  height: 180px;
}

.jwe-article-item--compact .jwe-article-item__image img {
  height: 120px;
}

.jwe-article-item__content {
  padding: var(--jwe-space-md);
}
.jwe-article-item--compact .jwe-article-item__content {
  padding: var(--jwe-space-sm);
}
.jwe-article-item__category {
  font-size: 0.75rem;
  color: var(--jwe-accent);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}
.jwe-article-item__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}
.jwe-article-item--compact .jwe-article-item__title {
  font-size: 0.95rem;
}
.jwe-article-item__title a {
  text-decoration: none;
  color: inherit;
}
.jwe-article-item__title a:hover {
  color: var(--jwe-accent);
}
.jwe-article-item__excerpt {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--jwe-text-muted);
  line-height: 1.4;
}


.jwe-article-item--list {
  display: flex;
  gap: var(--jwe-space-md);
  padding: 1rem 0;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: 0;
}
.jwe-article-item--list .jwe-article-item__image {
  flex-shrink: 0;
}
.jwe-article-item--list .jwe-article-item__image img {
  width: 100px;
  height: 70px;
  border-radius: var(--jwe-radius-sm, 4px);
}
.jwe-article-item--list .jwe-article-item__content {
  padding: 0;
}

.jwe-article-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--jwe-text-muted, #666);
}
.jwe-article-item__date {
  display: inline-flex;
  align-items: center;
}
.jwe-article-item__reading-time {
  display: inline-flex;
  align-items: center;
}
.jwe-article-item__reading-time::before {
  content: '⏱';
  margin-right: 0.25rem;
  font-size: 0.9em;
}
.jwe-article-item__rating {
  display: inline-flex;
  align-items: center;
  color: var(--jwe-warning, #f59e0b);
  font-weight: 500;
}
.jwe-article-item__author {
  display: inline-flex;
  align-items: center;
}
.jwe-article-item__author::before {
  content: 'By';
  margin-right: 0.25rem;
  font-weight: 400;
}

.jwe-article-item--compact .jwe-article-item__date,
.jwe-article-item--list .jwe-article-item__date {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--jwe-text-muted, #888);
}


.jwe-author-articles-section {
  padding: 3rem 0;
}
.jwe-category-top-section {
  padding: 3rem 0;
  background: var(--jwe-surface, #fff);
}
.jwe-section-title {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.jwe-section-pad .jwe-section-title,
.jwe-related-section .jwe-section-title {
  margin-top: 0;
}

@media (max-width: 800px) {
  h2, .jwe-section-title {
    margin-top: var(--jwe-space-lg, 1.5rem);
  }
  
  section > h2:first-child,
  .jwe-section-pad h2:first-child,
  .jwe-stratum > h2:first-child {
    margin-top: var(--jwe-space-md, 1rem);
  }
}

.jwe-toc-box--border-left {
  border-left: 4.5px solid var(--jwe-primary);
  border-radius: 0;
}
.jwe-toc-box--border-left li::before {
  content: '•';
}


.jwe-contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.jwe-form-group {
  margin-bottom: 1.25rem;
}

.jwe-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--jwe-text);
  font-size: 0.95rem;
}

.jwe-form-input,
.jwe-form-textarea,
.jwe-form-select {
  width: 100%;
  padding: var(--jwe-input-padding);
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius, 0.375rem);
  background: var(--jwe-surface, #fff);
  color: var(--jwe-text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.jwe-form-input:focus,
.jwe-form-textarea:focus,
.jwe-form-select:focus {
  outline: none;
  border-color: var(--jwe-primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.jwe-form-textarea {
  min-height: 150px;
  resize: vertical;
}

.jwe-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  background: var(--jwe-primary, #2563eb);
  color: #fff;
  border: none;
  border-radius: var(--jwe-radius, 0.375rem);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.jwe-form-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.jwe-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}




.jwe-contact-form--standard {
  
}


.jwe-contact-form--simple .jwe-form-group--name,
.jwe-contact-form--simple .jwe-form-group--subject,
.jwe-contact-form--simple .jwe-form-group--department {
  display: none;
}


.jwe-contact-form--subject .jwe-form-group--department {
  display: none;
}


.jwe-contact-form--department .jwe-form-group--subject {
  display: none;
}


.jwe-comment-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--jwe-border, #e5e7eb);
}

.jwe-article-interactions .jwe-comment-section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.jwe-comment-section-title {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.jwe-comment-form-wrapper {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--jwe-border, #e5e7eb);
}

.jwe-comment-form {
  margin-bottom: 2rem;
  padding: var(--jwe-space-lg);
  background: var(--jwe-bg, #f8fafc);
  border-radius: var(--jwe-radius, 0.5rem);
}




.jwe-comment-form--full {
  
}


.jwe-comment-form--simple .jwe-form-group--email {
  display: none;
}


.jwe-comment-form--minimal .jwe-form-group--name,
.jwe-comment-form--minimal .jwe-form-group--email {
  display: none;
}


.jwe-comment-form--inline {
  display: flex;
  gap: var(--jwe-space-md);
  flex-wrap: wrap;
}
.jwe-comment-form--inline .jwe-form-group {
  flex: 1;
  min-width: 200px;
  margin-bottom: 0;
}
.jwe-comment-form--inline .jwe-form-group--comment {
  flex: 100%;
}

.jwe-comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}


.jwe-comment {
  position: relative;
  background: var(--jwe-surface, #fff);
  padding: var(--jwe-space-lg);
  padding-right: 2.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius, 0.5rem);
}

.jwe-comment__header {
  display: flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  margin-bottom: 0.5rem;
}

.jwe-comment__author {
  font-weight: 600;
  color: var(--jwe-text);
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.jwe-comment__date {
  font-size: 0.85rem;
  color: var(--jwe-text-muted, #64748b);
}

.jwe-comment__flag {
  margin-right: 0.25rem;
}

.jwe-comment__content {
  line-height: 1.6;
  color: var(--jwe-text);
  word-break: break-word;
  overflow-wrap: break-word;
}


.jwe-comment-section--flat .jwe-comment {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.25rem 2.5rem 1.25rem 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--jwe-border, #e5e7eb);
}

.jwe-comment-section--flat .jwe-comment:last-child {
  border-bottom: none;
}


.jwe-comment-section--cards .jwe-comment,
.jwe-comment--card {
  background: var(--jwe-surface, #fff);
  box-shadow: var(--jwe-shadow, 0 1px 3px rgba(0,0,0,0.08));
}


.jwe-comment-section--thread .jwe-comment {
  margin-left: 0;
}
.jwe-comment-section--thread .jwe-comment[data-depth="1"] {
  margin-left: 1.5rem;
  border-left: 2px solid var(--jwe-border, #e5e7eb);
}
.jwe-comment-section--thread .jwe-comment[data-depth="2"] {
  margin-left: 3rem;
  border-left: 2px solid var(--jwe-border, #e5e7eb);
}


.jwe-comment-author { font-weight: 600; }
.jwe-comment-date { font-size: 0.85rem; color: var(--jwe-text-muted, #64748b); }

.jwe-comment-text { margin-top: 0.5rem; line-height: 1.6; word-break: break-word; overflow-wrap: break-word; }
.jwe-comment-author { word-break: break-word; overflow-wrap: break-word; max-width: 100%; }

.jwe-comments-empty {
  text-align: center;
  padding: var(--jwe-space-xl);
  color: var(--jwe-text-muted, #64748b);
  font-style: italic;
}


.jwe-comment--pending {
  background: var(--jwe-bg-warning, #fffbeb);
  border: 2px dashed var(--jwe-border-warning, #fbbf24);
  border-radius: var(--jwe-radius, 0.5rem);
  padding: 1.25rem 2.5rem 1.25rem 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}


.jwe-comment--pending .jwe-comment__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--jwe-text-muted, #64748b);
  background: transparent;
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius-sm, 4px);
  cursor: pointer;
  transition: all 0.15s ease;
}
.jwe-comment--pending .jwe-comment__close:hover {
  color: var(--jwe-error, #dc2626);
  border-color: var(--jwe-error, #dc2626);
  background: var(--jwe-error-bg, #fef2f2);
}


.jwe-comment--pending .jwe-comment__header {
  display: flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  margin-bottom: 0.5rem;
}
.jwe-comment--pending .jwe-comment__author {
  font-weight: 600;
  color: var(--jwe-text);
}
.jwe-comment--pending .jwe-comment__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--jwe-warning-dark, #92400e);
  background: var(--jwe-warning-light, #fde68a);
  padding: 0.2rem 0.5rem;
  border-radius: var(--jwe-radius-xs, 3px);
}


.jwe-comment--pending .jwe-comment__content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--jwe-text);
}


.jwe-comment--pending__status { display: none; }
.jwe-comment--pending__delete { display: none; }


.jwe-comment__admin-delete {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--jwe-error, #dc2626);
  background: var(--jwe-error-bg, #fef2f2);
  border: 1px solid var(--jwe-error, #dc2626);
  border-radius: var(--jwe-radius-xs, 3px);
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.15s ease;
}
.jwe-comment__admin-delete:hover {
  opacity: 1;
  background: var(--jwe-error, #dc2626);
  color: white;
}

.jwe-comments-loadmore {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
}
.jwe-comments-loadmore button {
  display: inline-flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  padding: var(--jwe-space-sm) var(--jwe-space-lg);
  background: var(--jwe-bg-alt, #f8fafc);
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius, 0.375rem);
  color: var(--jwe-text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--jwe-transition, 0.2s) ease;
}
.jwe-comments-loadmore button:hover {
  background: var(--jwe-surface, #fff);
  border-color: var(--jwe-primary, #2563eb);
  color: var(--jwe-primary, #2563eb);
}
.jwe-comments-loadmore button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.jwe-comments-loadmore--outline button {
  background: transparent;
}
.jwe-comments-loadmore--filled button {
  background: var(--jwe-primary, #2563eb);
  border-color: var(--jwe-primary, #2563eb);
  color: white;
}
.jwe-comments-loadmore--filled button:hover {
  background: var(--jwe-primary-dark, #1d4ed8);
}
.jwe-comments-loadmore--minimal button {
  background: transparent;
  border: none;
  text-decoration: underline;
  padding: var(--jwe-space-sm) var(--jwe-space-md);
}
.jwe-comments-loadmore--text button {
  background: transparent;
  border: none;
  color: var(--jwe-primary, #2563eb);
}


.jwe-comment-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--jwe-space-md);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--jwe-border, #e5e7eb);
}

.jwe-comment-pagination a {
  display: inline-flex;
  align-items: center;
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  background: var(--jwe-bg, #f8fafc);
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius, 0.375rem);
  color: var(--jwe-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, border-color 0.2s;
}

.jwe-comment-pagination a:hover {
  background: var(--jwe-surface, #fff);
  border-color: var(--jwe-primary, #2563eb);
  color: var(--jwe-primary, #2563eb);
}

.jwe-comment-pagination-info {
  font-size: 0.9rem;
  color: var(--jwe-text-muted, #64748b);
}



.jwe-article-interactions {
  margin: 2rem auto 0;
  padding: 0 var(--jwe-hero-padding-h, 1.5rem);
  max-width: var(--jwe-max-width, 1200px);
}


.jwe-rating {
  display: inline-flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  font-size: 0.95rem;
}


.jwe-rating-widget--stars .jwe-rating-stars {
  color: var(--jwe-accent, #f59e0b);
  letter-spacing: 2px;  
}

.jwe-rating-widget--stars .jwe-rating-stars span {
  cursor: pointer;
  transition: transform 0.1s;
}

.jwe-rating-widget--stars .jwe-rating-stars span:hover {
  transform: scale(1.2);
}


.jwe-rating-widget--number .jwe-rating-value {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--jwe-primary, #2563eb);
}


.jwe-rating-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--jwe-space-sm);
  padding: 1.5rem 0;
}

.jwe-rating-prompt {
  font-weight: 500;
  color: var(--jwe-text, #333);
  font-size: 1rem;
}


.jwe-rating-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: var(--jwe-space-sm);
  justify-content: center;
}

@media (max-width: 540px) {
  .jwe-rating-numbers {
    gap: var(--jwe-space-xs);
  }
  .jwe-rating-number {
    min-width: 1.75rem;
    height: 1.75rem;
    font-size: 0.8rem;
    padding: 0 0.25rem;
  }
  
  .jwe-rating-float .jwe-rating-numbers {
    justify-content: center;
  }
}

.jwe-rating-scale {
  display: flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  flex-wrap: wrap;
}

.jwe-rating-scale-label {
  font-size: 0.8rem;
  color: var(--jwe-text-muted, #666);
  white-space: nowrap;
}

.jwe-rating-scale-label--low {
  text-align: right;
}

.jwe-rating-scale-label--high {
  text-align: left;
}

@media (max-width: 540px) {
  .jwe-rating-scale {
    flex-direction: column;
    align-items: flex-start;
  }
  .jwe-rating-scale-label {
    display: none; 
  }
}


.jwe-rating-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  background: var(--jwe-surface, #fff);
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: 0.25rem;
  color: var(--jwe-text, #333);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.jwe-rating-number:hover {
  background: var(--jwe-primary, #2563eb);
  border-color: var(--jwe-primary, #2563eb);
  color: #fff;
  transform: translateY(-2px);
}

.jwe-rating-number:active {
  transform: translateY(0);
}


.jwe-rating-widget--voted {
  
}

.jwe-rating-widget--voted .jwe-rating-number {
  cursor: default;
  pointer-events: none;
}

.jwe-rating-widget--voted .jwe-rating-number:hover {
  transform: none;
  background: var(--jwe-surface, #fff);
  border-color: var(--jwe-border, #e5e7eb);
  color: var(--jwe-text, #333);
}




.jwe-rating--selected {
  background: var(--jwe-primary, #2563eb) !important;
  border-color: var(--jwe-primary, #2563eb) !important;
  color: var(--jwe-button-text, #fff);  
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}


.jwe-rating--disabled:not(.jwe-rating--selected) {
  opacity: 0.5;
  background: var(--jwe-bg, #f8f9fa) !important;
}


.jwe-rating-widget--style-rounded .jwe-rating-number {
  border-radius: 0.5rem;
}


.jwe-rating-widget--style-pill .jwe-rating-number {
  border-radius: 9999px;
  min-width: 2.5rem;
}


.jwe-rating-widget--style-minimal .jwe-rating-number {
  border: none;
  background: var(--jwe-bg, #f1f5f9);
}
.jwe-rating-widget--style-minimal .jwe-rating-number:hover {
  background: var(--jwe-primary, #2563eb);
}


.jwe-rating-widget--style-outline .jwe-rating-number {
  background: transparent;
  border: 2px solid var(--jwe-border, #d1d5db);
}
.jwe-rating-widget--style-outline .jwe-rating-number:hover {
  border-color: var(--jwe-primary, #2563eb);
  background: var(--jwe-primary, #2563eb);
}


.jwe-rating-widget--style-compact .jwe-rating-number {
  min-width: 1.75rem;
  height: 1.75rem;
  font-size: 0.8rem;
  padding: 0 0.3rem;
}


.jwe-rating-feedback {
  margin-top: 0.75rem;
  padding: var(--jwe-space-sm);
  background: var(--jwe-bg-success, #ecfdf5);
  border-radius: var(--jwe-radius, 0.375rem);
  font-size: 0.9rem;
  text-align: center;
}
.jwe-rating-feedback strong {
  color: var(--jwe-success, #059669);
  display: block;
  margin-bottom: 0.25rem;
}
.jwe-rating-feedback small {
  color: var(--jwe-text-muted, #666);
}


.jwe-rating-stars {
  display: flex;
  gap: var(--jwe-space-xs);
}

.jwe-rating-star {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--jwe-space-xs);
  font-size: 1.5rem;
  color: var(--jwe-border, #d1d5db);
  transition: color 0.1s, transform 0.1s;
}

.jwe-rating-star:hover,
.jwe-rating-star--active {
  color: var(--jwe-accent, #f59e0b);
}

.jwe-rating-star:hover {
  transform: scale(1.15);
}


.jwe-rating-feedback {
  font-size: 0.9rem;
  color: var(--jwe-text-muted, #64748b);
  margin-top: 0.5rem;
}


.jwe-rating-widget--full {
  gap: var(--jwe-space-sm);
}


.jwe-rating-widget--bar {
  flex-direction: column;
  align-items: flex-start;
  gap: var(--jwe-space-xs);
}

.jwe-rating-bar {
  width: 120px;
  height: 8px;
  background: var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius-sm, 4px);
  overflow: hidden;
}

.jwe-rating-bar-fill {
  height: 100%;
  background: var(--jwe-accent, #f59e0b);
  transition: width 0.3s ease;
}


.jwe-rating-widget--thumbs {
  gap: var(--jwe-space-md);
}

.jwe-rating-thumbs {
  display: flex;
  gap: var(--jwe-space-sm);
  justify-content: center;
  align-items: center;
}

.jwe-rating-widget--thumbs button {
  display: inline-flex;
  align-items: center;
  gap: var(--jwe-space-sm);
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  background: var(--jwe-bg, #f8fafc);
  border: 1px solid var(--jwe-border, #e5e7eb);
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.jwe-rating-widget--thumbs button:hover {
  background: var(--jwe-surface, #fff);
}

.jwe-rating-widget--thumbs .jwe-rating-thumb--up:hover {
  border-color: var(--jwe-success, #10b981);
}

.jwe-rating-widget--thumbs .jwe-rating-thumb--down:hover {
  border-color: var(--jwe-error, #ef4444);
}


.jwe-rating-voted {
  color: var(--jwe-text-muted, #64748b);
  font-size: 0.9rem;
}

.jwe-rating-voted strong {
  color: var(--jwe-accent, #f59e0b);
}

.jwe-rating--selected {
  color: var(--jwe-accent, #f59e0b) !important;
  border-color: var(--jwe-accent, #f59e0b) !important;
  background: rgba(245, 158, 11, 0.1) !important;
  transform: scale(1.05);
}

.jwe-rating--unselected {
  opacity: 0.4;
  cursor: default;
}

.jwe-rating--filled svg {
  fill: var(--jwe-accent, #f59e0b);
  stroke: var(--jwe-accent, #f59e0b);
}

.jwe-rating-prompt--voted {
  color: var(--jwe-success, #10b981);
  font-weight: 500;
}


.jwe-rating-thumb--up.jwe-rating--selected {
  border-color: var(--jwe-success, #10b981) !important;
  background: rgba(16, 185, 129, 0.1) !important;
  color: var(--jwe-success, #10b981) !important;
}

.jwe-rating-thumb--down.jwe-rating--selected {
  border-color: var(--jwe-error, #ef4444) !important;
  background: rgba(239, 68, 68, 0.1) !important;
  color: var(--jwe-error, #ef4444) !important;
}


.jwe-rating-widget--voted button:disabled {
  cursor: default;
}


.jwe-feedback {
  position: fixed;
  z-index: 10000;
  padding: var(--jwe-space-md) var(--jwe-space-lg);
  border-radius: var(--jwe-radius, 0.5rem);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.jwe-feedback--visible {
  opacity: 1;
  visibility: visible;
}


.jwe-feedback--top-center {
  top: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
}
.jwe-feedback--top-center.jwe-feedback--visible {
  transform: translateX(-50%) translateY(0);
}

.jwe-feedback--top-right {
  top: 1rem;
  right: 1rem;
  transform: translateX(20px);
}
.jwe-feedback--top-right.jwe-feedback--visible {
  transform: translateX(0);
}

.jwe-feedback--bottom-center {
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
}
.jwe-feedback--bottom-center.jwe-feedback--visible {
  transform: translateX(-50%) translateY(0);
}

.jwe-feedback--bottom-right {
  bottom: 1rem;
  right: 1rem;
  transform: translateX(20px);
}
.jwe-feedback--bottom-right.jwe-feedback--visible {
  transform: translateX(0);
}


.jwe-feedback--inline {
  position: relative;
  margin: var(--jwe-space-md) 0;
  max-width: 100%;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}


.jwe-feedback--toast {
  border-radius: 0.5rem;
}

.jwe-feedback--banner {
  border-radius: 0;
  max-width: none;
  width: 100%;
  left: 0;
  right: 0;
  transform: translateY(-100%);
}
.jwe-feedback--banner.jwe-feedback--visible {
  transform: translateY(0);
}
.jwe-feedback--banner.jwe-feedback--bottom-center {
  transform: translateY(100%);
}
.jwe-feedback--banner.jwe-feedback--bottom-center.jwe-feedback--visible {
  transform: translateY(0);
}

.jwe-feedback--modal {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  text-align: center;
  padding: var(--jwe-space-xl);
}
.jwe-feedback--modal.jwe-feedback--visible {
  transform: translate(-50%, -50%) scale(1);
}


.jwe-feedback--success {
  background: var(--jwe-success, #10b981);
  color: #fff;
}

.jwe-feedback--primary {
  background: var(--jwe-primary, #2563eb);
  color: #fff;
}

.jwe-feedback--accent {
  background: var(--jwe-accent, #f59e0b);
  color: #fff;
}

.jwe-feedback--neutral {
  background: var(--jwe-surface, #fff);
  color: var(--jwe-text, #333);
  border: 1px solid var(--jwe-border, #e5e7eb);
}


.jwe-feedback--error {
  background: var(--jwe-error, #ef4444);
  color: #fff;
}


.jwe-feedback-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  padding: var(--jwe-space-xs);
}

.jwe-feedback-close:hover {
  opacity: 1;
}


.jwe-feedback--anim-fade {
  transition: opacity 0.3s;
}

.jwe-feedback--anim-slide {
  transition: opacity 0.3s, transform 0.3s;
}

.jwe-feedback--anim-scale {
  transition: opacity 0.3s, transform 0.3s;
}
.jwe-feedback--anim-scale:not(.jwe-feedback--visible) {
  transform: scale(0.8);
}

.jwe-feedback--anim-none {
  transition: none;
}


@media (max-width: 540px) {
  .jwe-feedback {
    max-width: calc(100% - 2rem);
    font-size: 0.9rem;
  }
  
  .jwe-feedback--top-right,
  .jwe-feedback--bottom-right {
    right: 1rem;
    left: 1rem;
    transform: translateY(20px);
  }
  
  .jwe-feedback--banner {
    padding: var(--jwe-input-padding);
  }
}


.jwe-stratum:nth-child(n+4) {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

@media print {
  .jwe-control-plane,
  .jwe-header-search,
  .jwe-menu-toggle,
  .jwe-burger,
  .jwe-scroll-top,
  .jwe-cookie-banner,
  .jwe-rating-float,
  .jwe-share-buttons,
  .jwe-comment-form,
  .jwe-subscribe-box {
    display: none !important;
  }

  .jwe-card,
  .jwe-node,
  .jwe-module {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}



.jwe-search-form {
  display: flex;
  gap: var(--jwe-space-sm);
}
.jwe-search-input {
  flex: 1;
  padding: var(--jwe-space-md);
  font-size: 1.1rem;
  border: 2px solid var(--jwe-border);
  border-radius: var(--jwe-radius, 0.5rem);
  background: var(--jwe-surface);
  color: var(--jwe-text);
}
.jwe-search-input:focus {
  outline: none;
  border-color: var(--jwe-primary);
}
.jwe-search-btn {
  padding: var(--jwe-space-md) var(--jwe-space-lg);
  background: var(--jwe-primary);
  color: var(--jwe-button-text, #fff);
  border: none;
  border-radius: var(--jwe-radius, 0.5rem);
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
}
.jwe-search-btn:hover {
  filter: brightness(1.1);
}

@media (max-width: 540px) {
  .jwe-search-form {
    flex-direction: column;
  }
  .jwe-search-input {
    width: 100%;
    font-size: 1rem;
  }
  .jwe-search-btn {
    width: 100%;
  }
}
.jwe-search-modal__hint {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--jwe-text-muted);
  text-align: center;
}
.jwe-search-modal__hint kbd {
  padding: 0.25rem 0.5rem;
  background: var(--jwe-bg);
  border: 1px solid var(--jwe-border);
  border-radius: 0.25rem;
  font-family: monospace;
}
#search-modal[data-state="open"] {
  display: flex !important;
}



.jwe-404-image {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 0 auto var(--jwe-space-lg, 2rem) auto;
  mix-blend-mode: multiply;
}

.jwe-404-subheading {
  font-size: 1.5rem;
  color: var(--jwe-text-muted, #6b7280);
  margin-bottom: 0.5rem;
}

.jwe-404-btn {
  display: inline-block;
  margin-top: 1rem;
}

.jwe-404-categories {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--jwe-border, #e5e7eb);
}

.jwe-404-browse-text {
  color: var(--jwe-text-muted, #6b7280);
  margin-bottom: 1rem;
}

.jwe-404-category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--jwe-space-sm);
}

.jwe-404-category-link {
  display: inline-block;
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  background: var(--jwe-bg-alt, #f3f4f6);
  color: var(--jwe-text);
  border-radius: var(--jwe-radius, 0.5rem);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.jwe-404-category-link:hover {
  background: var(--jwe-primary, #3b82f6);
  color: #fff;
  transform: translateY(-2px);
}


.jwe-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin: 3rem 0;
  font-size: 0.95rem;
}

.jwe-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  padding: 0 0.6rem;
  text-decoration: none;
  color: var(--jwe-text);
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border .15s ease;
}

.jwe-page:hover {
  background: rgba(0,0,0,0.05);
}

.jwe-page.is-active {
  font-weight: 600;
  pointer-events: none;
}

.jwe-page.is-ellipsis {
  border: none;
  cursor: default;
  background: none;
}


@media (max-width: 540px) {
  .jwe-pagination {
    gap: var(--jwe-space-xs);
  }
}




@media (max-width: 960px) {
  .jwe-header-search {
    display: none !important;
  }
}


.jwe-menu-toggle {
  display: none;
}

@media (max-width: 800px) {
  .jwe-control-panel,
  .jwe-control-plane,
  .jwe-masthead,
  .jwe-header {
    padding: 0.25rem 0;
  }
  .jwe-control-panel .jwe-mainframe,
  .jwe-control-panel .jwe-manifold,
  .jwe-control-plane .jwe-mainframe,
  .jwe-control-plane .jwe-manifold,
  .jwe-masthead .jwe-mainframe,
  .jwe-masthead .jwe-manifold,
  .jwe-header .jwe-mainframe,
  .jwe-header .jwe-manifold {
    padding: 0 0.75rem;
    gap: var(--jwe-space-sm);
  }
  .jwe-brand {
    max-width: 130px;
  }
  .jwe-logo img {
    width: var(--jwe-logo-width, 110px);
    max-width: 100%;
    height: auto;
  }
  
  .jwe-header--logo-center .jwe-logo img,
  .jwe-mainframe.jwe-header--logo-center .jwe-logo img {
    width: var(--jwe-logo-width, 110px) !important;
    max-width: 100%;
    height: auto;
  }
  
  .jwe-toc-box,
  .jwe-toc {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .jwe-toc-box ul,
  .jwe-toc ul {
    word-break: break-word;
  }
}



@media (max-width: 960px) {
  
  .jwe-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  .jwe-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--jwe-header-text, #fff);
    transition: transform 0.3s;
  }
  
  
  .jwe-nav,
  .jwe-nav-bar,
  .jwe-trajectory,
  .jwe-circuit,
  .jwe-lattice,
  nav.jwe-nav,
  nav.jwe-nav-bar,
  nav.jwe-trajectory,
  nav.jwe-circuit,
  nav.jwe-lattice {
    display: none;
  }
  
  
  .jwe-mobile-search {
    display: none;
  }
}


.jwe-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1999;
}
.jwe-nav-overlay.active {
  display: block;
}

@keyframes jwe-slide-l { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes jwe-slide-r { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes jwe-fade-in { from { opacity: 0; } to { opacity: 1; } }
body.jwe-menu-slide-left nav[data-state="open"],
body.jwe-menu-slide-left .jwe-nav[data-state="open"],
body.jwe-menu-slide-left .jwe-nav-bar[data-state="open"],
body.jwe-menu-slide-left .jwe-circuit[data-state="open"],
body.jwe-menu-slide-left .jwe-trajectory[data-state="open"],
body.jwe-menu-slide-left .jwe-lattice[data-state="open"] {
  animation: jwe-slide-l 0.3s ease-out;
}
body.jwe-menu-slide-right nav[data-state="open"],
body.jwe-menu-slide-right .jwe-nav[data-state="open"],
body.jwe-menu-slide-right .jwe-nav-bar[data-state="open"],
body.jwe-menu-slide-right .jwe-circuit[data-state="open"],
body.jwe-menu-slide-right .jwe-trajectory[data-state="open"],
body.jwe-menu-slide-right .jwe-lattice[data-state="open"] {
  animation: jwe-slide-r 0.3s ease-out;
}
body.jwe-menu-fade nav[data-state="open"],
body.jwe-menu-fade .jwe-nav[data-state="open"],
body.jwe-menu-fade .jwe-nav-bar[data-state="open"],
body.jwe-menu-fade .jwe-circuit[data-state="open"],
body.jwe-menu-fade .jwe-trajectory[data-state="open"],
body.jwe-menu-fade .jwe-lattice[data-state="open"] {
  animation: jwe-fade-in 0.25s ease-out;
}


@media (max-width: 960px) {
  nav[data-state="open"],
  .jwe-nav[data-state="open"],
  .jwe-nav-bar[data-state="open"],
  .jwe-circuit[data-state="open"],
  .jwe-trajectory[data-state="open"],
  .jwe-lattice[data-state="open"] {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--jwe-surface, #fff) !important; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav[data-state="open"] ul,
  .jwe-nav[data-state="open"] ul,
  .jwe-nav-bar[data-state="open"] ul,
  .jwe-circuit[data-state="open"] ul,
  .jwe-trajectory[data-state="open"] ul,
  .jwe-lattice[data-state="open"] ul {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: 0 1rem;
    list-style: none;
    margin: 0;
  }
  nav[data-state="open"] li,
  .jwe-nav[data-state="open"] li,
  .jwe-nav-bar[data-state="open"] li,
  .jwe-circuit[data-state="open"] li,
  .jwe-trajectory[data-state="open"] li,
  .jwe-lattice[data-state="open"] li {
    width: 100%;
    border-bottom: 1px solid var(--jwe-border, #e5e7eb);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  nav[data-state="open"] a,
  .jwe-nav[data-state="open"] a,
  .jwe-nav-bar[data-state="open"] a,
  .jwe-circuit[data-state="open"] a,
  .jwe-trajectory[data-state="open"] a,
  .jwe-lattice[data-state="open"] a {
    display: block;
    padding: var(--jwe-space-md);
    color: var(--jwe-text, #1a1a1a) !important; 
    text-decoration: none;
    font-size: 1.125rem;
    border-left: none;
  }
}


@media (max-width: 960px) {
  nav[data-state="open"] ~ .jwe-menu-toggle,
  .jwe-lattice[data-state="open"] ~ .jwe-menu-toggle,
  .jwe-circuit[data-state="open"] ~ .jwe-menu-toggle,
  .jwe-trajectory[data-state="open"] ~ .jwe-menu-toggle {
    display: none !important;
  }
}


body.menu-open,
body.search-open {
  overflow: hidden !important;
}
html.menu-open {
  overflow: hidden !important;
}



@media (min-width: 961px) {
  .jwe-nav,
  .jwe-nav-bar,
  .jwe-lattice,
  .jwe-circuit,
  .jwe-trajectory,
  nav[data-state="open"],
  .jwe-nav[data-state="open"],
  .jwe-lattice[data-state="open"] {
    display: block !important;
    position: static !important;
    background: transparent !important;
    z-index: auto !important;
  }
  
  .jwe-menu-toggle {
    display: none !important;
  }
}


.jwe-nav-close {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-width: 44px;
  min-height: 44px;
  padding: var(--jwe-space-xs, 0.25rem);
  background: var(--jwe-text, #333);
  color: var(--jwe-surface, #fff);
  border: 2px solid var(--jwe-border, #e5e7eb);
  border-radius: var(--jwe-radius, 0.5rem);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  z-index: 2001;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.jwe-close-icon {
  font-size: 20px;
  line-height: 1;
}

.jwe-close-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jwe-nav-close:not(:has(.jwe-close-label)) {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 24px;
}
.jwe-nav-close:hover {
  background: var(--jwe-primary);
  border-color: var(--jwe-primary);
}
nav[data-state="open"] .jwe-nav-close,
.jwe-nav[data-state="open"] .jwe-nav-close,
.jwe-nav-bar[data-state="open"] .jwe-nav-close,
.jwe-circuit[data-state="open"] .jwe-nav-close,
.jwe-trajectory[data-state="open"] .jwe-nav-close,
.jwe-nav.jwe-nav--open .jwe-nav-close,
.jwe-nav-bar.jwe-nav--open .jwe-nav-close {
  display: flex;
}


.jwe-mobile-search {
  display: none;
}
nav[data-state="open"] .jwe-mobile-search,
.jwe-nav[data-state="open"] .jwe-mobile-search,
.jwe-nav-bar[data-state="open"] .jwe-mobile-search,
.jwe-circuit[data-state="open"] .jwe-mobile-search,
.jwe-trajectory[data-state="open"] .jwe-mobile-search,
.jwe-nav.jwe-nav--open .jwe-mobile-search,
.jwe-nav-bar.jwe-nav--open .jwe-mobile-search {
  display: block;
}
.jwe-mobile-search a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: var(--jwe-space-sm);
}


.jwe-search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10100; 
  background: rgba(0,0,0,0.85);
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
}
.jwe-search-modal__inner {
  position: relative;
  width: 100%;
  max-width: 100%;
  background: var(--jwe-surface);
  border-radius: 0 0 var(--jwe-radius, 0.5rem) var(--jwe-radius, 0.5rem);
  padding: var(--jwe-space-xl);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: slideDown 0.3s ease;
}
.jwe-search-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: var(--jwe-bg);
  border: 1px solid var(--jwe-border);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--jwe-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}
.jwe-search-modal__close:hover {
  background: var(--jwe-text);
  color: var(--jwe-surface);
}
.jwe-search-modal .jwe-search-form {
  max-width: 800px;
  margin: 0 auto;
}
@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}


.jwe-pagination--rounded .jwe-page {
  border-radius: 999px;
}
.jwe-pagination--rounded .jwe-page.is-active {
  background: var(--jwe-accent);
  color: #fff;
  border-color: var(--jwe-accent);
}

.jwe-pagination--rounded.jwe-pagination--arrows-css .jwe-page--prev::before {
  content: "\2190";
  margin-right: 0.4rem;
}
.jwe-pagination--rounded.jwe-pagination--arrows-css .jwe-page--next::after {
  content: "\2192";
  margin-left: 0.4rem;
}

@media (max-width: 540px) {
  .jwe-pagination--rounded .jwe-page:not(.is-active):not(.jwe-page--prev):not(.jwe-page--next) {
    display: none;
  }
}





@media (min-width: 961px) {
  .jwe-header--logo-center {
    padding: 0;
    background: var(--jwe-header-bg);
    color: var(--jwe-header-text);
    
    max-width: none !important;
    width: 100%;
    overflow: hidden;  
  }
  
  
  .jwe-header--logo-center .jwe-container,
  .jwe-header--logo-center .jwe-manifold,
  .jwe-header--logo-center .jwe-mainframe,
  .jwe-header--logo-center .jwe-chassis,
  .jwe-header--logo-center .jwe-lab-frame,
  .jwe-header--logo-center .jwe-wrap,
  .jwe-header--logo-center .jwe-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: none;
    padding: 0;
  }
  
  .jwe-header--logo-center .jwe-header-top {
    width: 100%;
    padding: 1.5rem clamp(1rem, 3vw, 2rem);
    display: flex;
    justify-content: center;
    align-items: center;
    
    overflow: hidden;
    max-height: 200px; 
  }
  
  
  .jwe-header--logo-center.jwe-header--scrolled .jwe-header-top {
    max-height: 0;
    padding: 0;
    visibility: hidden;
  }
  
  .jwe-header--logo-center .jwe-brand,
  .jwe-header--logo-center .jwe-brand--center {
    display: flex;
    justify-content: center;
  }
  
  .jwe-header--logo-center .jwe-logo img {
    width: 250px;
    max-width: 100%;
    height: auto;
  }
  
  .jwe-header--logo-center .jwe-header-bottom {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(40px + 0.75rem);
    padding: 0.6rem clamp(1rem, 3vw, 2rem);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 3px solid var(--jwe-accent);
    gap: 0;
    position: relative;
    
    transition: padding 0.3s ease, border-top 0.3s ease;
  }
  
  .jwe-header--logo-center .jwe-header-search::before {
    display: none;
  }
  
  
  
  .jwe-header--logo-center .jwe-nav,
  .jwe-header--logo-center .jwe-nav-bar,
  .jwe-header--logo-center .jwe-circuit,
  .jwe-header--logo-center .jwe-trajectory,
  .jwe-header--logo-center .jwe-lattice {
    flex: none;
    width: auto;
    display: block;
    grid-template-columns: unset;
    gap: unset;
    margin-bottom: 0;
  }
  
  
  .jwe-header--logo-center .jwe-header-search {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    
    transition: width 0.3s ease, height 0.3s ease, transform 0.2s ease;
  }
  .jwe-header--logo-center .jwe-header-search:hover {
    transform: translateY(-50%) scale(1.05);
  }
  
  
  .jwe-header--logo-center .jwe-nav ul,
  .jwe-header--logo-center .jwe-nav-bar ul,
  .jwe-header--logo-center .jwe-trajectory ul,
  .jwe-header--logo-center .jwe-circuit ul,
  .jwe-header--logo-center .jwe-lattice ul,
  .jwe-header--logo-center .jwe-navigation ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
  }
  
  
  .jwe-header--logo-center .jwe-nav-overflow {
    position: relative;
  }
  .jwe-header--logo-center .jwe-nav-overflow:not(.jwe-nav-overflow--active) {
    width: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
  }
  
  
  .jwe-header--logo-center .jwe-nav li,
  .jwe-header--logo-center .jwe-nav-bar li,
  .jwe-header--logo-center .jwe-circuit li,
  .jwe-header--logo-center .jwe-trajectory li,
  .jwe-header--logo-center .jwe-lattice li,
  .jwe-header--logo-center .jwe-navigation li,
  .jwe-header--logo-center [data-nav-item] {
    padding: 0 1.5rem;
    border-left: 1px solid rgba(255,255,255,0.2);
  }
  
  .jwe-header--logo-center .jwe-nav li:first-child,
  .jwe-header--logo-center .jwe-nav-bar li:first-child,
  .jwe-header--logo-center .jwe-circuit li:first-child,
  .jwe-header--logo-center .jwe-trajectory li:first-child,
  .jwe-header--logo-center .jwe-lattice li:first-child,
  .jwe-header--logo-center .jwe-navigation li:first-child,
  .jwe-header--logo-center [data-nav-item]:first-child {
    border-left: none;
  }
  
  .jwe-header--logo-center .jwe-nav a,
  .jwe-header--logo-center .jwe-nav-bar a,
  .jwe-header--logo-center .jwe-circuit a,
  .jwe-header--logo-center .jwe-trajectory a,
  .jwe-header--logo-center .jwe-lattice a,
  .jwe-header--logo-center .jwe-navigation a {
    color: var(--jwe-header-text);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    padding: 0.25rem 0;
  }
  
  .jwe-header--logo-center .jwe-nav a:hover,
  .jwe-header--logo-center .jwe-nav-bar a:hover,
  .jwe-header--logo-center .jwe-navigation a:hover,
  .jwe-header--logo-center .jwe-nav-link a:hover {
    color: var(--jwe-accent);
  }
}


@media (min-width: 961px) and (max-width: 1150px) {
  .jwe-header--logo-center [data-nav-item] {
    padding: 0 0.75rem;  
  }
}


@media (max-width: 960px) {
  .jwe-header--logo-center {
    background: var(--jwe-header-bg);
  }

  .jwe-header--logo-center .jwe-container,
  .jwe-header--logo-center .jwe-manifold,
  .jwe-header--logo-center .jwe-chassis,
  .jwe-header--logo-center .jwe-lab-frame,
  .jwe-header--logo-center .jwe-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .jwe-header--logo-center .jwe-header-top,
  .jwe-header--logo-center .jwe-header-bottom {
    display: contents;
  }

  .jwe-header--logo-center .jwe-nav li,
  .jwe-header--logo-center .jwe-nav-bar li,
  .jwe-header--logo-center .jwe-navigation li,
  .jwe-header--logo-center .jwe-nav-link {
    border: none;
    padding: 0;
  }

  .jwe-header--logo-center .jwe-nav a,
  .jwe-header--logo-center .jwe-nav-bar a,
  .jwe-header--logo-center .jwe-navigation a,
  .jwe-header--logo-center .jwe-nav-link a {
    color: var(--jwe-header-text);
  }
}


@media (min-width: 961px) {
  .jwe-header--logo-center .jwe-home-link {
    display: none;
    position: absolute;
    left: clamp(1rem, 3vw, 2rem);
    top: 50%;
    transform: translateY(-50%);
    color: var(--jwe-header-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
  }
  .jwe-header--logo-center .jwe-home-link svg {
    display: block;
  }

  
  .jwe-header--logo-center.jwe-header--scrolled .jwe-header-bottom {
    padding: 0.5rem clamp(1rem, 3vw, 2rem);
    border-top: none;
  }

  
  .jwe-header--logo-center.jwe-header--scrolled .jwe-home-link {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
  }
  .jwe-header--logo-center.jwe-header--scrolled .jwe-home-link:hover {
    color: var(--jwe-accent);
  }

  
  .jwe-header--logo-center.jwe-header--scrolled .jwe-header-search {
    width: calc(40px - 4px);
    height: calc(40px - 4px);
  }
}


@media (max-width: 960px) {
  .jwe-header--logo-center .jwe-home-link {
    display: none !important;
  }
  
  .jwe-header--logo-center.jwe-header--scrolled .jwe-header-top {
    max-height: 200px;
    padding: 1rem clamp(1rem, 3vw, 2rem);
    visibility: visible;
  }
}


.jwe-footer--two-col .jwe-footer-grid,
.jwe-footer--two-col .jwe-lattice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.jwe-footer--two-col .jwe-footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
}


.jwe-footer--two-col .jwe-social-links {
  margin-top: 1rem;
}

@media (max-width: 540px) {
  .jwe-footer--two-col .jwe-footer-grid,
  .jwe-footer--two-col .jwe-lattice {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


.jwe-header-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--jwe-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s, filter 0.2s;
}


.jwe-header-search:hover {
  filter: brightness(1.1);
}


.jwe-header--standard .jwe-header-search:hover,
.jwe-header--logo-above .jwe-header-search:hover {
  transform: scale(1.05);
}


.jwe-header,
.jwe-masthead,
.jwe-control-panel,
.jwe-control-plane {
  position: sticky;
  top: 0;
  z-index: 10000;  
  transition: box-shadow 0.3s ease;
}

.jwe-header--scrolled {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


@media (min-width: 961px) {
  
  
  .jwe-header--logo-center.jwe-header--scrolled .jwe-header-bottom {
    border-top: none;
  }
  
  .jwe-header--logo-above.jwe-header--scrolled .jwe-header-top {
    padding: 0.5rem clamp(1rem, 3vw, 2rem);
  }
  .jwe-header--logo-above.jwe-header--scrolled .jwe-logo img {
    max-height: 35px;
    width: auto;
  }
}


.jwe-node,
.jwe-card {
  transition: border-color 0.2s ease;
  border-bottom: 3px solid transparent;
}

.jwe-node:hover,
.jwe-card:hover {
  border-bottom-color: var(--jwe-accent);
}


.jwe-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

.jwe-category-card {
  display: flex;
  flex-direction: column;
  background: var(--jwe-bg-card, #fff);
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.jwe-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.jwe-category-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.jwe-category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jwe-category-card__content {
  padding: 1rem;
}

.jwe-category-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.jwe-category-card__desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--jwe-text-muted, #666);
}

.jwe-category-card__count {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--jwe-text-muted, #888);
}


.jwe-article-grid {
  display: grid;
  gap: 1.5rem;
  padding: 1rem 0;
}

.jwe-article-grid--cards {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.jwe-article-grid--list {
  grid-template-columns: 1fr;
}

.jwe-article-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.jwe-article-item {
  background: var(--jwe-bg-card, #fff);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.jwe-article-item--card {
  display: flex;
  flex-direction: column;
}

.jwe-article-item--list {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
}

.jwe-article-item--compact {
  display: flex;
  flex-direction: column;
}

.jwe-article-item__image {
  display: block;
  overflow: hidden;
}

.jwe-article-item--card .jwe-article-item__image {
  aspect-ratio: 3/2;
}

.jwe-article-item--list .jwe-article-item__image {
  flex-shrink: 0;
}

.jwe-article-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jwe-article-item__content {
  padding: 1rem;
}

.jwe-article-item--list .jwe-article-item__content {
  padding: 0;
  flex: 1;
}

.jwe-article-item__category {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--jwe-accent, #0066cc);
  margin-bottom: 0.5rem;
}

.jwe-article-item__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.jwe-article-item__title a {
  color: inherit;
  text-decoration: none;
}

.jwe-article-item__title a:hover {
  color: var(--jwe-accent, #0066cc);
}

.jwe-article-item__excerpt {
  margin: 0;
  font-size: 0.875rem;
  color: var(--jwe-text-muted, #666);
}


.jwe-cookie-banner {
  position: fixed;
  z-index: 10100; 
  background: var(--jwe-surface, #fff);
  color: var(--jwe-text, #333);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15), 0 1px 4px rgba(0,0,0,0.1);
  
  padding: var(--c-pad, 1rem);
  border-radius: var(--c-radius, 0);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--jwe-space-md);
  font-size: 0.9rem;
  line-height: 1.5;
}
.jwe-cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.jwe-cookie-actions {
  display: flex;
  gap: var(--jwe-space-sm);
  align-items: center;
  flex-wrap: wrap;
}
.jwe-cookie-accept {
  background: var(--jwe-accent, #2563eb);
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: var(--c-radius, 0.375rem);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.1s;
}
.jwe-cookie-accept:hover {
  background: var(--jwe-accent-hover, #1d4ed8);
  transform: translateY(-1px);
}
.jwe-cookie-link {
  color: var(--jwe-text-muted, #666);
  text-decoration: underline;
  font-size: 0.85rem;
}
.jwe-cookie-link:hover {
  color: var(--jwe-accent, #2563eb);
}

.jwe-cookie-banner.jwe-hidden,
.jwe-cookie-banner[hidden] {
  display: none !important;
}



@media (min-width: 541px) {
  
  body.jwe-has-cookie-banner .jwe-scroll-top {
    bottom: calc(2rem + 80px);
  }
  
  body.jwe-has-cookie-banner .jwe-rating-float {
    bottom: calc(2rem + 100px);
  }
  
  body:has(.jwe-cookie-banner--corner-left) .jwe-scroll-top,
  body:has(.jwe-cookie-banner--corner-right) .jwe-scroll-top {
    bottom: calc(2rem + 140px);
  }
  body:has(.jwe-cookie-banner--corner-left) .jwe-rating-float,
  body:has(.jwe-cookie-banner--corner-right) .jwe-rating-float {
    bottom: calc(2rem + 160px);
  }
  body:has(.jwe-cookie-banner--floating) .jwe-rating-float {
    bottom: calc(2rem + 120px);
  }
}

@media (max-width: 540px) {
  body.jwe-has-cookie-banner .jwe-scroll-top {
    bottom: calc(1rem + var(--jwe-logo-width, 110px));
  }
  body.jwe-has-cookie-banner .jwe-rating-float {
    bottom: calc(1rem + 130px);
  }
}


.jwe-cookie-banner--bar-dark {
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--jwe-header-bg, #1e293b);
  color: var(--jwe-header-text, #f1f5f9);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-radius: 0;
  gap: var(--jwe-space-sm);
}
.jwe-cookie-banner--bar-dark p {
  flex: 0 1 auto;
  color: inherit;
}
.jwe-cookie-banner--bar-dark .jwe-cookie-accept {
  background: var(--jwe-accent, #3b82f6);
}
.jwe-cookie-banner--bar-dark .jwe-cookie-accept:hover {
  filter: brightness(0.85);
}
.jwe-cookie-banner--bar-dark .jwe-cookie-link {
  color: var(--jwe-text-muted, #9ca3af);
}
.jwe-cookie-banner--bar-dark .jwe-cookie-link:hover {
  color: var(--jwe-accent, #60a5fa);
}
@media (max-width: 540px) {
  .jwe-cookie-banner--bar-dark {
    flex-direction: column;
    text-align: center;
    gap: var(--jwe-space-sm);
  }
}






.jwe-subscribe {
  --subscribe-bg: var(--jwe-surface, #fff);
  --subscribe-border: var(--jwe-border, #e5e7eb);
  --subscribe-accent: var(--jwe-primary, #2563eb);
}

.jwe-subscribe__headline {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--jwe-heading, #1a1a2e);
  margin: 0 0 0.5rem 0;
}

.jwe-subscribe__subhead {
  font-size: 0.9rem;
  color: var(--jwe-text-muted, #666);
  margin: 0 0 1rem 0;
}

.jwe-subscribe__form {
  display: flex;
  gap: var(--jwe-space-sm);
  flex-wrap: wrap;
}

.jwe-subscribe__input {
  flex: 1;
  min-width: 200px;
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  border: 1px solid var(--subscribe-border);
  border-radius: var(--jwe-radius, 0.375rem);
  font-size: 1rem;
  background: var(--subscribe-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.jwe-subscribe__input:focus {
  outline: none;
  border-color: var(--subscribe-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.jwe-subscribe__input::placeholder {
  color: var(--jwe-text-muted, #9ca3af);
}

.jwe-subscribe__btn {
  padding: var(--jwe-space-sm) var(--jwe-space-lg);
  background: var(--subscribe-accent);
  color: #fff;
  border: none;
  border-radius: var(--jwe-radius, 0.375rem);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.jwe-subscribe__btn:hover {
  background: var(--jwe-primary-hover, #1d4ed8);
  transform: translateY(-1px);
}

.jwe-subscribe__btn:active {
  transform: translateY(0);
}

.jwe-subscribe__privacy {
  font-size: 0.75rem;
  color: var(--jwe-text-muted, #9ca3af);
  margin-top: 0.75rem;
}

.jwe-subscribe__privacy a {
  color: var(--subscribe-accent);
  text-decoration: none;
}

.jwe-subscribe__privacy a:hover {
  text-decoration: underline;
}


.jwe-subscribe__message {
  padding: var(--jwe-space-sm) var(--jwe-space-md);
  border-radius: var(--jwe-radius, 0.375rem);
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.jwe-subscribe__message--success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--jwe-success, #16a34a);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.jwe-subscribe__message--error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--jwe-error, #dc2626);
  border: 1px solid rgba(239, 68, 68, 0.2);
}


@media (max-width: 540px) {
  .jwe-subscribe__form {
    flex-direction: column;
  }
  .jwe-subscribe__input {
    min-width: 100%;
  }
  .jwe-subscribe__btn {
    width: 100%;
  }
}


.jwe-subscribe--inline {
  margin: var(--jwe-space-xl) 0;
  padding: var(--jwe-space-lg);
  background: var(--jwe-bg-alt, #f9fafb);
  border-radius: var(--jwe-radius-lg, 0.5rem);
  border: 1px solid var(--subscribe-border);
}


.jwe-subscribe--minimal {
  text-align: left;
}
.jwe-subscribe--minimal .jwe-subscribe__headline {
  font-size: 1.1rem;
}






.jwe-alert--top-accent {
    border-left: none;
    border-top: 4px solid var(--jwe-primary);
}

.jwe-alert--boxed {
    border: 1px solid var(--jwe-border);
    border-left: 4px solid var(--jwe-primary); 
    background: var(--jwe-surface);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}

.jwe-alert--minimal {
    border: none;
    background: transparent;
    padding: 0.5rem 0;
    font-style: italic;
    color: var(--jwe-text-muted);
    border-left: 2px solid var(--jwe-border); 
    padding-left: 1rem;
}




.jwe-quote--big-icon {
    padding-left: 3rem;
    border-left: none;
}
.jwe-quote--big-icon::before {
    content: "“";
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 4rem;
    line-height: 1;
    color: var(--jwe-border);
    font-family: serif;
}

.jwe-quote--boxed {
    border: 1px solid var(--jwe-border);
    padding: 2rem;
    background: var(--jwe-surface-alt);
    border-radius: var(--jwe-radius);
    border-left: none; 
}

.jwe-quote--simple {
    border: none;
    padding: 0;
    font-family: var(--font-display);
    font-size: 1.5em;
    text-align: center;
    color: var(--jwe-primary);
}


.jwe-table--bordered {
    border: 1px solid var(--jwe-border);
}
.jwe-table--bordered td, 
.jwe-table--bordered th { 
    border: 1px solid var(--jwe-border); 
}

.jwe-table--minimal { 
    border: none; 
}
.jwe-table--minimal td { 
    border-bottom: 1px solid var(--jwe-border); 
}
.jwe-table--minimal th {
    border-bottom: 2px solid var(--jwe-primary);
}


.jwe-sources {
    margin-top: var(--jwe-space-2xl);
    padding-top: var(--jwe-space-lg);
    border-top: 1px solid var(--jwe-border);
    font-size: 0.9em;
    color: var(--jwe-text-muted);
}

.jwe-sources--boxed {
    border: 1px solid var(--jwe-border);
    padding: 1.5rem;
    background: var(--jwe-surface);
    border-radius: var(--jwe-radius);
}

.jwe-sources--links li {
    margin-bottom: 0.5rem;
}




.jwe-module:has(.jwe-card__thumb),
.jwe-card:has(.jwe-card__thumb) {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 var(--jwe-space-md, 0.75rem);
  align-items: start;
}
.jwe-module > .jwe-card__thumb,
.jwe-card > .jwe-card__thumb {
  grid-column: 1;
  grid-row: 1;
  width: 100px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--jwe-radius, 0.5rem);
  align-self: center;
}

.jwe-module:has(.jwe-card__thumb) > :is(h2, h3, h4),
.jwe-card:has(.jwe-card__thumb) > :is(h2, h3, h4) {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
}

.jwe-module:has(.jwe-card__thumb) > :not(.jwe-card__thumb):not(h2):not(h3):not(h4),
.jwe-card:has(.jwe-card__thumb) > :not(.jwe-card__thumb):not(h2):not(h3):not(h4) {
  grid-column: 1 / -1;
}

.jwe-card--featured:has(.jwe-card__thumb),
.jwe-module.jwe-card--featured:has(.jwe-card__thumb) {
  grid-column: span 1;
}
@media (max-width: 800px) {
  .jwe-module:has(.jwe-card__thumb),
  .jwe-card:has(.jwe-card__thumb) {
    grid-template-columns: 1fr;
  }
  .jwe-module > .jwe-card__thumb,
  .jwe-card > .jwe-card__thumb {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    aspect-ratio: 16/9;
  }
  .jwe-module:has(.jwe-card__thumb) > :is(h2, h3, h4),
  .jwe-card:has(.jwe-card__thumb) > :is(h2, h3, h4),
  .jwe-module:has(.jwe-card__thumb) > :not(.jwe-card__thumb):not(h2):not(h3):not(h4),
  .jwe-card:has(.jwe-card__thumb) > :not(.jwe-card__thumb):not(h2):not(h3):not(h4) {
    grid-column: 1;
    grid-row: auto;
  }
}
