.blog-shell,
.blog-hero,
.blog-feature,
.blog-card,
.blog-post,
.blog-state {
  --rw-surface: #201f20;
  --rw-border: #3b494b;
  --rw-text: #e5e2e3;
  --rw-muted: #b9cacb;
  --rw-cyan-soft: #67e8f9;
  --rw-font-display: "Space Grotesk", Inter, sans-serif;
}

body[data-page="blog-index"],
body[data-page="blog-post"] {
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(254, 95, 0, 0.02) 0%, transparent 45%),
    #131314 !important;
}

.blog-skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.blog-skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  overflow: visible;
  background: #0e2a2e;
  color: #ecfeff;
  border: 1px solid rgba(103, 232, 249, 0.55);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  outline: none;
}

.blog-skip-link:focus:hover {
  color: #b5f7ff;
}

.blog-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 108px 20px 64px;
}

@keyframes blog-skeleton-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.blog-skeleton-shell {
  border: 1px dashed rgba(59, 73, 75, 0.85);
  border-radius: 16px;
  background: rgba(20, 21, 22, 0.65);
  padding: 20px;
}

.blog-skeleton {
  border-radius: 10px;
  background: linear-gradient(
    110deg,
    rgba(45, 52, 54, 0.55) 0%,
    rgba(70, 80, 82, 0.45) 42%,
    rgba(45, 52, 54, 0.55) 84%
  );
  background-size: 200% 100%;
  animation: blog-skeleton-shimmer 1.35s ease-in-out infinite;
}

.blog-toolbar--skeleton {
  margin-bottom: 22px;
}

.blog-skeleton-line {
  height: 12px;
  margin-bottom: 10px;
}

.blog-skeleton-line--short {
  max-width: 38%;
}

.blog-skeleton-line--medium {
  max-width: 62%;
}

.blog-skeleton-pill {
  display: inline-block;
  height: 32px;
  width: 72px;
  border-radius: 999px;
  margin-right: 8px;
  margin-bottom: 8px;
}

.blog-skeleton-feature {
  grid-column: span 12;
  border-radius: 20px;
  min-height: 160px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
  border: 1px solid rgba(59, 73, 75, 0.5);
}

@media (max-width: 880px) {
  .blog-skeleton-feature {
    grid-template-columns: 1fr;
    min-height: 200px;
  }
}

.blog-skeleton-card {
  grid-column: span 6;
  border-radius: 14px;
  min-height: 140px;
  padding: 18px;
  border: 1px solid rgba(59, 73, 75, 0.5);
}

@media (max-width: 880px) {
  .blog-skeleton-card {
    grid-column: span 12;
  }
}

.blog-skeleton-article {
  margin-top: 20px;
  border: 1px solid rgba(59, 73, 75, 0.65);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 32px);
  background: rgba(22, 23, 24, 0.6);
}

.blog-hero__rss {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8ec3c6;
  text-decoration: none;
  border-bottom: 1px solid rgba(103, 232, 249, 0.25);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.blog-hero__rss:hover {
  color: #67e8f9;
  border-bottom-color: rgba(103, 232, 249, 0.5);
}

.blog-read-bar {
  position: sticky;
  top: 72px;
  z-index: 40;
  margin: -20px -4px 16px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(59, 73, 75, 0.75);
  background: rgba(19, 19, 20, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.blog-read-bar__link {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #67e8f9;
  text-decoration: none;
}

.blog-read-bar__link:hover {
  text-decoration: underline;
}

.blog-error {
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 16px;
  background: rgba(60, 20, 22, 0.45);
  padding: 20px 22px;
  color: #fecaca;
  line-height: 1.5;
}

.blog-error strong {
  display: block;
  margin-bottom: 8px;
  color: #fee2e2;
  font-size: 0.95rem;
}

.blog-error span {
  display: block;
  margin-top: 4px;
  color: #fecaca;
  font-size: 0.92rem;
}

.blog-hero {
  position: relative;
  border: 1px solid color-mix(in srgb, var(--rw-border) 70%, transparent);
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 240, 255, 0.12), transparent 50%),
    linear-gradient(150deg, #1a1a1b, #151516);
  border-radius: 20px;
  padding: clamp(16px, 2.5vw, 28px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.blog-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rw-cyan-soft);
}

.blog-hero__title {
  margin: 0 0 8px;
  font-family: var(--rw-font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.04;
  font-size: clamp(1.85rem, 4.8vw, 3rem);
  color: #ecfeff;
}

.blog-hero__lede {
  margin: 0;
  max-width: 72ch;
  font-size: 1.02rem;
  color: var(--rw-muted);
}

.blog-state {
  border: 1px dashed rgba(59, 73, 75, 0.85);
  border-radius: 16px;
  background: rgba(20, 21, 22, 0.65);
  padding: 20px;
  color: #b9cacb;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.blog-feature {
  grid-column: span 12;
  border: 1px solid rgba(59, 73, 75, 0.8);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 95% 0%, rgba(254, 95, 0, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(27, 27, 29, 0.95), rgba(20, 20, 21, 0.98));
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.blog-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, 0.45);
  box-shadow: 0 20px 50px rgba(0, 240, 255, 0.12);
}

.blog-feature__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  padding: 24px;
  text-decoration: none !important;
}

.blog-feature__title {
  margin: 0 0 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(1.4rem, 2.7vw, 2.2rem);
  line-height: 1.07;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  transition: color 0.2s ease;
}

.blog-feature:hover .blog-feature__title {
  color: #67e8f9;
}

.blog-feature__meta,
.blog-card__meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8ec3c6;
  font-weight: 600;
}

.blog-feature__desc {
  margin: 10px 0 0;
  color: #b8cbcc;
  line-height: 1.52;
}

.blog-feature__cta,
.blog-card__cta {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #67e8f9;
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-feature:hover .blog-feature__cta,
.blog-card:hover .blog-card__cta {
  color: #fff;
  gap: 10px;
}

.blog-feature__decor {
  border-radius: 14px;
  border: 1px solid rgba(59, 73, 75, 0.75);
  background: #191a1c;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}

.blog-card {
  grid-column: span 6;
  border: 1px solid rgba(59, 73, 75, 0.75);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30, 31, 33, 0.9), rgba(22, 22, 23, 0.95));
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.blog-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;
  text-decoration: none !important;
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 16px rgba(0, 240, 255, 0.08);
}

.blog-card__title {
  margin: 8px 0 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.24rem;
  line-height: 1.15;
  color: #eef7f7;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card__title {
  color: #67e8f9;
}

.blog-post {
  border: 1px solid rgba(59, 73, 75, 0.8);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(28, 29, 31, 0.98), rgba(20, 20, 21, 1));
  padding: clamp(20px, 4vw, 40px);
}

.blog-post__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-post__headline {
  margin: 12px 0 8px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  line-height: 1.03;
  letter-spacing: 0.02em;
  color: #f2f5f5;
  text-transform: uppercase;
}

.blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 18px;
  color: #9ec5c8;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.blog-post__prose {
  color: #d1dbdb;
  line-height: 1.8;
  font-size: 1.05rem;
  letter-spacing: -0.011em;
}

/* Body often repeats the page title as # — hide first H1 so the template headline is the only one */
.blog-post__prose > h1:first-of-type {
  display: none;
}

.blog-post__prose h1,
.blog-post__prose h2,
.blog-post__prose h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: -0.02em;
  color: #eff8f9;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-post__prose h1 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  line-height: 1.12;
  border-left: 3px solid #00f0ff;
  padding-left: 14px;
}

.blog-post__prose h2 {
  margin-top: 2.2em;
  margin-bottom: 0.6em;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.2;
}

.blog-post__prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.5em;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.blog-post__prose h2 + p,
.blog-post__prose h3 + p {
  margin-top: 0.5em;
}

.blog-post__prose p {
  margin: 1.25em 0 0;
}

.blog-post__prose ul,
.blog-post__prose ol {
  margin: 1.2em 0 0;
  padding-left: 1.5em;
}

.blog-post__prose li {
  margin-top: 0.5em;
}

.blog-post__prose li + li {
  margin-top: 0.5em;
}

.blog-post__prose li > ul,
.blog-post__prose li > ol {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.blog-post__prose blockquote {
  margin: 1.8em 0;
  border-left: 4px solid #00f0ff;
  background: rgba(0, 240, 255, 0.04);
  border-radius: 0 12px 12px 0;
  padding: 18px 24px;
  color: #c6ecef;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
}

.blog-post__prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(14, 15, 17, 0.95);
  border: 1px solid rgba(59, 73, 75, 0.7);
  border-radius: 6px;
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  color: #67e8f9;
}

.blog-post__prose pre {
  margin-top: 1.5em;
  background: #0d0e10;
  border: 1px solid rgba(59, 73, 75, 0.75);
  border-radius: 12px;
  padding: 16px 20px;
  overflow-x: auto;
}

.blog-post__prose pre code {
  border: 0;
  background: transparent;
  padding: 0;
  color: #d1dbdb;
}

.blog-post__links {
  margin-top: 2.25rem;
  border: 1px solid rgba(59, 73, 75, 0.65);
  border-radius: 14px;
  padding: 1.15rem 1.25rem 1.2rem;
  background: linear-gradient(165deg, rgba(24, 25, 27, 0.95), rgba(18, 19, 20, 0.98));
}

.blog-post__links-title {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rw-cyan-soft);
}

.blog-post__links-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  color: #c4d4d5;
  font-size: 0.98rem;
  line-height: 1.45;
}

.blog-post__links-list a {
  color: #7ee7f8;
  text-decoration: none;
  border-bottom: 1px solid rgba(103, 232, 249, 0.28);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.blog-post__links-list a:hover {
  color: #b5f7ff;
  border-bottom-color: rgba(103, 232, 249, 0.55);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.blog-post-root {
  margin-top: 0;
}

.blog-toolbar {
  margin-bottom: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(59, 73, 75, 0.75);
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(28, 29, 31, 0.92), rgba(18, 19, 20, 0.98));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.blog-search {
  display: block;
  margin-bottom: 14px;
}

.blog-search__input {
  width: 100%;
  max-width: 420px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(59, 73, 75, 0.9);
  background: rgba(8, 9, 10, 0.85);
  color: #e5e2e3;
  font-size: 0.95rem;
}

.blog-search__input::placeholder {
  color: #6b7678;
}

.blog-search__input:focus {
  outline: none;
  border-color: rgba(103, 232, 249, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12);
}

.blog-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

@media (max-width: 640px) {
  .blog-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    scrollbar-width: thin;
  }

  .blog-filter-row::-webkit-scrollbar {
    height: 4px;
  }

  .blog-filter-row::-webkit-scrollbar-thumb {
    background: rgba(103, 232, 249, 0.25);
    border-radius: 999px;
  }

  .blog-filter-pill {
    flex-shrink: 0;
  }
}

.blog-filter-pill {
  appearance: none;
  border: 1px solid rgba(59, 73, 75, 0.9);
  background: rgba(255, 255, 255, 0.03);
  color: #b9cacb;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.blog-filter-pill:hover {
  border-color: rgba(103, 232, 249, 0.4);
}

.blog-filter-pill.is-active {
  color: #04242a;
  background: linear-gradient(125deg, #67e8f9, #5eead4);
  border-color: rgba(103, 232, 249, 0.85);
}

.blog-filter-pill:focus-visible {
  outline: 2px solid rgba(103, 232, 249, 0.9);
  outline-offset: 2px;
}

.blog-toolbar__hint {
  margin: 12px 0 0;
  font-size: 0.78rem;
  color: #7a8688;
}

.blog-empty {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed rgba(59, 73, 75, 0.85);
  border-radius: 18px;
  background: rgba(20, 21, 22, 0.65);
}

.blog-empty__title {
  margin: 0 0 10px;
  font-family: var(--rw-font-display);
  font-size: 1.35rem;
  color: #ecfeff;
}

.blog-empty__text {
  margin: 0;
  color: #b9cacb;
  line-height: 1.55;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.blog-empty__text a {
  color: #67e8f9;
}

.blog-empty__meta {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: #6b7678;
}

.blog-no-matches {
  text-align: center;
  padding: 28px 16px;
  color: #9aa6a8;
}

.blog-no-matches__reset {
  margin-left: 6px;
  background: none;
  border: none;
  color: #67e8f9;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.blog-card-wrap[hidden] {
  display: none !important;
}

.blog-post--locked {
  text-align: center;
  padding: 32px 20px 40px;
}

.blog-post__locked-lede {
  font-size: 1.1rem;
  color: #b9cacb;
  margin: 0 0 12px;
}

.blog-post__locked-date {
  color: #9ec5c8;
  margin: 0 0 20px;
}

.blog-post__locked-hint {
  margin: 0;
  color: #7a8688;
  font-size: 0.92rem;
}

.blog-post__locked-hint a {
  color: #67e8f9;
}

.blog-post__back {
  color: #67e8f9;
  text-decoration: none;
}

.blog-post__back:hover {
  text-decoration: underline;
}

.blog-post__prose a {
  color: #67e8f9;
  text-underline-offset: 3px;
}

.blog-post__prose a:hover {
  color: #a5f3fc;
}

.blog-post__prose strong {
  color: #f0fafa;
  font-weight: 600;
}

.blog-post__prose em {
  color: #c5d4d6;
}

.blog-post__prose hr {
  margin: 2rem 0 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.35), transparent);
}

.blog-post__prose .table-wrap {
  margin-top: 1em;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(59, 73, 75, 0.75);
}

.blog-post__prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.blog-post__prose th,
.blog-post__prose td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(59, 73, 75, 0.55);
}

.blog-post__prose th {
  background: rgba(0, 240, 255, 0.08);
  color: #c6ecef;
  font-weight: 600;
}

.blog-post__prose img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 1em;
  border: 1px solid rgba(59, 73, 75, 0.6);
}

.blog-post__prose > p:first-of-type {
  font-size: 1.07rem;
  color: #e2e8e8;
}

@media (max-width: 880px) {
  .blog-feature__inner {
    grid-template-columns: 1fr;
  }

  .blog-feature__decor {
    min-height: 120px;
  }

  .blog-card {
    grid-column: span 12;
  }
}

/* Reading Progress Bar */
.blog-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #00f0ff, #5eead4);
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Card Visual Containers */
.blog-card__image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(59, 73, 75, 0.6);
  background: #191a1c;
  margin-bottom: 14px;
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image {
  transform: scale(1.04);
}

.blog-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Cover Image inside Blog Post page */
.blog-post__cover-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(59, 73, 75, 0.75);
  margin: 24px 0 32px;
  background: #191a1c;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.blog-post__cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Header Row & Share trigger */
.blog-post__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.blog-post__share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.3);
  background: rgba(103, 232, 249, 0.05);
  color: #67e8f9;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.blog-post__share-btn:hover {
  background: rgba(103, 232, 249, 0.15);
  border-color: rgba(103, 232, 249, 0.6);
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.blog-post__share-btn:active {
  transform: scale(0.97);
}

.blog-post__share-btn::after {
  content: "Copied!";
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #0d0e10;
  border: 1px solid rgba(103, 232, 249, 0.4);
  color: #e2f8ff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.blog-post__share-btn.copied::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Call-to-Action Banner */
.blog-post__cta-banner {
  margin-top: 48px;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid rgba(103, 232, 249, 0.35);
  background: 
    radial-gradient(circle at 100% 0%, rgba(0, 240, 255, 0.15), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(254, 95, 0, 0.1), transparent 45%),
    linear-gradient(145deg, #161819, #0e1011);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.blog-post__cta-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.blog-post__cta-text {
  font-size: 0.95rem;
  color: #b9cacb;
  margin-bottom: 24px;
  max-width: 50ch;
  line-height: 1.5;
}

.blog-post__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.blog-post__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.blog-post__cta-btn--primary {
  background: linear-gradient(135deg, #00f0ff, #00d8ff);
  color: #04242a;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.blog-post__cta-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.45);
}

.blog-post__cta-btn--secondary {
  border: 1px solid rgba(103, 232, 249, 0.4);
  background: transparent;
  color: #67e8f9;
}

.blog-post__cta-btn--secondary:hover {
  border-color: rgba(103, 232, 249, 0.8);
  background: rgba(103, 232, 249, 0.05);
  transform: translateY(-2px);
}

/* Material Symbols */
.blog-shell .ms {
  font-family: "Material Symbols Rounded";
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
  user-select: none;
}

/* Hero pills & stats */
.blog-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.blog-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ec5c8;
  border: 1px solid rgba(59, 73, 75, 0.85);
  background: rgba(255, 255, 255, 0.03);
}

.blog-hero__pill .ms {
  font-size: 15px;
  color: #67e8f9;
}

.blog-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(59, 73, 75, 0.55);
}

.blog-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7a8688;
}

.blog-hero__stat .ms {
  font-size: 16px;
  color: #67e8f9;
}

.blog-hero__stat strong {
  color: #ecfeff;
  font-weight: 800;
}

.blog-hero__stat a {
  color: #67e8f9;
  text-decoration: none;
  border-bottom: 1px solid rgba(103, 232, 249, 0.3);
}

.blog-hero__stat a:hover {
  color: #b5f7ff;
}

.blog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.blog-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.blog-hero__btn--primary {
  background: linear-gradient(135deg, #00f0ff, #00d8ff);
  color: #04242a;
  box-shadow: 0 4px 16px rgba(0, 240, 255, 0.25);
}

.blog-hero__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 240, 255, 0.38);
}

.blog-hero__btn--secondary {
  border: 1px solid rgba(103, 232, 249, 0.35);
  color: #67e8f9;
  background: transparent;
}

.blog-hero__btn--secondary:hover {
  background: rgba(103, 232, 249, 0.08);
  border-color: rgba(103, 232, 249, 0.6);
}

/* Dynamic hero preview */
.blog-hero-preview {
  display: block;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.25s ease;
}

.blog-hero-preview:hover {
  transform: translateY(-3px);
}

.blog-hero-preview__glass {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 20px;
  border: 1px solid rgba(103, 232, 249, 0.22);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.1);
  display: grid;
  grid-template-rows: auto auto;
}

.blog-hero-preview__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(59, 73, 75, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 73, 75, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.blog-hero-preview__body {
  position: relative;
  z-index: 1;
  padding: 20px 20px 12px;
}

.blog-hero-preview__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 10px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #00f0ff;
}

.blog-hero-preview__eyebrow .ms {
  font-size: 14px;
}

.blog-hero-preview__title {
  margin: 0 0 8px;
  font-family: var(--rw-font-display);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s ease;
}

.blog-hero-preview:hover .blog-hero-preview__title {
  color: #67e8f9;
}

.blog-hero-preview__desc {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #9aa6a8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-hero-preview__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bef264;
}

.blog-hero-preview__cta .ms {
  font-size: 14px;
  transition: transform 0.2s ease;
}

.blog-hero-preview:hover .blog-hero-preview__cta .ms {
  transform: translateX(3px);
}

.blog-hero-preview__thumb {
  position: relative;
  z-index: 1;
  height: 120px;
  margin: 0 16px 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(59, 73, 75, 0.7);
  background: #191a1c;
}

.blog-hero-preview__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Card description */
.blog-card__desc {
  margin: 8px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #9aa6a8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-card__category {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #67e8f9;
  border: 1px solid rgba(103, 232, 249, 0.25);
  background: rgba(103, 232, 249, 0.06);
  width: fit-content;
}

/* Index CTA strip */
.blog-index-cta {
  margin-top: 36px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 20px;
  border: 1px solid rgba(103, 232, 249, 0.3);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 240, 255, 0.12), transparent 50%),
    linear-gradient(155deg, #1a1b1d, #121314);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

@media (max-width: 720px) {
  .blog-index-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.blog-index-cta__title {
  margin: 0 0 6px;
  font-family: var(--rw-font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}

.blog-index-cta__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #b9cacb;
  max-width: 52ch;
}

.blog-index-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 720px) {
  .blog-index-cta__actions {
    justify-content: center;
  }
}

/* Post layout + TOC */
.blog-shell--post {
  max-width: 1180px;
}

.blog-post-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

@media (max-width: 960px) {
  .blog-post-layout {
    grid-template-columns: 1fr;
  }
}

.blog-toc {
  position: sticky;
  top: 88px;
  border: 1px solid rgba(59, 73, 75, 0.75);
  border-radius: 14px;
  background: rgba(20, 21, 22, 0.85);
  padding: 16px 14px;
  backdrop-filter: blur(8px);
}

@media (max-width: 960px) {
  .blog-toc {
    position: static;
    order: -1;
  }
}

.blog-toc__title {
  margin: 0 0 12px;
  font-family: var(--rw-font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #67e8f9;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.blog-toc__link {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #9aa6a8;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.blog-toc__link--h3 {
  padding-left: 18px;
  font-size: 0.72rem;
}

.blog-toc__link:hover {
  color: #c6ecef;
  background: rgba(103, 232, 249, 0.06);
}

.blog-toc__link.is-active {
  color: #ecfeff;
  border-left-color: #00f0ff;
  background: rgba(0, 240, 255, 0.08);
}

/* Related articles */
.blog-related {
  margin-top: 40px;
}

.blog-related__title {
  margin: 0 0 16px;
  font-family: var(--rw-font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #67e8f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 880px) {
  .blog-related__grid {
    grid-template-columns: 1fr;
  }
}

.blog-related__card {
  border: 1px solid rgba(59, 73, 75, 0.75);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30, 31, 33, 0.9), rgba(22, 22, 23, 0.95));
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-related__card:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 232, 249, 0.4);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.blog-related__card a {
  display: block;
  text-decoration: none !important;
  color: inherit;
  height: 100%;
}

.blog-related__thumb {
  height: 100px;
  background: #191a1c;
  border-bottom: 1px solid rgba(59, 73, 75, 0.6);
  overflow: hidden;
}

.blog-related__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-related__body {
  padding: 14px 16px 16px;
}

.blog-related__meta {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a8688;
}

.blog-related__headline {
  margin: 6px 0 0;
  font-family: var(--rw-font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  color: #eef7f7;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.blog-related__card:hover .blog-related__headline {
  color: #67e8f9;
}

/* Category color accents on feature card */
.blog-feature[data-category*="Virtual"] .blog-feature__decor {
  box-shadow: inset 0 0 40px rgba(254, 95, 0, 0.08);
}

.blog-feature[data-category*="Safety"] .blog-feature__decor {
  box-shadow: inset 0 0 40px rgba(16, 185, 129, 0.08);
}
