body {
  margin: 0;
}

/* Exact Template CSS - Scaled to Wide Balanced Canvas (1640px) */
.st {
  --st-brand: #0d9488; /* Professional Deep Teal (No purple / neon) */
  --st-btn-text: #ffffff;
  --st-bg: #ffffff;
  --st-surface: #f8fafc;
  --st-text: #0f172a;
  --st-muted: #5b6678;
  --st-border: #e2e8f0;
  --st-radius: 16;
  --st-max: 1640; /* Expanded canvas to support centered 900px content + spread sidebars */
  --st-font-heading: "Plus Jakarta Sans", sans-serif;
  --st-font-body: "Inter", sans-serif;
}

.st {
  --st-pad: clamp(24px, 3cqi, 48px);
  container: st/inline-size;
  position: relative;
  background: var(--st-bg);
  color: var(--st-text);
  font-family: var(--st-font-body);
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

:where(.st) *,:where(.st) *::before,:where(.st) *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:where(.st img) {
  display: block;
  max-width: 100%;
  height: auto;
}

:where(.st a) {
  color: inherit;
}

:where(.st h1,.st h2,.st h3) {
  font-family: var(--st-font-heading);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 800;
  color: var(--st-text);
}

.st .hl {
  color: var(--st-brand);
}

/* Expanded Max Width Wrap */
.st-wrap {
  width: 100%;
  max-width: calc(var(--st-max) * 1px);
  margin: 0 auto;
  padding-left: var(--st-pad);
  padding-right: var(--st-pad);
}


/* Navigation Bar */
.navbar {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--st-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.nav-container {
  max-width: 1240px;
  height: 68px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3cqi, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--st-text);
  transition: opacity 0.15s ease;
}

.nav-brand:hover {
  opacity: 0.85;
}

.nav-title {
  font-family: var(--st-font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--st-text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-family: var(--st-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--st-muted);
  text-decoration: none;
  transition: color 0.15s ease;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--st-text);
}

.nav-link.active-link {
  color: var(--st-brand);
  font-weight: 700;
}

.btn.btn-support.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 9999px;
  background-color: #FFD6E8;
  color: #1a1520;
  font-family: var(--st-font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(255, 180, 215, 0.8);
  margin-left: 6px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 214, 232, 0.5);
}

.btn.btn-support.nav-btn:hover {
  background-color: #ffc2dc;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 214, 232, 0.6);
}

.btn.btn-support.nav-btn svg {
  color: #1a1520;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--st-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  outline: none;
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--st-text);
  position: relative;
  transition: background 0.2s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--st-text);
  transition: transform 0.2s ease, top 0.2s ease;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--st-border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 8px 0;
  }

  .btn.btn-support.nav-btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    padding: 11px 0;
  }
}

/* Breadcrumbs */
.bp-crumbs {
  max-width: 1240px;
  margin: clamp(28px, 3.5cqi, 44px) auto 20px;
  font-size: 14.5px;
  color: var(--st-muted);
}

.bp-crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.bp-crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: color-mix(in srgb,var(--st-text) 22%,transparent);
}

.bp-crumbs a {
  text-decoration: none;
  transition: color .15s ease;
}

.bp-crumbs a:hover {
  color: var(--st-brand);
}

/* Header */
.bp-head {
  max-width: 1240px;
  margin: 0 auto clamp(32px, 4.5cqi, 52px);
}

.bp-title {
  font-size: clamp(34px, 4.2cqi + 16px, 56px);
  margin-bottom: 20px;
  line-height: 1.12;
}

.bp-excerpt {
  font-size: clamp(19px, 1.1cqi + 15px, 23px);
  line-height: 1.55;
  color: var(--st-muted);
  margin-bottom: 26px;
}

.bp-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14.5px;
  color: var(--st-muted);
}

.bp-author {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.bp-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.bp-author-text {
  display: flex;
  flex-direction: column;
}

.bp-author-name {
  font-weight: 700;
  color: var(--st-text);
}

.bp-author-role {
  font-size: 13px;
}

.bp-facts {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-sep {
  opacity: .5;
}

/* Cover Banner (Natural Aspect Ratio - Never Cropped) */
.bp-cover {
  max-width: 1240px;
  margin: 0 auto clamp(36px, 5cqi, 64px);
  border-radius: calc(var(--st-radius) * 1px);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid color-mix(in srgb,var(--st-text) 8%,transparent);
}

.bp-cover img {
  width: 100%;
  height: auto;
  display: block;
}

/* Body Layout: 3-Column Symmetrical (Centered Content + Spread Sidebars) */
.bp-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 900px) minmax(240px, 300px);
  justify-content: space-between;
  gap: clamp(28px, 3cqi, 52px);
  align-items: start;
  width: 100%;
  margin: 0 auto;
}

/* Sections / Reading Column (Expanded 900px width per specification) */
.bp-sections {
  min-width: 0;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

/* Sticky Table of Contents Sidebar (Pins in place, widened and extended length-wise) */
.bp-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  max-width: 380px;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  scrollbar-width: thin;
}

.bp-toc::-webkit-scrollbar {
  width: 4px;
}
.bp-toc::-webkit-scrollbar-thumb {
  background: color-mix(in srgb,var(--st-text) 16%,transparent);
  border-radius: 2px;
}

.bp-toc-title {
  font-family: var(--st-font-heading);
  font-weight: 800;
  font-size: 26px;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 32px;
  padding: 0;
  border: none;
  letter-spacing: -0.015em;
  text-transform: none;
}

.bp-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: none;
}

.bp-toc-list li {
  margin: 0;
  padding: 0;
}

.bp-toc-list a {
  display: block;
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease, font-weight 0.15s ease;
}

.bp-toc-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4.5px;
  border-radius: 3px;
  background: transparent;
  transition: background-color 0.2s ease;
}

.bp-toc-list a:hover {
  color: var(--st-brand);
}

.bp-toc-list a.is-current {
  color: #0f172a;
  font-weight: 700;
}

.bp-toc-list a.is-current::before {
  background: var(--st-brand);
}

/* Right Balancing Rail */
.bp-rail {
  position: sticky;
  top: 96px;
  align-self: start;
  max-width: 280px;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
}

.bp-rail-card {
  padding: 22px 20px;
  border-radius: 14px;
  background: var(--st-surface);
  border: 1px solid color-mix(in srgb,var(--st-text) 8%,transparent);
}

.bp-rail-head {
  font-family: var(--st-font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--st-muted);
  margin-bottom: 12px;
}

.bp-rail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.bp-rail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  background: #059669; /* Forest Emerald */
  color: #ffffff !important;
  border-radius: 9px;
  font-family: var(--st-font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.22);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-rail-btn:hover {
  background: #047857;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
}

.bp-spec-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.bp-spec-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid color-mix(in srgb,var(--st-text) 6%,transparent);
}

.bp-spec-label {
  color: var(--st-muted);
  font-weight: 500;
}

.bp-spec-val {
  color: var(--st-text);
  font-weight: 700;
}

.bp-rail-notice {
  font-size: 12px;
  color: var(--st-muted);
  line-height: 1.45;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb,var(--st-text) 8%,transparent);
}

/* Responsive Breakpoints */
@media (max-width: 1240px) {
  .bp-body {
    display: block;
    max-width: 900px;
    margin: 0 auto;
  }
  .bp-toc {
    position: static;
    max-width: 100%;
    margin: 0 0 44px;
    padding: 28px 32px;
    border-radius: calc(var(--st-radius) * 1px);
    background: var(--st-surface);
    border: 1px solid color-mix(in srgb,var(--st-text) 8%,transparent);
    max-height: none;
    overflow-y: visible;
  }
  .bp-toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px 28px;
  }
  .bp-rail {
    display: none;
  }
}

@media (max-width: 680px) {
  .bp-toc-list {
    grid-template-columns: 1fr;
  }
}

/* Sections & Content */
.bp-sections {
  min-width: 0;
}

.bp-lead {
  font-size: clamp(18px, .6cqi + 16px, 20px);
  line-height: 1.75;
  color: #1e293b;
  margin-bottom: 36px;
}

.bp-sec {
  margin-bottom: clamp(36px, 4.5cqi, 60px);
  scroll-margin-top: 96px;
}

.bp-sec h2 {
  font-size: clamp(24px, 2.2cqi + 14px, 34px);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid color-mix(in srgb,var(--st-text) 8%,transparent);
}

.bp-sec h3 {
  font-size: clamp(20px, 1.4cqi + 12px, 24px);
  margin: 28px 0 12px;
}

.bp-sec p {
  margin-bottom: 20px;
  color: #334155;
}

/* Figures & In-Article Media */
.bp-media-card {
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  background: var(--st-surface);
}

.bp-media-card img {
  width: 100%;
  height: auto;
  display: block;
}

.bp-media-caption {
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--st-muted);
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

/* Tables */
.bp-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid color-mix(in srgb,var(--st-text) 10%,transparent);
  border-radius: calc(var(--st-radius) * 1px);
}

.bp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  text-align: left;
}

.bp-table th {
  background: color-mix(in srgb,var(--st-brand) 10%,var(--st-surface));
  color: var(--st-text);
  font-family: var(--st-font-heading);
  font-weight: 700;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid color-mix(in srgb,var(--st-text) 14%,transparent);
}

.bp-table td {
  padding: 14px 18px;
  border-bottom: 1px solid color-mix(in srgb,var(--st-text) 7%,transparent);
  color: var(--st-text);
}

.bp-table tr:last-child td {
  border-bottom: none;
}

/* Code & Terminals */
.bp-pre {
  background: #090d16;
  color: #38bdf8;
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
  padding: 20px 24px;
  border-radius: calc(var(--st-radius) * 1px);
  overflow-x: auto;
  margin: 24px 0;
}

.bp-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9em;
  background: color-mix(in srgb,var(--st-brand) 10%,transparent);
  color: var(--st-brand);
  padding: 2px 6px;
  border-radius: 4px;
}

.bp-cit {
  font-size: 12px;
  font-weight: 700;
  color: var(--st-brand);
  margin-left: 2px;
  vertical-align: super;
}

.bp-faq-card {
  background: var(--st-surface);
  border: 1px solid color-mix(in srgb,var(--st-text) 10%,transparent);
  border-radius: calc(var(--st-radius) * 1px);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.bp-faq-q {
  font-family: var(--st-font-heading);
  font-weight: 700;
  font-size: 19px;
  color: var(--st-text);
  margin-bottom: 10px;
}

.bp-ref-list {
  font-size: 15px;
  color: var(--st-muted);
  padding-left: 22px;
  line-height: 1.8;
}

/* Tags and Share Bar */
.bp-after {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: clamp(36px, 4cqi, 56px) auto;
  padding: 24px 0;
  border-block: 1px solid color-mix(in srgb,var(--st-text) 10%,transparent);
}

.bp-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bp-tags li {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--st-surface);
  font-size: 14px;
  font-weight: 600;
}

.bp-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.bp-share-label {
  font-size: 15px;
  font-weight: 700;
}

.bp-share-btns {
  display: flex;
  gap: 10px;
}

.bp-sbtn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--c,var(--st-brand));
  color: #fff;
  cursor: pointer;
  transition: transform .2s ease,filter .2s ease;
}

.bp-sbtn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.bp-sbtn .ss-ic {
  display: block;
  width: 18px;
  height: 18px;
}

.bp-sbtn .ss-ic--done {
  display: none;
}

.bp-sbtn.is-done .ss-ic:not(.ss-ic--done) {
  display: none;
}

.bp-sbtn.is-done .ss-ic--done {
  display: block;
}

.ss-live {
  font-size: 13.5px;
  color: var(--st-brand);
  font-weight: 600;
}

/* Author Box */
.bp-abox {
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin: clamp(32px, 3.5cqi, 48px) auto;
  padding: 26px;
  border-radius: calc(var(--st-radius) * 1px);
  background: var(--st-surface);
}

.bp-abox img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
}

.bp-abox-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--st-muted);
  margin-bottom: 4px;
}

.bp-abox-name {
  font-size: 22px;
  margin-bottom: 6px;
}

.bp-abox-bio {
  font-size: 15px;
  color: var(--st-muted);
  line-height: 1.55;
}

/* Related Posts */
.bp-related {
  max-width: 1240px;
  margin: clamp(52px, 6cqi, 92px) auto 0;
}

.bp-rel-h {
  margin-bottom: 24px;
  font-size: clamp(26px, 1.8cqi + 15px, 34px);
}

.bp-rgrid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6cqi, 32px);
}

.bp-rcover {
  display: block;
  overflow: hidden;
  margin-bottom: 14px;
  border-radius: calc(var(--st-radius) * 1px);
  background: var(--st-surface);
  aspect-ratio: 16/10;
}

.bp-rcover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.bp-rcard:hover .bp-rcover img {
  transform: scale(1.05);
}

.bp-rmeta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13.5px;
  color: var(--st-muted);
}

.bp-rcat {
  color: var(--st-brand);
  font-weight: 800;
}

.bp-rtitle {
  font-size: 19px;
  line-height: 1.35;
}

.bp-rtitle a {
  color: inherit;
  text-decoration: none;
}

.bp-rtitle a:hover {
  text-decoration: underline;
}

@container st (max-width:780px) {
  .bp-rgrid {
    grid-template-columns: 1fr 1fr;
  }
}

@container st (max-width:540px) {
  .bp-rgrid {
    grid-template-columns: 1fr;
  }
  .bp-abox {
    flex-direction: column;
    text-align: center;
  }
}

/* FENZA Footer */
.footer {
  width: 100%;
  background: var(--st-surface, #f8fafc);
  border-top: 1px solid var(--st-border, #e2e8f0);
  padding: 48px 0 36px;
  color: var(--st-muted, #5b6678);
  font-family: var(--st-font-body, "Inter", sans-serif);
  margin-top: clamp(60px, 7cqi, 96px);
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3cqi, 32px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  max-width: 480px;
}

.footer-brand .copyright {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--st-text, #0f172a);
  margin-bottom: 6px;
}

.footer-brand .footer-disclaimer {
  font-size: 12.5px;
  color: var(--st-muted, #5b6678);
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--st-muted, #5b6678);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--st-brand, #0d9488);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-links {
    gap: 10px 18px;
  }
}

.bp-cover picture,
.bp-media-card picture {
  display: block;
  width: 100%;
}

.bp-rcover picture {
  display: block;
  width: 100%;
  height: 100%;
}

.bp-media-card--compact {
  max-width: 340px;
  margin: 28px auto;
}

.bp-media-card--compact img {
  image-rendering: pixelated;
}

.bp-sec h3.bp-faq-q,
.bp-faq-q {
  font-family: var(--st-font-heading);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.4;
  color: var(--st-text);
  margin: 0 0 10px;
}

.bp-ref-list a {
  color: var(--st-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bp-abox-name a {
  color: inherit;
  text-decoration: none;
}

.bp-abox-name a:hover {
  color: var(--st-brand);
  text-decoration: underline;
}
