:root {
  --green-primary: #16a34a;
  --green-glow: #22c55e;
  --green-dim: #15803d;
  --green-subtle: rgba(22, 163, 74, 0.07);
  --green-border: rgba(22, 163, 74, 0.22);
  --green-shadow: rgba(22, 163, 74, 0.1);
  --green-text: #16a34a;

  --bg-base: #f8fafc;
  --bg-surface: #f0fdf4;
  --bg-card: rgba(255, 255, 255, 0.9);

  --text-primary: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --navbar-glass-bg: rgba(248, 250, 252, 0.62);
  --navbar-glass-border: rgba(22, 163, 74, 0.18);
  --navbar-scrolled-bg: rgba(248, 250, 252, 0.88);
  --navbar-scrolled-border: rgba(22, 163, 74, 0.22);

  --card-inset: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --pre-bg: rgba(240, 253, 244, 0.9);

  --ambient-1: rgba(22, 163, 74, 0.06);
  --ambient-2: rgba(34, 197, 94, 0.04);

  --font-body: 'Inter', sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition-base: 0.25s ease;

  --text-display: clamp(1.8rem, 5vw, 4rem);
  --text-section: clamp(1.6rem, 3vw, 2.25rem);
  --text-lead: clamp(1rem, 1.5vw, 1.1rem);
  --text-body: 0.875rem;
  --text-label: 0.75rem;
  --text-meta: 0.72rem;
  --text-card-title: 1.05rem;
  --text-card-excerpt: 0.85rem;
  --text-btn: 0.9rem;
  --text-stat: 1.5rem;
  --text-subheading: clamp(1.15rem, 2vw, 1.35rem);
}

[data-theme="dark"] {
  --green-subtle: rgba(34, 197, 94, 0.08);
  --green-border: rgba(34, 197, 94, 0.25);
  --green-shadow: rgba(22, 163, 74, 0.18);
  --green-text: #4ade80;

  --bg-base: #070d07;
  --bg-surface: #0d160d;
  --bg-card: rgba(13, 22, 13, 0.7);

  --text-primary: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --navbar-glass-bg: rgba(7, 13, 7, 0.62);
  --navbar-glass-border: rgba(34, 197, 94, 0.2);
  --navbar-scrolled-bg: rgba(7, 13, 7, 0.9);
  --navbar-scrolled-border: rgba(34, 197, 94, 0.28);

  --card-inset: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --pre-bg: rgba(13, 22, 13, 0.8);

  --ambient-1: rgba(22, 163, 74, 0.07);
  --ambient-2: rgba(34, 197, 94, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

.site-inner {
  width: 91.6667%;
  max-width: 1600px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
  padding-top: 72px;
  transition: background-color var(--transition-base), color var(--transition-base);
}

a {
  color: var(--green-text);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--green-glow);
}

::selection {
  background: var(--green-primary);
  color: #fff;
}

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

.display-headline {
  font-size: var(--text-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-title {
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-label {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-text);
}

.hero-description,
.page-lead,
.blog-list-description,
.post-header-description {
  font-size: var(--text-lead);
  color: var(--text-muted);
  line-height: 1.75;
}

.cube-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px var(--green-shadow), var(--card-inset);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.cube-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 16px 48px var(--green-shadow), 0 0 0 1px rgba(34, 197, 94, 0.15);
}

.bg-noise {
  position: relative;
}

.bg-noise::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 50% at 20% 40%, var(--ambient-1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 70%, var(--ambient-2) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.bg-noise > main,
.bg-noise > footer {
  position: relative;
  z-index: 1;
}

.bg-noise > .site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1030;
}

.site-navbar {
  background: var(--navbar-glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--navbar-glass-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 24px rgba(15, 23, 42, 0.06);
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    backdrop-filter var(--transition-base);
}

.site-navbar.scrolled {
  background: var(--navbar-scrolled-bg);
  border-bottom-color: var(--navbar-scrolled-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 32px rgba(15, 23, 42, 0.1);
}

@media (max-width: 991.98px) {
  .site-mobile-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    pointer-events: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 1029;
    padding: 0.85rem 4.1667% 1.25rem;
    background: var(--navbar-glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--navbar-glass-border);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 20px 48px rgba(15, 23, 42, 0.14);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    transition:
      visibility var(--transition-base),
      opacity var(--transition-base),
      transform var(--transition-base),
      background var(--transition-base),
      box-shadow var(--transition-base);
  }

  .site-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: var(--navbar-scrolled-bg);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 24px 56px rgba(15, 23, 42, 0.18);
  }

  .site-mobile-menu .site-nav-list {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-md);
    box-shadow: var(--card-inset);
    padding: 0.5rem;
  }

  .site-mobile-menu .site-nav-actions {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-md);
    box-shadow: var(--card-inset);
    padding: 1rem;
    margin-top: 0.75rem;
  }

  .site-mobile-menu .site-nav-list,
  .site-mobile-menu .site-nav-actions {
    width: 100%;
  }

  .site-mobile-menu .nav-item {
    width: 100%;
  }

  .site-mobile-menu .nav-link-custom {
    width: 100%;
    justify-content: flex-start;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition:
      background var(--transition-base),
      border-color var(--transition-base),
      color var(--transition-base);
  }

  .site-mobile-menu .nav-link-custom:hover,
  .site-mobile-menu .nav-link-custom.active {
    background: var(--green-subtle);
    border-color: var(--green-border);
  }

  .site-mobile-menu .btn-hero-primary {
    width: 100%;
    justify-content: flex-start;
  }

  .site-mobile-menu .theme-toggle-btn {
    align-self: flex-start;
    background: var(--green-subtle);
  }

  body.mobile-nav-open {
    overflow: hidden;
  }
}

.site-nav-desktop {
  gap: 0.5rem;
}

.site-nav-desktop .site-nav-list,
.site-nav-desktop .site-nav-actions {
  flex-direction: row;
}

.site-nav-desktop .site-nav-actions {
  padding: 0;
  margin-left: 0.5rem;
  padding-left: 1rem;
}

.navbar-brand-logo {
  background-color: white;
  border-radius: 35px;
  padding: 0.5rem;
  border: 1px solid var(--green-border);
}

.navbar-brand-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 2rem;
}

@media (min-width: 768px) {
  .navbar-brand-logo-img {
    max-height: 2.5rem;
  }
}

.navbar-brand-logo span {
  color: var(--green-text);
}

.nav-link-custom {
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--text-muted) !important;
  position: relative;
  transition: color var(--transition-base);
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-glow);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-link-custom:hover,
.nav-link-custom.active {
  color: var(--green-text) !important;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 100%;
}

.navbar-toggler-custom {
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  color: var(--green-text);
}

.navbar-toggler-custom:focus {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.theme-toggle-btn:hover {
  background: var(--green-subtle);
  color: var(--green-text);
  border-color: rgba(34, 197, 94, 0.5);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  color: var(--green-text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.btn-hero-primary {
  background: var(--green-primary);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: var(--text-btn);
  border-radius: var(--radius-sm);
  transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.btn-hero-primary:hover {
  background: var(--green-dim);
  color: #fff;
  box-shadow: 0 0 20px rgba(22, 163, 74, 0.4);
  transform: translateY(-1px);
}

.btn-hero-outline {
  border: 1px solid var(--green-border);
  color: var(--green-text);
  font-weight: 600;
  font-size: var(--text-btn);
  border-radius: var(--radius-sm);
  background: transparent;
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.btn-hero-outline:hover {
  background: var(--green-subtle);
  border-color: rgba(34, 197, 94, 0.5);
  color: var(--green-text);
  transform: translateY(-1px);
}

.hero-stat-value {
  font-size: var(--text-stat);
  font-weight: 800;
  color: var(--green-text);
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: var(--text-label);
  color: var(--text-dim);
  font-weight: 500;
}

.cubes-cluster {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
}

.cubes-visual-gif {
  display: block;
  border-radius: var(--radius-md);
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-glow));
  border-radius: 3px;
}

.feature-card {
  flex: 1 1 280px;
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  color: var(--green-text);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.feature-card-title {
  font-size: var(--text-card-title);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-card-text {
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-card {
  flex: 1 1 280px;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.blog-posts-grid .blog-card {
  flex: unset;
  width: 100%;
  min-width: 0;
}

.blog-card-media {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--green-border);
}

.blog-card-media img {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.03);
}

.blog-date-badge {
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-text);
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 4px;
}

.blog-card-title {
  font-size: var(--text-card-title);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: color var(--transition-base);
}

.blog-card-title:hover {
  color: var(--green-text);
}

.blog-card-excerpt {
  font-size: var(--text-card-excerpt);
  color: var(--text-muted);
  line-height: 1.65;
}

.blog-read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-text);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-base), color var(--transition-base);
}

.blog-read-more:hover {
  color: var(--green-glow);
  gap: 8px;
}

.blog-list-description,
.post-header-description {
  max-width: 640px;
}

.blog-card-heading {
  font-size: var(--text-card-title);
}

.blog-card-footer {
  border-top: 1px solid var(--green-border);
}

.blog-search-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
}

.blog-search-hint {
  font-size: var(--text-body);
  color: var(--text-muted);
}

.blog-search-count-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-text);
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
}

.blog-search-field {
  background: var(--bg-base);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-md);
  min-height: 58px;
  padding: 0.5rem 0.65rem 0.5rem 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background var(--transition-base);
}

.blog-search-field:focus-within,
.blog-search-field.is-active {
  border-color: rgba(34, 197, 94, 0.55);
  background: var(--green-subtle);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 4px rgba(34, 197, 94, 0.1),
    0 12px 32px var(--green-shadow);
}

.blog-search-icon-wrap {
  width: 42px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  color: var(--green-text);
  font-size: 1rem;
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-base);
}

.blog-search-field:focus-within .blog-search-icon-wrap,
.blog-search-field.is-active .blog-search-icon-wrap {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.18);
  transform: scale(1.03);
}

.blog-search-input {
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 500;
  outline: none;
  min-width: 0;
}

.blog-search-input::placeholder {
  color: var(--text-dim);
  font-weight: 400;
}

.blog-search-clear {
  border: 1px solid var(--green-border);
  border-radius: 100px;
  background: var(--bg-card);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-shrink: 0;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  transition:
    background var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base);
}

.blog-search-clear:hover {
  background: var(--green-subtle);
  color: var(--green-text);
  border-color: rgba(34, 197, 94, 0.5);
  transform: translateY(-1px);
}

.blog-search-view {
  animation: blogSearchFadeIn 0.35s ease;
}

.blog-search-status-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-md);
}

.blog-search-status-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-primary);
  border-radius: 100px;
  padding: 0.35rem 0.75rem;
}

.blog-search-status-text {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.blog-search-status-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.blog-search-results {
  animation: blogSearchFadeIn 0.4s ease;
}

.blog-search-empty {
  padding: 3rem 1.5rem;
  border-style: dashed;
}

.blog-search-empty-icon-wrap {
  width: 72px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  color: var(--green-text);
  font-size: 1.75rem;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.12);
}

.blog-search-empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.blog-search-empty-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  max-width: 360px;
}

@keyframes blogSearchFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-pagination-nav {
  width: 100%;
}

.blog-pagination-summary {
  font-size: var(--text-body);
  color: var(--text-muted);
}

.blog-pagination {
  gap: 0.5rem;
}

.blog-pagination .page-item {
  list-style: none;
}

.blog-page-link {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.blog-page-link:hover {
  background: var(--green-subtle);
  color: var(--green-text);
  border-color: rgba(34, 197, 94, 0.5);
}

.blog-pagination .page-item.active .blog-page-link {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #fff;
}

.blog-pagination .page-item.disabled .blog-page-link {
  opacity: 0.45;
  pointer-events: none;
}

.cubes-placeholder {
  border: 2px dashed var(--green-border);
  border-radius: var(--radius-lg);
  background: var(--green-subtle);
  color: var(--text-dim);
  font-size: 0.875rem;
  min-height: 260px;
  backdrop-filter: blur(4px);
}

.placeholder-cube-icon {
  font-size: 3rem;
  color: var(--green-border);
}

.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--green-border);
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.footer-brand span {
  color: var(--green-text);
}

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-nav-link {
  font-size: var(--text-body);
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition-base);
}

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

.footer-social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.footer-social-btn:hover {
  background: var(--green-subtle);
  color: var(--green-text);
  border-color: rgba(34, 197, 94, 0.5);
}

.footer-column-label {
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.footer-status-text {
  font-size: var(--text-label);
  color: var(--text-dim);
}

.footer-copyright {
  font-size: var(--text-meta);
  color: var(--text-dim);
}

.page-header-section {
  background: linear-gradient(180deg, var(--green-subtle) 0%, transparent 100%);
  border-bottom: 1px solid var(--green-border);
}

.blog-hero-tag {
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-text);
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 4px;
}

.post-header-copy {
  max-width: 720px;
}

.post-meta-read {
  font-size: var(--text-label);
  color: var(--text-dim);
}

.post-main {
  min-width: 0;
}

.post-feature-image {
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green-subtle);
  box-shadow: 0 20px 60px var(--green-shadow);
}

.post-feature-image img {
  display: block;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}

.post-sidebar {
  max-width: 100%;
}

.post-sidebar-title {
  font-size: var(--text-card-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.post-sidebar-item + .post-sidebar-item {
  border-top: 1px solid var(--green-border);
  padding-top: 1rem;
}

.post-sidebar-item a {
  color: inherit;
  transition: color var(--transition-base);
}

.post-sidebar-item a:hover .post-sidebar-link {
  color: var(--green-text);
}

.post-sidebar-thumb {
  border: 1px solid var(--green-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--green-subtle);
}

.post-sidebar-thumb img {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-sidebar-link {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  transition: color var(--transition-base);
}

@media (min-width: 992px) {
  .post-sidebar {
    flex: 0 0 320px;
    position: sticky;
    top: 96px;
  }
}

.post-content {
  color: var(--text-muted);
  font-size: var(--text-lead);
  line-height: 1.75;
  max-width: 720px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2rem;
}

.post-content h2 {
  font-size: var(--text-subheading);
}

.post-content h3,
.post-content h4 {
  font-size: var(--text-card-title);
}

.post-content p {
  color: var(--text-muted);
}

.post-content a {
  color: var(--green-text);
  border-bottom: 1px solid var(--green-border);
}

.post-content a:hover {
  color: var(--green-glow);
  border-bottom-color: var(--green-glow);
}

.post-content code {
  background: var(--green-subtle);
  border: 1px solid var(--green-border);
  border-radius: 4px;
  color: var(--green-text);
  font-size: 0.875em;
}

.post-content pre {
  background: var(--pre-bg);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.back-link {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-base), gap var(--transition-base);
}

.back-link:hover {
  color: var(--green-text);
  gap: 2px;
}

.border-green-subtle {
  border-color: var(--green-border) !important;
}

.green-dot {
  width: 8px;
  height: 8px;
  background: var(--green-glow);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green-glow);
  animation: pulseGlow 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
  }

  .cubes-cluster {
    max-width: 320px;
  }

  .blog-posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .cubes-cluster {
    max-width: 260px;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .blog-card {
    flex: 1 1 100%;
  }
}