.single-post-page {
  padding: 25px 0 60px;
}

.single-post-page .breadcrumb {
  margin-bottom: 24px;
}

.single-post__header {
  margin-bottom: 28px;
}

.single-post__title {
  margin: 0 0 12px;
  font-family: var(--gh-font-heading, system-ui);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
}

.single-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.single-post__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.single-post__meta-icon {
  width: 14px;
  height: 14px;
  fill: #9ca3af;
  flex-shrink: 0;
}

.single-post__meta-item time {
  color: inherit;
}

.single-post__featured-image {
  overflow: hidden;
  border-radius: 8px;
}

.single-post__featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.single-post__content {
  font-size: 16px;
  line-height: 1.75;
  color: #374151;
}

.single-post__content > :first-child {
  margin-top: 0;
}

.single-post__content :where(h2, h3, h4) {
  font-family: var(--gh-font-heading, system-ui);
  line-height: 1.35;
  color: #111827;
}

.single-post__content :where(h2) {
  margin: 2rem 0 0.75rem;
  font-size: 1.4rem;
}

.single-post__content :where(h3) {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.2rem;
}

.single-post__content :where(p, ul, ol, blockquote, pre) {
  margin: 0 0 1.15rem;
}

.single-post__content :where(ul, ol) {
  padding-left: 1.4rem;
}

.single-post__content :where(blockquote) {
  padding: 0.75rem 1rem;
  border-left: 3px solid #dbeafe;
  background: #f8fafc;
  color: #4b5563;
}

.single-post__content :where(img, figure) {
  max-width: 100%;
  height: auto;
}

.single-post__content :where(a) {
  color: #2563eb;
}

.single-post__widgets {
  margin: 1.5rem 0;
}

.single-post__widgets .widget {
  border: 1px dashed rgba(0, 0, 0, 0.15);
  border-radius: var(--gh-radius, 12px);
  padding: 0.9rem;
}

.single-post__footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.single-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.single-post__tags a {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #f9fafb;
  color: #374151;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.single-post__tags a:hover {
  border-color: #2563eb;
  color: #2563eb;
  text-decoration: none;
}

@media (max-width: 640px) {
  .single-post-page {
    padding-top: 16px;
  }

  .single-post__header {
    margin-bottom: 20px;
  }

  .single-post__content {
    font-size: 15px;
  }
}
