﻿/* Design only for single blog posts (post type: post) */
body.single-post .site-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 16px 80px;
}

body.single-post .inside-article {
  background: #0f1118;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* Constrain featured image height on single posts */
body.single-post .inside-article .post-image,
body.single-post .inside-article .featured-image {
  margin: -28px -28px 20px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  max-height: clamp(220px, 42vw, 520px);
}

body.single-post .inside-article .post-image img,
body.single-post .inside-article .featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.single-post .entry-title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.25;
  color: #fff;
}

body.single-post .entry-content {
  color: #d4dae4;
  line-height: 1.9;
  font-size: 17px;
}

body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
  color: #fff;
  margin-top: 1.8em;
}

body.single-post .entry-content a {
  color: #f2ca74;
  text-underline-offset: 3px;
}

body.single-post .entry-content blockquote {
  margin: 1.5em 0;
  border-left: 4px solid #f2ca74;
  padding: 0.8em 1em;
  background: rgba(255, 255, 255, 0.03);
}

body.single-post .entry-content ul,
body.single-post .entry-content ol {
  padding-left: 1.2em;
}

.blog-cta {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-cta-inner {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.blog-cta-title {
  margin: 0 0 8px;
  color: #fff;
}

.blog-cta-desc {
  margin: 0 0 12px;
  color: #d4dae4;
}

.blog-cta-action {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: #0f1118;
  background: #f2ca74;
  font-weight: 600;
}

@media (max-width: 767px) {
  body.single-post .inside-article {
    padding: 20px;
  }

  body.single-post .inside-article .post-image,
  body.single-post .inside-article .featured-image {
    margin: -20px -20px 16px;
    max-height: 300px;
  }
}
