/**
 * Blog detay: okuma sütunu, kapak oranı, CMS içeriği hizası.
 */
.blog-detail__inner {
  max-width: 48rem; /* ~768px okuma genişliği */
  margin-left: auto;
  margin-right: auto;
}

.blog-detail__crumb {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.blog-detail__cover {
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .blog-detail__cover {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
  }
}

.blog-detail__cover-frame {
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  max-height: min(20rem, 48vw);
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.03);
}

html.dark .blog-detail__cover-frame {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

@media (min-width: 768px) {
  .blog-detail__cover-frame {
    max-height: min(24rem, 42vw);
    border-radius: 1.5rem;
  }
}

.blog-detail__cover-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail__header {
  text-align: center;
}

@media (min-width: 768px) {
  .blog-detail__header {
    text-align: left;
  }
}

.blog-detail__meta {
  justify-content: center;
}

@media (min-width: 768px) {
  .blog-detail__meta {
    justify-content: flex-start;
  }
}

.blog-detail__body {
  margin-top: 0.5rem;
}

.blog-detail__body.prose {
  font-size: 1.0625rem;
  line-height: 1.8;
}

.blog-detail__body.prose > :first-child {
  margin-top: 0;
}

.blog-detail__body.prose h2,
.blog-detail__body.prose h3,
.blog-detail__body.prose h4 {
  scroll-margin-top: 6rem;
}

.blog-detail__body.prose img,
.blog-detail__body.prose video {
  border-radius: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-detail__body.prose figure {
  margin-left: 0;
  margin-right: 0;
}

.blog-detail__body.prose a {
  text-underline-offset: 3px;
}

.blog-detail__body.prose blockquote {
  border-left-width: 4px;
  padding-left: 1rem;
  font-style: normal;
}

.blog-detail__share {
  margin-top: 3rem;
  padding-top: 2rem;
}

.blog-detail__related {
  max-width: 75.5625rem; /* ~1209px, main-container ile uyum */
  margin-left: auto;
  margin-right: auto;
}
