

.featured-image {
  max-width: 1100px;
  margin: 0 auto var(--sp-space-12);
  border-radius: var(--sp-corners-lg);
  overflow: hidden;
  box-shadow: var(--sp-shadow-lg);
}

.featured-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}



.post-content {
  font-size: var(--sp-text-lg);
  line-height: 1.75;
  color: var(--sp-color-text-primary);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  font-family: var(--sp-font-heading);
  font-weight: var(--sp-font-weight-bold);
  line-height: var(--sp-leading-snug);
  color: var(--sp-color-text-primary);
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  letter-spacing: var(--sp-tracking-tight);
  text-transform: uppercase;
}

.post-content h2 {
  font-size: var(--sp-text-2xl);
  border-bottom: 1px solid var(--sp-color-border);
  padding-bottom: 0.25em;
}

.post-content h3 {
  font-size: var(--sp-text-xl);
}

.post-content h4 {
  font-size: var(--sp-text-lg);
}

.post-content p {
  margin-bottom: 1.5em;
}

.post-content a {
  color: var(--sp-color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--sp-duration-fast) var(--sp-ease-default), text-decoration-thickness var(--sp-duration-fast) var(--sp-ease-default);
}

.post-content a:hover {
  color: var(--sp-color-text-primary);
  text-decoration-thickness: 2px;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.75em;
}

.post-content li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.post-content blockquote {
  margin: 2em 0;
  padding: var(--sp-space-6) var(--sp-space-8);
  border-left: 4px solid var(--sp-color-primary);
  background: var(--sp-color-surface-variant);
  border-radius: var(--sp-radius-sm);
  font-style: italic;
  color: var(--sp-color-text-secondary);
}

.post-content hr {
  border: none;
  border-top: 2px solid var(--sp-color-border);
  margin: 3em 0;
  opacity: 0.5;
}

.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2em auto;
  border-radius: var(--sp-corners-md);
  box-shadow: var(--sp-shadow-sm);
}



.post-content code {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.9em;
  padding: 0.2em 0.4em;
  background: var(--sp-color-surface-variant);
  border: 1px solid var(--sp-color-border);
  border-radius: var(--sp-radius-xs);
  color: var(--sp-color-text-primary);
}

.post-content pre {
  margin: 2em 0;
  border-radius: var(--sp-corners-md);
  background: var(--sp-syntax-bg);
  overflow-x: auto;
  box-shadow: var(--sp-shadow-md);
}

.post-content pre code {
  display: block;
  padding: var(--sp-space-6);
  font-size: var(--sp-text-sm);
  line-height: 1.6;
  background: none;
  border: none;
  color: var(--sp-syntax-fg, oklch(0.76 0.01 240));
  overflow-x: auto;
}



.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 0.9em;
}

.post-content th,
.post-content td {
  padding: 0.75em 1em;
  text-align: left;
  border-bottom: 1px solid var(--sp-color-border);
}

.post-content th {
  background: var(--sp-color-surface-variant);
  font-weight: var(--sp-font-weight-bold);
  color: var(--sp-color-text-primary);
}

.post-content tr:hover {
  background: var(--sp-color-surface-variant);
}


@media (max-width: 768px) {
  .post-header h1,
  .page-header h1 {
    font-size: var(--sp-text-2xl);
  }

  .post-content {
    font-size: var(--sp-text-md);
  }

  .post-content pre {
    margin-left: calc(var(--sp-space-4) * -1);
    margin-right: calc(var(--sp-space-4) * -1);
    border-radius: 0;
  }

  .post-content pre code {
    font-size: var(--sp-text-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-content a {
    transition: none;
  }
}
