/* ==========================================================================
   Datasparks Blog — Ghost theme stylesheet
   Visual language matches datasparks.io v2 (website/src/styles/neumorphic.css,
   light scheme — the blog has no dark mode, per the functional design's
   deferred-features list). The --ds-* variable names are kept identical to
   the website's legacy token names by design — do not rename them; the
   *values* now snapshot the --neu-* system instead of the retired
   colorScheme.css palette.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens (light scheme, snapshot of website/src/styles/neumorphic.css)
   -------------------------------------------------------------------------- */

:root {
  --ds-app-bg: #e7edf4;
  --ds-header-bg: rgba(255, 255, 255, 0.46);
  --ds-footer-bg: rgba(255, 255, 255, 0.46);
  --ds-page-gradient: radial-gradient(760px circle at 88% 4%, rgba(120, 190, 255, 0.4), transparent 60%), radial-gradient(680px circle at 4% 70%, rgba(150, 230, 235, 0.3), transparent 62%);
  --ds-page-gradient-soft: radial-gradient(760px circle at 88% 4%, rgba(120, 190, 255, 0.4), transparent 60%), radial-gradient(680px circle at 4% 70%, rgba(150, 230, 235, 0.3), transparent 62%);
  --ds-surface: rgba(255, 255, 255, 0.55);
  --ds-surface-muted: rgba(255, 255, 255, 0.55);
  --ds-surface-glass: rgba(255, 255, 255, 0.46);
  --ds-surface-glass-strong: rgba(255, 255, 255, 0.85);
  --ds-banner-bg: linear-gradient(135deg, rgba(0, 162, 255, 0.13), rgba(0, 162, 255, 0.05));
  --ds-banner-overlay: none;
  --ds-border: rgba(255, 255, 255, 0.7);
  --ds-border-soft: rgba(150, 170, 196, 0.35);
  --ds-border-strong: rgba(255, 255, 255, 0.7);
  --ds-shadow: 0 12px 34px rgba(20, 40, 70, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  --ds-shadow-strong: 0 22px 60px rgba(20, 40, 70, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  --ds-shadow-soft: 0 6px 20px rgba(20, 40, 70, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  --ds-text-primary: #23384c;
  --ds-text-strong: #23384c;
  --ds-text-secondary: #4a6075;
  --ds-text-muted: #75899c;
  --ds-text-contrast: #f2f7fb;
  --ds-text-on-dark: rgba(215, 228, 238, 0.96);
  --ds-accent: #00a2ff;
  --ds-accent-strong: #008fe6;
  --ds-chip-bg: rgba(255, 255, 255, 0.55);
  --ds-chip-border: rgba(255, 255, 255, 0.7);
  --ds-chip-text: #4a6075;
  --ds-fade-edge: rgba(231, 237, 244, 0.78);
  --ds-toggle-bg: rgba(255, 255, 255, 0.55);
  --ds-toggle-border: rgba(255, 255, 255, 0.7);

  /* Theme-local tokens */
  --ds-button-gradient: linear-gradient(140deg, #00a2ff, #008fe6);
  --ds-button-shadow: 0 14px 30px rgba(0, 162, 255, 0.34);
  --ds-font-sans: 'Poppins', 'Helvetica Neue', 'Open Sans', sans-serif;
  --ds-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ds-radius-sm: 12px;
  --ds-radius-md: 18px;
  --ds-radius-lg: 22px;
  --ds-radius-pill: 999px;
  --ds-glass-blur: 14px;
  --ds-container-width: 1180px;
  --ds-measure: 70ch;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ds-font-sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ds-text-primary);
  background-color: var(--ds-app-bg);
  background-image: var(--ds-page-gradient-soft);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--ds-accent-strong);
  text-decoration: none;
  transition: color 140ms ease;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--ds-font-sans);
  font-weight: 700;
  color: var(--ds-text-strong);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1 0 auto;
}

.ds-container {
  width: 100%;
  max-width: var(--ds-container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   3. Shared primitives: buttons, chips, meta
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--ds-radius-pill);
  font-family: var(--ds-font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.15px;
  line-height: 1.3;
  text-decoration: none;
  border: none;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease, color 140ms ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 16px;
}

.btn-subtle {
  color: var(--ds-text-primary);
  background: var(--ds-surface);
  box-shadow: var(--ds-shadow-soft);
}

.btn-subtle:hover {
  color: var(--ds-text-primary);
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow);
}

.btn-gradient {
  color: #ffffff;
  background: var(--ds-button-gradient);
  box-shadow: var(--ds-button-shadow);
}

.btn-gradient:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 162, 255, 0.46);
}

.btn-arrow {
  font-size: 1.05em;
  line-height: 1;
  transition: transform 140ms ease;
}

.btn-gradient:hover .btn-arrow {
  transform: translateX(3px);
}

.ds-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-chip-bg);
  box-shadow: 0 1px 2px rgba(20, 40, 70, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  color: var(--ds-chip-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a.ds-chip-link:hover {
  color: var(--ds-accent-strong);
  box-shadow: 0 2px 6px rgba(20, 40, 70, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.meta-divider {
  color: var(--ds-text-muted);
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--ds-header-bg);
  -webkit-backdrop-filter: blur(var(--ds-glass-blur)) saturate(1.3);
  backdrop-filter: blur(var(--ds-glass-blur)) saturate(1.3);
  border-bottom: 1px solid var(--ds-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 12px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.site-logo img {
  height: 42px;
  width: auto;
}

.site-nav-label {
  margin-right: auto;
  margin-left: 18px;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 560px) {
  .site-nav-label {
    margin-left: 0;
  }

  .site-nav-actions {
    flex-basis: 100%;
    justify-content: flex-end;
  }
}

/* --------------------------------------------------------------------------
   5. Blog hero (index / tag)
   -------------------------------------------------------------------------- */

.blog-hero {
  padding: 72px 0 40px;
  text-align: center;
}

.blog-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.blog-hero-subtitle {
  max-width: 620px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ds-text-secondary);
}

.tag-hero .ds-chip {
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   6. Post feed (card grid)
   -------------------------------------------------------------------------- */

.post-feed-section {
  padding: 24px 0 80px;
}

.post-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--ds-surface-glass);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow);
}

.post-card-image-link {
  display: block;
}

.post-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--ds-border-soft);
}

.post-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ds-banner-bg);
}

.post-card-image-placeholder img {
  width: 72px;
  height: 72px;
  opacity: 0.85;
}

.post-card-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 10px;
  padding: 22px 24px 24px;
}

.post-card-content .ds-chip {
  align-self: flex-start;
}

.post-card-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.post-card-title a {
  color: var(--ds-text-strong);
}

.post-card-title a:hover {
  color: var(--ds-accent-strong);
}

.post-card-excerpt {
  flex: 1 1 auto;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ds-text-secondary);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ds-text-muted);
}

/* Pagination ({{pagination}} default markup) */

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  font-size: 14px;
  font-weight: 500;
}

.pagination .page-number {
  color: var(--ds-text-muted);
}

.pagination a {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-surface);
  color: var(--ds-text-primary);
  font-weight: 600;
  box-shadow: var(--ds-shadow-soft);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.pagination a:hover {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow);
  color: var(--ds-accent-strong);
}

/* --------------------------------------------------------------------------
   7. Post / page article
   -------------------------------------------------------------------------- */

.post-article {
  padding: 64px 0 48px;
}

.post-header {
  max-width: 860px;
  text-align: center;
  margin-bottom: 36px;
}

.post-header .ds-chip {
  margin-bottom: 18px;
}

.post-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.post-subtitle {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ds-text-secondary);
  max-width: 680px;
  margin: 0 auto 18px;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ds-text-muted);
  margin-top: 14px;
}

.post-meta-author {
  color: var(--ds-text-secondary);
  font-weight: 600;
}

.post-feature-image {
  max-width: 1040px;
  margin-bottom: 44px;
  text-align: center;
}

.post-feature-image img {
  width: 100%;
  border-radius: var(--ds-radius-lg);
  border: 1px solid var(--ds-border);
  box-shadow: var(--ds-shadow);
}

.post-feature-image figcaption,
.gh-content figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ds-text-muted);
  text-align: center;
}

/* Reading column */

.gh-content {
  max-width: var(--ds-measure);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ds-text-primary);
}

.gh-content > * + * {
  margin-top: 1.35em;
}

.gh-content h2 {
  font-size: 1.65em;
  margin-top: 1.9em;
}

.gh-content h3 {
  font-size: 1.3em;
  margin-top: 1.7em;
}

.gh-content h4 {
  font-size: 1.1em;
  margin-top: 1.5em;
}

.gh-content a {
  color: var(--ds-accent-strong);
  text-decoration: underline;
  text-decoration-color: var(--ds-border-strong);
  text-underline-offset: 3px;
}

.gh-content a:hover {
  color: var(--ds-accent);
  text-decoration-color: var(--ds-accent);
}

.gh-content ul,
.gh-content ol {
  padding-left: 1.4em;
}

.gh-content li + li {
  margin-top: 0.45em;
}

.gh-content strong {
  color: var(--ds-text-strong);
}

.gh-content hr {
  border: 0;
  border-top: 1px solid var(--ds-border);
  margin: 2.4em auto;
}

.gh-content blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  border-left: 3px solid var(--ds-accent);
  border-radius: 0 var(--ds-radius-md) var(--ds-radius-md) 0;
  background: var(--ds-surface-glass);
  color: var(--ds-text-secondary);
  font-size: 1.02em;
}

.gh-content blockquote p + p {
  margin-top: 0.8em;
}

/* Code */

.gh-content code {
  font-family: var(--ds-font-mono);
  font-size: 0.86em;
  background: var(--ds-chip-bg);
  border: 1px solid var(--ds-chip-border);
  border-radius: 6px;
  padding: 0.12em 0.4em;
  color: var(--ds-accent-strong);
}

.gh-content pre {
  background: #0d1f2d;
  color: var(--ds-text-on-dark);
  border-radius: var(--ds-radius-md);
  border: 1px solid rgba(65, 124, 160, 0.45);
  box-shadow: var(--ds-shadow-soft);
  padding: 20px 24px;
  overflow-x: auto;
  font-family: var(--ds-font-mono);
  font-size: 14px;
  line-height: 1.6;
}

.gh-content pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* Tables */

.gh-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
  background: var(--ds-surface-muted);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  overflow: hidden;
}

.gh-content th,
.gh-content td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--ds-border-soft);
}

.gh-content th {
  background: var(--ds-chip-bg);
  color: var(--ds-text-strong);
  font-weight: 600;
}

.gh-content tr:last-child td {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   7b. Related posts ("More from the blog")
   -------------------------------------------------------------------------- */

.related-posts {
  padding: 16px 0 8px;
}

.related-posts-title {
  margin: 0 0 28px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ds-text-strong);
}

.related-posts-feed {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* --------------------------------------------------------------------------
   8. Koenig (.kg-*) content cards
   -------------------------------------------------------------------------- */

.kg-card {
  margin: 1.6em 0;
}

.kg-image {
  display: block;
  margin: 0 auto;
  border-radius: var(--ds-radius-md);
  border: 1px solid var(--ds-border-soft);
  box-shadow: var(--ds-shadow-soft);
}

.kg-image-card,
.kg-gallery-card,
.kg-embed-card {
  text-align: center;
}

/* Wide and full-bleed cards break out of the 70ch reading column. */

.kg-width-wide {
  position: relative;
  width: min(1040px, calc(100vw - 48px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-full {
  position: relative;
  width: calc(100vw - 48px);
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-wide .kg-image,
.kg-width-full .kg-image {
  width: 100%;
}

/* Galleries */

.kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
}

.kg-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--ds-radius-sm);
}

/* Bookmark card */

.kg-bookmark-card {
  width: 100%;
}

.kg-bookmark-container {
  display: flex;
  text-decoration: none;
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius-md);
  background: var(--ds-surface-glass);
  box-shadow: var(--ds-shadow-soft);
  overflow: hidden;
  color: var(--ds-text-primary);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.kg-bookmark-container:hover {
  transform: translateY(-2px);
  box-shadow: var(--ds-shadow);
  color: var(--ds-text-primary);
  text-decoration: none;
}

.kg-bookmark-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 18px 20px;
}

.kg-bookmark-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--ds-text-strong);
}

.kg-bookmark-description {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ds-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kg-bookmark-metadata {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ds-text-muted);
}

.kg-bookmark-icon {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 3px;
  box-shadow: none;
}

.kg-bookmark-thumbnail {
  position: relative;
  flex-shrink: 0;
  min-width: 33%;
  max-height: 100%;
}

.kg-bookmark-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

/* Callout card */

.kg-callout-card {
  display: flex;
  gap: 12px;
  padding: 18px 22px;
  border-radius: var(--ds-radius-md);
  background: var(--ds-chip-bg);
  border: 1px solid var(--ds-chip-border);
}

.kg-callout-emoji {
  font-size: 1.2em;
  line-height: 1.4;
}

.kg-callout-text {
  color: var(--ds-text-primary);
  font-size: 0.96em;
  line-height: 1.65;
}

/* Button card */

.kg-button-card {
  display: flex;
  justify-content: center;
}

.kg-button-card.kg-align-left {
  justify-content: flex-start;
}

.kg-btn,
.kg-button-card a {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: var(--ds-radius-pill);
  background: var(--ds-button-gradient);
  box-shadow: var(--ds-button-shadow);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

.kg-btn:hover,
.kg-button-card a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(0, 162, 255, 0.46);
}

/* Embeds */

.kg-embed-card iframe {
  max-width: 100%;
  border-radius: var(--ds-radius-md);
}

/* --------------------------------------------------------------------------
   9. CTA banner
   -------------------------------------------------------------------------- */

.cta-banner {
  position: relative;
  margin: 56px auto 88px;
  max-width: 920px;
  padding: 52px 40px;
  border-radius: 18px;
  background: var(--ds-banner-bg);
  border: 1px solid var(--ds-border);
  box-shadow: var(--ds-shadow-strong);
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ds-banner-overlay);
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
}

.cta-banner-title {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.cta-banner-subtitle {
  font-size: 16.5px;
  color: var(--ds-text-secondary);
  max-width: 540px;
  margin: 0 auto 26px;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-banner-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--ds-accent-strong);
}

.cta-banner-link::after {
  content: ' \2192';
  transition: margin-left 140ms ease;
}

.cta-banner-link:hover::after {
  margin-left: 3px;
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  flex-shrink: 0;
  background: var(--ds-footer-bg);
  border-top: 1px solid var(--ds-border-soft);
  padding: 26px 0 18px;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 14px;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
}

.site-footer-logo img {
  height: 32px;
  width: auto;
}

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

.site-footer-nav a {
  color: var(--ds-text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.site-footer-nav a:hover {
  color: var(--ds-text-primary);
}

.site-footer-copyright {
  text-align: center;
  font-size: 13.5px;
  color: var(--ds-text-muted);
  padding-bottom: 6px;
}

@media (max-width: 767px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer-nav {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   11. Error pages
   -------------------------------------------------------------------------- */

.error-template {
  background: var(--ds-page-gradient);
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.error-template .site-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
}

.error-section {
  width: 100%;
  padding: 96px 0;
}

.error-content {
  max-width: 640px;
  text-align: center;
}

.error-logo {
  display: inline-flex;
  margin-bottom: 40px;
}

.error-logo img {
  height: 40px;
  width: auto;
}

.error-code {
  font-size: clamp(4rem, 12vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
  background: var(--ds-button-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--ds-accent);
}

.error-message {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.error-description {
  font-size: 16px;
  color: var(--ds-text-secondary);
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   12. Small-screen refinements
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
  .blog-hero {
    padding: 48px 0 28px;
  }

  .post-article {
    padding: 44px 0 36px;
  }

  .gh-content {
    font-size: 16px;
  }

  .cta-banner {
    padding: 38px 24px;
    margin: 40px auto 64px;
  }

  .kg-width-wide,
  .kg-width-full {
    width: calc(100vw - 48px);
  }
}
