/* Snapsec Blog — mirrors snapsec.co design system exactly */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --blue: #004DFF;
  --blue-hover: #0036B3;
  --yellow: #FFD600;
  --rose: #E6C5F7;
  --accent-blue: #D9E4FF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-400: #DFDFDF;
  --gray-500: #BDBDBD;
  --gray-600: #D9D9D9;
  --gray-800: #757575;
  --gray-900: #6E6E6E;
  --gray-1000: #333333;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-code: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 80px;
  background: #fff;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: #000;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s, background .2s;
}

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Container ── */
.snapsec-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 max(3%, 16px);
}

@media(min-width:576px) {
  .snapsec-container {
    max-width: 576px;
  }
}

@media(min-width:768px) {
  .snapsec-container {
    max-width: 768px;
  }
}

@media(min-width:1000px) {
  .snapsec-container {
    max-width: 1080px;
  }
}

@media(min-width:1150px) {
  .snapsec-container {
    max-width: 1260px;
  }
}

@media(min-width:1300px) {
  .snapsec-container {
    max-width: 1420px;
  }
}

@media(min-width:1500px) {
  .snapsec-container {
    max-width: 1540px;
  }
}

/* ── Section Border (snapsec grid lines) ── */
.section-frame {
  border-left: .5px solid var(--gray-600);
  border-right: .5px solid var(--gray-600);
}

.section-frame-top {
  border-top: .5px solid var(--gray-600);
}

.section-frame-bottom {
  border-bottom: .5px solid var(--gray-600);
}

/* ── Navbar ── */
#snapsec-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-bottom: 0.5px solid var(--gray-600);
  transform: translateZ(0);
  will-change: background, box-shadow;
  transition: background .2s, box-shadow .2s;
}

#snapsec-nav.scrolled {
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-left-group {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-logo-badge {
  background: var(--gray-100);
  color: var(--gray-1000);
  border: .5px solid var(--gray-600);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0;
}

@media(min-width:1000px) {
  .nav-links {
    display: flex;
  }
}

.nav-link-item {
  position: relative;
  padding: 8px 14px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}

.nav-link-item:hover {
  color: var(--blue);
}

.nav-link-item a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link-item a:hover {
  color: var(--blue);
}

.nav-chevron {
  transition: transform .25s;
  display: inline-flex;
  align-items: center;
}

.nav-link-item:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border: .5px solid var(--gray-600);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 24px;
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  min-width: max-content;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -20px;
  right: -20px;
  height: 20px;
  background: transparent;
}

.nav-link-item:hover .nav-dropdown,
.nav-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dd-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 250px;
}

.dd-col+.dd-col {
  padding-left: 24px;
  border-left: .5px solid var(--gray-200);
}

.dd-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--gray-100);
  color: #000;
}

.dd-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  margin: 0 -10px;
  border-radius: 8px;
  transition: background .15s;
  text-decoration: none;
}

.dd-item:hover {
  background: var(--gray-50);
}

.dd-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--gray-100);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s, transform .15s;
}

.dd-item:hover .dd-icon {
  background: #000;
  color: #fff;
  transform: scale(1.05);
}

.dd-title {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dd-desc {
  font-size: 12px;
  color: var(--gray-900);
  line-height: 1.4;
  margin-top: 2px;
}

/* Mobile burger */
.nav-burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000;
  border: none;
  cursor: pointer;
}

@media(min-width:1000px) {
  .nav-burger {
    display: none;
  }
}

.nav-burger-bar {
  display: block;
  width: 14px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 62px;
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  padding: 24px 16px;
  border-top: .5px solid var(--gray-600);
}

#mobile-menu.open {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  border-bottom: .5px solid var(--gray-200);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(180deg, #191919, #000);
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  height: 38px;
  padding: 0 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .16);
  text-decoration: none;
  transition: all .2s;
}

.btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 4px 12px rgba(0, 77, 255, .35);
  color: #fff !important;
}

.btn-primary-lg {
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--blue);
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  height: 38px;
  padding: 0 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}

.btn-blue:hover {
  background: var(--blue-hover);
  color: #fff !important;
}

.btn-blue-lg {
  height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #000;
  background: transparent;
  color: #000 !important;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  height: 38px;
  padding: 0 16px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}

.btn-ghost:hover {
  background: #000;
  color: #fff !important;
}

/* ── Post Cards ── */
.post-card {
  background: #fff;
  border: .5px solid var(--gray-600);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card image — no zoom */
.post-card-img {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: var(--gray-100);
  border-bottom: .5px solid var(--gray-600);
  flex-shrink: 0;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* No-image fallback gradient */
.post-card-img-placeholder {
  width: 100%;
  height: 190px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #F5F5F5 0%, #EEEEEE 50%, #E8E8E8 100%);
  border-bottom: .5px solid var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-card-img-placeholder svg {
  opacity: .25;
}

/* Card body */
.post-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Top row: tags */
.post-card-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.post-card-tag {
  display: inline-flex;
  align-items: center;
  background: var(--accent-blue);
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 9999px;
}

.post-card-tag-feat {
  display: inline-flex;
  align-items: center;
  background: #000;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 9999px;
}

/* Title */
.post-card-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.38;
  color: #000;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.post-card-title:hover {
  color: var(--blue);
}

/* Excerpt */
.post-card-excerpt {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--gray-900);
  flex: 1;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read more indicator */
.post-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 18px;
  transition: gap .2s;
}

.post-card:hover .post-card-readmore {
  gap: 8px;
}

/* Author row */
.post-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  margin-top: auto;
  border-top: .5px solid var(--gray-600);
}

.post-card-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: .5px solid var(--gray-400);
  flex-shrink: 0;
}

.post-card-author-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #000;
  display: block;
  line-height: 1.2;
}

.post-card-date {
  font-size: 11.5px;
  color: var(--gray-800);
  margin-top: 1px;
}

/* Featured card variant */
.post-card-featured .post-card-img {
  height: 220px;
}

.post-card-featured .post-card-title {
  font-size: 20px;
}

/* Dark CTA card in grid */
.card-dark-cta {
  position: relative;
  background: #000;
  border: .5px solid #222;
  border-radius: 12px;
  padding: 32px 24px;
  overflow: hidden;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow .25s;
  min-height: 340px;
}

.card-dark-cta:hover {
  box-shadow: 0 20px 40px rgba(0, 77, 255, .25);
}

.card-dark-cta::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 77, 255, .85) 0%, rgba(0, 77, 255, .3) 40%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.card-dark-cta-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.card-dark-cta-desc {
  font-size: 13.5px;
  color: #999;
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

/* ── Hero section on index ── */
.blog-hero {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: .5px solid var(--gray-600);
  margin-bottom: 40px;
}

.blog-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.blog-hero-title {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 16px;
}

.blog-hero-sub {
  font-size: 18px;
  color: var(--gray-900);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* Section titles */
.section-heading {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  color: #000;
  letter-spacing: -0.01em;
}

/* ── Demo CTA banner (Enterprise Light) ── */
.demo-banner {
  position: relative;
  background: #FFFFFF;
  border: 0.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 44px 36px;
  color: #000;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.demo-banner::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08) 0%, rgba(100, 100, 100, 0.04) 45%, transparent 70%);
  filter: blur(25px);
  pointer-events: none;
  animation: glowFloatLeft 12s ease-in-out infinite alternate;
  z-index: 1;
}

.demo-banner::after {
  content: '';
  position: absolute;
  top: -25%;
  right: -5%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.10) 0%, rgba(120, 120, 120, 0.05) 50%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  animation: glowFloatRight 10s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes glowFloatRight {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.85;
  }
  50% {
    transform: translate(-100px, 50px) scale(1.2);
    opacity: 1;
  }
  100% {
    transform: translate(-200px, -20px) scale(0.95);
    opacity: 0.75;
  }
}

@keyframes glowFloatLeft {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate(110px, 35px) scale(1.18);
    opacity: 1;
  }
  100% {
    transform: translate(180px, -45px) scale(0.9);
    opacity: 0.8;
  }
}

.demo-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--gray-100);
  color: var(--gray-900);
  border: .5px solid var(--gray-600);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.demo-banner-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.demo-banner-desc {
  font-size: 15px;
  color: var(--gray-900);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 24px;
}

.demo-banner-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.demo-banner-feat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #333333;
  font-weight: 500;
}

/* ── Article page ── */
.article-hero-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #000;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: .5px solid var(--gray-600);
  border-bottom: .5px solid var(--gray-600);
  margin-bottom: 32px;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: .5px solid var(--gray-400);
}

.article-author-name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.article-date {
  font-size: 13px;
  color: var(--gray-800);
}

.article-body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: #1a1a1a;
}

.article-body p {
  margin-bottom: 1.6rem;
}

.article-body h2 {
  font-size: 26px;
  margin: 2.5rem 0 1rem;
  padding-bottom: 8px;
  border-bottom: .5px solid var(--gray-600);
}

.article-body h3 {
  font-size: 22px;
  margin: 2rem 0 .8rem;
}

.article-body h4 {
  font-size: 18px;
  margin: 1.5rem 0 .6rem;
}

.article-body blockquote {
  border-left: 3px solid var(--blue);
  background: var(--gray-50);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 1.8rem 0;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

/* ── Enterprise Light Code Blocks ── */
.article-body code:not(pre code) {
  background: var(--gray-100);
  color: #0F172A;
  padding: 3px 8px;
  border-radius: 6px;
  border: 0.5px solid var(--gray-400);
  font-family: var(--font-code);
  font-size: 0.88em;
  font-weight: 500;
}

/* Outer Code Block Container - Single Crisp Card */
.article-body div.highlighter-rouge,
.article-body figure.highlight,
.article-body > pre,
.article-body > .highlight {
  background: #FAFAFA !important;
  border: 0.5px solid #E2E8F0 !important;
  border-radius: 10px !important;
  margin: 1.8rem 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

/* Reset Inner Nested Containers so no overlapping card borders appear */
.article-body div.highlighter-rouge .highlight,
.article-body div.highlighter-rouge pre,
.article-body figure.highlight pre,
.article-body .highlight pre,
.article-body .highlighttable {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.article-body div.highlighter-rouge pre,
.article-body figure.highlight pre,
.article-body .highlight pre,
.article-body pre {
  padding: 18px 22px !important;
  overflow-x: auto !important;
  font-family: var(--font-code) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #0F172A !important;
}

.article-body pre code,
.article-body .highlight code,
.article-body .highlighttable code {
  color: #0F172A !important;
  font-family: var(--font-code) !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Rouge Line Numbers & Tables */
.lineno,
td.rouge-gutter,
td.gutter,
.rouge-gutter,
.gutter,
td.gl,
.gl {
  display: none !important;
  width: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.article-body .highlighttable,
.article-body table.rouge-table {
  width: 100% !important;
  margin: 0 !important;
  border: none !important;
  background: #FAFAFA !important;
}

.article-body table.rouge-table td {
  border: none !important;
  padding: 0 !important;
  background: #FAFAFA !important;
}

.article-body table.rouge-table td.gutter,
.article-body table.rouge-table td.gl,
.article-body .lineno {
  width: 40px !important;
  text-align: right !important;
  padding-right: 14px !important;
  color: #94A3B8 !important;
  user-select: none !important;
  border-right: 1px solid #E2E8F0 !important;
  background: #F8FAFC !important;
}

.article-body table.rouge-table td.code {
  padding-left: 18px !important;
  background: #FAFAFA !important;
}

/* Syntax Highlighting Colors (Enterprise Light Palette) */
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs { color: #64748B !important; font-style: italic; }
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt { color: #004DFF !important; font-weight: 600; }
.highlight .s, .highlight .s1, .highlight .s2, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx { color: #059669 !important; }
.highlight .na, .highlight .nc, .highlight .nd, .highlight .ne, .highlight .nf, .highlight .nx { color: #2563EB !important; }
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il { color: #D97706 !important; }
.highlight .o, .highlight .ow, .highlight .p { color: #475569 !important; }
.highlight .gt, .highlight .err { color: #DC2626 !important; background: transparent !important; }

.article-body img {
  border-radius: 8px;
  max-width: 100%;
  margin: 1.5rem 0;
}

.article-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  border: .5px solid var(--gray-600);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.6rem;
}

.article-body th {
  background: var(--gray-50);
  padding: 10px 14px;
  border-bottom: .5px solid var(--gray-600);
  font-weight: 600;
  font-size: 14px;
}

.article-body td {
  padding: 10px 14px;
  border-bottom: .5px solid var(--gray-200);
}

.article-body tr:last-child td {
  border-bottom: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-800);
}

.back-link:hover {
  color: var(--blue);
}

.cat-tag {
  display: inline-flex;
  background: var(--accent-blue);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
}

.tag-pill {
  display: inline-flex;
  background: var(--gray-100);
  color: var(--gray-1000);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 6px;
  margin: 2px;
  transition: background .2s;
}

.tag-pill:hover {
  background: var(--gray-200);
  color: var(--blue);
}

/* TOC */
.toc-box {
  background: var(--gray-50);
  border: .5px solid var(--gray-600);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 32px;
}

.toc-title {
  font-size: 15px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.toc-box ul {
  padding-left: 16px;
  list-style: disc;
}

.toc-box li {
  margin-bottom: 6px;
}

.toc-box a {
  font-size: 14px;
  color: var(--gray-900);
}

.toc-box a:hover {
  color: var(--blue);
}

/* Author bio */
.author-bio {
  background: #fff;
  border: .5px solid var(--gray-600);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin: 32px 0;
}

.author-bio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: .5px solid var(--gray-400);
  flex-shrink: 0;
}

.author-bio-name {
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin-bottom: 4px;
}

.author-bio-desc {
  font-size: 14px;
  color: var(--gray-900);
  line-height: 1.6;
}

/* Prev/Next cards */
.nav-post-card {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  background: #FFFFFF;
  border: .5px solid var(--gray-600);
  border-radius: 2px;
  height: 100%;
  text-decoration: none;
  transition: all .25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nav-post-card:hover {
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
}

.nav-post-next {
  text-align: right;
  align-items: flex-end;
}

.nav-post-prev {
  text-align: left;
  align-items: flex-start;
}

.nav-post-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  transition: color .2s ease;
}

.nav-arrow-icon {
  transition: transform .2s ease;
}

.nav-post-prev:hover .nav-arrow-icon {
  transform: translateX(-4px);
}

.nav-post-next:hover .nav-arrow-icon {
  transform: translateX(4px);
}

.nav-post-card:hover .nav-post-label {
  color: #000000;
}

.nav-post-title {
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.45;
  transition: color .2s ease;
}

.nav-post-card:hover .nav-post-title {
  color: #000000;
}

/* Share */
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: .5px solid var(--gray-600);
  background: #fff;
  color: var(--gray-800);
  transition: all .2s;
}

.share-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ── Enterprise Footer ── */
.snapsec-footer {
  background: #000;
  color: #fff;
  border-top: .5px solid #222;
}

.footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 40px;
}

@media(max-width:900px) {
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:480px) {
  .footer-links-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #888;
  transition: color .2s;
  margin-bottom: 8px;
}

.footer-link:hover {
  color: #fff;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #888;
  transition: color .2s;
}

.footer-social:hover {
  color: #fff;
}

.footer-bottom {
  border-top: .5px solid #222;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom-text {
  font-size: 12px;
  color: #666;
}

/* Pagination — Sleek Modern Pill Design */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  flex-wrap: wrap;
}

.pagination-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 9999px;
  border: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-900);
  text-decoration: none;
  background: transparent;
  transition: all .2s ease;
  user-select: none;
}

.pagination-item:hover:not(.disabled):not(.active) {
  background: var(--gray-100);
  color: #000;
}

.pagination-item.active {
  background: #000000;
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pagination-item.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  color: var(--gray-800);
}

.pagination-item.pagination-prev,
.pagination-item.pagination-next {
  border: .5px solid var(--gray-600);
  padding: 0 14px;
  background: #fff;
  color: #000;
}

.pagination-item.pagination-prev:hover:not(.disabled),
.pagination-item.pagination-next:hover:not(.disabled) {
  border-color: #000;
  background: #fff;
  color: #000;
}

/* Utility */
.text-blue {
  color: var(--blue);
}

.hover-lift:hover {
  transform: translateY(-2px);
}

.section-top-border {
  border-top: .5px solid var(--gray-600);
}

.inline-check {
  color: var(--blue);
  margin-right: 4px;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--gray-500);
  border-radius: 3px;
}